* gdb.base/ending-run.exp: Add sh specific case.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
2
3 * gdb.base/ending-run.exp: Add sh specific case.
4
5 2003-10-06 Andrew Cagney <cagney@redhat.com>
6
7 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
8 * gdb.disasm/mn10200.exp: Delete obsolete file.
9
10 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
11
12 * ChangeLog: Correct an entry command.exp -> commands.exp.
13 * gdb.base/commands.exp (bp_deleted_in_command_test)
14 (temporary_breakpoint_commands): Check noargs.
15
16 2003-09-25 David Carlton <carlton@kealia.com>
17
18 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
19 of some print tests, where appropriate. Add tests for C::D::cd,
20 E::ce, F::cXfX, G::XgX.
21 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
22
23 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
24
25 * lib/java.exp (java_init): Import target_alias before using it.
26
27 2003-09-25 David Carlton <carlton@kealia.com>
28
29 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
30
31 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
32
33 * gdb.base/selftest.exp: Accomodate more instruction reordering
34 weirdness.
35
36 2003-09-17 Michael Chastain <mec@shout.net>
37
38 * gdb.cp/gdb1355.exp: New file.
39 * gdb.cp/gdb1355.c: New file.
40
41 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
42
43 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
44 * gdb.asm/sh.inc: New file.
45
46 2003-09-11 David Carlton <carlton@kealia.com>
47
48 * gdb.cp/namespace.exp: Add tests for namespace types.
49 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
50 (test_namespace): New.
51
52 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
53
54 * gdb.base/relocate.exp: Handle new gdb output at startup.
55 * gdb.stabs/weird.exp: Ditto.
56
57 2003-09-08 Michael Chastain <mec@shout.net>
58
59 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
60
61 2003-09-07 Michael Chastain <mec@shout.net>
62
63 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
64 'parse error'.
65
66 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
67
68 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
69
70 2003-08-30 Michael Chastain <mec@shout.net>
71
72 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
73 * gdb.gdb/observer.exp: Ditto.
74 * gdb.gdb/xfullpath.exp: Ditto.
75
76 2003-08-29 Mark Kettenis <kettenis@gnu.org>
77
78 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
79 *-*-*bsd*.
80
81 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
82
83 * gdb.base/dump.exp: Skip for ia64.
84
85 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
86
87 * gdb.asm/asm-source.exp: Add ia64 support.
88 * gdb.asm/ia64.inc: New file.
89
90 2003-08-22 Michael Chastain <mec@shout.net>
91
92 * gdb.cp: New directory.
93 * gdb.cp/*: Copy from gdb.c++/*.
94 * gdb.c++/*: Remove.
95 * Makefile.in: Change gdb.c++ to gdb.cp.
96 * configure.in: Ditto.
97 * configure: Regnerate.
98
99 2003-08-18 Mark Kettenis <kettenis@gnu.org>
100
101 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
102 * gdb.arch/i386-prologue.c (gdb1338): Add function.
103
104 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
105
106 * mi-var-display.exp (-var-list-children weird): Accept function
107 pointers with argument types.
108 * mi1-var-display.exp (-var-list-children weird): Likewise.
109 * mi2-var-display.exp (-var-list-children weird): Likewise.
110
111 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
112
113 * gdb.base/annota3.exp: Add missing newline.
114
115 2003-08-06 Michael Chastain <mec@shout.net>
116
117 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
118
119 2003-08-12 Michael Snyder <msnyder@redhat.com>
120
121 * gdb.base/float.exp: Add test for SH.
122
123 2003-08-10 Mark Kettenis <kettenis@gnu.org>
124
125 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
126
127 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
128
129 * gdb.base/completion.exp: Remove reduntant completion test
130 on filename.
131
132 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
133
134 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
135 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
136 gdb.trace/save-trace.exp: Make sure that full pathnames are
137 escaped correctly.
138
139 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
140
141 * configure.in: Don't generate config.h from config.hin.
142 * configure: Regenerate.
143 * config.hin: Remove file.
144 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
145 * gdb.threads/pthreads.c: Ditto.
146
147 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
148
149 From Kei Sakamoto <sakamoto.kei@renesas.com>:
150 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
151 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
152 Replace ld24 with seth/add3.
153
154 2003-08-02 Andrew Cagney <cagney@redhat.com>
155
156 * gdb.base/annota3.exp: New file.
157 * gdb.base/annota3.c: New file.
158 * gdb.c++/annota3.exp: New file.
159 * gdb.c++/annota3.cc: New file.
160
161 2003-07-29 Michael Chastain <mec@shout.net>
162
163 * gdb.threads/tls.c (spin): Check errno only if sem_wait
164 actually failed.
165 (do_pass): Likewise.
166 * gdb.threads/tls.exp: Always initialize no_of_threads.
167
168 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
169
170 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
171 pattern.
172 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
173 * gdb.threads/tls.exp: Recognize one case of the host library not
174 supporting TLS.
175
176 2003-07-27 Andrew Cagney <cagney@redhat.com>
177
178 * gdb.base/fileio.exp: Use SH when running commands using
179 remote_exec.
180
181 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
182
183 From Kei Sakamoto <sakamoto.kei@renesas.com>:
184 * gdb.base/relocate.c (dummy): New padding array.
185
186 2003-07-22 Michael Snyder <msnyder@redhat.com>
187
188 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
189
190 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
191 patterns to be more general, accepting old and new output.
192 Some output chars (such as '+') also must be quoted.
193 Some addresses are displayed numerically instead of
194 symbolically.
195
196 2003-07-23 Michael Snyder <msnyder@redhat.com>
197
198 * gdb.base/return2.exp: Don't test long-long return.
199
200 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
201 * gdb.disasm/t01_mov.exp: Ditto.
202 * gdb.disasm/t02_mova.s: Ditto.
203 * gdb.disasm/t02_mova.exp: Ditto.
204 * gdb.disasm/t03_add.s: Ditto.
205 * gdb.disasm/t03_add.exp: Ditto.
206 * gdb.disasm/t04_sub.s: Ditto.
207 * gdb.disasm/t04_sub.exp: Ditto.
208 * gdb.disasm/t05_cmp.s: Ditto.
209 * gdb.disasm/t05_cmp.exp: Ditto.
210 * gdb.disasm/t06_ari2.s: Ditto.
211 * gdb.disasm/t06_ari2.exp: Ditto.
212 * gdb.disasm/t07_ari3.s: Ditto.
213 * gdb.disasm/t07_ari3.exp: Ditto.
214 * gdb.disasm/t08_or.s: Ditto.
215 * gdb.disasm/t08_or.exp: Ditto.
216 * gdb.disasm/t09_xor.s: Ditto.
217 * gdb.disasm/t09_xor.exp: Ditto.
218 * gdb.disasm/t10_and.s: Ditto.
219 * gdb.disasm/t10_and.exp: Ditto.
220 * gdb.disasm/t11_logs.s: Ditto.
221 * gdb.disasm/t11_logs.exp: Ditto.
222 * gdb.disasm/t12_bit.s: Ditto.
223 * gdb.disasm/t12_bit.exp: Ditto.
224 * gdb.disasm/t13_otr.s: Ditto.
225 * gdb.disasm/t13_otr.exp: Ditto.
226
227 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
228
229 * gdb.threads/tls.exp :Add kfail for 'info address' case.
230
231 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
232
233 * gdb.threads/tls.c : New file.
234 * gdb.threads/tls.exp : New file.
235 * gdb.threads/tls-main.c : New file.
236 * gdb.threads/tls-shared.c : New file.
237 * gdb.threads/tls-shared.exp : New file.
238
239 2003-07-22 Andreas Schwab <schwab@suse.de>
240
241 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
242
243 2003-07-20 Andreas Schwab <schwab@suse.de>
244
245 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
246 due to insn reordering.
247
248 2003-07-15 Andrew Cagney <cagney@redhat.com>
249
250 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
251
252 2003-07-15 Michael Chastain <mec@shout.net>
253
254 * gdb.base/gdb1250.exp: New file.
255 * gdb.base/gdb1250.c: New file.
256
257 2003-07-09 Michal Ludvig <mludvig@suse.cz>
258
259 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
260 expansion of size_t to 'unsigned long', not only to 'unsigned'.
261
262 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
263
264 * gdb.threads/tls.c: New file.
265 * gdb.threads/tls.exp: New file.
266 * gdb.threads/tls-main.c: New file.
267 * gdb.threads/tls-shared.c: New file.
268 * gdb.threads/tls-shared.exp: New file.
269
270 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
271
272 * gdb.base/annota1.exp: Make sure that we properly escape the
273 full path of the source file. Xfail more permissive patterns,
274 due to a compiler debug info problem.
275
276 2003-07-07 Andreas Schwab <schwab@suse.de>
277
278 * gdb.asm/m68k.inc: New file.
279 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
280
281 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
282 arguments"): Also match negative number.
283
284 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
285
286 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
287
288 * gdb.base/store.c (charest): New typedef.
289 (add_char): Rename to add_charest, update.
290 (wack_char): Rename to wack_charest, update types. Return l + r
291 to keep r live across the call.
292 (wack_short, wack_int, wack_long, wack_longest, wack_float)
293 (wack_double, wack_doublest): Return l + r to keep r live across
294 the call.
295 * gdb.base/store.exp: Accomodate store.c changes.
296
297 2003-06-30 David Carlton <carlton@kealia.com>
298
299 * gdb.c++/maint.exp (test_invalid_name): New.
300 (test_first_component): Add tests for invalid names.
301
302 2003-06-29 Michael Chastain <mec@shout.net>
303
304 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
305 output of '<VTT for class>' for virtual base classes.
306
307 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
308
309 * gdb.base/completion.exp: Tab-complete "complet" instead of
310 "compl".
311 * gdb.base/complex.exp, gdb.base/complex.c: New files.
312
313 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
314
315 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
316 * gdb.base/volatile.exp: Likewise.
317
318 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
319
320 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
321 gdb/1265.
322
323 2003-06-28 Michael Chastain <mec@shout.net>
324 Daniel Jacobowitz <drow@mvista.com>
325
326 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
327 initial line count of 'captured_main' from 26 to 32.
328 (test_with_self): Allow xmalloc call to be interleaved with the
329 preceding two lines.
330
331 2003-06-24 Joel Brobecker <brobecker@gnat.com>
332
333 * gdb.base/bang.exp: New testcase.
334
335 2003-06-23 Joel Brobecker <brobecker@gnat.com>
336
337 * gdb.base/langs.exp: Add some tests for the "minimal" language
338 support.
339
340 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
341
342 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
343 the testcase.
344
345 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
346
347 * gdb.base/relocate.exp: Test add-symbol-file with a variable
348 offset.
349
350 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
351
352 * gdb.c++/pr-1210.cc: New file.
353 * gdb.c++/pr-1210.exp: New file.
354
355 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
356
357 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
358 000-exec-continue.
359
360 2003-06-15 Mark Kettenis <kettenis@gnu.org>
361
362 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
363 on *-*-*bsd* instead of *-*-freebsd*.
364
365 2003-06-14 Andrew Cagney <cagney@redhat.com>
366
367 * gdb.base/store.exp: Test longest and doublest. Test all
368 parameters. Weaken return statement match.
369 * gdb.base/store.c: Add longest and doublest - aka long long and
370 long double functions. Put all parameters into local register
371 variables. Use negative values.
372
373 2003-06-14 Andrew Cagney <cagney@redhat.com>
374
375 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
376 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
377 exit status.
378 * gdb.base/fileio.exp: Disable target when nointerrupts and
379 noinferiorio, instead of limiting it to remote. Use remote_exec
380 instead of system.
381
382 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
383
384 * gdb.base/float.exp: Add ia64 support.
385
386 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
387
388 * gdb.base/fileio.exp: Run only on remote targets.
389
390 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
391
392 * gdb.base/fileio.c: New file, testing File-I/O.
393 * gdb.base/fileio.exp: Ditto.
394
395 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
396
397 * gdb.base/shreloc.exp: New file, check symbol values obtained from
398 shared objects after relocation at load time (gdb PR/1132).
399 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
400 as above, part of the shared object relocation test.
401
402 2003-06-08 Mark Kettenis <kettenis@gnu.org>
403
404 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
405 fully filled history list.
406 * gdb.base/gdb_history: New file.
407
408 * gdb.base/signals.exp: XFAIL "continue to func1" on
409 i*86-*-freebsd*.
410
411 * gdb.base/attach.exp: When trying to attach to a nonexistent
412 process, make it possible to specify the PID based on the target,
413 and do so for *-*-freebsd*.
414
415 2003-06-02 Richard Henderson <rth@redhat.com>
416
417 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
418
419 2003-06-02 Richard Henderson <rth@redhat.com>
420
421 * gdb.base/selftest.exp: Next over lim_at_start initialization.
422
423 2003-06-02 Richard Henderson <rth@redhat.com>
424
425 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
426
427 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
428
429 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
430 of globalvar.
431
432 2003-06-01 Mark Kettenis <kettenis@gnu.org>
433
434 * gdb.asm/asm-source.exp: Check for memory read errors in
435 disassembler test on *BSD too.
436
437 2003-06-01 Richard Henderson <rth@redhat.com>
438
439 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
440 for .frame.
441 (gdbasm_call): Lose ldgp.
442 (gdbasm_startup): Add frame information.
443 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
444
445 2003-05-31 Mark Kettenis <kettenis@gnu.org>
446
447 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
448 i?86-*-*.
449
450 2003-05-30 Mark Kettenis <kettenis@gnu.org>
451
452 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
453 FreeBSD.
454
455 2003-05-29 Richard Henderson <rth@redhat.com>
456
457 * gdb.asm/alpha.inc: New file.
458 * gdb.asm/asm-source.exp: Use it.
459
460 2003-05-29 Jim Blandy <jimb@redhat.com>
461
462 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
463 'core.PID'.
464
465 2003-05-22 Jim Blandy <jimb@redhat.com>
466
467 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
468 backtrace.
469
470 2003-05-20 David Carlton <carlton@math.stanford.edu>
471
472 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
473 this time.
474
475 2003-05-19 David Carlton <carlton@bactrian.org>
476
477 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
478 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
479
480 2003-05-19 David Carlton <carlton@bactrian.org>
481
482 * gdb.c++/namespace.exp: Add namespace scope and anonymous
483 namespace tests.
484 Bump copyright date.
485 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
486 (main): Call C::D::marker2.
487 * gdb.c++/namespace1.cc: New file.
488
489 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
490
491 Roland McGrath <roland@redhat.com>
492 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
493 there is no manager thread.
494
495 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
496
497 * gdb.threads/schedlock.exp: Remove assumption that all threads
498 will run in a particular small time slice. Also ensure we break
499 in one of the child threads rather than the main thread.
500
501 2003-05-07 Jim Blandy <jimb@redhat.com>
502
503 Add support for assembly source testing on the s390x.
504 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
505 architecture.
506 * gdb.asm/s390x.inc: New file.
507
508 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
509 succession of 'if' statements.
510
511 2003-05-05 Andrew Cagney <cagney@redhat.com>
512
513 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
514
515 2003-05-05 Andrew Cagney <cagney@redhat.com>
516
517 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
518 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
519
520 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
521
522 * gdb.base/charset.exp: Update based on new behavior of set/show
523 charset commands.
524
525 2003-05-01 Andrew Cagney <cagney@redhat.com>
526
527 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
528 variable do not give memory errors.
529
530 2003-04-30 Adam Fedor <fedor@gnu.org>
531
532 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
533 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
534 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
535 gdb.objc/basicclass.m: : New files
536
537 * lib/gdb.exp (gdb_compile_objc): New procedure.
538
539 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
540
541 * gdb.base/signals.exp: Make backtrace tests more specific.
542
543 2003-04-23 David Carlton <carlton@bactrian.org>
544
545 * gdb.c++/maint.exp (test_first_component): Add tests for
546 'operator' in more locations.
547
548 2003-04-16 Kevin Buettner <kevinb@redhat.com>
549
550 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
551
552 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
553
554 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
555 func marke' instead. Update test name.
556
557 2003-04-15 David Carlton <carlton@math.stanford.edu>
558
559 * gdb.c++/maint.exp: New file.
560
561 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
562
563 * gdb.threads/schedlock.c: Change type of thread function argument
564 to long, to avoid warnings on 64-bit platforms.
565
566 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
567
568 * gdb.base/attach.exp: Add new message from ptrace in case of
569 attaching to nonexistent process.
570
571 2003-04-11 Jim Blandy <jimb@redhat.com>
572
573 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
574 gdb.c++/userdef.cc: Place comments on the lines to which the
575 marker function might return.
576 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
577 gdb.c++/userdef.exp: Look for those comments to check that we've
578 returned to the right place, instead of checking line numbers.
579
580 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
581
582 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
583 match on sourcefile name, instead of directory name.
584
585 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
586
587 * gdb.base/completion.exp: Use string_to_regexp to match the
588 working directory name.
589
590 2003-04-09 Jim Blandy <jimb@redhat.com>
591
592 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
593 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
594 after an inferior function call, report the failure, but allow the
595 test to continue.
596
597 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
598
599 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
600 with -DPROTOTYPES.
601
602 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
603
604 * gdb.base/break.exp: Revert last patch.
605
606 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
607
608 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
609 with -DPROTOTYPES.
610
611 2003-04-02 Andrew Cagney <cagney@redhat.com>
612
613 * gdb.base/callfuncs.exp: Make "print add" messages unique.
614 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
615 matching directories by the name breakpoint.
616 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
617 Make "continue to marker1" consistent.
618 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
619 message consistent.
620 * lib/gdb.exp: Put "the program is no longer running", and "the
621 program exited" in parenthesis.
622 * lib/mi-support.exp: Ditto.
623
624 2003-04-02 Bob Rossi <bob_rossi@cox.net>
625
626 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
627
628 2003-03-29 Andrew Cagney <cagney@redhat.com>
629
630 * gdb.base/sizeof.c (main): Print the value of '\377'.
631 * gdb.base/sizeof.exp: Check the sign of '\377'.
632
633 2003-03-27 Michael Chastain <mec@shout.net>
634
635 * gdb.base/gdb1090.exp: New file.
636 * gdb.base/gdb1090.cc: New file.
637
638 2003-03-27 J. Brobecker <brobecker@gnat.com>
639
640 * gdb.gdb/observer.exp: New regression test.
641
642 2003-03-27 Michael Chastain <mec@shout.net>
643
644 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
645 * gdb.base/ptype.exp: Likewise.
646
647 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
648
649 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
650
651 2003-03-26 Michael Chastain <mec@shout.net>
652
653 * gdb.base/ptype.exp: Actually use some typedef'd types.
654
655 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
656
657 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
658 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
659
660 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
661
662 * gdb.base/default.exp: Fix regular expression.
663
664 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
665
666 * gdb.base/args.exp: Fix regular expression.
667
668 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
669
670 * gdb.base/help.exp: Allow Win32 child process.
671
672 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
673
674 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
675 when stepping out of main().
676
677 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
678
679 * gdb.base/default.exp: Check for win32 specific message when calling
680 "run" without executable.
681
682 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
683
684 * gdb.base/args.exp: Expect .exe in output.
685
686 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
687
688 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
689 Cygwin native.
690
691 2003-03-17 Andrew Cagney <cagney@redhat.com>
692
693 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
694 vector registes.
695 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
696 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
697
698 2003-03-17 David Carlton <carlton@math.stanford.edu>
699
700 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
701 test, for PR breakpoints/38.
702 Call test_watchpoint_and_breakpoint.
703 * gdb.base/watchpoint.c (func3): New function.
704 (main): Call func3.
705
706 2003-03-04 David Carlton <carlton@math.stanford.edu>
707
708 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
709 Garply<Garply<char> >:: garply".
710 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
711 with respect to PR c++/1111; note also PR c++/1113.
712 (test_template_breakpoints): KFAIL "constructor breakpoint" with
713 respect to PR c++/1062.
714 KFAIL "destructor breakpoint" with respect to PR c++/1112.
715
716 2003-03-03 David Carlton <carlton@math.stanford.edu>
717
718 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
719 with respect to PR c++/57.
720 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
721 c++/826.
722 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
723 respect to PR c++/57.
724
725 2003-03-03 David Carlton <carlton@math.stanford.edu>
726
727 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
728 respect to PR c++/33 into FAILs.
729
730 2003-03-03 Michael Chastain <mec@shout.net>
731
732 * configure.in: Update copyright years.
733
734 2003-03-03 Michael Chastain <mec@shout.net>
735
736 * Makefile.in: Update copyright years.
737
738 2003-02-28 David Carlton <carlton@math.stanford.edu>
739
740 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
741 print class instead of struct and/or superfluous protection
742 specifiers, as long as the resulting output is equivalent to the
743 source code.
744 Delete FIXME from end of messages on tests that don't need
745 fixing.
746
747 2003-02-28 David Carlton <carlton@math.stanford.edu>
748
749 * gdb.c++/templates.exp (do_tests): Allow const in the two
750 Foo<volatile char *>::foo tests.
751
752 2003-02-27 Michael Snyder <msnyder@redhat.com>
753
754 * gdb.base/restore.c (main): Return zero, so exit code
755 will be consistant.
756
757 2003-02-26 David Carlton <carlton@math.stanford.edu>
758
759 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
760 char *>::foo" test with respect to PR c++/33. Create a new test
761 which is identical to that one except that it doesn't put the
762 space between the "char" and the "*"; KFAIL it, too.
763
764 2003-02-26 David Carlton <carlton@math.stanford.edu>
765
766 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
767 template types into either PASSes or KFAILs (corresponding to PR
768 c++/57). Tweak indentation. Update copyright.
769
770 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
771
772 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
773
774 2003-02-13 Michael Chastain <mec@shout.net>
775
776 * gdb.base/exprs.exp: Remove i960 remnants.
777 * gdb.base/funcargs.exp: Likewise.
778 * gdb.base/list.exp: Likewise.
779 * gdb.base/ptype.exp: Likewise.
780
781 2003-02-14 David Carlton <carlton@math.stanford.edu>
782
783 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
784 pEe->D::vg()" from XFAIL to KFAIL.
785
786 2003-02-13 Jason Molenda (jmolenda@apple.com)
787
788 * gdb.base/maint.exp: Update maint print statistics regexp to include
789 new entries.
790
791 2003-02-13 Michael Chastain <mec@shout.net>
792
793 * gdb.c++/inherit.exp: Remove call to get_debug_format.
794
795 2003-02-12 Michael Chastain <mec@shout.net>
796
797 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
798 * gdb.c++/inherit.exp: Likewise.
799 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
800 * gdb.c++/templates.exp: Likewise.
801 * gdb.c++/virtfunc.exp: Likewise.
802
803 2003-02-06 Jason Molenda (jason-cl@molenda.com)
804
805 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
806 why the code is written that way.
807
808 2003-02-05 Michael Chastain <mec@shout.net>
809
810 * gdb.base/dump.exp: Add missing copyright line.
811
812 2003-02-05 Jason Molenda (jason-cl@molenda.com)
813
814 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
815 at the beginning so the breakpoint doesn't get set on the loop.
816
817 2003-02-05 Michael Chastain <mec@shout.net>
818
819 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
820 output for configurations with gcc 2.95.3.
821
822 2003-02-05 Keith Seitz <keiths@redhat.com>
823 Andrew Cagney <ac131313@redhat.com>
824
825 * gdb.mi/mi-cli.exp: New file.
826
827 2003-02-04 Michael Chastain <mec@shout.net>
828
829 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
830 Call perror and then continue.
831
832 2003-02-03 Michael Chastain <mec@shout.net>
833
834 * gdb.c++/pr-1023.cc: New file.
835 * gdb.c++/pr-1023.exp: New file.
836
837 2003-02-05 Jim Blandy <jimb@redhat.com>
838
839 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
840 it's local to foobar. Check for it there, and check that it's not
841 present in main.
842 * gdb.c++/local.cc (marker2): New function.
843 (foobar): Call marker1.
844 (main): Call marker2 instead of marker1.
845
846 2003-02-04 Andrew Cagney <ac131313@redhat.com>
847
848 * gdb.disasm/mn10200.exp: Obsolete file.
849 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
850 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
851 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
852
853 2003-02-04 David Carlton <carlton@math.stanford.edu>
854
855 * gdb.c++/overload.exp: Test intToChar(1).
856 * gdb.c++/overload.cc (intToChar): New.
857 (main): Call intToChar.
858
859 2003-02-03 David Carlton <carlton@math.stanford.edu>
860
861 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
862 'might_kfail' arg.
863 KFAIL some of the continue_to_bp_overloaded calls, according to
864 PR c++/1025.
865
866 2003-02-01 Michael Chastain <mec@shout.net>
867
868 * gdb.base/advance.c (marker1): New marker function.
869 * gdb.base/advance.exp: When the 'advance' command lands on the
870 return breakpoint, it can legitimately stop on either the
871 current line or the next line. Accommodate both outcomes.
872 * gdb.base/until.exp: Likewise.
873
874 2003-02-02 Andrew Cagney <ac131313@redhat.com>
875
876 2002-11-10 Jason Molenda (jason-cl@molenda.com):
877 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
878 now a list, not a tuple.
879 * gdb.mi/mi-var-display.exp: Ditto.
880 * gdb.mi/gdb792.exp: Ditto.
881
882 2003-02-01 Andrew Cagney <ac131313@redhat.com>
883
884 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
885 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
886 stack backtraces.
887 * gdb.mi/mi-syn-frame.c: Part of same.
888
889 2003-02-01 Mark Kettenis <kettenis@gnu.org>
890
891 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
892 gdb.mi/mi1-pthreads.exp: Return instead of calling
893 gdb_suppress_entire_file.
894
895 2003-02-01 Mark Salter <msalter@redhat.com>
896
897 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
898
899 2003-01-31 Mark Salter <msalter@redhat.com>
900
901 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
902 Support empty arg.
903
904 2003-01-30 Michael Chastain <mec@shout.net>
905
906 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
907 This was a workaround for a UTF-8 bug in readline 4.3. The bug
908 has been fixed in gdb/readline on 2003-01-09.
909
910 2003-01-29 Michael Snyder <msnyder@redhat.com>
911
912 * gdb.base/maint.exp: Allow for leading underscore in symbol.
913 * gdb.base/display.exp: Allow for leading underscore in symbol.
914 * gdb.base/args.exp: Skip if target does not support args passing.
915
916 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
917
918 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
919 gdb_test. Accept a list of expect arguments as the third
920 parameter.
921 (gdb_test): Use it.
922
923 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
924
925 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
926 allow for different test tree configurations. Update some
927 tescases accordingly.
928 * gdb.arch/altivec-regs.exp: Ditto.
929 * gdb.asm/asm-source.exp: Ditto.
930 * gdb.base/advance.exp: Ditto.
931 * gdb.base/display.exp: Ditto.
932 * gdb.base/long_long.exp: Ditto.
933 * gdb.base/mips_pro.exp: Ditto.
934 * gdb.base/overlays.exp: Ditto.
935 * gdb.base/relocate.exp: Ditto.
936 * gdb.base/setshow.exp: Ditto.
937 * gdb.base/step-line.exp: Ditto.
938 * gdb.base/step-test.exp: Ditto.
939 * gdb.base/until.exp: Ditto.
940 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
941
942 2003-01-17 David Carlton <carlton@math.stanford.edu>
943
944 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
945 corresponding to PR c++/945.
946 Update copyright.
947
948 2003-01-17 David Carlton <carlton@math.stanford.edu>
949
950 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
951 corresponding to PR c++/68.
952
953 2003-01-17 David Carlton <carlton@math.stanford.edu>
954
955 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
956 (test_paddr_hairy_functions): Call print_addr_2_kfail for
957 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
958
959 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
960
961 * gdb.base/break.exp: Fix change of default location, because of
962 removal of until tests.
963 * gdb.base/help.exp: Update test for new 'until' help message.
964 Add test for help on 'advance'.
965 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
966
967 2003-01-15 Mark Kettenis <kettenis@gnu.org>
968
969 * gdb.base/default.exp: Adapt "info float" test for recent changes
970 to that command. Add test for "info vector".
971 * gdb.base/float.exp: New file. Add test for "info float" that
972 resembles the old test in gdb.base/default.exp.
973
974 2003-01-15 David Carlton <carlton@math.stanford.edu>
975
976 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
977
978 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
979
980 * gdb.base/break.exp: Move the tests of until command from here...
981 * gdb.base/until.exp: ... to here. New file. Add other tests.
982 * gdb.base/advance.c: New file.
983 * gdb.base/advance.exp: New file.
984
985 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
986
987 * gdb.base/args.c: New file.
988 * gdb.base/args.exp: New file.
989
990 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
991
992 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
993
994 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
995
996 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
997
998 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
999
1000 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1001 dates.
1002
1003 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1004
1005 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1006
1007 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1008
1009 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1010 (ptype &*"foo").
1011 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1012
1013 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1014
1015 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1016 * gdb.mi/mi1-console.exp: Likewise.
1017
1018 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1019
1020 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1021 * gdb.mi/mi1-console.exp: Likewise.
1022
1023 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1024
1025 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1026
1027 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
1028
1029 * gdb.base/detach.exp: New test.
1030
1031 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
1032
1033 * Makefile.in (ALL_SUBDIRS): New variable.
1034 (subdirs, clean, distclean): Use it.
1035 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1036 regenerating Makefile, since it is generated from the top level.
1037 * gdb.asm/Makefile.in: Likewise.
1038 * gdb.base/Makefile.in: Likewise.
1039 * gdb.c++/Makefile.in: Likewise.
1040 * gdb.disasm/Makefile.in: Likewise.
1041 * gdb.java/Makefile.in: Likewise.
1042 * gdb.mi/Makefile.in: Likewise.
1043 * gdb.threads/Makefile.in: Likewise.
1044 * gdb.trace/Makefile.in: Likewise.
1045
1046 2003-01-09 David Carlton <carlton@math.stanford.edu>
1047
1048 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1049 Add copyright year 2003.
1050
1051 2003-01-06 Michael Chastain <mec@shout.net>
1052
1053 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1054 When selecting a thread, 'line' and 'file' are optional.
1055 * gdb.mi/mi1-pthreads.exp: Likewise.
1056
1057 2003-01-06 Andreas Schwab <schwab@suse.de>
1058
1059 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1060 failures.
1061
1062 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1063
1064 Fix PR gdb/844
1065 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1066 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1067
1068 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1069 instead of calling gdb_suppress_entire_file.
1070 * gdb.threads/print-threads.exp: Likewise.
1071 * gdb.threads/schedlock.exp: Likewise.
1072
1073 * gdb.threads/killed.exp: Return instead of calling
1074 gdb_suppress_entire_file.
1075 * gdb.threads/linux-dp.exp: Likewise.
1076 * gdb.threads/pthreads.exp: Likewise.
1077
1078 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1079
1080 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1081 stabs.
1082 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1083 * gdb.base/whatis.exp: Always allow (void) after function names.
1084
1085 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1086
1087 * gdb.c++/casts.exp: Correct regexp.
1088
1089 2003-01-04 Mark Kettenis <kettenis@gnu.org>
1090
1091 * configure.in: Call AC_CONFIG_HEADER. Don't call
1092 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1093 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1094 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1095 aforementioned directories in the AC_OUPUT call.
1096 * config.hin: New file.
1097 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1098 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1099 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1100 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1101 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1102 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1103 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1104 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1105 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1106 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1107 gdb.threads/configure.in, gdb.threads/configure,
1108 gdb.threads/config.in, gdb.trace/configure.in,
1109 gdb.trace/configure: Removed.
1110
1111 2003-01-03 Michael Chastain <mec@shout.net>
1112
1113 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1114 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1115
1116 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
1117
1118 * gdb.base/store.exp: Fix regular expressions.
1119
1120 2002-12-28 Mark Kettenis <kettenis@gnu.org>
1121
1122 * configure.in: Rewrite.
1123 * configure: Regenerated.
1124
1125 2003-01-03 David Carlton <carlton@math.stanford.edu>
1126
1127 * gdb.base/psymtab.exp: New file.
1128 * gdb.base/psymtab1.c: Ditto.
1129 * gdb.base/psymtab2.c: Ditto.
1130
1131 2002-12-23 Adam Fedor <fedor@gnu.org>
1132
1133 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1134
1135 2002-12-23 David Carlton <carlton@math.stanford.edu>
1136
1137 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1138 and current_directory initialization.
1139
1140 2002-12-22 Jim Blandy <jimb@redhat.com>
1141
1142 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1143 rather than as part of the output file name.
1144
1145 * gdb.base/attach.exp: There's no need to copy the test program to
1146 /tmp; that was only ever necessary on HP/UX, and this test is
1147 entirely disabled there anyway.
1148
1149 2002-12-21 Jim Blandy <jimb@redhat.com>
1150
1151 * gdb.c++/psmang.exp: Doc fix.
1152
1153 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1154 test.
1155
1156 2002-12-20 David Carlton <carlton@math.stanford.edu>
1157
1158 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1159
1160 2002-12-18 Michael Chastain <mec@shout.net>
1161
1162 * gdb.c++/annota2.exp: Add copyright year 2002.
1163
1164 2002-12-17 David Carlton <carlton@math.stanford.edu>
1165
1166 * gdb.c++/try_catch.cc: Add marker comments.
1167 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1168 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1169 * gdb.c++/m-static.cc: Ditto.
1170 * gdb.c++/m-static1.cc: Ditto.
1171 * gdb.c++/try_catch.cc: Ditto.
1172
1173 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1174
1175 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1176 to see whether we are using the new -environment-directory
1177 command which resets via -r or the old version of the command
1178 which may prompt the user. Part of fix for gdb/741.
1179
1180 2002-12-13 Andrew Cagney <ac131313@redhat.com>
1181
1182 * gdb.fortran/types.exp: Update obsolete comment.
1183 * gdb.fortran/exprs.exp: Ditto.
1184 * lib/gdb.exp: Delete obsolete code.
1185 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1186 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1187 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1188 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1189 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1190 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1191 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1192 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1193 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1194 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1195 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1196 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1197 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1198 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1199 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1200 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1201 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1202 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1203 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1204 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1205 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1206 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1207 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1208 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1209 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1210 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1211 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1212 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1213 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1214 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1215 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1216 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1217 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1218 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1219 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1220 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1221 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1222
1223 2002-12-11 David Carlton <carlton@math.stanford.edu>
1224
1225 * gdb.c++/m-data.exp: Add test for members that shadow global
1226 variables: see PR gdb/804.
1227 * gdb.c++/m-data.cc: Ditto.
1228
1229 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
1230
1231 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1232
1233 2002-12-06 David Carlton <carlton@math.stanford.edu>
1234
1235 * gdb.base/store.c: Don't declare functions static.
1236
1237 2002-12-04 Andrew Cagney <ac131313@redhat.com>
1238
1239 * gdb.base/store.exp, gdb.base/store.c: New files.
1240
1241 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
1242
1243 * gdb.base/selftest.exp: Update for current gdb.
1244
1245 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
1246
1247 * gdb.base/maint.exp: Only dump symbols from one source file
1248 or objfile.
1249
1250 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
1251
1252 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1253 function call.
1254
1255 2002-11-25 Jim Blandy <jimb@redhat.com>
1256
1257 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1258 function appearing in error message.
1259
1260 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
1261
1262 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1263
1264 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1265
1266 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1267 for mi1 and current mi is in correct format. New mi startup message
1268 should be in mi console format. This is part of fix for PR gdb/604.
1269
1270 2002-09-18 Fernando Nasser <fnasser@redhat.com>
1271
1272 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1273 which explicitly prints the zero offset as "+0".
1274
1275 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
1276
1277 * gdb.threads/schedlock.c (args): Make unsigned.
1278
1279 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
1280
1281 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1282 numbers. Allow "foo2|selected stack frame".
1283 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1284 * gdb.asm/asmsrc2.s: Likewise.
1285 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1286 comments.
1287 * gdb.asm/mips.inc: New file.
1288
1289 2002-10-18 Adam Fedor <fedor@gnu.org>
1290
1291 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1292 * gdb.base/help.exp: Likewise.
1293
1294 2002-10-17 Kevin Buettner <kevinb@redhat.com>
1295
1296 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1297 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1298
1299 2002-10-02 Jim Blandy <jimb@redhat.com>
1300
1301 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1302
1303 2002-10-01 Andrew Cagney <ac131313@redhat.com>
1304
1305 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1306 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1307 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1308 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1309 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1310 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1311 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1312
1313 2002-09-29 Andrew Cagney <ac131313@redhat.com>
1314
1315 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1316 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1317 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1318 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1319 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1320 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1321 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1322
1323 2002-09-27 Kevin Buettner <kevinb@redhat.com>
1324
1325 * gdb.base/annota1.exp (info break): Make directory components of
1326 path optional since not all compilers emit this debug information.
1327
1328 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1329 step ends up stepping out of the function instead of stopping on
1330 the epilogue.
1331
1332 2002-09-26 Keith Seitz <keiths@redhat.com>
1333
1334 * lib/insight-support.exp (gdbtk_start): Figure out where
1335 the insight executable is based on where gdb is. Use this
1336 executable to start insight instead of gdb.
1337
1338 2002-09-25 Andrew Cagney <cagney@redhat.com>
1339
1340 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1341
1342 2002-09-24 Andrew Cagney <ac131313@redhat.com>
1343
1344 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1345 test_isolated_complaints.
1346 (test_empty_complaint): New function.
1347 (test_empty_complaints): New function. Check no output when no
1348 complaints.
1349
1350 2002-09-19 Jim Blandy <jimb@redhat.com>
1351
1352 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1353
1354 2002-09-19 Andrew Cagney <ac131313@redhat.com>
1355
1356 * gdb.gdb/complaints.exp: New file.
1357
1358 2002-09-18 Andrew Cagney <ac131313@redhat.com>
1359
1360 * gdb.base/maint.exp: Check `help maint internal-warning'.
1361
1362 2002-09-18 David Carlton <carlton@math.stanford.edu>
1363
1364 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1365 numbers, and replace them by a single breakpoint after the
1366 constructors are all finished.
1367 Add test 4.
1368 * gdb.c++/m-static.cc: Add test 4.
1369 * gdb.c++/m-static.h: New file.
1370 * gdb.c++/m-static1.cc: New file.
1371
1372 * gdb.c++/printmethod.exp: New file.
1373 * gdb.c++/printmethod.cc: New file.
1374
1375 * gdb.c++/pr-574.exp: New file.
1376 * gdb.c++/pr-574.cc: New file.
1377
1378 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1379
1380 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1381 embedded targets which never actually exit.
1382
1383 2002-09-18 Fernando Nasser <fnasser@redhat.com>
1384
1385 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1386 "don't step after run" as unresolved or unsupported, instead of xfail.
1387
1388 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1389
1390 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1391 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1392 Add newline to expected string in "step out of main (status wrapper)"
1393 case.
1394
1395 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1396
1397 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1398 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1399
1400 2002-09-17 Tom Tromey <tromey@redhat.com>
1401
1402 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1403 \000, not \0, in double-quoted string.
1404
1405 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
1406
1407 * gdb.base/commands.exp: Don't expect a "Program exited normally"
1408 string after running the commands execution on breakpoint tests.
1409
1410 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
1411
1412 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1413
1414 2002-09-12 Joel Brobecker <brobecker@gnat.com>
1415
1416 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1417
1418 2002-09-10 Keith Seitz <keiths@redhat.com>
1419
1420 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1421 runto proc.
1422 (mi_run_to_main): Use mi_runto.
1423 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1424
1425 2002-09-10 Keith Seitz <keiths@redhat.com>
1426
1427 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1428 regexp for stopping at main. Could have multiple event notifications.
1429 Don't assume that main was declared with no parameters.
1430 (mi_next): Use mi_step_to.
1431 (mi_step): Use mi_next_to.
1432
1433 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
1434
1435 * gdb.base/default.exp: Fix expected string in `info float' test.
1436
1437 2002-09-09 Ben Elliston <bje@redhat.com>
1438
1439 * config/mips.exp: Update comments.
1440 * config/mips-idt.exp: Likewise.
1441 * config/nind.exp: Likewise.
1442 * config/slite.exp: Likewise.
1443 * config/sparclet.exp: Likewise.
1444 * config/udi.exp: Likewise.
1445 * config/vx.exp: Likewise.
1446 * config/vxworks29k.exp: Likewise.
1447
1448 2002-09-05 Jim Blandy <jimb@redhat.com>
1449
1450 * gdb.threads/killed.exp: Fix test failure message.
1451
1452 2002-09-04 Keith Seitz <keiths@redhat.com>
1453
1454 * lib/mi-support.exp: Update copyright.
1455 (mi_gdb_test): Increase the priority of the expected pattern
1456 so that it matches gdb_test.
1457
1458 2002-09-03 Keith Seitz <keiths@redhat.com>
1459
1460 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1461 Use integer comparison instead of string comparison for testing
1462 whether binary was built.
1463
1464 2002-09-03 Jim Blandy <jimb@redhat.com>
1465
1466 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1467
1468 2002-08-29 Jim Blandy <jimb@redhat.com>
1469
1470 * gdb.threads/pthreads.exp: Move the portable thread compilation
1471 code into a function in lib/gdb.exp, and call that from here.
1472 * lib/gdb.exp (gdb_compile_pthreads): New function.
1473
1474 2002-08-29 Keith Seitz <keiths@redhat.com>
1475
1476 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1477 expect_out so that callers can get at it.
1478
1479 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
1480
1481 * gdb.threads/print-threads.c: New file.
1482 * gdb.threads/print-threads.exp: New file.
1483 * gdb.threads/schedlock.c: New file.
1484 * gdb.threads/schedlock.exp: New file.
1485
1486 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
1487
1488 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1489 not altivec.c.
1490
1491 2002-08-17 Mark Kettenis <kettenis@gnu.org>
1492
1493 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1494 targets. The problem should be fixed now.
1495
1496 2002-08-15 Mark Kettenis <kettenis@gnu.org>
1497
1498 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1499 2002-07-24 change that removes final dots from error messages.
1500
1501 2002-08-13 Tom Tromey <tromey@redhat.com>
1502
1503 * gdb.base/readline.exp: New file.
1504
1505 2002-08-01 Andrew Cagney <ac131313@redhat.com>
1506
1507 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1508 supress message.
1509
1510 2002-08-01 Andrew Cagney <cagney@redhat.com>
1511
1512 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1513 CHILL_FOR_TARGET and CHILL_LIB.
1514 * configure.in (configdirs): Remove gdb.chill.
1515 * configure: Regenerate.
1516 * lib/gdb.exp: Obsolete references to chill.
1517 * gdb.fortran/types.exp: Ditto.
1518 * gdb.fortran/exprs.exp: Ditto.
1519
1520 2002-07-30 Kevin Buettner <kevinb@redhat.com>
1521
1522 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1523 set Irix-specific compile and link flags.
1524
1525 2002-07-29 Kevin Buettner <kevinb@redhat.com>
1526
1527 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1528 source files. The ``-o'' option doesn't work with the ``-E'' option
1529 when using the Irix compiler.
1530
1531 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
1532
1533 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1534 Improve support for reusing an exec file. Copy exec file
1535 to target, and run gdbserver on the target instead of on the host.
1536
1537 2002-07-18 Jim Blandy <jimb@redhat.com>
1538
1539 * gdb.base/ending-run.exp: Don't expect to see the program end in
1540 some orderly fashion when we're running on a real stand-alone
1541 board.
1542
1543 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1544 targets that don't support interrupts.
1545
1546 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1547
1548 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1549 systems.
1550 Move comments in expect statements to inside the actions, so that they
1551 don't get matched against.
1552
1553 2002-07-10 Mark Kettenis <kettenis@gnu.org>
1554
1555 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1556 function when asleep" test.
1557
1558 2002-07-10 Andrew Cagney <ac131313@redhat.com>
1559
1560 * gdb.base/page.exp: Rewrite to handle problems with very long
1561 `info set' output. Update copyright.
1562
1563 2002-06-26 Andrew Cagney <ac131313@redhat.com>
1564
1565 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1566 gdb.threads-hp.
1567 * gdb.hp/configure: Regenerate.
1568 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1569 * gdb.hp/gdb.threads-hp/configure: Delete file.
1570 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1571
1572 2002-06-22 Andrew Cagney <ac131313@redhat.com>
1573
1574 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1575 setlocale, bindtextdomain and textdomain.
1576
1577 2002-06-11 Jim Blandy <jimb@redhat.com>
1578
1579 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1580 preprocessor macro information is present.
1581
1582 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1583 tests.
1584
1585 2002-06-06 Michael Snyder <msnyder@redhat.com>
1586
1587 * gdb.base/overlays.exp: Record addresses of overlay
1588 functions in TCL variables rather than in GDB variables,
1589 to avoid having GDB convert them to pointers (with loss
1590 of information).
1591
1592 * gdb.base/d10v.ld: Merge in several years worth of
1593 default linker script changes.
1594 * gdb.base/long_long.exp: Add check for sizeof (long double).
1595
1596 2002-06-06 Michal Ludvig <mludvig@suse.cz>
1597
1598 * gdb.asm/asm-source.exp: Add x86-64 target.
1599 * gdb.asm/x86_64.inc: New.
1600
1601 2002-05-30 Michael Chastain <mec@shout.net>
1602
1603 From Benjamin Kosnik <bkoz@redhat.com>:
1604 * gdb.c++/m-static.cc: New file.
1605 * gdb.c++/m-static.exp: New file.
1606
1607 2002-05-28 Michael Snyder <msnyder@redhat.com>
1608
1609 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1610 precision.
1611
1612 2002-05-27 Michael Chastain <mec@shout.net>
1613
1614 From Benjamin Kosnik <bkoz@redhat.com>:
1615 * gdb.c++/m-data.cc: New file.
1616 * gdb.c++/m-data.exp: New file.
1617
1618 2002-05-27 Michael Chastain <mec@shout.net>
1619
1620 From Benjamin Kosnik <bkoz@redhat.com>:
1621 * gdb.c++/try_catch.cc: New file.
1622 * gdb.c++/try_catch.exp: New file.
1623
1624 2002-05-27 Michael Chastain <mec@shout.net>
1625
1626 * gdb.c++/local.exp: Accept more nested types in output.
1627
1628 2002-05-26 Michael Chastain <mec@shout.net>
1629
1630 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1631
1632 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1633
1634 * lib/gdb.exp (gdb_wrapper_init): Just because
1635 gdb_wrapper_file exists, this does not mean that the file
1636 should not be rebuilt. That is what gdb_wrapper_initialized
1637 is for.
1638 (default_gdb_init): Reset gdb_wrapper_initialized.
1639
1640 2002-05-23 Michael Snyder <msnyder@redhat.com>
1641
1642 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1643 the precision of the floating point test results.
1644 * gdb.base/call-rt-st.exp: Ditto.
1645
1646 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1647 * gdb.base/call-rt-st.exp: Ditto.
1648
1649 2002-05-19 Michael Chastain <mec@shout.net>
1650
1651 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1652
1653 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
1654
1655 * configure.in (configdirs): Add gdb.arch.
1656 * configure: Regenerate.
1657
1658 2002-05-17 Jim Blandy <jimb@redhat.com>
1659
1660 * gdb.base/completion.exp: Recognize the more detailed error
1661 messages produced by the macro expander's lexical analyzer.
1662
1663 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
1664
1665 * gdb.arch/altivec-abi.c: New file.
1666 * gdb.arch/altivec-abi.exp: New file.
1667 * gdb.arch/altivec-regs.c: New file.
1668 * gdb.arch/altivec-regs.exp: New file.
1669
1670 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
1671
1672 * gdb.base/maint.exp (maint print type): Update for new type
1673 structure.
1674
1675 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
1676
1677 * gdb.arch: New directory.
1678 * gdb.arch/configure.in: New file.
1679 * gdb.arch/configure: New file.
1680 * gdb.arch/Makefile.in: New file.
1681
1682 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
1683
1684 * gdb.asm/asm-source.exp: Add v850 as supported target.
1685 * gdb.asm/v850.inc: New file.
1686
1687 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
1688
1689 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1690
1691 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
1692
1693 * gdb.base/break.exp: Check 'break "marker2"'.
1694
1695 2002-05-10 Michael Snyder <msnyder@redhat.com>
1696
1697 * gdb.base/long_long.exp: Fix typo.
1698
1699 2002-05-10 Jim Blandy <jimb@redhat.com>
1700
1701 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1702 a bug.
1703
1704 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1705 Recognize more detailed error message produced by the macro
1706 expander's lexical analyzer.
1707 * lib/gdb.exp (test_print_reject): Same.
1708
1709 2002-05-09 Mark Kettenis <kettenis@gnu.org>
1710
1711 * gdb.c++/method.exp: Fix typo.
1712
1713 2002-05-08 Michael Snyder <msnyder@redhat.com>
1714
1715 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1716 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
1717 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
1718 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1719 Add iftarget clause for strongarm.
1720
1721 2002-05-06 Michael Snyder <msnyder@redhat.com>
1722
1723 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1724 (gdb_continue_to_end): Accept output from status wrapper.
1725 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1726 Clean up fail messages to match pass messages.
1727
1728 Enable the "needs_status_wrapper" testsuite feature.
1729 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1730 (gdb_compile): Conditionally call gdb_wrapper_init.
1731 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1732 * gdb.c++/method.exp: Recognize output from status wrapper.
1733
1734 2002-05-06 Ben Elliston <bje@redhat.com>
1735 From Graydon Hoare <graydon@redhat.com>
1736
1737 * config/sid.exp: Include support for "rawsid" protocol.
1738
1739 2002-05-03 Jim Blandy <jimb@redhat.com>
1740
1741 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1742 * gdb.c++/hang3.C: New file.
1743
1744 2002-05-04 Andrew Cagney <ac131313@redhat.com>
1745
1746 * gdb.base/default.exp: Remove obsolete code.
1747 * gdb.c++/misc.exp: Ditto. Update copyright.
1748 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1749 * gdb.base/whatis.exp: Ditto. Update copyright.
1750 * gdb.base/scope.exp: Ditto. Update copyright.
1751 * gdb.base/ptype.exp: Ditto. Update copyright.
1752 * gdb.base/printcmds.exp: Ditto. Update copyright.
1753 * gdb.base/opaque.exp: Ditto. Update copyright.
1754 * gdb.base/list.exp: Ditto.
1755 * gdb.base/funcargs.exp: Ditto. Update copyright.
1756 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1757 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1758 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1759 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1760 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1761 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1762
1763 2002-05-02 Michael Snyder <msnyder@redhat.com>
1764
1765 * gdb.base/watchpoint.exp: Add xscale target.
1766 * gdb.base/long_long.exp: Add xscale target.
1767 * gdb.base/default.exp: Add xscale target.
1768
1769 2002-05-01 Jim Blandy <jimb@redhat.com>
1770
1771 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1772 gdb.c++/hang.exp: New test.
1773
1774 2002-05-01 Fred Fish <fnf@redhat.com>
1775
1776 * gdb.base/completion.exp: Handle completions of "./Make" for
1777 more than one completion possibility, as is the case when we
1778 build and test in the source tree.
1779
1780 2002-04-29 Anthony Green <green@redhat.com>
1781
1782 * gdb.java/jmisc1.exp: New file.
1783 * gdb.java/jmisc2.exp: New file.
1784
1785 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
1786
1787 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1788
1789 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
1790
1791 * gdb.base/help.exp: Change 'help status' to allow for target
1792 dependent output differences.
1793
1794 2002-04-22 Michael Chastain <mec@shout.net>
1795
1796 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1797
1798 2002-04-22 Michael Chastain <mec@shout.net>
1799
1800 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1801
1802 2002-04-17 David S. Miller <davem@redhat.com>
1803
1804 * gdb.asm/sparc64.inc: New file.
1805 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1806
1807 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
1808
1809 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1810 instruction file directly into the build tree. Clean up at end of
1811 test.
1812
1813 2002-04-18 David S. Miller <davem@redhat.com>
1814
1815 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1816 handle 64-bit platforms correctly.
1817 * gdb.base/maint.exp: Likewise.
1818
1819 2002-04-18 Kevin Buettner <kevinb@redhat.com>
1820
1821 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1822 ``-fpic'' when compiling files comprising a shared library, but
1823 it does need additional linker flags in order to find shared
1824 libraries at run time.
1825
1826 2002-04-18 Kevin Buettner <kevinb@redhat.com>
1827
1828 * gdb.base/cvexpr.c (use): New function.
1829 (main): Invoke use() on all global variables to prevent
1830 some linkers from deleting these otherwise unused symbols.
1831
1832 2002-04-17 Michael Chastain <mec@shout.net>
1833 From David S. Miller <davem@redhat.com>
1834
1835 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1836 handle 64-bit platforms correctly.
1837
1838 2002-04-12 Michael Snyder <msnyder@redhat.com>
1839 From Jim Blandy <jimb@redhat.com>
1840 * gdb.base/foo.c (foox): Remove section attribute; the linker
1841 script can handle this instead.
1842 * gdb.base/bar.c (barx): Same.
1843 * gdb.base/baz.c (bazx): Same.
1844 * gdb.base/grbx.c (grbxx): Same.
1845
1846 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1847 manager doesn't automatically unmap overlays unnecessarily.
1848
1849 2002-04-10 Martin M. Hunt <hunt@redhat.com>
1850
1851 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1852 stepping out of main.
1853
1854 2002-04-09 Michael Chastain <mec@shout.net>
1855
1856 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1857 scope so that the nested scope tests will make sense.
1858 * gdb.c++/local.exp: Write patterns that actually work with gcc
1859 (the HP patterns "were never known to work with gcc").
1860 Keep the old aCC patterns too.
1861
1862 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
1863
1864 * gdb.base/attach.exp: Correct target board test.
1865
1866 2002-04-08 Michael Chastain <mec@shout.net>
1867
1868 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1869 in a const method. Add some xfail and fail cases for configurations
1870 that do not emit the "const ...".
1871
1872 2002-04-07 Michael Chastain <mec@shout.net>
1873
1874 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1875 Accept "A * const" and "const A * const" as type of "this".
1876 Fix spelling of getFunky throughout. Make messages uniform.
1877
1878 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1879
1880 Work around for PR gdb/285:
1881 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1882
1883 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
1884
1885 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1886 instructions file at run time instead of configure time.
1887 Sometimes we run the test in a directory that is not the one we
1888 configured in.
1889 * gdb.asm/configure.in: Delete creation of symlink.
1890 * gdb.asm/configure: Regenerate.
1891
1892 2002-04-05 J. Brobecker <brobecker@gnat.com>
1893
1894 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1895 xfullpath () function.
1896
1897 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
1898
1899 * gdb.asm/Makefile.in: Correct dependencies.
1900
1901 * gdb.asm/powerpc.inc: New file.
1902 * gdb.asm/asm-source.exp: Add PowerPC.
1903 * gdb.asm/configure.in: Likewise.
1904 * gdb.asm/configure: Regenerated.
1905
1906 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
1907
1908 * gdb.base/relocate.exp: New file.
1909 * gdb.base/relocate.c: New file.
1910
1911 2002-04-04 Fred Fish <fnf@redhat.com>
1912
1913 * gdb.base/step-test.exp: Update comment regarding stopping in
1914 memcpy/bcopy calls inserted as part of the compiler runtime.
1915
1916 2002-04-04 Michael Snyder <msnyder@redhat.com>
1917
1918 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1919
1920 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
1921
1922 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1923 (gdb_expect): Remove $notransfer hack.
1924
1925 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
1926
1927 * gdb.c++/classes.exp ("calling method for small class"): Match
1928 updated register output.
1929
1930 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
1931
1932 Fix PR gdb/452
1933 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1934 when finished. Make gdb_file_cmd send "exec-file" when
1935 appropriate.
1936
1937 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
1938
1939 * gdb.base/attach.exp: Remove extra setup_xfail.
1940
1941 2002-03-26 Michael Snyder <msnyder@redhat.com>
1942
1943 * gdb.base/default.exp: Add tests for dump, append, and restore.
1944 * gdb.base/help.exp: Add tests for dump, append, and restore.
1945 * gdb.base/dump.exp: New file, test dump, append and restore.
1946 * gdb.base/dump.c: New file.
1947
1948 2002-03-27 Michael Snyder <msnyder@redhat.com>
1949
1950 * gdb.base/help.exp: Modify expect strings to reflect
1951 clean-ups in help messages.
1952
1953 2002-03-26 Fred Fish <fnf@redhat.com>
1954
1955 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1956 have debugging info for those functions and the compiler uses them
1957 internally to copy structs around.
1958
1959 2002-03-26 Fred Fish <fnf@redhat.com>
1960
1961 * gdb.base/list.exp: Revert the change made yesterday and add note
1962 about why we don't list the default lines for remote targets.
1963
1964 2002-03-25 Michael Snyder <msnyder@redhat.com>
1965
1966 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1967
1968 2002-03-25 Fred Fish <fnf@redhat.com>
1969
1970 * gdb.base/list.exp: This test works on remote targets so remove
1971 the short circuit for remote targets. Update copyright.
1972
1973 2002-03-25 Fred Fish <fnf@redhat.com>
1974
1975 * gdb.base/attach.exp: Fix logic error that was suppressing this
1976 test for all non hppa*-*-hpux* targets, instead of the hp target.
1977 Move comments closer to the suppression point. Also now need to
1978 check that we are running natively.
1979
1980 2002-03-22 Michael Snyder <msnyder@redhat.com>
1981
1982 * gdb.base/default.exp: Add test for gcore. Update copyright.
1983 * gdb.base/help.exp: Add test for gcore. Update copyright.
1984
1985 2002-03-06 Fred Fish <fnf@redhat.com>
1986
1987 * gdb.base/funcargs.c: Remove extraneous ';' character.
1988 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1989
1990 2002-03-04 Michael Chastain <mec@shout.net>
1991
1992 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1993 accommodate gcc v3 function signature.
1994 * gdb.mi/mi0-var-cmd-exp: Ditto.
1995
1996 2002-02-24 Andrew Cagney <ac131313@redhat.com>
1997
1998 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1999 ``GNU/Linux'' or ``Linux kernel''
2000 * testsuite/gdb.threads/pthreads.c: Ditto.
2001
2002 2002-02-24 Michael Chastain <mec@shout.net>
2003
2004 * gdb.threads/pthreads.c (thread1): Add a return statement.
2005 (thread2): Likewise.
2006 (foo): Likewise.
2007
2008 2002-02-23 Michael Chastain <mec@shout.net>
2009
2010 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2011 to placate gcc.
2012
2013 2002-02-23 Michael Chastain <mec@shout.net>
2014
2015 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2016 test "ptype bint". The test passes on all my stabs configurations.
2017
2018 2002-02-21 Jim Blandy <jimb@redhat.com>
2019
2020 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2021 filename at a time, and watch for the ones we want to see.
2022
2023 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2024 types of pointers to prototyped functions.
2025
2026 2002-02-20 Andrew Cagney <ac131313@redhat.com>
2027
2028 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2029 signed, unsigned and straight char.
2030 (padding_char, padding_short, padding_int, padding_long,
2031 padding_long_long, padding_float, padding_double,
2032 padding_long_double): New global variables.
2033 (fill, fill_structs): New functions.
2034
2035 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2036 for correctly sized writes. Update copyright.
2037 (get_valueof): New procedure.
2038 (get_sizeof): Call get_valueof.
2039 (check_valueof): New procedure.
2040 (check_padding): New procedure.
2041
2042 2002-02-20 Michael Chastain <mec@shout.net>
2043
2044 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2045 to setup_xfail. Document some of the remaining calls.
2046
2047 2002-02-18 Michael Chastain <mec@shout.net>
2048
2049 * gdb.c++/userdef.exp: Update copyright year.
2050
2051 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
2052
2053 * gdb.c++/userdef.exp: Test overloaded operators properly.
2054 Remove xfails.
2055
2056 2002-02-14 Michael Snyder <msnyder@redhat.com>
2057
2058 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2059
2060 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
2061
2062 * gdb.base/a2-run.exp: Check for a remote target properly.
2063 * gdb.base/annota1.exp: Likewise.
2064 * gdb.base/list.exp: Likewise.
2065 * gdb.base/reread.exp: Likewise.
2066 * gdb.base/scope.exp: Likewise.
2067 * gdb.base/shlib-call.exp: Likewise.
2068 * gdb.base/term.exp: Likewise.
2069 * gdb.c++/annota2.exp: Likewise.
2070
2071 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
2072
2073 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2074
2075 2002-02-10 Michael Chastain <mec@shout.net>
2076
2077 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2078 (call_after_alloca): Ditto.
2079
2080 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
2081
2082 * gdb.base/ending-run.exp: Guard "cont" test with
2083 gdb_skip_stdio_test.
2084
2085 2002-02-06 Jim Blandy <jimb@redhat.com>
2086
2087 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2088 from here...
2089 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2090 To here. Disable this test on non-HP platforms. Add big comment.
2091
2092 2002-02-04 Michael Snyder <msnyder@redhat.com>
2093
2094 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2095 other than d10v and m32r.
2096
2097 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
2098
2099 * gdb.base/default.exp: Rewrite test patterns to reduce time
2100 taken to match them.
2101
2102 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
2103
2104 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2105 Allow a start function above main.
2106 * gdb.threads/linux-dp.exp: Fix copyright date.
2107
2108 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
2109
2110 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2111 (check_philosopher_stack): Check for manager thread before checking
2112 for a just-starting thread.
2113
2114 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
2115
2116 From Neil Booth <neil@daikokuya.demon.co.uk>:
2117 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2118 warnings.
2119
2120 2002-01-21 Fred Fish <fnf@redhat.com>
2121
2122 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2123 not caller.
2124
2125 2002-01-21 Jim Blandy <jimb@redhat.com>
2126
2127 * gdb.base/reread.exp: Check that GDB properly re-reads the
2128 executable file when it changes while no inferior is running.
2129
2130 2002-01-21 Fred Fish <fnf@redhat.com>
2131
2132 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2133 optionally accept the "shlib events" variation.
2134
2135 2002-01-21 Jim Blandy <jimb@redhat.com>
2136
2137 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2138 call `fflush' after every `printf', so that the output is produced
2139 at predictable points, regardless of whatever buffering does (or
2140 doesn't) take place.
2141 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2142 at different points.
2143
2144 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
2145
2146 * gdb.c++/inherit.exp: Update copyright years.
2147 * gdb.c++/method.exp: Likewise.
2148
2149 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
2150
2151 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2152 artificial methods/arguments.
2153 * gdb.c++/derivation.exp: Likewise.
2154 * gdb.c++/inherit.exp: Likewise.
2155 * gdb.c++/method.exp: Likewise.
2156 * gdb.c++/virtfunc.exp: Likewise.
2157
2158 2002-01-18 Andrew Cagney <ac131313@redhat.com>
2159
2160 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2161 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2162 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2163 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2164 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2165 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2166
2167 2002-01-17 Jim Blandy <jimb@redhat.com>
2168
2169 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2170 anchoring the pattern matching the entry point symbol's name.
2171
2172 2002-01-17 Andrew Cagney <ac131313@redhat.com>
2173
2174 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2175 continue/quit query. Update copyright.
2176
2177 2002-01-14 Michael Snyder <msnyder@redhat.com>
2178
2179 * gdb.base/gcore.exp: Remove extra debugging output.
2180
2181 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2182
2183 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2184 for slightly dubious v2 mangled string.
2185
2186 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2187
2188 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2189
2190 2002-01-10 Jason Merrill <jason@redhat.com>
2191
2192 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
2193
2194 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2195 constructors.
2196 * gdb.c++/derivation.exp: Likewise.
2197 * gdb.c++/templates.exp: Likewise.
2198 * gdb.c++/virtfunc.exp: Likewise.
2199
2200 2002-01-10 Michael Snyder <msnyder@redhat.com>
2201
2202 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
2203
2204 2002-01-08 Michael Snyder <msnyder@redhat.com>
2205
2206 * gdb.base/gcore.exp: New test for generate-core-file command.
2207 * gdb.base/gcore.c: Testcase for above.
2208 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2209
2210 2002-01-08 Jason Merrill <jason@redhat.com>
2211
2212 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2213
2214 2002-01-07 Fred Fish <fnf@redhat.com>
2215
2216 * gdb.c++/overload.exp: Remove unconditional xfails for:
2217 print foo_instance1.overloadargs(1)
2218 print foo_instance1.overloadargs(1, 2)
2219 print foo_instance1.overloadargs(1, 2, 3)
2220 print foo_instance1.overloadargs(1, 2, 3, 4)
2221 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2222 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2223 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2224 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2225 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2226 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2227 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2228 print foo_instance1.overload1arg()
2229 print foo_instance1.overload1arg((char)arg2)
2230 print foo_instance1.overload1arg((signed char)arg3)
2231 print foo_instance1.overload1arg((unsigned char)arg4)
2232 print foo_instance1.overload1arg((int)arg7)
2233 print foo_instance1.overload1arg((unsigned int)arg8)
2234 print foo_instance1.overload1arg((float)arg11)
2235 print foo_instance1.overload1arg((double)arg12)
2236
2237 2002-01-07 Michael Snyder <msnyder@redhat.com>
2238
2239 * gdb.base/huge.exp: New test. Print a very large target data object.
2240 (skip_huge_test): New test variable. Define if you want to skip this
2241 test. The test reads an 8 megabyte data object from the target, so it
2242 might be very time consuming on remote targets with a slow connection.
2243 * gdb.base/huge.c: New file. Test case for above.
2244
2245 2002-01-07 Fred Fish <fnf@redhat.com>
2246
2247 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2248 g_instance.bfoo, and g_instance.cfoo.
2249
2250 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2251
2252 * gdb.base/break.c (multi_line_if_conditional): New function.
2253 (multi_ilne_while_conditional): Likewise.
2254 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2255 IF or WHILE condition puts the breakpoint at the start of
2256 the condition.
2257
2258 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2259 hppa*-*-hpux* expected failure.
2260 * gdb.base/structs.exp (do_function_calls): Similarly.
2261
2262 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2263 watchpoints.
2264
2265 2002-01-06 Andrew Cagney <ac131313@redhat.com>
2266
2267 Fix PR gdb/66.
2268 * gdb.base/structs.exp: Replace skip for a29k with skip for
2269 gdb,cannot_call_functions.
2270 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2271 * gdb.base/callfuncs.exp: Ditto.
2272 * gdb.base/call-rt-st.exp: Ditto.
2273 * gdb.base/call-strs.exp: Ditto.
2274 * gdb.base/callfwmall.exp: Ditto.
2275 * gdb.base/scope.exp: Obsolete xfail a29k.
2276 * gdb.c++/misc.exp: Ditto.
2277 * gdb.c++/cplusfuncs.exp: Ditto.
2278 * gdb.base/ptype.exp: Ditto.
2279 * gdb.base/printcmds.exp: Ditto.
2280 * gdb.base/opaque.exp: Ditto.
2281 * gdb.base/list.exp: Ditto.
2282 * gdb.base/funcargs.exp: Ditto.
2283 * gdb.base/default.exp: Ditto.
2284
2285 2002-01-04 Michael Snyder <msnyder@redhat.com>
2286
2287 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
2288 * gdb.base/maint.exp: Add tests for maint info sections options.
2289
2290 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2291
2292 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2293
2294 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
2295
2296 * gdb.asm/arm.inc: New file.
2297 * gdb.asm/asm-source.exp: Add arm targets.
2298 * gdb.asm/configure.in: Ditto.
2299 * gdb.asm/configure: Recreated from configure.in.
2300
2301 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2302
2303 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2304 with HP's compiler.
2305 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2306 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2307 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2308 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2309
2310 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2311 either HP's compilers or GCC.
2312
2313 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2314 a SIGBUS or SIGSEGV.
2315
2316 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2317
2318 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2319 can be compiled with either HP's compiler or GCC.
2320
2321 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2322 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2323 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2324
2325 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2326 to match current gdb output. Update due to using auto-solib-limit
2327 for limiting instead of overloading auto-solib-add.
2328 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2329 test program.
2330
2331 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
2332 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2333 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2334 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2335 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2336 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2337 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2338 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2339 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2340 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2341 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2342 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2343 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
2344
2345 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2346 a SIGTRAP to the inferior.
2347
2348 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
2349
2350 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2351 Substitute call to target_link by call to gdb_compile.
2352
2353 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2354
2355 * gdb.base/break.exp: Fix HP specific search string when testing
2356 backtracing in a called function.
2357
2358 * gdb.base/constvars.exp: Only set lang to C++ if we're
2359 compiling the test with HP's compilers.
2360 * gdb.base/volatile.exp: Similarly.
2361
2362 2001-12-19 Jim Blandy <jimb@redhat.com>
2363
2364 * gdb.base/printcmds.exp: Expect the null character to be printed
2365 as '\0', and the '\013' to be printed as '\v'.
2366 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2367 * gdb.base/setvar.exp: Same.
2368
2369 2001-12-17 Jim Blandy <jimb@redhat.com>
2370
2371 * gdb.base/completion.exp: Rather than completing very long
2372 filenames, which can make the readline library produce output we
2373 don't recognize, cd to the directory first, and then complete
2374 using nice, short relative paths.
2375
2376 * gdb.base/completion.exp: On some systems, there is, in fact, a
2377 variable named `b' in scope, since GDB treats all static
2378 variables as being in scope. So use `no_var_named_this'
2379 instead of `b'.
2380
2381 * gdb.base/corefile.exp: Recognize the message saying that GDB
2382 can't find the core file's registers as a failure.
2383
2384 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2385
2386 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2387 test expect string more specific.
2388
2389 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
2390
2391 * gdb.asm/asm-source.exp: Add support for xstormy16.
2392 * gdb.asm/configure.in: Ditto.
2393 * gdb.asm/configure: Rebuild.
2394 * gdb.asm/xstormy16.inc: New file.
2395
2396 2001-12-10 Fred Fish <fnf@redhat.com>
2397
2398 * gdb.base/maint.exp: Update to match changes in type dumping code.
2399
2400 2001-12-10 Jim Blandy <jimb@redhat.com>
2401
2402 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2403 matching the entry point symbol's name at the beginning of the
2404 line.
2405
2406 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
2407
2408 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2409 gdb.c++/inherit.exp, gdb.c++/method.exp,
2410 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2411 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2412 and class layout support.
2413
2414 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
2415
2416 * gdb.c++/classes.exp: Add test for static member function.
2417 * gdb.c++/misc.cc: Add class with static member function.
2418
2419 2001-12-07 Jim Blandy <jimb@redhat.com>
2420
2421 If GDB says it can't find the struct the function returned, report
2422 those tests as `unsupported'.
2423 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2424 Rewrite subsequent tests to use it.
2425
2426 If GDB says it can't find the struct the function returned, report
2427 those tests as `unsupported'.
2428 * gdb.base/structs.exp (call_struct_func): New function.
2429 (do_function_calls): Use call_struct_func to call the functions
2430 returning structs.
2431
2432 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2433 whether functions are prototyped or not, so we can't possibly pass
2434 arguments to t_float_values2 properly.
2435
2436 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2437 value of `timeout' for targets other than the mips*tx39-*.
2438
2439 2001-12-06 Michael Snyder <msnyder@redhat.com>
2440
2441 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2442 and detect whether the start symbol has a leading underscore.
2443
2444 2001-12-04 Jim Blandy <jimb@redhat.com>
2445
2446 * gdb.base/completion.exp: Clarify indentation.
2447
2448 2001-12-03 Jim Blandy <jimb@redhat.com>
2449
2450 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2451 variables on the S/390, not `.word'.
2452
2453 2001-11-30 Jim Blandy <jimb@redhat.com>
2454
2455 Add assembly-source tests for s390-ibm-linux.
2456 * gdb.asm/s390.inc: New file.
2457 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2458 the S/390 architecture.
2459 * gdb.asm/configure: Regenerated.
2460
2461 2001-11-30 Michael Snyder <msnyder@redhat.com>
2462
2463 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2464 next, info source, info sources, info line, global and static
2465 variables, and static functions.
2466 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2467 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2468 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2469 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2470 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2471 (gdbasm_leave): Restore frame pointer.
2472 (gdbasm_startup): Copy stack set-up from crt0.S.
2473
2474 2001-11-26 Fernando Nasser <fnasser@redhat.com>
2475
2476 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2477 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2478 to a local (non-static) variable. Copy tstruct.a to a static buffer
2479 and return a pointer to that buffer.
2480 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2481
2482 2001-11-24 Mark Kettenis <kettenis@gnu.org>
2483
2484 * gdb.asm/configure.in: Fix recognition of ix86 target.
2485 * gdb.asm/configure: Regenerate.
2486
2487 2001-11-21 Michael Snyder <msnyder@redhat.com>
2488
2489 * gdb.asm/sparc.inc: New file.
2490 * gdb.asm/asm-source.exp: Recognize sparc target.
2491 * gdb.asm/configure.in: Recognize sparc target.
2492 * gdb.asm/configure: Regenerate.
2493
2494 2001-11-21 Michael Snyder <msnyder@redhat.com>
2495
2496 * gdb.asm/m32r.inc: New file.
2497 * gdb.asm/asm-source.exp: Recognize m32r target.
2498 * gdb.asm/configure.in: Recognize m32r target.
2499 * gdb.asm/configure: Regenerate.
2500
2501 2001-11-20 Michael Snyder <msnyder@redhat.com>
2502
2503 * gdb.asm/i386.inc: New file.
2504 * gdb.asm/asm-source.exp: Recognize ix86 target.
2505 * gdb.asm/configure.in: Recognize ix86 target.
2506 * gdb.asm/configure: Regenerate.
2507
2508 * gdb.c++/namespace.exp: Fix quotes in output messages.
2509
2510 2001-11-14 Michael Snyder <msnyder@redhat.com>
2511
2512 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
2513 qualifier in a type cast expression, to designate an address
2514 in the instruction space (Harvard architecture).
2515
2516 2001-11-13 Michael Snyder <msnyder@redhat.com>
2517
2518 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2519 Tests for expressions using 'const' and 'volatile'.
2520
2521 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
2522
2523 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2524
2525 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
2526
2527 * lib/mi-support.exp (mi_run_to_helper): Move comments
2528 outside of gdb_expect.
2529
2530 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
2531
2532 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2533 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2534 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2535 mi0_run_to): New functions.
2536 * gdb.mi/mi-simplerun.exp: Use them.
2537 * gdb.mi/mi0-simplerun.exp: Likewise.
2538 * gdb.mi/mi-var-cmd.exp: Likewise.
2539 * gdb.mi/mi0-var-cmd.exp: Likewise.
2540
2541 2001-11-10 Andrew Cagney <ac131313@redhat.com>
2542
2543 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2544 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2545
2546 2001-11-09 Andrew Cagney <ac131313@redhat.com>
2547
2548 * gdb.base/restore.exp: Include $expected value in restored test
2549 message.
2550
2551 2001-11-09 Andrew Cagney <ac131313@redhat.com>
2552
2553 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2554 implemented.
2555
2556 2001-11-08 Michael Snyder <msnyder@redhat.com>
2557
2558 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2559 Add pass/fail message for stop at breakpoint in call dummy function.
2560
2561 2001-11-07 Michael Snyder <msnyder@redhat.com>
2562
2563 * gdb.c++/templates.exp (test_template_breakpoints):
2564 If we get an overload menu, but it does not match what
2565 we expect, we still need to issue the "cancel" command.
2566 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2567 making the whitespace optional. Argument for "new" may be
2568 "unsigned" as well as "unsigned int/long".
2569 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2570 making the whitespace optional. Also replace "(void) with
2571 "((void|)), making the keyword "void" optional.
2572 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2573 making the whitespace optional. Also replace "(void) with
2574 "((void|)), making the keyword "void" optional.
2575 * gdb.base/callfuncs.c (t_float_values): This function must
2576 _not_ be prototyped, and the following function (t_float_values2)
2577 must be prototyped (if the compiler supports it), so that GDB
2578 can be tested against both cases. Usually one case involves
2579 promotion of float to double, while the other does not.
2580 * gdb.base/callfwmall.c: Ditto.
2581 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2582 includes a stack frame for "start".
2583
2584 2001-11-05 Jim Blandy <jimb@redhat.com>
2585
2586 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2587 pointers are 32 bits long, and that offsets of relocs are always
2588 stored in the data (REL-style), and not in the reloc entry itself
2589 (RELA-style).
2590 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2591 stabs.
2592
2593 2001-11-01 Michael Snyder <msnyder@redhat.com>
2594
2595 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2596 and regular expression operators by using quoting.
2597
2598 2001-10-31 Michael Snyder <msnyder@redhat.com>
2599
2600 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2601 depending on what the symbol table contains.
2602 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2603 the output of the ptype command. Similarly, accept both "const &"
2604 and "const&".
2605
2606 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
2607
2608 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2609 symbol `STORAGE' to allow to choose the storage class of
2610 the local datastructures.
2611 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2612 compiler directive.
2613
2614 2001-10-30 Michael Snyder <msnyder@redhat.com>
2615
2616 * gdb.base/jump.exp: Allow it to run for all targets.
2617
2618 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
2619
2620 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2621 with new double_array size.
2622 (main): Change storage class of all local variables to static.
2623 Reduce size of double_array to 9.
2624 * gdb.base/call-ar-st.exp: Increase timeout value.
2625 Change expected output for double array to match new size in
2626 call-ar-st.c.
2627
2628 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
2629
2630 * gdb.base/ending-run.exp: Create identical output when passing
2631 `step to end of run' case. Add regular expression branch satisfying
2632 Stormy16 target.
2633
2634 2001-10-28 Mark Kettenis <kettenis@gnu.org>
2635
2636 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2637 that we catch the expected failure under Linux/x86.
2638
2639 2001-10-29 Orjan Friberg <orjanf@axis.com>
2640
2641 * gdb.base/setvar.exp: Escape curly braces.
2642 * gdb.stabs/weird.exp: Ditto.
2643
2644 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
2645
2646 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2647 * gdm.mi/mi0-hack-cli.exp: Likewise.
2648
2649 2001-10-25 Andrew Cagney <ac131313@redhat.com>
2650
2651 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2652 messages.
2653
2654 2001-10-21 Andrew Cagney <ac131313@redhat.com>
2655
2656 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2657 checking MI enabled.
2658
2659 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
2660
2661 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2662
2663 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
2664
2665 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2666 if gdb child process crashes, just signal an error.
2667
2668 2001-10-02 Jim Blandy <jimb@redhat.com>
2669
2670 * lib/gdb.exp (test_xfail_format): Simplify.
2671
2672 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2673 front of the variable name `format'. Simplify `if'.
2674
2675 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
2676
2677 * gdb.threads/pthreads.exp: Wait for output and delay
2678 before sending ^C.
2679
2680 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
2681
2682 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2683 some incorrect output instead of timing out.
2684 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2685
2686 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
2687
2688 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2689 check to allow additional `int'.
2690
2691 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
2692
2693 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2694 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2695
2696 2001-09-27 Michael Snyder <msnyder@redhat.com>
2697
2698 * lib/gdb.exp (test_debug_format): New proc.
2699 (setup_xfail_format): Use new proc test_debug_format.
2700 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2701 proc; use new service proc test_debug_format.
2702 Replace all other "gcc_compiled" tests with this test.
2703 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2704 proc; use new service proc test_debug_format.
2705 Replace all other "gcc_compiled" tests with this test.
2706
2707 2001-09-27 Michael Snyder <msnyder@redhat.com>
2708
2709 * gdb.base/cvexpr.exp: New file.
2710 * gdb.base/cvexpr.c: New file
2711 Test for expressions using const and volatile keywords.
2712
2713 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
2714
2715 * gdb.base/constvars.exp: Check for different orders of keywords
2716 and additional "int" strings in output.
2717
2718 2001-09-22 Andrew Cagney <ac131313@redhat.com>
2719
2720 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2721 responses from "help maint".
2722
2723 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
2724
2725 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2726 to localhost:NNN instead of :NNN, in case Xvfb is listening
2727 only on TCP.
2728
2729 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
2730
2731 * gdb.base/recurse.exp: When checking leaving the watchpoint
2732 scope, recognize when gdb is in function's epilogue and pass.
2733
2734 2001-09-18 Keith Seitz <keiths@redhat.com>
2735
2736 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2737 support for running tests against sid targets.
2738 (gdbtk_done): Ditto.
2739
2740 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
2741
2742 * gdb.base/ending-run.c (main): Set stdout buffersize
2743 to the same reasonable value for any target.
2744 * gdb.base/ending-run.exp: Add a regular expression
2745 to make testsuite happy on Sanyo Stormy16 target.
2746
2747 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
2748
2749 * gdb.base/display.c (do_loops): Add float variable `f'.
2750 Increment f in loop.
2751 * gdb.base/display.exp: Increment timeout by 60 seconds.
2752 Change float display test to use variable `f'.
2753
2754 2001-09-17 Jim Blandy <jimb@redhat.com>
2755
2756 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2757 overflowing the limited breakpoint tables on some ROM monitors
2758 (like the ROM68K).
2759
2760 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
2761
2762 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2763 the "-ac" (disable access control) flag.
2764
2765 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
2766
2767 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2768 ints.
2769
2770 2001-08-30 Keith Seitz <keiths@redhat.com>
2771
2772 * lib/gdb.exp: Move all insight-related functionality into
2773 separate file.
2774 * lib/insight-support.exp: New file.
2775
2776 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
2777
2778 * config/sid.exp (sid_start): Never set sid verbosity; disable
2779 expect_background {} that consumed its stdout; tolerate </dev/null.
2780 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2781
2782 2001-08-18 Andrew Cagney <ac131313@redhat.com>
2783
2784 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2785 CLI jump command to start it.
2786 (mi_run_to_main): Fail immediatly when unexpected output.
2787
2788 2001-08-18 Andrew Cagney <ac131313@redhat.com>
2789
2790 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2791 beginning of function. Fix PR gdb/191.
2792
2793 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
2794
2795 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2796 what to force sid endianness to.
2797
2798 2001-08-15 Keith Seitz <keiths@redhat.com>
2799
2800 * lib/gdb.exp (gdbtk_start): Don't set environment
2801 variables for TCL_LIBRARY and friends. Insight will
2802 now figure these out for itself.
2803
2804 2001-08-02 Michael Snyder <msnyder@redhat.com>
2805
2806 * gdb.base/completion.exp: Remove the symbol "a64l" from
2807 the expect string; this is target-specific, and not related
2808 to what is being tested.
2809
2810 2001-08-02 Dave Brolley <brolley@redhat.com>
2811
2812 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2813
2814 2001-07-25 Michael Snyder <msnyder@redhat.com>
2815
2816 * gdb.base/consecutive.exp: New file. Test stepping over
2817 breakpoints on consecutive instructions.
2818 * gdb.base/consecutive.c: New file.
2819
2820 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2821 curly braces in regular expressions.
2822
2823 2001-07-25 Michael Snyder <msnyder@redhat.com>
2824
2825 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2826 legitimate output from stepping out of main.
2827
2828 2001-07-22 Keith Seitz <keiths@redhat.com>
2829
2830 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2831 the empty string, do not run the tests.
2832
2833 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2834
2835 * gdb.base/long_long.exp: Detect size of pointer. Take into
2836 account 2-byte pointers when testing for p/a results.
2837
2838 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2839
2840 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2841 and defined to 1K for m68hc11.
2842 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2843 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2844 (sizeof_random_data): New variable to tell the size of the data table;
2845 don't test past this size; always run to main.
2846
2847 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2848
2849 * gdb.base/return2.exp: return of long long and double fails for
2850 68HC11; don't execute these tests on that platform.
2851 * gdb.base/return.exp: Return of a double fails for 68hc11.
2852
2853 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2854
2855 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2856 tests that print a float.
2857 * call-rt-st.exp: Likewise.
2858
2859 2001-07-12 Mark Kettenis <kettenis@gnu.org>
2860
2861 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2862 running this test on Linux.
2863
2864 2001-06-24 Michael Chastain <chastain@redhat.com>
2865
2866 * gdb.base/arithmet.exp: Remove some tests to make all test names
2867 unique.
2868
2869 2001-07-03 Michael Snyder <msnyder@redhat.com>
2870
2871 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2872 the output of the ptype command.
2873
2874 2001-07-02 Michael Snyder <msnyder@redhat.com>
2875
2876 * gdb.base/completion.exp: Don't assume that break.c is the only
2877 source file that may contain functions named "marker".
2878 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2879
2880 2001-06-28 Andrew Cagney <ac131313@redhat.com>
2881
2882 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2883 of files to delete.
2884
2885 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2886 * gdb.disasm/h8300s.exp: New file.
2887 gdb.disasm/h8300s.s: Likewise.
2888
2889 2001-06-27 Andrew Cagney <ac131313@redhat.com>
2890
2891 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2892 empty breakpoint tables.
2893
2894 2001-06-25 Andrew Cagney <ac131313@redhat.com>
2895
2896 * lib/mi-support.exp: Update args=... part of stop-reason
2897 patterns. Accept either a list or a tuple.
2898
2899 2001-06-23 Andrew Cagney <ac131313@redhat.com>
2900
2901 * lib/mi-support.exp: Remove local emacs variable defining
2902 change-log-default-name.
2903
2904 2001-06-22 Michael Chastain <chastain@redhat.com>
2905
2906 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2907 This is operationally compatible with the previous version.
2908
2909 2001-06-13 Jim Blandy <jimb@redhat.com>
2910
2911 * lib/gdb.exp (gdb_test): Doc fix.
2912
2913 2001-06-10 Michael Chastain <chastain@redhat.com>
2914
2915 * gdb.base/exprs.exp: Remove a duplicate test.
2916
2917 2001-06-06 Jim Blandy <jimb@redhat.com>
2918
2919 * gdb.base/return2.exp (main): Use values to test float and double
2920 returns that are not NaN's, to avoid being confused by IEEE
2921 comparison rules.
2922
2923 2001-06-04 Michael Snyder <msnyder@redhat.com>
2924
2925 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2926 non-zero if control_c fails. Terminate the test on failure,
2927 rather than wait for 12 more tests to time out.
2928
2929 2001-06-06 Jim Blandy <jimb@redhat.com>
2930
2931 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2932 Don't forget to match the GDB prompt.
2933
2934 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2935
2936 2001-06-04 Jim Blandy <jimb@redhat.com>
2937
2938 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2939 command.
2940
2941 2001-05-31 Kevin Buettner <kevinb@redhat.com>
2942
2943 * gdb.base/annota1.exp (info break): Match four or more spaces
2944 after "Address".
2945
2946 2001-05-31 Michael Chastain <chastain@redhat.com>
2947
2948 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2949 (dm_type_int_star): Likewise.
2950 (dm_type_long_star): Likewise.
2951 (dm_type_void_star): Likewise.
2952
2953 2001-05-29 Kevin Buettner <kevinb@redhat.com>
2954
2955 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2956 to a known value in order to get consistent results regardless
2957 of the setting of INPUTRC or the presence or contents of .inputrc.
2958
2959 2001-05-24 Michael Snyder <msnyder@redhat.com>
2960
2961 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2962 Don't require that the main thread and the manager thread are the
2963 first in the list.
2964
2965 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2966 debugging. If test fails, issue an "unsupported" not a "fail".
2967
2968 2001-05-24 Jim Blandy <jimb@redhat.com>
2969
2970 Don't assume that short is shorter than int.
2971 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2972 assume that shorts are smaller than ints. On a 16-bit machine,
2973 this isn't true.
2974 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2975 an int, is not equal to ~0 stored in an unsigned char. This tests
2976 the same thing that the previous test meant to, but works on
2977 16-bit machines, too.
2978 ("print unsigned char != (~0)"): Same test, complemented.
2979
2980 2001-05-24 Michael Snyder <msnyder@redhat.com>
2981
2982 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2983 test for (full_coverage == 0). This makes the test run faster,
2984 and prevents dejagnu getting out of step.
2985
2986 2001-05-23 Kevin Buettner <kevinb@redhat.com>
2987
2988 * gdb.base/finish.exp (finish_void): Revise pattern for
2989 stopping on the call statement to not permit stopping at
2990 the start of the instructions comprising the call sequence.
2991
2992 2001-05-19 Michael Chastain <chastain@redhat.com>
2993
2994 * gdb.base/callfuncs.exp: Make all test names unique.
2995 * gdb.base/commands.exp: Make all test names unique.
2996 * gdb.base/condbreak.exp: Make all test names unique.
2997 * gdb.base/dbx.exp: Make all test names unique.
2998 * gdb.base/default.exp: Make all test names unique.
2999 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3000 and TIMEOUT messages to their corresponding PASS message.
3001 * gdb.base/ending-run.exp: Make all test names unique.
3002 * gdb.base/long_long.exp: Remove duplicate test.
3003
3004 2001-05-21 Kevin Buettner <kevinb@redhat.com>
3005
3006 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3007 stop on the call statement as well as the statement after the
3008 call.
3009
3010 2001-05-21 Michael Snyder <msnyder@redhat.com>
3011
3012 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3013
3014 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
3015
3016 * gdb.base/completion.exp: Revamp test. Make it execute on all
3017 platforms.
3018
3019 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
3020
3021 * config/gdbserver.exp (gdb_load): Handle the case
3022 in which the arguments to gdbserver are given in the
3023 baseboard configuration file.
3024 Also handle the case in which the server needs to do a
3025 load.
3026
3027 2001-05-07 Keith Seitz <keiths@cygnus.com>
3028
3029 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3030 set up the display for testing.
3031 (gdbtk_start): Convert all paths to paths that tcl will like.
3032 Export target information to environment.
3033 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3034 necessary.
3035 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3036 (to_tcl_path): New proc to convert a given pathname into
3037 a path acceptible as an argument to a tcl command.
3038 (_gdbtk_export_target_info): New proc to export target info
3039 into the environment for gdbtk testing.
3040 (gdbtk_done): New proc to signal end-of-test.
3041
3042 2001-05-06 Jim Blandy <jimb@redhat.com>
3043
3044 * restore.c: Make the code of caller0 correspond to its comment.
3045
3046 2001-05-03 Michael Snyder <msnyder@redhat.com>
3047
3048 * config/sid.exp (gdb_target_sid): Check for error messages.
3049 On error or timeout, don't make expect exit (which will terminate
3050 all subsequent tests); instead just make gdb exit.
3051 (gdb_load): Check for error messages. On error or timeout,
3052 return a negative value.
3053
3054 2001-04-24 Jim Blandy <jimb@redhat.com>
3055
3056 * gdb.c++/templates.exp: If we see the prompt for the overload
3057 list, but we haven't recognized any of the longer patterns,
3058 arrange for this test to fail, not hang.
3059
3060 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3061 variations.
3062
3063 2001-04-22 Michael Chastain <chastain@redhat.com>
3064
3065 * gdb.c++/local.exp: Use the 'runto' library function.
3066 * gdb.c++/namespace.exp: Likewise.
3067 * gdb.c++/overload.exp: Likewise.
3068
3069 2001-03-26 Kevin Buettner <kevinb@redhat.com>
3070
3071 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3072 * gdb.base/step-line.exp: New file. Test step/next in presence of
3073 #line directives.
3074 * gdb.base/step-line.c: New file. Test program for the above.
3075 * gdb.base/step-line.inp: New file. We pretend that this file has
3076 been transformed by some other tool into step-line.c.
3077
3078 2001-03-21 Jim Blandy <jimb@redhat.com>
3079
3080 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3081 unmangled operator names.
3082
3083 2001-03-20 Jim Blandy <jimb@redhat.com>
3084
3085 * gdb.threads/linux-dp.exp: Recognize an additional message
3086 generated by GDB when it doesn't understand how to debug threads
3087 on the target system.
3088
3089 2001-03-19 Andrew Cagney <ac131313@redhat.com>
3090
3091 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3092
3093 2001-03-12 Michael Chastain <chastain@redhat.com>
3094
3095 * gdb.c++/derivation.exp: Use the 'runto' library function.
3096
3097 2001-03-12 Michael Chastain <chastain@redhat.com>
3098
3099 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3100
3101 2001-02-24 Michael Chastain <chastain@redhat.com>
3102
3103 * gdb.c++/ref-types.exp: Change handwritten code to library
3104 function 'runto'.
3105
3106 2001-03-16 Orjan Friberg <orjanf@axis.com>
3107
3108 * gdb.base/signals.exp: Set count to 0 explicitly.
3109
3110 2001-03-15 Mark Salter <msalter@redhat.com>
3111
3112 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3113 (gdb_target_monitor): Add check of gdb_target_cmd return value.
3114 (gdb_load): Add support for additional target_info: gdb_download_size
3115 and gdb_load_timeout.
3116
3117 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3118
3119 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3120 file -- to prevent failing when the compile fails but we have no
3121 intention of running the tests anyway.
3122
3123 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3124 tests if set.
3125
3126 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3127 integers.
3128
3129 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3130 * gdb.c++/namespace.exp: Ditto.
3131
3132 2001-03-07 Orjan Friberg <orjanf@axis.com>
3133
3134 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3135 * gdb.base/pointers.exp: Relax pattern match of decimals.
3136
3137 2001-03-06 Kevin Buettner <kevinb@redhat.com>
3138
3139 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3140 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3141 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3142 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3143 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3144 config/sh.exp, config/sid.exp, config/slite.exp,
3145 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3146 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3147 config/vxworks.exp, config/vxworks29k.exp,
3148 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3149 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3150 gdb.base/arithmet.exp, gdb.base/assign.exp,
3151 gdb.base/async.exp, gdb.base/attach.exp,
3152 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3153 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3154 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3155 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3156 gdb.base/commands.exp, gdb.base/completion.exp,
3157 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3158 gdb.base/constvars.exp, gdb.base/corefile.exp,
3159 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3160 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3161 gdb.base/ending-run.exp, gdb.base/environ.exp,
3162 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3163 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3164 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3165 gdb.base/funcargs.exp, gdb.base/help.exp,
3166 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3167 gdb.base/logical.exp, gdb.base/long_long.exp,
3168 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3169 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3170 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3171 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3172 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3173 gdb.base/regs.exp, gdb.base/relational.exp,
3174 gdb.base/remote.exp, gdb.base/reread.exp,
3175 gdb.base/restore.exp, gdb.base/return2.exp,
3176 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3177 gdb.base/selftest.exp, gdb.base/setshow.exp,
3178 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3179 gdb.base/sigall.exp, gdb.base/signals.exp,
3180 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3181 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3182 gdb.base/step-test.exp, gdb.base/structs.c,
3183 gdb.base/structs.exp, gdb.base/structs2.exp,
3184 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3185 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3186 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3187 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3188 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3189 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3190 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3191 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3192 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3193 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3194 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3195 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3196 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3197 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3198 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3199 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3200 gdb.trace/circ.exp, gdb.trace/collection.exp,
3201 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3202 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3203 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3204 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3205 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3206 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3207 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3208 notices.
3209
3210 2001-02-27 Michael Snyder <msnyder@cygnus.com>
3211
3212 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3213 first arg is int not float.
3214
3215 2001-02-22 Michael Snyder <msnyder@cygnus.com>
3216
3217 * gdb.base/reread.exp: Unsupported for non-native targets;
3218 doesn't work for remote debugging.
3219
3220 2001-02-19 Fernando Nasser <fnasser@redhat.com>
3221
3222 From Drew Moseley <dmoseley@redhat.com>
3223 * gdb.base/ending-run.exp: Properly handle the BSP state when
3224 stepping past the end of main.
3225
3226 2001-02-19 John Moore <jmoore@redhat.com>
3227
3228 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3229 Converted HPUX fix for non-expected items following multiple
3230 step commands into general solution for all platforms.
3231
3232 2001-02-18 Michael Chastain <chastain@redhat.com>
3233
3234 * gdb.c++/classes.exp (do_tests): Change runto statements
3235 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3236 statements demangler agnostic.
3237 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3238 (gdb_virtfunc_restart): Likewise.
3239
3240 2001-02-14 Michael Chastain <chastain@redhat.com>
3241
3242 * gdb.c++/inherit.exp (do_tests): Change runto statements
3243 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3244 statements demangler agnostic.
3245
3246 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3247
3248 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3249 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3250 before calling common_routine 15 times'' tests.
3251
3252 2001-02-11 Michael Chastain <chastain@redhat.com>
3253
3254 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3255 Helps the test script figure out which demangler is in use.
3256 (dm_type_foo_ref): Ditto.
3257 (dm_type_int_star): Ditto.
3258 (dm_type_long_star): Ditto.
3259 (dm_type_unsigned_int): Ditto.
3260 (dm_type_void): Ditto.
3261 (dm_type_void_star): Ditto.
3262 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
3263 Probe the gdb demangler and set variables to accommodate
3264 formatting differences.
3265 (info_func_regexp): New function. Same as info_func, but
3266 matches against a regexp.
3267 (info_func): Match against a literal string.
3268 (print_addr_2): New function. Match against a literal string,
3269 which can be different from the input to gdb.
3270 (print_addr): Simply call print_addr_2 with the same argument twice.
3271 (test_lookup_operator_functions): Use demangler formatting variables.
3272 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3273 the tests in the same order as the C++ class declaration.
3274 (test_paddr_operator_functions): Ditto.
3275 (test_paddr_overloaded_functions): Ditto.
3276 (test_paddr_hairy_functions): Use demangler formatting variables.
3277 Add reference to gdb/19 for related tests.
3278 (do_tests): Call probe_demangler.
3279
3280 2001-01-30 Kevin Buettner <kevinb@redhat.com>
3281
3282 * gdb.c++/templates.cc (printf): Remove unused function definition.
3283
3284 2001-01-26 Felix Lee <flee@redhat.com>
3285
3286 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3287
3288 2001-01-25 matthew green <mrg@redhat.com>
3289
3290 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3291 up sid.
3292 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3293
3294 2001-01-25 matthew green <mrg@redhat.com>
3295
3296 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3297 Deprecate $sid_spawn_id.
3298 (sid_exit): Remove code necessary only for `spawn.'
3299
3300 2001-01-25 matthew green <mrg@redhat.com>
3301
3302 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3303
3304 2001-01-28 Michael Chastain <chastain@redhat.com>
3305
3306 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3307 to call when tests fail. It takes gdb out of the overloaded
3308 function choice menu back to the main prompt, so that the test
3309 program stays synchronized.
3310 (set_bp_overloaded): New proc to collect all the common
3311 code for setting a breakpoint on an overloaded name. Calls
3312 take_gdb_out_of_choice_menu when needed.
3313 (menu_overload1arg): New variable to collect the repeated
3314 instances of the expected menu for an overloaded name. Change
3315 the regular expression to handle changes in g++ type encoding:
3316 "void" can be either "void" or "", and "unsigned int" can be
3317 either "unsigned int" or "unsigned".
3318 (continue_to_bp_overloaded): Change regular expressions to handle
3319 changes in g++ type encoding.
3320 (no proc): Call take_gdb_out_of_choice_menu when needed.
3321 Remove redundant calls to "info break". Accept either "canceled"
3322 or "cancelled". Change regular expressions in "info break"
3323 calls to handle changes in g++ type encoding. Give all tests
3324 unique strings.
3325
3326 2001-01-17 Ben Elliston <bje@redhat.com>
3327
3328 * config/sid.exp: New file.
3329
3330 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3331
3332 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3333
3334 2000-12-21 Michael Snyder <msnyder@cygnus.com>
3335
3336 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3337 Add a RE to accept a non-ascii char if one is ever presented.
3338
3339 2000-12-20 Fernando Nasser <fnasser@redhat.com>
3340
3341 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
3342
3343 2000-12-18 Michael Snyder <msnyder@cygnus.com>
3344
3345 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3346 in regexp. One '\' does not suffice on Linux.
3347
3348 2000-12-09 Michael Chastain <chastain@redhat.com>
3349
3350 * gdb.base/break.exp (test_clear_command): Use a marker function
3351 rather than 'main' for the test function. Also move this
3352 test to an execution point where the marker function names are
3353 guaranteed to be bound to functions. (Executing tests after a
3354 'finish' from main runs into name conflicts with local names
3355 in __libc_start_main).
3356
3357 2000-12-07 Michael Snyder <msnyder@cygnus.com>
3358
3359 * gdb.base/finish.exp: New test for gdb's "finish" command.
3360 * gdb.base/return2.exp: New test for gdb's "return" command.
3361 * gdb.base/return2.c: New source file for above.
3362
3363 2000-12-05 Michael Snyder <msnyder@cygnus.com>
3364
3365 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3366 * gdb.base/miscexprs.exp: Ditto.
3367 * gdb.base/pointers.exp: Ditto.
3368 * gdb.c++/derivation.exp: Ditto.
3369 * gdb.c++/local.exp: Ditto.
3370 * gdb.c++/namespace.exp: Ditto.
3371 * gdb.c++/overload.exp: Ditto.
3372 * gdb.c++/ref-types.exp: Ditto.
3373
3374 2000-12-05 Michael Snyder <msnyder@cygnus.com>
3375
3376 * gdb.base/constvars.exp: Test result of "up" command.
3377 * gdb.base/miscexprs.exp: Ditto.
3378 * gdb.base/pointers.exp: Ditto.
3379 * gdb.base/scope.exp: Ditto.
3380 * gdb.c++/derivation.exp: Ditto.
3381 * gdb.c++/local.exp: Ditto.
3382 * gdb.c++/namespace.exp: Ditto.
3383 * gdb.c++/overload.exp: Ditto.
3384 * gdb.c++/ref-types.exp: Ditto.
3385
3386 2000-11-22 Michael Chastain <chastain@redhat.com>
3387
3388 * mips_pro.exp: Accept either "middle -> top -> main" or
3389 "middle -> main" in the backtrace, because gcc can optimize
3390 tail calls to jumps. Remove setup_xfail for the hppa case.
3391 Add a comment with the original warning messages from PR 3016,
3392 which was filed in 1993, to preserve them for posterity.
3393
3394 2000-11-17 Nick Duffek <nsd@redhat.com>
3395
3396 * lib/gdb.exp (gdb_test): Override timeout with board info.
3397
3398 2000-11-17 Nick Duffek <nsd@redhat.com>
3399
3400 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3401 the second kill and detach messages.
3402
3403 2000-11-17 Nick Duffek <nsd@redhat.com>
3404
3405 * configure.in: Add AC_EXEEXT.
3406 * configure: Regenerate.
3407 * Makefile.in (just-check): Export EXEEXT.
3408 * lib/gdb.exp ($EXEEXT): Import from environment.
3409 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3410 expect "maint dump-me" on Cygwin.
3411 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3412 $EXEEXT.
3413
3414 2000-11-17 Nick Duffek <nsd@redhat.com>
3415
3416 * gdb.base/break.exp: Test backtrace and finish from called
3417 function on all platforms, not just HP-UX.
3418
3419 2000-11-03 Michael Snyder <msnyder@cygnus.com>
3420
3421 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3422 code from gdb_target_monitor, so it can be used independantly
3423 for gdbserver. Also comment out an unnecessary PUTS.
3424
3425 2000-11-03 Michael Snyder <msnyder@cygnus.com>
3426
3427 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3428 * gdb.base/corefile.exp: Expect the message "Program is being
3429 debugged already" when we send the "corefile" command, since
3430 the preceeding gdb_load may have connected gdb to a remote target.
3431 * gdb.base/display.exp: Disable hardware watchpoints if new
3432 board info variable "no_hardware_watchpoints" is true.
3433 Replace single-letter commands with more readable ones.
3434 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3435 if new board info variable "no_hardware_watchpoints" is true.
3436 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3437 to see if stdio (printf) testing is possible.
3438 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3439 board info variable "no_hardware_watchpoints" is true. Use new
3440 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3441
3442 2000-11-13 Fernando Nasser <fnasser@redhat.com>
3443
3444 From Orjan Friberg <orjanf@axis.com>:
3445 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3446 in array print pattern match.
3447
3448 2000-11-09 Fernando Nasser <fnasser@redhat.com>
3449
3450 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3451 spelling "cancelled" to U.S. spelling "canceled" to match changes
3452 made to gdb.
3453 * gdb.c++/ovldbreak.exp: Ditto.
3454
3455 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3456
3457 * gdb.base/callfuncs.c (main): Moved to end of file, call
3458 t_double_values to initialize the FPU before inferior calls are made.
3459 * gdb.base/callfuncs.exp: Test for register preservation after calling
3460 inferior functions. Add tests for continuining, finishing and
3461 returning from a stop in a call dummy.
3462
3463 2000-10-24 Michael Snyder <msnyder@cygnus.com>
3464
3465 * gdb.base/commands.exp: Break up long lines, and re-indent.
3466
3467 2000-10-19 Michael Snyder <msnyder@cygnus.com>
3468
3469 * config/gdbserver.exp: Rewritten from the ground up, to make it
3470 compatible with the current dejagnu tree, and to make it work with
3471 the new "gdbserver" in libremote.
3472
3473 2000-10-16 Michael Snyder <msnyder@cygnus.com>
3474
3475 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3476 * gdb.base/varargs.exp: Skip entire test if no printf support.
3477 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3478 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3479
3480 2000-10-13 Michael Snyder <msnyder@cygnus.com>
3481
3482 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3483 no floating point support.
3484 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3485 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3486 * gdb.base/call-rt-st.exp: Ditto.
3487 * gdb.base/call-strs.exp: Ditto.
3488
3489 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3490
3491 * gdb.base/sizeof.c: include <stdio.h>.
3492
3493 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3494 'finish', otherwise uncaptured gdb_prompt would potentially
3495 throw remaining test points out of sync.
3496
3497 2000-07-26 Scott Bambrough <scottb@netwinder.org>
3498
3499 * gdb.base/recurse.exp: Run tests for all targets.
3500 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3501 gnu-oldld case on ARM.
3502 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3503 for ARM targets.
3504
3505 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3506
3507 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3508 * gdb.java/configure: Rebuild.
3509
3510 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3511
3512 * gdb.java/jv-exp.exp: New file.
3513
3514 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3515
3516 * configure: Rebuilt.
3517 * configure.in (configdirs): Add gdb.java.
3518 * gdb.java/jmisc.java: New file.
3519 * gdb.java/jmisc.exp: New file.
3520 * gdb.java/Makefile.in: New file.
3521 * gdb.java/configure: Rebuilt.
3522 * gdb.java/configure.in: New file.
3523 * lib/java.exp: New file.
3524
3525 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3526
3527 * gdb.base/exprs.exp: Test casts to a pointer including over and
3528 underflow.
3529
3530 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3531
3532 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3533 and the compilers sizes.
3534
3535 2000-07-09 Nick Duffek <nsd@redhat.com>
3536
3537 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3538 (use_methods): New function.
3539 (main): Call use_methods().
3540 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3541 (do_tests): Call test_method_param_class.
3542
3543 2000-07-09 Nick Duffek <nsd@redhat.com>
3544
3545 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3546 spelling.
3547 (test_enums): New procedure. Move enum tests from end of script
3548 to here. Set breakpoint on function name instead of line number.
3549 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3550 (enums2): New marker function.
3551 (enums1): New function.
3552 (main): Call enums1(). Move enum tests to enums1().
3553
3554 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3555
3556 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3557 compile/link program. Update line numbers.
3558 * gdb.asm/d10v.inc: Define ``startup''.
3559 * gdb.asm/asmsrc1.s: Add definition of _start.
3560
3561 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3562
3563 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3564
3565 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3566
3567 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3568 of 'help maint print' command.
3569
3570 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3571
3572 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3573 they use gdb_expect_list.
3574
3575 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3576
3577 * gdb.base/commands.exp: Use ``set remote
3578 memory-read-packet-size'' instead of ``set endian big'' to test
3579 long commands.
3580
3581 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
3582
3583 * gdb.c++/templates.exp (do_tests): Make all of these work under
3584 g++, and stop skipping them.
3585
3586 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3587 work under g++.
3588
3589 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3590 initialization.
3591
3592 2000-06-02 Michael Snyder <msnyder@cygnus.com>
3593
3594 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3595 the regular expression: accept an (almost) arbitrary sequence of
3596 "frames-invalid" and "breakpoints-invalid" messages both before
3597 and after the "starting" message.
3598
3599 2000-06-02 Michael Snyder <msnyder@cygnus.com>
3600
3601 * gdb.c++/local.exp: This test has never been known to work with g++.
3602
3603 2000-05-18 Michael Snyder <msnyder@cygnus.com>
3604
3605 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3606 Relax the regular expression a little, make it pass on Solaris 8.
3607
3608 2000-05-12 Kevin Buettner <kevinb@redhat.com>
3609
3610 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3611 a call, do not require that gdb stop on the line after the call.
3612 Instead, it is permissible for gdb to stop on the line of the
3613 call itself.
3614
3615 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
3616
3617 * gdb.base/break.exp (bp on small function, optimized file):
3618 Add a second pass pattern. The behavior differs here between stabs
3619 and dwarf for one-line functions. Stabs preserves two line symbols
3620 (one before the prologue and one after) with the same line number,
3621 but dwarf regards these as duplicates and discards one of them.
3622 Therefore the address after the prologue (where the breakpoint is)
3623 has no exactly matching line symbol, and GDB reports the breakpoint
3624 as if it were in the middle of a line rather than at the beginning.
3625
3626 2000-05-08 Michael Snyder <msnyder@cygnus.com>
3627
3628 * gdb.base/interrupt.exp: Make "pass" message say "send"
3629 rather than "send_gdb" (for consistancy).
3630
3631 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3632
3633 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3634 * gdb.c++/templates.cc: Properly check for GCC version number.
3635 * lib/compiler.cc: Likewise
3636
3637 2000-04-28 Michael Snyder <msnyder@cygnus.com>
3638
3639 * gdb.base/break.exp: When compiled with -O2 optimization,
3640 gdb may not stop at the first line of main, due to code motion.
3641
3642 2000-04-26 Michael Snyder <msnyder@cygnus.com>
3643
3644 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3645 This test depends on parsing the printf output from the target.
3646 Since the sparclet stub doesn't do stdio, this will never work.
3647 * gdb.base/call-rt-st.exp: ditto.
3648 * gdb.base/call-strs: ditto.
3649
3650 2000-04-24 Michael Snyder <msnyder@cygnus.com>
3651
3652 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3653
3654 * gdb.base/ending-run.exp: After connecting to a remote target,
3655 but before running, the target will appear to be in a random
3656 location. Specify both a file and a line for breakpoints.
3657 Also, the function that calls main may be called 'init'
3658 rather than 'start'.
3659
3660 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3661
3662 * gdb.base/help.exp: Update output for add-symbol-file command.
3663
3664 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
3665
3666 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3667 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3668
3669 2000-04-07 J.T. Conklin <jtc@redback.com>
3670
3671 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3672
3673 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3674
3675 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3676
3677 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3678 values that can be represented exactly.
3679 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3680 above change, and to not check against the directory part of the source
3681 file name.
3682 (step into print_long_arg_list): Likewise.
3683 (print print_small_structs from print_long_arg_list): Likewise.
3684 (print print_long_arg_list): Likewise.
3685
3686 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3687
3688 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
3689
3690 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3691
3692 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3693
3694 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
3695
3696 * gdb.base/commands.exp (deprecated_command_test): Add test for
3697 deprecate with no arguments.
3698
3699 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3700
3701 * gdb.base/break.exp: Add new test for setting breakpoints on
3702 optimized code so we can test breakpoints work even when function
3703 prologues may be optimized away
3704
3705 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3706
3707 From David Whedon <dwhedon@gordian.com>
3708 * gdb.base/commands.exp : Added command deprecator tests.
3709
3710 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
3711
3712 * gdb.base/help.exp: Added test for new apropos command.
3713
3714 2000-03-21 Kevin Buettner <kevinb@redhat.com>
3715
3716 * gdb.base/pointers.c (usevar): New function.
3717 (main): Make sure that global variables v_int_pointer2, rptr,
3718 and y are all referenced someplace in the program by calling
3719 usevar() on them. [Some linkers delete symbols which are
3720 never referenced. The space remains, but there's no way to
3721 get a (symbolic) handle on the variable from the debugger.]
3722
3723 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3724
3725 * gdb.base/printcmds.c: Add typedeffed arrays.
3726
3727 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3728 procedure to test arrays that are typedef'd.
3729
3730 2000-03-13 James Ingham <jingham@leda.cygnus.com>
3731
3732 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
3733 the library directories.
3734
3735 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3736
3737 * configure.in (configdirs): Add sub directory gdb.mi.
3738 * configure: Re-generate.
3739
3740 * gdb.mi: New directory.
3741
3742 2000-02-25 Scott Bambrough <scottb@netwinder.org>
3743
3744 * gdb.base/long_long.exp: Correct test suite failure when printing
3745 a long long value as a double on ARM platforms.
3746
3747 2000-02-16 Jim Blandy <jimb@redhat.com>
3748
3749 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3750 default source file is set properly before running this test.
3751
3752 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3753
3754 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3755 gdbtk/library directory, not in gdbtcl2.
3756
3757 2000-02-04 Jim Blandy <jimb@redhat.com>
3758
3759 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3760 backslash from regexp pattern.
3761
3762 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3763 procedure. Use it to run all the "continue to bp overloaded"
3764 tests. Note that this changes the names of the tests slightly.
3765 If the breakpoint hit message includes a hex PC value, because
3766 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3767 from the real source code, still consider that a pass.
3768
3769 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3770 XFAIL here if the breakpoint message contains a hex address. Note
3771 similar change on 1999-11-02.
3772
3773 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3774
3775 * gdb.base/ptype.exp: Establish a default source file before
3776 calling get_debug_format.
3777
3778 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3779
3780 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3781
3782 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3783
3784 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3785 of successive stepi commands -- while in the prologue we should see
3786 the function entry bracket.
3787
3788 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3789
3790 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3791 reach __change_mode() when stepping through the end of main().
3792
3793 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3794
3795 * gdb.base/default.exp: Fix expected pattern.
3796 * gdb.base/help.exp: Same.
3797
3798 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3799
3800 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3801 Don't use xfail's because that affects only the following test.
3802
3803 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3804 solaris or linux.
3805
3806 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3807
3808 2000-01-07 Michael Snyder <msnyder@cygnus.com>
3809
3810 * gdb.base/display.exp: Some yacc parsers like to say
3811 "A syntax error" rather than "A parse error". Accept both.
3812
3813 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3814
3815 * gdb.base/default.exp: Remove OS dependent string from "target
3816 remote" test.
3817 * gdb.base/help.exp: Same for "help target remote" test.
3818
3819 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3820
3821 From Jim Kingdon <kingdon@redhat.com>:
3822
3823 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3824 prompt (cleanup rather than necessity, but still might keep output
3825 from spilling to next test).
3826
3827 2000-01-02 Fred Fish <fnf@cygnus.com>
3828
3829 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3830 AIX, which defines them in <sys/types.h>.
3831
3832 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
3833
3834 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3835 float" test.
3836
3837 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
3838
3839 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
3840
3841 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3842 outermost frame disallowed".
3843
3844 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3845
3846 * gdb.base/setvar.exp: New tests for setting the value of a struct
3847 with a constant list.
3848
3849 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3850
3851 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3852 require the user to type a cast before setting the value of a struct.
3853
3854 1999-12-06 Jim Blandy <jimb@cygnus.com>
3855
3856 * gdb.base/default.exp: Expect the new 'info float' command on
3857 all i386 platforms.
3858
3859 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3860 LinuxThreads libraries that don't support debugging.
3861
3862 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3863
3864 * gdb.base/remote.c: Fill the buffer with truely random data.
3865 Change the buffer type to ``unsigned char'' to simplify size
3866 arithmetic.
3867
3868 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3869 stub only handles 400-1 byte packets. Verify that the download
3870 worked.
3871
3872 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3873
3874 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3875 tests, using UNRESOLVED for the untested cases. Also, does not wait
3876 for a timeout if the prompt was received before a recognizable pattern.
3877
3878 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3879
3880 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3881
3882 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3883
3884 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3885 watchpoints.
3886
3887 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
3888
3889 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3890
3891 * gdb.c++/local.exp: Be more flexible in recognizing local class
3892 name mangling. Don't allow horribly truncated method names.
3893 * gdb.c++/derivation.exp: Expect protected inheritance.
3894 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3895 * gdb.c++/virtfunc.exp: Likewise.
3896 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3897 when printing a nested enum.
3898
3899 1999-11-22 Jim Blandy <jimb@cygnus.com>
3900
3901 * gdb.base/step-test.exp: Properly await GDB's response to setting
3902 a breakpoint on the call to large_struct_by_value.
3903
3904 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3905 just because we have debug info for the `start' function.
3906
3907 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3908
3909 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3910 "Unknown signal" messages, which indicate (on LinuxThreads) that
3911 GDB doesn't know how to debug threads on this system. This is
3912 better than hanging while philosopher 0 dumps chatter into gdb.log.
3913
3914 1999-11-18 Tom Tromey <tromey@cygnus.com>
3915
3916 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3917
3918 1999-11-18 Fred Fish <fnf@cygnus.com>
3919
3920 * gdb.base/coremaker2.c: Add sample program for generating
3921 cores that is more self contained than coremaker.c. Eventually
3922 I'll add more code to this and tie it into the testsuite.
3923
3924 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3925
3926 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3927
3928 1999-11-10 Jimmy Guo <guo@cup.hp.com>
3929
3930 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3931 from $srcdir/lib/.
3932 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3933 and gdb.c++/.
3934
3935 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3936
3937 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
3938 'continue with watch' test point.
3939
3940 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3941
3942 Merged from p2linux-990323-branch:
3943
3944 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3945
3946 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3947
3948 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3949 {limit,fixed}''. Test ``set download-write-size''.
3950
3951 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3952
3953 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3954 gdb_expect_list.
3955
3956 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3957
3958 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3959
3960 1999-11-03 Mark Salter <msalter@cygnus.com>
3961
3962 * gdb.base/break.exp: Fix "stub continue" pattern.
3963
3964 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3965
3966 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3967
3968 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3969
3970 * gdb.base/display.exp ("finish"): Add timeout clause.
3971
3972 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3973 plain prompt clause, so this doesn't have to time out in order to
3974 fail.
3975
3976 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3977 breakpoint hit messages include an address.
3978
3979 * gdb.base/display.exp: Don't forget to escape parens in regular
3980 expressions. Unix regexp notatation sucks.
3981
3982 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3983
3984 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3985 order for 'signalled' message.
3986
3987 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3988
3989 From Jimmy Guo <guo@cup.hp.com>:
3990 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3991 * gdb.base/annota1.c: Add code for tests to work with.
3992
3993 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3994
3995 * gdb.base/remote.exp: New test for remote downloading settings.
3996 * gdb.base/remote.c: New file with large .data.
3997
3998 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3999
4000 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4001 for LinuxThreads support, merged from the Code Fusion branch.
4002
4003 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4004
4005 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4006 containing exp_continue into a while within an expect. Don't
4007 attempt a start more than three times. Check return value from
4008 gdb_load.
4009
4010 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4011
4012 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4013 a pass case.
4014
4015 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
4016
4017 * gdb.base/break.c (main): Added a statement that we can step
4018 off of.
4019 * gdb.base/break.exp: Added tests for setting a breakpoint
4020 at an offset and stepping onto a breakpoint.
4021
4022 1999-10-01 Fred Fish <fnf@cygnus.com>
4023
4024 * gdb.base/help.exp (help add-symbol-file): Update to match current
4025 gdb output.
4026
4027 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4028
4029 * gdb.base/break.exp: Code locations are in hex, don't forget!
4030 (For HP-UX.)
4031
4032 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4033
4034 * condbreak.exp: Use break.c as test program.
4035 * condbreak.c: Remove, redundant with break.c.
4036
4037 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4038
4039 * config/monitor.exp (gdb_target_monitor): Disable X- and
4040 Z-packets if the target needs it.
4041
4042 1999-09-13 James Ingham <jingham@leda.cygnus.com>
4043
4044 * gdb.c++/overload.exp: Added tests for listing overloaded
4045 functions with function pointers in the arg, explicitly calling
4046 out the version you want.
4047
4048 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4049
4050 * long_long.exp: Add variations of test cases that work for
4051 targets with 16-bit ints and 32-bit doubles.
4052
4053 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4054
4055 * break.c (main): Compare a possibly-uninitialized argc with an
4056 unlikely value that fits in 16 bits.
4057
4058 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4059
4060 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4061 0xfeeb, don't want negative numbers if ints are 16 bits.
4062
4063 * lib/gdb.exp (skip_cplus_tests): New proc.
4064 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4065 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4066 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4067 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4068 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4069 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4070 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4071 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4072
4073 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4074
4075 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4076
4077 * gdb.base/corefile.exp (up): Allow a parameter to appear
4078 in the frame that we're going up to.
4079
4080 From Jim Blandy <jimb@cygnus.com>:
4081
4082 * gdb.base/default.exp (info float): Expect some output now.
4083
4084 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4085 returning floating-point values to fail on the x86.
4086 * gdb.base/callfwmall.exp (do_function_calls): Same.
4087
4088 * gdb.base/list.exp (test_listsize): Correct expectations for
4089 listing line 1 with listsize 2. Also, listing a single line
4090 works now, as does listing three lines. [Kevin's note: There
4091 were a number of other cases fixed too where the expectations
4092 differed...]
4093
4094 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4095
4096 * gdb.base/selftest.exp: Add case for when version prints as
4097 constant string instead of char pointer.
4098
4099 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4100
4101 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4102 stepping out of main.
4103
4104 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4105 G++ used.
4106
4107 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4108 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4109
4110 * gdb.c++/ovldbreak.exp: Update match string in test that
4111 includes a warning of multiple breakpoints.
4112
4113 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4114
4115 * gdb.base/display.exp: Improve precision of step-after-finish
4116 added yesterday.
4117
4118 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4119 test.
4120
4121 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4122 configs when using G++, not just hppa*.
4123
4124 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4125
4126 * gdb.base/async.c: New file.
4127 * gdb.base/async.exp: New file.
4128
4129 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4130
4131 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4132 PA64.
4133
4134 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4135
4136 * gdb.base/display.exp: "finish" can leave us mid-line on many
4137 targets, deal with it. Add a small constant to main, instead of
4138 1000 since main+1000 may not be a valid address in the target.
4139
4140 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4141 on hpux11.
4142
4143 * gdb.base/attach.exp: Handle another hpux11 error message variant
4144 when attaching to a process that does not exist.
4145
4146 1999-08-19 J.T. Conklin <jtc@redback.com>
4147
4148 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4149 characters in 'continue to 1241' test.
4150
4151 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4152
4153 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4154 stop in print_long_arg_list, define and use a whitespace
4155 variable in print_small_structs test, add an XFAIL for Solaris.
4156 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4157 interested enough to fix.
4158
4159 1999-08-13 Keith Seitz <keiths@cygnus.com>
4160
4161 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4162 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4163 proc knows about targets other than the natives.
4164 (test_assign): Use "gdb_run_cmd" to "run" the target.
4165 Check that we've actually hit the breakpoint at main.
4166 When we attempt to assign a value to a local variable, check
4167 that the variable is in the current scope, i.e., don't use
4168 a test with an empty result.
4169
4170 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4171
4172 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4173 command.
4174
4175 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4176
4177 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4178 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4179 gdb.compat, gdb.threads-hp.
4180 gdb.hp/configure, gdb.hp/configure.in: New files.
4181 gdb.hp/Makefile.in: Recurse into new subdirs.
4182 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4183 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4184 in object files.
4185 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4186
4187 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4188
4189 * gdb.base/display.exp: Help expect by putting a newline in the
4190 funky printf, remove a bogus p/a test.
4191
4192 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4193
4194 * gdb.base/display.exp: Make sure that when we say 'run', we are
4195 connected to the target. This is necessary when running not
4196 natively.
4197
4198 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4199
4200 * gdb.base/step-test.exp: Removed some extraneous messages.
4201
4202 * gdb.base/long_long.exp: Don't run memory examination tests
4203 on little-endian targets (they will need a different set of
4204 results to match).
4205
4206 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4207
4208 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4209 until somebody decides to fix GDB.
4210
4211 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4212 constant as "ULL".
4213 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4214 matches for a couple x/2 commands.
4215
4216 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4217
4218 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4219 by merging in ref-types2 tests.
4220 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4221
4222 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4223 * gdb.c++/Makefile.in: Add standard actions.
4224 (EXECUTABLES): Rename from PROGS, update list.
4225 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4226 from gdb.hp.
4227 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4228 foo and bar locals.
4229 * gdb.c++/anon-union.exp: Fix tests to match.
4230 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4231 expect matches to handle output variations.
4232 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4233 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4234 output, add HP alternatives for new and delete prints.
4235 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4236 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4237 * gdb.c++/demangle.exp: Use $style when reporting failure.
4238 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4239 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4240 match alternatives.
4241 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4242 compilers.
4243 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4244 * gdb.c++/method.exp: Add match alternatives.
4245 * gdb.c++/misc.cc: Add bool types.
4246 * gdb.c++/misc.exp: Add tests for bool types.
4247 * gdb.c++/overload.exp: Add xfails.
4248 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4249 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4250 add some more template parameter tests (only for HP currently).
4251 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4252 * gdb.c++/virtfunc.cc: Add return type and value for main.
4253 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4254 match alternatives.
4255
4256 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4257
4258 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4259
4260 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4261
4262 * gdb.base/signals.exp: Don't expect getting a backtrace from
4263 within a signal handler to fail on Linux.
4264
4265 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4266
4267 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4268 * lib/gdb.exp: Remove some gratuitious semicolons.
4269 (delete_breakpoints): Increase timeout.
4270 (gdb_expect): Add -notransfer option.
4271 (gdb_test): Use -notransfer option.
4272 (get_compiler_info): Add f77 case.
4273 (get_compiler): New proc, split out from gdb_preprocess, add f77
4274 case.
4275 (gdb_preprocess): Call get_compiler.
4276
4277 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4278 * gdb.base/attach.exp, gdb.base/display.exp,
4279 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4280 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4281 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4282 third arg to gdb_test.
4283 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4284 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4285 HP-UX xfails, add others.
4286 * gdb.base/completion.exp: Reflect name change of self-test.
4287 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4288 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4289 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4290 HP failure number.
4291 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4292 useless HP-UX 10.30 references.
4293 * gdb.base/maint.exp: Loosen matches.
4294 * gdb.base/pointers.c (main): Declare more_code.
4295 * gdb.base/pointers.exp: Match on output of a `next'.
4296 * gdb.base/structs.c: Add prototypes.
4297 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4298 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4299
4300 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4301
4302 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4303 command.
4304
4305 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4306
4307 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4308 Fix run to main failures. Watchpoint can be hardware watchpoint.
4309
4310 * gdb.base/annota1.exp: Clean up some more, in case printf has
4311 debug info. Deal with lack of signal hanlder info in stack.
4312
4313 From Jim Kingdon <kingdon@redhat.com>:
4314 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4315
4316 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4317
4318 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4319 gdb.base/foll-vfork.exp: Don't run for crosses.
4320
4321 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4322
4323 * gdb.base/configure.in: Check for gdbvars.exp instead of
4324 a1-selftest.exp.
4325 * gdb.base/configure: Re-generate.
4326
4327 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4328
4329 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4330 in trying to run first and name is too long.
4331
4332 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4333 pointers2.c and pointers2.exp, respectively.
4334 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4335 doschk happier.
4336
4337 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4338
4339 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4340 callfuncs2.c and callfuncs2.exp.
4341
4342 * gdb.base/list.exp: Remove mistaken xfails.
4343 * gdb.base/list0.h: Add optional prototypes.
4344
4345 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4346
4347 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4348 calling malloc.
4349 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4350 * ptype.exp: Move test for get_debug_format to before its first
4351 use.
4352
4353 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4354
4355 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4356 * gdb.base/annota2.cc, annota2.exp: Move from here.
4357 * gdb.c++/annota2.cc, annota2.exp: To here.
4358 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4359
4360 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4361
4362 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4363 a consistent format.
4364
4365 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4366
4367 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4368 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4369 HP compilers, also set the globals $true and $false.
4370
4371 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4372 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4373 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4374 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4375 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4376 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4377 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4378 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4379 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4380 whatis.c} Add C++ compatible function definitions and return
4381 types, add includes for library functions.
4382 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4383 * gdb.base/step-test.c (myglob): Rename from glob.
4384 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4385 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4386 files, move here from gdb.hp.
4387 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4388 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4389 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4390 Adjust line numbers in regexps.
4391
4392 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4393 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4394 instead of 0/1.
4395
4396 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4397 foll-vfork.exp: New files, move here from gdb.hp.
4398 * gdb.base/page.exp: New file, test of pagination command.
4399
4400 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4401 recursion test.
4402 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4403
4404 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4405 gdb.base/solib.exp: Fix compiler invocation process.
4406
4407 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4408 HP-UX 11, turn off overload resolution explicitly.
4409 * gdb.base/commands.exp: Set argument list explicitly, add
4410 watchpoint test.
4411 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4412 them work.
4413 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4414 expressions properly.
4415 * gdb.base/corefile.exp: Loosen the match slightly.
4416 * gdb.base/default.exp: Allow "Error accessing memory" message
4417 also.
4418 * gdb.base/display.exp: Skip over x/0 j if PA64.
4419 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4420 * gdb.base/interrupt.exp: Ditto.
4421 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4422 in use.
4423 * gdb.base/list.exp: Add xfails for HP-UX.
4424 * gdb.base/long_long.exp: Refine some of the numeric matches.
4425 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4426 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4427 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4428 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4429 * gdb.base/ptype.exp: Succeed on more varieties of output.
4430 * gdb.base/scope.exp: Add xfails for HP-UX.
4431 * gdb.base/sect-cmd.exp: Add more cases.
4432 * gdb.base/setvar.exp: Add xfails for HP-UX.
4433 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4434 * gdb.base/signals.exp: Match on void symbolically.
4435 * gdb.base/step-test.exp: Add case for PA64.
4436 * gdb.base/term.exp: Add exit and restart.
4437 * gdb.base/twice.exp: Clean up after self.
4438 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4439 * gdb.base/whatis.exp: Allow more ways to pass tests.
4440
4441 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4442 no longer useful.
4443
4444 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4445
4446 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4447 list of patterns.
4448 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4449 print_double_array(double_array)", "continuing to breakpoint
4450 1018", "print print_double_array(array_d)" and "continuing to
4451 1034" tests.
4452
4453 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4454
4455 * Makefile.in: Add empty html and install-html targets.
4456
4457 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4458
4459 * config/mt-*: Remove, these haven't been used since 1996.
4460
4461 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4462
4463 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4464 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4465 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4466
4467 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4468
4469 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4470 simpler match case for the ptype of the big class.
4471
4472 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4473
4474 * gdb.exp: Fix test for gdb_prompt existence.
4475
4476 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4477
4478 * gdb.exp (gdb_test): Add fail after calls to perror.
4479
4480 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4481
4482 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4483
4484 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4485
4486 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4487
4488 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4489
4490 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4491 malloc() is linked in.
4492
4493 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4494
4495 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4496 step at end.
4497
4498 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4499
4500 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4501
4502 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4503
4504 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4505
4506 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4507 * gdb.base/mips_pro.exp: Likewise.
4508
4509 1999-06-02 Keith Seitz <keiths@cygnus.com>
4510
4511 * gdb.c++/templates.cc: Change all "new" operators to throw
4512 an exception.
4513 * gdb.c++/cplusfuncs.cc: Likewise.
4514
4515 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4516
4517 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4518
4519 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4520 * gdb.base/ending-run.exp: When stepping out of main, accept a
4521 step into an arbitrary assembler file.
4522
4523 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4524
4525 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
4526 "breakpoint-invalid" to be printed.
4527 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
4528 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4529 * gdb.base/annota2.cc: Initialize a.x to 0.
4530
4531 1999-05-17 Keith Seitz <keiths@cygnus.com>
4532
4533 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4534 when "skip_float_tests" set.
4535 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4536 "print print_ten_doubles", and "step into print_long_arg_list".
4537 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4538 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4539 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4540 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4541 "skip_float_tests" is set.
4542 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4543 when "skip_float_tests" set.
4544
4545 1999-05-06 Keith Seitz <keiths@cygnus.com>
4546
4547 * gdb.base/annota2.cc: Include stdio.h.
4548
4549 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4550
4551 * gdb.base/crossload.exp: Remove, this has been disabled ever
4552 since BFD stopped including all targets, and cross-GDB gets
4553 plenty of testing anyway.
4554 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4555 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4556 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4557 * gdb.base/README: Remove, was doc for this.
4558 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4559 needed.
4560
4561 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4562
4563 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4564 output.
4565
4566 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4567 * gdb.base/annota2.exp: New file. More annotation tests.
4568 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4569 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4570
4571 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
4572
4573 * config/cfdbug.exp: New file.
4574
4575 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4576
4577 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4578 Marcus Daniel's and Dale Hawkins's demangler crashes.
4579
4580 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4581 test_lucid_style_demangling, test_arm_style_demangling,
4582 test_hp_style_demangling): Try Tom Tromey's core-dumping
4583 identifier under each demangling style.
4584
4585 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4586
4587 * gdb.c++/demangle.exp: Include the current demangling style
4588 in all test names.
4589 (current_demangling_style): New global variable.
4590 (set_demangling_style, test_demangling_core, test_demangling,
4591 test_demangling_exact): New functions.
4592 (test_gnu_style_demangling, test_lucid_style_demangling,
4593 test_arm_style_demangling, test_hp_style_demangling): Use those,
4594 instead of calling gdb_test and gdb_test_exact directly.
4595 (catch_demangling_errors): New function, which reports errors
4596 signalled by the demangling test functions in an orderly way.
4597 (do_tests): Use catch_demangling_errors.
4598
4599 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4600
4601 * gdb.base/signals.exp (test_handle_all_print): Use () for
4602 grouping in expressions, not {}.
4603
4604 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4605 initialized yet.
4606
4607 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4608
4609 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4610 are listed.
4611
4612 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4613
4614 * gdb.stabs/weird.exp: Test for CC being defined before
4615 looking at its value.
4616
4617 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4618
4619 * gdb.base/call-ar-st.exp: Remove stray '#'.
4620 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4621 "short int" and "long int".
4622 * gdb.c++/overload.cc: Cast the string added in the previous
4623 change, to mollify finicky HP compiler.
4624 * gdb.hp/reg-test.exp (testfile): Fix file name.
4625 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
4626
4627 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4628 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4629 alternate form of enum ptype.
4630
4631 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4632
4633 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4634 * gdb.hp/*.exp: Change all to run compiler probe only after
4635 passing skip_hp_tests, so as not to waste time on guaranteed
4636 failure.
4637
4638 * gdb.c++/overload.cc: Pass string instead of char addr, always
4639 init ccpfoo.
4640 * gdb.c++/templates.cc: Fix syntax error.
4641
4642 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4643
4644 * gdb.base/commands.exp: Add test for correct position of '>'
4645 when issuing the 'commands' command after a 'while' or 'if'
4646 command.
4647
4648 1999-03-18 James Ingham <jingham@cygnus.com>
4649
4650 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4651
4652 * gdb.c++/method.exp: It was testing an uninitialized int on the
4653 stack and assuming it was positive.
4654
4655 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4656
4657 * gdb.base/step-test.exp: Catch a case where finish is broken and
4658 keep it from killing the rest of the tests.
4659 Use gdb_continue_to_end.
4660
4661 * gdb.base/sigall.exp: use gdb_continue_to_end.
4662
4663 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4664
4665 * gdb.base/display.exp: use runto_main, not run.
4666
4667 * gdb.base/default.exp: Check for the current error message in the
4668 r abbreviation test.
4669 Add strongarm to the targets that know info float.
4670
4671 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
4672 run which doesn't work with monitors.
4673
4674 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4675
4676 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4677
4678 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
4679 program. Traps the case (in Cygmon) when the program never really
4680 exits. Same as Mark's continue_to_exit, but I had put it in a lot
4681 more places, so I used my name. Sorry Mark...
4682
4683 * config/monitor.exp (gdb_target_monitor): added another
4684 target_info parameter: remotebinarydownload. This will set the
4685 remotebinarydownload flag if this is causing some boards trouble.
4686
4687 1999-03-18 Mark Salter <msalter@cygnus.com>
4688
4689 * lib/gdb.exp (continue_to_exit): New function.
4690
4691 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4692 * gdb.base/ending-run.exp: Ditto.
4693 * gdb.base/step-test.exp: Ditto.
4694
4695 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4696
4697 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4698 (suggested by Art Haas <ahaas@neosoft.com>).
4699
4700 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4701
4702 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4703
4704 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4705
4706 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4707 descriptions of types (short unsigned int vs unsigned short, etc).
4708
4709 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4710
4711 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4712 a call to strlen; sometimes we do have sources.
4713
4714 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4715
4716 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4717 character, so GDB won't print garbage after its end.
4718
4719 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4720 breakpoint there instead. Sometimes GCC emits memcpy to handle
4721 the large structures being passed by value, so we step into that
4722 instead of sum_array_print, which obscures what we're really testing.
4723 * gdb.base/step-test.exp: However, we do want a test that notices
4724 the bizarre steps into memcpy, so do that here. Add check for
4725 stepping into function calls that pass large structures by value.
4726 ("Is that a noun clause, or are you just happy to see me?")
4727 Remove all references to specific line numbers.
4728 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4729 New type and function.
4730 (main): Call large_struct_by_value, passing it a large struct by value.
4731 * lib/gdb.exp (gdb_get_line_number): New function.
4732
4733 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4734 more portable.
4735
4736 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4737
4738 * lib/gdb.exp: Doc fixes.
4739
4740 1999-03-05 Nick Clifton <nickc@cygnus.com>
4741
4742 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
4743
4744 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4745
4746 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4747 commands. They're not germane to this test, and they don't work
4748 that way on remote targets.
4749
4750 1999-03-01 James Ingham <jingham@cygnus.com>
4751
4752 * Changelog entries merged over from gdb development branch.
4753
4754 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4755
4756 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4757 for outputting results of test run.
4758
4759 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
4760
4761 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
4762
4763 1999-02-25 Felix Lee <flee@cygnus.com>
4764
4765 * lib/gdb.exp (debug_format): initialize
4766
4767 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4768
4769 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4770 * gdb.base/call-rt-st.c: Ditto.
4771
4772 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4773
4774 * gdb.threads/pthreads.exp (horiz): New variable.
4775 (test_startup): Fix regexps that capture thread numbers.
4776
4777 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4778
4779 * gdb.base/smoke.exp: Disambiguate two test case names (both
4780 called ``print'').
4781
4782 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4783
4784 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4785 compilation.
4786
4787 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4788
4789 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4790 actual output formatting.
4791 * gdb.base/smoke.exp: GDB removes leading 0's.
4792 * gdb.base/volatile.exp: Don't check type of remuneration;
4793 that variable is no longer defined in constvars.c.
4794 * gdb.base/step-test.c (main): Exit with explicit exit code.
4795 * gdb.base/step-test.exp: Remove two nexti checks--they are
4796 not portable.
4797
4798 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4799
4800 * gdb.base/help.exp ("help delete display"): Fix test to match
4801 gdb's output.
4802
4803 * gdb.base/long_long.c (known_types): Initialize values to zero.
4804 * gdb.base/long_long.exp: Step one more line
4805 so 'dec' is initialized in "get to known place". GDB removes
4806 leading zeros. Explicitly ask for hex formatting. Use
4807 unique test case names.
4808
4809 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4810
4811 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
4812
4813 * gdb.c++/method.exp: Add missing close brace.
4814
4815 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4816
4817 * gdb.base/maint.exp: Use 'set height 0' to disable page
4818 prompting, not 'set height 400'.
4819
4820 Fix a bunch of timeouts.
4821 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4822 four separate tests, so expect doesn't take forever to match a ton
4823 of text against a regexp with lots of .* forms.
4824 ("maint print psymbols", "maint print symbols"): Make some of
4825 these greps more selective, so that expect doesn't try to wade
4826 through huge piles of output and time out.
4827
4828 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4829
4830 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4831 tests: one which doesn't expect shlib events to be reported, and
4832 another which does, but is XFAIL for all platforms other than
4833 HP/UX.
4834
4835 * gdb.base/break.exp: Teach the test suite that the `catch
4836 fork', `catch vfork', and `catch exec' commands produce error
4837 messages on platforms that don't provide these features.
4838
4839 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4840
4841 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4842 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4843 (shortening names from solib_threshold.exp etc), won't run on
4844 anything but HP-UX for the foreseeable future.
4845 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4846 reflect move.
4847
4848 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4849
4850 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4851 gdb.trace/Makefile.in (clean): Remove all test executables.
4852
4853 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4854
4855 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4856 successfully re-sets breakpoints in shared libraries.
4857 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4858
4859 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4860
4861 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4862 and compiled w/o GCC.
4863
4864 * gdb.hp/watch-cmd.exp: ditto.
4865
4866 * gdb.hp/watch-hp.exp: ditto.
4867
4868 * gdb.hp/xdb1.exp: ditto.
4869
4870 * gdb.hp/xdb2.exp: ditto.
4871
4872 * gdb.hp/dbx.exp: ditto.
4873
4874 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4875
4876 * constvars.c: Remove C++-isms.
4877 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4878 with GCC.
4879
4880 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4881
4882 The following changes are part of the HP merge.
4883
4884 * gdb.base/break.exp: new tests to verify that catchpoints for
4885 fork, vfork, and exec don't trigger inappropriately.
4886
4887 * gdb.base/opaque.exp: compile one file at a time, then link.
4888
4889 * gdb.base/signals.exp: be more restrictive about which hppa
4890 systems receive a setup_xfail. new tests.
4891
4892 * gdb.base/solib_threshold.build: new file.
4893 * gdb.base/solib_threshold.exp: new file.
4894 * gdb.base/solib_threshold.link_opts: new file.
4895 * gdb.base/solib_threshold.mk: new file.
4896 * gdb.base/gen_solib_threshold.c: new file.
4897
4898 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4899 tests. New tests for enums inside classes.
4900
4901 * gdb.c++/compiler.cc: indicate support of template debugging.
4902
4903 * gdb.c++/demangle.exp: run hp style demangling tests.
4904
4905 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4906 tests.
4907
4908 * gdb.c++/misc.cc: changes to support new tests.
4909
4910 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4911 to support new tests.
4912
4913 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4914 gcc, then skip these tests.
4915
4916 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4917
4918 The following files are part of the HP merge; some had longer
4919 names at HP, but have been renamed to be no more than 14
4920 characters in length.
4921
4922 * gdb.hp/ambiguous.cc: new file.
4923 * gdb.hp/ambiguous.exp: new file.
4924 * gdb.hp/attach.exp: new file.
4925 * gdb.hp/attach2.exp: new file.
4926 * gdb.hp/classes-hp.exp: new file.
4927 * gdb.hp/ctti.exp: new file.
4928 * gdb.hp/ctti-add.cc: new file.
4929 * gdb.hp/ctti-add1.cc: new file.
4930 * gdb.hp/ctti-add2.cc: new file.
4931 * gdb.hp/ctti-add3.cc: new file.
4932 * gdb.hp/dbx.exp: new file.
4933 * gdb.hp/exception.cc: new file.
4934 * gdb.hp/exception.exp: new file.
4935 * gdb.hp/foll-exec.c: new file.
4936 * gdb.hp/foll-exec.exp: new file.
4937 * gdb.hp/foll-fork.c: new file.
4938 * gdb.hp/foll-fork.exp: new file.
4939 * gdb.hp/foll-vfork.c: new file.
4940 * gdb.hp/foll-vfork.exp: new file.
4941 * gdb.hp/inherit-hp.exp: new file.
4942 * gdb.hp/more-steps.exp: new file.
4943 * gdb.hp/namespace.cc: new file.
4944 * gdb.hp/namespace.exp: new file.
4945 * gdb.hp/optimize.exp: new file.
4946 * gdb.hp/pxdb.c: new file.
4947 * gdb.hp/pxdb.exp: new file.
4948 * gdb.hp/quicksort.exp: new file.
4949 * gdb.hp/reg-test.exp: new file.
4950 * gdb.hp/reg-test.s: new file.
4951 * gdb.hp/sized-enum.c: new file.
4952 * gdb.hp/sized-enum.exp: new file.
4953 * gdb.hp/start-stop.exp: new file.
4954 * gdb.hp/templ-hp.cc: new file.
4955 * gdb.hp/templ-hp.exp: new file.
4956 * gdb.hp/thr-lib.c: new file.
4957 * gdb.hp/thr-lib.exp: new file.
4958 * gdb.hp/thr-lib.h: new file.
4959 * gdb.hp/thr-liblib.c: new file.
4960 * gdb.hp/virtfun-hp.c: new file.
4961 * gdb.hp/virtfun-hp.exp: new file.
4962 * gdb.hp/watch-cmd.exp: new file.
4963 * gdb.hp/watch-hp.exp: new file.
4964 * gdb.hp/xdb1.exp: new file.
4965 * gdb.hp/xdb2.exp: new file.
4966 * gdb.hp/xdb3.exp: new file.
4967
4968 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4969
4970 The following files are part of the HP merge; some had longer
4971 names at HP, but have been renamed to be no more than 14
4972 characters in length.
4973
4974 * gdb.base/ss.h: new file.
4975 * gdb.base/call-ar-st.c: new file.
4976 * gdb.base/call-ar-st.exp: new file.
4977 * gdb.base/call-rt-st.c: new file.
4978 * gdb.base/call-rt-st-exp: new file.
4979 * gdb.base/call-strs.exp: new file.
4980 * gdb.base/ena-dis-br.exp: new file.
4981 * gdb.base/environ.exp: new file.
4982 * gdb.base/long_long.exp: new file.
4983 * gdb.base/sect-cmd.exp: new file.
4984 * gdb.base/shlib-cl2.exp: new file.
4985 * gdb.base/smoke.exp: new file.
4986 * gdb.base/so-impl-ld.c: new file.
4987 * gdb.base/so-impl-ld.exp: new file.
4988 * gdb.base/so-indr-cl.c: new file.
4989 * gdb.base/so-indr-cl.exp: new file.
4990 * gdb.base/varargs.exp: new file.
4991 * gdb.base/volatile.exp: new file.
4992 * gdb.base/whatis-exp.exp: new file.
4993 * gdb.base/display.exp: new file.
4994 * gdb.c++/derivation.exp: new file.
4995 * gdb.c++/local.exp: new file.
4996 * gdb.c++/member-ptr.exp: new file.
4997 * gdb.c++/overload.exp: new file.
4998 * gdb.c++/ovldbreak.exp: new file.
4999 * gdb.c++/ref-types.exp: new file.
5000 * gdb.c++/ref-types2.exp: new file.
5001 * gdb.c++/userdef.exp: new file.
5002
5003 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5004
5005 * gdb.base/default.exp: Reflect wording change in remote.c.
5006
5007 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
5008
5009 * gdb.base/help.exp: Update to reflect current text.
5010
5011 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5012
5013 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5014 they're stack variables and contain garbage.
5015 * gdb.c++/anon-union.exp: new file.
5016
5017 The following changes were made by David Taylor
5018 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5019 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5020 in changes by HP.
5021
5022 * gdb.base/bitops.exp: new file.
5023 * gdb.base/default.exp: change expected messages for catch and
5024 info catch tests to reflect HP merge changes.
5025 * gdb.base/enable-disable-break.exp
5026 * gdb.base/ending-run.c: new file.
5027 * gdb.base/long_long.c: new file.
5028 * gdb.base/maint.exp: new file.
5029 * gdb.base/pointers2.exp: new file.
5030 * gdb.base/shlib-call2.exp: new file.
5031 * gdb.base/solib.exp: new file.
5032 * gdb.base/step-test.c: new file.
5033 * gdb.c++/anon-union.cc: new file.
5034 * gdb.c++/local.cc: new file.
5035 * gdb.c++/member-pointer.cc: new file.
5036 * gdb.c++/method.cc: new file.
5037 * gdb.c++/ref-types.cc: new file.
5038 * gdb.c++/ref-types2.cc: new file.
5039 * gdb.c++/userdef.cc: new file.
5040
5041 * gdb.base/scope.exp: compile one file at a time, then link.
5042 * gdb.base/langs.exp: ditto.
5043 * gdb.base/list.exp: ditto.
5044
5045 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5046
5047 The following changes were made by David Taylor
5048 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5049 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5050 in changes by HP.
5051
5052 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5053 skip tests. When compiling pass c++ flag to gdb_compile.
5054 * gdb.c++/
5055
5056 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5057 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5058 (skip_hp_tests): new function.
5059 (gdb_preprocess): new function.
5060
5061 * configure.in (hpdir): decide whether to configure gdb.hp.
5062 * configure: regenerated.
5063
5064 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5065 to delete on clean.
5066 (EXECUTABLES): update to reflect new additions.
5067 * gdb.base/commands.exp: update message expected.
5068 * gdb.base/default.exp: add copyright notice.
5069 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5070 * gdb.base/help.exp: update messages to reflect current text.
5071 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5072 targets for recurse tests.
5073 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5074 skip this file.
5075
5076 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5077 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5078 compilation.
5079 * gdb.c++/misc.exp: ditto.
5080 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5081 run the tests. tell gdb_compile that it's a c++ compilation.
5082
5083 * gdb.threads/pthreads.exp: fix typo in message.
5084
5085 * gdb.base/all-bin.exp: new file.
5086 * gdb.base/arithmet.exp: new file.
5087 * gdb.base/assign.exp: new file.
5088 * gdb.base/completion.exp: new file.
5089 * gdb.base/cond-expr.exp: new file.
5090 * gdb.base/condbreak.exp: new file.
5091 * gdb.base/define.exp: new file.
5092 * gdb.base/dollar.exp: new file.
5093 * gdb.base/environment.exp: new file.
5094 * gdb.base/eval-skip.exp: new file.
5095 * gdb.base/jump.exp: new file.
5096 * gdb.base/logical.exp: new file.
5097 * gdb.base/pointers.exp: new file.
5098 * gdb.base/relational.exp: new file.
5099 * gdb.base/section_command.exp: new file.
5100 * gdb.base/whatis-expr.exp: new file.
5101
5102 * gdb.base/all-types.c: new file.
5103 * gdb.base/call-array-struct.c: new file.
5104 * gdb.base/call-return-struct.c: new file.
5105 * gdb.base/call-strings.c: new file.
5106 * gdb.base/callfuncs2.c: new file.
5107 * gdb.base/condbreak.c: new file.
5108 * gdb.base/constvars.c: new file.
5109 * gdb.base/display.c: new file.
5110 * gdb.base/int-type.c: new file.
5111 * gdb.base/jump.c: new file.
5112 * gdb.base/miscexprs.c: new file.
5113 * gdb.base/pointers.c: new file.
5114 * gdb.base/pointers2.c: new file.
5115 * gdb.base/shmain.c: new file.
5116 * gdb.base/shr1.c: new file.
5117 * gdb.base/shr2.c: new file.
5118 * gdb.base/solib.c: new file.
5119 * gdb.base/solib1.c: new file.
5120 * gdb.base/solib2.c: new file.
5121 * gdb.base/varargs.c: new file.
5122 * gdb.c++/derivation.cc: new file.
5123 * gdb.c++/overload.cc: new file.
5124 * gdb.c++/ovldbreak.cc: new file.
5125 * gdb.hp/attach.c: new file.
5126 * gdb.hp/attach2.c: new file.
5127 * gdb.hp/average.c: new file.
5128 * gdb.hp/compiler.c: new file.
5129 * gdb.hp/compiler.cc: new file.
5130 * gdb.hp/execd-program.c: new file.
5131 * gdb.hp/follow-exec.c: new file.
5132 * gdb.hp/follow-fork.c: new file.
5133 * gdb.hp/follow-vfork-and-exec.c: new file.
5134 * gdb.hp/misc-hp.cc: new file.
5135 * gdb.hp/more-steps.c: new file.
5136 * gdb.hp/optimize.c: new file.
5137 * gdb.hp/quicksort.c: new file.
5138 * gdb.hp/run-hp.c: new file.
5139 * gdb.hp/start-stop.c: new file.
5140 * gdb.hp/sum.c: new file.
5141 * gdb.hp/templates-hp.cc: new file.
5142 * gdb.hp/thread-local-in-lib.c: new file.
5143 * gdb.hp/thread-local-in-lib.h: new file.
5144 * gdb.hp/thread-local-in-lib.lib.c: new file.
5145 * gdb.hp/vforked-program.c: new file.
5146 * gdb.hp/virtfunc-hp.cc: new file.
5147 * gdb.hp/watchpoint-hp.c: new file.
5148 * gdb.hp/xdb.c: new file.
5149 * gdb.hp/xdb0.c: new file.
5150 * gdb.hp/xdb0.h: new file.
5151 * gdb.hp/xdb1.c: new file.
5152
5153 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5154
5155 The following change was made by Edith Epstein
5156 <eepstein@cygnus.com> as part of a project to merge in changes
5157 originally made by HP; HP did not create ChangeLog entries.
5158
5159 * gdb.c++/demangle.exp: changed the expected output for some
5160 ARM-style mangling -- removed second reference to datatype.
5161 For example, maint demangle __dt__11T1__pt__2_cFv
5162 T1<char>::~T1<char>(void)
5163 becomes,
5164 maint demangle __dt__11T1__pt__2_cFv
5165 T1<char>::~T1(void)
5166
5167 (test_hp_style_demangling): new hp specific demangling test cases.
5168
5169 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5170
5171 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5172 * gdb.trace/backtrace.exp: Likewise.
5173 * gdb.trace/circ.exp: Likewise.
5174 * gdb.trace/collection.exp: Likewise.
5175 * gdb.trace/deltrace.exp: Likewise.
5176 * gdb.trace/infotrace.exp: Likewise.
5177 * gdb.trace/limits.exp: Likewise.
5178 * gdb.trace/packetlen.exp: Likewise.
5179 * gdb.trace/passc-dyn.exp: Likewise.
5180 * gdb.trace/passcount.exp: Likewise.
5181 * gdb.trace/report.exp: Likewise.
5182 * gdb.trace/save-trace.exp: Likewise.
5183 * gdb.trace/tfind.exp: Likewise.
5184 * gdb.trace/tracecmd.exp: Likewise.
5185 * gdb.trace/while-dyn.exp: Likewise.
5186 * gdb.trace/while-stepping.exp: Likewise.
5187
5188 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5189
5190 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5191
5192 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5193
5194 From Brendan Kehoe:
5195 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5196 int return types.
5197
5198 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5199
5200 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5201 remote dos host testing right.
5202
5203 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5204
5205 * gdb.base/corefile.exp: remove some xfails.
5206
5207 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5208
5209 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5210 have different timestamps.
5211
5212 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5213
5214 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5215 gdb.base/default.exp: Replace "exec" with "executable".
5216
5217 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5218
5219 * gdb.base/default.exp: Change else if to elseif from previous
5220 delta.
5221
5222 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5223
5224 * gdb.base/default.exp: Add brace missing from previous delta.
5225
5226 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5227
5228 * gdb.base/default.exp: Support test for info float for all
5229 varieties of arm toolchain.
5230
5231 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
5232
5233 * gdb.trace/*.exp: remove "remote_download" command.
5234
5235 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
5236
5237 * gdb.trace/*.exp: remove -gdwarf from compile.
5238
5239 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5240
5241 * gdb.trace/configure.in(AC_INIT): typo
5242 * gdb.trace/configure: regenerated
5243
5244 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
5245
5246 * config/m68k-emc.exp: New file.
5247 * lib/<emc-support.exp trace-support.exp}: New files.
5248 * configure.in: add new test directory gdb.trace.
5249 * gdb.trace/{configure configure.in Makefile.in}: New files.
5250 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5251 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5252 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5253 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5254 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5255 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5256 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
5257
5258 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
5259
5260 * gdb.c++/classes.exp: Change all regular expressions to match
5261 arbitrary combinations of newline/carriage-return, so that they
5262 will work equally well on Unix and Windows.
5263 * gdb.c++/inherit.exp: ditto.
5264 * gdb.c++/virtfunc.exp: ditto.
5265
5266 1998-08-11 Dawn Perchik <dawn@cygnus.com>
5267
5268 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5269
5270 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5271
5272 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5273 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5274 to use a0-a3/d0-d3 as needed.
5275
5276 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5277
5278 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5279 * gdb.disasm/am33.exp: Corresponding changes.
5280
5281 1998-07-11 Felix Lee <flee@cygnus.com>
5282
5283 * gdb.base/callfuncs.exp: add cmp10 test.
5284 * gdb.base/callfuncs.c (cmp10): new function.
5285
5286 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5287
5288 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
5289 into two parts to get around a synchronization problem in expect.
5290
5291 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5292
5293 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5294
5295 * configure.in: Add options for gdbtk testsuite.
5296
5297 * configure: Regenerate.
5298
5299 * gdb.gdbtk: New directory to hold gdbtk tests.
5300
5301 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5302
5303 * gdb.fortran/types.exp: Escape brackets in expect patterns
5304 for test_float_literal_types_accepted tests.
5305 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5306 before run test.
5307
5308 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5309
5310 * am33.exp: Just compile, do not link the testcase.
5311 * am33.s: Add ".am33" pseudoop to force am33 mode.
5312
5313 1998-06-25 Felix Lee <flee@cygnus.com>
5314
5315 * gdb.base/setshow.exp: make sure $pc is sane.
5316
5317 * gdb.stabs/weird.exp: split expect patterns properly.
5318
5319 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5320
5321 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5322 * gdb.disasm/am33.exp: Run it.
5323
5324 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
5325
5326 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5327 match processing (and eliminate spurious timeouts when running).
5328
5329 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
5330
5331 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5332 exception test, but conditionalize it on target [mach | gnu].
5333
5334 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
5335
5336 * gdb.base/overlays.exp: fixup compile line for linker script.
5337
5338 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5339
5340 * gdb.fortran/types.exp: don't guess at float size.
5341
5342 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5343
5344 * gdb.base/exprs.exp: delete test that depends on int size.
5345
5346 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5347
5348 * config/sim.exp: Removed checks for target triplets.
5349 (gdb_target_sim): Use gdb,target_sim_options.
5350
5351 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5352
5353 * gdb.base/reread.exp: New file.
5354 * gdb.base/reread1.c: New file.
5355 * gdb.base/reread2.c: New file.
5356
5357 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5358
5359 * config/sim.exp: Use 'target sim -sparclite' when running
5360 SPARClite programs.
5361
5362 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5363
5364 * gdb.base/structs2.exp: New file.
5365 * gdb.base/structs2.c: New file.
5366
5367 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5368
5369 * gdb.asm/common.inc: New file.
5370 * gdb.asm/d10v.inc: New file.
5371 * asm-source.exp: Pass -I's to gas to find .inc files.
5372 Update line numbers in expected output.
5373 * asmsrc1.s: Rewrite.
5374 * asmsrc2.s: Rewrite.
5375 * configure.in: Create arch.inc symlink.
5376 * configure: Regenerate.
5377 * Makefile.in (distclean): Delete arch.inc.
5378
5379 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5380
5381 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5382 (t_enum_value2): ditto
5383 (t_enum_value3): ditto
5384 (main): ditto
5385 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5386
5387 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5388 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5389 change.
5390 Use gdb_test instead of send_gdb/gdb_expect sequences.
5391
5392 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5393
5394 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5395 not void.
5396
5397 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5398
5399 * gdb.base/branches.c: Code with lots of loops and
5400 subroutines. Used to test gdbs ability to single step through PC
5401 changes, especially to test mips-tdep.c:mips_next_pc
5402
5403 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5404
5405 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5406 more rigorous EGCS C++ error checking.
5407
5408 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5409
5410 * gdb.base/help.exp: Clean up `help set args' and `help show args'
5411 tests.
5412 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
5413 function when asleep.
5414 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
5415 for i*86 Linux and SVR4 signal handling problems.
5416 Remove linux xfail for `next to handler in signals_tests_1', fixed
5417 by recent infrun.c change.
5418 Limit backtrace to 10 frames to avoid timeout problems with infinite
5419 stack backtraces.
5420 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5421 target.[ch] change.
5422
5423 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5424
5425 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5426 for a newline from gdb before continuing.
5427 (default_gdb_exit): Just look for y or n.
5428 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5429 it does, fail the rests of the tests in the file.
5430
5431 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5432
5433 * config/cygmon.exp: New file.
5434
5435 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5436
5437 * gdb.base/list.exp: Fix problem with "list default lines around
5438 main" test on remote targets.
5439
5440 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5441 run test on remote targets.
5442
5443 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5444
5445 * gdb.asm: New directory.
5446 * configure.in: Configure it.
5447 * configure: Regenerate.
5448 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5449 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5450
5451 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5452
5453 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5454
5455 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
5456
5457 * gdb.base/overlays (several files): Merge the two overlay
5458 managers into one. Change variables (foox, barx, bazx, grbxx)
5459 back into ints but force them to load in their proper sections.
5460
5461 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5462
5463 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5464 on-chip insn memory and IMAP1 to upper 128k.
5465 (D10VCopy): Handle memory regions crossing 16k boundaries.
5466 (D10VCopy): Transfer data in 32 bit chunks.
5467
5468 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5469
5470 * gdb.base/overlays.c (main): Exit normally when result is
5471 correct.
5472
5473 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5474 map. Include space for printf in .text segment.
5475
5476 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5477 updated d10v memory VMA/LMA map.
5478 (D10VCopy): Call D10VTranslate.
5479
5480 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5481
5482 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5483
5484 * gdb.base/bar.c (barx, bar): Change variable to small array so
5485 that it won't be put into the .sdata - small data -
5486 section. Update reference.
5487 * gdb.base/baz.c (bazx, baz): Ditto.
5488 * gdb.base/foo.c (foox, foo): Ditto.
5489 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5490
5491 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5492 to be arrays.
5493
5494 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
5495
5496 * gdb.base/overlays.exp: fix up and get working again.
5497 Add tests for backtraces from an overlay function.
5498
5499 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5500
5501 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5502 "calling function with watchpoint enabled".
5503
5504 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5505
5506 * gdb.base/break.exp (test_next_with_recursion): Remove
5507 gdb_suppress_tests for d10v-*-*.
5508 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5509 pending review of whether it is useful or not.
5510
5511 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5512
5513 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5514
5515 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5516
5517 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5518 * config/dve.exp: New file to support Densan boards.
5519
5520 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5521
5522 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5523 reads and BSD.
5524
5525 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5526
5527 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5528 response.
5529
5530 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5531
5532 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5533
5534 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5535 test.
5536
5537 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5538 target_sizeof_long and target_bigendian_p.
5539 (structs_by_value, structs_by_reference): Check values according
5540 to targets word size and endianess.
5541
5542 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5543
5544 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5545 output.
5546
5547 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5548
5549 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5550 Update test of set args help to match source change.
5551
5552 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5553
5554 * gdb.base/default.exp: Expect help system output to be in
5555 alphabetical order.
5556 * gdb.base/help.exp: Ditto.
5557
5558 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5559
5560 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5561 "i*86-pc-linux-gnu*".
5562 * gdb.base/interrupt.exp: Ditto.
5563 * gdb.base/corefile.exp: Ditto.
5564
5565 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5566 define vxworks when building the testcase.
5567
5568 * gdb.base/ptype.exp: Fix testnames to be unique.
5569 * gdb.base/radix.exp: Ditto.
5570 * gdb.base/term.exp: Ditto.
5571 * gdb.base/whatis.exp: Ditto.
5572 * gdb.c++/classes.exp: Ditto.
5573
5574 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5575
5576 * gdb.base/callfuncs.exp: Fix indentation.
5577
5578 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5579 suppress_flag has been set.
5580 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5581 target feature.
5582
5583 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5584
5585 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5586 the testcase.
5587
5588 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5589 set_debug_traps() and breakpoint().
5590 * gdb.c++/misc.cc (main): Ditto.
5591 * gdb.c++/templates.cc (main): Ditto.
5592 * gdb.c++/virtfunc.cc (main): Ditto.
5593
5594 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5595
5596 * lib/gdb.exp(gdb_step_for_stub): New function.
5597 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5598 exists, reload the executable and do a "continue" instead of
5599 doing a jump.
5600 (runto_main): Use gdb_step_for_stub.
5601
5602 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5603 tests to have unique names.
5604 * gdb.base/callfuncs.exp: Ditto.
5605 * gdb.base/commands.exp: Ditto.
5606 * gdb.base/default.exp: Ditto.
5607 * gdb.base/help.exp: Ditto.
5608 * gdb.base/list.exp: Ditto.
5609 * gdb.base/opaque.exp: Ditto.
5610 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5611 similar tests.
5612
5613 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5614 * gdb.c++/cplusfuncs.cc: Ditto.
5615 * gdb.c++/virtfunc.cc: Ditto.
5616
5617 * config/monitor.exp: Keep track of the last file we saw, rather
5618 than trying to get the info from gdb.
5619
5620 * gdb.fortran/types.exp: Move comment to previous line.
5621
5622 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5623
5624 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5625 target mode.
5626
5627 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5628
5629 From Bob Manson:
5630 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5631 string from GDB when it connects.
5632
5633 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5634
5635 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5636
5637 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5638 if we can't get a debug format from GDB (we may be testing an
5639 older GDB). Use a 10 second timeout when checking for the format.
5640
5641 * gdb.stabs/weird.exp: Fix quoting.
5642
5643 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5644
5645 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5646
5647 * config/arm-ice.exp: New file.
5648
5649 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5650
5651 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5652 until it has been modified to work with the new testsuite.
5653
5654 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
5655 testcase won't compile, cause all of the testcases in the file to
5656 fail instead.
5657
5658 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5659 (gdb_clear_suppressed): New procedure.
5660 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5661 it contains a positive value.
5662
5663 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5664
5665 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5666
5667 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5668
5669 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5670
5671 * lib/gdb.exp (setup_xfail_format): New function.
5672 (get_debug_format): New function to get debug format.
5673 (debug_format): New global variable to hold last value set
5674 by get_debug_format.
5675 * gdb.base/list.exp: Call get_debug_format and expect some
5676 tests to fail for DWARF 1 and COFF formats.
5677 * gdb.c++/ptype.exp: Ditto.
5678 * gdb.c++/classes.exp: Ditto.
5679 * gdb.c++/cplusfuncs.exp: Ditto.
5680 * gdb.c++/inherit.exp: Ditto.
5681 * gdb.c++/templates.exp: Ditto.
5682 * gdb.c++/virtfunc.exp: Ditto.
5683
5684 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5685
5686 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5687 host doesn't have a currently-open connection.
5688
5689 * config/sparclet.exp: Cleanups and fixes to make it generic for
5690 any gdb stub target. Handle cases where gdb doesn't respond when
5691 interrupted in a sane fashion.
5692
5693 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5694 same thing in a totally different way.
5695
5696 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5697 setting "timeout".
5698 (gdb_start): We set the global gdb_prompt variable in
5699 default_gdb_init now.
5700
5701 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5702
5703 * gdb.base/printcmds.exp: Fix "check for floating addition"
5704 regexp to accept results within approx +/- .01 of exact value.
5705 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5706
5707 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5708
5709 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5710 properly.
5711 (gdb_expect): Add optional timeout parameter, and add timeout
5712 value to various calls.
5713 (gdb_suppress_tests): Only give one warning message per group.
5714
5715 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5716
5717 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5718 global variables. Handle getting a value for $timeout more
5719 gracefully.
5720
5721 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5722
5723 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5724 initialize.
5725 (default_gdb_init): New procedure; allow gdb_init to be overridden
5726 by a target configuration file.
5727 (gdb_expect): Pass the timeout to remote_expect.
5728
5729 * config/monitor.exp(gdb_load): Fix typo in regexp.
5730
5731 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5732
5733 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5734
5735 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5736
5737 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5738 here. Call gdb_target_exec before rebooting the target, to make
5739 sure the connection to the target is closed.
5740 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5741 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5742 Also detect "Timeout reading from remote" error.
5743
5744 * config/gdbserver.exp: Pass the executable being loaded to
5745 gdb_target_monitor. Don't call gdb_file_cmd here; let
5746 gdb_target_monitor do it.
5747
5748 * gdb.disasm/hppa.exp: Don't use exec_output.
5749
5750 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5751
5752 * gdb.base/list.exp: If we're debugging a non-native target,
5753 try to set the pc register to point to the start of the
5754 program before doing the first list command.
5755
5756 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5757 test_calls after restarting.
5758
5759 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5760 reloading.
5761
5762 * gdb.base/watchpoint.exp: Fix typo.
5763
5764 * gdb.base/setshow.exp: Check for use_gdb_stub.
5765
5766 * gdb.base/break.exp: Fix continue until exit test for the gdb
5767 stub case.
5768 * gdb.base/langs.exp: Ditto.
5769
5770 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5771 gdb_load_offset. If we weren't given a file to load, figure out
5772 what the current file is and use it.
5773
5774 * config/i386-bozo.exp: New file.
5775
5776 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5777
5778 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5779 feature.
5780
5781 * config/proelf.exp: New entry.
5782
5783 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5784
5785 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5786 of regexps.
5787
5788 * gdb.base/watchpoint.exp: Don't run the test_stepping
5789 tests if gdb can't call functions on the target.
5790
5791 * gdb.base/setshow.exp: Don't run the set prompt tests if
5792 the board has gdb_prompt set.
5793
5794 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5795
5796 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5797 * gdb.base/commands.exp: Likewise.
5798 * gdb.base/setshow.exp: Likewise.
5799
5800 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5801
5802 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5803 feature.
5804
5805 * config/i960.exp: New file.
5806
5807 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5808
5809 * gdb.base/funcargs.exp: Check for gdb,short_int target
5810 feature instead of looking for explicit target triplets.
5811
5812 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
5813
5814 * gdb.base/printcmds.exp: add a couple more tests a la
5815 "p 123DEADBEEF", to check parse_number.
5816 * top.c: change "to enable to enable" to "to enable" in a couple
5817 of help strings.
5818
5819 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5820
5821 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5822 on the mn10300.
5823
5824 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5825
5826 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5827 where the test executable is run with explicit args.
5828 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5829
5830 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5831
5832 * gdb.base/run.c: Use FAKEARGV to build test executable that
5833 does not require a command line arg, since most simulators
5834 don't currently support passing such an arg into the simulated
5835 program.
5836 * gdb.base/commands.exp: Change tests to insert the proper
5837 value as the arg to the first recursive factorial call. Change
5838 compilation line to define FAKEARGV at compile time.
5839
5840 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5841
5842 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5843 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5844 function with watchpoint enabled" test.
5845
5846 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5847
5848 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5849 Don't call gdb_test when the command doesn't return to a gdb prompt.
5850
5851 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5852 "Tests restarted" messages.
5853
5854 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5855
5856 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5857
5858 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
5859
5860 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5861 for INFO SYMBOL; add help tests for OVERLAY commands.
5862 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5863 add tests for OVERLAY commands
5864 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5865 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5866 * gdb.base/sigall.c: add usestubs code frag
5867 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
5868
5869 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5870
5871 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5872 failures.
5873 (gdb_stop_suppressing_tests): Note that tests have restarted.
5874
5875 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5876
5877 * config/h8300.exp: New file.
5878
5879 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5880
5881 * gdb.base/setshow.exp: Check for the existence of a
5882 feature, not its value.
5883
5884 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5885
5886 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5887
5888 * gdb.base/scope.exp: It's now init0(), not init().
5889
5890 * gdb.base/scope0.c: For now, change init() to be init0().
5891
5892 * config/monitor.exp: Use gdb_serial in preference to serial
5893 or netport.
5894
5895 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5896 and it's not already set.
5897
5898 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5899
5900 * gdb.base/setshow.exp: Only test the run command if the target
5901 isn't using a stub and if it supports argument passing.
5902
5903 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5904
5905 * config/udi.exp(gdb_start): Make sure UDICONF is set
5906 properly before starting gdb.
5907
5908 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5909
5910 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5911 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5912 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5913
5914 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5915
5916 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5917 specialized code to reboot the board, use remote_reboot instead.
5918
5919 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5920
5921 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5922
5923 * config/monitor.exp: Make sure we disconnect from the target.
5924 Also, try a reboot/reload cycle instead of failing if the
5925 load fails.
5926
5927 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5928
5929 * gdb.base/default.exp: Don't set match_max.
5930 * gdb.base/help.exp: Ditto.
5931 * gdb.base/list.exp: Ditto.
5932 * gdb.base/signals.exp: Ditto.
5933
5934 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5935 set, use remote_ld to download the testcase instead of
5936 the GDB loader.
5937
5938 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5939
5940 * config/vr5000.exp: New file.
5941
5942 * config/monitor.exp(gdb_target_monitor): Add pattern for
5943 "Ending remote" to detect errors in connecting.
5944
5945 * gdb.base/setshow.exp: Add .* within auto language test.
5946
5947 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5948 target feature.
5949
5950 * config/monitor.exp(gdb_load): Check for a failure when loading,
5951 and reboot the board if necessary.
5952
5953 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5954 a set of tests. Remove print.* from the patterns being checked.
5955
5956 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5957
5958 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5959 refer to gdb_spawn_id.
5960
5961 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5962 longer used.
5963 * config/sparclet.exp: Ditto.
5964 * config/sparclet-old.exp: Ditto.
5965 * config/slite.exp: Ditto.
5966 * config/sim.exp: Ditto.
5967 * gdb.base/funcargs.exp: Ditto.
5968
5969 * lib/gdb.exp:Remove references to gdb_spawn_id.
5970 (gdb_expect): Move to remote.exp.
5971
5972 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5973
5974 * config/monitor.exp: Detect the "Couldn't establish connection"
5975 message from GDB.
5976
5977 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5978
5979 * gdb.base/bitfields.exp: Use runto instead of explicit
5980 gdb_run_cmd/gdb_expect sequences.
5981
5982 * gdb.base/break.exp(text_next_with_recursion): Add match for
5983 gdb_expect call.
5984
5985 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5986 We also need to handle the "A program is being debugged already"
5987 prompt from gdb. Use gdb_test to set the baud rate.
5988
5989 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5990 to 20000. Really. I mean it.
5991
5992 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5993
5994 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5995 fails. If suppress_flag is set, skip perror message about not
5996 being able to send to GDB.
5997 (send_gdb): If suppress_flag is set, don't try to send commands to
5998 GDB.
5999 (gdb_expect): If suppress_flag is set, always fail immediately.
6000 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6001 (gdb_init): Call gdb_stop_suppressing_tests.
6002 (default_gdb_exit): Ditto.
6003 (default_gdb_start): Ditto.
6004
6005 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6006 gdb_stop_suppressing_tests as appropriate.
6007 * gdb.base/break.exp: Ditto.
6008 * gdb.base/callfuncs.exp: Ditto.
6009 * gdb.base/commands.exp: Ditto.
6010 * gdb.base/exprs.exp: Ditto.
6011 * gdb.base/funcargs.exp: Ditto.
6012 * gdb.base/list.exp: Ditto.
6013 * gdb.base/recurse.exp: Ditto.
6014 * gdb.base/scope.exp: Ditto.
6015 * gdb.base/structs.exp: Ditto.
6016 * gdb.c++/inherit.exp: Ditto.
6017
6018 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6019
6020 * config/vr4300.exp: New file.
6021
6022 * gdb.*/*.exp: Call gdb_expect instead of expect.
6023
6024 * lib/gdb.exp(gdb_expect): New function.
6025
6026 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6027
6028 * lib/gdb.exp(gdb_init): New function.
6029
6030 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6031 for each individual variable set.
6032
6033 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6034 name.
6035
6036 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6037
6038 * gdb.base/scope.exp: Use gdb_test.
6039
6040 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6041 aborting; the testsuite driver will do that for us (see
6042 gdb_finish). Also, use gdb_test in a few more places.
6043
6044 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6045
6046 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6047
6048 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6049
6050 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6051 and "add_tests" are not at the same address.
6052
6053 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6054
6055 * gdb.base/ptype.exp: Use gdb_test.
6056
6057 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6058
6059 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6060 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6061 left in. No longer expect them to fail.
6062
6063 * gdb.stabs/*.mt; Deleted, no longer used.
6064 * gdb.stabs/configure.in: Remove references to target makefile
6065 frags.
6066 * gdb.stabs/configure: Rebuilt.
6067
6068 * gdb.disasm/*.mt: Deleted, no longer used.
6069 * gdb.disasm/configure.in: Remove references to target makefile
6070 frags. Use "sh3.s" as the unique filename for this directory.
6071 * gdb.disasm/configure: Rebuilt.
6072
6073 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6074 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6075 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6076
6077 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6078
6079 * config/udi.exp: Use mondfe,name instead of remote_host.
6080
6081 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6082
6083 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6084 a function with a watchpoint enabled on the mn10200.
6085
6086 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6087 before trying to create it!
6088
6089 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6090
6091 * config/vx.exp: Use hostname instead of netport.
6092
6093 * config/vxworks.exp: New file.
6094
6095 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6096
6097 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6098 gdb before assuming everything worked. Send a ^C if a timeout
6099 occurs.
6100
6101 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6102 $gdb_spawn_id directly.
6103 (gdb_run_cmd): Try _start as well as start. Use the target feature
6104 gdb,start_symbol as the symbol to start from when jumping.
6105
6106 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6107
6108 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6109 redundant) test.
6110
6111 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6112 it doesn't lose for 16bit integer systems.
6113
6114 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6115
6116 * gdb.fortran/types.exp: If the target doesn't support "double"
6117 data types, then expect "real" types to only be 4 bytes.
6118
6119 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6120 call tests if the target doesn't support inferior function calls.
6121
6122 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6123 in printf tests.
6124
6125 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6126
6127 * gdb.base/help.exp: Disable "help set", "help show", and
6128 "help support". Simplify regexp for "help stack".
6129
6130 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6131 to 60 seconds. Temporarily set match_max to 15000 around the
6132 "info copying" test.
6133
6134 * gdb.base/nodebug.exp: Don't try to do an inferior function
6135 call if the target doesn't support them.
6136 * gdb.base/printcmds.exp: Likewise.
6137 * gdb.base/setvar.exp: Likewise.
6138 * gdb.base/structs.exp: Likewise.
6139 * gdb.c++/templates.exp: Likewise.
6140 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6141
6142 * gdb.base/recurse.exp: Enable for the mn10200.
6143
6144 * configure.in: Do configure gdb.stabs directory for *-*-elf
6145 targets.
6146 * configure: Rebuilt.
6147
6148 * gdb.base/break.exp: Check for gdb,noresults before testing
6149 exit status and/or results from the target.
6150 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6151 * lib/gdb.exp: Remove old (now bogus) initialization of
6152 noinferior, noargs, noresults and nosignals.
6153
6154 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6155
6156 * config/sh.exp: New file.
6157
6158 * config/slite.exp: Try to connect multiple times to the board
6159 before rebooting. Only send a "monitor run" if need_monitor_run
6160 is set.
6161
6162 * gdb.base/break.exp: Don't do the "stub continue" test if
6163 the target has gdb_stub set.
6164
6165 * gdb.base/callfuncs.exp: Increase the timeout.
6166
6167 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6168 if the target has gdb,noinferiorio set.
6169
6170 * gdb.base/list.exp: Increase match_max to 10000 characters.
6171
6172 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6173
6174 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6175 target.
6176
6177 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6178
6179 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6180
6181 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6182 trying to delete the copy of gdb. Catch the file delete so we
6183 don't die if the delete fails; also, the file should be copied to
6184 the host, not to the build.
6185
6186 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6187
6188 * lib/gdb.exp(gdb_test): Surround the result pattern with
6189 parenthesis in case it contains multiple regexps separated
6190 with |.
6191
6192 * gdb.base/watchpoint.exp: Use gdb_test.
6193 * gdb.base/default.exp: Ditto.
6194
6195 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6196
6197 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
6198
6199 * gdb.base/scope.exp: Use gdb_test.
6200 * gdb.c++/classes.exp: Ditto.
6201 * gdb.c++/inherit.exp: Ditto.
6202
6203 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6204
6205 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6206 remote_exec instead.
6207 * gdb.base/corefile.exp: Don't be ridiculous.
6208 * gdb.base/*.c: Add missing stub invocations.
6209
6210 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6211
6212 * config/slite.exp: Miscellaneous fixes.
6213
6214 * lib/gdb.exp: Fix runto.
6215
6216 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6217 the target.
6218
6219 * gdb.base/watchpoint.exp: Fix regexp.
6220
6221 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6222 close and wait commands, as the descriptor may now be
6223 invalid. Always call "remote_close host".
6224
6225 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6226
6227 Major rewrite for testsuite revision.
6228
6229 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6230 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6231 instead of relying on spawn_id to always contain a valid
6232 spawn id.
6233 (get_compiler_info): New procedure to build the ${binfile}.ci
6234 file, instead of replicating this in N different places.
6235 (gdb_compile): New procedure.
6236
6237 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6238 appropriate arguments) instead of compile. Use gdb_test in a lot
6239 more places. Use send_gdb instead of send. Always run gdb_start
6240 at the start of a testcase, as this is no longer done magically.
6241
6242 config/*-gdb.exp: Rename without the -gdb suffix.
6243
6244 config/mips.exp: Use remote_close instead of exit_remote_shell.
6245 config/monitor.exp: Use target_info instead of looking at
6246 baud, timeout, etc.
6247 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6248
6249 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6250
6251 * gdb.c++/templates.exp (test_ptype_of_templates),
6252 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6253 Update expect patterns for destructors and assignment operators
6254 to match corresponding c-typeprint.c changes.
6255 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6256 to destructor breakpoint test, GDB should be able to set the
6257 destructor breakpoint without specifying arguments.
6258
6259 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6260
6261 * gdb.threads/pthreads.exp: Change result for failure to compile due
6262 to lack of pthreads runtime support from an error to simply an
6263 unsupported test, per dejagnu standards.
6264
6265 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6266
6267 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6268 where GDB exits to reduce pattern match time.
6269 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6270
6271 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6272
6273 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
6274
6275 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6276 * gdb.base/default.exp: ditto.
6277 * gdb.base/nodebug.exp: ditto.
6278 * gdb.base/printcmds.exp: ditto.
6279 * gdb.base/ptype.exp: ditto.
6280 * gdb.base/setvar.exp: ditto.
6281 * gdb.base/structs.exp: ditto.
6282 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6283
6284 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6285
6286 * configure, */configure: Rebuild with autoconf 2.12.
6287
6288 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6289
6290 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6291 use new i*86-pc-linux*-gnu quads.
6292 * gdb.base/corefile.exp: Ditto.
6293 * gdb.base/signals.exp: Ditto.
6294 * gdb.base/sigall.exp: Ditto.
6295 * gdb.base/interrupt.exp: Ditto.
6296
6297 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6298 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6299 RedHat 4.0.
6300
6301 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6302 linux. This allows the test case to at least compile on latest
6303 linux, but still not run due to missing the threads runtime library.
6304
6305 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6306
6307 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6308 directory to search gdb directory. Accept and step over conditional
6309 stack alignment code. Consume $prompt in failure cases.
6310 Reset timeout to $oldtimeout instead of some arbitrary value.
6311 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6312 timeout problems with infinite stack backtraces.
6313 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6314 Accept function parameters for linkfunc member.
6315
6316 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6317
6318 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6319 (CXXFLAGS): Remove, unreferenced.
6320 (B_OPTIONS): Add for -B options and add code to initialize with
6321 previous -B options and also add -B option to pick up cross compiled
6322 runtime.
6323 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6324 doing cross compiles.
6325 (target_alias): Declare global.
6326 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6327 to verify that gcc exists in build tree, and if so set CC to that
6328 gcc and to use B_OPTIONS and TARGET_INCLUDES.
6329
6330 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6331
6332 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6333 ptype test for anonymous union. Fixup testcase to match
6334 current gcc debug output.
6335
6336 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6337
6338 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6339 force argument to an unsigned long type.
6340
6341 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6342
6343 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6344 tests and anonymous union print/ptype tests.
6345 * gdb.base/list.exp (test_forward-search): Increase timeout by
6346 5 minutes for the "search extremely long line" case.
6347 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6348 completely optional and that the pass/fail messages use the command as
6349 the message if that third arg is a null string.
6350 (gdb_test_exact): Arrange that a null string pattern means match a
6351 null string output rather than any output, which might include random
6352 errors.
6353 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6354 backtrace test.
6355 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6356 always failing and failure is now exposed by gdb.exp changes.
6357
6358 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6359
6360 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6361 weren't being noted.
6362
6363 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6364
6365 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6366 * gdb.stabs/weird.exp: Remove v_comb xfails.
6367
6368 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
6369
6370 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6371 list.exp scope.exp watchpoint.exp]
6372 Make all timeout error msgs explicitly say "(timeout)".
6373
6374 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
6375
6376 * config/monitor.exp: Increase download timeout to 1000 seconds.
6377
6378 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
6379
6380 * config/m32r.exp: Increase timeout to 120 seconds.
6381
6382 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6383
6384 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6385 and accept older ordering as obsolescent gcc or gdb.
6386 * gdb.c++/templates.exp: Ditto.
6387 * gdb.c++/virtfunc.exp: Ditto.
6388
6389 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6390
6391 * gdb.base/coremaker.c: Add code to mmap some data so we
6392 can check that it ends up in the core file.
6393 * gdb.base/corefile.exp: Add test to read mmapped data
6394 from core file.
6395
6396 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
6397
6398 * config/m32r.exp: New file.
6399
6400 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6401
6402 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6403 that cflags can contains -gstabs, and work correctly for other tests.
6404
6405 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
6406
6407 * gdb.base/setshow.exp: New file, tests show and set.
6408 * gdb.base/setshow.c: New file, tests show and set.
6409 * gdb.base/help.exp: Add test for help set|show annotate.
6410 * gdb.base/default.exp: Add test for set|show annotate.
6411
6412 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6413
6414 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6415 errors unique.
6416 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6417 explicitly.
6418
6419 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6420
6421 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6422 and width commands. This is done elsewhere.
6423 * (gdb_start): Don't call gdb_start_sim here. That's already
6424 done in gdb_load. This fixes lots of failures in default.exp.
6425
6426 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6427
6428 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6429 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6430 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6431 in the same we we treat other failures (since it may be an expected
6432 condition), rather than as an error.
6433 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6434 old test format.
6435
6436 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6437
6438 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6439 (distclean maintainer-clean realclean): No need to remove files
6440 twice. Nuke the duplicates.
6441 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
6442 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
6443 Remove config.h along with other config files.
6444
6445 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6446
6447 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6448 "p func1 ()" and note that rests of tests are skipped.
6449 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6450 setup_xfails for "print func2::coremaker_local".
6451 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6452 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6453 affected by the previous run test.
6454 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6455 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6456 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6457 "pass int powerset tuple" and "pass modeless int powerset tuple".
6458 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6459 "real write 4" and "real write 8".
6460 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6461 setup_xfails for "print vs1 after tuple assign 2",
6462 "print \$i after tuple assign 2", and
6463 "print vs2 after tuple assign 2".
6464 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6465 meaningful error message and return -1 so the caller can
6466 suppress further tests and avoid a cascade of errors.
6467
6468 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6469
6470 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6471 format for printing version.
6472 * gdb.base/default.exp: Ditto.
6473 * gdb.base/interrupt.exp: Fix problem with cascade of
6474 errors if child process dies while calling a function.
6475
6476 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6477
6478 * Makefile.in (VPATH): Add
6479 * Makefile.in (Makefile, config.status): Fix rules so things get
6480 remade when necessary.
6481
6482 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6483
6484 * Makefile.in (just-check): Add path to sibling expect dir
6485 to environment variable specified by RPATH_ENVVAR.
6486
6487 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6488
6489 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6490 (just-check): Add shared library paths for libstdc++, tk,
6491 tcl, bfd, and opcodes to the environment variable specified
6492 in RPATH_ENVVAR.
6493 * configure.in: Add support to recognize --enable-shared flag
6494 and generate correct value for RPATH_ENVVAR.
6495 * configure: Regenerated with autoconf.
6496
6497 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6498
6499 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6500 include all osf versions.
6501 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6502 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6503 when target is linux. When failing to build pthreads test
6504 executable, give more meaningful message.
6505 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6506 arg for pthread_create.
6507
6508 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6509
6510 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6511 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6512 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6513 and -lpthreads (everybody else).
6514 (test_startup): Fail gracefully if threads are not supported.
6515 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6516 "p/c array_index("abcdef",2)" when not gcc compiled.
6517 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6518 "print func2::coremaker_local" when not gcc compiled.
6519 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6520 "ptype on opaque struct tagname (statically)",
6521 "ptype on opaque struct tagname (dynamically) 1", and
6522 "ptype on opaque struct tagname (dynamically) 2"
6523 for not compiled with gcc.
6524 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6525 backtrace when compiled with gcc.
6526 * lib/gdb.exp (runto_main): Return result of "runto main" rather
6527 than always return success.
6528
6529 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6530
6531 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6532
6533 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6534
6535 * gdb.base/structs.exp: Undo last change.
6536
6537 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6538
6539 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6540 encapsulate all the steps/nexts done during self test, starting
6541 at main, and makes them less sensitive to optimization issues.
6542 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6543 signal handler" test.
6544 * gdb.threads/pthreads.exp: Only run this for native configs.
6545 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6546 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6547 tests.
6548 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6549 for "runto test_calls(void)" test.
6550
6551 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6552
6553 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6554 and don't expect address info in breakpoint confirmations.
6555
6556 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6557
6558 * gdb.base/list.exp (test_forward_search): Increase timeout
6559 temporarily by 60 seconds for searching extremely long line,
6560 and then reset to old value when done. Increase expect input
6561 buffer to 10000.
6562
6563 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6564
6565 * gdb.base/list.exp (test_forward_search): Fix to handle very
6566 long source line without overflowing expect's input buffer.
6567
6568 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6569
6570 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6571 "buffer_full".
6572
6573 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6574 "buffer_full".
6575
6576 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6577 "buffer_full".
6578
6579 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6580 "buffer_full".
6581
6582 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6583
6584 * configure.in (configdirs): Add gdb.threads.
6585 * configure: Regenerated with autoconf.
6586 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6587 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6588 * gdb.threads/configure: New, generated with autoconf.
6589
6590 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6591
6592 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6593
6594 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6595
6596 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6597 each signal's status in the output of "handle all print".
6598 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6599 the \r\n sequence that immediately precedes the gdb prompt.
6600 * gdb.base/a1-selftest.exp: Save original timeout and restore
6601 after test.
6602
6603 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6604
6605 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6606 symbol.
6607
6608 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6609
6610 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6611
6612 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6613
6614 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6615 timeout by 60 seconds.
6616
6617 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6618
6619 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6620 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6621 error return.
6622
6623 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6624
6625 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6626 gdb initialization, also report how long dejagnu waited. Restore
6627 old timeout before doing error return. Temporarily increase timeout
6628 by 3 minutes to allow for slow startups over heavy NFS use.
6629
6630 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6631
6632 * lib/gdb.exp: Report timeout value for verbosity level 2.
6633 * config/gdbserver.exp: Ditto.
6634 * config/hppro.exp: Ditto.
6635 * config/mips-gdb.exp: Ditto.
6636 * config/monitor.exp: Ditto.
6637 * config/netware.exp: Ditto.
6638 * config/sim-gdb.exp: Ditto.
6639 * config/slite-gdb.exp: Ditto.
6640 * config/udi-gdb.exp: Ditto.
6641 * config/unix-gdb.exp: Ditto.
6642 * config/vx-gdb.exp: Ditto.
6643 * gdb.base/a1-selftest.exp: Ditto.
6644 * gdb.base/a2-run.exp: Ditto.
6645 * gdb.base/break.exp: Ditto.
6646 * gdb.base/corefile.exp: Ditto.
6647 * gdb.base/list.exp: Ditto.
6648 * gdb.base/recurse.exp: Ditto.
6649 * gdb.base/scope.exp: Ditto.
6650 * gdb.base/signals.exp: Ditto.
6651
6652 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6653
6654 * gdb.threads/Makefile.in (docdir): Removed.
6655
6656 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6657
6658 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
6659 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
6660 @srcdir@.
6661 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
6662 autoconf 2.5 or higher.
6663 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6664
6665 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6666
6667 * configure: Regenerated.
6668 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6669 avoid name clashes with SunOS headers.
6670
6671 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6672
6673 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6674
6675 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6676
6677 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6678 prototype information ends up in the compiler info file.
6679
6680 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6681
6682 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6683 attempting to regenerate it. Eliminate use of a temporary file
6684 and just generate the info file directly. Source it immediately,
6685 for consistency of use.
6686 * gdb.base/corefile.exp: Ditto
6687 * gdb.base/exprs.exp: Ditto.
6688 * gdb.base/funcargs.exp: Ditto.
6689 * gdb.base/langs.exp: Ditto.
6690 * gdb.base/list.exp: Ditto.
6691 * gdb.base/mips_pro.exp: Ditto.
6692 * gdb.base/nodebug.exp: Ditto.
6693 * gdb.base/opaque.exp: Ditto.
6694 * gdb.base/ptype.exp: Ditto.
6695 * gdb.base/scope.exp: Ditto.
6696 * gdb.base/setvar.exp: Ditto.
6697 * gdb.base/signals.exp: Ditto.
6698 * gdb.base/whatis.exp: Ditto.
6699 * gdb.c++/templates.exp: Ditto.
6700 * gdb.c++/virtfunc.exp: Ditto.
6701 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6702 whether or not to add -lstdc++ to the compile command line args.
6703
6704 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6705
6706 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6707 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6708 Increase timeout, a lot of single stepping might be needed if the
6709 target has no hardware watchpoints.
6710
6711 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6712
6713 * gdb.base/break.exp: Ignore compiler warnings when compiling
6714 break.c.
6715 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6716 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6717 from remote-sim.
6718 * gdb.base/exprs.exp: Add h8300 xfails.
6719 * gdb.base/funcargs.exp: Likewise.
6720 * gdb.base/nodebug.exp: Likewise.
6721 * gdb.base/printcmds.exp: Likewise.
6722 * gdb.base/ptype.exp: Likewise.
6723 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6724 h8300 xfails.
6725 * gdb.base/return.exp: Handle float/double precision problems
6726 on the h8300.
6727 * gdb.base/funcargs.c: Explicitly make last constant argument to
6728 call_after_alloca_subr an unsigned long type.
6729 * gdb.base/return.c: Include stdio.h.
6730
6731 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6732
6733 * config/abug.exp: New file for the older Motorola Bug monitor
6734 that runs on the mvme13x series VME boards.
6735 * config/monitor.exp: Use the new config array for target settings
6736 if they exist.
6737
6738 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6739
6740 * sim-gdb.exp: Make the SH simulator allocate less space when
6741 it is targeted.
6742
6743 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6744
6745 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6746 test.
6747
6748 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6749
6750 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6751 "rs6000-*-*" for "list function in include file" when gcc compiled.
6752 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6753 for "p ctable1[120]".
6754 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6755 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6756 Remove setup_xfail for "rs6000-*-*" for
6757 "print 'scope0.c'::filelocal before run".
6758 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6759 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6760 since some compilers don't allow both options to be given
6761 on the same command line. Create object file and move it.
6762
6763 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6764
6765 * gdb.base/corefile.exp: Always regenerate the core file, since
6766 we always regenerate the coremaker program. Detect special case
6767 where registers cannot be read from core file.
6768
6769 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6770
6771 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6772 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6773 * gdb.c++/templates.exp: Only match on basename of file since
6774 some formats like xcoff don't encode directory information.
6775 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6776 and rs6000 AIX xcoff targets.
6777 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6778 * configure: Regenerate.
6779 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6780 here, rather than in distclean.
6781
6782 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6783
6784 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6785 defined, and use it to compile the test case with -O2. The
6786 native compilation still uses no optimization.
6787 * gdb.base/mips_pro.c: Remove inline assembly code since
6788 it is compiled PIC by default, which results in assembler
6789 warnings that make the testsuite think the compilation
6790 was unsuccessful.
6791
6792 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6793
6794 * gdb.c++/misc.exp: Add note to message for
6795 "print s.a for foo struct" that this is a known gcc 2.7.2
6796 and earlier bug.
6797
6798 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6799
6800 * gdb.base/break.exp: Fix pattern for matching "Delete all
6801 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6802 setup_xfail for deleting all breakpoints test. Fix various
6803 timeout messages to include "(timeout)".
6804 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6805 for "p t_float_values2(3.14159,float_val2)".
6806 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6807 for "continue to call2g" when gcc compiled.
6808 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6809 "up to foo in langs.exp", "show language at foo in langs.exp",
6810 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6811 and "show language at fsub in langs.exp".
6812 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6813 "list line 1 in include file", "list message for lines past EOF",
6814 "list function in include file", "list list0.h:foo", and
6815 "list filename:function; nonexistant function".
6816 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6817 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6818 and "ptype t_char_array" to be for native cc only.
6819
6820 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6821
6822 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
6823 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6824 "print func2::coremaker_local", and "backtrace in corefile.exp".
6825
6826 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6827
6828 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6829 "bt in signals.exp". This problem only appears when running
6830 the testsuite, and then only intermittently.
6831
6832 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6833
6834 * gdb.base/return.exp (return_tests): Differentiate between
6835 two tests of continuing.
6836
6837 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6838
6839 * */Makefile.in (maintainer-clean): Remove config.log.
6840 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6841 * gdb.c++/Makefile.in (PROGS): Add inherit.
6842 (clean): Remove *.ci.
6843
6844 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6845
6846 * gdb.c++/misc.cc: Add test code from Mike Stump.
6847 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6848
6849 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6850
6851 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6852 to "alpha-*-osf2*" and add comment.
6853 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6854 setup_xfail for "step over execarg initialization" and
6855 "step over corearg initialization".
6856 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6857 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6858 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6859 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6860 "print func2::coremaker_local", and "backtrace in corefile.exp".
6861 * gdb.base/signals.exp: Build and source signals.ci.
6862 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6863 to be for gcc only.
6864 * lib/gdb.exp: Move verbose statements outside conditionals.
6865
6866 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6867
6868 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6869 Feb 3 procfs.c change.
6870
6871 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6872
6873 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6874
6875 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6876
6877 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6878 from dejagnu's apparent default of 10 seconds, which gives random
6879 results when running the tests over NFS on moderately loaded systems.
6880 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6881
6882 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6883
6884 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6885 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6886 result reports.
6887
6888 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6889
6890 * configure.in (CY_AC_PATH_TCLH): Remove.
6891 * configure: Regenerate.
6892
6893 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6894
6895 * gdb.c++/Makefile.in (clean): Add missing '{'.
6896
6897 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6898
6899 * lib/gdb.exp: Provide a default value for noinferior.
6900
6901 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6902 Load libgloss.exp.
6903
6904 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6905
6906 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6907 the executable, not the .o to run the tests from.
6908
6909 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6910
6911 * gdb.base/break.exp: Don't test for program exit or exit status
6912 if $noresults if nonzero.
6913 * gdb.base/langs.exp: Likewise.
6914 * gdb.base/watchpoint.exp: Likewise.
6915
6916 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6917 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6918 trying to compile the testcase.
6919
6920 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6921
6922 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6923 * gdb.base/signals.exp (continue to handler): Likewise.
6924
6925 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6926
6927 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6928
6929 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6930
6931 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6932
6933 * gdb.base/corefile.exp: Recognize "not found" as failure
6934 when trying to determine if a core file was generated.
6935 If no core file was generate the first time, try again without
6936 the ulimit -c to work around braindamaged shells.
6937
6938 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6939
6940 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6941 [] tests with "test" and enclose string in quotes.
6942 * gdb.stabs/configure: Rebuild
6943
6944 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6945
6946 Changes in sync with expect:
6947 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6948 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6949 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6950 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6951 argument to AC_REQUIRE.
6952 * configure: Regenerated.
6953
6954 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6955
6956 * gdb.base/corefile.exp: When generating a core, discard any
6957 error messages about ulimit not found and the "core dumped"
6958 message from the shell that runs the coredumper.
6959
6960 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6961
6962 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6963
6964 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6965 which sed script to run. Expect failure for v_comb test
6966 on PA targets too.
6967
6968 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6969
6970 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6971 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6972
6973 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6974
6975 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6976 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6977 "sparc-sun-solaris*" xfails for "p v_comb".
6978 * lib/gdb.exp (default_gdb_start): Fix typo.
6979 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6980 messages to not include the full program name that caused
6981 the core dump since some systems (such as solaris) apparently
6982 truncate this path to about 80 characters.
6983 When generating a core file first try increasing the core file
6984 size limit to unlimited since some systems may default it to
6985 zero, and it is harmless to try it. Move the test for failing
6986 to generate a core file to where it will actually get executed.
6987 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6988 new gdb result from g++ debug info improvements and make old
6989 pattern obsolescent. Also account for size_t differences
6990 (may be int or long).
6991 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6992 initialization before function call is placed in the delay slot
6993 and thus appears to be skipped over by commands such as "next".
6994
6995 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6996
6997 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6998
6999 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7000
7001 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7002 input source file; fix code to compile test to deal with this
7003 convention.
7004 * gdb.c++/*.exp: Likewise.
7005
7006 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7007
7008 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7009 "bt in signals.exp".
7010
7011 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7012
7013 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7014 "step over execarg initialization" and
7015 "step over corearg initialization".
7016
7017 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7018
7019 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7020 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7021
7022 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7023
7024 From Rob Savoye (rob@poseidon.cygnus.com)
7025 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7026 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7027 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7028 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7029 configure.in}: Major reworking for autoconfig.
7030 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7031 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7032 New files.
7033 * config/unix-gdb.exp: Make GDB global.
7034 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7035 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7036 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7037 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7038 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7039 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7040 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7041 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7042 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7043 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7044 pr-8136.exp, result.exp, string.exp, tuples.exp},
7045 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7046 to returns as necessary, arrange for test to compile own testcase
7047 executable.
7048 * lib/gdb.exp: Changes for testsuite to compile own test cases.
7049
7050 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7051
7052 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7053 clear_xfail at end of test which might not call either pass or fail.
7054 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7055 "backtrace through signal handler".
7056
7057 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7058
7059 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7060 continuing from a job control stop signal.
7061 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7062
7063 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7064
7065 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7066 * gdb.base/corefile.exp: Likewise.
7067 * gdb.base/funcargs.exp: Likewise.
7068
7069 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7070
7071 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7072 * config/monitor.exp: Add support for setting baud rate.
7073
7074 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7075
7076 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7077 i*86-*-linux* xfails for "backtrace through signal handler".
7078 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7079 "print func2::coremaker_local".
7080 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7081 alpha-dec-osf2* xfail for
7082 "delete all breakpoints when none".
7083
7084 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7085
7086 * gdb.base/break.exp: Change test that deletes all breakpoints
7087 when no user breakpoints are installed. A post 4.15 change
7088 causes gdb to no longer prompt in this case.
7089
7090 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7091
7092 * gdb.base/return.exp (return_tests): Change xfail for test
7093 "correct value returned double test" to stop xfailing at
7094 Solaris 2.5. Apparently the bug has been fixed.
7095
7096 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7097
7098 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7099 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7100
7101 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7102
7103 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7104 * gdb.disasm/hppa.s: Corresponding changes.
7105
7106 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7107
7108 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7109 makefile fragment.
7110 * config/mt-hpux: Deleted.
7111
7112 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7113
7114 * Many files: When warning about suppressed tests due to a
7115 nonexistant test binary, avoid incrementing the warning count.
7116
7117 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7118
7119 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
7120
7121 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7122
7123 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7124 "sparc-*-solaris2*".
7125
7126 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7127
7128 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7129 Add global and local variables and initialize them.
7130 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7131 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7132 extracts the file name and terminating signal from the core file.
7133 * TODO: Remove note about tests for correct mapping of corefile.
7134 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7135 from optimizing it away.
7136 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7137 handles common blocks.
7138
7139 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7140
7141 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7142 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7143
7144 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7145
7146 * Makefile.in (maintainer-clean): New target, synonym for
7147 realclean.
7148 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7149 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7150 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7151 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7152 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7153 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7154
7155 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7156
7157 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7158 xfails when not gcc compiled for "print foo::funclocal".
7159 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7160 "print foo::funclocal at foo",
7161 "print 'scope1.c'::foo::funclocal at foo",
7162 "print foo::funclocal_bss at foo",
7163 "print 'scope1.c'::foo::funclocal_bss at foo",
7164 "print foo::funclocal_ro at foo",
7165 "print 'scope1.c'::foo::funclocal_ro at foo",
7166 "print bar::funclocal at foo" and
7167 "print 'scope1.c'::bar::funclocal at foo".
7168 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7169 gcc compiled for "print foo::funclocal at bar".
7170 Expand all messages to ensure that they identify that
7171 the test is at bar().
7172 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7173 gcc compiled for:
7174 "ptype on opaque struct pointer (statically)",
7175 "ptype on opaque struct tagname (statically)",
7176 "ptype on opaque struct pointer (dynamically) 1",
7177 "ptype on opaque struct tagname (dynamically) 1",
7178 "ptype on opaque struct pointer (dynamically) 2" and
7179 "ptype on opaque struct tagname (dynamically) 2
7180 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7181 gcc compiled for:
7182 "p datalocal"
7183 "whatis datalocal",
7184 "ptype datalocal",
7185 "p bsslocal",
7186 "whatis bsslocal", and
7187 "ptype bsslocal".
7188 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7189 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7190 when not gcc compiled.
7191 * gdb.base/funcargs.exp (float_and_integral_args): Add
7192 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7193 compiled.
7194 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7195 "backtrace from call6a" when not gcc compiled.
7196 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7197 "backtrace from call7a" when not gcc compiled.
7198 * gdb.base/callfuncs.exp (do_function_calls):
7199 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7200 "p t_char_array_values(char_array_val2,char_array_val1)",
7201 "p t_char_array_values(char_array_val1,char_array_val2)",
7202 "p t_char_array_values("carray 1","carray 2")",
7203 "p t_char_array_values("carray 1",char_array_val2)",
7204 "p t_char_array_values(char_array_val1,"carray 2")",
7205 "p sum_args(1,{2})",
7206 "p sum_args(2,{2,3})",
7207 "p sum_args(3,{2,3,4})",
7208 "p sum_args(4,{2,3,4,5})"
7209 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7210 "backtrace in corefile.exp" when not gcc compiled.
7211
7212 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7213
7214 * gdb.base/signals.exp: Rewrite `handle all print' test as
7215 a procedure. Accept blanks or TABs as whitespace, increase
7216 timeout and expect input buffer size for the large output
7217 from the command. Remove "i*86-*-bsdi2.0" xfail.
7218
7219 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7220
7221 * gdb.base/setvar.exp: Add new testcases for truncation when
7222 assigning invalid values to bitfields.
7223
7224 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7225
7226 * gdb.base/callfuncs.exp (do_function_calls): Remove
7227 mips-sgi-irix* xfail for
7228 "call inferior func with struct - returns char *"
7229 and fix test so that an optional (unsigned char *) cast is
7230 accepted in the result.
7231
7232 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7233
7234 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7235 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7236 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7237 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7238 that accidentally got checked in.
7239
7240 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7241
7242 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
7243 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7244 compiled test.
7245 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7246 Add mips-sgi-irix5* xfail for not gcc compiled.
7247 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7248 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7249 "p top", "whatis top", "p middle", and "whatis middle".
7250 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7251 "whatis signed char" for not gcc compiled.
7252 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7253 "set variable signed char=-1 (-1)" and
7254 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7255 * gdb.base/funcargs.exp (float_and_integral_args):
7256 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7257 Add mips-sgi-irix* xfail when not gcc compiled for
7258 "continue to call2b".
7259 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7260 "continue to call2g".
7261 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7262 "backtrace from call6a"
7263 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7264 "backtrace from call7k".
7265 Add mips-sgi-irix5* xfail when not gcc compiled for
7266 "backtrace from call7a".
7267 (localvars_after_alloca): Fix gdb_test cmds for
7268 "print * after runto ...".
7269 Remove rs6000-*-* xfails for
7270 "print i after runto localvars_after_alloca" and
7271 "print l after runto localvars_after_alloca"
7272 for all compilers.
7273 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7274 when not compiled with gcc, for:
7275 "print signed char == (minus)",
7276 "print signed char != (minus)",
7277 "print signed char < (minus)",
7278 "print signed char > (minus)".
7279 * gdb.base/callfuncs.exp (do_function_calls):
7280 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7281 "call inferior func with struct - returns char *".
7282 * gdb.base/return.exp (return_tests): Change xfail for
7283 "correct value returned double test" to include Solaris 2.4.
7284 * gdb.base/funcargs.exp (float_and_integral_args):
7285 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7286
7287 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7288
7289 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7290 enumeration bitfields if compiling with GNU C.
7291 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7292 to empty' prompt.
7293
7294 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7295
7296 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7297 test for PRO targets.
7298
7299 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7300 breakpoints in the inferior at any given time by making
7301 two groups of breakpoints for call2*, call6* and call7*
7302 tests.
7303
7304 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7305
7306 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7307 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7308 from optimizing it away.
7309 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7310 "call inferior func with struct".
7311
7312 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7313
7314 * configure.in: Only configure gdb.chill for particular targets.
7315
7316 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7317
7318 * gdb.base/Makefile.in: Add action to .c.o transformation
7319 rule that generates a .ci file for each .o file and remove
7320 explicit .c.o rules except for callfuncs.o.
7321 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7322 generates a .ci file for each .o file and remove explicit
7323 .cc.o rules.
7324 (clean): Remove *.tmp *.ci files.
7325 (EXECUTABLES): Remove templ-info.exp.
7326 * gdb.base/compiler.c: New file.
7327 * gdb.c++/compiler.cc: New file
7328 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7329 Change rs6000-*-* xfail for
7330 "print 'scope0.c'::filelocal_ro" and
7331 "print 'scope1.c'::filelocal" and
7332 "print 'scope1.c'::filelocal_bss" and
7333 "print 'scope1.c'::filelocal_ro" and
7334 "print 'scope1.c'::foo::funclocal" and
7335 "print 'scope1.c'::foo::funclocal_ro" and
7336 "print 'scope1.c'::bar::funclocal" and
7337 "print 'scope0.c'::filelocal_ro" and
7338 "print 'scope1.c'::filelocal at foo" and
7339 "print 'scope1.c'::filelocal_bss at foo" and
7340 "print 'scope1.c'::filelocal_ro at foo" and
7341 "print 'scope1.c'::foo::funclocal at foo" and
7342 "print 'scope1.c'::foo::funclocal_bss at foo" and
7343 "print 'scope1.c'::foo::funclocal_ro at foo" and
7344 "print 'scope1.c'::bar::funclocal at foo" and
7345 "print 'scope0.c'::filelocal_ro" and
7346 "print 'scope1.c'::filelocal" and
7347 "print 'scope1.c'::filelocal_bss" and
7348 "print 'scope1.c'::filelocal_ro" and
7349 "print 'scope1.c'::foo::funclocal" and
7350 "print 'scope1.c'::foo::funclocal_bss" and
7351 "print 'scope1.c'::foo::funclocal_ro" and
7352 "print 'scope1.c'::bar::funclocal" and
7353 "print 'scope1.c'::bar::funclocal_bss"
7354 to only be xfail'd when not compiled with gcc.
7355 Add rs6000-*-* xfail for
7356 "print 'scope0.c'::filelocal_bss before run"
7357 when compiled with gcc.
7358 (test_at_main): Add rs6000-*-* xfail for
7359 "print filelocal_ro in test_at_main"
7360 when compiled with gcc.
7361 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
7362 Add rs6000-*-aix* xfail for
7363 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7364 "ptype t_char_array", not compiled with gcc.
7365 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7366 xfail for "list foo (in include file)" when gcc compiled.
7367 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7368 (integral_args): Add rs6000-*-* xfail for
7369 "run to call0a" if not compiled with gcc.
7370 (unsigned_integral_args): Add rs6000-*-* xfail for
7371 "run to call1a" if not compiled with gcc.
7372 (float_and_integral_args): Add rs6000-*-* xfail for
7373 "run to call2a" if not compiled with gcc and for
7374 "continue to call2b" for any compiler.
7375 Add rs6000-*-* xfail to
7376 "print f1 after run to call2a" for gcc compiled.
7377 (discard_and_shuffle): Add rs6000-*-* xfail for
7378 "run to call6a".
7379 (shuffle_round_robin): Add rs6000-*-* xfail for
7380 "backtrace from call7a" if not compiled with gcc.
7381 Add rs6000-*-* xfail for
7382 "backtrace from call7b" if compiled with gcc.
7383 (call_after_alloca): Add rs6000-*-* xfail for
7384 "print c in call_after_alloca" and
7385 "print s in call_after_alloca" and
7386 "backtrace from call_after_alloca_subr"
7387 if not compiled with gcc.
7388 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7389 "print c in localvars_in_indirect_call" and
7390 "print c in localvars_in_indirect_call" and
7391 "backtrace in indirectly called function" and
7392 "stepping into indirectly called function"
7393 if not compiled with gcc.
7394 (localvars_after_alloca): Add rs6000-*-* xfail for
7395 "print c after runto localvars_after_alloca" and
7396 "print s after runto localvars_after_alloca" and
7397 "print i after runto localvars_after_alloca" and
7398 "print l after runto localvars_after_alloca"
7399 for all compilers.
7400 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7401 than whatis-info.exp.
7402 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7403 than opaque-info.exp.
7404 Setup rs6000-*-* xfail for
7405 "ptype on opaque struct pointer (statically)" and
7406 "ptype on opaque struct pointer (dynamically)" when
7407 not compiled with gcc.
7408 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7409 rather than callf-info.exp.
7410 (do_function_calls): Add clear_xfail for rs6000-*-* for
7411 "p t_float_values2(3.14159,float_val2)". Seems to work
7412 fine there, both with xlc and gcc. Need to find out what
7413 it is doing right and fix other platforms.
7414 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7415 "call inferior func with struct - returns int",
7416 "call inferior func with struct - returns long",
7417 "call inferior func with struct - returns float",
7418 "call inferior func with struct - returns double",
7419 "call inferior func with struct - returns char *",
7420 but only if not gcc compiled (presumes xlc compiled).
7421 Change rs6000-*-* xfails for
7422 "call inferior func with struct - returns char" and
7423 " call inferior func with struct - returns short" to only
7424 xfail if not using gcc.
7425 (clean mostlyclean): Remove *.ci and *.tmp files.
7426 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7427 than templ-info.exp.
7428 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7429 Add rs6000-*-* xfail for "up to foo in langs.exp"
7430 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7431 when not gcc compiled.
7432
7433 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7434
7435 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7436 * gdb.base/corefile.exp: Likewise.
7437 * gdb.base/list.exp: Likewise.
7438 * gdb.base/scope.exp: Likewise.
7439 * gdb.base/siganls.exp: Likewise.
7440
7441 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7442 compiler output.
7443 * gdb.base/whatis.exp: Likewise.
7444
7445 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7446
7447 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7448 failure (opcode table has been fixed to match reality).
7449
7450 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7451
7452 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7453 "call inferior func with struct - returns char",
7454 "call inferior func with struct - returns short"
7455
7456 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7457 "print 'scope0.c'::filelocal at main",
7458 "print 'scope0.c'::filelocal_bss in test_at_main",
7459 "print 'scope0.c'::filelocal at foo",
7460 "print 'scope0.c'::filelocal_bss in test_at_foo",
7461 "print 'scope0.c'::filelocal at bar",
7462 "print 'scope0.c'::filelocal_bss in test_at_bar"
7463
7464 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7465 in source file 1". This bug seems to have been fixed with both
7466 gcc and native cc (was native assembler bug?).
7467
7468 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7469
7470 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7471 "backtrace through signal handler" to "i*86-*-sysv4*".
7472 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7473 continue" case. Add "known SVR4 bug" to fail message.
7474 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7475 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7476 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7477 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7478 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7479 "up to foo in langs.exp", "show language at foo in
7480 langs.exp", "up to cppsub_ in langs.exp", "show
7481 language at cppsub_ in langs.exp", "up to fsub in
7482 langs.exp", and "show language at fsub in langs.exp".
7483 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7484 "bactrace in corefile.exp".
7485 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7486 "call inferior function with struct - returns float" and
7487 "call inferior function with struct - returns double".
7488
7489 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7490
7491 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7492 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7493 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7494 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7495
7496 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7497
7498 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7499 (or overriden) "CHILL" macro rather then bare "gcc".
7500 Also look for ../../gcc/xgcc since that is what we will
7501 actually need, not "Makefile". Remove following assignment
7502 of CHILL to CHILL_FOR_TARGET because that results in
7503 recursive definition.
7504
7505 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7506
7507 * gdb.base/corefile.exp: Change xfail for backtrace in
7508 corefile.exp from linuxaout to all linux.
7509 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7510 cases where we miss the breakpoint at the signal handler
7511 for some reason. Setup xfail for linuxoldld/linuxaout and
7512 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7513 hitting SIGURG breakpoint.
7514 * gdb.base/signals.exp: Setup xfail for "next" acting like
7515 continue to add linuxoldld. Setup xfail for all linux for
7516 "next to handler in signals_tests_1", "backtrace in
7517 signals_tests_1", "continue to func1", "pass SIGUSR1",
7518 and continue to handler".
7519
7520 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7521
7522 * Update all FSF addresses except those in COPYING* files.
7523
7524 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7525
7526 * gdb.base/a2-run.exp: Change messages to be more explicit about
7527 the status of args, and quote binfile in results.
7528
7529 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7530
7531 * gdb.base/callfuncs.exp: Add tests for passing structs to
7532 inferior functions and return various types.
7533 * gdb.base/callfuncs.c: Add functions to receive a struct
7534 and return a member of the struct, in various types.
7535
7536 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7537
7538 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7539
7540 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7541
7542 * config/vxworks29k.exp: New file, sources vxworks.exp.
7543
7544 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7545
7546 * config/gdbremote.exp: New file. Testing framework using
7547 gdbserver.
7548
7549 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7550
7551 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7552 "call function when asleep" and "send end of file".
7553 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7554 for "backtrace in corefile.exp".
7555 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7556 for "backtrace through signal handler".
7557 * gdb.base/corefile.exp: Make sure we actually generate a core file
7558 before trying the core tests. Some systems allow the user to suppress
7559 generation of core files and default to that (linux for example).
7560 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7561 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7562
7563 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7564
7565 * gdb.threads: New directory with some crude multi-threaded
7566 gdb tests (step.exp and step2.exp).
7567 * config/mt-lynx (STEP_EXECUTABLE): Define.
7568 (THREADFLAGS): Define.
7569
7570 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7571
7572 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7573
7574 * gdb.base/signals.exp: Disable whole file for lynx until
7575 further notice.
7576
7577 * gdb.base/signals.exp: xfail test where "next" acts like
7578 "continue" for lynx.
7579
7580 * gdb.base/interrupt.exp: xfail test for calling function while
7581 inferior is asleep for lynx.
7582
7583 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7584 than one cr-lf after each command.
7585
7586 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7587
7588 * configure.in: Reinstate setting of stabsdirs variable, fix
7589 typo in setting up configdirs for native builds.
7590
7591 * gdb.base/return.exp: Fix typo in return double test.
7592 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7593 compiler from optimizing them away.
7594
7595 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7596
7597 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7598 sequences to be echo'd by gdb when using gdb_test.
7599 * gdb.chill/chexp.exp: Likewise.
7600 * gdb.fortran/exprs.exp: Likewise
7601
7602 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7603
7604 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7605 after the inferior gdb has started.
7606
7607 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7608 after each command.
7609 * gdb.base/funcargs.exp: Likewise.
7610 * gdb.base/gdbvars.exp: Likewise.
7611 * gdb.base/interrupt.exp: Likewise.
7612 * gdb.base/list.exp: Likewise.
7613 * gdb.base/watchpoint.exp: Likewise.
7614 * gdb.c++/demangle.exp: Likewise.
7615 * gdb.c++/inherit.exp: Likewise.
7616 * gdb.chill/chexp.exp: Likewise.
7617 * gdb.fortran/exprs.exp: Likewise.
7618
7619 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7620 test if we can't handle IO to/from the inferior.
7621
7622 * gdb.c++/misc.exp: Always check for a program already being
7623 started after sending a "run" command to gdb.
7624
7625 * gdb.base/twice.exp: Start with a fresh gdb.
7626
7627 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7628 only depend on gdb's expression code, not the chill runtime.
7629
7630 * gdb.base/return.c: Put return values into variables so we
7631 can have gdb print them rather than depending on the program
7632 to print them.
7633 * gdb.base/return.exp: Corresponding changes.
7634
7635 * lib/gdb.exp: Provide default value for noinferiorio.
7636 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7637 the inferior.
7638
7639 * gdb.base/break.exp: Always check for a program already being
7640 started after sending a "run" command to gdb.
7641 (text_next_with_recursion): Don't check the output from the
7642 program's printf statement. Instead just make sure the program
7643 exited.
7644
7645 * gdb.base/commands.exp: Protect tests which need arguments with
7646 $noargs conditionals.
7647
7648 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7649
7650 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7651 of structure member arrays to match gdb/valops.c:value_addr change.
7652
7653 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7654
7655 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7656 cases.
7657
7658 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7659
7660 * configure.in (configdirs): Remove gdb.chill from default list
7661 of subdirs and then add it back in only if doing a native build.
7662 The current chill compiler does not yet work in any cross build.
7663 * Revert all signal changes from Jul 6.
7664 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7665 for sh-hms targets, allowing these tests to link, with no other
7666 changes. Testing is suppressed by setting "nosignals" in site.exp.
7667
7668 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7669
7670 * configure.in (signaldirs): Define and add to configdirs for all
7671 targets except some specific ones that are known to not support signals.
7672 Also clean up formatting.
7673 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7674 (signals, sigall): Remove rules to build.
7675 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7676 Moved to new gdb.signals directory.
7677 * gdb.signals: New test directory.
7678 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7679 signals.c signals.exp}: New or moved files.
7680
7681 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7682
7683 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7684
7685 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7686
7687 * gdb.base/return.exp: Xfail `return double' test failure
7688 on at least Solaris 2.3 and handle future/past versions on
7689 a case by case basis as appropriate. Also update message
7690 to include i*86 failures.
7691
7692 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7693
7694 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7695
7696 * lib/gdb.exp: Fix comment which erroneously identified
7697 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7698 gdb_file_cmd not gdb_load).
7699 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7700
7701 * gdb.base/setvar.exp: Make test names consistent between pass and
7702 fail cases. Use gdb_test more.
7703
7704 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7705
7706 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7707
7708 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7709
7710 * gdb.base/help.exp: Fix expected help string for `show commands'.
7711
7712 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7713
7714 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7715
7716 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7717 of a text section.
7718
7719 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7720
7721 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7722 that loop eventually terminates. Fix Connection refused logic so
7723 that testsuite will expire nicely.
7724
7725 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7726
7727 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7728 config/rom68k.exp: New tcl glue for the appropriate monitors.
7729 These all just end up calling monitor.exp.
7730 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7731 refused' by retrying. Cleanup some timeout issues.
7732 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7733 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7734 callers don't have to set/restore global timeout variable.
7735
7736 * The following set of changes centralizes management of the global
7737 timeout variable. This way, it can be set in one target dependent
7738 place instead of dozens of places scattered throughout the test suite.
7739 If you need to lengthen a timeout, then you should either set timeout
7740 in one of the config/{target}.exp files, or multiply it by a factor.
7741 Setting it to an absolute value is always going to lose for some
7742 targets.
7743 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7744 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7745 * gdb.base/funcargs.exp: Don't set timeout.
7746 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7747 * gdb.base/printcmds.exp (test_print_string_constants
7748 test_print_array_constants): Don't set timeout.
7749 * gdb.base/ptype.exp: Don't set timeout.
7750 * gdb.base/recurse.exp: Don't set timeout.
7751 * gdb.base/return.exp: Don't set timeout.
7752 * gdb.base/watchpoint.exp: Don't set timeout.
7753 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7754 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7755
7756 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7757
7758 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7759
7760 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7761
7762 * lib/gdb.exp: Disable chill tests for irix5.
7763
7764 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7765
7766 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7767 each test pass or fail.
7768
7769 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7770
7771 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7772 xlc not gcc.
7773
7774 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7775
7776 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7777
7778 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7779
7780 * config/est.exp: Fix copyright and comments. Remove dead code.
7781 Use targetname, serialport and baud variables instead of fixed
7782 constants.
7783 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7784 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7785
7786 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7787
7788 * gdb.base/watchpoint.exp: Don't run
7789 test_watchpoint_triggered_in_syscall for sunos.
7790
7791 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7792
7793 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7794 they don't seem to exist. Do include stdio.h.
7795
7796 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7797
7798 * gdb.base/a1-selftest.exp: Add alpha xfail.
7799
7800 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7801
7802 * gdb.base/watchpoint.c (main): Prompt before calling read().
7803 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7804 Revise accordingly. Remove cruft about sending "123" several
7805 times, until it gets noticed. Clean up the "print buf[0]" stuff
7806 so that it passes or fails, and waits for prompts in the usual way.
7807
7808 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7809
7810 * gdb.base/recurse.exp: Fix comment.
7811
7812 * TODO: Remove item about printing variables in nodebug.exp. Add
7813 item about enabling tests which are only run on some targets.
7814
7815 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7816 fail, make test names unique, use new gdb_test convention
7817 regarding pattern, use gdb_test more, etc.).
7818
7819 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7820 fail, make test names unique, etc.).
7821
7822 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7823
7824 * gdb.base/nodebug.c: Change return type of top and middle to
7825 short.
7826 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7827 are fixed by the recent mdebugread.c changes. Allow `short ()'
7828 as type for top and middle.
7829
7830 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7831
7832 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7833 nearly as I can tell, the whole thing was an accident in Stu's
7834 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7835 to replace a send/expect pair with gdb_test, but ended up only
7836 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7837 of 30 Mar 1995 took care of it, but left this vestigial comment
7838 which I am now nuking.
7839
7840 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7841
7842 * gdb.base/break.exp: Look for different line number for
7843 breakpoint at main depending on usestubs.
7844
7845 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7846
7847 * gdb.base/list.exp: Adjust some alternate expect patterns to
7848 match recent list0.c change. Add alternate expect pattern for
7849 output from `list default lines around main' for optimizing
7850 compilers.
7851
7852 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7853
7854 * lib/gdb.exp: If nosignals is not set, set it to 0.
7855
7856 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7857
7858 * config/slite-gdb.exp: Responds to load symbol table prompt.
7859 * gdb.base/break.exp: Adjust line number, fix rerun.
7860 * gdb.base/langs0.c: Add #ifdef usestubs.
7861
7862 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7863
7864 * gdb.base/list.exp: Adjust line contents after adding new lines in
7865 list0.c. Also fix a syntax error.
7866
7867 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7868 * gdb.base/break.exp: ditto.
7869 * gdb.base/list.exp: ditto.
7870 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7871 * gdb.base/run.c: ditto.
7872 * gdb.base/list0.c: ditto.
7873 * gdb.base/funcargs.c: ditto.
7874
7875 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7876
7877 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7878 $targetname, $serialport and $baud instead of hardwired variables.
7879 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7880 target doesn't support signals.
7881
7882 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7883
7884 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7885
7886 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7887
7888 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7889 Don't rely on the value of an auto variable before it has been
7890 initialized. Use gdb_test more.
7891
7892 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7893
7894 * lib/gdb.exp (default_gdb_version): A version number must start
7895 with a digit, but other than that contains all characters up to
7896 the first whitespace character.
7897
7898 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7899
7900 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7901
7902 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7903
7904 * gdb.c++/*.exp: Warn if executable does not exist. The original
7905 reason for skipping the warning was that configure.in sometimes
7906 intentionally skipped building the executables but the tcl code
7907 had no way of knowing. That (a) was always bogus with respect to
7908 error handling, (b) is no longer true (right now there is no way
7909 to skip C++ tests).
7910
7911 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7912
7913 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7914
7915 * gdb.base/list.exp: Add expect patterns for output from
7916 SunPRO compiled executables.
7917 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7918 types.
7919
7920 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7921
7922 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7923 number (we are already testing that the correct source line text
7924 gets printed).
7925
7926 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7927 that is what is intended, but something needed to be done to get
7928 sunos4 native working again.
7929
7930 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7931
7932 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7933 apparently went with a (very) old xfail.
7934
7935 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7936
7937 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7938 runto_main is a proc in gdb.exp that will do 'step' for target use
7939 stubs.
7940 * gdb.base/exprs.exp: ditto.
7941 * gdb.base/interrupt.exp: ditto.
7942 * gdb.base/opaque.exp: ditto.
7943 * gdb.base/printcmds.exp: ditto.
7944 * gdb.base/ptype.exp: ditto.
7945 * gdb.base/scope.exp: ditto.
7946 * gdb.base/setvar.exp: ditto.
7947 * gdb.base/signals.exp: ditto.
7948 * gdb.base/twice.exp: ditto.
7949 * gdb.c++/classes.exp: ditto.
7950 * gdb.c++/inherit.exp: ditto.
7951 * gdb.c++/templates.exp: ditto.
7952 * gdb.base/break.exp: no run and hit main for stubs. Change line
7953 numbers for breakpoints and info breakpoint.
7954 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7955 breakpoint().
7956 * gdb.base/callfuncs.c: ditto.
7957 * gdb.base/exprs: ditto.
7958 * gdb.base/interrupt.c: ditto.
7959 * gdb.base/opaque0.c: ditto.
7960 * gdb.base/printcmds.c: ditto.
7961 * gdb.base/ptype.c: ditto.
7962 * gdb.base/scope0.c: ditto.
7963 * gdb.base/setvar.c: ditto.
7964 * gdb.base/signals.c: ditto.
7965 * gdb.base/twice.c: ditto.
7966 * gdb.c++/misc.cc: ditto.
7967 * gdb.c++/templates.cc: ditto.
7968
7969 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7970
7971 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7972
7973 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7974 somewhere between `read' and `main.c'. I'm pretty sure the
7975 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7976 and it isn't particularly useful.
7977
7978 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7979
7980 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7981
7982 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7983
7984 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7985
7986 * config/mt-slite: add LIBS and -nostdlib.
7987 * config/slite-gdb.exp: add this new file to support sparclite target.
7988
7989 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7990
7991 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7992
7993 * gdb.base/a2-run.exp: Change argument to istarget from
7994 "*-*-vxworks" to "*-*-vxworks*".
7995 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7996
7997 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7998
7999 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8000 will not runto main but do a 'step' to step out of breakpoint().
8001 * config/mt-slite: add -Dusestubs.
8002
8003 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8004
8005 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8006 instead of just @.
8007
8008 * gdb.base/signals.exp: Add test for "handle all print".
8009 * TODO: Remove "handle all print". Also remove item about
8010 checking copyright date (I don't like the idea of a spurious FAIL
8011 based on when we run the tests).
8012
8013 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8014 for SunOS4 (reason for failure not investigated). Remove
8015 redundant test for $binfile.
8016
8017 * gdb.base/nodebug.c (array_index): Call malloc.
8018
8019 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8020
8021 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8022
8023 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8024 conventions and slightly simplify the matching regexp.
8025
8026 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8027
8028 * gdb.base/break.exp: Update gdb_test invocation to use new
8029 convention.
8030
8031 * lib/gdb.exp: If noargs is not set, set it to 0.
8032
8033 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8034 tests unique.
8035
8036 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8037
8038 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8039
8040 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8041 one argument of type "<non-float parameter>".
8042
8043 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8044
8045 * config/rom68k.exp: New file to support Motorola IDP board.
8046 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8047 * gdb.base/break.c: Change things around so that this program
8048 doesn't depend upon args. This is necessary to make remote
8049 targets work (in general, they can't take args).
8050 * gdb.base/break.exp: Don't try to send args to program. Don't
8051 expect output. Also, replace lots of code with gdb_test.
8052
8053 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8054
8055 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8056 printing of '\'' (which is what the comment says we are testing,
8057 even though we were not), not '''.
8058 (test_integer_literals_rejected): Test that printing ''' is an error.
8059
8060 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8061 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8062 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8063 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8064 Use gdb_test not test_print_accept.
8065 * lib/gdb.exp: Remove test_print_accept.
8066
8067 * gdb.base/signals.exp (signal_tests_1): Make pass message
8068 consistent with fail message.
8069
8070 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8071 unsigned char; the bug (PR 1821) is fixed.
8072
8073 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8074
8075 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8076 successful tests--makes xfailing them work right.
8077
8078 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8079
8080 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8081 only \r\n, not .*. The test can pass .* as the last thing in
8082 $pattern if that is what it wants. In addition to providing this
8083 flexibility, this change should speed up pattern matching in cases
8084 where the pattern already ended with .* (there were a number of
8085 them). This change also helps catch bad patterns--in the old
8086 scheme the typo "char \*" instead of "char \\*" would pass. Now
8087 it is caught.
8088 * Many .exp files: Update callers.
8089
8090 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8091 clearer and does not spuriously match multiple ('s. Likewise for
8092 ) and *.
8093
8094 * gdb.base/nodebug.exp: Test ability to call a function and pass
8095 it a string (even with no debugging info).
8096
8097 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8098 "p '\'", which is the same as "p ''" once tcl gets done with
8099 quoting, to "p '\\'", which I suspect is what is intended (one
8100 backslash gets sent to GDB).
8101
8102 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8103
8104 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8105
8106 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8107 1817) was fixed literally years ago.
8108
8109 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8110
8111 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8112 test, it causes stepping out of call_after_alloca_subr with
8113 optimizing compilers.
8114 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8115 fails.
8116
8117 * gdb.c++/templates.exp: Source templ-info.exp only if
8118 the templates executable exists.
8119
8120 * gdb.c++/misc.cc (class Contains_static_instance,
8121 class Contains_nested_static_instance),
8122 gdb.c++/classes.exp (test_static_members): Test printing of
8123 a class that contains a static instance of the class.
8124
8125 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8126
8127 * gdb.base/langs2.c (cppsub_): Don't prototype.
8128 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8129 only, I believe).
8130
8131 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8132
8133 * lib/gdb.exp (skip_chill_tests): New procedure.
8134
8135 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8136
8137 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8138
8139 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8140 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8141
8142 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8143
8144 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8145
8146 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8147 disassemble 8, not 16, instructions for part 4.
8148
8149 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8150 support the latter anymore.
8151
8152 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8153 -DNO_PROTOTYPES.
8154 * gdb.base/callfuncs.c: Control use of prototypes based on
8155 NO_PROTOTYPES, not __STDC__.
8156 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8157 t_float_values2 tests if prototypes in use.
8158
8159 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8160 t_double_values): When checking differences against DELTA, check
8161 that difference is within the range (-DELTA,DELTA), not just
8162 (-infinity,DELTA).
8163
8164 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8165
8166 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8167 'file' command firts, then 'target', then 'load', this is due to gdb
8168 target set up.
8169 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8170
8171 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8172
8173 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8174 FP load/store variants.
8175 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8176
8177 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8178
8179 * gdb.base/term.exp: Do not give a warning if not native, it is
8180 not an abnormal condition.
8181
8182 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8183
8184 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8185 t_char_array".
8186
8187 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8188
8189 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8190 are getting the version number.
8191
8192 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8193 if not native, it is not an abnormal condition.
8194
8195 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8196
8197 * lib/gdb.exp: Just use "file exists", rather than undocumented
8198 dejagnu procedure "findfile".
8199
8200 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8201
8202 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8203 (LDFLAGS): Set to -Xlinker -Ur.
8204
8205 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8206 Removed, these values are set by lib/gdb.exp.
8207
8208 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8209
8210 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8211
8212 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8213 of replicating gdb startup code.
8214
8215 * config/mt-vxworks (LDFLAGS): Set to -r.
8216 (CFLAGS_FOR_TARGET): Removed.
8217
8218 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8219 (gdb) and gdb for vxworks uses (vxgdb).
8220
8221 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8222 executable is not in the tree and host != target, use sed and
8223 program_transform_name to determine the gdb name used by the
8224 target.
8225
8226 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8227 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8228
8229 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8230
8231 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8232 floats, chars, and shorts where there are ANSI-style function
8233 definitions.
8234
8235 * gdb.base/langs.exp, gdb.base/langs*: New test.
8236 * gdb.base/Makefile.in: Build it.
8237 * TODO: Remove item about checking that C names don't get C++
8238 demangling applied; this test tests it.
8239
8240 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8241
8242 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8243 went with the const70 xfail. The xfail went away a year ago.
8244
8245 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8246
8247 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8248 for hp300.
8249
8250 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8251
8252 * gdb.base/a1-selftest.exp: Don't run on hp300.
8253
8254 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8255
8256 * Makefile.in (site.exp): Set host_alias and target_alias as well
8257 as host_triplet and target_triplet.
8258
8259 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8260
8261 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8262
8263 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8264 places as other ecoff systems).
8265
8266 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8267 ultrix.
8268
8269 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8270
8271 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8272 remove them.
8273 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8274 variable and "variable" in addition to "data variable".
8275 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8276
8277 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8278 2.
8279 * gdb.base/list1.c (long_line): Add additional statement at start
8280 of function.
8281 * gdb.base/list.exp (test_forward_search): Update line number to
8282 reflect new statement.
8283
8284 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8285
8286 * gdb.base/signals.exp: Reinitialize searched source directories
8287 after gdb_start call.
8288
8289 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8290
8291 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8292 * gdb.stabs/Makefile.in: Likewise.
8293
8294 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8295 change. Instead split the tests into smaller pieces.
8296 * gdb.disasm/hppa.s: Corresponding changes.
8297
8298 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8299
8300 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8301 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8302
8303 * gdb.base/funcargs.exp: Modify many tests so that every test
8304 either passes or fails. Make some test names unique.
8305
8306 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8307
8308 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8309 Call stty to set interrupt character.
8310
8311 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8312 for HP assembler versus GNU assembler based on actual behavior of
8313 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8314
8315 * TODO: Suggest a few more stepping tests.
8316
8317 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8318
8319 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8320 restart GDB for h8300 after a continue.
8321 (return): Add pattern to match a29k-udi behavior.
8322 * gdb.base/nodebug.exp: Remove obsolete comment.
8323 * gdb.base/regs.exp: New file, testing of register displays.
8324 * gdb.base/return.exp: Fix typo in reference to $objdir.
8325 * gdb.base/whatis.exp: Always start with a fresh GDB.
8326
8327 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8328
8329 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8330 higher, these tests generate a lot of output.
8331
8332 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8333
8334 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8335 code following the catch silently ignored some errors; without the
8336 catch they should be thrown like any other tcl error. Also, the
8337 catch used "" instead of {} which meant all the callers who wanted
8338 to include one of the characters "[]$ had to quote it an extra time.
8339 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8340 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8341 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8342 Remove extra quoting.
8343
8344 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8345
8346 * gdb.base/commands.exp: Make test names unique; every test either
8347 passes or fails. Update some comments.
8348
8349 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8350
8351 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8352
8353 The following fixes a FAIL caused by the fact that the alpha stabs
8354 configuration didn't use the ".if alpha" code in weird.def.
8355 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8356 bit pointer, so the 32 bit version works even on the alpha.
8357 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8358 Remove the stuff which allowed us to have separate versions for
8359 alpha and everything else.
8360
8361 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8362 regexp which "info func operator\[\](" is supposed to match. Fix
8363 string to send to GDB. Note that GDB still doesn't work right. Add a
8364 new test for "info func .perator\[\](" which GDB does handle correctly.
8365
8366 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8367
8368 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8369
8370 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8371 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8372 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8373 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8374 it makes the tests harder to understand and confuses test-o-matic.
8375 The preferred style is that each test provides a PASS or a FAIL,
8376 and has a unique message (e.g. "continue #54" not just "continue")
8377 which is the same for the pass and the fail.
8378 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8379 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8380 to lib/gdb.exp.
8381 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8382 prt_accept which was basically the same thing. Likewise for
8383 test_print_reject and prt_reject.
8384 * lib/gdb.exp (test_print_reject): Add some more error message
8385 patterns to match from the former printcmds.exp (prt_reject).
8386 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8387 One defect of the passcount stuff is that some of it failed to
8388 report XPASS where appropriate.
8389 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8390 stuff before and after arg in expected pattern.
8391 (test_paddr_operator_functions): Re-do test without print_addr_of;
8392 this is the only test which seems to want extra stuff there.
8393
8394 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8395
8396 * gdb.base/nodebug.exp: Update new tests to reflect improved
8397 wording of gdb output.
8398
8399 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8400 and "ptype" work on variables in files compiled without -g.
8401 Replaces commented out "maint print msymbol" tests.
8402
8403 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8404
8405 * gdb.base/setvar.c (dummy): Call malloc.
8406
8407 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8408 losing with the irix4 sed.
8409
8410 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8411 ALRM" on irix4.
8412
8413 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8414
8415 * TODO: Remove items about corefile.exp testing new exec-file and
8416 backtrace; both are now done. Add items about printing enums.
8417
8418 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8419
8420 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8421 "get signal $thissig" test fails.
8422
8423 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8424
8425 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8426
8427 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8428 compiler warning with dec alpha compiler.
8429
8430 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8431 extra \n from gdb_test call (this explains why the prompt test
8432 that I removed yesterday was there).
8433 (user_defined_command_test): Remove extra \n and prompt test.
8434
8435 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8436 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8437 doesn't exist.
8438 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8439 Also remove alpha workaround, which turns out to be because
8440 SIGABRT == SIGLOST.
8441
8442 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8443
8444 * gdb.base/help.exp: Don't test "help show".
8445
8446 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8447
8448 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8449 "set print address" is on.
8450 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8451 pass prompt to gdb_test; gdb_test already looks for the prompt.
8452
8453 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8454
8455 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8456 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8457 was to make sure that gdb can read a core file. But (a) the "read
8458 the corefile" part didn't make it to a1-selftest.exp, we just
8459 delete the corefile after creating it, and (b) we test reading
8460 corefiles in corefile.exp anyway. Also, this test left around a
8461 xgdb process on Solaris.
8462
8463 * gdb.base/corefile.exp: Also test backtrace.
8464
8465 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8466
8467 * gdb.base/commands.exp: Test a simple user defined command with
8468 arguments and if/while statements; verify the full user command is
8469 printed by "show user".
8470
8471 * gdb.base/commands.exp: Test if/while commands as part of a
8472 breakpoint command list; verify they appear in breakpoint
8473 information.
8474
8475 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8476
8477 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8478 than by dividing by zero.
8479
8480 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8481
8482 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8483 performing an inferior call with watchpoints enabled.
8484 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8485 call.
8486
8487 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8488
8489 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8490 of "file" command.
8491
8492 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8493 Add additional pattern for when "int operator int(void);" appears
8494 in a different order.
8495
8496 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8497
8498 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8499
8500 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8501 and "signal" with ".*".
8502
8503 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8504
8505 * TODO: Add note about "handle all nostop".
8506
8507 * gdb.base/{sigall.c, sigall.exp}: New test.
8508 * gdb.base/Makefile.in: Add it.
8509
8510 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8511
8512 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8513 when invoking GDB, suppresses any windowing interface.
8514
8515 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8516
8517 * config/sim-gdb: New file, simulator testing support.
8518
8519 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8520
8521 * gdb.base/interrupt.exp: Test calling func1 twice.
8522
8523 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8524
8525 * gdb.base/list.exp (test_forward_search): Set timeout higher
8526 when we'll be getting lots of output from gdb.
8527
8528 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8529 "init_malloc" to after the expect statement. Run it if that
8530 regexp is taken, but also for two others which happen if source
8531 cannot be found.
8532
8533 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8534
8535 * gdb.base/printcmds.exp: New test, for printing register before
8536 program is running.
8537
8538 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8539
8540 * gdb.base/list.exp: Correct some alternate expect patterns
8541 to reflect changes in list1.c.
8542
8543 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8544
8545 * TODO: Add item regarding large frames.
8546
8547 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8548
8549 * TODO: Remove item about enabling return.exp; it
8550 is enabled. Suggest a few more "return" tests.
8551
8552 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8553
8554 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8555 anonymous unions.
8556
8557 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8558
8559 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8560 and pr-5646.o, so "make" is the same as "make all", not "make
8561 pr-4975.o".
8562
8563 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8564
8565 * gdb.base/list.exp: Adjust expectations to reflect changes in
8566 list1.c.
8567 (test_forward_search): New test proc.
8568 * gdb.base/list1.c (long_line): New function, has long source line.
8569
8570 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8571
8572 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8573 additional line of code that was added.
8574
8575 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8576
8577 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8578 tests so as not to overflow expect's input buffers.
8579 * gdb.disasm/hppa.exp: Corresponding changes.
8580
8581 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8582
8583 Beginnings of template debugging tests.
8584 * gdb.c++/templ-info.cc: New file to test for template
8585 debugging capability of the compiler.
8586 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8587 templ-info.cc.
8588 * gdb.c++/templates.cc: Add explicit template instantiations
8589 to enable compiling with -fno-implicit-templates. Add destructor
8590 and 'value' method to T5 class for template tests.
8591 * gdb.c++/templates.exp: Add testcases for printing of template
8592 types, setting breakpoints on template methods and calling a
8593 template method.
8594
8595 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8596
8597 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8598 branch target since some assemblers (gas-2.5) may emit a
8599 relocation for the branch instead of resolving it in the
8600 assembler.
8601
8602 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8603
8604 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8605 through signal handler.
8606
8607 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8608
8609 * configure.in (*-*-netware): Use config/mt-netware.
8610
8611 * config/mt-netware: New file.
8612 * config/mt-i386-netware: Removed, separate configs for different
8613 netware architectures are no longer needed now that we have
8614 --with-headers.
8615
8616 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8617
8618 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8619 by the recent changes to use ANSI C arithmetic conversions.
8620
8621 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8622
8623 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8624 bug involving using inferior_pid to figure out whether to select a
8625 frame.
8626
8627 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8628
8629 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8630 match the current disassembler output.
8631
8632 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8633
8634 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8635 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8636 types, expect "int" as type of integer values (for now).
8637
8638 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8639
8640 * gdb.base/commands.exp: New tests for if/while commands.
8641
8642 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8643
8644 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8645 by .*, since hex values have different syntax in Chill mode.
8646
8647 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8648
8649 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8650 linefeed from expect pattern for repeated types with indices > 9.
8651
8652 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8653
8654 First part of Fortran test suite.
8655 * gdb.fortran: New directory.
8656 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8657
8658 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8659
8660 * gdb.base/default.exp: Update expect pattern for load command
8661 without arguments.
8662
8663 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8664
8665 * configure.in: Change i386 to i[345]86.
8666 * gdb.base/configure.in: Likewise.
8667 * gdb.c++/configure.in: Likewise.
8668 * gdb.chill/configure.in: Likewise.
8669
8670 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8671
8672 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8673 patterns, since that is not a valid context for comments.
8674
8675 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8676
8677 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8678 repeated types and repeated types with indices > 9.
8679
8680 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8681
8682 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8683 2417; old bug has been fixed.
8684
8685 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8686
8687 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8688 send the newline ourselves instead of assuming gdb_test will do
8689 so when passed an empty input string.
8690
8691 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8692 stabs testcode.
8693
8694 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8695
8696 * lib/gdb.exp (gdb_test): Don't send anything if the first
8697 argument is an empty string. This makes cases where we want to
8698 match output that is already in expect's buffers (for example,
8699 matching a breakpoint after gdb_run_cmd has been called) work
8700 reliably.
8701
8702 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8703
8704 * config/netware.exp: New file.
8705
8706 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8707
8708 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8709 the -B and -L prefixes so we can find the debugging stub.
8710
8711 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8712 there and we are using the gcc from the tree.
8713
8714 * gdb.base/types.c: Removed.
8715
8716 * gdb.base/configure.in: Look for makefile fragments in ../config.
8717 Recognize i386-*-netware.
8718 * gdb.c++/configure.in: Likewise.
8719
8720 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8721
8722 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8723 the correct TCL syntax.
8724
8725 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8726
8727 * gdb.base/opaque.exp: use runto instead of messing around with
8728 breakpoints. Simplify by using gdb_test.
8729
8730 * gdb.base/bitfields.exp: restart between tests on netware targets
8731 because breakpoints aren't relocated after target death. Run
8732 processes to completion.
8733
8734 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8735
8736 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8737
8738 * Makefile.in: Remove extra tabs that confuse some versions
8739 of "make". Use the newly built gdb to test with by default,
8740 rather than the first one in the tester's search path.
8741
8742 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8743
8744 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8745
8746 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8747 condition help.
8748
8749 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8750
8751 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8752
8753 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8754 running.
8755 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8756 * gdb.base/funcargs.exp: Likewise.
8757
8758 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8759 * gdb.base/funcargs.exp: Likewise.
8760
8761 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8762 message is "".
8763
8764 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8765
8766 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8767 return,signals,twice}.exp: Handle non-existant binaries
8768 consistantly.
8769
8770 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8771 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8772 might testing a cross development system.
8773
8774 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8775
8776 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8777 runtest script is relative to ${srcdir}, not ${rootdir}.
8778
8779 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8780
8781 * gdb.base/signals.exp: Allow for optionality of breakpoint
8782 address.
8783
8784 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8785
8786 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8787
8788 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8789
8790 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8791 for size_t definition.
8792 * gdb.c++/templates.cc: Likewise
8793
8794 * config/mt-i386-netware: New file.
8795
8796 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8797 defined.
8798
8799 * gdb.base/Makefile.in: Added support for systems that name core
8800 files by appending "core" to the program name.
8801 * gdb.base/a1-selftest.exp: Likewise.
8802
8803 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8804
8805 * gdb.base/return.exp: Add comment and message for `return double'
8806 test failure on Sparc Solaris.
8807
8808 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8809
8810 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8811
8812 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8813
8814 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8815 from optimizing them away.
8816 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8817 patterns to include default constructors and assignment operators,
8818 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8819 character in the output of the virtual base pointer.
8820
8821 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8822
8823 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8824 expression match in print_addr_of to avoid unintented matches.
8825 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8826 versions up to 2.5.8.
8827
8828 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8829
8830 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8831 included file to run under newer versions of expect.
8832 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8833 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8834 Remove xfail for the virtual table of BDDHookV.
8835
8836 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8837
8838 * lib/gdb.exp (string_to_regexp): Set a default result.
8839 (default_gdb_start): Fix misleading message.
8840
8841 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8842
8843 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8844 Remove all CC, etc definitions.
8845 * config/mt-hpux: New file.
8846 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8847 (CFLAGS, LDFLAGS): Define.
8848 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8849
8850 * Makefile.in (site.exp): Don't insert host_os, etc.
8851 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8852 (distclean): Check existence of subdir.
8853 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8854 * gdb.base/Makefile.in: General cleanup and simplification.
8855 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8856 to build executables. Use default rule to build .o files.
8857 (EXPECT, RUNTEST, CC): Fix relative pathname.
8858 (site.exp): Don't insert host_os, etc.
8859 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8860 and/or SIGUSR1 defined.
8861 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8862 * gdb.c++/Makefile.in: General cleanup and simplification.
8863 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8864 (CFLAGS): Remove.
8865 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8866
8867 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8868
8869 * gdb.base/recurse.exp: Misc changes to get tests running again
8870 after Kung's changes to the watchpoint code.
8871 * gdb.base/watchpoint.exp: Likewise.
8872
8873 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8874
8875 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8876
8877 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8878
8879 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8880 * lib/gdb.exp (default_gdb_start): Define.
8881 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8882 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8883 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8884 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8885 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8886 Don't call gdb_target_udi in between tests.
8887
8888 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8889
8890 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8891 (which was basically just a local version of the same thing). In
8892 addition to avoiding duplication, gdb_test_exact is faster.
8893 * lib/gdb.exp (gdb_test_exact): Fix typo.
8894
8895 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8896 don't give an error.
8897
8898 * gdb.base/term.exp: Call delete_breakpoints before starting.
8899
8900 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8901 (t10): Add comment.
8902
8903 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8904
8905 Reorganization of the GDB Test Suite.
8906
8907 * gdb.base: New directory, contains all the basic tests.
8908 * gdb.c++: New directory, tests specific to C++.
8909 * gdb.chill: New directory, tests specific to Chill.
8910 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8911 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8912 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8913 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8914 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8915 t30-31 to chill).
8916 * */gdbme.*: Rename to match appropriate expect scripts.
8917 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8918 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8919 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8920 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8921 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8922 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8923 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8924 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8925 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8926 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8927 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8928 gdb.c++/virtfunc.cc: New names of C++ files.
8929 * gdb.chill/chillvars.ch: New name of Chill file.
8930 * gdb.base/configure.in, gdb.c++/configure.in,
8931 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8932 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8933 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8934 * configure.in (configdirs): Update to reflect directory changes.
8935 (target_abbrev): No longer define for any configuration.
8936 * Makefile.in: Cosmetic improvements to header comments.
8937
8938 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8939
8940 Various changes to gdb.t31:
8941
8942 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8943 * gdbme.ch: Make all key-words and predefineds be upper-case.
8944 * chillvars.exp: Expect key-words and predefinds in upper-case.
8945
8946 * chillvars.exp: Use gdb_test_exact many places.
8947 Change expected output for arrays (which now includes index labels).
8948
8949 * pr-5020.exp, gdme.ch (module PR_5020):
8950 New test, for PR-5020.
8951
8952 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8953
8954 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8955 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8956
8957 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8958
8959 * Makefile.in: Fix bit-rot in definitions of CHILL,
8960 CHILL_FOR_TARGET and Chill_LIB.
8961 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8962 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8963 CHILL, and CHILL_LIB.
8964
8965 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8966
8967 * Revert the previous changes. Please see Rob's directory
8968 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8969
8970 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8971
8972 * Makefile.in, configure.in, config/mips-gdb.exp,
8973 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8974 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8975 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8976 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8977 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8978 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8979 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8980 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8981 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8982 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8983 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8984 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8985 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8986 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8987 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8988 changes from 94Q1.
8989
8990 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8991
8992 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8993 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8994 Rob's new testing fragments.
8995
8996 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8997
8998 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8999 lib/gdb.exp: Replace error proc calls with perror.
9000
9001 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9002
9003 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9004 version also, match on casted version strings, and match on
9005 gdb startup case where the line numbers might be messed up.
9006
9007 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9008
9009 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9010 (CFLAGS): Delete it from here.
9011
9012 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9013
9014 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9015
9016 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9017
9018 * Makefile.in (RUNTEST): Default to just "runtest".
9019
9020 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9021
9022 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9023 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9024 the code has been restructured.
9025
9026 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9027
9028 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9029 \n, not just one of each.
9030
9031 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9032 /bin/cc gives a warning if you do.
9033
9034 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9035
9036 * gdb.t24/demangle.exp: change expect pattern of
9037 __t10ListS_link1ZUiRCUiPT0
9038
9039 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9040
9041 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9042 on local variables in recursive functions.
9043
9044 * gdb.t07/Makefile.in: Build the new test.
9045
9046 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9047
9048 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9049 directly. Instead compare the return values from actual calls.
9050
9051 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9052
9053 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9054
9055 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9056
9057 * From Peter Schauer with minor modifications.
9058 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9059 stops in mid-line in the caller. Add xfail for returning a float
9060 value on X86 targets.
9061
9062 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9063
9064 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9065 to avoid expect lossage.
9066 (fmem_LRbug_tests): Likewise.
9067 * gdb.disasm/hppa.s: Corresponding changes.
9068
9069 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9070 conditions to work with latest dejagnu/expect.
9071
9072 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9073 expected to fail on the PA.
9074 (backtrace in call with trampolines): Explicitly require main
9075 to be frame #1 (no trampolines should show up in backtrace).
9076
9077 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9078 "continue -expect".
9079 * gdb.t06/break.exp: Likewise.
9080 * gdb.t07/watchpoint.exp: Likewise.
9081 * gdb.t13/bitfields.exp: Likewise.
9082 * gdb.t15/{funcargs,return}.exp: Likewise.
9083 * gdb.stabs/weird.exp: Likewise.
9084 * config/{mips,udi}-gdb.exp: Likewise.
9085
9086 * hppa.sed: Enclose comments within a sed command to avoid
9087 losing with the old OSF1 sed.
9088
9089 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9090
9091 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9092 sequent dynix.
9093 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9094 * gdb.t15/funcargs.exp: Conditionally step again to really
9095 finish from marker_call_with_trampolines. Handle the case where
9096 the first step from within call_with_trampolines already steps
9097 us back to main.
9098 * gdb.t15/gdbme.c: Add comment to closing brace of
9099 call_with_trampolines for funcargs.exp.
9100
9101 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9102
9103 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
9104 Fix typo(s).
9105
9106 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9107
9108 * gdb.t07/gdbme.c: More code for watchpoint testing.
9109
9110 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9111 "Hardware watchpoint" throughout file.
9112 (test_watchpoint_triggered_in_syscall): New test.
9113 (test_complex_watchpoint): New test.
9114
9115 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9116
9117 * gdbme.c (call_with_trampolines): New function to try and step
9118 into. Tests trampoline problems on the PA.
9119
9120 * funcargs.exp (localvars_in_indirect_call): No longer expect
9121 stepping into indirect call to fail on PAs.
9122 (test_stepping_over_trampolines): New test.
9123
9124 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9125
9126 * TODO: Add suggestions for static member function tests, and
9127 completion tests.
9128
9129 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9130
9131 * TODO: Add suggestions for "p/a" tests.
9132
9133 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9134 (default_gdb_exit): Replace all the hair with sending "quit" to
9135 the process with a simple close.
9136
9137 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9138
9139 * TODO: Add suggestions for shared library tests.
9140
9141 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9142
9143 * TODO: Add suggestions for x/s tests.
9144
9145 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9146
9147 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9148 "enable once", and "enable breakpoints once" with ".*".
9149
9150 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9151
9152 * TODO: Add suggestions about structure passing tests.
9153
9154 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9155
9156 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9157 the primary1 test, use work around if __GNUC__ < 2.
9158 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9159 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9160 Test for bad output rather than waiting for timeout. Issue
9161 second continue only if first continue failed.
9162
9163 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9164
9165 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9166 operator[] test with gdb_test because the old code didn't seem to
9167 be getting the quoting right with the new dejagnu.
9168
9169 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9170
9171 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9172 one from the path.
9173 * Makefile.in: Use a fresh expect if there is one, use runtest
9174 from the src tree if there is one.
9175
9176 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9177
9178 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9179 next over recursive call. Revise the tests from that point on
9180 (which had been skipped) to match GDB's actual (correct) output.
9181
9182 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9183 with next over a breakpoint whose condition is false.
9184
9185 * gdb.t00/help.exp: Comment out "help set print" tests just like
9186 (and for same reason as) "help set" test.
9187
9188 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9189
9190 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9191 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9192
9193 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9194
9195 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9196 necessary gdb_target_udi.
9197
9198 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9199
9200 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9201 1838 and 2417; they are fixed.
9202
9203 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9204 gdb.t03/ptype.exp (ptype structure, ptype union):
9205 Remove xfails; the test is looser than when the xfails were added.
9206
9207 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9208 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9209
9210 * gdb.t01/run.exp: Only run shell test if isnative.
9211
9212 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9213 since "run" automatically loads if necessary. Call gdb_target_udi
9214 after the "file" since "file" kills any execution target.
9215
9216 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9217 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9218 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9219 argument for UDI.
9220
9221 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9222
9223 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9224
9225 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9226
9227 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9228
9229 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9230 properly quoting regexps. This makes the second argument to
9231 demangle a fixed string, which matches the callers, instead of a
9232 shell-style pattern which is what the previous implementation
9233 used. Update some of the callers.
9234
9235 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9236
9237 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9238 (comib_nullified_tests): Fix typo.
9239 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9240 strings. No longer expected to fail.
9241
9242 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9243 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9244 strings. No longer expected to fail.
9245
9246 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9247 string. No longer expected to fail.
9248
9249 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9250
9251 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9252 No longer expected to fail.
9253
9254 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9255 string. No longer expected to fail.
9256
9257 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9258
9259 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9260 only in the names (I probably got most of them). I was even
9261 generous with some which differed in underscores in names, and
9262 probably missed a few, and I *still* was able to remove almost a
9263 third of the file with almost no impact on testsuite coverage.
9264
9265 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9266
9267 * gdb.t00/default.exp: Match udi_attach error message as well as
9268 the one from child_attach.
9269
9270 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9271
9272 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9273
9274 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9275 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9276
9277 * Move test with enums and partial symbols back to
9278 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9279 Reverts the change of 26 May 93. Per today's change to
9280 stabs.texinfo, the behavior that weird.exp was expecting was
9281 unreasonable; what is important is that the compiler+gdb get
9282 things right, which happens with a recent gcc. Also fix the test
9283 to deal with native compilers which put out the stab gdb can't
9284 deal with.
9285
9286 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9287
9288 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9289 in the names. The main thing these accomplish is to slow things down.
9290 Many more such duplicates surely remain.
9291
9292 * gdb.t00/help.exp: Comment out "help support" test just like
9293 (and for same reason as) "help set" test.
9294
9295 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9296
9297 * gdb.t06/break.exp: Remove setup_xfails for
9298 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9299 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9300 about known bug in gcc to include up through 2.5.8.
9301 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9302 well as "_vb$".
9303 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9304 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9305 with latest gcc and gdb.
9306 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9307 well as "_vb$".
9308
9309 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9310
9311 * configure.in (hppa*-*-*): Also configure and build stabs-only
9312 tests.
9313
9314 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9315
9316 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9317 * gdb.t10/configure.in (hppa*-*-*): Use it.
9318
9319 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9320
9321 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9322
9323 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9324
9325 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9326 versions prior to 1.13.5.
9327
9328 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9329
9330 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9331 the prompt is at the start of a line.
9332
9333 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9334
9335 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9336 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9337 in the copr tests now.
9338 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9339 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9340 expected to fail.
9341
9342 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9343
9344 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9345 gdb.t31/chillvars.exp, lib/gdb.exp:
9346 Tweak to run under either version of expect.
9347 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9348 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9349 * gdb.t11/list.exp: Remove extraneous whitespace.
9350
9351 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9352
9353 * gdb.t16/printcmds.exp (test_print_strings): Accept
9354 "(unsigned char *) " before the string.
9355
9356 * TODO: Add notes about printing of fancy types and GDB expressions.
9357
9358 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9359
9360 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9361 * gdb.t06/configure.in: Don't try to compile signals test program
9362 if doing mips-idt-ecoff.
9363
9364 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9365
9366 * Most .exp files: Tweak to run under either version of expect.
9367
9368 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9369
9370 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9371 xfails; I'm not sure why they are failing, but not because of PR 1806.
9372
9373 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9374
9375 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9376 defined in lib/gdb.exp.
9377
9378 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9379
9380 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9381 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9382 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9383 have to be typeless.
9384
9385 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9386
9387 * TODO: Add suggestion for copyright year test.
9388
9389 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9390
9391 * configure.in (*-*-lynxos*): Add stabs tests.
9392
9393 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9394
9395 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9396 so insert a tab before any assembler directive in column zero.
9397
9398 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9399 stores.
9400 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9401 stores.
9402 (fpu_short_memory_tests): Likewise.
9403
9404 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9405
9406 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9407 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9408 .stabs directives in comments.
9409
9410 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9411
9412 * TODO: New file, describing tests we could write.
9413 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9414
9415 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9416
9417 * gdb.t06/signals.exp: Add kludge to force re-sync.
9418
9419 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9420 to xgdb instead of gdb, get out of gdb.
9421
9422 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9423
9424 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9425 for info.
9426
9427 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9428
9429 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9430 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9431 * gdb.stabs/hppa.sed: New sed script for the PA.
9432
9433 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9434
9435 * gdb.stabs: Re-write weird.def and configuration to use sed
9436 instead of cpp. sed is portable and POSIX; cpp is neither.
9437
9438 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9439
9440 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9441
9442 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9443
9444 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9445
9446 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9447
9448 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9449 "_vb$".
9450 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9451 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9452
9453 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9454
9455 * lib/gdb.exp: Comment out code which depends on non-existent
9456 `transform' procedure.
9457
9458 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9459
9460 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9461 * lib/gdb.exp: Transform tool name.
9462 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9463 1.1's new error handling system.
9464
9465 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9466
9467 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9468
9469 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9470
9471 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9472 They made pattern matching so slow that timeouts happened on
9473 heavily loaded systems. Now any output from "show print" which
9474 gets us back to the GDB prompt is a PASS.
9475
9476 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9477
9478 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9479
9480 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9481
9482 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9483
9484 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9485 It is not from PR 3220.
9486
9487 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9488
9489 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9490 just started failing because they depended on the order the
9491 subcommands are presented, or exact docstring text. This kind of
9492 test is a pain and has minimal benefit.
9493
9494 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9495
9496 * gdb.t09/corefile.exp: At end of test, use "core" command with
9497 no arguments.
9498
9499 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9500
9501 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9502 17}/Makefile.in: Make it possible to run the testsuite with Sun
9503 make and CC = cross gcc by adding explicit build rules for .o
9504 files.
9505
9506 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9507
9508 * gdb.t15/funcargs.exp: Don't put comments on same line as
9509 setup_xfail (@#$*%& tcl braindamage!).
9510
9511 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9512
9513 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9514
9515 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9516
9517 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9518 * gdb.t20/inherit.exp: remove three dumplicate entries.
9519
9520 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9521
9522 * gdb.t06/break.exp: For "next over recursive call", fail on any
9523 incorrect output, not just on "factorial (value=2)".
9524
9525 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9526
9527 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9528 working now. Add an xfail if accesing a bss variable causes
9529 a memory error if the target is not yet run.
9530
9531 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9532
9533 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9534 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9535 name of __st* demangling (2 strings). Did Kung really get the
9536 more than 95 others right without testing them?
9537
9538 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9539
9540 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9541
9542 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9543
9544 * configure.in (configdirs): Add gdb.disasm
9545 * gdb.disasm: New directory for GDB disassembler tests.
9546 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9547
9548 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9549
9550 * gdb.t00/help.exp: Don't test "help set".
9551
9552 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9553 from within expect statements. None of these happen anymore and
9554 they cause regressions to be silently unnoticed.
9555
9556 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9557 messages) about known failures with gcc cygnus-2.4.5-930417.
9558
9559 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9560 comp-info.exp so it gets built if it doesn't exist.
9561
9562 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9563 it is no longer used.
9564 * gdb.t13/comp-info.c: Removed.
9565
9566 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9567
9568 * gdb.t06/signals.exp: Add xfail for sun3.
9569
9570 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9571
9572 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9573 relevant because ^C doesn't get sent but failure can be reproduced
9574 interactively).
9575
9576 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9577
9578 * gdb.stabs/alpha.mt: New configuration file for alpha.
9579 * gdb.stabs/configure.in: Use it.
9580 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9581 sharing with alpha.mt, redefine long to word via preprocessor.
9582 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9583 for alpha.
9584 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9585 native cc.
9586 * gdb.t00/teststrategy.exp: Change expect string so that we
9587 consume the `(xgdb)' from the command echo and from the gdb prompt.
9588 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9589 gdb currently compares all values as long, so this failure probably
9590 applies to any configuration where LONGEST is bigger than a target int.
9591 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9592 with gcc.
9593 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9594 to handle opaque pointers, gcc is.
9595 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9596 as first argument. Include <sys/types.h> and change all operator
9597 new definitions to use size_t.
9598 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9599 now that we use size_t.
9600
9601 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9602
9603 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9604 a long or float array cast all array members to the same type.
9605 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9606 with 64 bit longs.
9607 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9608 on alpha.
9609 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9610
9611 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9612
9613 * gdb.t24 (demangle.exp): Constructors of templates have names like
9614 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9615 section 14.6 of the ARM.
9616
9617 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9618 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9619 accomplish little and slow down the testsuite.
9620
9621 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9622 Accept spaces various places.
9623
9624 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9625
9626 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9627 with watchpoint enabled.
9628
9629 * Makefile.in: Remove definition of CC and remove the second
9630 definition of CXX (the "CXX = gcc" one remains). These definitions
9631 were causing backquotes to be expanded within backquotes, which
9632 doesn't work.
9633
9634 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9635
9636 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9637
9638 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9639
9640 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9641 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9642 by mips cc and contains no stabs entries.
9643
9644 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9645
9646 * config/vx-gdb.exp: Use fake device to load files rather than
9647 NFS.
9648 * lib/gdb.exp: New proc to do "file" command.
9649 * config/unix-gdb.exp: Use new "file" proc.
9650
9651 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9652
9653 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9654 Rework board rebooting slightly.
9655 (gdb_exit): Don't exit from the remote shell; there isn't one.
9656 * gdb.stabs/weird.exp: If a program is being debugged already,
9657 kill it.
9658 * gdb.t04/setvar.exp: Stop and restart gdb.
9659 * gdb.t05/expr.exp: Likewise.
9660 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9661 restart gdb and reload the program.
9662 * gdb.t08/opaque.exp: Likewise.
9663 * gdb.t12/scope.exp: Likewise.
9664 * gdb.t13/bitfields.exp: Likewise.
9665 * gdb.t15/funcargs.exp: Likewise.
9666 * gdb.t20/classes.exp: Likewise.
9667 * gdb.t03/ptype.exp: Increase timeout.
9668 * gdb.t16/printcmds.exp (test_print_string_constants,
9669 test_print_array_constants): Likewise.
9670 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9671 * gdb.t20/classes.exp (do_tests): Likewise.
9672 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9673
9674 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9675
9676 * gdb.stabs: Renamed *wierd* to *weird*.
9677
9678 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9679
9680 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9681 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9682
9683 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9684
9685 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9686 (do_tests): Remove xfail for whatis on one_var and two_var.
9687
9688 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9689
9690 * Makefile.in: Made cross building work better by adding
9691 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9692
9693 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9694
9695 * gdb.t15/{return.c,return.exp,Makefile.in}:
9696 New test, currently commented out.
9697
9698 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9699
9700 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9701 still running and removes the leftover named socket so GDb can do
9702 clean restarts.
9703
9704 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9705
9706 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9707 console, not GDB.
9708 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9709 cross testing works better with "make check"
9710 * config/unix-gdb: Use default procedures for exit and version.
9711 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9712 with the newest VxWorks.
9713
9714 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9715
9716 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9717 old form.
9718
9719 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9720 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9721
9722 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9723
9724 * config/unix-gdb.exp: Remove this version of gdb_exit
9725 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9726 Rob says he'll look at it when he gets back to testing boards.
9727
9728 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9729
9730 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9731 an expected fail for certain ptype commands.
9732
9733 * gdb.t20/classes.exp: Update expected results of "ptype class
9734 Base1" to account for the constructor that now appears in the type.
9735
9736 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9737
9738 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9739 disappeared from list.
9740 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9741 "alldone" proc with call to cleanup and exit.
9742 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9743 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9744 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9745 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9746 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9747 "alldone" proc with simple returns that suppress remaining
9748 tests. The alldone proc went away many months ago.
9749
9750 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9751
9752 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9753
9754 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9755
9756 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9757
9758 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9759 as vax gdb will display them.
9760
9761 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9762
9763 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9764 optimizers.
9765
9766 * scope.exp: Change "bad value for localval" messages so each one
9767 is unique.
9768
9769 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9770 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9771
9772 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9773
9774 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9775
9776 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9777 doesn't exist (due to optimization).
9778
9779 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9780
9781 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9782 contains \r because the filename is long.
9783
9784 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9785 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9786
9787 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9788
9789 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9790 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9791 Ultrix.
9792 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9793 int tests.
9794 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9795
9796 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9797
9798 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9799
9800 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
9801 to match does not match the passing case but still matches the
9802 failing case.
9803
9804 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9805
9806 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9807
9808 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9809
9810 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9811 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9812 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9813 Remove various versions of gdb_exit.
9814 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9815 gdb_exit.
9816 * config/unix-gdb.exp: gdb_exit remains here, and should override
9817 the generic version, since it's doing a lot of wierd stuff that
9818 the other versions aren't. FIXME, fold it in, or abandon this
9819 version.
9820
9821 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9822
9823 * gdb.t24/demangle.exp: Add tests for PR 3220.
9824
9825 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9826
9827 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9828
9829 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9830
9831 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9832 "i386-*-*". Works for i486 as well.
9833
9834 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9835 bug, and expand domain of xfail to all SVR4 systems, since the
9836 actual problem is likely to be in generic SVR4 /proc support.
9837
9838 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9839
9840 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9841
9842 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9843
9844 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9845 xfails for other systems. Match a missing 'Continuing.' as an
9846 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9847
9848 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9849 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9850 Only issue warning for missing executables if -all option is used.
9851
9852 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9853 file if -all option is used. It's like an unpredictable XFAIL.
9854
9855 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9856
9857 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9858 for dynamically linked binaries.
9859
9860 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9861
9862 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9863
9864 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9865 to state that this is a known bug in old versions of g++.
9866
9867 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9868
9869 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9870 while waiting for `Continuing'.
9871
9872 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9873
9874 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9875 in text, data, and bss.
9876 * gdb.t10/nodebug.c: Add local and global test variables for
9877 initialized and uninitialized data.
9878
9879 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9880
9881 * config/unix-gdb.exp (gdb_exit): Add "wait".
9882
9883 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9884
9885 * gdb.t06/signals.exp: xfail the continue from the handler for all
9886 targets.
9887
9888 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9889 function with watchpoints enabled, the i386 call dummy starts with
9890 a call.
9891
9892 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9893 386 bsd names its corefiles.
9894
9895 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9896
9897 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9898 compilers don't grok it.
9899 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9900 with small octal ints rather than character constants, which
9901 are signed and might not fit if first promoted to int.
9902
9903 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9904
9905 * gdb.t09/Makefile.in (clean): Remove corefile.
9906
9907 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9908
9909 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9910
9911 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9912 and Jim Kingdon (kingdon@cygnus.com)
9913
9914 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9915 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9916 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9917
9918 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9919
9920 * gdb.t17/interrupt.exp: Add xfail for hppa.
9921
9922 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9923
9924 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9925 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9926 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9927 to determine signed-ness of bitfields and use the result to setup
9928 the xfail.
9929 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9930 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9931 call line is reached if necessary.
9932
9933 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9934
9935 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9936
9937 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9938
9939 * gdb.t06/break.exp: Also test `clear' command.
9940
9941 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9942
9943 * gdb.t00/teststrategy.exp: Remove extra quote.
9944
9945 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9946 watchpoint enabled to be for all non-68k machines.
9947
9948 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9949
9950 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9951
9952 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9953 targets use aout.mt instead of ecoff.mt as gas understands
9954 standard aout format.
9955
9956 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9957
9958 * lib/gdb.exp (runto): Don't insist that function we are running to
9959 was compiled with -g.
9960
9961 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9962
9963 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9964 to get back into the read system call.
9965 Accept leading newline in case where we woke it up.
9966
9967 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9968
9969 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9970 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9971 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9972 enable ecoff configuration.
9973
9974 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9975
9976 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9977
9978 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9979
9980 * gdb.t16/printcmds.exp: Add another printf test.
9981
9982 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9983
9984 * configure.in: If configured -with-stabs on any target, add
9985 stabsdirs to configdirs.
9986
9987 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9988
9989 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9990 fun" so pattern does not match the command itself.
9991
9992 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9993
9994 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9995
9996 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9997
9998 * gdb.t17/interrupt.exp: Test for more things.
9999
10000 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10001
10002 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10003 compiler arranges the code and line numbers.
10004
10005 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10006
10007 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10008
10009 * gdb.t00/help.exp: Increase expect input buffer size.
10010
10011 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10012
10013 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10014
10015 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10016
10017 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10018
10019 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10020 [0-9]*, not just [0-9].
10021
10022 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10023
10024 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10025
10026 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10027
10028 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10029
10030 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10031
10032 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10033
10034 * gdb.t06/signals.c: Add xfails for sun3.
10035
10036 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10037
10038 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10039 test_stepping tests.
10040
10041 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10042
10043 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10044
10045 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10046
10047 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10048 rather than actually putting it through cpp twice.
10049
10050 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10051
10052 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10053
10054 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10055 no longer needed.
10056
10057 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10058
10059 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10060
10061 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10062 C++ features prints as "struct", make it a pass, not an xfail.
10063
10064 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10065
10066 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10067 Don't require VA to print as "class" rather than "struct".
10068
10069 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10070
10071 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10072
10073 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10074
10075 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10076
10077 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10078
10079 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10080 order.
10081
10082 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10083
10084 * gdb.t16/printcmds.exp: Add printf tests.
10085
10086 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10087
10088 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10089
10090 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10091
10092 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10093 pass counts, to counteract any existing or future setup_xfails.
10094
10095 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10096
10097 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10098 {BEGIN,END}_COMMON for common block instead of STAB.
10099 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10100
10101 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10102 intp_var should be N_GSYM not N_LSYM.
10103 wierd-aout.S: Use a label for the value of the N_SO.
10104 wierd.def: Remove all backslashes.
10105 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10106
10107 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10108
10109 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10110 get the expected next to inheritance3.
10111
10112 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10113
10114 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10115 now that gcc-2.4 gets it right.
10116
10117 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10118
10119 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10120
10121 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10122 generating comp-info.exp which works for cross-compilation.
10123
10124 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10125
10126 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10127 "*-*-sysv4.*".
10128
10129 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10130
10131 * gdb.t01/run.exp: Start with a fresh gdb.
10132 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10133 SVR4.x.
10134
10135 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10136
10137 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10138 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10139 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10140 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10141 things to remove.
10142
10143 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10144
10145 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10146 test cases from bug reports.
10147
10148 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10149
10150 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10151 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10152 avoid spurious xfails.
10153 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10154 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10155 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10156
10157 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10158
10159 * gdb.t00/teststrategy.exp: Rework to provide more useful
10160 description of each test, fix problem with systems that define
10161 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10162 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10163 results for "next over recursive call" so timeouts aren't taken
10164 by error.
10165
10166 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10167
10168 * gdb.t12/scope.exp: Test printing of variables before run.
10169
10170 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10171 printed in wrong order due to sorting.
10172
10173 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10174
10175 * gdb.t00/teststrategy.exp: Fix expected results for printing
10176 user entered string constant. Is array of char, prints with no
10177 address.
10178
10179 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10180 commands.
10181 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10182 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10183 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10184 of struct of char arrays.
10185 * gdb.t00/radix.exp: New tests for radix commands.
10186
10187 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10188
10189 * gdb.t16/printcmd.exp: Print a variable before running program
10190 (with xfail for AIX).
10191
10192 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10193
10194 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10195
10196 * gdb.t16/printcmd.exp: Don't print variables before running program.
10197
10198 * gdb.t06/break.exp: Don't require envp argument to main.
10199
10200 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10201
10202 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10203 Add xfails for rs6000.
10204
10205 * gdb.t02/whatis.exp: Change other tests not to re-test something
10206 we already tested.
10207
10208 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10209 each type used has a variable of that type.
10210
10211 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10212
10213 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10214
10215 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10216
10217 * configure.in: change srctrigger to be a file, not a directory
10218
10219 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10220
10221 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10222
10223 * gdb.t11/list.exp: Fixed a couple of typos.
10224
10225 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10226
10227 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10228 is fixed and PR is closed.
10229 * gdb.t16 (gdbme.c): Add simple test string variable.
10230 * gdb.t16 (printcmds.exp): Add tests with simple test string
10231 variable, primarily for boundaries on "set print elements".
10232
10233 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10234
10235 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10236 Make leading 0's optional and don't expect a tab in the middle
10237 of the number.
10238
10239 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10240
10241 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10242 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10243 don't end command passed to gdb_test with newline.
10244
10245 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10246 signed keyword away, don't expect signed bitfields to be signed.
10247
10248 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10249 printing with only as many 1's as are in the field as well as printing
10250 with 32 1's (see comment).
10251
10252 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10253
10254 * gdb.t00/default.exp: Start with a fresh gdb.
10255 * configure.in (configdirs): Remove gdb.t31 until the chill
10256 compiler works again. It no longer is able to find chillrt0
10257 since it isn't in libchill.a anymore.
10258 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10259 wierd.o, make more modular.
10260 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10261 spurious newlines that caused problems.
10262
10263 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10264
10265 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10266 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10267 gdb.stabs/wierd.{exp,def}: Many new tests.
10268
10269 * gdb.t00/default.exp: update info line for new message.
10270
10271 * gdb.t02/{whatis.exp,gdbme.c}:
10272 Test that "char *" doesn't print as "caddr_t".
10273
10274 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10275
10276 * gdb.t00/help.exp: Use .* in place of some help messages which
10277 just changed.
10278 gdb.t00/default.exp: Update "info frame" test for new message.
10279 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10280 Remove some xfails
10281
10282 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10283
10284 * gdb.t03/{gdbme.c,ptype.exp}:
10285 Add tests for typedef'd struct and union without tags.
10286 Also check "whatis" on a variable of a typedef'd enum without a tag.
10287
10288 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10289 PRMS 1823; the bug still exists but isn't reproduced by this test
10290 anymore), and remove rs6000 XFAIL (the bug is fixed).
10291
10292 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10293 duplicated from whatis.exp. For those that are left, accept
10294 "long", "long int", or "int" for long variables (whatis.exp already
10295 has an XFAIL for "int", so no need to fail it here).
10296
10297 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10298 Deal with GCC's names for types now that GDB uses the compiler's names.
10299
10300 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10301 setup_xfail's for sunos4. If we #defined the signed keyword away,
10302 don't expect GDB to know that char it is signed.
10303
10304 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10305
10306 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10307
10308 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10309 should work on any system, regardless of debugging format.
10310 * gdb.t21/demangle.exp: Move to gdb.t24.
10311 * gdb.t24/demangle.exp: Move from gdb.t21.
10312 * gdb.t24/{Makefile.in, configure.in}: New files.
10313
10314 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10315
10316 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10317 * gdb.stabs: New directory.
10318
10319 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10320
10321 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10322 not just "Quit anyway?".
10323
10324 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10325
10326 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10327 that all setup_xfails are immediately followed by clear_xfails.
10328
10329 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10330
10331 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10332 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10333 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10334 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10335 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10336 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10337 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10338 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10339 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10340 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10341 gdb.t31/chillvars.exp, lib/gdb.exp:
10342 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10343 bug-gdb@prep.ai.mit.edu.
10344
10345 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10346
10347 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10348 with 0.0, not integer 0.
10349
10350 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10351
10352 * gdb.t06/break.exp: Update for "Kill the program" message change.
10353
10354 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10355
10356 * Makefile.in (GDBFLAGS): Set to -nx.
10357 * Makefile.in (site.exp): Use GDBFLAGS.
10358
10359 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10360
10361 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10362 Makefiles.
10363 (check): depend on just-check.
10364 (just-check): added so that tests can be run without a noop
10365 build pass.
10366
10367 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10368
10369 Switch to using configure's configdirs.
10370 * Makefile.in (Makefile): add configure.in dependency.
10371 (SUBDIRS): removed redundant assignment.
10372 * configure.in: switch subdirs assignment to configdirs.
10373 * gdb.t*/configure.in: new files.
10374
10375 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10376
10377 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10378 works.
10379
10380 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10381
10382 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10383 in explicit rules. Apparently this is not supported by some makes.
10384
10385 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10386
10387 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10388
10389 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10390
10391 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10392 disappeared.
10393
10394 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10395
10396 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10397
10398 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10399
10400 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10401 watchpoint problem that is now fixed.
10402 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10403 uninitialized convenience variables.
10404 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10405 structures.
10406
10407 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10408
10409 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10410 which causes expect to get out of sync with gdb on long output
10411 from help set.
10412 * gdb.t09/corefile.exp: Make expected pattern for core file
10413 failing signal and frame output format less sun specific.
10414
10415 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10416
10417 * gdb.t31/chillvars.exp: Add and remove initial dummy
10418 breakpoint, so that symbol table is forced in.
10419 (Needed at least on Sunos4, though it seems not SVR4.)
10420 * gdb.t31/chillvars.exp: Update for changed output format.
10421
10422 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10423
10424 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10425
10426 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10427
10428 * Makefile.in: Added --srcdir when invoking runtest, removed the
10429 need for a local config file. (optional now)
10430
10431 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10432
10433 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10434 failure count used to force early termination. Add some more
10435 expected failures for gnu style demangling.
10436
10437 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10438
10439 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10440 pmi variable from gdb.t20/gdbme to get optimized away.
10441 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10442 Check for written corefile upon timeout _and_ eof.
10443
10444 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10445
10446 * config/unix-gdb.exp: Add missing return 0.
10447
10448 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10449
10450 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10451 test termination.
10452
10453 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10454
10455 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10456 disappeared.
10457
10458 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10459
10460 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10461 time as i860 support works.
10462
10463 * gdb.t15/funcargs.exp: Fix expected outputs to include
10464 "backtrace 100\r" rather than just "backtrace\r", to match last
10465 change.
10466
10467 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10468
10469 * config/udi-gdb.exp (gdb_exit): Remove close command.
10470 (gdb_target_udi): New procedure to set the UDI target.
10471 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10472 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10473 Added waits for prompts after several question responses. Added
10474 some more responses used by a29k-amd-udi-gdb.
10475 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10476 pass different arguments, restart UDI connection after program
10477 completion.
10478 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10479 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10480 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10481 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10482 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10483 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10484 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10485 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10486 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10487 after program completion.
10488 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10489 compiled with a SELECT_VECS setting.
10490 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10491 infinite recursion.
10492
10493 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10494 Added checks for COFF results, and made them expected failures for
10495 all targets. It would be better to make them expected failures
10496 for COFF targets only.
10497
10498 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10499
10500 * Makefile.in: add null dvi target, don't bother to recurse
10501 through test directories for info and install-info; rename
10502 $(datadir) to be dejagnu instead of deja-gnu
10503
10504 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10505
10506 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10507 compiler to coredump.
10508 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10509 code.
10510
10511 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10512
10513 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10514 coredump.
10515 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10516 code.
10517
10518 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10519
10520 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10521 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10522 which in a shell. Deletes xgdb when done.
10523 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10524 Tests the return from the "set height" or "set width" commands.
10525 Added a few return codes where needed.
10526
10527 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10528
10529 * Makefile.in (SUBDIRS): Add gdb.t17.
10530 * configure.in (subdirs): Add gdb.t17.
10531 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10532 files to test gdb's calling of functions in the inferior with
10533 the correct arguments and gdb's ability to retrieve any
10534 result returned.
10535
10536 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10537
10538 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10539 may be called after gdb goes away. Previous versions of expect
10540 needed these to avoid file descriptor leaks, but they cause
10541 errors with the current revision of expect.
10542 * gdb.t00/gdbvars.exp: Use -re on expected output after
10543 setting sevenbit-strings.
10544 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10545 to set sevenbit-strings consistent across tests.
10546 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10547 set sevenbit-strings consistent across tests.
10548
10549 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10550
10551 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10552 expected output to match current "expect" expectations.
10553
10554 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10555
10556 * gdb.t00/default.exp: Change expected output for default "source"
10557 command, to match new gdb behavior which requires a filename to
10558 source.
10559
10560 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10561
10562 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10563 expected fail for i486-*-* that misses the marker2 function.
10564 * gdb.t10/crossload.exp (bfddefault): Allow successful
10565 recognition of a format to pass even if no symbols are found.
10566 Explicitly catch failures where the format is not recognized
10567 or is ambiguous, and add the reason to the fail message.
10568 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10569 the cause is and invalid target and add reason to failure message.
10570 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10571 elf32-i386, elf32-sparc, and elf32-i860.
10572 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10573 Set up expected failure for 'filename'::variable scope resolution,
10574 which is now apparently broken on all targets.
10575 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10576 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10577 gdb.t23/templates.exp: Change failure for missing binfile into
10578 just a warning.
10579 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10580 references.
10581
10582 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10583
10584 * gdb.t00/default.exp: Add expected output for default "source"
10585 command, to match new gdb behavior.
10586 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10587
10588 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10589
10590 * config/*-gdb.exp: returns an error, rather than exiting on
10591 internal errors.
10592
10593 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10594
10595 * gdb.t03/gdbme.c: Add pointer to struct variable.
10596 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10597 referencing struct members.
10598
10599 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10600
10601 * configure.in (mips-idt-ecoff): New target.
10602 * config/mips-gdb.exp: New file for remote board using MIPS remote
10603 debugging protocol.
10604
10605 * Redid configuration scheme. Removed gdb.t*/configure.in.
10606 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10607 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10608 distclean targets. Built executables via .o files. Adjusted
10609 tests to account for source files in $(srcdir) rather than
10610 $(objdir).
10611 * lib/gdb.exp (runto): Don't expect () after the function name,
10612 because it may have arguments.
10613
10614 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10615
10616 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10617 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10618 expected failures for mips-idt-* and mips-sgi-*.
10619 * gdb.t00/default.exp (attach): Kill process if requested.
10620 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10621 that does not read core files.
10622 * gdb.t01/run.exp: Removed checks for exit status code.
10623 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10624 it is linked in.
10625 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10626 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10627 appropriate, rather than doing it by hand.
10628 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10629 execution.
10630 * gdb.t10/crossload.exp: Kill existing program if needed.
10631 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10632 appropriate, rather than doing it by hand. Always increase
10633 timeout for this test, not just for VxWorks.
10634
10635 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10636
10637 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10638 of Chill STRUCT types and STRUCT values.
10639 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10640 than "char".
10641 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
10642 struct2): New struct definitions and initializations to test
10643 simple Chill STRUCT types.
10644
10645 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10646
10647 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10648 the null byte at the end of strings.
10649 * gdb.t00/default.exp: Make show version insensitive to copyright
10650 date.
10651 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10652 to avoid dependencies on target char signedness.
10653 * gdb.t16/printcmds.exp: Update expected results for explicitly
10654 unsigned char.
10655 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10656 now work.
10657 * gdb.t21/demangle.exp: Add many more patterns for template
10658 demangling, most of them being expected failures.
10659 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10660 string we are matching for, to match on the whole string.
10661 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10662 and fix a whole bunch that had incorrect expected output but were
10663 passing anyway because of the bug in "proc demangle".
10664 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10665 type.
10666 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10667
10668 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10669
10670 * gdb/testsuite: made modifications to testcases, etc., to allow
10671 them to work properly given the reorganization of deja-gnu and the
10672 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10673
10674 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10675
10676 * gdb/testsuite: Initial creation of gdb/testsuite.
10677 Migrated dejagnu testcases and support files for testing nm to
10678 gdb/testsuite from deja-gnu. These files were moved "as is"
10679 with no modifications. This migration is part of a major overhaul
10680 of dejagnu. The modifications to these testcases, etc., which
10681 will allow them to work with the new version of dejagnu will be
10682 made in a future update.
10683 \f
10684 Local Variables:
10685 mode: change-log
10686 left-margin: 8
10687 fill-column: 74
10688 version-control: never
10689 End:
This page took 0.235771 seconds and 5 git commands to generate.