* regcache.c (register_buffer): Consitify first argument.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f31dfe3b
JJ
12003-08-28 Jeff Johnston <jjohnstn@redhat.com>
2
3 * gdb.base/dump.exp: Skip for ia64.
4
4630e498
JJ
52003-08-25 Jeff Johnston <jjohnstn@redhat.com>
6
7 * gdb.asm/asm-source.exp: Add ia64 support.
8 * gdb.asm/ia64.inc: New file.
9
1105b7ef
MC
102003-08-22 Michael Chastain <mec@shout.net>
11
12 * gdb.cp: New directory.
13 * gdb.cp/*: Copy from gdb.c++/*.
14 * gdb.c++/*: Remove.
15 * Makefile.in: Change gdb.c++ to gdb.cp.
16 * configure.in: Ditto.
17 * configure: Regnerate.
18
c945b932
MK
192003-08-18 Mark Kettenis <kettenis@gnu.org>
20
21 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
22 * gdb.arch/i386-prologue.c (gdb1338): Add function.
23
2b66634b
DJ
242003-08-17 Daniel Jacobowitz <drow@mvista.com>
25
26 * mi-var-display.exp (-var-list-children weird): Accept function
27 pointers with argument types.
28 * mi1-var-display.exp (-var-list-children weird): Likewise.
29 * mi2-var-display.exp (-var-list-children weird): Likewise.
30
a356f73b
DJ
312003-08-17 Daniel Jacobowitz <drow@mvista.com>
32
33 * gdb.base/annota3.exp: Add missing newline.
34
483417b8
MC
352003-08-06 Michael Chastain <mec@shout.net>
36
37 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
38
c99c59c3
MS
392003-08-12 Michael Snyder <msnyder@redhat.com>
40
41 * gdb.base/float.exp: Add test for SH.
42
55ed7501
MK
432003-08-10 Mark Kettenis <kettenis@gnu.org>
44
45 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
46
1a371f2e
EZ
472003-08-07 Elena Zannoni <ezannoni@redhat.com>
48
49 * gdb.base/completion.exp: Remove reduntant completion test
50 on filename.
51
e0f353ce
EZ
522003-08-07 Elena Zannoni <ezannoni@redhat.com>
53
54 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
55 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
56 gdb.trace/save-trace.exp: Make sure that full pathnames are
57 escaped correctly.
58
5710a1af
EZ
592003-08-07 Elena Zannoni <ezannoni@redhat.com>
60
61 * configure.in: Don't generate config.h from config.hin.
62 * configure: Regenerate.
63 * config.hin: Remove file.
64 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
65 * gdb.threads/pthreads.c: Ditto.
66
dcd81ce9
DJ
672003-08-07 Daniel Jacobowitz <drow@mvista.com>
68
69 From Kei Sakamoto <sakamoto.kei@renesas.com>:
70 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
71 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
72 Replace ld24 with seth/add3.
73
6009d884
AC
742003-08-02 Andrew Cagney <cagney@redhat.com>
75
76 * gdb.base/annota3.exp: New file.
77 * gdb.base/annota3.c: New file.
78 * gdb.c++/annota3.exp: New file.
79 * gdb.c++/annota3.cc: New file.
80
51514e06
MC
812003-07-29 Michael Chastain <mec@shout.net>
82
83 * gdb.threads/tls.c (spin): Check errno only if sem_wait
84 actually failed.
85 (do_pass): Likewise.
86 * gdb.threads/tls.exp: Always initialize no_of_threads.
87
4ee6625b
DJ
882003-07-27 Daniel Jacobowitz <drow@mvista.com>
89
90 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
91 pattern.
92 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
93 * gdb.threads/tls.exp: Recognize one case of the host library not
94 supporting TLS.
95
225f2bf6
AC
962003-07-27 Andrew Cagney <cagney@redhat.com>
97
98 * gdb.base/fileio.exp: Use SH when running commands using
99 remote_exec.
100
bcb27c9f
DJ
1012003-07-24 Daniel Jacobowitz <drow@mvista.com>
102
103 From Kei Sakamoto <sakamoto.kei@renesas.com>:
104 * gdb.base/relocate.c (dummy): New padding array.
105
3d67be83
MS
1062003-07-22 Michael Snyder <msnyder@redhat.com>
107
108 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
109
110 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
111 patterns to be more general, accepting old and new output.
112 Some output chars (such as '+') also must be quoted.
113 Some addresses are displayed numerically instead of
114 symbolically.
115
57ba3b85
MS
1162003-07-23 Michael Snyder <msnyder@redhat.com>
117
686d097c
MS
118 * gdb.base/return2.exp: Don't test long-long return.
119
57ba3b85
MS
120 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
121 * gdb.disasm/t01_mov.exp: Ditto.
122 * gdb.disasm/t02_mova.s: Ditto.
123 * gdb.disasm/t02_mova.exp: Ditto.
124 * gdb.disasm/t03_add.s: Ditto.
125 * gdb.disasm/t03_add.exp: Ditto.
126 * gdb.disasm/t04_sub.s: Ditto.
127 * gdb.disasm/t04_sub.exp: Ditto.
128 * gdb.disasm/t05_cmp.s: Ditto.
129 * gdb.disasm/t05_cmp.exp: Ditto.
130 * gdb.disasm/t06_ari2.s: Ditto.
131 * gdb.disasm/t06_ari2.exp: Ditto.
132 * gdb.disasm/t07_ari3.s: Ditto.
133 * gdb.disasm/t07_ari3.exp: Ditto.
134 * gdb.disasm/t08_or.s: Ditto.
135 * gdb.disasm/t08_or.exp: Ditto.
136 * gdb.disasm/t09_xor.s: Ditto.
137 * gdb.disasm/t09_xor.exp: Ditto.
138 * gdb.disasm/t10_and.s: Ditto.
139 * gdb.disasm/t10_and.exp: Ditto.
140 * gdb.disasm/t11_logs.s: Ditto.
141 * gdb.disasm/t11_logs.exp: Ditto.
142 * gdb.disasm/t12_bit.s: Ditto.
143 * gdb.disasm/t12_bit.exp: Ditto.
144 * gdb.disasm/t13_otr.s: Ditto.
145 * gdb.disasm/t13_otr.exp: Ditto.
146
e00759ef
EZ
1472003-07-22 Elena Zannoni <ezannoni@redhat.com>
148
149 * gdb.threads/tls.exp :Add kfail for 'info address' case.
150
8bc2021f
EZ
1512003-07-22 Elena Zannoni <ezannoni@redhat.com>
152
153 * gdb.threads/tls.c : New file.
154 * gdb.threads/tls.exp : New file.
155 * gdb.threads/tls-main.c : New file.
156 * gdb.threads/tls-shared.c : New file.
157 * gdb.threads/tls-shared.exp : New file.
158
89320c4c
AS
1592003-07-22 Andreas Schwab <schwab@suse.de>
160
161 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
162
180dea7c
AS
1632003-07-20 Andreas Schwab <schwab@suse.de>
164
165 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
166 due to insn reordering.
167
0714963c
AC
1682003-07-15 Andrew Cagney <cagney@redhat.com>
169
170 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
171
98a23b3f
MC
1722003-07-15 Michael Chastain <mec@shout.net>
173
174 * gdb.base/gdb1250.exp: New file.
175 * gdb.base/gdb1250.c: New file.
176
27e417a2
ML
1772003-07-09 Michal Ludvig <mludvig@suse.cz>
178
179 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
180 expansion of size_t to 'unsigned long', not only to 'unsigned'.
181
8bc2021f
EZ
1822003-07-09 Elena Zannoni <ezannoni@redhat.com>
183
184 * gdb.threads/tls.c: New file.
185 * gdb.threads/tls.exp: New file.
186 * gdb.threads/tls-main.c: New file.
187 * gdb.threads/tls-shared.c: New file.
188 * gdb.threads/tls-shared.exp: New file.
189
d99968dc
EZ
1902003-07-09 Elena Zannoni <ezannoni@redhat.com>
191
192 * gdb.base/annota1.exp: Make sure that we properly escape the
193 full path of the source file. Xfail more permissive patterns,
194 due to a compiler debug info problem.
195
83876b3b
AS
1962003-07-07 Andreas Schwab <schwab@suse.de>
197
2705e972
AS
198 * gdb.asm/m68k.inc: New file.
199 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
200
83876b3b
AS
201 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
202 arguments"): Also match negative number.
203
204 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
205
3a871b37
DJ
2062003-07-03 Daniel Jacobowitz <drow@mvista.com>
207
208 * gdb.base/store.c (charest): New typedef.
209 (add_char): Rename to add_charest, update.
210 (wack_char): Rename to wack_charest, update types. Return l + r
211 to keep r live across the call.
212 (wack_short, wack_int, wack_long, wack_longest, wack_float)
213 (wack_double, wack_doublest): Return l + r to keep r live across
214 the call.
215 * gdb.base/store.exp: Accomodate store.c changes.
216
b2a7f303
DC
2172003-06-30 David Carlton <carlton@kealia.com>
218
219 * gdb.c++/maint.exp (test_invalid_name): New.
220 (test_first_component): Add tests for invalid names.
221
3c6cb4a1
MC
2222003-06-29 Michael Chastain <mec@shout.net>
223
224 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
225 output of '<VTT for class>' for virtual base classes.
226
f1c2644b
DJ
2272003-06-29 Daniel Jacobowitz <drow@mvista.com>
228
229 * gdb.base/completion.exp: Tab-complete "complet" instead of
230 "compl".
231 * gdb.base/complex.exp, gdb.base/complex.c: New files.
232
18080350
DJ
2332003-06-29 Daniel Jacobowitz <drow@mvista.com>
234
235 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
236 * gdb.base/volatile.exp: Likewise.
237
f56973f8
DJ
2382003-06-29 Daniel Jacobowitz <drow@mvista.com>
239
240 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
241 gdb/1265.
242
2432003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
244 Daniel Jacobowitz <drow@mvista.com>
245
246 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
247 initial line count of 'captured_main' from 26 to 32.
248 (test_with_self): Allow xmalloc call to be interleaved with the
249 preceding two lines.
250
e766d4d6
JB
2512003-06-24 Joel Brobecker <brobecker@gnat.com>
252
253 * gdb.base/bang.exp: New testcase.
254
f125c9a4
JB
2552003-06-23 Joel Brobecker <brobecker@gnat.com>
256
257 * gdb.base/langs.exp: Add some tests for the "minimal" language
258 support.
259
6e25beaf
EZ
2602003-06-23 Elena Zannoni <ezannoni@redhat.com>
261
262 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
263 the testcase.
264
2f816dda
DJ
2652003-06-22 Daniel Jacobowitz <drow@mvista.com>
266
267 * gdb.base/relocate.exp: Test add-symbol-file with a variable
268 offset.
269
db5a5748
DJ
2702003-06-22 Daniel Jacobowitz <drow@mvista.com>
271
272 * gdb.c++/pr-1210.cc: New file.
273 * gdb.c++/pr-1210.exp: New file.
274
1df0c130
DJ
2752003-06-21 Daniel Jacobowitz <drow@mvista.com>
276
277 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
278 000-exec-continue.
279
a92feac0
MK
2802003-06-15 Mark Kettenis <kettenis@gnu.org>
281
282 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
283 on *-*-*bsd* instead of *-*-freebsd*.
284
81a58f5b
AC
2852003-06-14 Andrew Cagney <cagney@redhat.com>
286
287 * gdb.base/store.exp: Test longest and doublest. Test all
288 parameters. Weaken return statement match.
289 * gdb.base/store.c: Add longest and doublest - aka long long and
290 long double functions. Put all parameters into local register
291 variables. Use negative values.
292
b257a0d3
AC
2932003-06-14 Andrew Cagney <cagney@redhat.com>
294
295 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
296 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
297 exit status.
298 * gdb.base/fileio.exp: Disable target when nointerrupts and
299 noinferiorio, instead of limiting it to remote. Use remote_exec
300 instead of system.
301
21c38304
JJ
3022003-06-12 Jeff Johnston <jjohnstn@redhat.com>
303
304 * gdb.base/float.exp: Add ia64 support.
305
1bcdb424
CV
3062003-06-12 Corinna Vinschen <vinschen@redhat.com>
307
308 * gdb.base/fileio.exp: Run only on remote targets.
309
6aeb981f
CV
3102003-06-10 Corinna Vinschen <vinschen@redhat.com>
311
312 * gdb.base/fileio.c: New file, testing File-I/O.
313 * gdb.base/fileio.exp: Ditto.
314
53df362e
RG
3152003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
316
317 * gdb.base/shreloc.exp: New file, check symbol values obtained from
318 shared objects after relocation at load time (gdb PR/1132).
319 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
320 as above, part of the shared object relocation test.
321
ffee1b46
MK
3222003-06-08 Mark Kettenis <kettenis@gnu.org>
323
b5ca3722
MK
324 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
325 fully filled history list.
326 * gdb.base/gdb_history: New file.
327
03ed860d
MK
328 * gdb.base/signals.exp: XFAIL "continue to func1" on
329 i*86-*-freebsd*.
330
ffee1b46
MK
331 * gdb.base/attach.exp: When trying to attach to a nonexistent
332 process, make it possible to specify the PID based on the target,
333 and do so for *-*-freebsd*.
334
d80dbb52
RH
3352003-06-02 Richard Henderson <rth@redhat.com>
336
337 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
338
6dd77b81
RH
3392003-06-02 Richard Henderson <rth@redhat.com>
340
341 * gdb.base/selftest.exp: Next over lim_at_start initialization.
342
f6347e16
RH
3432003-06-02 Richard Henderson <rth@redhat.com>
344
345 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
346
2c161407
DJ
3472003-06-01 Daniel Jacobowitz <drow@mvista.com>
348
349 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
350 of globalvar.
351
572eb746
MK
3522003-06-01 Mark Kettenis <kettenis@gnu.org>
353
354 * gdb.asm/asm-source.exp: Check for memory read errors in
355 disassembler test on *BSD too.
356
9e9617a5
RH
3572003-06-01 Richard Henderson <rth@redhat.com>
358
359 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
360 for .frame.
361 (gdbasm_call): Lose ldgp.
362 (gdbasm_startup): Add frame information.
363 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
364
7b34ad4e
MK
3652003-05-31 Mark Kettenis <kettenis@gnu.org>
366
367 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
368 i?86-*-*.
369
10059fdf
MK
3702003-05-30 Mark Kettenis <kettenis@gnu.org>
371
372 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
373 FreeBSD.
374
acf4b816
RH
3752003-05-29 Richard Henderson <rth@redhat.com>
376
377 * gdb.asm/alpha.inc: New file.
378 * gdb.asm/asm-source.exp: Use it.
379
e9ecd949
JB
3802003-05-29 Jim Blandy <jimb@redhat.com>
381
382 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
383 'core.PID'.
384
e3e5a4f3
JB
3852003-05-22 Jim Blandy <jimb@redhat.com>
386
387 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
388 backtrace.
389
72fe3d25
DC
3902003-05-20 David Carlton <carlton@math.stanford.edu>
391
392 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
393 this time.
394
58da2eb2
DC
3952003-05-19 David Carlton <carlton@bactrian.org>
396
397 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
398 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
399
1fcb5155
DC
4002003-05-19 David Carlton <carlton@bactrian.org>
401
402 * gdb.c++/namespace.exp: Add namespace scope and anonymous
403 namespace tests.
404 Bump copyright date.
405 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
406 (main): Call C::D::marker2.
407 * gdb.c++/namespace1.cc: New file.
408
85e85163
JJ
4092003-05-14 Jeff Johnston <jjohnstn@redhat.com>
410
411 Roland McGrath <roland@redhat.com>
412 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
413 there is no manager thread.
414
a25fbfec
JJ
4152003-05-08 Jeff Johnston <jjohnstn@redhat.com>
416
417 * gdb.threads/schedlock.exp: Remove assumption that all threads
418 will run in a particular small time slice. Also ensure we break
419 in one of the child threads rather than the main thread.
420
be375bae
JB
4212003-05-07 Jim Blandy <jimb@redhat.com>
422
09bf6082
JB
423 Add support for assembly source testing on the s390x.
424 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
425 architecture.
426 * gdb.asm/s390x.inc: New file.
427
be375bae
JB
428 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
429 succession of 'if' statements.
430
00905d52
AC
4312003-05-05 Andrew Cagney <cagney@redhat.com>
432
433 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
434
b1e29e33
AC
4352003-05-05 Andrew Cagney <cagney@redhat.com>
436
437 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
438 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
439
e33d66ec
EZ
4402003-05-02 Elena Zannoni <ezannoni@redhat.com>
441
442 * gdb.base/charset.exp: Update based on new behavior of set/show
443 charset commands.
444
2b6fd0d8
AC
4452003-05-01 Andrew Cagney <cagney@redhat.com>
446
447 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
448 variable do not give memory errors.
449
130cacce
AF
4502003-04-30 Adam Fedor <fedor@gnu.org>
451
452 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
453 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
454 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
455 gdb.objc/basicclass.m: : New files
456
457 * lib/gdb.exp (gdb_compile_objc): New procedure.
458
bea71854
DJ
4592003-04-27 Daniel Jacobowitz <drow@mvista.com>
460
461 * gdb.base/signals.exp: Make backtrace tests more specific.
462
0f20eeea
DC
4632003-04-23 David Carlton <carlton@bactrian.org>
464
465 * gdb.c++/maint.exp (test_first_component): Add tests for
466 'operator' in more locations.
467
c8c4d8dc
KB
4682003-04-16 Kevin Buettner <kevinb@redhat.com>
469
470 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
471
3fe60e3c
EZ
4722003-04-16 Elena Zannoni <ezannoni@redhat.com>
473
474 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
475 func marke' instead. Update test name.
476
9219021c
DC
4772003-04-15 David Carlton <carlton@math.stanford.edu>
478
479 * gdb.c++/maint.exp: New file.
480
5dd55bdd
EZ
4812003-04-14 Elena Zannoni <ezannoni@redhat.com>
482
483 * gdb.threads/schedlock.c: Change type of thread function argument
484 to long, to avoid warnings on 64-bit platforms.
485
00890572
EZ
4862003-04-14 Elena Zannoni <ezannoni@redhat.com>
487
488 * gdb.base/attach.exp: Add new message from ptrace in case of
489 attaching to nonexistent process.
490
93201743
JB
4912003-04-11 Jim Blandy <jimb@redhat.com>
492
493 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
494 gdb.c++/userdef.cc: Place comments on the lines to which the
495 marker function might return.
496 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
497 gdb.c++/userdef.exp: Look for those comments to check that we've
498 returned to the right place, instead of checking line numbers.
499
2a11c64d
EZ
5002003-04-11 Elena Zannoni <ezannoni@redhat.com>
501
502 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
503 match on sourcefile name, instead of directory name.
504
68ab8fc5
EZ
5052003-04-10 Elena Zannoni <ezannoni@redhat.com>
506
507 * gdb.base/completion.exp: Use string_to_regexp to match the
508 working directory name.
509
5624293a
JB
5102003-04-09 Jim Blandy <jimb@redhat.com>
511
512 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
513 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
514 after an inferior function call, report the failure, but allow the
515 test to continue.
516
f1f02ee4
SC
5172003-04-05 Stephane Carrez <stcarrez@nerim.fr>
518
519 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
520 with -DPROTOTYPES.
521
6eb79af0
SC
5222003-04-05 Stephane Carrez <stcarrez@nerim.fr>
523
524 * gdb.base/break.exp: Revert last patch.
525
8dfb4cf0
SC
5262003-04-04 Stephane Carrez <stcarrez@nerim.fr>
527
528 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
529 with -DPROTOTYPES.
530
ed4c619a
AC
5312003-04-02 Andrew Cagney <cagney@redhat.com>
532
533 * gdb.base/callfuncs.exp: Make "print add" messages unique.
534 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
535 matching directories by the name breakpoint.
536 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
537 Make "continue to marker1" consistent.
538 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
539 message consistent.
540 * lib/gdb.exp: Put "the program is no longer running", and "the
541 program exited" in parenthesis.
542 * lib/mi-support.exp: Ditto.
543
4e35d5f0
BR
5442003-04-02 Bob Rossi <bob_rossi@cox.net>
545
546 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
547
71900fe8
AC
5482003-03-29 Andrew Cagney <cagney@redhat.com>
549
550 * gdb.base/sizeof.c (main): Print the value of '\377'.
551 * gdb.base/sizeof.exp: Check the sign of '\377'.
552
c0655a16
MC
5532003-03-27 Michael Chastain <mec@shout.net>
554
555 * gdb.base/gdb1090.exp: New file.
556 * gdb.base/gdb1090.cc: New file.
557
5b2a3989
JB
5582003-03-27 J. Brobecker <brobecker@gnat.com>
559
560 * gdb.gdb/observer.exp: New regression test.
561
79876890
MC
5622003-03-27 Michael Chastain <mec@shout.net>
563
564 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
565 * gdb.base/ptype.exp: Likewise.
566
6eac95e3
CV
5672003-03-27 Corinna Vinschen <vinschen@redhat.com>
568
569 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
570
e8c71839
MC
5712003-03-26 Michael Chastain <mec@shout.net>
572
573 * gdb.base/ptype.exp: Actually use some typedef'd types.
574
71b10041
SC
5752003-03-21 Stephane Carrez <stcarrez@nerim.fr>
576
577 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
578 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
579
2512cf80
CV
5802003-03-20 Corinna Vinschen <vinschen@redhat.com>
581
582 * gdb.base/default.exp: Fix regular expression.
583
0d195a4f
CV
5842003-03-20 Corinna Vinschen <vinschen@redhat.com>
585
586 * gdb.base/args.exp: Fix regular expression.
587
8a2dbca8
CV
5882003-03-20 Corinna Vinschen <vinschen@redhat.com>
589
590 * gdb.base/help.exp: Allow Win32 child process.
591
bf028682
CV
5922003-03-20 Corinna Vinschen <vinschen@redhat.com>
593
594 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
595 when stepping out of main().
596
182dbe85
CV
5972003-03-20 Corinna Vinschen <vinschen@redhat.com>
598
599 * gdb.base/default.exp: Check for win32 specific message when calling
600 "run" without executable.
601
d67a6ba5
CV
6022003-03-20 Corinna Vinschen <vinschen@redhat.com>
603
604 * gdb.base/args.exp: Expect .exe in output.
605
a955b5bb
CV
6062003-03-20 Corinna Vinschen <vinschen@redhat.com>
607
608 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
609 Cygwin native.
610
bf6bad4b
AC
6112003-03-17 Andrew Cagney <cagney@redhat.com>
612
613 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
614 vector registes.
615 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
616 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
617
293e9a31
DC
6182003-03-17 David Carlton <carlton@math.stanford.edu>
619
620 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
621 test, for PR breakpoints/38.
622 Call test_watchpoint_and_breakpoint.
623 * gdb.base/watchpoint.c (func3): New function.
624 (main): Call func3.
625
5330f2db
DC
6262003-03-04 David Carlton <carlton@math.stanford.edu>
627
628 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
629 Garply<Garply<char> >:: garply".
630 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
631 with respect to PR c++/1111; note also PR c++/1113.
632 (test_template_breakpoints): KFAIL "constructor breakpoint" with
633 respect to PR c++/1062.
634 KFAIL "destructor breakpoint" with respect to PR c++/1112.
635
6ece72da
DC
6362003-03-03 David Carlton <carlton@math.stanford.edu>
637
638 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
639 with respect to PR c++/57.
640 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
641 c++/826.
642 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
643 respect to PR c++/57.
644
85ca1584
DC
6452003-03-03 David Carlton <carlton@math.stanford.edu>
646
647 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
648 respect to PR c++/33 into FAILs.
649
98e9c5b8
MC
6502003-03-03 Michael Chastain <mec@shout.net>
651
7bedbf27
MC
652 * configure.in: Update copyright years.
653
6542003-03-03 Michael Chastain <mec@shout.net>
655
656 * Makefile.in: Update copyright years.
98e9c5b8 657
f683e100
DC
6582003-02-28 David Carlton <carlton@math.stanford.edu>
659
660 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
661 print class instead of struct and/or superfluous protection
662 specifiers, as long as the resulting output is equivalent to the
663 source code.
664 Delete FIXME from end of messages on tests that don't need
665 fixing.
666
a9e0cf2c
DC
6672003-02-28 David Carlton <carlton@math.stanford.edu>
668
669 * gdb.c++/templates.exp (do_tests): Allow const in the two
670 Foo<volatile char *>::foo tests.
671
e8d359df
MS
6722003-02-27 Michael Snyder <msnyder@redhat.com>
673
674 * gdb.base/restore.c (main): Return zero, so exit code
675 will be consistant.
676
0b71dc91
DC
6772003-02-26 David Carlton <carlton@math.stanford.edu>
678
679 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
680 char *>::foo" test with respect to PR c++/33. Create a new test
681 which is identical to that one except that it doesn't put the
682 space between the "char" and the "*"; KFAIL it, too.
683
dd14ab43
DC
6842003-02-26 David Carlton <carlton@math.stanford.edu>
685
686 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
687 template types into either PASSes or KFAILs (corresponding to PR
688 c++/57). Tweak indentation. Update copyright.
689
1146c7f1
SC
6902003-02-23 Stephane Carrez <stcarrez@nerim.fr>
691
692 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
693
74641dfb
MC
6942003-02-13 Michael Chastain <mec@shout.net>
695
696 * gdb.base/exprs.exp: Remove i960 remnants.
697 * gdb.base/funcargs.exp: Likewise.
698 * gdb.base/list.exp: Likewise.
699 * gdb.base/ptype.exp: Likewise.
700
559cd2d0
DC
7012003-02-14 David Carlton <carlton@math.stanford.edu>
702
703 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
704 pEe->D::vg()" from XFAIL to KFAIL.
705
c4f90d87
JM
7062003-02-13 Jason Molenda (jmolenda@apple.com)
707
708 * gdb.base/maint.exp: Update maint print statistics regexp to include
709 new entries.
710
cbc4d97c
MC
7112003-02-13 Michael Chastain <mec@shout.net>
712
713 * gdb.c++/inherit.exp: Remove call to get_debug_format.
714
40f235b7
MC
7152003-02-12 Michael Chastain <mec@shout.net>
716
717 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
718 * gdb.c++/inherit.exp: Likewise.
719 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
720 * gdb.c++/templates.exp: Likewise.
721 * gdb.c++/virtfunc.exp: Likewise.
722
c56716b0
JM
7232003-02-06 Jason Molenda (jason-cl@molenda.com)
724
725 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
726 why the code is written that way.
727
070afcf8
MC
7282003-02-05 Michael Chastain <mec@shout.net>
729
730 * gdb.base/dump.exp: Add missing copyright line.
731
5d0331e5
JM
7322003-02-05 Jason Molenda (jason-cl@molenda.com)
733
f7ae6d3e 734 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
735 at the beginning so the breakpoint doesn't get set on the loop.
736
92851186
MC
7372003-02-05 Michael Chastain <mec@shout.net>
738
739 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
740 output for configurations with gcc 2.95.3.
741
cbf1e085
AC
7422003-02-05 Keith Seitz <keiths@redhat.com>
743 Andrew Cagney <ac131313@redhat.com>
744
745 * gdb.mi/mi-cli.exp: New file.
746
29518e1e
MC
7472003-02-04 Michael Chastain <mec@shout.net>
748
749 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
750 Call perror and then continue.
751
5af1d5f3
MC
7522003-02-03 Michael Chastain <mec@shout.net>
753
754 * gdb.c++/pr-1023.cc: New file.
755 * gdb.c++/pr-1023.exp: New file.
756
6b549786
JB
7572003-02-05 Jim Blandy <jimb@redhat.com>
758
759 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
760 it's local to foobar. Check for it there, and check that it's not
761 present in main.
762 * gdb.c++/local.cc (marker2): New function.
763 (foobar): Call marker1.
764 (main): Call marker2 instead of marker1.
765
67f16606
AC
7662003-02-04 Andrew Cagney <ac131313@redhat.com>
767
768 * gdb.disasm/mn10200.exp: Obsolete file.
769 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
770 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
771 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
772
1c5cb38e
DC
7732003-02-04 David Carlton <carlton@math.stanford.edu>
774
775 * gdb.c++/overload.exp: Test intToChar(1).
776 * gdb.c++/overload.cc (intToChar): New.
777 (main): Call intToChar.
778
d1fe6965
DC
7792003-02-03 David Carlton <carlton@math.stanford.edu>
780
781 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
782 'might_kfail' arg.
783 KFAIL some of the continue_to_bp_overloaded calls, according to
784 PR c++/1025.
785
9ba61c5d
MC
7862003-02-01 Michael Chastain <mec@shout.net>
787
788 * gdb.base/advance.c (marker1): New marker function.
789 * gdb.base/advance.exp: When the 'advance' command lands on the
790 return breakpoint, it can legitimately stop on either the
791 current line or the next line. Accommodate both outcomes.
792 * gdb.base/until.exp: Likewise.
793
e7494ffb
AC
7942003-02-02 Andrew Cagney <ac131313@redhat.com>
795
796 2002-11-10 Jason Molenda (jason-cl@molenda.com):
797 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
798 now a list, not a tuple.
799 * gdb.mi/mi-var-display.exp: Ditto.
800 * gdb.mi/gdb792.exp: Ditto.
801
075559bc
AC
8022003-02-01 Andrew Cagney <ac131313@redhat.com>
803
804 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
805 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
806 stack backtraces.
807 * gdb.mi/mi-syn-frame.c: Part of same.
808
2bd4c7b1
MK
8092003-02-01 Mark Kettenis <kettenis@gnu.org>
810
811 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
812 gdb.mi/mi1-pthreads.exp: Return instead of calling
813 gdb_suppress_entire_file.
814
eabd8992
MS
8152003-02-01 Mark Salter <msalter@redhat.com>
816
817 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
818
71469e2f
MS
8192003-01-31 Mark Salter <msalter@redhat.com>
820
821 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
822 Support empty arg.
823
38a94d44
MC
8242003-01-30 Michael Chastain <mec@shout.net>
825
826 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
827 This was a workaround for a UTF-8 bug in readline 4.3. The bug
828 has been fixed in gdb/readline on 2003-01-09.
829
19ea9e73
MS
8302003-01-29 Michael Snyder <msnyder@redhat.com>
831
e8d359df
MS
832 * gdb.base/maint.exp: Allow for leading underscore in symbol.
833 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
834 * gdb.base/args.exp: Skip if target does not support args passing.
835
2307bd6a
DJ
8362003-01-22 Daniel Jacobowitz <drow@mvista.com>
837
19ea9e73 838 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
839 gdb_test. Accept a list of expect arguments as the third
840 parameter.
841 (gdb_test): Use it.
842
f2dd3617
EZ
8432003-01-20 Elena Zannoni <ezannoni@redhat.com>
844
845 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
846 allow for different test tree configurations. Update some
847 tescases accordingly.
848 * gdb.arch/altivec-regs.exp: Ditto.
849 * gdb.asm/asm-source.exp: Ditto.
850 * gdb.base/advance.exp: Ditto.
851 * gdb.base/display.exp: Ditto.
852 * gdb.base/long_long.exp: Ditto.
853 * gdb.base/mips_pro.exp: Ditto.
854 * gdb.base/overlays.exp: Ditto.
855 * gdb.base/relocate.exp: Ditto.
856 * gdb.base/setshow.exp: Ditto.
857 * gdb.base/step-line.exp: Ditto.
858 * gdb.base/step-test.exp: Ditto.
859 * gdb.base/until.exp: Ditto.
860 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
861
c71cdefd
DC
8622003-01-17 David Carlton <carlton@math.stanford.edu>
863
864 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
865 corresponding to PR c++/945.
866 Update copyright.
867
fdba05d7
DC
8682003-01-17 David Carlton <carlton@math.stanford.edu>
869
870 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
871 corresponding to PR c++/68.
872
8732003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
874
875 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
876 (test_paddr_hairy_functions): Call print_addr_2_kfail for
877 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
878
c362c33a
EZ
8792003-01-15 Elena Zannoni <ezannoni@redhat.com>
880
0fbc361c
EZ
881 * gdb.base/break.exp: Fix change of default location, because of
882 removal of until tests.
883 * gdb.base/help.exp: Update test for new 'until' help message.
884 Add test for help on 'advance'.
c362c33a
EZ
885 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
886
dabf8a35
MK
8872003-01-15 Mark Kettenis <kettenis@gnu.org>
888
889 * gdb.base/default.exp: Adapt "info float" test for recent changes
890 to that command. Add test for "info vector".
891 * gdb.base/float.exp: New file. Add test for "info float" that
892 resembles the old test in gdb.base/default.exp.
893
a1769aca
DC
8942003-01-15 David Carlton <carlton@math.stanford.edu>
895
896 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
897
82025e13
EZ
8982003-01-15 Elena Zannoni <ezannoni@redhat.com>
899
900 * gdb.base/break.exp: Move the tests of until command from here...
901 * gdb.base/until.exp: ... to here. New file. Add other tests.
902 * gdb.base/advance.c: New file.
903 * gdb.base/advance.exp: New file.
904
8f9ab801
EZ
9052003-01-14 Elena Zannoni <ezannoni@redhat.com>
906
907 * gdb.base/args.c: New file.
908 * gdb.base/args.exp: New file.
909
9ae66589
DJ
9102003-01-14 Daniel Jacobowitz <drow@mvista.com>
911
912 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
913
8d77e5c3
DJ
9142003-01-14 Daniel Jacobowitz <drow@mvista.com>
915
916 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
917
12d2f0a1
DJ
9182003-01-14 Daniel Jacobowitz <drow@mvista.com>
919
920 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
921 dates.
922
6ca37014
DJ
9232003-01-13 Daniel Jacobowitz <drow@mvista.com>
924
925 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
926
b0023472
DJ
9272003-01-13 Daniel Jacobowitz <drow@mvista.com>
928
929 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
930 (ptype &*"foo").
931 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
932
d6abaea5
DJ
9332002-01-13 Daniel Jacobowitz <drow@mvista.com>
934
935 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
936 * gdb.mi/mi1-console.exp: Likewise.
937
dfd536a7
DJ
9382002-01-13 Daniel Jacobowitz <drow@mvista.com>
939
940 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
941 * gdb.mi/mi1-console.exp: Likewise.
942
a1fb14a2
DJ
9432003-01-13 Daniel Jacobowitz <drow@mvista.com>
944
945 * gdb.c++/overload.exp: Remove some fixed XFAILs.
946
c4cf40b7
DJ
9472003-01-09 Daniel Jacobowitz <drow@mvista.com>
948
949 * gdb.base/detach.exp: New test.
950
696d5a5b
DJ
9512003-01-09 Daniel Jacobowitz <drow@mvista.com>
952
953 * Makefile.in (ALL_SUBDIRS): New variable.
954 (subdirs, clean, distclean): Use it.
955 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
956 regenerating Makefile, since it is generated from the top level.
957 * gdb.asm/Makefile.in: Likewise.
958 * gdb.base/Makefile.in: Likewise.
959 * gdb.c++/Makefile.in: Likewise.
960 * gdb.disasm/Makefile.in: Likewise.
961 * gdb.java/Makefile.in: Likewise.
962 * gdb.mi/Makefile.in: Likewise.
963 * gdb.threads/Makefile.in: Likewise.
964 * gdb.trace/Makefile.in: Likewise.
965
754533e4
DC
9662003-01-09 David Carlton <carlton@math.stanford.edu>
967
968 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
969 Add copyright year 2003.
970
d8b3e9ee
MC
9712003-01-06 Michael Chastain <mec@shout.net>
972
973 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
974 When selecting a thread, 'line' and 'file' are optional.
975 * gdb.mi/mi1-pthreads.exp: Likewise.
976
8e9e0fe6
AS
9772003-01-06 Andreas Schwab <schwab@suse.de>
978
979 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
980 failures.
981
b5ab8ff3
DJ
9822003-01-04 Daniel Jacobowitz <drow@mvista.com>
983
984 Fix PR gdb/844
985 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
986 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
987
988 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
989 instead of calling gdb_suppress_entire_file.
990 * gdb.threads/print-threads.exp: Likewise.
991 * gdb.threads/schedlock.exp: Likewise.
992
993 * gdb.threads/killed.exp: Return instead of calling
994 gdb_suppress_entire_file.
995 * gdb.threads/linux-dp.exp: Likewise.
996 * gdb.threads/pthreads.exp: Likewise.
997
1e698235
DJ
9982003-01-04 Daniel Jacobowitz <drow@mvista.com>
999
1000 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1001 stabs.
1002 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1003 * gdb.base/whatis.exp: Always allow (void) after function names.
1004
147ff08c
DJ
10052003-01-04 Daniel Jacobowitz <drow@mvista.com>
1006
1007 * gdb.c++/casts.exp: Correct regexp.
1008
dc62bfc2
MK
10092003-01-04 Mark Kettenis <kettenis@gnu.org>
1010
1011 * configure.in: Call AC_CONFIG_HEADER. Don't call
1012 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1013 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1014 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1015 aforementioned directories in the AC_OUPUT call.
1016 * config.hin: New file.
1017 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1018 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1019 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1020 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1021 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1022 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1023 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1024 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1025 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1026 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1027 gdb.threads/configure.in, gdb.threads/configure,
1028 gdb.threads/config.in, gdb.trace/configure.in,
1029 gdb.trace/configure: Removed.
1030
77afa639
MC
10312003-01-03 Michael Chastain <mec@shout.net>
1032
1033 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1034 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1035
7634bb6e
DJ
10362003-01-03 Daniel Jacobowitz <drow@mvista.com>
1037
1038 * gdb.base/store.exp: Fix regular expressions.
1039
b39c905e
MK
10402002-12-28 Mark Kettenis <kettenis@gnu.org>
1041
1042 * configure.in: Rewrite.
1043 * configure: Regenerated.
1044
0a8551dd
DC
10452003-01-03 David Carlton <carlton@math.stanford.edu>
1046
1047 * gdb.base/psymtab.exp: New file.
1048 * gdb.base/psymtab1.c: Ditto.
1049 * gdb.base/psymtab2.c: Ditto.
1050
c60b7188
AF
10512002-12-23 Adam Fedor <fedor@gnu.org>
1052
1053 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1054
ee73db83
DC
10552002-12-23 David Carlton <carlton@math.stanford.edu>
1056
1057 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1058 and current_directory initialization.
1059
d6c1774e
JB
10602002-12-22 Jim Blandy <jimb@redhat.com>
1061
f0a847b8
JB
1062 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1063 rather than as part of the output file name.
1064
d6c1774e
JB
1065 * gdb.base/attach.exp: There's no need to copy the test program to
1066 /tmp; that was only ever necessary on HP/UX, and this test is
1067 entirely disabled there anyway.
1068
f0708dbb
JB
10692002-12-21 Jim Blandy <jimb@redhat.com>
1070
4c2acfea
JB
1071 * gdb.c++/psmang.exp: Doc fix.
1072
f0708dbb
JB
1073 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1074 test.
1075
9579e000
DC
10762002-12-20 David Carlton <carlton@math.stanford.edu>
1077
1078 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1079
d1810171
MC
10802002-12-18 Michael Chastain <mec@shout.net>
1081
1082 * gdb.c++/annota2.exp: Add copyright year 2002.
1083
76565097
DC
10842002-12-17 David Carlton <carlton@math.stanford.edu>
1085
1086 * gdb.c++/try_catch.cc: Add marker comments.
1087 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1088 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1089 * gdb.c++/m-static.cc: Ditto.
1090 * gdb.c++/m-static1.cc: Ditto.
1091 * gdb.c++/try_catch.cc: Ditto.
1092
da81390b
JJ
10932002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1094
1095 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1096 to see whether we are using the new -environment-directory
1097 command which resets via -r or the old version of the command
1098 which may prompt the user. Part of fix for gdb/741.
1099
b304d130
AC
11002002-12-13 Andrew Cagney <ac131313@redhat.com>
1101
1102 * gdb.fortran/types.exp: Update obsolete comment.
1103 * gdb.fortran/exprs.exp: Ditto.
1104 * lib/gdb.exp: Delete obsolete code.
1105 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1106 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1107 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1108 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1109 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1110 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1111 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1112 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1113 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1114 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1115 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1116 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1117 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1118 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1119 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1120 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1121 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1122 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1123 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1124 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1125 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1126 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1127 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1128 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1129 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1130 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1131 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1132 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1133 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1134 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1135 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1136 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1137 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1138 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1139 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1140 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1141 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1142
a23b6e6a
DC
11432002-12-11 David Carlton <carlton@math.stanford.edu>
1144
1145 * gdb.c++/m-data.exp: Add test for members that shadow global
1146 variables: see PR gdb/804.
1147 * gdb.c++/m-data.cc: Ditto.
1148
6604731b
DJ
11492002-12-10 Daniel Jacobowitz <drow@mvista.com>
1150
1151 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1152
de46ecd7
DC
11532002-12-06 David Carlton <carlton@math.stanford.edu>
1154
1155 * gdb.base/store.c: Don't declare functions static.
1156
27e829d0
AC
11572002-12-04 Andrew Cagney <ac131313@redhat.com>
1158
1159 * gdb.base/store.exp, gdb.base/store.c: New files.
1160
92806416
DJ
11612002-12-03 Daniel Jacobowitz <drow@mvista.com>
1162
1163 * gdb.base/selftest.exp: Update for current gdb.
1164
3bcbaac5
DJ
11652002-12-03 Daniel Jacobowitz <drow@mvista.com>
1166
1167 * gdb.base/maint.exp: Only dump symbols from one source file
1168 or objfile.
1169
f4f00b1f
DJ
11702002-12-03 Daniel Jacobowitz <drow@mvista.com>
1171
1172 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1173 function call.
1174
f1c8a949
JB
11752002-11-25 Jim Blandy <jimb@redhat.com>
1176
1177 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1178 function appearing in error message.
1179
9e297a97
DJ
11802002-11-21 Daniel Jacobowitz <drow@mvista.com>
1181
1182 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1183
1f312e79
JJ
11842002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1185
1186 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1187 for mi1 and current mi is in correct format. New mi startup message
1188 should be in mi console format. This is part of fix for PR gdb/604.
1189
83c31e7d
FN
11902002-09-18 Fernando Nasser <fnasser@redhat.com>
1191
1192 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1193 which explicitly prints the zero offset as "+0".
1194
322b3f65
DJ
11952002-10-22 Daniel Jacobowitz <drow@mvista.com>
1196
1197 * gdb.threads/schedlock.c (args): Make unsigned.
1198
11992002-10-21 Daniel Jacobowitz <drow@mvista.com>
1200
1201 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1202 numbers. Allow "foo2|selected stack frame".
1203 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1204 * gdb.asm/asmsrc2.s: Likewise.
1205 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1206 comments.
1207 * gdb.asm/mips.inc: New file.
1208
5e2fe5b8
AF
12092002-10-18 Adam Fedor <fedor@gnu.org>
1210
1211 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1212 * gdb.base/help.exp: Likewise.
1213
abe1a5d0
KB
12142002-10-17 Kevin Buettner <kevinb@redhat.com>
1215
1216 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1217 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1218
10abb1d4
JB
12192002-10-02 Jim Blandy <jimb@redhat.com>
1220
1221 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1222
1f609b42
AC
12232002-10-01 Andrew Cagney <ac131313@redhat.com>
1224
1225 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1226 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1227 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1228 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1229 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1230 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1231 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1232
0aee02e4
AC
12332002-09-29 Andrew Cagney <ac131313@redhat.com>
1234
1235 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1236 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1237 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1238 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1239 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1240 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1241 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1242
6fde09ad
KB
12432002-09-27 Kevin Buettner <kevinb@redhat.com>
1244
1245 * gdb.base/annota1.exp (info break): Make directory components of
1246 path optional since not all compilers emit this debug information.
1247
1248 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1249 step ends up stepping out of the function instead of stopping on
1250 the epilogue.
1251
9e8aab75
KS
12522002-09-26 Keith Seitz <keiths@redhat.com>
1253
1254 * lib/insight-support.exp (gdbtk_start): Figure out where
1255 the insight executable is based on where gdb is. Use this
1256 executable to start insight instead of gdb.
1257
e36180d7
AC
12582002-09-25 Andrew Cagney <cagney@redhat.com>
1259
1260 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1261
9dd34b2b
AC
12622002-09-24 Andrew Cagney <ac131313@redhat.com>
1263
1264 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1265 test_isolated_complaints.
1266 (test_empty_complaint): New function.
1267 (test_empty_complaints): New function. Check no output when no
1268 complaints.
1269
dea97812
KB
12702002-09-19 Jim Blandy <jimb@redhat.com>
1271
1272 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1273
54951bd7
AC
12742002-09-19 Andrew Cagney <ac131313@redhat.com>
1275
1276 * gdb.gdb/complaints.exp: New file.
1277
dec43320
AC
12782002-09-18 Andrew Cagney <ac131313@redhat.com>
1279
1280 * gdb.base/maint.exp: Check `help maint internal-warning'.
1281
e70d6e3f
DC
12822002-09-18 David Carlton <carlton@math.stanford.edu>
1283
1284 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1285 numbers, and replace them by a single breakpoint after the
1286 constructors are all finished.
1287 Add test 4.
1288 * gdb.c++/m-static.cc: Add test 4.
1289 * gdb.c++/m-static.h: New file.
1290 * gdb.c++/m-static1.cc: New file.
1291
1292 * gdb.c++/printmethod.exp: New file.
1293 * gdb.c++/printmethod.cc: New file.
1294
1295 * gdb.c++/pr-574.exp: New file.
1296 * gdb.c++/pr-574.cc: New file.
1297
afb5c968
CV
12982002-09-18 Corinna Vinschen <vinschen@redhat.com>
1299
1300 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1301 embedded targets which never actually exit.
1302
31e45dee
FN
13032002-09-18 Fernando Nasser <fnasser@redhat.com>
1304
1305 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1306 "don't step after run" as unresolved or unsupported, instead of xfail.
1307
a283c5a1
CV
13082002-09-18 Corinna Vinschen <vinschen@redhat.com>
1309
1310 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1311 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1312 Add newline to expected string in "step out of main (status wrapper)"
1313 case.
1314
11350d2a
CV
13152002-09-18 Corinna Vinschen <vinschen@redhat.com>
1316
1317 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1318 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1319
0deec7d6
TT
13202002-09-17 Tom Tromey <tromey@redhat.com>
1321
1322 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1323 \000, not \0, in double-quoted string.
1324
b2b4a1b5
CV
13252002-09-14 Corinna Vinschen <vinschen@redhat.com>
1326
1327 * gdb.base/command.exp: Don't expect a "Program exited normally"
1328 string after running the commands execution on breakpoint tests.
1329
1c56143a
CV
13302002-09-13 Corinna Vinschen <vinschen@redhat.com>
1331
1332 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1333
37f8da45
JB
13342002-09-12 Joel Brobecker <brobecker@gnat.com>
1335
1336 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1337
08b468e0
KS
13382002-09-10 Keith Seitz <keiths@redhat.com>
1339
1340 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1341 runto proc.
1342 (mi_run_to_main): Use mi_runto.
1343 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1344
dc360f58
KS
13452002-09-10 Keith Seitz <keiths@redhat.com>
1346
1347 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1348 regexp for stopping at main. Could have multiple event notifications.
1349 Don't assume that main was declared with no parameters.
1350 (mi_next): Use mi_step_to.
1351 (mi_step): Use mi_next_to.
1352
ce3abcfb
CV
13532002-09-09 Corinna Vinschen <vinschen@redhat.com>
1354
1355 * gdb.base/default.exp: Fix expected string in `info float' test.
1356
d1f5b980
BE
13572002-09-09 Ben Elliston <bje@redhat.com>
1358
1359 * config/mips.exp: Update comments.
1360 * config/mips-idt.exp: Likewise.
1361 * config/nind.exp: Likewise.
1362 * config/slite.exp: Likewise.
1363 * config/sparclet.exp: Likewise.
1364 * config/udi.exp: Likewise.
1365 * config/vx.exp: Likewise.
1366 * config/vxworks29k.exp: Likewise.
1367
2f71430b
JB
13682002-09-05 Jim Blandy <jimb@redhat.com>
1369
1370 * gdb.threads/killed.exp: Fix test failure message.
1371
7ddebc7e
KS
13722002-09-04 Keith Seitz <keiths@redhat.com>
1373
1374 * lib/mi-support.exp: Update copyright.
1375 (mi_gdb_test): Increase the priority of the expected pattern
1376 so that it matches gdb_test.
1377
0ae67eb3
KS
13782002-09-03 Keith Seitz <keiths@redhat.com>
1379
1380 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1381 Use integer comparison instead of string comparison for testing
1382 whether binary was built.
1383
38fc42c8
JB
13842002-09-03 Jim Blandy <jimb@redhat.com>
1385
1386 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1387
b6ff0e81
JB
13882002-08-29 Jim Blandy <jimb@redhat.com>
1389
1390 * gdb.threads/pthreads.exp: Move the portable thread compilation
1391 code into a function in lib/gdb.exp, and call that from here.
1392 * lib/gdb.exp (gdb_compile_pthreads): New function.
1393
07c98896
KS
13942002-08-29 Keith Seitz <keiths@redhat.com>
1395
1396 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1397 expect_out so that callers can get at it.
1398
0312286c
DJ
13992002-08-23 Daniel Jacobowitz <drow@mvista.com>
1400
1401 * gdb.threads/print-threads.c: New file.
1402 * gdb.threads/print-threads.exp: New file.
1403 * gdb.threads/schedlock.c: New file.
1404 * gdb.threads/schedlock.exp: New file.
1405
dd039bc4
EZ
14062002-08-22 Elena Zannoni <ezannoni@redhat.com>
1407
1408 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1409 not altivec.c.
1410
1f36144c
MK
14112002-08-17 Mark Kettenis <kettenis@gnu.org>
1412
1413 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1414 targets. The problem should be fixed now.
1415
16057ec7 14162002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1417
1418 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1419 2002-07-24 change that removes final dots from error messages.
1420
3c1499ad
TT
14212002-08-13 Tom Tromey <tromey@redhat.com>
1422
1423 * gdb.base/readline.exp: New file.
1424
a20ce2c3
AC
14252002-08-01 Andrew Cagney <ac131313@redhat.com>
1426
1427 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1428 supress message.
1429
db034ac5
AC
14302002-08-01 Andrew Cagney <cagney@redhat.com>
1431
1432 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1433 CHILL_FOR_TARGET and CHILL_LIB.
1434 * configure.in (configdirs): Remove gdb.chill.
1435 * configure: Regenerate.
1436 * lib/gdb.exp: Obsolete references to chill.
1437 * gdb.fortran/types.exp: Ditto.
1438 * gdb.fortran/exprs.exp: Ditto.
1439
3e000b18
KB
14402002-07-30 Kevin Buettner <kevinb@redhat.com>
1441
1442 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1443 set Irix-specific compile and link flags.
1444
28f4966b
KB
14452002-07-29 Kevin Buettner <kevinb@redhat.com>
1446
1447 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1448 source files. The ``-o'' option doesn't work with the ``-E'' option
1449 when using the Irix compiler.
1450
46c0d5a6
DJ
14512002-07-19 Daniel Jacobowitz <drow@mvista.com>
1452
1453 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1454 Improve support for reusing an exec file. Copy exec file
1455 to target, and run gdbserver on the target instead of on the host.
1456
eecf4bed
JB
14572002-07-18 Jim Blandy <jimb@redhat.com>
1458
0f815cdf
JB
1459 * gdb.base/ending-run.exp: Don't expect to see the program end in
1460 some orderly fashion when we're running on a real stand-alone
1461 board.
1462
eecf4bed
JB
1463 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1464 targets that don't support interrupts.
1465
52d309e4
JB
14662002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1467
1468 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1469 systems.
1470 Move comments in expect statements to inside the actions, so that they
1471 don't get matched against.
1472
ff683d9e
MK
14732002-07-10 Mark Kettenis <kettenis@gnu.org>
1474
1475 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1476 function when asleep" test.
1477
b5356753
AC
14782002-07-10 Andrew Cagney <ac131313@redhat.com>
1479
1480 * gdb.base/page.exp: Rewrite to handle problems with very long
1481 `info set' output. Update copyright.
1482
6aa4d13a
AC
14832002-06-26 Andrew Cagney <ac131313@redhat.com>
1484
1485 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1486 gdb.threads-hp.
1487 * gdb.hp/configure: Regenerate.
1488 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1489 * gdb.hp/gdb.threads-hp/configure: Delete file.
1490 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1491
8cf8c2b8
AC
14922002-06-22 Andrew Cagney <ac131313@redhat.com>
1493
1494 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1495 setlocale, bindtextdomain and textdomain.
1496
6827a8f8
JB
14972002-06-11 Jim Blandy <jimb@redhat.com>
1498
919d772c
JB
1499 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1500 preprocessor macro information is present.
1501
6827a8f8
JB
1502 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1503 tests.
1504
c15b0d21
MS
15052002-06-06 Michael Snyder <msnyder@redhat.com>
1506
c5984d70
MS
1507 * gdb.base/overlays.exp: Record addresses of overlay
1508 functions in TCL variables rather than in GDB variables,
1509 to avoid having GDB convert them to pointers (with loss
1510 of information).
1511
99a8512b
MS
1512 * gdb.base/d10v.ld: Merge in several years worth of
1513 default linker script changes.
c15b0d21
MS
1514 * gdb.base/long_long.exp: Add check for sizeof (long double).
1515
be26fe0d
ML
15162002-06-06 Michal Ludvig <mludvig@suse.cz>
1517
1518 * gdb.asm/asm-source.exp: Add x86-64 target.
1519 * gdb.asm/x86_64.inc: New.
1520
258093ca 15212002-05-30 Michael Chastain <mec@shout.net>
258093ca 1522
4b3153f1 1523 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1524 * gdb.c++/m-static.cc: New file.
1525 * gdb.c++/m-static.exp: New file.
1526
241264c6
MS
15272002-05-28 Michael Snyder <msnyder@redhat.com>
1528
1529 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1530 precision.
1531
9bba8c8f 15322002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1533
4b3153f1 1534 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1535 * gdb.c++/m-data.cc: New file.
1536 * gdb.c++/m-data.exp: New file.
1537
15382002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1539
4b3153f1 1540 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1541 * gdb.c++/try_catch.cc: New file.
1542 * gdb.c++/try_catch.exp: New file.
1543
def1b996
MC
15442002-05-27 Michael Chastain <mec@shout.net>
1545
1546 * gdb.c++/local.exp: Accept more nested types in output.
1547
522ba268
MC
15482002-05-26 Michael Chastain <mec@shout.net>
1549
1550 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1551
277254ba
MS
15522002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1553
1554 * lib/gdb.exp (gdb_wrapper_init): Just because
1555 gdb_wrapper_file exists, this does not mean that the file
1556 should not be rebuilt. That is what gdb_wrapper_initialized
1557 is for.
1558 (default_gdb_init): Reset gdb_wrapper_initialized.
1559
b61a8733
MS
15602002-05-23 Michael Snyder <msnyder@redhat.com>
1561
5bdb6d01
MS
1562 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1563 the precision of the floating point test results.
1564 * gdb.base/call-rt-st.exp: Ditto.
1565
b61a8733
MS
1566 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1567 * gdb.base/call-rt-st.exp: Ditto.
1568
56f6e910
MC
15692002-05-19 Michael Chastain <mec@shout.net>
1570
1571 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1572
ad0b0016
EZ
15732002-05-19 Elena Zannoni <ezannoni@redhat.com>
1574
1575 * configure.in (configdirs): Add gdb.arch.
1576 * configure: Regenerate.
1577
f617d2b6
JB
15782002-05-17 Jim Blandy <jimb@redhat.com>
1579
1580 * gdb.base/completion.exp: Recognize the more detailed error
1581 messages produced by the macro expander's lexical analyzer.
1582
eac2a696
EZ
15832002-05-14 Elena Zannoni <ezannoni@redhat.com>
1584
1585 * gdb.arch/altivec-abi.c: New file.
1586 * gdb.arch/altivec-abi.exp: New file.
1587 * gdb.arch/altivec-regs.c: New file.
1588 * gdb.arch/altivec-regs.exp: New file.
1589
2fdde8f8
DJ
15902002-05-14 Daniel Jacobowitz <drow@mvista.com>
1591
1592 * gdb.base/maint.exp (maint print type): Update for new type
1593 structure.
eac2a696 1594
e31f1a7c
EZ
15952002-05-14 Elena Zannoni <ezannoni@redhat.com>
1596
1597 * gdb.arch: New directory.
1598 * gdb.arch/configure.in: New file.
1599 * gdb.arch/configure: New file.
1600 * gdb.arch/Makefile.in: New file.
1601
db589741
CV
16022002-05-13 Corinna Vinschen <vinschen@redhat.com>
1603
1604 * gdb.asm/asm-source.exp: Add v850 as supported target.
1605 * gdb.asm/v850.inc: New file.
1606
8ce2a7dc
DJ
16072002-05-13 Daniel Jacobowitz <drow@mvista.com>
1608
1609 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1610
df763c7f
DJ
16112002-05-12 Daniel Jacobowitz <drow@mvista.com>
1612
1613 * gdb.base/break.exp: Check 'break "marker2"'.
1614
377daeed
MS
16152002-05-10 Michael Snyder <msnyder@redhat.com>
1616
1617 * gdb.base/long_long.exp: Fix typo.
1618
c4b7bc2b
JB
16192002-05-10 Jim Blandy <jimb@redhat.com>
1620
ecac9a4e
JB
1621 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1622 a bug.
1623
c4b7bc2b
JB
1624 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1625 Recognize more detailed error message produced by the macro
1626 expander's lexical analyzer.
1627 * lib/gdb.exp (test_print_reject): Same.
1628
e71019a1
MK
16292002-05-09 Mark Kettenis <kettenis@gnu.org>
1630
1631 * gdb.c++/method.exp: Fix typo.
1632
fedfc8e6
MS
16332002-05-08 Michael Snyder <msnyder@redhat.com>
1634
166a1957
MS
1635 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1636 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1637 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1638 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1639 Add iftarget clause for strongarm.
1640
f1c47eb2
MS
16412002-05-06 Michael Snyder <msnyder@redhat.com>
1642
cb9a9d3e
MS
1643 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1644 (gdb_continue_to_end): Accept output from status wrapper.
1645 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1646 Clean up fail messages to match pass messages.
1647
f1c47eb2
MS
1648 Enable the "needs_status_wrapper" testsuite feature.
1649 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1650 (gdb_compile): Conditionally call gdb_wrapper_init.
1651 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1652 * gdb.c++/method.exp: Recognize output from status wrapper.
1653
6079c749
BE
16542002-05-06 Ben Elliston <bje@redhat.com>
1655From Graydon Hoare <graydon@redhat.com>
1656
1657 * config/sid.exp: Include support for "rawsid" protocol.
1658
188baff3
JB
16592002-05-03 Jim Blandy <jimb@redhat.com>
1660
1661 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1662 * gdb.c++/hang3.C: New file.
1663
b9c07f0f
AC
16642002-05-04 Andrew Cagney <ac131313@redhat.com>
1665
1666 * gdb.base/default.exp: Remove obsolete code.
1667 * gdb.c++/misc.exp: Ditto. Update copyright.
1668 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1669 * gdb.base/whatis.exp: Ditto. Update copyright.
1670 * gdb.base/scope.exp: Ditto. Update copyright.
1671 * gdb.base/ptype.exp: Ditto. Update copyright.
1672 * gdb.base/printcmds.exp: Ditto. Update copyright.
1673 * gdb.base/opaque.exp: Ditto. Update copyright.
1674 * gdb.base/list.exp: Ditto.
1675 * gdb.base/funcargs.exp: Ditto. Update copyright.
1676 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1677 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1678 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1679 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1680 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1681 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1682
5c7a0397
MS
16832002-05-02 Michael Snyder <msnyder@redhat.com>
1684
d6dcc264 1685 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1686 * gdb.base/long_long.exp: Add xscale target.
1687 * gdb.base/default.exp: Add xscale target.
1688
eb7f1c48
JB
16892002-05-01 Jim Blandy <jimb@redhat.com>
1690
1691 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1692 gdb.c++/hang.exp: New test.
1693
a6befae8
FF
16942002-05-01 Fred Fish <fnf@redhat.com>
1695
1696 * gdb.base/completion.exp: Handle completions of "./Make" for
1697 more than one completion possibility, as is the case when we
1698 build and test in the source tree.
1699
0a310277
AG
17002002-04-29 Anthony Green <green@redhat.com>
1701
1702 * gdb.java/jmisc1.exp: New file.
1703 * gdb.java/jmisc2.exp: New file.
1704
6ff9af88
DJ
17052002-04-24 Daniel Jacobowitz <drow@mvista.com>
1706
1707 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1708
96b3d632
EZ
17092002-04-23 Elena Zannoni <ezannoni@redhat.com>
1710
1711 * gdb.base/help.exp: Change 'help status' to allow for target
1712 dependent output differences.
1713
5019bb54
MC
17142002-04-22 Michael Chastain <mec@shout.net>
1715
1716 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1717
a805a116
MC
17182002-04-22 Michael Chastain <mec@shout.net>
1719
1720 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1721
a1706bfd
DM
17222002-04-17 David S. Miller <davem@redhat.com>
1723
1724 * gdb.asm/sparc64.inc: New file.
1725 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1726
a73a20a2
EZ
17272002-04-19 Elena Zannoni <ezannoni@redhat.com>
1728
1729 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1730 instruction file directly into the build tree. Clean up at end of
1731 test.
1732
ba678339
DM
17332002-04-18 David S. Miller <davem@redhat.com>
1734
1735 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1736 handle 64-bit platforms correctly.
1737 * gdb.base/maint.exp: Likewise.
1738
b03399da
KB
17392002-04-18 Kevin Buettner <kevinb@redhat.com>
1740
1741 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1742 ``-fpic'' when compiling files comprising a shared library, but
1743 it does need additional linker flags in order to find shared
1744 libraries at run time.
1745
e2004992
KB
17462002-04-18 Kevin Buettner <kevinb@redhat.com>
1747
1748 * gdb.base/cvexpr.c (use): New function.
1749 (main): Invoke use() on all global variables to prevent
1750 some linkers from deleting these otherwise unused symbols.
1751
d8937120
MC
17522002-04-17 Michael Chastain <mec@shout.net>
1753From David S. Miller <davem@redhat.com>
1754
1755 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1756 handle 64-bit platforms correctly.
1757
ffd61a58
MS
17582002-04-12 Michael Snyder <msnyder@redhat.com>
1759From Jim Blandy <jimb@redhat.com>
1760 * gdb.base/foo.c (foox): Remove section attribute; the linker
1761 script can handle this instead.
1762 * gdb.base/bar.c (barx): Same.
1763 * gdb.base/baz.c (bazx): Same.
1764 * gdb.base/grbx.c (grbxx): Same.
1765
1766 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1767 manager doesn't automatically unmap overlays unnecessarily.
1768
6b8426a6
MH
17692002-04-10 Martin M. Hunt <hunt@redhat.com>
1770
1771 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1772 stepping out of main.
1773
34af4875
MC
17742002-04-09 Michael Chastain <mec@shout.net>
1775
1776 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1777 scope so that the nested scope tests will make sense.
1778 * gdb.c++/local.exp: Write patterns that actually work with gcc
1779 (the HP patterns "were never known to work with gcc").
1780 Keep the old aCC patterns too.
1781
2d1676a0
DJ
17822002-04-09 Daniel Jacobowitz <drow@mvista.com>
1783
1784 * gdb.base/attach.exp: Correct target board test.
1785
3a63e3f9
MC
17862002-04-08 Michael Chastain <mec@shout.net>
1787
1788 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1789 in a const method. Add some xfail and fail cases for configurations
1790 that do not emit the "const ...".
1791
f18dabd2
MC
17922002-04-07 Michael Chastain <mec@shout.net>
1793
1794 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1795 Accept "A * const" and "const A * const" as type of "this".
1796 Fix spelling of getFunky throughout. Make messages uniform.
1797
0fcddd82
EZ
17982002-04-07 Elena Zannoni <ezannoni@redhat.com>
1799
1800 Work around for PR gdb/285:
1801 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1802
16a8534a
EZ
18032002-04-07 Elena Zannoni <ezannoni@redhat.com>
1804
1805 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1806 instructions file at run time instead of configure time.
1807 Sometimes we run the test in a directory that is not the one we
1808 configured in.
1809 * gdb.asm/configure.in: Delete creation of symlink.
1810 * gdb.asm/configure: Regenerate.
1811
24181d81
JB
18122002-04-05 J. Brobecker <brobecker@gnat.com>
1813
1814 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1815 xfullpath () function.
1816
7cdb7107
DJ
18172002-04-04 Daniel Jacobowitz <drow@mvista.com>
1818
1819 * gdb.asm/Makefile.in: Correct dependencies.
1820
1821 * gdb.asm/powerpc.inc: New file.
1822 * gdb.asm/asm-source.exp: Add PowerPC.
1823 * gdb.asm/configure.in: Likewise.
1824 * gdb.asm/configure: Regenerated.
1825
a7d17088
DJ
18262002-04-04 Daniel Jacobowitz <drow@mvista.com>
1827
1828 * gdb.base/relocate.exp: New file.
1829 * gdb.base/relocate.c: New file.
1830
cd721503
FF
18312002-04-04 Fred Fish <fnf@redhat.com>
1832
1833 * gdb.base/step-test.exp: Update comment regarding stopping in
1834 memcpy/bcopy calls inserted as part of the compiler runtime.
1835
b22ad7a7
MS
18362002-04-04 Michael Snyder <msnyder@redhat.com>
1837
1838 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1839
5f279fa6
DJ
18402002-04-03 Daniel Jacobowitz <drow@mvista.com>
1841
1842 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1843 (gdb_expect): Remove $notransfer hack.
1844
dd0fd3ce
DJ
18452002-04-02 Daniel Jacobowitz <drow@mvista.com>
1846
1847 * gdb.c++/classes.exp ("calling method for small class"): Match
1848 updated register output.
1849
1e50cda1
DJ
18502002-03-30 Daniel Jacobowitz <drow@mvista.com>
1851
1852 Fix PR gdb/452
1853 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1854 when finished. Make gdb_file_cmd send "exec-file" when
1855 appropriate.
1856
24015922
DJ
18572002-03-30 Daniel Jacobowitz <drow@mvista.com>
1858
1859 * gdb.base/attach.exp: Remove extra setup_xfail.
1860
dd7dfd64
MS
18612002-03-26 Michael Snyder <msnyder@redhat.com>
1862
1863 * gdb.base/default.exp: Add tests for dump, append, and restore.
1864 * gdb.base/help.exp: Add tests for dump, append, and restore.
1865 * gdb.base/dump.exp: New file, test dump, append and restore.
1866 * gdb.base/dump.c: New file.
1867
48b2f8d7
MS
18682002-03-27 Michael Snyder <msnyder@redhat.com>
1869
1870 * gdb.base/help.exp: Modify expect strings to reflect
1871 clean-ups in help messages.
1872
05b4d525
FF
18732002-03-26 Fred Fish <fnf@redhat.com>
1874
1875 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1876 have debugging info for those functions and the compiler uses them
1877 internally to copy structs around.
1878
d7679631
FF
18792002-03-26 Fred Fish <fnf@redhat.com>
1880
1881 * gdb.base/list.exp: Revert the change made yesterday and add note
1882 about why we don't list the default lines for remote targets.
1883
523ac3f9
MS
18842002-03-25 Michael Snyder <msnyder@redhat.com>
1885
1886 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1887
754b2b8d
FF
18882002-03-25 Fred Fish <fnf@redhat.com>
1889
1890 * gdb.base/list.exp: This test works on remote targets so remove
1891 the short circuit for remote targets. Update copyright.
1892
33c3e192
FF
18932002-03-25 Fred Fish <fnf@redhat.com>
1894
1895 * gdb.base/attach.exp: Fix logic error that was suppressing this
1896 test for all non hppa*-*-hpux* targets, instead of the hp target.
1897 Move comments closer to the suppression point. Also now need to
1898 check that we are running natively.
1899
d43e73ee
MS
19002002-03-22 Michael Snyder <msnyder@redhat.com>
1901
882c8f02
MS
1902 * gdb.base/default.exp: Add test for gcore. Update copyright.
1903 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1904
04c12f60
FF
19052002-03-06 Fred Fish <fnf@redhat.com>
1906
1907 * gdb.base/funcargs.c: Remove extraneous ';' character.
1908 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1909
b43df995
MC
19102002-03-04 Michael Chastain <mec@shout.net>
1911
1912 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1913 accommodate gcc v3 function signature.
1914 * gdb.mi/mi0-var-cmd-exp: Ditto.
1915
92362027
AC
19162002-02-24 Andrew Cagney <ac131313@redhat.com>
1917
1918 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1919 ``GNU/Linux'' or ``Linux kernel''
1920 * testsuite/gdb.threads/pthreads.c: Ditto.
1921
258ad32d
MC
19222002-02-24 Michael Chastain <mec@shout.net>
1923
1924 * gdb.threads/pthreads.c (thread1): Add a return statement.
1925 (thread2): Likewise.
1926 (foo): Likewise.
1927
04c3b3d4
MC
19282002-02-23 Michael Chastain <mec@shout.net>
1929
1930 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1931 to placate gcc.
1932
5a2a0a20
MC
19332002-02-23 Michael Chastain <mec@shout.net>
1934
1935 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1936 test "ptype bint". The test passes on all my stabs configurations.
1937
a640f7fc
JB
19382002-02-21 Jim Blandy <jimb@redhat.com>
1939
27924826
JB
1940 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1941 filename at a time, and watch for the ones we want to see.
1942
a640f7fc
JB
1943 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1944 types of pointers to prototyped functions.
1945
edcc8c75
AC
19462002-02-20 Andrew Cagney <ac131313@redhat.com>
1947
1948 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1949 signed, unsigned and straight char.
1950 (padding_char, padding_short, padding_int, padding_long,
1951 padding_long_long, padding_float, padding_double,
1952 padding_long_double): New global variables.
1953 (fill, fill_structs): New functions.
1954
1955 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1956 for correctly sized writes. Update copyright.
1957 (get_valueof): New procedure.
1958 (get_sizeof): Call get_valueof.
1959 (check_valueof): New procedure.
1960 (check_padding): New procedure.
1961
ac57ea44
MC
19622002-02-20 Michael Chastain <mec@shout.net>
1963
1964 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1965 to setup_xfail. Document some of the remaining calls.
1966
7a10c941
MC
19672002-02-18 Michael Chastain <mec@shout.net>
1968
1969 * gdb.c++/userdef.exp: Update copyright year.
1970
fb8acdcc
DJ
19712002-02-18 Daniel Jacobowitz <drow@mvista.com>
1972
1973 * gdb.c++/userdef.exp: Test overloaded operators properly.
1974 Remove xfails.
1975
fda6ae12
MS
19762002-02-14 Michael Snyder <msnyder@redhat.com>
1977
1978 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1979
676a0442
DJ
19802002-02-14 Daniel Jacobowitz <drow@mvista.com>
1981
1982 * gdb.base/a2-run.exp: Check for a remote target properly.
1983 * gdb.base/annota1.exp: Likewise.
1984 * gdb.base/list.exp: Likewise.
1985 * gdb.base/reread.exp: Likewise.
1986 * gdb.base/scope.exp: Likewise.
1987 * gdb.base/shlib-call.exp: Likewise.
1988 * gdb.base/term.exp: Likewise.
1989 * gdb.c++/annota2.exp: Likewise.
1990
78b4f468
RE
19912002-02-13 Richard Earnshaw <rearnsha@arm.com>
1992
1993 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1994
9a81ba51
MC
19952002-02-10 Michael Chastain <mec@shout.net>
1996
1997 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1998 (call_after_alloca): Ditto.
1999
004af6c7
DJ
20002002-02-10 Daniel Jacobowitz <drow@mvista.com>
2001
2002 * gdb.base/ending-run.exp: Guard "cont" test with
2003 gdb_skip_stdio_test.
2004
37225f62
JB
20052002-02-06 Jim Blandy <jimb@redhat.com>
2006
2007 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2008 from here...
2009 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2010 To here. Disable this test on non-HP platforms. Add big comment.
2011
fe6fdd96
MS
20122002-02-04 Michael Snyder <msnyder@redhat.com>
2013
2014 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2015 other than d10v and m32r.
2016
036fad3f
RE
20172002-02-02 Richard Earnshaw <rearnsha@arm.com>
2018
2019 * gdb.base/default.exp: Rewrite test patterns to reduce time
2020 taken to match them.
2021
7148ab62
DJ
20222002-01-30 Daniel Jacobowitz <drow@mvista.com>
2023
2024 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2025 Allow a start function above main.
2026 * gdb.threads/linux-dp.exp: Fix copyright date.
2027
396cc255
DJ
20282002-01-30 Daniel Jacobowitz <drow@mvista.com>
2029
2030 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2031 (check_philosopher_stack): Check for manager thread before checking
2032 for a just-starting thread.
2033
f038d31b
DJ
20342002-01-30 Daniel Jacobowitz <drow@mvista.com>
2035
2036 From Neil Booth <neil@daikokuya.demon.co.uk>:
2037 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2038 warnings.
2039
b3ff9d9a
FF
20402002-01-21 Fred Fish <fnf@redhat.com>
2041
2042 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2043 not caller.
2044
39ad761d
JB
20452002-01-21 Jim Blandy <jimb@redhat.com>
2046
2047 * gdb.base/reread.exp: Check that GDB properly re-reads the
2048 executable file when it changes while no inferior is running.
2049
aaf320fa
FF
20502002-01-21 Fred Fish <fnf@redhat.com>
2051
2052 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2053 optionally accept the "shlib events" variation.
2054
808a31f5
JB
20552002-01-21 Jim Blandy <jimb@redhat.com>
2056
2057 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2058 call `fflush' after every `printf', so that the output is produced
2059 at predictable points, regardless of whatever buffering does (or
2060 doesn't) take place.
2061 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2062 at different points.
2063
4420d5e2
DJ
20642002-01-20 Daniel Jacobowitz <drow@mvista.com>
2065
2066 * gdb.c++/inherit.exp: Update copyright years.
2067 * gdb.c++/method.exp: Likewise.
2068
3e36a0f4
DJ
20692002-01-20 Daniel Jacobowitz <drow@mvista.com>
2070
2071 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2072 artificial methods/arguments.
2073 * gdb.c++/derivation.exp: Likewise.
2074 * gdb.c++/inherit.exp: Likewise.
2075 * gdb.c++/method.exp: Likewise.
2076 * gdb.c++/virtfunc.exp: Likewise.
2077
b4ceaee6
AC
20782002-01-18 Andrew Cagney <ac131313@redhat.com>
2079
2080 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2081 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2082 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2083 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2084 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2085 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2086
ecace851
JB
20872002-01-17 Jim Blandy <jimb@redhat.com>
2088
2089 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2090 anchoring the pattern matching the entry point symbol's name.
2091
375fc983
AC
20922002-01-17 Andrew Cagney <ac131313@redhat.com>
2093
2094 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2095 continue/quit query. Update copyright.
2096
fe6fdd96
MS
20972002-01-14 Michael Snyder <msnyder@redhat.com>
2098
2099 * gdb.base/gcore.exp: Remove extra debugging output.
2100
e017c81f
DJ
21012002-01-13 Daniel Jacobowitz <drow@mvista.com>
2102
2103 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2104 for slightly dubious v2 mangled string.
2105
37ab3bf8
DJ
21062002-01-13 Daniel Jacobowitz <drow@mvista.com>
2107
2108 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2109
1bc05c3a 21102002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 2111
1bc05c3a 2112 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 2113
1bc05c3a
JM
2114 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2115 constructors.
2116 * gdb.c++/derivation.exp: Likewise.
2117 * gdb.c++/templates.exp: Likewise.
2118 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 2119
1bc05c3a
JM
21202002-01-10 Michael Snyder <msnyder@redhat.com>
2121
2122 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 2123
a911c360
MS
21242002-01-08 Michael Snyder <msnyder@redhat.com>
2125
2126 * gdb.base/gcore.exp: New test for generate-core-file command.
2127 * gdb.base/gcore.c: Testcase for above.
2128 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2129
ea2119ec
JM
21302002-01-08 Jason Merrill <jason@redhat.com>
2131
2132 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2133
68203136
FF
21342002-01-07 Fred Fish <fnf@redhat.com>
2135
2136 * gdb.c++/overload.exp: Remove unconditional xfails for:
2137 print foo_instance1.overloadargs(1)
2138 print foo_instance1.overloadargs(1, 2)
2139 print foo_instance1.overloadargs(1, 2, 3)
2140 print foo_instance1.overloadargs(1, 2, 3, 4)
2141 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2142 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2143 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2144 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2145 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2146 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2147 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2148 print foo_instance1.overload1arg()
2149 print foo_instance1.overload1arg((char)arg2)
2150 print foo_instance1.overload1arg((signed char)arg3)
2151 print foo_instance1.overload1arg((unsigned char)arg4)
2152 print foo_instance1.overload1arg((int)arg7)
2153 print foo_instance1.overload1arg((unsigned int)arg8)
2154 print foo_instance1.overload1arg((float)arg11)
2155 print foo_instance1.overload1arg((double)arg12)
2156
21b9b5b1
MS
21572002-01-07 Michael Snyder <msnyder@redhat.com>
2158
2159 * gdb.base/huge.exp: New test. Print a very large target data object.
2160 (skip_huge_test): New test variable. Define if you want to skip this
2161 test. The test reads an 8 megabyte data object from the target, so it
2162 might be very time consuming on remote targets with a slow connection.
2163 * gdb.base/huge.c: New file. Test case for above.
2164
725f922e
FF
21652002-01-07 Fred Fish <fnf@redhat.com>
2166
2167 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2168 g_instance.bfoo, and g_instance.cfoo.
2169
634d57ec
JL
2170Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2171
f286b2c3
JL
2172 * gdb.base/break.c (multi_line_if_conditional): New function.
2173 (multi_ilne_while_conditional): Likewise.
2174 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2175 IF or WHILE condition puts the breakpoint at the start of
2176 the condition.
2177
634d57ec
JL
2178 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2179 hppa*-*-hpux* expected failure.
2180 * gdb.base/structs.exp (do_function_calls): Similarly.
2181
2182 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2183 watchpoints.
2184
9fbfe2dc
AC
21852002-01-06 Andrew Cagney <ac131313@redhat.com>
2186
2187 Fix PR gdb/66.
2188 * gdb.base/structs.exp: Replace skip for a29k with skip for
2189 gdb,cannot_call_functions.
2190 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2191 * gdb.base/callfuncs.exp: Ditto.
2192 * gdb.base/call-rt-st.exp: Ditto.
2193 * gdb.base/call-strs.exp: Ditto.
2194 * gdb.base/callfwmall.exp: Ditto.
2195 * gdb.base/scope.exp: Obsolete xfail a29k.
2196 * gdb.c++/misc.exp: Ditto.
2197 * gdb.c++/cplusfuncs.exp: Ditto.
2198 * gdb.base/ptype.exp: Ditto.
2199 * gdb.base/printcmds.exp: Ditto.
2200 * gdb.base/opaque.exp: Ditto.
2201 * gdb.base/list.exp: Ditto.
2202 * gdb.base/funcargs.exp: Ditto.
2203 * gdb.base/default.exp: Ditto.
2204
8ddad156
MS
22052002-01-04 Michael Snyder <msnyder@redhat.com>
2206
ca4976a6 2207 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2208 * gdb.base/maint.exp: Add tests for maint info sections options.
2209
1b074332
JL
2210Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2211
2212 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2213
7d159115
CV
22142001-12-20 Corinna Vinschen <vinschen@redhat.com>
2215
2216 * gdb.asm/arm.inc: New file.
2217 * gdb.asm/asm-source.exp: Add arm targets.
2218 * gdb.asm/configure.in: Ditto.
2219 * gdb.asm/configure: Recreated from configure.in.
2220
8fb87725
JL
2221Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2222
afabe08c
JL
2223 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2224 with HP's compiler.
2225 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2226 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2227 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2228 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2229
2230 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2231 either HP's compilers or GCC.
2232
db521deb
JL
2233 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2234 a SIGBUS or SIGSEGV.
2235
2236 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2237
2238 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2239 can be compiled with either HP's compiler or GCC.
2240
cfa88ab7
JL
2241 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2242 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2243 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2244
ca344dff
JL
2245 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2246 to match current gdb output. Update due to using auto-solib-limit
2247 for limiting instead of overloading auto-solib-add.
2248 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2249 test program.
2250
3f3c6e55 2251 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2252 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2253 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2254 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2255 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2256 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2257 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2258 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2259 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2260 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2261 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2262 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2263 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2264
8fb87725
JL
2265 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2266 a SIGTRAP to the inferior.
2267
cf599fa7
CV
22682001-12-19 Corinna Vinschen <vinschen@redhat.com>
2269
2270 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2271 Substitute call to target_link by call to gdb_compile.
2272
2cd045cd
JL
2273Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2274
2275 * gdb.base/break.exp: Fix HP specific search string when testing
2276 backtracing in a called function.
2277
2278 * gdb.base/constvars.exp: Only set lang to C++ if we're
2279 compiling the test with HP's compilers.
2280 * gdb.base/volatile.exp: Similarly.
2281
99ebe9ac
JB
22822001-12-19 Jim Blandy <jimb@redhat.com>
2283
2284 * gdb.base/printcmds.exp: Expect the null character to be printed
2285 as '\0', and the '\013' to be printed as '\v'.
2286 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2287 * gdb.base/setvar.exp: Same.
2288
b9891b29
JB
22892001-12-17 Jim Blandy <jimb@redhat.com>
2290
0eba65ab
JB
2291 * gdb.base/completion.exp: Rather than completing very long
2292 filenames, which can make the readline library produce output we
2293 don't recognize, cd to the directory first, and then complete
2294 using nice, short relative paths.
2295
6970b5b1
JB
2296 * gdb.base/completion.exp: On some systems, there is, in fact, a
2297 variable named `b' in scope, since GDB treats all static
2298 variables as being in scope. So use `no_var_named_this'
2299 instead of `b'.
2300
b9891b29
JB
2301 * gdb.base/corefile.exp: Recognize the message saying that GDB
2302 can't find the core file's registers as a failure.
2303
e6ccd35f
JSC
23042001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2305
2306 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2307 test expect string more specific.
2308
105ba819
CV
23092001-12-13 Corinna Vinschen <vinschen@redhat.com>
2310
2311 * gdb.asm/asm-source.exp: Add support for xstormy16.
2312 * gdb.asm/configure.in: Ditto.
2313 * gdb.asm/configure: Rebuild.
2314 * gdb.asm/xstormy16.inc: New file.
2315
e9e79dd9
FF
23162001-12-10 Fred Fish <fnf@redhat.com>
2317
2318 * gdb.base/maint.exp: Update to match changes in type dumping code.
2319
347dc97d
JB
23202001-12-10 Jim Blandy <jimb@redhat.com>
2321
2322 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2323 matching the entry point symbol's name at the beginning of the
2324 line.
2325
5178b9d6
DJ
23262001-12-07 Daniel Jacobowitz <drow@mvista.com>
2327
2328 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2329 gdb.c++/inherit.exp, gdb.c++/method.exp,
2330 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2331 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2332 and class layout support.
2333
af890c52
DJ
23342001-12-07 Daniel Jacobowitz <drow@mvista.com>
2335
2336 * gdb.c++/classes.exp: Add test for static member function.
2337 * gdb.c++/misc.cc: Add class with static member function.
2338
7a345fb3
JB
23392001-12-07 Jim Blandy <jimb@redhat.com>
2340
f2e54a80 2341 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2342 those tests as `unsupported'.
2343 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2344 Rewrite subsequent tests to use it.
2345
2346 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2347 those tests as `unsupported'.
2348 * gdb.base/structs.exp (call_struct_func): New function.
2349 (do_function_calls): Use call_struct_func to call the functions
2350 returning structs.
2351
0bc69509
JB
2352 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2353 whether functions are prototyped or not, so we can't possibly pass
2354 arguments to t_float_values2 properly.
2355
7a345fb3
JB
2356 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2357 value of `timeout' for targets other than the mips*tx39-*.
2358
edb6ede1
MS
23592001-12-06 Michael Snyder <msnyder@redhat.com>
2360
2361 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2362 and detect whether the start symbol has a leading underscore.
2363
2d842f13
JB
23642001-12-04 Jim Blandy <jimb@redhat.com>
2365
2366 * gdb.base/completion.exp: Clarify indentation.
2367
68550daf
JB
23682001-12-03 Jim Blandy <jimb@redhat.com>
2369
2370 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2371 variables on the S/390, not `.word'.
2372
cd5195a8
JB
23732001-11-30 Jim Blandy <jimb@redhat.com>
2374
2375 Add assembly-source tests for s390-ibm-linux.
2376 * gdb.asm/s390.inc: New file.
2377 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2378 the S/390 architecture.
2379 * gdb.asm/configure: Regenerated.
2380
ca9efc90
MS
23812001-11-30 Michael Snyder <msnyder@redhat.com>
2382
2383 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2384 next, info source, info sources, info line, global and static
2385 variables, and static functions.
2386 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2387 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2388 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2389 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2390 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2391 (gdbasm_leave): Restore frame pointer.
2392 (gdbasm_startup): Copy stack set-up from crt0.S.
2393
d0e66976
FN
23942001-11-26 Fernando Nasser <fnasser@redhat.com>
2395
2396 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2397 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2398 to a local (non-static) variable. Copy tstruct.a to a static buffer
2399 and return a pointer to that buffer.
2400 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2401
e2334072
MK
24022001-11-24 Mark Kettenis <kettenis@gnu.org>
2403
2404 * gdb.asm/configure.in: Fix recognition of ix86 target.
2405 * gdb.asm/configure: Regenerate.
2406
756caa3d
MS
24072001-11-21 Michael Snyder <msnyder@redhat.com>
2408
2409 * gdb.asm/sparc.inc: New file.
2410 * gdb.asm/asm-source.exp: Recognize sparc target.
2411 * gdb.asm/configure.in: Recognize sparc target.
2412 * gdb.asm/configure: Regenerate.
2413
9a4d72d5
MS
24142001-11-21 Michael Snyder <msnyder@redhat.com>
2415
2416 * gdb.asm/m32r.inc: New file.
2417 * gdb.asm/asm-source.exp: Recognize m32r target.
2418 * gdb.asm/configure.in: Recognize m32r target.
2419 * gdb.asm/configure: Regenerate.
2420
a773d1cd
MS
24212001-11-20 Michael Snyder <msnyder@redhat.com>
2422
017ac23d
MS
2423 * gdb.asm/i386.inc: New file.
2424 * gdb.asm/asm-source.exp: Recognize ix86 target.
2425 * gdb.asm/configure.in: Recognize ix86 target.
2426 * gdb.asm/configure: Regenerate.
2427
a773d1cd
MS
2428 * gdb.c++/namespace.exp: Fix quotes in output messages.
2429
bb632afb
MS
24302001-11-14 Michael Snyder <msnyder@redhat.com>
2431
25d559ca 2432 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2433 qualifier in a type cast expression, to designate an address
2434 in the instruction space (Harvard architecture).
2435
4749e309
MS
24362001-11-13 Michael Snyder <msnyder@redhat.com>
2437
2438 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2439 Tests for expressions using 'const' and 'volatile'.
2440
25050984
CV
24412001-11-13 Corinna Vinschen <vinschen@redhat.com>
2442
2443 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2444
1902c51f
DJ
24452001-11-12 Daniel Jacobowitz <drow@mvista.com>
2446
2447 * lib/mi-support.exp (mi_run_to_helper): Move comments
2448 outside of gdb_expect.
2449
dcf95b47
DJ
24502001-11-11 Daniel Jacobowitz <drow@mvista.com>
2451
2452 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2453 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2454 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2455 mi0_run_to): New functions.
2456 * gdb.mi/mi-simplerun.exp: Use them.
2457 * gdb.mi/mi0-simplerun.exp: Likewise.
2458 * gdb.mi/mi-var-cmd.exp: Likewise.
2459 * gdb.mi/mi0-var-cmd.exp: Likewise.
2460
45b074e1
AC
24612001-11-10 Andrew Cagney <ac131313@redhat.com>
2462
2463 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2464 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2465
bf50d346
AC
24662001-11-09 Andrew Cagney <ac131313@redhat.com>
2467
2468 * gdb.base/restore.exp: Include $expected value in restored test
2469 message.
2470
9383332c
AC
24712001-11-09 Andrew Cagney <ac131313@redhat.com>
2472
2473 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2474 implemented.
2475
db62520a
MS
24762001-11-08 Michael Snyder <msnyder@redhat.com>
2477
2478 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2479 Add pass/fail message for stop at breakpoint in call dummy function.
2480
b5703437
MS
24812001-11-07 Michael Snyder <msnyder@redhat.com>
2482
760f6330
MS
2483 * gdb.c++/templates.exp (test_template_breakpoints):
2484 If we get an overload menu, but it does not match what
2485 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2486 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2487 making the whitespace optional. Argument for "new" may be
2488 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2489 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2490 making the whitespace optional. Also replace "(void) with
2491 "((void|)), making the keyword "void" optional.
63f50499
MS
2492 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2493 making the whitespace optional. Also replace "(void) with
2494 "((void|)), making the keyword "void" optional.
3bf40917
MS
2495 * gdb.base/callfuncs.c (t_float_values): This function must
2496 _not_ be prototyped, and the following function (t_float_values2)
2497 must be prototyped (if the compiler supports it), so that GDB
2498 can be tested against both cases. Usually one case involves
2499 promotion of float to double, while the other does not.
2500 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2501 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2502 includes a stack frame for "start".
2503
c8ab4e6d
JB
25042001-11-05 Jim Blandy <jimb@redhat.com>
2505
2506 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2507 pointers are 32 bits long, and that offsets of relocs are always
2508 stored in the data (REL-style), and not in the reloc entry itself
2509 (RELA-style).
2510 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2511 stabs.
2512
3f08ced9
MS
25132001-11-01 Michael Snyder <msnyder@redhat.com>
2514
2515 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2516 and regular expression operators by using quoting.
2517
cbfa24cd
MS
25182001-10-31 Michael Snyder <msnyder@redhat.com>
2519
2520 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2521 depending on what the symbol table contains.
2522 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2523 the output of the ptype command. Similarly, accept both "const &"
2524 and "const&".
2525
aaa68313
CV
25262001-10-31 Corinna Vinschen <vinschen@redhat.com>
2527
2528 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2529 symbol `STORAGE' to allow to choose the storage class of
2530 the local datastructures.
2531 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2532 compiler directive.
2533
91740388
MS
25342001-10-30 Michael Snyder <msnyder@redhat.com>
2535
2536 * gdb.base/jump.exp: Allow it to run for all targets.
2537
1b7c05e7
CV
25382001-10-29 Corinna Vinschen <vinschen@redhat.com>
2539
2540 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2541 with new double_array size.
2542 (main): Change storage class of all local variables to static.
2543 Reduce size of double_array to 9.
2544 * gdb.base/call-ar-st.exp: Increase timeout value.
2545 Change expected output for double array to match new size in
2546 call-ar-st.c.
2547
36a22261
CV
25482001-10-29 Corinna Vinschen <vinschen@redhat.com>
2549
2550 * gdb.base/ending-run.exp: Create identical output when passing
2551 `step to end of run' case. Add regular expression branch satisfying
2552 Stormy16 target.
2553
92b8ae91
MK
25542001-10-28 Mark Kettenis <kettenis@gnu.org>
2555
2556 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2557 that we catch the expected failure under Linux/x86.
2558
cb135b83
OF
25592001-10-29 Orjan Friberg <orjanf@axis.com>
2560
2561 * gdb.base/setvar.exp: Escape curly braces.
2562 * gdb.stabs/weird.exp: Ditto.
2563
6884aa54
DJ
25642001-10-27 Daniel Jacobowitz <drow@mvista.com>
2565
2566 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2567 * gdm.mi/mi0-hack-cli.exp: Likewise.
2568
0398c9aa
AC
25692001-10-25 Andrew Cagney <ac131313@redhat.com>
2570
2571 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2572 messages.
2573
d20bf2e8
AC
25742001-10-21 Andrew Cagney <ac131313@redhat.com>
2575
2576 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2577 checking MI enabled.
2578
03dd63aa
CV
25792001-10-09 Corinna Vinschen <vinschen@redhat.com>
2580
2581 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2582
1d9d99f3
FCE
25832001-10-04 Frank Ch. Eigler <fche@redhat.com>
2584
2585 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2586 if gdb child process crashes, just signal an error.
2587
838ae6c4
JB
25882001-10-02 Jim Blandy <jimb@redhat.com>
2589
2590 * lib/gdb.exp (test_xfail_format): Simplify.
2591
2592 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2593 front of the variable name `format'. Simplify `if'.
2594
8f0cbc1c
DJ
25952001-10-01 Daniel Jacobowitz <drow@mvista.com>
2596
2597 * gdb.threads/pthreads.exp: Wait for output and delay
2598 before sending ^C.
2599
1f08dafd
DJ
26002001-10-01 Daniel Jacobowitz <drow@mvista.com>
2601
2602 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2603 some incorrect output instead of timing out.
2604 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2605
674f90ff
CV
26062001-09-28 Corinna Vinschen <vinschen@redhat.com>
2607
2608 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2609 check to allow additional `int'.
2610
9b284272
DJ
26112001-09-27 Daniel Jacobowitz <drow@mvista.com>
2612
2613 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2614 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2615
b55a4771
MS
26162001-09-27 Michael Snyder <msnyder@redhat.com>
2617
2618 * lib/gdb.exp (test_debug_format): New proc.
2619 (setup_xfail_format): Use new proc test_debug_format.
2620 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2621 proc; use new service proc test_debug_format.
2622 Replace all other "gcc_compiled" tests with this test.
2623 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2624 proc; use new service proc test_debug_format.
2625 Replace all other "gcc_compiled" tests with this test.
2626
26272001-09-27 Michael Snyder <msnyder@redhat.com>
2628
2629 * gdb.base/cvexpr.exp: New file.
2630 * gdb.base/cvexpr.c: New file
2631 Test for expressions using const and volatile keywords.
2632
4e6667ac
CV
26332001-09-26 Corinna Vinschen <vinschen@redhat.com>
2634
2635 * gdb.base/constvars.exp: Check for different orders of keywords
2636 and additional "int" strings in output.
2637
4f337972
AC
26382001-09-22 Andrew Cagney <ac131313@redhat.com>
2639
2640 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2641 responses from "help maint".
2642
2015650d
FCE
26432001-09-19 Frank Ch. Eigler <fche@redhat.com>
2644
2645 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2646 to localhost:NNN instead of :NNN, in case Xvfb is listening
2647 only on TCP.
2648
f3bcedc1
CV
26492001-09-19 Corinna Vinschen <vinschen@redhat.com>
2650
2651 * gdb.base/recurse.exp: When checking leaving the watchpoint
2652 scope, recognize when gdb is in function's epilogue and pass.
2653
6b819c92
KS
26542001-09-18 Keith Seitz <keiths@redhat.com>
2655
2656 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2657 support for running tests against sid targets.
2658 (gdbtk_done): Ditto.
2659
a10c9419
CV
26602001-09-18 Corinna Vinschen <vinschen@redhat.com>
2661
2662 * gdb.base/ending-run.c (main): Set stdout buffersize
2663 to the same reasonable value for any target.
2664 * gdb.base/ending-run.exp: Add a regular expression
2665 to make testsuite happy on Sanyo Stormy16 target.
2666
739d0d99
CV
26672001-09-17 Corinna Vinschen <vinschen@redhat.com>
2668
2669 * gdb.base/display.c (do_loops): Add float variable `f'.
2670 Increment f in loop.
2671 * gdb.base/display.exp: Increment timeout by 60 seconds.
2672 Change float display test to use variable `f'.
2673
1b8947f0
JB
26742001-09-17 Jim Blandy <jimb@redhat.com>
2675
2676 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2677 overflowing the limited breakpoint tables on some ROM monitors
2678 (like the ROM68K).
2679
9890ac81
FCE
26802001-09-15 Frank Ch. Eigler <fche@redhat.com>
2681
2682 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2683 the "-ac" (disable access control) flag.
2684
6db765ea
JH
26852001-08-30 Jeff Holcomb <jeffh@redhat.com>
2686
2687 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2688 ints.
2689
4c32cc04
KS
26902001-08-30 Keith Seitz <keiths@redhat.com>
2691
2692 * lib/gdb.exp: Move all insight-related functionality into
2693 separate file.
2694 * lib/insight-support.exp: New file.
2695
8d6e6f81
FCE
26962001-08-29 Frank Ch. Eigler <fche@redhat.com>
2697
2698 * config/sid.exp (sid_start): Never set sid verbosity; disable
2699 expect_background {} that consumed its stdout; tolerate </dev/null.
2700 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2701
6a90e1d0
AC
27022001-08-18 Andrew Cagney <ac131313@redhat.com>
2703
2704 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2705 CLI jump command to start it.
2706 (mi_run_to_main): Fail immediatly when unexpected output.
2707
1759b3c3
AC
27082001-08-18 Andrew Cagney <ac131313@redhat.com>
2709
2710 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2711 beginning of function. Fix PR gdb/191.
2712
61d11d80
FCE
27132001-08-16 Frank Ch. Eigler <fche@redhat.com>
2714
2715 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2716 what to force sid endianness to.
2717
942a4df2
KS
27182001-08-15 Keith Seitz <keiths@redhat.com>
2719
2720 * lib/gdb.exp (gdbtk_start): Don't set environment
2721 variables for TCL_LIBRARY and friends. Insight will
2722 now figure these out for itself.
2723
0521c418
MS
27242001-08-02 Michael Snyder <msnyder@redhat.com>
2725
2726 * gdb.base/completion.exp: Remove the symbol "a64l" from
2727 the expect string; this is target-specific, and not related
2728 to what is being tested.
2729
74a9a58a
DB
27302001-08-02 Dave Brolley <brolley@redhat.com>
2731
2732 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2733
c70819fa
MS
27342001-07-25 Michael Snyder <msnyder@redhat.com>
2735
c2b8fa57
MS
2736 * gdb.base/consecutive.exp: New file. Test stepping over
2737 breakpoints on consecutive instructions.
2738 * gdb.base/consecutive.c: New file.
2739
c70819fa
MS
2740 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2741 curly braces in regular expressions.
2742
2b1a1355
MS
27432001-07-25 Michael Snyder <msnyder@redhat.com>
2744
2745 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2746 legitimate output from stepping out of main.
2747
413eca6f
KS
27482001-07-22 Keith Seitz <keiths@redhat.com>
2749
2750 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2751 the empty string, do not run the tests.
2752
7e5a9322
SC
27532001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2754
2755 * gdb.base/long_long.exp: Detect size of pointer. Take into
2756 account 2-byte pointers when testing for p/a results.
2757
de58f10f
SC
27582001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2759
2760 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2761 and defined to 1K for m68hc11.
2762 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2763 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2764 (sizeof_random_data): New variable to tell the size of the data table;
2765 don't test past this size; always run to main.
2766
d6f5fea1
SC
27672001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2768
2769 * gdb.base/return2.exp: return of long long and double fails for
2770 68HC11; don't execute these tests on that platform.
2771 * gdb.base/return.exp: Return of a double fails for 68hc11.
2772
c477543d
SC
27732001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2774
2775 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2776 tests that print a float.
2777 * call-rt-st.exp: Likewise.
2778
63cf1c79
MK
27792001-07-12 Mark Kettenis <kettenis@gnu.org>
2780
2781 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2782 running this test on Linux.
2783
112f9ab5
MC
27842001-06-24 Michael Chastain <chastain@redhat.com>
2785
2786 * gdb.base/arithmet.exp: Remove some tests to make all test names
2787 unique.
2788
4970cb0f
MS
27892001-07-03 Michael Snyder <msnyder@redhat.com>
2790
2791 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2792 the output of the ptype command.
2793
d85da69f
MS
27942001-07-02 Michael Snyder <msnyder@redhat.com>
2795
4c8a82de
MS
2796 * gdb.base/completion.exp: Don't assume that break.c is the only
2797 source file that may contain functions named "marker".
d85da69f
MS
2798 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2799
8afc772b
AC
28002001-06-28 Andrew Cagney <ac131313@redhat.com>
2801
2802 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2803 of files to delete.
2804
2805 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2806 * gdb.disasm/h8300s.exp: New file.
2807 gdb.disasm/h8300s.s: Likewise.
2808
cff22675
AC
28092001-06-27 Andrew Cagney <ac131313@redhat.com>
2810
2811 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2812 empty breakpoint tables.
2813
68c81b54
AC
28142001-06-25 Andrew Cagney <ac131313@redhat.com>
2815
2816 * lib/mi-support.exp: Update args=... part of stop-reason
2817 patterns. Accept either a list or a tuple.
2818
2dd62704
AC
28192001-06-23 Andrew Cagney <ac131313@redhat.com>
2820
2821 * lib/mi-support.exp: Remove local emacs variable defining
2822 change-log-default-name.
2823
b4127474
MC
28242001-06-22 Michael Chastain <chastain@redhat.com>
2825
2826 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2827 This is operationally compatible with the previous version.
2828
8dbfb380
JB
28292001-06-13 Jim Blandy <jimb@redhat.com>
2830
2831 * lib/gdb.exp (gdb_test): Doc fix.
2832
f2d8c86d
MC
28332001-06-10 Michael Chastain <chastain@redhat.com>
2834
2835 * gdb.base/exprs.exp: Remove a duplicate test.
2836
81564d34
JB
28372001-06-06 Jim Blandy <jimb@redhat.com>
2838
2839 * gdb.base/return2.exp (main): Use values to test float and double
2840 returns that are not NaN's, to avoid being confused by IEEE
2841 comparison rules.
2842
da55addb
MS
28432001-06-04 Michael Snyder <msnyder@redhat.com>
2844
2845 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2846 non-zero if control_c fails. Terminate the test on failure,
2847 rather than wait for 12 more tests to time out.
2848
42c65987
JB
28492001-06-06 Jim Blandy <jimb@redhat.com>
2850
b18bced9
JB
2851 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2852 Don't forget to match the GDB prompt.
2853
42c65987
JB
2854 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2855
5b41e5f0
JB
28562001-06-04 Jim Blandy <jimb@redhat.com>
2857
2858 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2859 command.
2860
015e046f
KB
28612001-05-31 Kevin Buettner <kevinb@redhat.com>
2862
2863 * gdb.base/annota1.exp (info break): Match four or more spaces
2864 after "Address".
2865
fb1ffbbe
MC
28662001-05-31 Michael Chastain <chastain@redhat.com>
2867
2868 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2869 (dm_type_int_star): Likewise.
2870 (dm_type_long_star): Likewise.
2871 (dm_type_void_star): Likewise.
2872
5ea2a32c
KB
28732001-05-29 Kevin Buettner <kevinb@redhat.com>
2874
2875 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2876 to a known value in order to get consistent results regardless
2877 of the setting of INPUTRC or the presence or contents of .inputrc.
2878
ae23c492
MS
28792001-05-24 Michael Snyder <msnyder@redhat.com>
2880
ac55707e
MS
2881 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2882 Don't require that the main thread and the manager thread are the
2883 first in the list.
2884
ae23c492
MS
2885 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2886 debugging. If test fails, issue an "unsupported" not a "fail".
2887
400071f1
JB
28882001-05-24 Jim Blandy <jimb@redhat.com>
2889
2890 Don't assume that short is shorter than int.
2891 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2892 assume that shorts are smaller than ints. On a 16-bit machine,
2893 this isn't true.
2894 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2895 an int, is not equal to ~0 stored in an unsigned char. This tests
2896 the same thing that the previous test meant to, but works on
2897 16-bit machines, too.
2898 ("print unsigned char != (~0)"): Same test, complemented.
2899
0816a3e5
MS
29002001-05-24 Michael Snyder <msnyder@redhat.com>
2901
2902 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2903 test for (full_coverage == 0). This makes the test run faster,
2904 and prevents dejagnu getting out of step.
2905
f6dc23a9
KB
29062001-05-23 Kevin Buettner <kevinb@redhat.com>
2907
2908 * gdb.base/finish.exp (finish_void): Revise pattern for
2909 stopping on the call statement to not permit stopping at
2910 the start of the instructions comprising the call sequence.
2911
7dbd117d
MC
29122001-05-19 Michael Chastain <chastain@redhat.com>
2913
2914 * gdb.base/callfuncs.exp: Make all test names unique.
2915 * gdb.base/commands.exp: Make all test names unique.
2916 * gdb.base/condbreak.exp: Make all test names unique.
2917 * gdb.base/dbx.exp: Make all test names unique.
2918 * gdb.base/default.exp: Make all test names unique.
2919 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2920 and TIMEOUT messages to their corresponding PASS message.
2921 * gdb.base/ending-run.exp: Make all test names unique.
2922 * gdb.base/long_long.exp: Remove duplicate test.
2923
6b0b0a9e
KB
29242001-05-21 Kevin Buettner <kevinb@redhat.com>
2925
2926 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2927 stop on the call statement as well as the statement after the
2928 call.
2929
2caa35cb
MS
29302001-05-21 Michael Snyder <msnyder@redhat.com>
2931
2932 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2933
40713331
EZ
29342001-05-10 Elena Zannoni <ezannoni@redhat.com>
2935
2936 * gdb.base/completion.exp: Revamp test. Make it execute on all
2937 platforms.
2938
c2c1be8d
EZ
29392001-05-10 Elena Zannoni <ezannoni@redhat.com>
2940
2c9cd303
EZ
2941 * config/gdbserver.exp (gdb_load): Handle the case
2942 in which the arguments to gdbserver are given in the
2943 baseboard configuration file.
2944 Also handle the case in which the server needs to do a
2945 load.
2946
9671de48
KS
29472001-05-07 Keith Seitz <keiths@cygnus.com>
2948
2949 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2950 set up the display for testing.
2951 (gdbtk_start): Convert all paths to paths that tcl will like.
2952 Export target information to environment.
2953 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2954 necessary.
2955 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2956 (to_tcl_path): New proc to convert a given pathname into
2957 a path acceptible as an argument to a tcl command.
2958 (_gdbtk_export_target_info): New proc to export target info
2959 into the environment for gdbtk testing.
2960 (gdbtk_done): New proc to signal end-of-test.
2961
5a360f47
JB
29622001-05-06 Jim Blandy <jimb@redhat.com>
2963
2964 * restore.c: Make the code of caller0 correspond to its comment.
2965
66c756c6
MS
29662001-05-03 Michael Snyder <msnyder@redhat.com>
2967
2968 * config/sid.exp (gdb_target_sid): Check for error messages.
2969 On error or timeout, don't make expect exit (which will terminate
2970 all subsequent tests); instead just make gdb exit.
2971 (gdb_load): Check for error messages. On error or timeout,
2972 return a negative value.
2973
a966fde5
JB
29742001-04-24 Jim Blandy <jimb@redhat.com>
2975
851c18e0
JB
2976 * gdb.c++/templates.exp: If we see the prompt for the overload
2977 list, but we haven't recognized any of the longer patterns,
2978 arrange for this test to fail, not hang.
2979
a966fde5
JB
2980 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2981 variations.
2982
db144853
MC
29832001-04-22 Michael Chastain <chastain@redhat.com>
2984
2985 * gdb.c++/local.exp: Use the 'runto' library function.
2986 * gdb.c++/namespace.exp: Likewise.
2987 * gdb.c++/overload.exp: Likewise.
2988
3207ec21
KB
29892001-03-26 Kevin Buettner <kevinb@redhat.com>
2990
2991 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2992 * gdb.base/step-line.exp: New file. Test step/next in presence of
2993 #line directives.
2994 * gdb.base/step-line.c: New file. Test program for the above.
2995 * gdb.base/step-line.inp: New file. We pretend that this file has
2996 been transformed by some other tool into step-line.c.
2997
13b57657
JB
29982001-03-21 Jim Blandy <jimb@redhat.com>
2999
3000 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3001 unmangled operator names.
3002
754cbe1c
JB
30032001-03-20 Jim Blandy <jimb@redhat.com>
3004
3005 * gdb.threads/linux-dp.exp: Recognize an additional message
3006 generated by GDB when it doesn't understand how to debug threads
3007 on the target system.
3008
177495c9
AC
30092001-03-19 Andrew Cagney <ac131313@redhat.com>
3010
3011 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3012
f266096b
MC
30132001-03-12 Michael Chastain <chastain@redhat.com>
3014
3015 * gdb.c++/derivation.exp: Use the 'runto' library function.
3016
cac3c2ff
MC
30172001-03-12 Michael Chastain <chastain@redhat.com>
3018
3019 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3020
b6c11a24
MC
30212001-02-24 Michael Chastain <chastain@redhat.com>
3022
3023 * gdb.c++/ref-types.exp: Change handwritten code to library
3024 function 'runto'.
3025
6bae5bce
OF
30262001-03-16 Orjan Friberg <orjanf@axis.com>
3027
3028 * gdb.base/signals.exp: Set count to 0 explicitly.
3029
0015fd9a
MS
30302001-03-15 Mark Salter <msalter@redhat.com>
3031
3032 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3033 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3034 (gdb_load): Add support for additional target_info: gdb_download_size
3035 and gdb_load_timeout.
0015fd9a 3036
fc33412a
DT
3037Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3038
3039 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3040 file -- to prevent failing when the compile fails but we have no
3041 intention of running the tests anyway.
3042
3043 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3044 tests if set.
3045
3046 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3047 integers.
3048
3049 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3050 * gdb.c++/namespace.exp: Ditto.
3051
115f06de
OF
30522001-03-07 Orjan Friberg <orjanf@axis.com>
3053
3054 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3055 * gdb.base/pointers.exp: Relax pattern match of decimals.
3056
b6ba6518
KB
30572001-03-06 Kevin Buettner <kevinb@redhat.com>
3058
3059 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3060 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3061 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3062 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3063 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3064 config/sh.exp, config/sid.exp, config/slite.exp,
3065 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3066 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3067 config/vxworks.exp, config/vxworks29k.exp,
3068 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3069 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3070 gdb.base/arithmet.exp, gdb.base/assign.exp,
3071 gdb.base/async.exp, gdb.base/attach.exp,
3072 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3073 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3074 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3075 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3076 gdb.base/commands.exp, gdb.base/completion.exp,
3077 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3078 gdb.base/constvars.exp, gdb.base/corefile.exp,
3079 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3080 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3081 gdb.base/ending-run.exp, gdb.base/environ.exp,
3082 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3083 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3084 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3085 gdb.base/funcargs.exp, gdb.base/help.exp,
3086 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3087 gdb.base/logical.exp, gdb.base/long_long.exp,
3088 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3089 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3090 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3091 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3092 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3093 gdb.base/regs.exp, gdb.base/relational.exp,
3094 gdb.base/remote.exp, gdb.base/reread.exp,
3095 gdb.base/restore.exp, gdb.base/return2.exp,
3096 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3097 gdb.base/selftest.exp, gdb.base/setshow.exp,
3098 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3099 gdb.base/sigall.exp, gdb.base/signals.exp,
3100 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3101 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3102 gdb.base/step-test.exp, gdb.base/structs.c,
3103 gdb.base/structs.exp, gdb.base/structs2.exp,
3104 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3105 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3106 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3107 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3108 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3109 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3110 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3111 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3112 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3113 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3114 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3115 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3116 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3117 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3118 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3119 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3120 gdb.trace/circ.exp, gdb.trace/collection.exp,
3121 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3122 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3123 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3124 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3125 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3126 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3127 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3128 notices.
3129
dc96c6c7 31302001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
3131
3132 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3133 first arg is int not float.
3134
dc96c6c7 31352001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
3136
3137 * gdb.base/reread.exp: Unsupported for non-native targets;
3138 doesn't work for remote debugging.
3139
9b0c4aeb
FN
31402001-02-19 Fernando Nasser <fnasser@redhat.com>
3141
3142 From Drew Moseley <dmoseley@redhat.com>
3143 * gdb.base/ending-run.exp: Properly handle the BSP state when
3144 stepping past the end of main.
3145
02aa71d5
MC
31462001-02-19 John Moore <jmoore@redhat.com>
3147
3148 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3149 Converted HPUX fix for non-expected items following multiple
3150 step commands into general solution for all platforms.
3151
1fa449a4
MC
31522001-02-18 Michael Chastain <chastain@redhat.com>
3153
3154 * gdb.c++/classes.exp (do_tests): Change runto statements
3155 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3156 statements demangler agnostic.
3157 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3158 (gdb_virtfunc_restart): Likewise.
3159
b2f9ec70
MC
31602001-02-14 Michael Chastain <chastain@redhat.com>
3161
3162 * gdb.c++/inherit.exp (do_tests): Change runto statements
3163 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3164 statements demangler agnostic.
3165
cf74b8ca
AC
3166Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3167
3168 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3169 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3170 before calling common_routine 15 times'' tests.
3171
99f78f56
MC
31722001-02-11 Michael Chastain <chastain@redhat.com>
3173
3174 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3175 Helps the test script figure out which demangler is in use.
3176 (dm_type_foo_ref): Ditto.
3177 (dm_type_int_star): Ditto.
3178 (dm_type_long_star): Ditto.
3179 (dm_type_unsigned_int): Ditto.
3180 (dm_type_void): Ditto.
3181 (dm_type_void_star): Ditto.
99707966 3182 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
3183 Probe the gdb demangler and set variables to accommodate
3184 formatting differences.
3185 (info_func_regexp): New function. Same as info_func, but
3186 matches against a regexp.
3187 (info_func): Match against a literal string.
3188 (print_addr_2): New function. Match against a literal string,
3189 which can be different from the input to gdb.
3190 (print_addr): Simply call print_addr_2 with the same argument twice.
3191 (test_lookup_operator_functions): Use demangler formatting variables.
3192 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3193 the tests in the same order as the C++ class declaration.
3194 (test_paddr_operator_functions): Ditto.
3195 (test_paddr_overloaded_functions): Ditto.
3196 (test_paddr_hairy_functions): Use demangler formatting variables.
3197 Add reference to gdb/19 for related tests.
3198 (do_tests): Call probe_demangler.
3199
1de8f023
KB
32002001-01-30 Kevin Buettner <kevinb@redhat.com>
3201
3202 * gdb.c++/templates.cc (printf): Remove unused function definition.
3203
ca3f91ed
MS
32042001-01-26 Felix Lee <flee@redhat.com>
3205
3206 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3207
32082001-01-25 matthew green <mrg@redhat.com>
3209
3210 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3211 up sid.
3212 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3213
32142001-01-25 matthew green <mrg@redhat.com>
3215
3216 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3217 Deprecate $sid_spawn_id.
3218 (sid_exit): Remove code necessary only for `spawn.'
3219
32202001-01-25 matthew green <mrg@redhat.com>
3221
3222 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3223
fb18ec4a
MC
32242001-01-28 Michael Chastain <chastain@redhat.com>
3225
3226 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3227 to call when tests fail. It takes gdb out of the overloaded
3228 function choice menu back to the main prompt, so that the test
3229 program stays synchronized.
3230 (set_bp_overloaded): New proc to collect all the common
3231 code for setting a breakpoint on an overloaded name. Calls
3232 take_gdb_out_of_choice_menu when needed.
3233 (menu_overload1arg): New variable to collect the repeated
3234 instances of the expected menu for an overloaded name. Change
3235 the regular expression to handle changes in g++ type encoding:
3236 "void" can be either "void" or "", and "unsigned int" can be
3237 either "unsigned int" or "unsigned".
3238 (continue_to_bp_overloaded): Change regular expressions to handle
3239 changes in g++ type encoding.
3240 (no proc): Call take_gdb_out_of_choice_menu when needed.
3241 Remove redundant calls to "info break". Accept either "canceled"
3242 or "cancelled". Change regular expressions in "info break"
3243 calls to handle changes in g++ type encoding. Give all tests
3244 unique strings.
3245
9c646a6e
BE
32462001-01-17 Ben Elliston <bje@redhat.com>
3247
3248 * config/sid.exp: New file.
3249
9549d9c1
AC
3250Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3251
3252 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3253
dc96c6c7 32542000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3255
3256 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3257 Add a RE to accept a non-ascii char if one is ever presented.
3258
b4df4f68
FN
32592000-12-20 Fernando Nasser <fnasser@redhat.com>
3260
297dd0fd 3261 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3262
dc96c6c7 32632000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3264
3265 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3266 in regexp. One '\' does not suffice on Linux.
3267
4a7bddb6
MC
32682000-12-09 Michael Chastain <chastain@redhat.com>
3269
3270 * gdb.base/break.exp (test_clear_command): Use a marker function
3271 rather than 'main' for the test function. Also move this
3272 test to an execution point where the marker function names are
3273 guaranteed to be bound to functions. (Executing tests after a
3274 'finish' from main runs into name conflicts with local names
3275 in __libc_start_main).
3276
dc96c6c7 32772000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3278
3279 * gdb.base/finish.exp: New test for gdb's "finish" command.
3280 * gdb.base/return2.exp: New test for gdb's "return" command.
3281 * gdb.base/return2.c: New source file for above.
3282
dc96c6c7 32832000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3284
3285 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3286 * gdb.base/miscexprs.exp: Ditto.
3287 * gdb.base/pointers.exp: Ditto.
3288 * gdb.c++/derivation.exp: Ditto.
3289 * gdb.c++/local.exp: Ditto.
3290 * gdb.c++/namespace.exp: Ditto.
3291 * gdb.c++/overload.exp: Ditto.
3292 * gdb.c++/ref-types.exp: Ditto.
3293
dc96c6c7 32942000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3295
3296 * gdb.base/constvars.exp: Test result of "up" command.
3297 * gdb.base/miscexprs.exp: Ditto.
3298 * gdb.base/pointers.exp: Ditto.
3299 * gdb.base/scope.exp: Ditto.
3300 * gdb.c++/derivation.exp: Ditto.
3301 * gdb.c++/local.exp: Ditto.
3302 * gdb.c++/namespace.exp: Ditto.
3303 * gdb.c++/overload.exp: Ditto.
3304 * gdb.c++/ref-types.exp: Ditto.
3305
44097287
FN
33062000-11-22 Michael Chastain <chastain@redhat.com>
3307
3308 * mips_pro.exp: Accept either "middle -> top -> main" or
3309 "middle -> main" in the backtrace, because gcc can optimize
3310 tail calls to jumps. Remove setup_xfail for the hppa case.
3311 Add a comment with the original warning messages from PR 3016,
3312 which was filed in 1993, to preserve them for posterity.
3313
9d2e1bab
ND
33142000-11-17 Nick Duffek <nsd@redhat.com>
3315
3316 * lib/gdb.exp (gdb_test): Override timeout with board info.
3317
1aca8eb7
ND
33182000-11-17 Nick Duffek <nsd@redhat.com>
3319
3320 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3321 the second kill and detach messages.
3322
93076499
ND
33232000-11-17 Nick Duffek <nsd@redhat.com>
3324
3325 * configure.in: Add AC_EXEEXT.
3326 * configure: Regenerate.
3327 * Makefile.in (just-check): Export EXEEXT.
3328 * lib/gdb.exp ($EXEEXT): Import from environment.
3329 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3330 expect "maint dump-me" on Cygwin.
3331 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3332 $EXEEXT.
3333
30e87cd3
ND
33342000-11-17 Nick Duffek <nsd@redhat.com>
3335
3336 * gdb.base/break.exp: Test backtrace and finish from called
3337 function on all platforms, not just HP-UX.
3338
dc96c6c7 33392000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3340
3341 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3342 code from gdb_target_monitor, so it can be used independantly
3343 for gdbserver. Also comment out an unnecessary PUTS.
3344
dc96c6c7 33452000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3346
3347 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3348 * gdb.base/corefile.exp: Expect the message "Program is being
3349 debugged already" when we send the "corefile" command, since
3350 the preceeding gdb_load may have connected gdb to a remote target.
3351 * gdb.base/display.exp: Disable hardware watchpoints if new
3352 board info variable "no_hardware_watchpoints" is true.
3353 Replace single-letter commands with more readable ones.
3354 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3355 if new board info variable "no_hardware_watchpoints" is true.
3356 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3357 to see if stdio (printf) testing is possible.
3358 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3359 board info variable "no_hardware_watchpoints" is true. Use new
3360 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3361
39124dea
FN
33622000-11-13 Fernando Nasser <fnasser@redhat.com>
3363
3364 From Orjan Friberg <orjanf@axis.com>:
3365 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3366 in array print pattern match.
3367
a9e2e984
FN
33682000-11-09 Fernando Nasser <fnasser@redhat.com>
3369
3370 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3371 spelling "cancelled" to U.S. spelling "canceled" to match changes
3372 made to gdb.
3373 * gdb.c++/ovldbreak.exp: Ditto.
3374
c7db355b
PS
33752000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3376
3377 * gdb.base/callfuncs.c (main): Moved to end of file, call
3378 t_double_values to initialize the FPU before inferior calls are made.
3379 * gdb.base/callfuncs.exp: Test for register preservation after calling
3380 inferior functions. Add tests for continuining, finishing and
3381 returning from a stop in a call dummy.
3382
dc96c6c7 33832000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3384
3385 * gdb.base/commands.exp: Break up long lines, and re-indent.
3386
dc96c6c7 33872000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3388
3389 * config/gdbserver.exp: Rewritten from the ground up, to make it
3390 compatible with the current dejagnu tree, and to make it work with
3391 the new "gdbserver" in libremote.
3392
dc96c6c7 33932000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3394
3395 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3396 * gdb.base/varargs.exp: Skip entire test if no printf support.
3397 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3398 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3399
dc96c6c7 34002000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3401
3402 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3403 no floating point support.
3404 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3405 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3406 * gdb.base/call-rt-st.exp: Ditto.
3407 * gdb.base/call-strs.exp: Ditto.
3408
bac5fc66
JG
34092000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3410
3411 * gdb.base/sizeof.c: include <stdio.h>.
3412
3413 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3414 'finish', otherwise uncaptured gdb_prompt would potentially
3415 throw remaining test points out of sync.
3416
b22a6027
SB
34172000-07-26 Scott Bambrough <scottb@netwinder.org>
3418
3419 * gdb.base/recurse.exp: Run tests for all targets.
3420 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3421 gnu-oldld case on ARM.
3422 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3423 for ARM targets.
3424
d8231941
AG
3425Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3426
3427 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3428 * gdb.java/configure: Rebuild.
3429
8caabe69
AG
3430Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3431
3432 * gdb.java/jv-exp.exp: New file.
3433
9d273ca3
AG
3434Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3435
3436 * configure: Rebuilt.
3437 * configure.in (configdirs): Add gdb.java.
3438 * gdb.java/jmisc.java: New file.
3439 * gdb.java/jmisc.exp: New file.
3440 * gdb.java/Makefile.in: New file.
3441 * gdb.java/configure: Rebuilt.
3442 * gdb.java/configure.in: New file.
3443 * lib/java.exp: New file.
3444
4f823a66
AC
3445Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3446
3447 * gdb.base/exprs.exp: Test casts to a pointer including over and
3448 underflow.
3449
2391e11d
AC
3450Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3451
3452 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3453 and the compilers sizes.
3454
54602222
ND
34552000-07-09 Nick Duffek <nsd@redhat.com>
3456
3457 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3458 (use_methods): New function.
3459 (main): Call use_methods().
3460 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3461 (do_tests): Call test_method_param_class.
3462
2bec0572
ND
34632000-07-09 Nick Duffek <nsd@redhat.com>
3464
3465 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3466 spelling.
3467 (test_enums): New procedure. Move enum tests from end of script
3468 to here. Set breakpoint on function name instead of line number.
3469 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3470 (enums2): New marker function.
3471 (enums1): New function.
3472 (main): Call enums1(). Move enum tests to enums1().
3473
78492fde
AC
3474Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3475
3476 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3477 compile/link program. Update line numbers.
3478 * gdb.asm/d10v.inc: Define ``startup''.
3479 * gdb.asm/asmsrc1.s: Add definition of _start.
3480
49a2cef8
AC
3481Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3482
3483 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3484
3e6c8688
EZ
34852000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3486
3487 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3488 of 'help maint print' command.
3489
9ff5cbe9
AC
3490Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3491
3492 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3493 they use gdb_expect_list.
3494
17c579bd
AC
3495Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3496
3497 * gdb.base/commands.exp: Use ``set remote
3498 memory-read-packet-size'' instead of ``set endian big'' to test
3499 long commands.
3500
e6d71bf3
DB
35012000-06-03 Daniel Berlin <dan@cgsoftware.com>
3502
3503 * gdb.c++/templates.exp (do_tests): Make all of these work under
3504 g++, and stop skipping them.
3505
3506 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3507 work under g++.
3508
e5f9ba7b
MS
3509 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3510 initialization.
3511
dc96c6c7 35122000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3513
3514 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3515 the regular expression: accept an (almost) arbitrary sequence of
3516 "frames-invalid" and "breakpoints-invalid" messages both before
3517 and after the "starting" message.
3518
dc96c6c7 35192000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3520
3521 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3522
dc96c6c7 35232000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3524
3525 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3526 Relax the regular expression a little, make it pass on Solaris 8.
3527
8216cda9
KB
35282000-05-12 Kevin Buettner <kevinb@redhat.com>
3529
3530 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3531 a call, do not require that gdb stop on the line after the call.
3532 Instead, it is permissible for gdb to stop on the line of the
3533 call itself.
3534
1a570b2f
MS
35352000-05-12 Michael Snyder <msnyder@.cygnus.com>
3536
3537 * gdb.base/break.exp (bp on small function, optimized file):
3538 Add a second pass pattern. The behavior differs here between stabs
3539 and dwarf for one-line functions. Stabs preserves two line symbols
3540 (one before the prologue and one after) with the same line number,
3541 but dwarf regards these as duplicates and discards one of them.
3542 Therefore the address after the prologue (where the breakpoint is)
3543 has no exactly matching line symbol, and GDB reports the breakpoint
3544 as if it were in the middle of a line rather than at the beginning.
3545
dc96c6c7 35462000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3547
3548 * gdb.base/interrupt.exp: Make "pass" message say "send"
3549 rather than "send_gdb" (for consistancy).
3550
7d418785
AC
3551Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3552
3553 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3554 * gdb.c++/templates.cc: Properly check for GCC version number.
3555 * lib/compiler.cc: Likewise
3556
dc96c6c7 35572000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3558
3559 * gdb.base/break.exp: When compiled with -O2 optimization,
3560 gdb may not stop at the first line of main, due to code motion.
3561
dc96c6c7 35622000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3563
3564 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3565 This test depends on parsing the printf output from the target.
3566 Since the sparclet stub doesn't do stdio, this will never work.
3567 * gdb.base/call-rt-st.exp: ditto.
3568 * gdb.base/call-strs: ditto.
3569
dc96c6c7 35702000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3571
3572 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3573
3574 * gdb.base/ending-run.exp: After connecting to a remote target,
3575 but before running, the target will appear to be in a random
3576 location. Specify both a file and a line for breakpoints.
3577 Also, the function that calls main may be called 'init'
3578 rather than 'start'.
3579
a5a51225
EZ
35802000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3581
3582 * gdb.base/help.exp: Update output for add-symbol-file command.
3583
7930cc7c
FN
35842000-04-10 Fernando Nasser <fnasser@cygnus.com>
3585
3586 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3587 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3588
23e37ab1
C
35892000-04-07 J.T. Conklin <jtc@redback.com>
3590
e93c542c
C
3591 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3592
23e37ab1
C
3593 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3594
591b8fa3
PDM
3595Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3596
3597 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3598 values that can be represented exactly.
3599 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3600 above change, and to not check against the directory part of the source
3601 file name.
3602 (step into print_long_arg_list): Likewise.
3603 (print print_small_structs from print_long_arg_list): Likewise.
3604 (print print_long_arg_list): Likewise.
3605
7a495180
EZ
36062000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3607
30b53638 3608 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3609
beb998c6
AC
3610Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3611
3612 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3613
1c689132
DB
36142000-03-25 Daniel Berlin <dan@cgsoftware.com>
3615
3616 * gdb.base/commands.exp (deprecated_command_test): Add test for
3617 deprecate with no arguments.
3618
c1790a9d
JL
36192000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3620
3621 * gdb.base/break.exp: Add new test for setting breakpoints on
3622 optimized code so we can test breakpoints work even when function
3623 prologues may be optimized away
3624
003ba290
FN
36252000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3626
3627 From David Whedon <dwhedon@gordian.com>
3628 * gdb.base/commands.exp : Added command deprecator tests.
3629
6837a0a2
DB
36302000-03-22 Daniel Berlin <dan@cgsoftware.com>
3631
3632 * gdb.base/help.exp: Added test for new apropos command.
3633
b9593231
KB
36342000-03-21 Kevin Buettner <kevinb@redhat.com>
3635
3636 * gdb.base/pointers.c (usevar): New function.
3637 (main): Make sure that global variables v_int_pointer2, rptr,
3638 and y are all referenced someplace in the program by calling
3639 usevar() on them. [Some linkers delete symbols which are
3640 never referenced. The space remains, but there's no way to
3641 get a (symbolic) handle on the variable from the debugger.]
3642
751a959b
EZ
36432000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3644
3645 * gdb.base/printcmds.c: Add typedeffed arrays.
3646
3647 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3648 procedure to test arrays that are typedef'd.
3649
73a93a32
JI
36502000-03-13 James Ingham <jingham@leda.cygnus.com>
3651
3652 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3653 the library directories.
73a93a32 3654
fb40c209
AC
3655Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3656
3657 * configure.in (configdirs): Add sub directory gdb.mi.
3658 * configure: Re-generate.
3659
3660 * gdb.mi: New directory.
beb998c6 3661
ee4dd2c9
AC
36622000-02-25 Scott Bambrough <scottb@netwinder.org>
3663
3664 * gdb.base/long_long.exp: Correct test suite failure when printing
3665 a long long value as a double on ARM platforms.
3666
70f0cc22
JB
36672000-02-16 Jim Blandy <jimb@redhat.com>
3668
3669 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3670 default source file is set properly before running this test.
3671
853819b8
EZ
36722000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3673
3674 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3675 gdbtk/library directory, not in gdbtcl2.
3676
dfcd3bfb
JM
36772000-02-04 Jim Blandy <jimb@redhat.com>
3678
3679 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3680 backslash from regexp pattern.
3681
3682 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3683 procedure. Use it to run all the "continue to bp overloaded"
3684 tests. Note that this changes the names of the tests slightly.
3685 If the breakpoint hit message includes a hex PC value, because
3686 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3687 from the real source code, still consider that a pass.
3688
3689 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3690 XFAIL here if the breakpoint message contains a hex address. Note
3691 similar change on 1999-11-02.
3692
3693 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3694
3695 * gdb.base/ptype.exp: Establish a default source file before
3696 calling get_debug_format.
3697
36982000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3699
3700 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3701
8b93c638
JM
37022000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3703
3704 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3705 of successive stepi commands -- while in the prologue we should see
3706 the function entry bracket.
3707
37082000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3709
3710 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3711 reach __change_mode() when stepping through the end of main().
3712
c5394b80
JM
37132000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3714
3715 * gdb.base/default.exp: Fix expected pattern.
3716 * gdb.base/help.exp: Same.
3717
0d06e24b
JM
37182000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3719
3720 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3721 Don't use xfail's because that affects only the following test.
beb998c6 3722
0d06e24b
JM
3723 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3724 solaris or linux.
3725
3726 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3727
dc96c6c7 37282000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3729
beb998c6 3730 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3731 "A syntax error" rather than "A parse error". Accept both.
3732
37332000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3734
3735 * gdb.base/default.exp: Remove OS dependent string from "target
3736 remote" test.
3737 * gdb.base/help.exp: Same for "help target remote" test.
3738
c3f6f71d
JM
37392000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3740
3741 From Jim Kingdon <kingdon@redhat.com>:
3742
3743 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3744 prompt (cleanup rather than necessity, but still might keep output
3745 from spilling to next test).
3746
37472000-01-02 Fred Fish <fnf@cygnus.com>
3748
3749 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3750 AIX, which defines them in <sys/types.h>.
3751
ed9a39eb 37521999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3753
ed9a39eb
JM
3754 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3755 float" test.
3756
37571999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3758
ed9a39eb 3759 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3760
3761 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3762 outermost frame disallowed".
3763
37641999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3765
3766 * gdb.base/setvar.exp: New tests for setting the value of a struct
3767 with a constant list.
3768
37691999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3770
3771 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3772 require the user to type a cast before setting the value of a struct.
3773
de57eccd
JM
37741999-12-06 Jim Blandy <jimb@cygnus.com>
3775
3776 * gdb.base/default.exp: Expect the new 'info float' command on
3777 all i386 platforms.
3778
3779 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3780 LinuxThreads libraries that don't support debugging.
3781
c2d11a7d
JM
3782Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3783
3784 * gdb.base/remote.c: Fill the buffer with truely random data.
3785 Change the buffer type to ``unsigned char'' to simplify size
3786 arithmetic.
3787
3788 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3789 stub only handles 400-1 byte packets. Verify that the download
3790 worked.
3791
37921999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3793
3794 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3795 tests, using UNRESOLVED for the untested cases. Also, does not wait
3796 for a timeout if the prompt was received before a recognizable pattern.
3797
37981999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3799
3800 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3801
38021999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3803
3804 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3805 watchpoints.
3806
38071999-11-24 Jason Merrill <jason@casey.cygnus.com>
3808
3809 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3810
3811 * gdb.c++/local.exp: Be more flexible in recognizing local class
3812 name mangling. Don't allow horribly truncated method names.
3813 * gdb.c++/derivation.exp: Expect protected inheritance.
3814 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3815 * gdb.c++/virtfunc.exp: Likewise.
3816 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3817 when printing a nested enum.
3818
38191999-11-22 Jim Blandy <jimb@cygnus.com>
3820
3821 * gdb.base/step-test.exp: Properly await GDB's response to setting
3822 a breakpoint on the call to large_struct_by_value.
3823
3824 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3825 just because we have debug info for the `start' function.
3826
38271999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3828
3829 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3830 "Unknown signal" messages, which indicate (on LinuxThreads) that
3831 GDB doesn't know how to debug threads on this system. This is
3832 better than hanging while philosopher 0 dumps chatter into gdb.log.
3833
38341999-11-18 Tom Tromey <tromey@cygnus.com>
3835
3836 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3837
38381999-11-18 Fred Fish <fnf@cygnus.com>
3839
3840 * gdb.base/coremaker2.c: Add sample program for generating
3841 cores that is more self contained than coremaker.c. Eventually
3842 I'll add more code to this and tie it into the testsuite.
3843
4ce44c66
JM
38441999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3845
3846 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3847
38481999-11-10 Jimmy Guo <guo@cup.hp.com>
3849
3850 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3851 from $srcdir/lib/.
3852 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3853 and gdb.c++/.
3854
3855 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3856
beb998c6 3857 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3858 'continue with watch' test point.
3859
38601999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3861
3862 Merged from p2linux-990323-branch:
beb998c6 3863
4ce44c66
JM
3864 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3865
11cf8741
JM
3866Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3867
3868 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3869 {limit,fixed}''. Test ``set download-write-size''.
3870
3871Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3872
3873 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3874 gdb_expect_list.
3875
3876Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3877
3878 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3879
38801999-11-03 Mark Salter <msalter@cygnus.com>
3881
3882 * gdb.base/break.exp: Fix "stub continue" pattern.
3883
38841999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3885
3886 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3887
38881999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3889
3890 * gdb.base/display.exp ("finish"): Add timeout clause.
3891
3892 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3893 plain prompt clause, so this doesn't have to time out in order to
3894 fail.
3895
3896 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3897 breakpoint hit messages include an address.
3898
3899 * gdb.base/display.exp: Don't forget to escape parens in regular
3900 expressions. Unix regexp notatation sucks.
3901
39021999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3903
3904 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3905 order for 'signalled' message.
3906
5c44784c
JM
39071999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3908
3909 From Jimmy Guo <guo@cup.hp.com>:
3910 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3911 * gdb.base/annota1.c: Add code for tests to work with.
3912
39131999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3914
3915 * gdb.base/remote.exp: New test for remote downloading settings.
3916 * gdb.base/remote.c: New file with large .data.
3917
917317f4
JM
39181999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3919
3920 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3921 for LinuxThreads support, merged from the Code Fusion branch.
3922
3923Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3924
3925 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3926 containing exp_continue into a while within an expect. Don't
3927 attempt a start more than three times. Check return value from
3928 gdb_load.
beb998c6 3929
2df3850c
JM
3930Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3931
3932 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3933 a pass case.
3934
2acceee2
JM
39351999-10-01 Kevin Buettner <kevinb@cygnus.com>
3936
3937 * gdb.base/break.c (main): Added a statement that we can step
3938 off of.
3939 * gdb.base/break.exp: Added tests for setting a breakpoint
3940 at an offset and stepping onto a breakpoint.
3941
39421999-10-01 Fred Fish <fnf@cygnus.com>
3943
beb998c6 3944 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3945 gdb output.
3946
c2c6d25f
JM
39471999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3948
3949 * gdb.base/break.exp: Code locations are in hex, don't forget!
3950 (For HP-UX.)
3951
39521999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3953
3954 * condbreak.exp: Use break.c as test program.
3955 * condbreak.c: Remove, redundant with break.c.
3956
39571999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3958
3959 * config/monitor.exp (gdb_target_monitor): Disable X- and
3960 Z-packets if the target needs it.
3961
39621999-09-13 James Ingham <jingham@leda.cygnus.com>
3963
3964 * gdb.c++/overload.exp: Added tests for listing overloaded
3965 functions with function pointers in the arg, explicitly calling
3966 out the version you want.
3967
cff3e48b
JM
39681999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3969
3970 * long_long.exp: Add variations of test cases that work for
3971 targets with 16-bit ints and 32-bit doubles.
3972
d4f3574e
SS
39731999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3974
3975 * break.c (main): Compare a possibly-uninitialized argc with an
3976 unlikely value that fits in 16 bits.
3977
39781999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3979
3980 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3981 0xfeeb, don't want negative numbers if ints are 16 bits.
3982
3983 * lib/gdb.exp (skip_cplus_tests): New proc.
3984 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3985 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3986 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3987 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3988 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3989 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3990 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3991 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3992
3993 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3994
3995Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3996
3997 * gdb.base/corefile.exp (up): Allow a parameter to appear
3998 in the frame that we're going up to.
3999
4000 From Jim Blandy <jimb@cygnus.com>:
4001
4002 * gdb.base/default.exp (info float): Expect some output now.
4003
4004 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4005 returning floating-point values to fail on the x86.
4006 * gdb.base/callfwmall.exp (do_function_calls): Same.
4007
4008 * gdb.base/list.exp (test_listsize): Correct expectations for
4009 listing line 1 with listsize 2. Also, listing a single line
4010 works now, as does listing three lines. [Kevin's note: There
4011 were a number of other cases fixed too where the expectations
4012 differed...]
4013
40141999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4015
4016 * gdb.base/selftest.exp: Add case for when version prints as
4017 constant string instead of char pointer.
4018
104c1213
JM
40191999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4020
4021 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4022 stepping out of main.
4023
4024 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4025 G++ used.
4026
4027 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4028 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4029
4030 * gdb.c++/ovldbreak.exp: Update match string in test that
4031 includes a warning of multiple breakpoints.
4032
40331999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4034
4035 * gdb.base/display.exp: Improve precision of step-after-finish
4036 added yesterday.
4037
4038 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4039 test.
4040
4041 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4042 configs when using G++, not just hppa*.
4043
40441999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4045
4046 * gdb.base/async.c: New file.
4047 * gdb.base/async.exp: New file.
4048
4049Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4050
4051 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4052 PA64.
4053
53a5351d
JM
4054Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4055
104c1213
JM
4056 * gdb.base/display.exp: "finish" can leave us mid-line on many
4057 targets, deal with it. Add a small constant to main, instead of
4058 1000 since main+1000 may not be a valid address in the target.
4059
53a5351d
JM
4060 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4061 on hpux11.
4062
4063 * gdb.base/attach.exp: Handle another hpux11 error message variant
4064 when attaching to a process that does not exist.
4065
40661999-08-19 J.T. Conklin <jtc@redback.com>
4067
4068 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4069 characters in 'continue to 1241' test.
4070
40711999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4072
4073 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4074 stop in print_long_arg_list, define and use a whitespace
4075 variable in print_small_structs test, add an XFAIL for Solaris.
4076 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4077 interested enough to fix.
4078
7be570e7
JM
40791999-08-13 Keith Seitz <keiths@cygnus.com>
4080
4081 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4082 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4083 proc knows about targets other than the natives.
4084 (test_assign): Use "gdb_run_cmd" to "run" the target.
4085 Check that we've actually hit the breakpoint at main.
4086 When we attempt to assign a value to a local variable, check
4087 that the variable is in the current scope, i.e., don't use
4088 a test with an empty result.
4089
4090Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4091
4092 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4093 command.
4094
40951999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4096
4097 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4098 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4099 gdb.compat, gdb.threads-hp.
4100 gdb.hp/configure, gdb.hp/configure.in: New files.
4101 gdb.hp/Makefile.in: Recurse into new subdirs.
4102 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4103 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4104 in object files.
4105 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4106
96baa820
JM
41071999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4108
4109 * gdb.base/display.exp: Help expect by putting a newline in the
4110 funky printf, remove a bogus p/a test.
4111
41121999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4113
4114 * gdb.base/display.exp: Make sure that when we say 'run', we are
4115 connected to the target. This is necessary when running not
4116 natively.
4117
41181999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4119
4120 * gdb.base/step-test.exp: Removed some extraneous messages.
4121
4122 * gdb.base/long_long.exp: Don't run memory examination tests
4123 on little-endian targets (they will need a different set of
4124 results to match).
4125
41261999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4127
4128 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4129 until somebody decides to fix GDB.
4130
4131 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4132 constant as "ULL".
4133 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4134 matches for a couple x/2 commands.
4135
a0b3c4fd
JM
41361999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4137
4138 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4139 by merging in ref-types2 tests.
4140 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4141
4142 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4143 * gdb.c++/Makefile.in: Add standard actions.
4144 (EXECUTABLES): Rename from PROGS, update list.
4145 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4146 from gdb.hp.
4147 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4148 foo and bar locals.
4149 * gdb.c++/anon-union.exp: Fix tests to match.
4150 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4151 expect matches to handle output variations.
4152 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4153 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4154 output, add HP alternatives for new and delete prints.
4155 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4156 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4157 * gdb.c++/demangle.exp: Use $style when reporting failure.
4158 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4159 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4160 match alternatives.
4161 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4162 compilers.
4163 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4164 * gdb.c++/method.exp: Add match alternatives.
4165 * gdb.c++/misc.cc: Add bool types.
4166 * gdb.c++/misc.exp: Add tests for bool types.
4167 * gdb.c++/overload.exp: Add xfails.
4168 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4169 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4170 add some more template parameter tests (only for HP currently).
4171 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4172 * gdb.c++/virtfunc.cc: Add return type and value for main.
4173 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4174 match alternatives.
beb998c6 4175
a0b3c4fd
JM
41761999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4177
4178 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4179
41801999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4181
4182 * gdb.base/signals.exp: Don't expect getting a backtrace from
4183 within a signal handler to fail on Linux.
4184
41851999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4186
4187 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4188 * lib/gdb.exp: Remove some gratuitious semicolons.
4189 (delete_breakpoints): Increase timeout.
4190 (gdb_expect): Add -notransfer option.
4191 (gdb_test): Use -notransfer option.
4192 (get_compiler_info): Add f77 case.
4193 (get_compiler): New proc, split out from gdb_preprocess, add f77
4194 case.
4195 (gdb_preprocess): Call get_compiler.
4196
4197 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4198 * gdb.base/attach.exp, gdb.base/display.exp,
4199 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4200 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4201 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4202 third arg to gdb_test.
4203 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4204 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4205 HP-UX xfails, add others.
4206 * gdb.base/completion.exp: Reflect name change of self-test.
4207 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4208 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4209 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4210 HP failure number.
4211 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4212 useless HP-UX 10.30 references.
4213 * gdb.base/maint.exp: Loosen matches.
4214 * gdb.base/pointers.c (main): Declare more_code.
4215 * gdb.base/pointers.exp: Match on output of a `next'.
4216 * gdb.base/structs.c: Add prototypes.
4217 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4218 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4219
42201999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4221
4222 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4223 command.
4224
42251999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4226
4227 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4228 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4229
4230 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4231 debug info. Deal with lack of signal hanlder info in stack.
4232
4233 From Jim Kingdon <kingdon@redhat.com>:
4234 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4235
5a2468f5
JM
42361999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4237
4238 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4239 gdb.base/foll-vfork.exp: Don't run for crosses.
4240
adf40b2e
JM
4241Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4242
4243 * gdb.base/configure.in: Check for gdbvars.exp instead of
4244 a1-selftest.exp.
4245 * gdb.base/configure: Re-generate.
4246
42471999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4248
4249 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4250 in trying to run first and name is too long.
4251
4252 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4253 pointers2.c and pointers2.exp, respectively.
4254 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4255 doschk happier.
4256
43e526b9
JM
42571999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4258
4259 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4260 callfuncs2.c and callfuncs2.exp.
4261
4262 * gdb.base/list.exp: Remove mistaken xfails.
4263 * gdb.base/list0.h: Add optional prototypes.
4264
9846de1b
JM
4265Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4266
4267 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4268 calling malloc.
4269 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4270 * ptype.exp: Move test for get_debug_format to before its first
4271 use.
4272
42731999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4274
4275 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4276 * gdb.base/annota2.cc, annota2.exp: Move from here.
4277 * gdb.c++/annota2.cc, annota2.exp: To here.
4278 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4279
43ff13b4
JM
4280Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4281
4282 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4283 a consistent format.
4284
085dd6e6
JM
42851999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4286
4287 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4288 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4289 HP compilers, also set the globals $true and $false.
4290
4291 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4292 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4293 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4294 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4295 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4296 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4297 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4298 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4299 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4300 whatis.c} Add C++ compatible function definitions and return
4301 types, add includes for library functions.
4302 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4303 * gdb.base/step-test.c (myglob): Rename from glob.
4304 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4305 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4306 files, move here from gdb.hp.
4307 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4308 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4309 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4310 Adjust line numbers in regexps.
4311
4312 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4313 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4314 instead of 0/1.
4315
4316 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4317 foll-vfork.exp: New files, move here from gdb.hp.
4318 * gdb.base/page.exp: New file, test of pagination command.
4319
4320 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4321 recursion test.
4322 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4323
4324 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4325 gdb.base/solib.exp: Fix compiler invocation process.
4326
4327 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4328 HP-UX 11, turn off overload resolution explicitly.
4329 * gdb.base/commands.exp: Set argument list explicitly, add
4330 watchpoint test.
4331 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4332 them work.
4333 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4334 expressions properly.
4335 * gdb.base/corefile.exp: Loosen the match slightly.
4336 * gdb.base/default.exp: Allow "Error accessing memory" message
4337 also.
4338 * gdb.base/display.exp: Skip over x/0 j if PA64.
4339 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4340 * gdb.base/interrupt.exp: Ditto.
4341 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4342 in use.
4343 * gdb.base/list.exp: Add xfails for HP-UX.
4344 * gdb.base/long_long.exp: Refine some of the numeric matches.
4345 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4346 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4347 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4348 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4349 * gdb.base/ptype.exp: Succeed on more varieties of output.
4350 * gdb.base/scope.exp: Add xfails for HP-UX.
4351 * gdb.base/sect-cmd.exp: Add more cases.
4352 * gdb.base/setvar.exp: Add xfails for HP-UX.
4353 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4354 * gdb.base/signals.exp: Match on void symbolically.
4355 * gdb.base/step-test.exp: Add case for PA64.
4356 * gdb.base/term.exp: Add exit and restart.
4357 * gdb.base/twice.exp: Clean up after self.
4358 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4359 * gdb.base/whatis.exp: Allow more ways to pass tests.
4360
4361 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4362 no longer useful.
4363
4364Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4365
4366 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4367 list of patterns.
4368 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4369 print_double_array(double_array)", "continuing to breakpoint
4370 1018", "print print_double_array(array_d)" and "continuing to
4371 1034" tests.
beb998c6 4372
085dd6e6
JM
43731999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4374
4375 * Makefile.in: Add empty html and install-html targets.
4376
43771999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4378
4379 * config/mt-*: Remove, these haven't been used since 1996.
4380
43811999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4382
4383 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4384 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4385 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4386
9e0b60a8
JM
43871999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4388
4389 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4390 simpler match case for the ptype of the big class.
4391
43921999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4393
4394 * gdb.exp: Fix test for gdb_prompt existence.
4395
43961999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4397
4398 * gdb.exp (gdb_test): Add fail after calls to perror.
4399
44001999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4401
4402 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4403
44041999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4405
4406 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4407
0f71a2f6
JM
4408Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4409
4410 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4411 malloc() is linked in.
4412
44131999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4414
4415 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4416 step at end.
4417
4418 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4419
44201999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4421
4422 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4423
cce74817
JM
4424Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4425
4426 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4427 * gdb.base/mips_pro.exp: Likewise.
4428
44291999-06-02 Keith Seitz <keiths@cygnus.com>
4430
4431 * gdb.c++/templates.cc: Change all "new" operators to throw
4432 an exception.
4433 * gdb.c++/cplusfuncs.cc: Likewise.
4434
4435 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4436
4437Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4438
4439 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4440 * gdb.base/ending-run.exp: When stepping out of main, accept a
4441 step into an arbitrary assembler file.
4442
392a587b
JM
44431999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4444
beb998c6 4445 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4446 "breakpoint-invalid" to be printed.
beb998c6 4447 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4448 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4449 * gdb.base/annota2.cc: Initialize a.x to 0.
4450
9e086581
JM
44511999-05-17 Keith Seitz <keiths@cygnus.com>
4452
4453 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4454 when "skip_float_tests" set.
4455 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4456 "print print_ten_doubles", and "step into print_long_arg_list".
4457 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4458 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4459 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4460 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4461 "skip_float_tests" is set.
4462 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4463 when "skip_float_tests" set.
beb998c6 4464
cd0fc7c3
SS
44651999-05-06 Keith Seitz <keiths@cygnus.com>
4466
4467 * gdb.base/annota2.cc: Include stdio.h.
4468
4469Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4470
4471 * gdb.base/crossload.exp: Remove, this has been disabled ever
4472 since BFD stopped including all targets, and cross-GDB gets
4473 plenty of testing anyway.
4474 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4475 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4476 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4477 * gdb.base/README: Remove, was doc for this.
4478 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4479 needed.
4480
b83266a0
SS
44811999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4482
4483 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4484 output.
4485
4486 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4487 * gdb.base/annota2.exp: New file. More annotation tests.
4488 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4489 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4490
44911999-04-23 Angela Marie Thomas <angela@cygnus.com>
4492
4493 * config/cfdbug.exp: New file.
4494
7a292a7a
SS
44951999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4496
4497 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4498 Marcus Daniel's and Dale Hawkins's demangler crashes.
4499
4500 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4501 test_lucid_style_demangling, test_arm_style_demangling,
4502 test_hp_style_demangling): Try Tom Tromey's core-dumping
4503 identifier under each demangling style.
4504
45051999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4506
4507 * gdb.c++/demangle.exp: Include the current demangling style
4508 in all test names.
4509 (current_demangling_style): New global variable.
4510 (set_demangling_style, test_demangling_core, test_demangling,
4511 test_demangling_exact): New functions.
4512 (test_gnu_style_demangling, test_lucid_style_demangling,
4513 test_arm_style_demangling, test_hp_style_demangling): Use those,
4514 instead of calling gdb_test and gdb_test_exact directly.
4515 (catch_demangling_errors): New function, which reports errors
4516 signalled by the demangling test functions in an orderly way.
4517 (do_tests): Use catch_demangling_errors.
4518
45191999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4520
4521 * gdb.base/signals.exp (test_handle_all_print): Use () for
4522 grouping in expressions, not {}.
4523
4524 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4525 initialized yet.
4526
45271999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4528
4529 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4530 are listed.
4531
45321999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4533
4534 * gdb.stabs/weird.exp: Test for CC being defined before
4535 looking at its value.
4536
45371999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4538
4539 * gdb.base/call-ar-st.exp: Remove stray '#'.
4540 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4541 "short int" and "long int".
4542 * gdb.c++/overload.cc: Cast the string added in the previous
4543 change, to mollify finicky HP compiler.
4544 * gdb.hp/reg-test.exp (testfile): Fix file name.
4545 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4546
7a292a7a
SS
4547 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4548 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4549 alternate form of enum ptype.
4550
c906108c
SS
45511999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4552
7a292a7a
SS
4553 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4554 * gdb.hp/*.exp: Change all to run compiler probe only after
4555 passing skip_hp_tests, so as not to waste time on guaranteed
4556 failure.
4557
c906108c
SS
4558 * gdb.c++/overload.cc: Pass string instead of char addr, always
4559 init ccpfoo.
4560 * gdb.c++/templates.cc: Fix syntax error.
4561
7a292a7a
SS
4562Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4563
4564 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4565 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4566 command.
4567
45681999-03-18 James Ingham <jingham@cygnus.com>
4569
4570 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4571
4572 * gdb.c++/method.exp: It was testing an uninitialized int on the
4573 stack and assuming it was positive.
4574
4575 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4576
4577 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4578 keep it from killing the rest of the tests.
7a292a7a
SS
4579 Use gdb_continue_to_end.
4580
4581 * gdb.base/sigall.exp: use gdb_continue_to_end.
4582
4583 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4584
4585 * gdb.base/display.exp: use runto_main, not run.
4586
beb998c6
AC
4587 * gdb.base/default.exp: Check for the current error message in the
4588 r abbreviation test.
7a292a7a
SS
4589 Add strongarm to the targets that know info float.
4590
beb998c6 4591 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4592 run which doesn't work with monitors.
4593
4594 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4595
4596 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4597
4598 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4599 program. Traps the case (in Cygmon) when the program never really
4600 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4601 more places, so I used my name. Sorry Mark...
4602
4603 * config/monitor.exp (gdb_target_monitor): added another
4604 target_info parameter: remotebinarydownload. This will set the
4605 remotebinarydownload flag if this is causing some boards trouble.
4606
46071999-03-18 Mark Salter <msalter@cygnus.com>
4608
4609 * lib/gdb.exp (continue_to_exit): New function.
4610
4611 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4612 * gdb.base/ending-run.exp: Ditto.
4613 * gdb.base/step-test.exp: Ditto.
4614
46151999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4616
4617 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4618 (suggested by Art Haas <ahaas@neosoft.com>).
4619
46201999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4621
4622 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4623
4624Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4625
4626 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4627 descriptions of types (short unsigned int vs unsigned short, etc).
4628
46291999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4630
4631 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4632 a call to strlen; sometimes we do have sources.
4633
46341999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4635
4636 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4637 character, so GDB won't print garbage after its end.
beb998c6 4638
c906108c
SS
4639 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4640 breakpoint there instead. Sometimes GCC emits memcpy to handle
4641 the large structures being passed by value, so we step into that
4642 instead of sum_array_print, which obscures what we're really testing.
4643 * gdb.base/step-test.exp: However, we do want a test that notices
4644 the bizarre steps into memcpy, so do that here. Add check for
4645 stepping into function calls that pass large structures by value.
4646 ("Is that a noun clause, or are you just happy to see me?")
4647 Remove all references to specific line numbers.
4648 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4649 New type and function.
4650 (main): Call large_struct_by_value, passing it a large struct by value.
4651 * lib/gdb.exp (gdb_get_line_number): New function.
4652
4653 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4654 more portable.
4655
7a292a7a
SS
46561999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4657
c906108c
SS
4658 * lib/gdb.exp: Doc fixes.
4659
7a292a7a
SS
46601999-03-05 Nick Clifton <nickc@cygnus.com>
4661
beb998c6 4662 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4663
46641999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4665
c906108c
SS
4666 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4667 commands. They're not germane to this test, and they don't work
4668 that way on remote targets.
4669
3fc11d3e
JM
46701999-03-01 James Ingham <jingham@cygnus.com>
4671
4672 * Changelog entries merged over from gdb development branch.
4673
3fc11d3e
JM
4674 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4675
4676 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4677 for outputting results of test run.
4678
2d4a1622 4679 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4680
4681 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4682
7a292a7a
SS
46831999-02-25 Felix Lee <flee@cygnus.com>
4684
4685 * lib/gdb.exp (debug_format): initialize
4686
c906108c
SS
46871999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4688
4689 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4690 * gdb.base/call-rt-st.c: Ditto.
4691
c906108c
SS
46921999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4693
4694 * gdb.threads/pthreads.exp (horiz): New variable.
4695 (test_startup): Fix regexps that capture thread numbers.
4696
46971999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4698
4699 * gdb.base/smoke.exp: Disambiguate two test case names (both
4700 called ``print'').
4701
4702Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4703
4704 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4705 compilation.
4706
47071999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4708
4709 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4710 actual output formatting.
4711 * gdb.base/smoke.exp: GDB removes leading 0's.
4712 * gdb.base/volatile.exp: Don't check type of remuneration;
4713 that variable is no longer defined in constvars.c.
4714 * gdb.base/step-test.c (main): Exit with explicit exit code.
4715 * gdb.base/step-test.exp: Remove two nexti checks--they are
4716 not portable.
4717
47181999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4719
4720 * gdb.base/help.exp ("help delete display"): Fix test to match
4721 gdb's output.
4722
4723 * gdb.base/long_long.c (known_types): Initialize values to zero.
4724 * gdb.base/long_long.exp: Step one more line
4725 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4726 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4727 unique test case names.
4728
4729Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4730
beb998c6 4731 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4732
4733 * gdb.c++/method.exp: Add missing close brace.
4734
47351999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4736
4737 * gdb.base/maint.exp: Use 'set height 0' to disable page
4738 prompting, not 'set height 400'.
4739
4740 Fix a bunch of timeouts.
4741 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4742 four separate tests, so expect doesn't take forever to match a ton
4743 of text against a regexp with lots of .* forms.
4744 ("maint print psymbols", "maint print symbols"): Make some of
4745 these greps more selective, so that expect doesn't try to wade
4746 through huge piles of output and time out.
4747
4748 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4749
4750 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4751 tests: one which doesn't expect shlib events to be reported, and
4752 another which does, but is XFAIL for all platforms other than
4753 HP/UX.
4754
4755 * gdb.base/break.exp: Teach the test suite that the `catch
4756 fork', `catch vfork', and `catch exec' commands produce error
4757 messages on platforms that don't provide these features.
4758
4759Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4760
4761 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4762 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4763 (shortening names from solib_threshold.exp etc), won't run on
4764 anything but HP-UX for the foreseeable future.
4765 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4766 reflect move.
4767
4768Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4769
4770 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4771 gdb.trace/Makefile.in (clean): Remove all test executables.
4772
4773Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4774
4775 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4776 successfully re-sets breakpoints in shared libraries.
4777 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4778
4779Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4780
beb998c6
AC
4781 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4782 and compiled w/o GCC.
c906108c
SS
4783
4784 * gdb.hp/watch-cmd.exp: ditto.
4785
4786 * gdb.hp/watch-hp.exp: ditto.
4787
4788 * gdb.hp/xdb1.exp: ditto.
4789
4790 * gdb.hp/xdb2.exp: ditto.
4791
4792 * gdb.hp/dbx.exp: ditto.
4793
4794Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4795
4796 * constvars.c: Remove C++-isms.
4797 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4798 with GCC.
4799
4800Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4801
4802 The following changes are part of the HP merge.
4803
4804 * gdb.base/break.exp: new tests to verify that catchpoints for
4805 fork, vfork, and exec don't trigger inappropriately.
4806
4807 * gdb.base/opaque.exp: compile one file at a time, then link.
4808
4809 * gdb.base/signals.exp: be more restrictive about which hppa
4810 systems receive a setup_xfail. new tests.
4811
4812 * gdb.base/solib_threshold.build: new file.
4813 * gdb.base/solib_threshold.exp: new file.
4814 * gdb.base/solib_threshold.link_opts: new file.
4815 * gdb.base/solib_threshold.mk: new file.
4816 * gdb.base/gen_solib_threshold.c: new file.
4817
4818 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4819 tests. New tests for enums inside classes.
4820
4821 * gdb.c++/compiler.cc: indicate support of template debugging.
4822
4823 * gdb.c++/demangle.exp: run hp style demangling tests.
4824
4825 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4826 tests.
4827
4828 * gdb.c++/misc.cc: changes to support new tests.
4829
4830 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4831 to support new tests.
4832
4833 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4834 gcc, then skip these tests.
4835
4836Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4837
4838 The following files are part of the HP merge; some had longer
4839 names at HP, but have been renamed to be no more than 14
4840 characters in length.
4841
4842 * gdb.hp/ambiguous.cc: new file.
4843 * gdb.hp/ambiguous.exp: new file.
4844 * gdb.hp/attach.exp: new file.
4845 * gdb.hp/attach2.exp: new file.
4846 * gdb.hp/classes-hp.exp: new file.
4847 * gdb.hp/ctti.exp: new file.
4848 * gdb.hp/ctti-add.cc: new file.
4849 * gdb.hp/ctti-add1.cc: new file.
4850 * gdb.hp/ctti-add2.cc: new file.
4851 * gdb.hp/ctti-add3.cc: new file.
4852 * gdb.hp/dbx.exp: new file.
4853 * gdb.hp/exception.cc: new file.
4854 * gdb.hp/exception.exp: new file.
4855 * gdb.hp/foll-exec.c: new file.
4856 * gdb.hp/foll-exec.exp: new file.
4857 * gdb.hp/foll-fork.c: new file.
4858 * gdb.hp/foll-fork.exp: new file.
4859 * gdb.hp/foll-vfork.c: new file.
4860 * gdb.hp/foll-vfork.exp: new file.
4861 * gdb.hp/inherit-hp.exp: new file.
4862 * gdb.hp/more-steps.exp: new file.
4863 * gdb.hp/namespace.cc: new file.
4864 * gdb.hp/namespace.exp: new file.
4865 * gdb.hp/optimize.exp: new file.
4866 * gdb.hp/pxdb.c: new file.
4867 * gdb.hp/pxdb.exp: new file.
4868 * gdb.hp/quicksort.exp: new file.
4869 * gdb.hp/reg-test.exp: new file.
4870 * gdb.hp/reg-test.s: new file.
4871 * gdb.hp/sized-enum.c: new file.
4872 * gdb.hp/sized-enum.exp: new file.
4873 * gdb.hp/start-stop.exp: new file.
4874 * gdb.hp/templ-hp.cc: new file.
4875 * gdb.hp/templ-hp.exp: new file.
4876 * gdb.hp/thr-lib.c: new file.
4877 * gdb.hp/thr-lib.exp: new file.
4878 * gdb.hp/thr-lib.h: new file.
4879 * gdb.hp/thr-liblib.c: new file.
4880 * gdb.hp/virtfun-hp.c: new file.
4881 * gdb.hp/virtfun-hp.exp: new file.
4882 * gdb.hp/watch-cmd.exp: new file.
4883 * gdb.hp/watch-hp.exp: new file.
4884 * gdb.hp/xdb1.exp: new file.
4885 * gdb.hp/xdb2.exp: new file.
4886 * gdb.hp/xdb3.exp: new file.
4887
4888Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4889
4890 The following files are part of the HP merge; some had longer
4891 names at HP, but have been renamed to be no more than 14
4892 characters in length.
4893
4894 * gdb.base/ss.h: new file.
4895 * gdb.base/call-ar-st.c: new file.
4896 * gdb.base/call-ar-st.exp: new file.
4897 * gdb.base/call-rt-st.c: new file.
4898 * gdb.base/call-rt-st-exp: new file.
4899 * gdb.base/call-strs.exp: new file.
4900 * gdb.base/ena-dis-br.exp: new file.
4901 * gdb.base/environ.exp: new file.
4902 * gdb.base/long_long.exp: new file.
4903 * gdb.base/sect-cmd.exp: new file.
4904 * gdb.base/shlib-cl2.exp: new file.
4905 * gdb.base/smoke.exp: new file.
4906 * gdb.base/so-impl-ld.c: new file.
4907 * gdb.base/so-impl-ld.exp: new file.
4908 * gdb.base/so-indr-cl.c: new file.
4909 * gdb.base/so-indr-cl.exp: new file.
4910 * gdb.base/varargs.exp: new file.
4911 * gdb.base/volatile.exp: new file.
4912 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4913 * gdb.base/display.exp: new file.
c906108c
SS
4914 * gdb.c++/derivation.exp: new file.
4915 * gdb.c++/local.exp: new file.
4916 * gdb.c++/member-ptr.exp: new file.
4917 * gdb.c++/overload.exp: new file.
4918 * gdb.c++/ovldbreak.exp: new file.
4919 * gdb.c++/ref-types.exp: new file.
4920 * gdb.c++/ref-types2.exp: new file.
4921 * gdb.c++/userdef.exp: new file.
beb998c6 4922
c906108c
SS
4923Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4924
4925 * gdb.base/default.exp: Reflect wording change in remote.c.
4926
dc96c6c7 4927Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4928
4929 * gdb.base/help.exp: Update to reflect current text.
4930
4931Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4932
4933 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4934 they're stack variables and contain garbage.
4935 * gdb.c++/anon-union.exp: new file.
4936
4937 The following changes were made by David Taylor
4938 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4939 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4940 in changes by HP.
4941
4942 * gdb.base/bitops.exp: new file.
4943 * gdb.base/default.exp: change expected messages for catch and
4944 info catch tests to reflect HP merge changes.
4945 * gdb.base/enable-disable-break.exp
4946 * gdb.base/ending-run.c: new file.
4947 * gdb.base/long_long.c: new file.
4948 * gdb.base/maint.exp: new file.
4949 * gdb.base/pointers2.exp: new file.
4950 * gdb.base/shlib-call2.exp: new file.
4951 * gdb.base/solib.exp: new file.
4952 * gdb.base/step-test.c: new file.
4953 * gdb.c++/anon-union.cc: new file.
4954 * gdb.c++/local.cc: new file.
4955 * gdb.c++/member-pointer.cc: new file.
4956 * gdb.c++/method.cc: new file.
4957 * gdb.c++/ref-types.cc: new file.
4958 * gdb.c++/ref-types2.cc: new file.
4959 * gdb.c++/userdef.cc: new file.
beb998c6 4960
c906108c
SS
4961 * gdb.base/scope.exp: compile one file at a time, then link.
4962 * gdb.base/langs.exp: ditto.
4963 * gdb.base/list.exp: ditto.
beb998c6 4964
c906108c
SS
4965Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4966
4967 The following changes were made by David Taylor
4968 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4969 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4970 in changes by HP.
beb998c6 4971
c906108c
SS
4972 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4973 skip tests. When compiling pass c++ flag to gdb_compile.
4974 * gdb.c++/
beb998c6 4975
c906108c
SS
4976 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4977 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4978 (skip_hp_tests): new function.
4979 (gdb_preprocess): new function.
4980
4981 * configure.in (hpdir): decide whether to configure gdb.hp.
4982 * configure: regenerated.
4983
4984 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4985 to delete on clean.
4986 (EXECUTABLES): update to reflect new additions.
4987 * gdb.base/commands.exp: update message expected.
4988 * gdb.base/default.exp: add copyright notice.
4989 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4990 * gdb.base/help.exp: update messages to reflect current text.
4991 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4992 targets for recurse tests.
4993 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4994 skip this file.
4995
4996 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4997 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4998 compilation.
4999 * gdb.c++/misc.exp: ditto.
5000 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5001 run the tests. tell gdb_compile that it's a c++ compilation.
5002
5003 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5004
c906108c
SS
5005 * gdb.base/all-bin.exp: new file.
5006 * gdb.base/arithmet.exp: new file.
5007 * gdb.base/assign.exp: new file.
5008 * gdb.base/completion.exp: new file.
5009 * gdb.base/cond-expr.exp: new file.
5010 * gdb.base/condbreak.exp: new file.
5011 * gdb.base/define.exp: new file.
5012 * gdb.base/dollar.exp: new file.
5013 * gdb.base/environment.exp: new file.
5014 * gdb.base/eval-skip.exp: new file.
5015 * gdb.base/jump.exp: new file.
5016 * gdb.base/logical.exp: new file.
5017 * gdb.base/pointers.exp: new file.
5018 * gdb.base/relational.exp: new file.
5019 * gdb.base/section_command.exp: new file.
5020 * gdb.base/whatis-expr.exp: new file.
5021
5022 * gdb.base/all-types.c: new file.
5023 * gdb.base/call-array-struct.c: new file.
5024 * gdb.base/call-return-struct.c: new file.
5025 * gdb.base/call-strings.c: new file.
5026 * gdb.base/callfuncs2.c: new file.
5027 * gdb.base/condbreak.c: new file.
5028 * gdb.base/constvars.c: new file.
5029 * gdb.base/display.c: new file.
5030 * gdb.base/int-type.c: new file.
5031 * gdb.base/jump.c: new file.
5032 * gdb.base/miscexprs.c: new file.
5033 * gdb.base/pointers.c: new file.
5034 * gdb.base/pointers2.c: new file.
5035 * gdb.base/shmain.c: new file.
5036 * gdb.base/shr1.c: new file.
5037 * gdb.base/shr2.c: new file.
5038 * gdb.base/solib.c: new file.
5039 * gdb.base/solib1.c: new file.
5040 * gdb.base/solib2.c: new file.
5041 * gdb.base/varargs.c: new file.
5042 * gdb.c++/derivation.cc: new file.
5043 * gdb.c++/overload.cc: new file.
5044 * gdb.c++/ovldbreak.cc: new file.
5045 * gdb.hp/attach.c: new file.
5046 * gdb.hp/attach2.c: new file.
5047 * gdb.hp/average.c: new file.
5048 * gdb.hp/compiler.c: new file.
5049 * gdb.hp/compiler.cc: new file.
5050 * gdb.hp/execd-program.c: new file.
5051 * gdb.hp/follow-exec.c: new file.
5052 * gdb.hp/follow-fork.c: new file.
5053 * gdb.hp/follow-vfork-and-exec.c: new file.
5054 * gdb.hp/misc-hp.cc: new file.
5055 * gdb.hp/more-steps.c: new file.
5056 * gdb.hp/optimize.c: new file.
5057 * gdb.hp/quicksort.c: new file.
5058 * gdb.hp/run-hp.c: new file.
5059 * gdb.hp/start-stop.c: new file.
5060 * gdb.hp/sum.c: new file.
5061 * gdb.hp/templates-hp.cc: new file.
5062 * gdb.hp/thread-local-in-lib.c: new file.
5063 * gdb.hp/thread-local-in-lib.h: new file.
5064 * gdb.hp/thread-local-in-lib.lib.c: new file.
5065 * gdb.hp/vforked-program.c: new file.
5066 * gdb.hp/virtfunc-hp.cc: new file.
5067 * gdb.hp/watchpoint-hp.c: new file.
5068 * gdb.hp/xdb.c: new file.
5069 * gdb.hp/xdb0.c: new file.
5070 * gdb.hp/xdb0.h: new file.
5071 * gdb.hp/xdb1.c: new file.
5072
5073Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5074
5075 The following change was made by Edith Epstein
5076 <eepstein@cygnus.com> as part of a project to merge in changes
5077 originally made by HP; HP did not create ChangeLog entries.
5078
5079 * gdb.c++/demangle.exp: changed the expected output for some
5080 ARM-style mangling -- removed second reference to datatype.
5081 For example, maint demangle __dt__11T1__pt__2_cFv
5082 T1<char>::~T1<char>(void)
5083 becomes,
5084 maint demangle __dt__11T1__pt__2_cFv
5085 T1<char>::~T1(void)
5086
5087 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 5088
c906108c
SS
5089Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5090
5091 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5092 * gdb.trace/backtrace.exp: Likewise.
5093 * gdb.trace/circ.exp: Likewise.
5094 * gdb.trace/collection.exp: Likewise.
5095 * gdb.trace/deltrace.exp: Likewise.
5096 * gdb.trace/infotrace.exp: Likewise.
5097 * gdb.trace/limits.exp: Likewise.
5098 * gdb.trace/packetlen.exp: Likewise.
5099 * gdb.trace/passc-dyn.exp: Likewise.
5100 * gdb.trace/passcount.exp: Likewise.
5101 * gdb.trace/report.exp: Likewise.
5102 * gdb.trace/save-trace.exp: Likewise.
5103 * gdb.trace/tfind.exp: Likewise.
5104 * gdb.trace/tracecmd.exp: Likewise.
5105 * gdb.trace/while-dyn.exp: Likewise.
5106 * gdb.trace/while-stepping.exp: Likewise.
5107
51081998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5109
5110 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5111
5112Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5113
5114 From Brendan Kehoe:
5115 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5116 int return types.
5117
5118Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5119
5120 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5121 remote dos host testing right.
5122
5123Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5124
5125 * gdb.base/corefile.exp: remove some xfails.
5126
5127Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5128
5129 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5130 have different timestamps.
5131
5132Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5133
5134 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5135 gdb.base/default.exp: Replace "exec" with "executable".
5136
5137Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5138
5139 * gdb.base/default.exp: Change else if to elseif from previous
5140 delta.
5141
5142Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5143
5144 * gdb.base/default.exp: Add brace missing from previous delta.
5145
5146Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5147
5148 * gdb.base/default.exp: Support test for info float for all
5149 varieties of arm toolchain.
5150
dc96c6c7 5151Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5152
5153 * gdb.trace/*.exp: remove "remote_download" command.
5154
dc96c6c7 5155Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5156
5157 * gdb.trace/*.exp: remove -gdwarf from compile.
5158
5159Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5160
5161 * gdb.trace/configure.in(AC_INIT): typo
5162 * gdb.trace/configure: regenerated
5163
dc96c6c7 5164Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5165
5166 * config/m68k-emc.exp: New file.
5167 * lib/<emc-support.exp trace-support.exp}: New files.
5168 * configure.in: add new test directory gdb.trace.
5169 * gdb.trace/{configure configure.in Makefile.in}: New files.
5170 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5171 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5172 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5173 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5174 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5175 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5176 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 5177
dc96c6c7 5178Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5179
5180 * gdb.c++/classes.exp: Change all regular expressions to match
5181 arbitrary combinations of newline/carriage-return, so that they
5182 will work equally well on Unix and Windows.
5183 * gdb.c++/inherit.exp: ditto.
5184 * gdb.c++/virtfunc.exp: ditto.
5185
51861998-08-11 Dawn Perchik <dawn@cygnus.com>
5187
5188 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5189
c2d11a7d
JM
5190Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5191
5192 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5193 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5194 to use a0-a3/d0-d3 as needed.
5195
5196Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5197
5198 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5199 * gdb.disasm/am33.exp: Corresponding changes.
5200
c906108c
SS
52011998-07-11 Felix Lee <flee@cygnus.com>
5202
5203 * gdb.base/callfuncs.exp: add cmp10 test.
5204 * gdb.base/callfuncs.c (cmp10): new function.
5205
5206Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5207
beb998c6 5208 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5209 into two parts to get around a synchronization problem in expect.
5210
3fc11d3e
JM
5211Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5212
5213 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5214
5215 * configure.in: Add options for gdbtk testsuite.
5216
5217 * configure: Regenerate.
5218
5219 * gdb.gdbtk: New directory to hold gdbtk tests.
5220
c906108c
SS
5221Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5222
5223 * gdb.fortran/types.exp: Escape brackets in expect patterns
5224 for test_float_literal_types_accepted tests.
5225 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5226 before run test.
5227
c2d11a7d
JM
5228Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5229
5230 * am33.exp: Just compile, do not link the testcase.
5231 * am33.s: Add ".am33" pseudoop to force am33 mode.
5232
c906108c
SS
52331998-06-25 Felix Lee <flee@cygnus.com>
5234
5235 * gdb.base/setshow.exp: make sure $pc is sane.
5236
5237 * gdb.stabs/weird.exp: split expect patterns properly.
5238
c2d11a7d
JM
5239Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5240
5241 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5242 * gdb.disasm/am33.exp: Run it.
5243
dc96c6c7 5244Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5245
5246 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5247 match processing (and eliminate spurious timeouts when running).
5248
dc96c6c7 5249Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5250
5251 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5252 exception test, but conditionalize it on target [mach | gnu].
5253
dc96c6c7 5254Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5255
5256 * gdb.base/overlays.exp: fixup compile line for linker script.
5257
5258Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5259
5260 * gdb.fortran/types.exp: don't guess at float size.
5261
5262Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5263
5264 * gdb.base/exprs.exp: delete test that depends on int size.
5265
5266Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5267
5268 * config/sim.exp: Removed checks for target triplets.
5269 (gdb_target_sim): Use gdb,target_sim_options.
5270
5271Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5272
5273 * gdb.base/reread.exp: New file.
5274 * gdb.base/reread1.c: New file.
5275 * gdb.base/reread2.c: New file.
5276
5277Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5278
5279 * config/sim.exp: Use 'target sim -sparclite' when running
5280 SPARClite programs.
5281
5282Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5283
5284 * gdb.base/structs2.exp: New file.
5285 * gdb.base/structs2.c: New file.
5286
5287Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5288
5289 * gdb.asm/common.inc: New file.
5290 * gdb.asm/d10v.inc: New file.
5291 * asm-source.exp: Pass -I's to gas to find .inc files.
5292 Update line numbers in expected output.
5293 * asmsrc1.s: Rewrite.
5294 * asmsrc2.s: Rewrite.
5295 * configure.in: Create arch.inc symlink.
5296 * configure: Regenerate.
5297 * Makefile.in (distclean): Delete arch.inc.
5298
5299Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5300
5301 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5302 (t_enum_value2): ditto
5303 (t_enum_value3): ditto
5304 (main): ditto
5305Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5306
5307 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5308 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5309 change.
5310 Use gdb_test instead of send_gdb/gdb_expect sequences.
5311
5312Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5313
5314 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5315 not void.
5316
5317Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5318
5319 * gdb.base/branches.c: Code with lots of loops and
5320 subroutines. Used to test gdbs ability to single step through PC
5321 changes, especially to test mips-tdep.c:mips_next_pc
5322
5323Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5324
5325 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5326 more rigorous EGCS C++ error checking.
5327
5328Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5329
5330 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5331 tests.
c906108c 5332 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5333 function when asleep.
c906108c 5334 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5335 for i*86 Linux and SVR4 signal handling problems.
5336 Remove linux xfail for `next to handler in signals_tests_1', fixed
5337 by recent infrun.c change.
c906108c 5338 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5339 stack backtraces.
c906108c
SS
5340 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5341 target.[ch] change.
5342
5343Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5344
5345 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5346 for a newline from gdb before continuing.
5347 (default_gdb_exit): Just look for y or n.
5348 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5349 it does, fail the rests of the tests in the file.
5350
5351Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5352
5353 * config/cygmon.exp: New file.
5354
5355Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5356
5357 * gdb.base/list.exp: Fix problem with "list default lines around
5358 main" test on remote targets.
5359
5360 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5361 run test on remote targets.
5362
5363Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5364
5365 * gdb.asm: New directory.
5366 * configure.in: Configure it.
5367 * configure: Regenerate.
5368 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5369 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5370
5371Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5372
5373 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5374
dc96c6c7 5375Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5376
c906108c
SS
5377 * gdb.base/overlays (several files): Merge the two overlay
5378 managers into one. Change variables (foox, barx, bazx, grbxx)
5379 back into ints but force them to load in their proper sections.
5380
5381Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5382
5383 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5384 on-chip insn memory and IMAP1 to upper 128k.
5385 (D10VCopy): Handle memory regions crossing 16k boundaries.
5386 (D10VCopy): Transfer data in 32 bit chunks.
5387
5388Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5389
5390 * gdb.base/overlays.c (main): Exit normally when result is
5391 correct.
5392
5393 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5394 map. Include space for printf in .text segment.
5395
5396 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5397 updated d10v memory VMA/LMA map.
5398 (D10VCopy): Call D10VTranslate.
beb998c6 5399
c906108c
SS
5400Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5401
5402 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5403
5404 * gdb.base/bar.c (barx, bar): Change variable to small array so
5405 that it won't be put into the .sdata - small data -
5406 section. Update reference.
5407 * gdb.base/baz.c (bazx, baz): Ditto.
5408 * gdb.base/foo.c (foox, foo): Ditto.
5409 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5410
5411 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5412 to be arrays.
beb998c6 5413
dc96c6c7 5414Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5415
c906108c
SS
5416 * gdb.base/overlays.exp: fix up and get working again.
5417 Add tests for backtraces from an overlay function.
beb998c6 5418
c906108c
SS
5419Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5420
5421 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5422 "calling function with watchpoint enabled".
5423
5424Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5425
5426 * gdb.base/break.exp (test_next_with_recursion): Remove
5427 gdb_suppress_tests for d10v-*-*.
5428 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5429 pending review of whether it is useful or not.
5430
5431Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5432
5433 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5434
5435Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5436
5437 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5438 * config/dve.exp: New file to support Densan boards.
5439
5440Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5441
5442 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5443 reads and BSD.
5444
5445Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5446
5447 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5448 response.
5449
5450 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5451
5452Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5453
5454 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5455 test.
5456
5457 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5458 target_sizeof_long and target_bigendian_p.
5459 (structs_by_value, structs_by_reference): Check values according
5460 to targets word size and endianess.
beb998c6 5461
c906108c
SS
5462Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5463
5464 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5465 output.
5466
5467Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5468
5469 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5470 Update test of set args help to match source change.
5471
5472Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5473
5474 * gdb.base/default.exp: Expect help system output to be in
5475 alphabetical order.
5476 * gdb.base/help.exp: Ditto.
5477
5478Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5479
5480 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5481 "i*86-pc-linux-gnu*".
5482 * gdb.base/interrupt.exp: Ditto.
5483 * gdb.base/corefile.exp: Ditto.
5484
5485 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5486 define vxworks when building the testcase.
5487
5488 * gdb.base/ptype.exp: Fix testnames to be unique.
5489 * gdb.base/radix.exp: Ditto.
5490 * gdb.base/term.exp: Ditto.
5491 * gdb.base/whatis.exp: Ditto.
5492 * gdb.c++/classes.exp: Ditto.
5493
5494Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5495
5496 * gdb.base/callfuncs.exp: Fix indentation.
5497
5498 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5499 suppress_flag has been set.
5500 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5501 target feature.
5502
5503Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5504
5505 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5506 the testcase.
5507
5508 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5509 set_debug_traps() and breakpoint().
5510 * gdb.c++/misc.cc (main): Ditto.
5511 * gdb.c++/templates.cc (main): Ditto.
5512 * gdb.c++/virtfunc.cc (main): Ditto.
5513
5514Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5515
5516 * lib/gdb.exp(gdb_step_for_stub): New function.
5517 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5518 exists, reload the executable and do a "continue" instead of
5519 doing a jump.
5520 (runto_main): Use gdb_step_for_stub.
beb998c6 5521
c906108c
SS
5522 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5523 tests to have unique names.
5524 * gdb.base/callfuncs.exp: Ditto.
5525 * gdb.base/commands.exp: Ditto.
5526 * gdb.base/default.exp: Ditto.
5527 * gdb.base/help.exp: Ditto.
5528 * gdb.base/list.exp: Ditto.
5529 * gdb.base/opaque.exp: Ditto.
5530 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5531 similar tests.
beb998c6 5532
c906108c
SS
5533 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5534 * gdb.c++/cplusfuncs.cc: Ditto.
5535 * gdb.c++/virtfunc.cc: Ditto.
5536
5537 * config/monitor.exp: Keep track of the last file we saw, rather
5538 than trying to get the info from gdb.
5539
5540 * gdb.fortran/types.exp: Move comment to previous line.
5541
5542Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5543
5544 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5545 target mode.
5546
5547Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5548
5549 From Bob Manson:
5550 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5551 string from GDB when it connects.
5552
5553 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5554
5555Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5556
5557 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5558 if we can't get a debug format from GDB (we may be testing an
5559 older GDB). Use a 10 second timeout when checking for the format.
5560
5561 * gdb.stabs/weird.exp: Fix quoting.
5562
5563 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5564
5565Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5566
5567 * config/arm-ice.exp: New file.
5568
5569Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5570
5571 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5572 until it has been modified to work with the new testsuite.
5573
99707966 5574 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5575 testcase won't compile, cause all of the testcases in the file to
5576 fail instead.
5577
5578 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5579 (gdb_clear_suppressed): New procedure.
5580 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5581 it contains a positive value.
5582
5583Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5584
5585 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5586
5587 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5588
5589Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5590
5591 * lib/gdb.exp (setup_xfail_format): New function.
5592 (get_debug_format): New function to get debug format.
5593 (debug_format): New global variable to hold last value set
5594 by get_debug_format.
5595 * gdb.base/list.exp: Call get_debug_format and expect some
5596 tests to fail for DWARF 1 and COFF formats.
5597 * gdb.c++/ptype.exp: Ditto.
5598 * gdb.c++/classes.exp: Ditto.
5599 * gdb.c++/cplusfuncs.exp: Ditto.
5600 * gdb.c++/inherit.exp: Ditto.
5601 * gdb.c++/templates.exp: Ditto.
5602 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5603
c906108c
SS
5604Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5605
5606 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5607 host doesn't have a currently-open connection.
5608
5609 * config/sparclet.exp: Cleanups and fixes to make it generic for
5610 any gdb stub target. Handle cases where gdb doesn't respond when
5611 interrupted in a sane fashion.
5612
5613 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5614 same thing in a totally different way.
5615
5616 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5617 setting "timeout".
5618 (gdb_start): We set the global gdb_prompt variable in
5619 default_gdb_init now.
5620
5621Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5622
5623 * gdb.base/printcmds.exp: Fix "check for floating addition"
5624 regexp to accept results within approx +/- .01 of exact value.
5625 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5626
5627Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5628
5629 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5630 properly.
5631 (gdb_expect): Add optional timeout parameter, and add timeout
5632 value to various calls.
5633 (gdb_suppress_tests): Only give one warning message per group.
5634
5635Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5636
5637 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5638 global variables. Handle getting a value for $timeout more
5639 gracefully.
5640
5641Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5642
5643 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5644 initialize.
5645 (default_gdb_init): New procedure; allow gdb_init to be overridden
5646 by a target configuration file.
5647 (gdb_expect): Pass the timeout to remote_expect.
5648
5649 * config/monitor.exp(gdb_load): Fix typo in regexp.
5650
5651Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5652
5653 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5654
5655Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5656
5657 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5658 here. Call gdb_target_exec before rebooting the target, to make
5659 sure the connection to the target is closed.
5660 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5661 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5662 Also detect "Timeout reading from remote" error.
5663
5664 * config/gdbserver.exp: Pass the executable being loaded to
5665 gdb_target_monitor. Don't call gdb_file_cmd here; let
5666 gdb_target_monitor do it.
5667
5668 * gdb.disasm/hppa.exp: Don't use exec_output.
5669
5670Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5671
5672 * gdb.base/list.exp: If we're debugging a non-native target,
5673 try to set the pc register to point to the start of the
5674 program before doing the first list command.
5675
5676 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5677 test_calls after restarting.
5678
5679 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5680 reloading.
5681
5682 * gdb.base/watchpoint.exp: Fix typo.
5683
5684 * gdb.base/setshow.exp: Check for use_gdb_stub.
5685
5686 * gdb.base/break.exp: Fix continue until exit test for the gdb
5687 stub case.
5688 * gdb.base/langs.exp: Ditto.
5689
5690 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5691 gdb_load_offset. If we weren't given a file to load, figure out
5692 what the current file is and use it.
5693
5694 * config/i386-bozo.exp: New file.
5695
5696Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5697
5698 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5699 feature.
5700
5701 * config/proelf.exp: New entry.
5702
5703Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5704
5705 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5706 of regexps.
5707
5708 * gdb.base/watchpoint.exp: Don't run the test_stepping
5709 tests if gdb can't call functions on the target.
5710
5711 * gdb.base/setshow.exp: Don't run the set prompt tests if
5712 the board has gdb_prompt set.
5713
5714Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5715
5716 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5717 * gdb.base/commands.exp: Likewise.
5718 * gdb.base/setshow.exp: Likewise.
5719
5720Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5721
5722 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5723 feature.
5724
5725 * config/i960.exp: New file.
5726
5727Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5728
5729 * gdb.base/funcargs.exp: Check for gdb,short_int target
5730 feature instead of looking for explicit target triplets.
5731
dc96c6c7 5732Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5733
beb998c6 5734 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5735 "p 123DEADBEEF", to check parse_number.
5736 * top.c: change "to enable to enable" to "to enable" in a couple
5737 of help strings.
5738
5739Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5740
5741 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5742 on the mn10300.
beb998c6 5743
c906108c
SS
5744Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5745
5746 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5747 where the test executable is run with explicit args.
5748 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5749
5750Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5751
5752 * gdb.base/run.c: Use FAKEARGV to build test executable that
5753 does not require a command line arg, since most simulators
5754 don't currently support passing such an arg into the simulated
5755 program.
5756 * gdb.base/commands.exp: Change tests to insert the proper
5757 value as the arg to the first recursive factorial call. Change
5758 compilation line to define FAKEARGV at compile time.
5759
5760Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5761
5762 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5763 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5764 function with watchpoint enabled" test.
5765
5766Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5767
5768 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5769 Don't call gdb_test when the command doesn't return to a gdb prompt.
5770
5771 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5772 "Tests restarted" messages.
5773
5774Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5775
5776 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5777
dc96c6c7 5778Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5779
5780 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5781 for INFO SYMBOL; add help tests for OVERLAY commands.
5782 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5783 add tests for OVERLAY commands
5784 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5785 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5786 * gdb.base/sigall.c: add usestubs code frag
5787 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5788
c906108c
SS
5789Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5790
5791 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5792 failures.
5793 (gdb_stop_suppressing_tests): Note that tests have restarted.
5794
5795Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5796
5797 * config/h8300.exp: New file.
5798
5799Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5800
5801 * gdb.base/setshow.exp: Check for the existence of a
5802 feature, not its value.
5803
5804Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5805
5806 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5807
5808 * gdb.base/scope.exp: It's now init0(), not init().
5809
5810 * gdb.base/scope0.c: For now, change init() to be init0().
5811
5812 * config/monitor.exp: Use gdb_serial in preference to serial
5813 or netport.
5814
5815 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5816 and it's not already set.
5817
5818Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5819
5820 * gdb.base/setshow.exp: Only test the run command if the target
5821 isn't using a stub and if it supports argument passing.
5822
5823Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5824
5825 * config/udi.exp(gdb_start): Make sure UDICONF is set
5826 properly before starting gdb.
5827
5828Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5829
5830 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5831 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5832 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5833
5834Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5835
5836 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5837 specialized code to reboot the board, use remote_reboot instead.
5838
5839 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5840
5841 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5842
5843 * config/monitor.exp: Make sure we disconnect from the target.
5844 Also, try a reboot/reload cycle instead of failing if the
5845 load fails.
5846
5847Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5848
5849 * gdb.base/default.exp: Don't set match_max.
5850 * gdb.base/help.exp: Ditto.
5851 * gdb.base/list.exp: Ditto.
5852 * gdb.base/signals.exp: Ditto.
5853
5854 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5855 set, use remote_ld to download the testcase instead of
5856 the GDB loader.
5857
5858Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5859
5860 * config/vr5000.exp: New file.
5861
5862 * config/monitor.exp(gdb_target_monitor): Add pattern for
5863 "Ending remote" to detect errors in connecting.
5864
5865 * gdb.base/setshow.exp: Add .* within auto language test.
5866
5867 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5868 target feature.
5869
5870 * config/monitor.exp(gdb_load): Check for a failure when loading,
5871 and reboot the board if necessary.
5872
5873 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5874 a set of tests. Remove print.* from the patterns being checked.
5875
5876Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5877
5878 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5879 refer to gdb_spawn_id.
5880
5881 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5882 longer used.
5883 * config/sparclet.exp: Ditto.
5884 * config/sparclet-old.exp: Ditto.
5885 * config/slite.exp: Ditto.
5886 * config/sim.exp: Ditto.
5887 * gdb.base/funcargs.exp: Ditto.
5888
5889 * lib/gdb.exp:Remove references to gdb_spawn_id.
5890 (gdb_expect): Move to remote.exp.
5891
5892Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5893
5894 * config/monitor.exp: Detect the "Couldn't establish connection"
5895 message from GDB.
5896
5897Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5898
5899 * gdb.base/bitfields.exp: Use runto instead of explicit
5900 gdb_run_cmd/gdb_expect sequences.
5901
5902 * gdb.base/break.exp(text_next_with_recursion): Add match for
5903 gdb_expect call.
5904
5905 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5906 We also need to handle the "A program is being debugged already"
5907 prompt from gdb. Use gdb_test to set the baud rate.
5908
5909 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5910 to 20000. Really. I mean it.
5911
5912Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5913
5914 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5915 fails. If suppress_flag is set, skip perror message about not
5916 being able to send to GDB.
5917 (send_gdb): If suppress_flag is set, don't try to send commands to
5918 GDB.
5919 (gdb_expect): If suppress_flag is set, always fail immediately.
5920 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5921 (gdb_init): Call gdb_stop_suppressing_tests.
5922 (default_gdb_exit): Ditto.
5923 (default_gdb_start): Ditto.
5924
5925 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5926 gdb_stop_suppressing_tests as appropriate.
5927 * gdb.base/break.exp: Ditto.
5928 * gdb.base/callfuncs.exp: Ditto.
5929 * gdb.base/commands.exp: Ditto.
5930 * gdb.base/exprs.exp: Ditto.
5931 * gdb.base/funcargs.exp: Ditto.
5932 * gdb.base/list.exp: Ditto.
5933 * gdb.base/recurse.exp: Ditto.
5934 * gdb.base/scope.exp: Ditto.
5935 * gdb.base/structs.exp: Ditto.
5936 * gdb.c++/inherit.exp: Ditto.
5937
5938Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5939
5940 * config/vr4300.exp: New file.
5941
99707966
MC
5942 * gdb.*/*.exp: Call gdb_expect instead of expect.
5943
5944 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5945
5946Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5947
5948 * lib/gdb.exp(gdb_init): New function.
5949
5950 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5951 for each individual variable set.
5952
5953 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5954 name.
5955
5956 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5957
5958 * gdb.base/scope.exp: Use gdb_test.
5959
5960 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5961 aborting; the testsuite driver will do that for us (see
5962 gdb_finish). Also, use gdb_test in a few more places.
5963
5964Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5965
5966 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5967
5968Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5969
5970 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5971 and "add_tests" are not at the same address.
5972
5973Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5974
5975 * gdb.base/ptype.exp: Use gdb_test.
5976
5977Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5978
5979 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5980 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5981 left in. No longer expect them to fail.
5982
5983 * gdb.stabs/*.mt; Deleted, no longer used.
5984 * gdb.stabs/configure.in: Remove references to target makefile
5985 frags.
5986 * gdb.stabs/configure: Rebuilt.
5987
5988 * gdb.disasm/*.mt: Deleted, no longer used.
5989 * gdb.disasm/configure.in: Remove references to target makefile
5990 frags. Use "sh3.s" as the unique filename for this directory.
5991 * gdb.disasm/configure: Rebuilt.
5992
5993 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5994 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5995 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5996
5997Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5998
5999 * config/udi.exp: Use mondfe,name instead of remote_host.
6000
6001Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6002
6003 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6004 a function with a watchpoint enabled on the mn10200.
6005
6006 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6007 before trying to create it!
6008
6009Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6010
6011 * config/vx.exp: Use hostname instead of netport.
6012
6013 * config/vxworks.exp: New file.
6014
6015 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6016
6017 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6018 gdb before assuming everything worked. Send a ^C if a timeout
6019 occurs.
6020
6021 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6022 $gdb_spawn_id directly.
6023 (gdb_run_cmd): Try _start as well as start. Use the target feature
6024 gdb,start_symbol as the symbol to start from when jumping.
6025
6026Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6027
6028 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6029 redundant) test.
6030
6031 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6032 it doesn't lose for 16bit integer systems.
6033
6034Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6035
6036 * gdb.fortran/types.exp: If the target doesn't support "double"
6037 data types, then expect "real" types to only be 4 bytes.
6038
6039 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6040 call tests if the target doesn't support inferior function calls.
6041
6042 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6043 in printf tests.
6044
6045Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6046
6047 * gdb.base/help.exp: Disable "help set", "help show", and
6048 "help support". Simplify regexp for "help stack".
6049
6050 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6051 to 60 seconds. Temporarily set match_max to 15000 around the
6052 "info copying" test.
6053
6054 * gdb.base/nodebug.exp: Don't try to do an inferior function
6055 call if the target doesn't support them.
6056 * gdb.base/printcmds.exp: Likewise.
6057 * gdb.base/setvar.exp: Likewise.
6058 * gdb.base/structs.exp: Likewise.
6059 * gdb.c++/templates.exp: Likewise.
6060 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6061
6062 * gdb.base/recurse.exp: Enable for the mn10200.
6063
6064 * configure.in: Do configure gdb.stabs directory for *-*-elf
6065 targets.
6066 * configure: Rebuilt.
6067
6068 * gdb.base/break.exp: Check for gdb,noresults before testing
6069 exit status and/or results from the target.
6070 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6071 * lib/gdb.exp: Remove old (now bogus) initialization of
6072 noinferior, noargs, noresults and nosignals.
6073
6074Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6075
6076 * config/sh.exp: New file.
6077
6078 * config/slite.exp: Try to connect multiple times to the board
6079 before rebooting. Only send a "monitor run" if need_monitor_run
6080 is set.
6081
6082 * gdb.base/break.exp: Don't do the "stub continue" test if
6083 the target has gdb_stub set.
6084
6085 * gdb.base/callfuncs.exp: Increase the timeout.
6086
6087 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6088 if the target has gdb,noinferiorio set.
6089
6090 * gdb.base/list.exp: Increase match_max to 10000 characters.
6091
6092 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6093
6094 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6095 target.
6096
6097 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6098
6099Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6100
6101 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6102 trying to delete the copy of gdb. Catch the file delete so we
6103 don't die if the delete fails; also, the file should be copied to
6104 the host, not to the build.
6105
6106Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6107
6108 * lib/gdb.exp(gdb_test): Surround the result pattern with
6109 parenthesis in case it contains multiple regexps separated
6110 with |.
6111
6112 * gdb.base/watchpoint.exp: Use gdb_test.
6113 * gdb.base/default.exp: Ditto.
6114
6115Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6116
99707966 6117 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 6118
c906108c
SS
6119 * gdb.base/scope.exp: Use gdb_test.
6120 * gdb.c++/classes.exp: Ditto.
6121 * gdb.c++/inherit.exp: Ditto.
6122
6123Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6124
6125 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6126 remote_exec instead.
6127 * gdb.base/corefile.exp: Don't be ridiculous.
6128 * gdb.base/*.c: Add missing stub invocations.
6129
6130Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6131
6132 * config/slite.exp: Miscellaneous fixes.
6133
6134 * lib/gdb.exp: Fix runto.
6135
6136 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6137 the target.
6138
6139 * gdb.base/watchpoint.exp: Fix regexp.
6140
6141 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6142 close and wait commands, as the descriptor may now be
6143 invalid. Always call "remote_close host".
6144
6145Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6146
6147 Major rewrite for testsuite revision.
beb998c6 6148
c906108c
SS
6149 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6150 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6151 instead of relying on spawn_id to always contain a valid
6152 spawn id.
6153 (get_compiler_info): New procedure to build the ${binfile}.ci
6154 file, instead of replicating this in N different places.
6155 (gdb_compile): New procedure.
beb998c6 6156
c906108c
SS
6157 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6158 appropriate arguments) instead of compile. Use gdb_test in a lot
6159 more places. Use send_gdb instead of send. Always run gdb_start
6160 at the start of a testcase, as this is no longer done magically.
6161
6162 config/*-gdb.exp: Rename without the -gdb suffix.
6163
6164 config/mips.exp: Use remote_close instead of exit_remote_shell.
6165 config/monitor.exp: Use target_info instead of looking at
6166 baud, timeout, etc.
6167 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6168
6169Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6170
6171 * gdb.c++/templates.exp (test_ptype_of_templates),
6172 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6173 Update expect patterns for destructors and assignment operators
6174 to match corresponding c-typeprint.c changes.
6175 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6176 to destructor breakpoint test, GDB should be able to set the
6177 destructor breakpoint without specifying arguments.
6178
6179Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6180
6181 * gdb.threads/pthreads.exp: Change result for failure to compile due
6182 to lack of pthreads runtime support from an error to simply an
6183 unsupported test, per dejagnu standards.
6184
6185Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6186
6187 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6188 where GDB exits to reduce pattern match time.
6189 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6190
6191 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6192
dc96c6c7 6193Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6194
6195 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6196 * gdb.base/default.exp: ditto.
6197 * gdb.base/nodebug.exp: ditto.
6198 * gdb.base/printcmds.exp: ditto.
6199 * gdb.base/ptype.exp: ditto.
6200 * gdb.base/setvar.exp: ditto.
6201 * gdb.base/structs.exp: ditto.
6202 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6203
6204Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6205
6206 * configure, */configure: Rebuild with autoconf 2.12.
6207
6208Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6209
6210 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6211 use new i*86-pc-linux*-gnu quads.
6212 * gdb.base/corefile.exp: Ditto.
6213 * gdb.base/signals.exp: Ditto.
6214 * gdb.base/sigall.exp: Ditto.
6215 * gdb.base/interrupt.exp: Ditto.
6216
6217 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6218 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6219 RedHat 4.0.
beb998c6 6220
c906108c
SS
6221 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6222 linux. This allows the test case to at least compile on latest
6223 linux, but still not run due to missing the threads runtime library.
6224
6225Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6226
6227 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6228 directory to search gdb directory. Accept and step over conditional
6229 stack alignment code. Consume $prompt in failure cases.
6230 Reset timeout to $oldtimeout instead of some arbitrary value.
6231 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6232 timeout problems with infinite stack backtraces.
6233 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6234 Accept function parameters for linkfunc member.
6235
6236Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6237
6238 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6239 (CXXFLAGS): Remove, unreferenced.
6240 (B_OPTIONS): Add for -B options and add code to initialize with
6241 previous -B options and also add -B option to pick up cross compiled
6242 runtime.
6243 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6244 doing cross compiles.
6245 (target_alias): Declare global.
6246 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6247 to verify that gcc exists in build tree, and if so set CC to that
6248 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6249
c906108c
SS
6250Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6251
6252 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6253 ptype test for anonymous union. Fixup testcase to match
6254 current gcc debug output.
6255
6256Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6257
6258 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6259 force argument to an unsigned long type.
6260
6261Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6262
6263 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6264 tests and anonymous union print/ptype tests.
6265 * gdb.base/list.exp (test_forward-search): Increase timeout by
6266 5 minutes for the "search extremely long line" case.
6267 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6268 completely optional and that the pass/fail messages use the command as
6269 the message if that third arg is a null string.
6270 (gdb_test_exact): Arrange that a null string pattern means match a
6271 null string output rather than any output, which might include random
6272 errors.
6273 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6274 backtrace test.
6275 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6276 always failing and failure is now exposed by gdb.exp changes.
6277
6278Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6279
6280 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6281 weren't being noted.
6282
6283Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6284
6285 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6286 * gdb.stabs/weird.exp: Remove v_comb xfails.
6287
dc96c6c7 6288Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6289
6290 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6291 list.exp scope.exp watchpoint.exp]
6292 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6293
dc96c6c7 6294Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6295
6296 * config/monitor.exp: Increase download timeout to 1000 seconds.
6297
dc96c6c7 6298Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6299
6300 * config/m32r.exp: Increase timeout to 120 seconds.
6301
6302Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6303
6304 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6305 and accept older ordering as obsolescent gcc or gdb.
6306 * gdb.c++/templates.exp: Ditto.
6307 * gdb.c++/virtfunc.exp: Ditto.
6308
6309Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6310
6311 * gdb.base/coremaker.c: Add code to mmap some data so we
6312 can check that it ends up in the core file.
6313 * gdb.base/corefile.exp: Add test to read mmapped data
6314 from core file.
6315
dc96c6c7 6316Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6317
6318 * config/m32r.exp: New file.
6319
6320Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6321
6322 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6323 that cflags can contains -gstabs, and work correctly for other tests.
6324
dc96c6c7 6325Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6326
6327 * gdb.base/setshow.exp: New file, tests show and set.
6328 * gdb.base/setshow.c: New file, tests show and set.
6329 * gdb.base/help.exp: Add test for help set|show annotate.
6330 * gdb.base/default.exp: Add test for set|show annotate.
6331
6332Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6333
6334 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6335 errors unique.
6336 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6337 explicitly.
6338
6339Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6340
6341 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6342 and width commands. This is done elsewhere.
6343 * (gdb_start): Don't call gdb_start_sim here. That's already
6344 done in gdb_load. This fixes lots of failures in default.exp.
6345
6346Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6347
6348 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6349 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6350 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6351 in the same we we treat other failures (since it may be an expected
6352 condition), rather than as an error.
6353 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6354 old test format.
6355
6356Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6357
6358 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6359 (distclean maintainer-clean realclean): No need to remove files
6360 twice. Nuke the duplicates.
6361 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6362 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6363 Remove config.h along with other config files.
6364
6365Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6366
6367 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6368 "p func1 ()" and note that rests of tests are skipped.
6369 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6370 setup_xfails for "print func2::coremaker_local".
6371 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6372 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6373 affected by the previous run test.
6374 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6375 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6376 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6377 "pass int powerset tuple" and "pass modeless int powerset tuple".
6378 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6379 "real write 4" and "real write 8".
6380 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6381 setup_xfails for "print vs1 after tuple assign 2",
6382 "print \$i after tuple assign 2", and
6383 "print vs2 after tuple assign 2".
6384 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6385 meaningful error message and return -1 so the caller can
6386 suppress further tests and avoid a cascade of errors.
beb998c6 6387
c906108c
SS
6388Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6389
6390 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6391 format for printing version.
6392 * gdb.base/default.exp: Ditto.
6393 * gdb.base/interrupt.exp: Fix problem with cascade of
6394 errors if child process dies while calling a function.
beb998c6 6395
c906108c
SS
6396Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6397
6398 * Makefile.in (VPATH): Add
6399 * Makefile.in (Makefile, config.status): Fix rules so things get
6400 remade when necessary.
6401
6402Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6403
6404 * Makefile.in (just-check): Add path to sibling expect dir
6405 to environment variable specified by RPATH_ENVVAR.
6406
6407Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6408
6409 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6410 (just-check): Add shared library paths for libstdc++, tk,
6411 tcl, bfd, and opcodes to the environment variable specified
6412 in RPATH_ENVVAR.
6413 * configure.in: Add support to recognize --enable-shared flag
6414 and generate correct value for RPATH_ENVVAR.
6415 * configure: Regenerated with autoconf.
6416
6417Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6418
6419 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6420 include all osf versions.
6421 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6422 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6423 when target is linux. When failing to build pthreads test
6424 executable, give more meaningful message.
6425 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6426 arg for pthread_create.
beb998c6 6427
c906108c
SS
6428Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6429
6430 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6431 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6432 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6433 and -lpthreads (everybody else).
6434 (test_startup): Fail gracefully if threads are not supported.
6435 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6436 "p/c array_index("abcdef",2)" when not gcc compiled.
6437 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6438 "print func2::coremaker_local" when not gcc compiled.
6439 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6440 "ptype on opaque struct tagname (statically)",
6441 "ptype on opaque struct tagname (dynamically) 1", and
6442 "ptype on opaque struct tagname (dynamically) 2"
6443 for not compiled with gcc.
6444 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6445 backtrace when compiled with gcc.
beb998c6 6446 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6447 than always return success.
6448
6449Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6450
6451 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6452
6453Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6454
6455 * gdb.base/structs.exp: Undo last change.
6456
6457Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6458
6459 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6460 encapsulate all the steps/nexts done during self test, starting
6461 at main, and makes them less sensitive to optimization issues.
6462 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6463 signal handler" test.
6464 * gdb.threads/pthreads.exp: Only run this for native configs.
6465 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6466 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6467 tests.
6468 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6469 for "runto test_calls(void)" test.
beb998c6 6470
c906108c
SS
6471Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6472
6473 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6474 and don't expect address info in breakpoint confirmations.
6475
6476Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6477
6478 * gdb.base/list.exp (test_forward_search): Increase timeout
6479 temporarily by 60 seconds for searching extremely long line,
6480 and then reset to old value when done. Increase expect input
6481 buffer to 10000.
6482
6483Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6484
6485 * gdb.base/list.exp (test_forward_search): Fix to handle very
6486 long source line without overflowing expect's input buffer.
6487
6488Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6489
6490 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6491 "buffer_full".
6492
6493 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6494 "buffer_full".
6495
6496 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6497 "buffer_full".
6498
6499 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6500 "buffer_full".
6501
6502Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6503
6504 * configure.in (configdirs): Add gdb.threads.
6505 * configure: Regenerated with autoconf.
6506 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6507 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6508 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6509
c906108c
SS
6510Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6511
6512 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6513
6514Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6515
6516 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6517 each signal's status in the output of "handle all print".
6518 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6519 the \r\n sequence that immediately precedes the gdb prompt.
6520 * gdb.base/a1-selftest.exp: Save original timeout and restore
6521 after test.
6522
6523Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6524
6525 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6526 symbol.
6527
6528Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6529
6530 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6531
6532Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6533
6534 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6535 timeout by 60 seconds.
6536
6537Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6538
6539 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6540 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6541 error return.
6542
6543Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6544
6545 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6546 gdb initialization, also report how long dejagnu waited. Restore
6547 old timeout before doing error return. Temporarily increase timeout
6548 by 3 minutes to allow for slow startups over heavy NFS use.
6549
6550Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6551
6552 * lib/gdb.exp: Report timeout value for verbosity level 2.
6553 * config/gdbserver.exp: Ditto.
6554 * config/hppro.exp: Ditto.
6555 * config/mips-gdb.exp: Ditto.
6556 * config/monitor.exp: Ditto.
6557 * config/netware.exp: Ditto.
6558 * config/sim-gdb.exp: Ditto.
6559 * config/slite-gdb.exp: Ditto.
6560 * config/udi-gdb.exp: Ditto.
6561 * config/unix-gdb.exp: Ditto.
6562 * config/vx-gdb.exp: Ditto.
6563 * gdb.base/a1-selftest.exp: Ditto.
6564 * gdb.base/a2-run.exp: Ditto.
6565 * gdb.base/break.exp: Ditto.
6566 * gdb.base/corefile.exp: Ditto.
6567 * gdb.base/list.exp: Ditto.
6568 * gdb.base/recurse.exp: Ditto.
6569 * gdb.base/scope.exp: Ditto.
6570 * gdb.base/signals.exp: Ditto.
6571
6572Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6573
6574 * gdb.threads/Makefile.in (docdir): Removed.
6575
6576Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6577
6578 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6579 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6580 @srcdir@.
beb998c6 6581 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6582 autoconf 2.5 or higher.
6583 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6584
6585Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6586
6587 * configure: Regenerated.
6588 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6589 avoid name clashes with SunOS headers.
6590
6591Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6592
6593 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6594
6595Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6596
6597 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6598 prototype information ends up in the compiler info file.
6599
6600Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6601
6602 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6603 attempting to regenerate it. Eliminate use of a temporary file
6604 and just generate the info file directly. Source it immediately,
6605 for consistency of use.
6606 * gdb.base/corefile.exp: Ditto
6607 * gdb.base/exprs.exp: Ditto.
6608 * gdb.base/funcargs.exp: Ditto.
6609 * gdb.base/langs.exp: Ditto.
6610 * gdb.base/list.exp: Ditto.
6611 * gdb.base/mips_pro.exp: Ditto.
6612 * gdb.base/nodebug.exp: Ditto.
6613 * gdb.base/opaque.exp: Ditto.
6614 * gdb.base/ptype.exp: Ditto.
6615 * gdb.base/scope.exp: Ditto.
6616 * gdb.base/setvar.exp: Ditto.
6617 * gdb.base/signals.exp: Ditto.
6618 * gdb.base/whatis.exp: Ditto.
6619 * gdb.c++/templates.exp: Ditto.
6620 * gdb.c++/virtfunc.exp: Ditto.
6621 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6622 whether or not to add -lstdc++ to the compile command line args.
6623
6624Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6625
6626 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6627 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6628 Increase timeout, a lot of single stepping might be needed if the
6629 target has no hardware watchpoints.
6630
6631Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6632
6633 * gdb.base/break.exp: Ignore compiler warnings when compiling
6634 break.c.
6635 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6636 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6637 from remote-sim.
6638 * gdb.base/exprs.exp: Add h8300 xfails.
6639 * gdb.base/funcargs.exp: Likewise.
6640 * gdb.base/nodebug.exp: Likewise.
6641 * gdb.base/printcmds.exp: Likewise.
6642 * gdb.base/ptype.exp: Likewise.
6643 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6644 h8300 xfails.
beb998c6 6645 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6646 on the h8300.
6647 * gdb.base/funcargs.c: Explicitly make last constant argument to
6648 call_after_alloca_subr an unsigned long type.
6649 * gdb.base/return.c: Include stdio.h.
6650
6651Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6652
6653 * config/abug.exp: New file for the older Motorola Bug monitor
6654 that runs on the mvme13x series VME boards.
6655 * config/monitor.exp: Use the new config array for target settings
6656 if they exist.
6657
6658Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6659
6660 * sim-gdb.exp: Make the SH simulator allocate less space when
6661 it is targeted.
6662
6663Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6664
6665 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6666 test.
6667
6668Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6669
6670 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6671 "rs6000-*-*" for "list function in include file" when gcc compiled.
6672 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6673 for "p ctable1[120]".
6674 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6675 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6676 Remove setup_xfail for "rs6000-*-*" for
6677 "print 'scope0.c'::filelocal before run".
6678 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6679 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6680 since some compilers don't allow both options to be given
6681 on the same command line. Create object file and move it.
beb998c6 6682
c906108c
SS
6683Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6684
6685 * gdb.base/corefile.exp: Always regenerate the core file, since
6686 we always regenerate the coremaker program. Detect special case
6687 where registers cannot be read from core file.
beb998c6 6688
c906108c
SS
6689Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6690
6691 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6692 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6693 * gdb.c++/templates.exp: Only match on basename of file since
6694 some formats like xcoff don't encode directory information.
6695 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6696 and rs6000 AIX xcoff targets.
6697 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6698 * configure: Regenerate.
6699 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6700 here, rather than in distclean.
beb998c6 6701
c906108c
SS
6702Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6703
6704 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6705 defined, and use it to compile the test case with -O2. The
6706 native compilation still uses no optimization.
6707 * gdb.base/mips_pro.c: Remove inline assembly code since
6708 it is compiled PIC by default, which results in assembler
6709 warnings that make the testsuite think the compilation
6710 was unsuccessful.
6711
6712Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6713
6714 * gdb.c++/misc.exp: Add note to message for
6715 "print s.a for foo struct" that this is a known gcc 2.7.2
6716 and earlier bug.
6717
6718Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6719
6720 * gdb.base/break.exp: Fix pattern for matching "Delete all
6721 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6722 setup_xfail for deleting all breakpoints test. Fix various
6723 timeout messages to include "(timeout)".
6724 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6725 for "p t_float_values2(3.14159,float_val2)".
6726 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6727 for "continue to call2g" when gcc compiled.
6728 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6729 "up to foo in langs.exp", "show language at foo in langs.exp",
6730 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6731 and "show language at fsub in langs.exp".
6732 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6733 "list line 1 in include file", "list message for lines past EOF",
6734 "list function in include file", "list list0.h:foo", and
6735 "list filename:function; nonexistant function".
6736 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6737 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6738 and "ptype t_char_array" to be for native cc only.
beb998c6 6739
c906108c
SS
6740Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6741
beb998c6 6742 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6743 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6744 "print func2::coremaker_local", and "backtrace in corefile.exp".
6745
6746Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6747
6748 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6749 "bt in signals.exp". This problem only appears when running
6750 the testsuite, and then only intermittently.
6751
6752Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6753
6754 * gdb.base/return.exp (return_tests): Differentiate between
6755 two tests of continuing.
6756
6757Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6758
6759 * */Makefile.in (maintainer-clean): Remove config.log.
6760 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6761 * gdb.c++/Makefile.in (PROGS): Add inherit.
6762 (clean): Remove *.ci.
6763
6764Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6765
6766 * gdb.c++/misc.cc: Add test code from Mike Stump.
6767 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6768
6769Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6770
6771 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6772 to "alpha-*-osf2*" and add comment.
6773 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6774 setup_xfail for "step over execarg initialization" and
6775 "step over corearg initialization".
6776 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6777 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6778 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6779 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6780 "print func2::coremaker_local", and "backtrace in corefile.exp".
6781 * gdb.base/signals.exp: Build and source signals.ci.
6782 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6783 to be for gcc only.
6784 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6785
c906108c
SS
6786Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6787
6788 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6789 Feb 3 procfs.c change.
6790
6791Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6792
6793 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6794
6795Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6796
6797 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6798 from dejagnu's apparent default of 10 seconds, which gives random
6799 results when running the tests over NFS on moderately loaded systems.
6800 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6801
6802Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6803
6804 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6805 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6806 result reports.
6807
6808Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6809
6810 * configure.in (CY_AC_PATH_TCLH): Remove.
6811 * configure: Regenerate.
6812
6813Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6814
6815 * gdb.c++/Makefile.in (clean): Add missing '{'.
6816
6817Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6818
6819 * lib/gdb.exp: Provide a default value for noinferior.
6820
6821 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6822 Load libgloss.exp.
6823
6824Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6825
6826 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6827 the executable, not the .o to run the tests from.
6828
6829Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6830
6831 * gdb.base/break.exp: Don't test for program exit or exit status
6832 if $noresults if nonzero.
6833 * gdb.base/langs.exp: Likewise.
6834 * gdb.base/watchpoint.exp: Likewise.
6835
6836 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6837 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6838 trying to compile the testcase.
6839
6840Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6841
6842 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6843 * gdb.base/signals.exp (continue to handler): Likewise.
6844
6845Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6846
6847 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6848
6849 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6850
6851Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6852
6853 * gdb.base/corefile.exp: Recognize "not found" as failure
6854 when trying to determine if a core file was generated.
6855 If no core file was generate the first time, try again without
6856 the ulimit -c to work around braindamaged shells.
6857
6858Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6859
6860 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6861 [] tests with "test" and enclose string in quotes.
6862 * gdb.stabs/configure: Rebuild
beb998c6 6863
c906108c
SS
6864Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6865
6866 Changes in sync with expect:
6867 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6868 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6869 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6870 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6871 argument to AC_REQUIRE.
6872 * configure: Regenerated.
6873
6874Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6875
6876 * gdb.base/corefile.exp: When generating a core, discard any
6877 error messages about ulimit not found and the "core dumped"
6878 message from the shell that runs the coredumper.
6879
6880Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6881
6882 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6883
6884 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6885 which sed script to run. Expect failure for v_comb test
6886 on PA targets too.
beb998c6 6887
c906108c
SS
6888Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6889
6890 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6891 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6892
6893Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6894
6895 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6896 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6897 "sparc-sun-solaris*" xfails for "p v_comb".
6898 * lib/gdb.exp (default_gdb_start): Fix typo.
6899 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6900 messages to not include the full program name that caused
6901 the core dump since some systems (such as solaris) apparently
6902 truncate this path to about 80 characters.
6903 When generating a core file first try increasing the core file
6904 size limit to unlimited since some systems may default it to
6905 zero, and it is harmless to try it. Move the test for failing
6906 to generate a core file to where it will actually get executed.
6907 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6908 new gdb result from g++ debug info improvements and make old
6909 pattern obsolescent. Also account for size_t differences
6910 (may be int or long).
6911 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6912 initialization before function call is placed in the delay slot
6913 and thus appears to be skipped over by commands such as "next".
6914
6915Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6916
6917 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6918
6919Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6920
6921 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6922 input source file; fix code to compile test to deal with this
6923 convention.
6924 * gdb.c++/*.exp: Likewise.
6925
6926Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6927
6928 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6929 "bt in signals.exp".
6930
6931Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6932
6933 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6934 "step over execarg initialization" and
6935 "step over corearg initialization".
6936
6937Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6938
6939 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6940 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6941
6942Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6943
6944 From Rob Savoye (rob@poseidon.cygnus.com)
6945 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6946 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6947 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6948 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6949 configure.in}: Major reworking for autoconfig.
6950 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6951 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6952 New files.
6953 * config/unix-gdb.exp: Make GDB global.
6954 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6955 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6956 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6957 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6958 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6959 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6960 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6961 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6962 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6963 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6964 pr-8136.exp, result.exp, string.exp, tuples.exp},
6965 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6966 to returns as necessary, arrange for test to compile own testcase
6967 executable.
6968 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6969
c906108c
SS
6970Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6971
6972 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6973 clear_xfail at end of test which might not call either pass or fail.
6974 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6975 "backtrace through signal handler".
6976
6977Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6978
6979 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6980 continuing from a job control stop signal.
6981 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6982
6983Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6984
6985 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6986 * gdb.base/corefile.exp: Likewise.
6987 * gdb.base/funcargs.exp: Likewise.
6988
6989Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6990
6991 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6992 * config/monitor.exp: Add support for setting baud rate.
6993
6994Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6995
6996 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6997 i*86-*-linux* xfails for "backtrace through signal handler".
6998 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6999 "print func2::coremaker_local".
7000 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7001 alpha-dec-osf2* xfail for
7002 "delete all breakpoints when none".
7003
7004Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7005
7006 * gdb.base/break.exp: Change test that deletes all breakpoints
7007 when no user breakpoints are installed. A post 4.15 change
7008 causes gdb to no longer prompt in this case.
7009
7010Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7011
7012 * gdb.base/return.exp (return_tests): Change xfail for test
7013 "correct value returned double test" to stop xfailing at
7014 Solaris 2.5. Apparently the bug has been fixed.
7015
7016Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7017
7018 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7019 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7020
7021Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7022
7023 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7024 * gdb.disasm/hppa.s: Corresponding changes.
7025
7026Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7027
7028 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7029 makefile fragment.
7030 * config/mt-hpux: Deleted.
7031
7032Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7033
beb998c6 7034 * Many files: When warning about suppressed tests due to a
c906108c
SS
7035 nonexistant test binary, avoid incrementing the warning count.
7036
7037Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7038
7039 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7040
c906108c
SS
7041Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7042
7043 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7044 "sparc-*-solaris2*".
7045
7046Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7047
7048 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7049 Add global and local variables and initialize them.
7050 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7051 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7052 extracts the file name and terminating signal from the core file.
7053 * TODO: Remove note about tests for correct mapping of corefile.
7054 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7055 from optimizing it away.
7056 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7057 handles common blocks.
7058
7059Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7060
7061 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7062 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7063
7064Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7065
7066 * Makefile.in (maintainer-clean): New target, synonym for
7067 realclean.
7068 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7069 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7070 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7071 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7072 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7073 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7074
7075Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7076
7077 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7078 xfails when not gcc compiled for "print foo::funclocal".
7079 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7080 "print foo::funclocal at foo",
7081 "print 'scope1.c'::foo::funclocal at foo",
7082 "print foo::funclocal_bss at foo",
7083 "print 'scope1.c'::foo::funclocal_bss at foo",
7084 "print foo::funclocal_ro at foo",
7085 "print 'scope1.c'::foo::funclocal_ro at foo",
7086 "print bar::funclocal at foo" and
7087 "print 'scope1.c'::bar::funclocal at foo".
7088 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7089 gcc compiled for "print foo::funclocal at bar".
7090 Expand all messages to ensure that they identify that
7091 the test is at bar().
7092 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7093 gcc compiled for:
7094 "ptype on opaque struct pointer (statically)",
7095 "ptype on opaque struct tagname (statically)",
7096 "ptype on opaque struct pointer (dynamically) 1",
7097 "ptype on opaque struct tagname (dynamically) 1",
7098 "ptype on opaque struct pointer (dynamically) 2" and
7099 "ptype on opaque struct tagname (dynamically) 2
7100 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7101 gcc compiled for:
7102 "p datalocal"
7103 "whatis datalocal",
7104 "ptype datalocal",
7105 "p bsslocal",
7106 "whatis bsslocal", and
7107 "ptype bsslocal".
7108 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7109 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7110 when not gcc compiled.
7111 * gdb.base/funcargs.exp (float_and_integral_args): Add
7112 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7113 compiled.
7114 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7115 "backtrace from call6a" when not gcc compiled.
7116 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7117 "backtrace from call7a" when not gcc compiled.
7118 * gdb.base/callfuncs.exp (do_function_calls):
7119 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7120 "p t_char_array_values(char_array_val2,char_array_val1)",
7121 "p t_char_array_values(char_array_val1,char_array_val2)",
7122 "p t_char_array_values("carray 1","carray 2")",
7123 "p t_char_array_values("carray 1",char_array_val2)",
7124 "p t_char_array_values(char_array_val1,"carray 2")",
7125 "p sum_args(1,{2})",
7126 "p sum_args(2,{2,3})",
7127 "p sum_args(3,{2,3,4})",
7128 "p sum_args(4,{2,3,4,5})"
7129 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7130 "backtrace in corefile.exp" when not gcc compiled.
7131
7132Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7133
7134 * gdb.base/signals.exp: Rewrite `handle all print' test as
7135 a procedure. Accept blanks or TABs as whitespace, increase
7136 timeout and expect input buffer size for the large output
7137 from the command. Remove "i*86-*-bsdi2.0" xfail.
7138
7139Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7140
7141 * gdb.base/setvar.exp: Add new testcases for truncation when
7142 assigning invalid values to bitfields.
7143
7144Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7145
beb998c6 7146 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
7147 mips-sgi-irix* xfail for
7148 "call inferior func with struct - returns char *"
7149 and fix test so that an optional (unsigned char *) cast is
7150 accepted in the result.
7151
7152Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7153
7154 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7155 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7156 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7157 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7158 that accidentally got checked in.
7159
7160Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7161
beb998c6 7162 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
7163 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7164 compiled test.
7165 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7166 Add mips-sgi-irix5* xfail for not gcc compiled.
7167 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7168 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7169 "p top", "whatis top", "p middle", and "whatis middle".
7170 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7171 "whatis signed char" for not gcc compiled.
7172 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7173 "set variable signed char=-1 (-1)" and
7174 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7175 * gdb.base/funcargs.exp (float_and_integral_args):
7176 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7177 Add mips-sgi-irix* xfail when not gcc compiled for
7178 "continue to call2b".
7179 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7180 "continue to call2g".
7181 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7182 "backtrace from call6a"
7183 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7184 "backtrace from call7k".
7185 Add mips-sgi-irix5* xfail when not gcc compiled for
7186 "backtrace from call7a".
7187 (localvars_after_alloca): Fix gdb_test cmds for
7188 "print * after runto ...".
7189 Remove rs6000-*-* xfails for
7190 "print i after runto localvars_after_alloca" and
7191 "print l after runto localvars_after_alloca"
7192 for all compilers.
7193 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7194 when not compiled with gcc, for:
7195 "print signed char == (minus)",
7196 "print signed char != (minus)",
7197 "print signed char < (minus)",
7198 "print signed char > (minus)".
7199 * gdb.base/callfuncs.exp (do_function_calls):
7200 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7201 "call inferior func with struct - returns char *".
beb998c6 7202 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7203 "correct value returned double test" to include Solaris 2.4.
7204 * gdb.base/funcargs.exp (float_and_integral_args):
7205 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7206
c906108c
SS
7207Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7208
7209 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7210 enumeration bitfields if compiling with GNU C.
7211 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7212 to empty' prompt.
7213
7214Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7215
7216 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7217 test for PRO targets.
7218
7219 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7220 breakpoints in the inferior at any given time by making
7221 two groups of breakpoints for call2*, call6* and call7*
7222 tests.
7223
7224Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7225
7226 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7227 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7228 from optimizing it away.
7229 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7230 "call inferior func with struct".
7231
7232Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7233
7234 * configure.in: Only configure gdb.chill for particular targets.
7235
7236Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7237
7238 * gdb.base/Makefile.in: Add action to .c.o transformation
7239 rule that generates a .ci file for each .o file and remove
7240 explicit .c.o rules except for callfuncs.o.
7241 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7242 generates a .ci file for each .o file and remove explicit
7243 .cc.o rules.
7244 (clean): Remove *.tmp *.ci files.
7245 (EXECUTABLES): Remove templ-info.exp.
7246 * gdb.base/compiler.c: New file.
7247 * gdb.c++/compiler.cc: New file
7248 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7249 Change rs6000-*-* xfail for
7250 "print 'scope0.c'::filelocal_ro" and
7251 "print 'scope1.c'::filelocal" and
7252 "print 'scope1.c'::filelocal_bss" and
7253 "print 'scope1.c'::filelocal_ro" and
7254 "print 'scope1.c'::foo::funclocal" and
7255 "print 'scope1.c'::foo::funclocal_ro" and
7256 "print 'scope1.c'::bar::funclocal" and
7257 "print 'scope0.c'::filelocal_ro" and
7258 "print 'scope1.c'::filelocal at foo" and
7259 "print 'scope1.c'::filelocal_bss at foo" and
7260 "print 'scope1.c'::filelocal_ro at foo" and
7261 "print 'scope1.c'::foo::funclocal at foo" and
7262 "print 'scope1.c'::foo::funclocal_bss at foo" and
7263 "print 'scope1.c'::foo::funclocal_ro at foo" and
7264 "print 'scope1.c'::bar::funclocal at foo" and
7265 "print 'scope0.c'::filelocal_ro" and
7266 "print 'scope1.c'::filelocal" and
7267 "print 'scope1.c'::filelocal_bss" and
7268 "print 'scope1.c'::filelocal_ro" and
7269 "print 'scope1.c'::foo::funclocal" and
7270 "print 'scope1.c'::foo::funclocal_bss" and
7271 "print 'scope1.c'::foo::funclocal_ro" and
7272 "print 'scope1.c'::bar::funclocal" and
7273 "print 'scope1.c'::bar::funclocal_bss"
7274 to only be xfail'd when not compiled with gcc.
beb998c6 7275 Add rs6000-*-* xfail for
c906108c
SS
7276 "print 'scope0.c'::filelocal_bss before run"
7277 when compiled with gcc.
7278 (test_at_main): Add rs6000-*-* xfail for
7279 "print filelocal_ro in test_at_main"
7280 when compiled with gcc.
7281 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7282 Add rs6000-*-aix* xfail for
c906108c
SS
7283 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7284 "ptype t_char_array", not compiled with gcc.
7285 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7286 xfail for "list foo (in include file)" when gcc compiled.
7287 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7288 (integral_args): Add rs6000-*-* xfail for
7289 "run to call0a" if not compiled with gcc.
7290 (unsigned_integral_args): Add rs6000-*-* xfail for
7291 "run to call1a" if not compiled with gcc.
7292 (float_and_integral_args): Add rs6000-*-* xfail for
7293 "run to call2a" if not compiled with gcc and for
7294 "continue to call2b" for any compiler.
7295 Add rs6000-*-* xfail to
7296 "print f1 after run to call2a" for gcc compiled.
7297 (discard_and_shuffle): Add rs6000-*-* xfail for
7298 "run to call6a".
7299 (shuffle_round_robin): Add rs6000-*-* xfail for
7300 "backtrace from call7a" if not compiled with gcc.
7301 Add rs6000-*-* xfail for
7302 "backtrace from call7b" if compiled with gcc.
7303 (call_after_alloca): Add rs6000-*-* xfail for
7304 "print c in call_after_alloca" and
7305 "print s in call_after_alloca" and
7306 "backtrace from call_after_alloca_subr"
7307 if not compiled with gcc.
7308 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7309 "print c in localvars_in_indirect_call" and
7310 "print c in localvars_in_indirect_call" and
7311 "backtrace in indirectly called function" and
7312 "stepping into indirectly called function"
7313 if not compiled with gcc.
7314 (localvars_after_alloca): Add rs6000-*-* xfail for
7315 "print c after runto localvars_after_alloca" and
7316 "print s after runto localvars_after_alloca" and
7317 "print i after runto localvars_after_alloca" and
7318 "print l after runto localvars_after_alloca"
7319 for all compilers.
7320 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7321 than whatis-info.exp.
7322 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7323 than opaque-info.exp.
7324 Setup rs6000-*-* xfail for
beb998c6 7325 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7326 "ptype on opaque struct pointer (dynamically)" when
7327 not compiled with gcc.
7328 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7329 rather than callf-info.exp.
7330 (do_function_calls): Add clear_xfail for rs6000-*-* for
7331 "p t_float_values2(3.14159,float_val2)". Seems to work
7332 fine there, both with xlc and gcc. Need to find out what
7333 it is doing right and fix other platforms.
7334 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7335 "call inferior func with struct - returns int",
7336 "call inferior func with struct - returns long",
7337 "call inferior func with struct - returns float",
7338 "call inferior func with struct - returns double",
7339 "call inferior func with struct - returns char *",
7340 but only if not gcc compiled (presumes xlc compiled).
7341 Change rs6000-*-* xfails for
7342 "call inferior func with struct - returns char" and
7343 " call inferior func with struct - returns short" to only
7344 xfail if not using gcc.
7345 (clean mostlyclean): Remove *.ci and *.tmp files.
7346 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7347 than templ-info.exp.
7348 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7349 Add rs6000-*-* xfail for "up to foo in langs.exp"
7350 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7351 when not gcc compiled.
beb998c6 7352
c906108c
SS
7353Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7354
7355 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7356 * gdb.base/corefile.exp: Likewise.
7357 * gdb.base/list.exp: Likewise.
7358 * gdb.base/scope.exp: Likewise.
7359 * gdb.base/siganls.exp: Likewise.
7360
7361 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7362 compiler output.
7363 * gdb.base/whatis.exp: Likewise.
7364
7365Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7366
7367 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7368 failure (opcode table has been fixed to match reality).
7369
7370Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7371
7372 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7373 "call inferior func with struct - returns char",
7374 "call inferior func with struct - returns short"
7375
7376 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7377 "print 'scope0.c'::filelocal at main",
7378 "print 'scope0.c'::filelocal_bss in test_at_main",
7379 "print 'scope0.c'::filelocal at foo",
7380 "print 'scope0.c'::filelocal_bss in test_at_foo",
7381 "print 'scope0.c'::filelocal at bar",
7382 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7383
c906108c
SS
7384 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7385 in source file 1". This bug seems to have been fixed with both
7386 gcc and native cc (was native assembler bug?).
7387
7388Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7389
7390 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7391 "backtrace through signal handler" to "i*86-*-sysv4*".
7392 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7393 continue" case. Add "known SVR4 bug" to fail message.
7394 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7395 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7396 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7397 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7398 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7399 "up to foo in langs.exp", "show language at foo in
7400 langs.exp", "up to cppsub_ in langs.exp", "show
7401 language at cppsub_ in langs.exp", "up to fsub in
7402 langs.exp", and "show language at fsub in langs.exp".
7403 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7404 "bactrace in corefile.exp".
7405 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7406 "call inferior function with struct - returns float" and
7407 "call inferior function with struct - returns double".
beb998c6 7408
c906108c
SS
7409Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7410
7411 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7412 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7413 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7414 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7415
7416Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7417
7418 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7419 (or overriden) "CHILL" macro rather then bare "gcc".
7420 Also look for ../../gcc/xgcc since that is what we will
7421 actually need, not "Makefile". Remove following assignment
7422 of CHILL to CHILL_FOR_TARGET because that results in
7423 recursive definition.
7424
7425Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7426
7427 * gdb.base/corefile.exp: Change xfail for backtrace in
7428 corefile.exp from linuxaout to all linux.
7429 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7430 cases where we miss the breakpoint at the signal handler
7431 for some reason. Setup xfail for linuxoldld/linuxaout and
7432 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7433 hitting SIGURG breakpoint.
7434 * gdb.base/signals.exp: Setup xfail for "next" acting like
7435 continue to add linuxoldld. Setup xfail for all linux for
7436 "next to handler in signals_tests_1", "backtrace in
7437 signals_tests_1", "continue to func1", "pass SIGUSR1",
7438 and continue to handler".
7439
7440Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7441
7442 * Update all FSF addresses except those in COPYING* files.
7443
7444Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7445
7446 * gdb.base/a2-run.exp: Change messages to be more explicit about
7447 the status of args, and quote binfile in results.
7448
7449Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7450
7451 * gdb.base/callfuncs.exp: Add tests for passing structs to
7452 inferior functions and return various types.
7453 * gdb.base/callfuncs.c: Add functions to receive a struct
7454 and return a member of the struct, in various types.
7455
7456Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7457
7458 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7459
7460Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7461
7462 * config/vxworks29k.exp: New file, sources vxworks.exp.
7463
7464Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7465
7466 * config/gdbremote.exp: New file. Testing framework using
7467 gdbserver.
7468
7469Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7470
7471 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7472 "call function when asleep" and "send end of file".
7473 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7474 for "backtrace in corefile.exp".
7475 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7476 for "backtrace through signal handler".
7477 * gdb.base/corefile.exp: Make sure we actually generate a core file
7478 before trying the core tests. Some systems allow the user to suppress
7479 generation of core files and default to that (linux for example).
7480 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7481 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7482
7483Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7484
7485 * gdb.threads: New directory with some crude multi-threaded
7486 gdb tests (step.exp and step2.exp).
7487 * config/mt-lynx (STEP_EXECUTABLE): Define.
7488 (THREADFLAGS): Define.
7489
7490Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7491
7492 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7493
7494 * gdb.base/signals.exp: Disable whole file for lynx until
7495 further notice.
7496
7497 * gdb.base/signals.exp: xfail test where "next" acts like
7498 "continue" for lynx.
7499
7500 * gdb.base/interrupt.exp: xfail test for calling function while
7501 inferior is asleep for lynx.
7502
7503 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7504 than one cr-lf after each command.
7505
7506Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7507
7508 * configure.in: Reinstate setting of stabsdirs variable, fix
7509 typo in setting up configdirs for native builds.
7510
7511 * gdb.base/return.exp: Fix typo in return double test.
7512 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7513 compiler from optimizing them away.
7514
7515Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7516
7517 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7518 sequences to be echo'd by gdb when using gdb_test.
7519 * gdb.chill/chexp.exp: Likewise.
7520 * gdb.fortran/exprs.exp: Likewise
7521
7522Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7523
7524 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7525 after the inferior gdb has started.
7526
7527 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7528 after each command.
7529 * gdb.base/funcargs.exp: Likewise.
7530 * gdb.base/gdbvars.exp: Likewise.
7531 * gdb.base/interrupt.exp: Likewise.
7532 * gdb.base/list.exp: Likewise.
7533 * gdb.base/watchpoint.exp: Likewise.
7534 * gdb.c++/demangle.exp: Likewise.
7535 * gdb.c++/inherit.exp: Likewise.
7536 * gdb.chill/chexp.exp: Likewise.
7537 * gdb.fortran/exprs.exp: Likewise.
7538
7539 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7540 test if we can't handle IO to/from the inferior.
7541
7542 * gdb.c++/misc.exp: Always check for a program already being
7543 started after sending a "run" command to gdb.
7544
7545 * gdb.base/twice.exp: Start with a fresh gdb.
7546
7547 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7548 only depend on gdb's expression code, not the chill runtime.
7549
7550 * gdb.base/return.c: Put return values into variables so we
7551 can have gdb print them rather than depending on the program
7552 to print them.
7553 * gdb.base/return.exp: Corresponding changes.
7554
7555 * lib/gdb.exp: Provide default value for noinferiorio.
7556 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7557 the inferior.
7558
7559 * gdb.base/break.exp: Always check for a program already being
7560 started after sending a "run" command to gdb.
7561 (text_next_with_recursion): Don't check the output from the
7562 program's printf statement. Instead just make sure the program
7563 exited.
7564
7565 * gdb.base/commands.exp: Protect tests which need arguments with
7566 $noargs conditionals.
7567
7568Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7569
7570 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7571 of structure member arrays to match gdb/valops.c:value_addr change.
7572
7573Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7574
7575 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7576 cases.
7577
7578Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7579
7580 * configure.in (configdirs): Remove gdb.chill from default list
7581 of subdirs and then add it back in only if doing a native build.
7582 The current chill compiler does not yet work in any cross build.
7583 * Revert all signal changes from Jul 6.
7584 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7585 for sh-hms targets, allowing these tests to link, with no other
7586 changes. Testing is suppressed by setting "nosignals" in site.exp.
7587
7588Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7589
7590 * configure.in (signaldirs): Define and add to configdirs for all
7591 targets except some specific ones that are known to not support signals.
7592 Also clean up formatting.
7593 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7594 (signals, sigall): Remove rules to build.
7595 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7596 Moved to new gdb.signals directory.
7597 * gdb.signals: New test directory.
7598 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7599 signals.c signals.exp}: New or moved files.
7600
7601Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7602
7603 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7604
7605Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7606
7607 * gdb.base/return.exp: Xfail `return double' test failure
7608 on at least Solaris 2.3 and handle future/past versions on
7609 a case by case basis as appropriate. Also update message
7610 to include i*86 failures.
7611
7612Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7613
7614 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7615
7616 * lib/gdb.exp: Fix comment which erroneously identified
7617 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7618 gdb_file_cmd not gdb_load).
7619 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7620
7621 * gdb.base/setvar.exp: Make test names consistent between pass and
7622 fail cases. Use gdb_test more.
7623
7624Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7625
7626 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7627
7628Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7629
7630 * gdb.base/help.exp: Fix expected help string for `show commands'.
7631
7632Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7633
7634 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7635
7636 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7637 of a text section.
7638
7639Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7640
7641 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7642 that loop eventually terminates. Fix Connection refused logic so
7643 that testsuite will expire nicely.
7644
7645Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7646
7647 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7648 config/rom68k.exp: New tcl glue for the appropriate monitors.
7649 These all just end up calling monitor.exp.
7650 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7651 refused' by retrying. Cleanup some timeout issues.
7652 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7653 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7654 callers don't have to set/restore global timeout variable.
7655
7656 * The following set of changes centralizes management of the global
7657 timeout variable. This way, it can be set in one target dependent
7658 place instead of dozens of places scattered throughout the test suite.
7659 If you need to lengthen a timeout, then you should either set timeout
7660 in one of the config/{target}.exp files, or multiply it by a factor.
7661 Setting it to an absolute value is always going to lose for some
7662 targets.
7663 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7664 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7665 * gdb.base/funcargs.exp: Don't set timeout.
7666 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7667 * gdb.base/printcmds.exp (test_print_string_constants
7668 test_print_array_constants): Don't set timeout.
7669 * gdb.base/ptype.exp: Don't set timeout.
7670 * gdb.base/recurse.exp: Don't set timeout.
7671 * gdb.base/return.exp: Don't set timeout.
7672 * gdb.base/watchpoint.exp: Don't set timeout.
7673 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7674 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7675
7676Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7677
7678 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7679
7680Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7681
7682 * lib/gdb.exp: Disable chill tests for irix5.
7683
7684Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7685
7686 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7687 each test pass or fail.
7688
7689Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7690
7691 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7692 xlc not gcc.
7693
7694Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7695
7696 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7697
7698Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7699
7700 * config/est.exp: Fix copyright and comments. Remove dead code.
7701 Use targetname, serialport and baud variables instead of fixed
7702 constants.
7703 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7704 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7705
7706Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7707
7708 * gdb.base/watchpoint.exp: Don't run
7709 test_watchpoint_triggered_in_syscall for sunos.
7710
7711Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7712
7713 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7714 they don't seem to exist. Do include stdio.h.
7715
7716Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7717
7718 * gdb.base/a1-selftest.exp: Add alpha xfail.
7719
7720Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7721
7722 * gdb.base/watchpoint.c (main): Prompt before calling read().
7723 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7724 Revise accordingly. Remove cruft about sending "123" several
7725 times, until it gets noticed. Clean up the "print buf[0]" stuff
7726 so that it passes or fails, and waits for prompts in the usual way.
7727
7728Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7729
7730 * gdb.base/recurse.exp: Fix comment.
7731
7732 * TODO: Remove item about printing variables in nodebug.exp. Add
7733 item about enabling tests which are only run on some targets.
7734
7735 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7736 fail, make test names unique, use new gdb_test convention
7737 regarding pattern, use gdb_test more, etc.).
7738
7739 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7740 fail, make test names unique, etc.).
7741
7742Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7743
7744 * gdb.base/nodebug.c: Change return type of top and middle to
7745 short.
7746 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7747 are fixed by the recent mdebugread.c changes. Allow `short ()'
7748 as type for top and middle.
7749
7750Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7751
7752 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7753 nearly as I can tell, the whole thing was an accident in Stu's
7754 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7755 to replace a send/expect pair with gdb_test, but ended up only
7756 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7757 of 30 Mar 1995 took care of it, but left this vestigial comment
7758 which I am now nuking.
7759
7760Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7761
7762 * gdb.base/break.exp: Look for different line number for
7763 breakpoint at main depending on usestubs.
7764
7765Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7766
7767 * gdb.base/list.exp: Adjust some alternate expect patterns to
7768 match recent list0.c change. Add alternate expect pattern for
7769 output from `list default lines around main' for optimizing
7770 compilers.
7771
7772Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7773
7774 * lib/gdb.exp: If nosignals is not set, set it to 0.
7775
7776Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7777
7778 * config/slite-gdb.exp: Responds to load symbol table prompt.
7779 * gdb.base/break.exp: Adjust line number, fix rerun.
7780 * gdb.base/langs0.c: Add #ifdef usestubs.
7781
7782Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7783
7784 * gdb.base/list.exp: Adjust line contents after adding new lines in
7785 list0.c. Also fix a syntax error.
7786
7787 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7788 * gdb.base/break.exp: ditto.
7789 * gdb.base/list.exp: ditto.
7790 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7791 * gdb.base/run.c: ditto.
7792 * gdb.base/list0.c: ditto.
7793 * gdb.base/funcargs.c: ditto.
7794
7795Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7796
7797 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7798 $targetname, $serialport and $baud instead of hardwired variables.
7799 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7800 target doesn't support signals.
7801
7802Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7803
7804 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7805
7806Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7807
7808 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7809 Don't rely on the value of an auto variable before it has been
7810 initialized. Use gdb_test more.
7811
7812Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7813
7814 * lib/gdb.exp (default_gdb_version): A version number must start
7815 with a digit, but other than that contains all characters up to
7816 the first whitespace character.
7817
7818Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7819
7820 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7821
7822Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7823
7824 * gdb.c++/*.exp: Warn if executable does not exist. The original
7825 reason for skipping the warning was that configure.in sometimes
7826 intentionally skipped building the executables but the tcl code
7827 had no way of knowing. That (a) was always bogus with respect to
7828 error handling, (b) is no longer true (right now there is no way
7829 to skip C++ tests).
7830
7831 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7832
7833Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7834
7835 * gdb.base/list.exp: Add expect patterns for output from
7836 SunPRO compiled executables.
7837 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7838 types.
7839
7840Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7841
7842 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7843 number (we are already testing that the correct source line text
7844 gets printed).
7845
7846 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7847 that is what is intended, but something needed to be done to get
7848 sunos4 native working again.
7849
7850 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7851
7852 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7853 apparently went with a (very) old xfail.
7854
7855Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7856
7857 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7858 runto_main is a proc in gdb.exp that will do 'step' for target use
7859 stubs.
7860 * gdb.base/exprs.exp: ditto.
7861 * gdb.base/interrupt.exp: ditto.
7862 * gdb.base/opaque.exp: ditto.
7863 * gdb.base/printcmds.exp: ditto.
7864 * gdb.base/ptype.exp: ditto.
7865 * gdb.base/scope.exp: ditto.
7866 * gdb.base/setvar.exp: ditto.
7867 * gdb.base/signals.exp: ditto.
7868 * gdb.base/twice.exp: ditto.
7869 * gdb.c++/classes.exp: ditto.
7870 * gdb.c++/inherit.exp: ditto.
7871 * gdb.c++/templates.exp: ditto.
7872 * gdb.base/break.exp: no run and hit main for stubs. Change line
7873 numbers for breakpoints and info breakpoint.
7874 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7875 breakpoint().
7876 * gdb.base/callfuncs.c: ditto.
7877 * gdb.base/exprs: ditto.
7878 * gdb.base/interrupt.c: ditto.
7879 * gdb.base/opaque0.c: ditto.
7880 * gdb.base/printcmds.c: ditto.
7881 * gdb.base/ptype.c: ditto.
7882 * gdb.base/scope0.c: ditto.
7883 * gdb.base/setvar.c: ditto.
7884 * gdb.base/signals.c: ditto.
7885 * gdb.base/twice.c: ditto.
7886 * gdb.c++/misc.cc: ditto.
7887 * gdb.c++/templates.cc: ditto.
7888
7889Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7890
7891 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7892
7893 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7894 somewhere between `read' and `main.c'. I'm pretty sure the
7895 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7896 and it isn't particularly useful.
7897
7898 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7899
7900Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7901
7902 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7903
7904Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7905
7906 * config/mt-slite: add LIBS and -nostdlib.
7907 * config/slite-gdb.exp: add this new file to support sparclite target.
7908
7909Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7910
7911 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7912
7913 * gdb.base/a2-run.exp: Change argument to istarget from
7914 "*-*-vxworks" to "*-*-vxworks*".
7915 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7916
7917Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7918
7919 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7920 will not runto main but do a 'step' to step out of breakpoint().
7921 * config/mt-slite: add -Dusestubs.
7922
7923Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7924
7925 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7926 instead of just @.
7927
7928 * gdb.base/signals.exp: Add test for "handle all print".
7929 * TODO: Remove "handle all print". Also remove item about
7930 checking copyright date (I don't like the idea of a spurious FAIL
7931 based on when we run the tests).
7932
7933 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7934 for SunOS4 (reason for failure not investigated). Remove
7935 redundant test for $binfile.
7936
7937 * gdb.base/nodebug.c (array_index): Call malloc.
7938
7939 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7940
7941Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7942
7943 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7944 conventions and slightly simplify the matching regexp.
7945
7946Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7947
7948 * gdb.base/break.exp: Update gdb_test invocation to use new
7949 convention.
7950
7951 * lib/gdb.exp: If noargs is not set, set it to 0.
7952
7953 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7954 tests unique.
7955
7956 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7957
7958Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7959
7960 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7961 one argument of type "<non-float parameter>".
7962
7963Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7964
7965 * config/rom68k.exp: New file to support Motorola IDP board.
7966 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7967 * gdb.base/break.c: Change things around so that this program
7968 doesn't depend upon args. This is necessary to make remote
7969 targets work (in general, they can't take args).
7970 * gdb.base/break.exp: Don't try to send args to program. Don't
7971 expect output. Also, replace lots of code with gdb_test.
7972
7973Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7974
7975 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7976 printing of '\'' (which is what the comment says we are testing,
7977 even though we were not), not '''.
7978 (test_integer_literals_rejected): Test that printing ''' is an error.
7979
7980 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7981 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7982 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7983 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7984 Use gdb_test not test_print_accept.
7985 * lib/gdb.exp: Remove test_print_accept.
7986
7987 * gdb.base/signals.exp (signal_tests_1): Make pass message
7988 consistent with fail message.
7989
7990 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7991 unsigned char; the bug (PR 1821) is fixed.
7992
7993 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7994
7995 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7996 successful tests--makes xfailing them work right.
7997
7998Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7999
8000 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8001 only \r\n, not .*. The test can pass .* as the last thing in
8002 $pattern if that is what it wants. In addition to providing this
8003 flexibility, this change should speed up pattern matching in cases
8004 where the pattern already ended with .* (there were a number of
8005 them). This change also helps catch bad patterns--in the old
8006 scheme the typo "char \*" instead of "char \\*" would pass. Now
8007 it is caught.
8008 * Many .exp files: Update callers.
8009
8010 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8011 clearer and does not spuriously match multiple ('s. Likewise for
8012 ) and *.
8013
8014 * gdb.base/nodebug.exp: Test ability to call a function and pass
8015 it a string (even with no debugging info).
8016
8017 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8018 "p '\'", which is the same as "p ''" once tcl gets done with
8019 quoting, to "p '\\'", which I suspect is what is intended (one
8020 backslash gets sent to GDB).
8021
8022 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8023
8024Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8025
8026 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8027 1817) was fixed literally years ago.
8028
8029Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8030
8031 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8032 test, it causes stepping out of call_after_alloca_subr with
8033 optimizing compilers.
8034 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8035 fails.
8036
8037 * gdb.c++/templates.exp: Source templ-info.exp only if
8038 the templates executable exists.
8039
8040 * gdb.c++/misc.cc (class Contains_static_instance,
8041 class Contains_nested_static_instance),
8042 gdb.c++/classes.exp (test_static_members): Test printing of
8043 a class that contains a static instance of the class.
8044
8045Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8046
8047 * gdb.base/langs2.c (cppsub_): Don't prototype.
8048 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8049 only, I believe).
8050
8051Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8052
8053 * lib/gdb.exp (skip_chill_tests): New procedure.
8054
8055 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8056
8057Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8058
8059 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8060 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8061
8062Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8063
8064 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8065
8066 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8067 disassemble 8, not 16, instructions for part 4.
8068
8069 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8070 support the latter anymore.
8071
8072 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8073 -DNO_PROTOTYPES.
8074 * gdb.base/callfuncs.c: Control use of prototypes based on
8075 NO_PROTOTYPES, not __STDC__.
8076 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8077 t_float_values2 tests if prototypes in use.
8078
8079 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8080 t_double_values): When checking differences against DELTA, check
8081 that difference is within the range (-DELTA,DELTA), not just
8082 (-infinity,DELTA).
8083
8084Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8085
8086 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8087 'file' command firts, then 'target', then 'load', this is due to gdb
8088 target set up.
8089 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8090
8091Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8092
8093 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8094 FP load/store variants.
8095 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8096
8097Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8098
8099 * gdb.base/term.exp: Do not give a warning if not native, it is
8100 not an abnormal condition.
8101
8102Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8103
8104 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8105 t_char_array".
8106
8107Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8108
8109 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8110 are getting the version number.
8111
8112 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8113 if not native, it is not an abnormal condition.
8114
8115Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8116
8117 * lib/gdb.exp: Just use "file exists", rather than undocumented
8118 dejagnu procedure "findfile".
8119
8120Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8121
8122 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8123 (LDFLAGS): Set to -Xlinker -Ur.
8124
8125 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8126 Removed, these values are set by lib/gdb.exp.
8127
8128 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8129
8130Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8131
8132 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8133 of replicating gdb startup code.
8134
8135 * config/mt-vxworks (LDFLAGS): Set to -r.
8136 (CFLAGS_FOR_TARGET): Removed.
8137
8138 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8139 (gdb) and gdb for vxworks uses (vxgdb).
8140
8141 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8142 executable is not in the tree and host != target, use sed and
8143 program_transform_name to determine the gdb name used by the
8144 target.
8145
8146 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8147 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8148
8149Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8150
8151 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8152 floats, chars, and shorts where there are ANSI-style function
8153 definitions.
8154
8155 * gdb.base/langs.exp, gdb.base/langs*: New test.
8156 * gdb.base/Makefile.in: Build it.
8157 * TODO: Remove item about checking that C names don't get C++
8158 demangling applied; this test tests it.
8159
8160Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8161
8162 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8163 went with the const70 xfail. The xfail went away a year ago.
8164
8165 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8166
8167 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8168 for hp300.
8169
8170 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8171
8172 * gdb.base/a1-selftest.exp: Don't run on hp300.
8173
8174Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8175
8176 * Makefile.in (site.exp): Set host_alias and target_alias as well
8177 as host_triplet and target_triplet.
8178
8179Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8180
8181 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8182
8183 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8184 places as other ecoff systems).
8185
8186 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8187 ultrix.
8188
8189Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8190
8191 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8192 remove them.
8193 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8194 variable and "variable" in addition to "data variable".
8195 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8196
8197 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8198 2.
8199 * gdb.base/list1.c (long_line): Add additional statement at start
8200 of function.
8201 * gdb.base/list.exp (test_forward_search): Update line number to
8202 reflect new statement.
8203
8204Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8205
8206 * gdb.base/signals.exp: Reinitialize searched source directories
8207 after gdb_start call.
8208
8209Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8210
8211 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8212 * gdb.stabs/Makefile.in: Likewise.
8213
8214 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8215 change. Instead split the tests into smaller pieces.
8216 * gdb.disasm/hppa.s: Corresponding changes.
8217
8218Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8219
8220 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8221 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8222
8223 * gdb.base/funcargs.exp: Modify many tests so that every test
8224 either passes or fails. Make some test names unique.
8225
8226Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8227
8228 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8229 Call stty to set interrupt character.
8230
8231 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8232 for HP assembler versus GNU assembler based on actual behavior of
8233 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8234
8235 * TODO: Suggest a few more stepping tests.
8236
8237Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8238
8239 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8240 restart GDB for h8300 after a continue.
8241 (return): Add pattern to match a29k-udi behavior.
8242 * gdb.base/nodebug.exp: Remove obsolete comment.
8243 * gdb.base/regs.exp: New file, testing of register displays.
8244 * gdb.base/return.exp: Fix typo in reference to $objdir.
8245 * gdb.base/whatis.exp: Always start with a fresh GDB.
8246
8247Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8248
8249 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8250 higher, these tests generate a lot of output.
8251
8252Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8253
8254 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8255 code following the catch silently ignored some errors; without the
8256 catch they should be thrown like any other tcl error. Also, the
8257 catch used "" instead of {} which meant all the callers who wanted
8258 to include one of the characters "[]$ had to quote it an extra time.
8259 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8260 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8261 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8262 Remove extra quoting.
8263
8264Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8265
8266 * gdb.base/commands.exp: Make test names unique; every test either
8267 passes or fails. Update some comments.
8268
8269 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8270
8271Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8272
8273 The following fixes a FAIL caused by the fact that the alpha stabs
8274 configuration didn't use the ".if alpha" code in weird.def.
8275 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8276 bit pointer, so the 32 bit version works even on the alpha.
8277 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8278 Remove the stuff which allowed us to have separate versions for
8279 alpha and everything else.
8280
8281 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8282 regexp which "info func operator\[\](" is supposed to match. Fix
8283 string to send to GDB. Note that GDB still doesn't work right. Add a
8284 new test for "info func .perator\[\](" which GDB does handle correctly.
8285
8286 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8287
8288Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8289
8290 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8291 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8292 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8293 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8294 it makes the tests harder to understand and confuses test-o-matic.
8295 The preferred style is that each test provides a PASS or a FAIL,
8296 and has a unique message (e.g. "continue #54" not just "continue")
8297 which is the same for the pass and the fail.
8298 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8299 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8300 to lib/gdb.exp.
8301 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8302 prt_accept which was basically the same thing. Likewise for
8303 test_print_reject and prt_reject.
8304 * lib/gdb.exp (test_print_reject): Add some more error message
8305 patterns to match from the former printcmds.exp (prt_reject).
8306 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8307 One defect of the passcount stuff is that some of it failed to
8308 report XPASS where appropriate.
8309 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8310 stuff before and after arg in expected pattern.
8311 (test_paddr_operator_functions): Re-do test without print_addr_of;
8312 this is the only test which seems to want extra stuff there.
8313
8314Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8315
8316 * gdb.base/nodebug.exp: Update new tests to reflect improved
8317 wording of gdb output.
8318
8319 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8320 and "ptype" work on variables in files compiled without -g.
8321 Replaces commented out "maint print msymbol" tests.
8322
8323Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8324
8325 * gdb.base/setvar.c (dummy): Call malloc.
8326
8327 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8328 losing with the irix4 sed.
8329
8330 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8331 ALRM" on irix4.
8332
8333Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8334
8335 * TODO: Remove items about corefile.exp testing new exec-file and
8336 backtrace; both are now done. Add items about printing enums.
8337
8338Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8339
8340 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8341 "get signal $thissig" test fails.
8342
8343 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8344
8345Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8346
8347 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8348 compiler warning with dec alpha compiler.
8349
8350 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8351 extra \n from gdb_test call (this explains why the prompt test
8352 that I removed yesterday was there).
8353 (user_defined_command_test): Remove extra \n and prompt test.
8354
8355 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8356 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8357 doesn't exist.
8358 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8359 Also remove alpha workaround, which turns out to be because
8360 SIGABRT == SIGLOST.
8361
8362 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8363
8364 * gdb.base/help.exp: Don't test "help show".
8365
8366Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8367
8368 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8369 "set print address" is on.
8370 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8371 pass prompt to gdb_test; gdb_test already looks for the prompt.
8372
8373 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8374
8375 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8376 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8377 was to make sure that gdb can read a core file. But (a) the "read
8378 the corefile" part didn't make it to a1-selftest.exp, we just
8379 delete the corefile after creating it, and (b) we test reading
8380 corefiles in corefile.exp anyway. Also, this test left around a
8381 xgdb process on Solaris.
8382
8383 * gdb.base/corefile.exp: Also test backtrace.
8384
8385Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8386
8387 * gdb.base/commands.exp: Test a simple user defined command with
8388 arguments and if/while statements; verify the full user command is
8389 printed by "show user".
8390
8391 * gdb.base/commands.exp: Test if/while commands as part of a
8392 breakpoint command list; verify they appear in breakpoint
8393 information.
8394
8395Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8396
8397 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8398 than by dividing by zero.
8399
8400Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8401
8402 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8403 performing an inferior call with watchpoints enabled.
8404 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8405 call.
8406
8407Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8408
8409 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8410 of "file" command.
8411
8412 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8413 Add additional pattern for when "int operator int(void);" appears
8414 in a different order.
8415
8416Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8417
8418 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8419
8420 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8421 and "signal" with ".*".
8422
8423Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8424
8425 * TODO: Add note about "handle all nostop".
8426
8427 * gdb.base/{sigall.c, sigall.exp}: New test.
8428 * gdb.base/Makefile.in: Add it.
8429
8430Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8431
8432 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8433 when invoking GDB, suppresses any windowing interface.
8434
8435Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8436
8437 * config/sim-gdb: New file, simulator testing support.
8438
8439Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8440
8441 * gdb.base/interrupt.exp: Test calling func1 twice.
8442
8443Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8444
8445 * gdb.base/list.exp (test_forward_search): Set timeout higher
8446 when we'll be getting lots of output from gdb.
8447
8448 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8449 "init_malloc" to after the expect statement. Run it if that
8450 regexp is taken, but also for two others which happen if source
8451 cannot be found.
8452
8453Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8454
8455 * gdb.base/printcmds.exp: New test, for printing register before
8456 program is running.
8457
8458Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8459
8460 * gdb.base/list.exp: Correct some alternate expect patterns
8461 to reflect changes in list1.c.
8462
8463Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8464
8465 * TODO: Add item regarding large frames.
8466
8467 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8468
8469 * TODO: Remove item about enabling return.exp; it
8470 is enabled. Suggest a few more "return" tests.
8471
8472Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8473
8474 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8475 anonymous unions.
8476
8477Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8478
8479 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8480 and pr-5646.o, so "make" is the same as "make all", not "make
8481 pr-4975.o".
8482
8483Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8484
8485 * gdb.base/list.exp: Adjust expectations to reflect changes in
8486 list1.c.
8487 (test_forward_search): New test proc.
8488 * gdb.base/list1.c (long_line): New function, has long source line.
8489
8490Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8491
8492 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8493 additional line of code that was added.
8494
8495Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8496
8497 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8498 tests so as not to overflow expect's input buffers.
8499 * gdb.disasm/hppa.exp: Corresponding changes.
8500
8501Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8502
8503 Beginnings of template debugging tests.
8504 * gdb.c++/templ-info.cc: New file to test for template
8505 debugging capability of the compiler.
8506 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8507 templ-info.cc.
8508 * gdb.c++/templates.cc: Add explicit template instantiations
8509 to enable compiling with -fno-implicit-templates. Add destructor
8510 and 'value' method to T5 class for template tests.
8511 * gdb.c++/templates.exp: Add testcases for printing of template
8512 types, setting breakpoints on template methods and calling a
beb998c6 8513 template method.
c906108c
SS
8514
8515Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8516
8517 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8518 branch target since some assemblers (gas-2.5) may emit a
8519 relocation for the branch instead of resolving it in the
8520 assembler.
8521
8522Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8523
8524 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8525 through signal handler.
8526
8527Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8528
8529 * configure.in (*-*-netware): Use config/mt-netware.
8530
8531 * config/mt-netware: New file.
8532 * config/mt-i386-netware: Removed, separate configs for different
8533 netware architectures are no longer needed now that we have
8534 --with-headers.
8535
8536Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8537
8538 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8539 by the recent changes to use ANSI C arithmetic conversions.
8540
8541Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8542
8543 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8544 bug involving using inferior_pid to figure out whether to select a
8545 frame.
8546
8547Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8548
8549 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8550 match the current disassembler output.
8551
8552Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8553
8554 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8555 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8556 types, expect "int" as type of integer values (for now).
8557
8558Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8559
8560 * gdb.base/commands.exp: New tests for if/while commands.
8561
8562Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8563
8564 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8565 by .*, since hex values have different syntax in Chill mode.
8566
8567Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8568
8569 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8570 linefeed from expect pattern for repeated types with indices > 9.
8571
8572Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8573
8574 First part of Fortran test suite.
8575 * gdb.fortran: New directory.
8576 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8577
8578Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8579
8580 * gdb.base/default.exp: Update expect pattern for load command
8581 without arguments.
8582
8583Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8584
8585 * configure.in: Change i386 to i[345]86.
8586 * gdb.base/configure.in: Likewise.
8587 * gdb.c++/configure.in: Likewise.
8588 * gdb.chill/configure.in: Likewise.
8589
8590Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8591
8592 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8593 patterns, since that is not a valid context for comments.
8594
8595Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8596
8597 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8598 repeated types and repeated types with indices > 9.
8599
8600Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8601
8602 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8603 2417; old bug has been fixed.
8604
8605Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8606
8607 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8608 send the newline ourselves instead of assuming gdb_test will do
8609 so when passed an empty input string.
8610
8611 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8612 stabs testcode.
8613
8614Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8615
8616 * lib/gdb.exp (gdb_test): Don't send anything if the first
8617 argument is an empty string. This makes cases where we want to
8618 match output that is already in expect's buffers (for example,
8619 matching a breakpoint after gdb_run_cmd has been called) work
8620 reliably.
8621
8622Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8623
8624 * config/netware.exp: New file.
8625
8626Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8627
8628 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8629 the -B and -L prefixes so we can find the debugging stub.
8630
8631 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8632 there and we are using the gcc from the tree.
8633
8634 * gdb.base/types.c: Removed.
8635
8636 * gdb.base/configure.in: Look for makefile fragments in ../config.
8637 Recognize i386-*-netware.
8638 * gdb.c++/configure.in: Likewise.
8639
8640Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8641
8642 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8643 the correct TCL syntax.
8644
8645Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8646
8647 * gdb.base/opaque.exp: use runto instead of messing around with
8648 breakpoints. Simplify by using gdb_test.
8649
8650 * gdb.base/bitfields.exp: restart between tests on netware targets
8651 because breakpoints aren't relocated after target death. Run
8652 processes to completion.
8653
8654 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8655
8656Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8657
8658 * Makefile.in: Remove extra tabs that confuse some versions
8659 of "make". Use the newly built gdb to test with by default,
8660 rather than the first one in the tester's search path.
8661
8662Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8663
8664 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8665
8666 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8667 condition help.
8668
8669Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8670
8671 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8672
8673 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8674 running.
8675 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8676 * gdb.base/funcargs.exp: Likewise.
8677
8678 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8679 * gdb.base/funcargs.exp: Likewise.
8680
8681 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8682 message is "".
8683
8684Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8685
8686 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8687 return,signals,twice}.exp: Handle non-existant binaries
8688 consistantly.
8689
8690 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8691 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8692 might testing a cross development system.
8693
8694Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8695
8696 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8697 runtest script is relative to ${srcdir}, not ${rootdir}.
8698
8699Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8700
8701 * gdb.base/signals.exp: Allow for optionality of breakpoint
8702 address.
8703
8704Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8705
8706 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8707
8708Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8709
8710 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8711 for size_t definition.
8712 * gdb.c++/templates.cc: Likewise
8713
8714 * config/mt-i386-netware: New file.
8715
8716 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8717 defined.
8718
8719 * gdb.base/Makefile.in: Added support for systems that name core
8720 files by appending "core" to the program name.
8721 * gdb.base/a1-selftest.exp: Likewise.
8722
8723Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8724
8725 * gdb.base/return.exp: Add comment and message for `return double'
8726 test failure on Sparc Solaris.
8727
8728Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8729
8730 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8731
8732Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8733
8734 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8735 from optimizing them away.
8736 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8737 patterns to include default constructors and assignment operators,
8738 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8739 character in the output of the virtual base pointer.
8740
8741Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8742
8743 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8744 expression match in print_addr_of to avoid unintented matches.
8745 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8746 versions up to 2.5.8.
8747
8748Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8749
8750 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8751 included file to run under newer versions of expect.
8752 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8753 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8754 Remove xfail for the virtual table of BDDHookV.
8755
8756Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8757
8758 * lib/gdb.exp (string_to_regexp): Set a default result.
8759 (default_gdb_start): Fix misleading message.
8760
8761Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8762
8763 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8764 Remove all CC, etc definitions.
8765 * config/mt-hpux: New file.
8766 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8767 (CFLAGS, LDFLAGS): Define.
8768 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8769
8770 * Makefile.in (site.exp): Don't insert host_os, etc.
8771 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8772 (distclean): Check existence of subdir.
8773 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8774 * gdb.base/Makefile.in: General cleanup and simplification.
8775 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8776 to build executables. Use default rule to build .o files.
8777 (EXPECT, RUNTEST, CC): Fix relative pathname.
8778 (site.exp): Don't insert host_os, etc.
8779 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8780 and/or SIGUSR1 defined.
8781 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8782 * gdb.c++/Makefile.in: General cleanup and simplification.
8783 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8784 (CFLAGS): Remove.
8785 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8786
8787Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8788
8789 * gdb.base/recurse.exp: Misc changes to get tests running again
8790 after Kung's changes to the watchpoint code.
8791 * gdb.base/watchpoint.exp: Likewise.
8792
8793Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8794
8795 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8796
8797Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8798
8799 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8800 * lib/gdb.exp (default_gdb_start): Define.
8801 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8802 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8803 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8804 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8805 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8806 Don't call gdb_target_udi in between tests.
8807
8808Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8809
8810 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8811 (which was basically just a local version of the same thing). In
8812 addition to avoiding duplication, gdb_test_exact is faster.
8813 * lib/gdb.exp (gdb_test_exact): Fix typo.
8814
8815 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8816 don't give an error.
8817
8818 * gdb.base/term.exp: Call delete_breakpoints before starting.
8819
8820 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8821 (t10): Add comment.
8822
8823Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8824
8825 Reorganization of the GDB Test Suite.
8826
8827 * gdb.base: New directory, contains all the basic tests.
8828 * gdb.c++: New directory, tests specific to C++.
8829 * gdb.chill: New directory, tests specific to Chill.
8830 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8831 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8832 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8833 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8834 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8835 t30-31 to chill).
8836 * */gdbme.*: Rename to match appropriate expect scripts.
8837 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8838 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8839 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8840 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8841 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8842 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8843 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8844 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8845 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8846 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8847 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8848 gdb.c++/virtfunc.cc: New names of C++ files.
8849 * gdb.chill/chillvars.ch: New name of Chill file.
8850 * gdb.base/configure.in, gdb.c++/configure.in,
8851 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8852 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8853 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8854 * configure.in (configdirs): Update to reflect directory changes.
8855 (target_abbrev): No longer define for any configuration.
8856 * Makefile.in: Cosmetic improvements to header comments.
8857
8858Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8859
8860 Various changes to gdb.t31:
8861
8862 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8863 * gdbme.ch: Make all key-words and predefineds be upper-case.
8864 * chillvars.exp: Expect key-words and predefinds in upper-case.
8865
8866 * chillvars.exp: Use gdb_test_exact many places.
8867 Change expected output for arrays (which now includes index labels).
8868
8869 * pr-5020.exp, gdme.ch (module PR_5020):
8870 New test, for PR-5020.
8871
8872Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8873
8874 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8875 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8876
8877Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8878
8879 * Makefile.in: Fix bit-rot in definitions of CHILL,
8880 CHILL_FOR_TARGET and Chill_LIB.
8881 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8882 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8883 CHILL, and CHILL_LIB.
8884
8885Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8886
8887 * Revert the previous changes. Please see Rob's directory
8888 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8889
8890Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8891
8892 * Makefile.in, configure.in, config/mips-gdb.exp,
8893 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8894 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8895 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8896 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8897 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8898 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8899 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8900 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8901 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8902 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8903 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8904 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8905 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8906 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8907 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8908 changes from 94Q1.
8909
8910Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8911
8912 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8913 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8914 Rob's new testing fragments.
8915
8916Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8917
8918 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8919 lib/gdb.exp: Replace error proc calls with perror.
8920
8921Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8922
8923 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8924 version also, match on casted version strings, and match on
8925 gdb startup case where the line numbers might be messed up.
8926
8927Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8928
8929 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8930 (CFLAGS): Delete it from here.
8931
8932Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8933
8934 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8935
8936Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8937
8938 * Makefile.in (RUNTEST): Default to just "runtest".
8939
8940Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8941
8942 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8943 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8944 the code has been restructured.
8945
8946Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8947
8948 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8949 \n, not just one of each.
8950
8951 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8952 /bin/cc gives a warning if you do.
8953
8954Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8955
beb998c6 8956 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8957 __t10ListS_link1ZUiRCUiPT0
8958
8959Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8960
8961 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8962 on local variables in recursive functions.
8963
8964 * gdb.t07/Makefile.in: Build the new test.
8965
8966Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8967
8968 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8969 directly. Instead compare the return values from actual calls.
8970
8971Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8972
8973 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8974
8975Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8976
8977 * From Peter Schauer with minor modifications.
8978 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8979 stops in mid-line in the caller. Add xfail for returning a float
8980 value on X86 targets.
8981
8982Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8983
8984 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8985 to avoid expect lossage.
8986 (fmem_LRbug_tests): Likewise.
8987 * gdb.disasm/hppa.s: Corresponding changes.
8988
8989 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8990 conditions to work with latest dejagnu/expect.
8991
8992 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8993 expected to fail on the PA.
8994 (backtrace in call with trampolines): Explicitly require main
8995 to be frame #1 (no trampolines should show up in backtrace).
8996
8997 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8998 "continue -expect".
8999 * gdb.t06/break.exp: Likewise.
9000 * gdb.t07/watchpoint.exp: Likewise.
9001 * gdb.t13/bitfields.exp: Likewise.
9002 * gdb.t15/{funcargs,return}.exp: Likewise.
9003 * gdb.stabs/weird.exp: Likewise.
9004 * config/{mips,udi}-gdb.exp: Likewise.
9005
9006 * hppa.sed: Enclose comments within a sed command to avoid
9007 losing with the old OSF1 sed.
9008
9009Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9010
9011 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9012 sequent dynix.
9013 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9014 * gdb.t15/funcargs.exp: Conditionally step again to really
9015 finish from marker_call_with_trampolines. Handle the case where
9016 the first step from within call_with_trampolines already steps
9017 us back to main.
9018 * gdb.t15/gdbme.c: Add comment to closing brace of
9019 call_with_trampolines for funcargs.exp.
9020
9021Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9022
beb998c6 9023 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9024 Fix typo(s).
9025
9026Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9027
9028 * gdb.t07/gdbme.c: More code for watchpoint testing.
9029
9030 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9031 "Hardware watchpoint" throughout file.
9032 (test_watchpoint_triggered_in_syscall): New test.
9033 (test_complex_watchpoint): New test.
9034
9035Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9036
9037 * gdbme.c (call_with_trampolines): New function to try and step
9038 into. Tests trampoline problems on the PA.
9039
9040 * funcargs.exp (localvars_in_indirect_call): No longer expect
9041 stepping into indirect call to fail on PAs.
9042 (test_stepping_over_trampolines): New test.
9043
9044Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9045
9046 * TODO: Add suggestions for static member function tests, and
9047 completion tests.
9048
9049Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9050
9051 * TODO: Add suggestions for "p/a" tests.
9052
9053 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9054 (default_gdb_exit): Replace all the hair with sending "quit" to
9055 the process with a simple close.
9056
9057Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9058
9059 * TODO: Add suggestions for shared library tests.
9060
9061Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9062
9063 * TODO: Add suggestions for x/s tests.
9064
9065Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9066
9067 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9068 "enable once", and "enable breakpoints once" with ".*".
9069
9070Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9071
9072 * TODO: Add suggestions about structure passing tests.
9073
9074Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9075
9076 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9077 the primary1 test, use work around if __GNUC__ < 2.
9078 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9079 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9080 Test for bad output rather than waiting for timeout. Issue
9081 second continue only if first continue failed.
9082
9083Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9084
9085 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9086 operator[] test with gdb_test because the old code didn't seem to
9087 be getting the quoting right with the new dejagnu.
9088
9089Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9090
9091 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9092 one from the path.
9093 * Makefile.in: Use a fresh expect if there is one, use runtest
9094 from the src tree if there is one.
beb998c6 9095
c906108c
SS
9096Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9097
9098 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9099 next over recursive call. Revise the tests from that point on
9100 (which had been skipped) to match GDB's actual (correct) output.
9101
9102 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9103 with next over a breakpoint whose condition is false.
9104
9105 * gdb.t00/help.exp: Comment out "help set print" tests just like
9106 (and for same reason as) "help set" test.
9107
9108Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9109
9110 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9111 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9112
9113Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9114
9115 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9116 necessary gdb_target_udi.
9117
9118 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9119
9120 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9121 1838 and 2417; they are fixed.
9122
9123 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9124 gdb.t03/ptype.exp (ptype structure, ptype union):
9125 Remove xfails; the test is looser than when the xfails were added.
9126
9127 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9128 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9129
9130 * gdb.t01/run.exp: Only run shell test if isnative.
9131
9132 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9133 since "run" automatically loads if necessary. Call gdb_target_udi
9134 after the "file" since "file" kills any execution target.
9135
9136 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9137 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9138 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9139 argument for UDI.
9140
9141Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9142
9143 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9144
9145 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9146
9147Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9148
9149 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9150 properly quoting regexps. This makes the second argument to
9151 demangle a fixed string, which matches the callers, instead of a
9152 shell-style pattern which is what the previous implementation
9153 used. Update some of the callers.
9154
9155Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9156
9157 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9158 (comib_nullified_tests): Fix typo.
9159 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9160 strings. No longer expected to fail.
9161
9162 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9163 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9164 strings. No longer expected to fail.
9165
9166 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9167 string. No longer expected to fail.
9168
9169Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9170
9171 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9172 No longer expected to fail.
9173
9174 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9175 string. No longer expected to fail.
9176
9177Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9178
9179 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9180 only in the names (I probably got most of them). I was even
9181 generous with some which differed in underscores in names, and
9182 probably missed a few, and I *still* was able to remove almost a
9183 third of the file with almost no impact on testsuite coverage.
9184
9185Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9186
9187 * gdb.t00/default.exp: Match udi_attach error message as well as
9188 the one from child_attach.
9189
9190 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9191
9192 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9193
9194 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9195 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9196
9197 * Move test with enums and partial symbols back to
9198 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9199 Reverts the change of 26 May 93. Per today's change to
9200 stabs.texinfo, the behavior that weird.exp was expecting was
9201 unreasonable; what is important is that the compiler+gdb get
9202 things right, which happens with a recent gcc. Also fix the test
9203 to deal with native compilers which put out the stab gdb can't
9204 deal with.
9205
9206Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9207
9208 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9209 in the names. The main thing these accomplish is to slow things down.
9210 Many more such duplicates surely remain.
9211
9212 * gdb.t00/help.exp: Comment out "help support" test just like
9213 (and for same reason as) "help set" test.
9214
9215Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9216
9217 * gdb.t06/break.exp: Remove setup_xfails for
9218 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9219 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9220 about known bug in gcc to include up through 2.5.8.
9221 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9222 well as "_vb$".
9223 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9224 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9225 with latest gcc and gdb.
9226 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9227 well as "_vb$".
9228
9229Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9230
9231 * configure.in (hppa*-*-*): Also configure and build stabs-only
9232 tests.
9233
9234Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9235
9236 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9237 * gdb.t10/configure.in (hppa*-*-*): Use it.
9238
9239Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9240
9241 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9242
9243Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9244
9245 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9246 versions prior to 1.13.5.
9247
9248Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9249
9250 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9251 the prompt is at the start of a line.
9252
9253Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9254
9255 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9256 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9257 in the copr tests now.
9258 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9259 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9260 expected to fail.
9261
9262Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9263
9264 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9265 gdb.t31/chillvars.exp, lib/gdb.exp:
9266 Tweak to run under either version of expect.
9267 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9268 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9269 * gdb.t11/list.exp: Remove extraneous whitespace.
9270
9271Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9272
9273 * gdb.t16/printcmds.exp (test_print_strings): Accept
9274 "(unsigned char *) " before the string.
9275
9276 * TODO: Add notes about printing of fancy types and GDB expressions.
9277
9278Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9279
9280 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9281 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9282 if doing mips-idt-ecoff.
c906108c
SS
9283
9284Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9285
9286 * Most .exp files: Tweak to run under either version of expect.
9287
9288Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9289
9290 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9291 xfails; I'm not sure why they are failing, but not because of PR 1806.
9292
9293Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9294
9295 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9296 defined in lib/gdb.exp.
9297
9298Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9299
9300 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9301 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9302 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9303 have to be typeless.
9304
9305Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9306
9307 * TODO: Add suggestion for copyright year test.
9308
9309Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9310
9311 * configure.in (*-*-lynxos*): Add stabs tests.
9312
9313Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9314
9315 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9316 so insert a tab before any assembler directive in column zero.
9317
9318 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9319 stores.
9320 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9321 stores.
9322 (fpu_short_memory_tests): Likewise.
9323
9324Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9325
9326 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9327 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9328 .stabs directives in comments.
9329
9330Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9331
9332 * TODO: New file, describing tests we could write.
9333 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9334
9335Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9336
9337 * gdb.t06/signals.exp: Add kludge to force re-sync.
9338
9339 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9340 to xgdb instead of gdb, get out of gdb.
9341
9342Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9343
9344 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9345 for info.
9346
9347Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9348
9349 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9350 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9351 * gdb.stabs/hppa.sed: New sed script for the PA.
9352
9353Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9354
9355 * gdb.stabs: Re-write weird.def and configuration to use sed
9356 instead of cpp. sed is portable and POSIX; cpp is neither.
9357
9358Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9359
9360 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9361
9362Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9363
9364 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9365
9366Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9367
9368 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9369 "_vb$".
9370 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9371 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9372
9373Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9374
9375 * lib/gdb.exp: Comment out code which depends on non-existent
9376 `transform' procedure.
9377
9378Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9379
9380 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9381 * lib/gdb.exp: Transform tool name.
9382 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9383 1.1's new error handling system.
9384
9385Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9386
9387 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9388
9389Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9390
9391 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9392 They made pattern matching so slow that timeouts happened on
9393 heavily loaded systems. Now any output from "show print" which
9394 gets us back to the GDB prompt is a PASS.
9395
9396Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9397
9398 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9399
9400Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9401
9402 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9403
9404 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9405 It is not from PR 3220.
9406
9407Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9408
9409 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9410 just started failing because they depended on the order the
9411 subcommands are presented, or exact docstring text. This kind of
9412 test is a pain and has minimal benefit.
9413
9414Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9415
9416 * gdb.t09/corefile.exp: At end of test, use "core" command with
9417 no arguments.
9418
9419Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9420
9421 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9422 17}/Makefile.in: Make it possible to run the testsuite with Sun
9423 make and CC = cross gcc by adding explicit build rules for .o
9424 files.
9425
9426Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9427
9428 * gdb.t15/funcargs.exp: Don't put comments on same line as
9429 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9430
c906108c
SS
9431Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9432
9433 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9434
9435Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9436
9437 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9438 * gdb.t20/inherit.exp: remove three dumplicate entries.
9439
9440Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9441
9442 * gdb.t06/break.exp: For "next over recursive call", fail on any
9443 incorrect output, not just on "factorial (value=2)".
9444
9445Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9446
9447 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9448 working now. Add an xfail if accesing a bss variable causes
9449 a memory error if the target is not yet run.
9450
9451Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9452
9453 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9454 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9455 name of __st* demangling (2 strings). Did Kung really get the
9456 more than 95 others right without testing them?
9457
9458Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9459
9460 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9461
9462Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9463
9464 * configure.in (configdirs): Add gdb.disasm
9465 * gdb.disasm: New directory for GDB disassembler tests.
9466 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9467
9468Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9469
9470 * gdb.t00/help.exp: Don't test "help set".
9471
9472 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9473 from within expect statements. None of these happen anymore and
9474 they cause regressions to be silently unnoticed.
9475
9476 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9477 messages) about known failures with gcc cygnus-2.4.5-930417.
9478
9479 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9480 comp-info.exp so it gets built if it doesn't exist.
9481
9482 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9483 it is no longer used.
9484 * gdb.t13/comp-info.c: Removed.
9485
9486Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9487
9488 * gdb.t06/signals.exp: Add xfail for sun3.
9489
9490Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9491
9492 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9493 relevant because ^C doesn't get sent but failure can be reproduced
9494 interactively).
9495
9496Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9497
9498 * gdb.stabs/alpha.mt: New configuration file for alpha.
9499 * gdb.stabs/configure.in: Use it.
9500 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9501 sharing with alpha.mt, redefine long to word via preprocessor.
9502 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9503 for alpha.
9504 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9505 native cc.
9506 * gdb.t00/teststrategy.exp: Change expect string so that we
9507 consume the `(xgdb)' from the command echo and from the gdb prompt.
9508 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9509 gdb currently compares all values as long, so this failure probably
9510 applies to any configuration where LONGEST is bigger than a target int.
9511 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9512 with gcc.
9513 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9514 to handle opaque pointers, gcc is.
9515 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9516 as first argument. Include <sys/types.h> and change all operator
9517 new definitions to use size_t.
9518 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9519 now that we use size_t.
9520
9521Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9522
9523 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9524 a long or float array cast all array members to the same type.
9525 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9526 with 64 bit longs.
9527 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9528 on alpha.
9529 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9530
9531Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9532
9533 * gdb.t24 (demangle.exp): Constructors of templates have names like
9534 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9535 section 14.6 of the ARM.
9536
9537 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9538 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9539 accomplish little and slow down the testsuite.
9540
9541 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9542 Accept spaces various places.
9543
9544Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9545
9546 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9547 with watchpoint enabled.
9548
9549 * Makefile.in: Remove definition of CC and remove the second
9550 definition of CXX (the "CXX = gcc" one remains). These definitions
9551 were causing backquotes to be expanded within backquotes, which
9552 doesn't work.
9553
9554Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9555
9556 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9557
9558Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9559
9560 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9561 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9562 by mips cc and contains no stabs entries.
9563
9564Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9565
9566 * config/vx-gdb.exp: Use fake device to load files rather than
9567 NFS.
9568 * lib/gdb.exp: New proc to do "file" command.
9569 * config/unix-gdb.exp: Use new "file" proc.
9570
9571Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9572
9573 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9574 Rework board rebooting slightly.
9575 (gdb_exit): Don't exit from the remote shell; there isn't one.
9576 * gdb.stabs/weird.exp: If a program is being debugged already,
9577 kill it.
9578 * gdb.t04/setvar.exp: Stop and restart gdb.
9579 * gdb.t05/expr.exp: Likewise.
9580 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9581 restart gdb and reload the program.
9582 * gdb.t08/opaque.exp: Likewise.
9583 * gdb.t12/scope.exp: Likewise.
9584 * gdb.t13/bitfields.exp: Likewise.
9585 * gdb.t15/funcargs.exp: Likewise.
9586 * gdb.t20/classes.exp: Likewise.
9587 * gdb.t03/ptype.exp: Increase timeout.
9588 * gdb.t16/printcmds.exp (test_print_string_constants,
9589 test_print_array_constants): Likewise.
9590 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9591 * gdb.t20/classes.exp (do_tests): Likewise.
9592 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9593
9594Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9595
9596 * gdb.stabs: Renamed *wierd* to *weird*.
9597
9598Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9599
9600 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9601 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9602
9603Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9604
9605 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9606 (do_tests): Remove xfail for whatis on one_var and two_var.
9607
9608Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9609
9610 * Makefile.in: Made cross building work better by adding
9611 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9612
9613Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9614
9615 * gdb.t15/{return.c,return.exp,Makefile.in}:
9616 New test, currently commented out.
9617
9618Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9619
9620 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9621 still running and removes the leftover named socket so GDb can do
9622 clean restarts.
9623
9624Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9625
9626 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9627 console, not GDB.
9628 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9629 cross testing works better with "make check"
9630 * config/unix-gdb: Use default procedures for exit and version.
9631 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9632 with the newest VxWorks.
9633
9634Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9635
9636 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9637 old form.
9638
9639 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9640 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9641
9642 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9643
9644 * config/unix-gdb.exp: Remove this version of gdb_exit
9645 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9646 Rob says he'll look at it when he gets back to testing boards.
9647
9648Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9649
9650 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9651 an expected fail for certain ptype commands.
9652
9653 * gdb.t20/classes.exp: Update expected results of "ptype class
9654 Base1" to account for the constructor that now appears in the type.
9655
9656Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9657
9658 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9659 disappeared from list.
9660 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9661 "alldone" proc with call to cleanup and exit.
9662 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9663 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9664 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9665 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9666 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9667 "alldone" proc with simple returns that suppress remaining
9668 tests. The alldone proc went away many months ago.
9669
9670Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9671
9672 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9673
9674 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9675
9676Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9677
9678 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9679 as vax gdb will display them.
9680
9681Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9682
9683 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9684 optimizers.
9685
9686 * scope.exp: Change "bad value for localval" messages so each one
9687 is unique.
9688
9689 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9690 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9691
9692 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9693
9694Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9695
9696 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9697 doesn't exist (due to optimization).
9698
9699Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9700
9701 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9702 contains \r because the filename is long.
9703
9704 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9705 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9706
9707Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9708
9709 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9710 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9711 Ultrix.
9712 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9713 int tests.
9714 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9715
9716Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9717
9718 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9719
9720 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9721 to match does not match the passing case but still matches the
c906108c
SS
9722 failing case.
9723
9724Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9725
9726 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9727
9728Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9729
9730 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9731 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9732 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9733 Remove various versions of gdb_exit.
9734 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9735 gdb_exit.
9736 * config/unix-gdb.exp: gdb_exit remains here, and should override
9737 the generic version, since it's doing a lot of wierd stuff that
9738 the other versions aren't. FIXME, fold it in, or abandon this
9739 version.
9740
9741Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9742
9743 * gdb.t24/demangle.exp: Add tests for PR 3220.
9744
9745Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9746
9747 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9748
9749Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9750
9751 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9752 "i386-*-*". Works for i486 as well.
9753
9754 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9755 bug, and expand domain of xfail to all SVR4 systems, since the
9756 actual problem is likely to be in generic SVR4 /proc support.
9757
9758Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9759
9760 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9761
9762Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9763
9764 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9765 xfails for other systems. Match a missing 'Continuing.' as an
9766 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9767
9768 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9769 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9770 Only issue warning for missing executables if -all option is used.
9771
9772 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9773 file if -all option is used. It's like an unpredictable XFAIL.
9774
9775Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9776
9777 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9778 for dynamically linked binaries.
9779
9780 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9781
9782Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9783
9784 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9785 to state that this is a known bug in old versions of g++.
9786
9787Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9788
9789 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9790 while waiting for `Continuing'.
9791
9792Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9793
9794 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9795 in text, data, and bss.
9796 * gdb.t10/nodebug.c: Add local and global test variables for
9797 initialized and uninitialized data.
9798
9799Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9800
9801 * config/unix-gdb.exp (gdb_exit): Add "wait".
9802
9803Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9804
9805 * gdb.t06/signals.exp: xfail the continue from the handler for all
9806 targets.
9807
9808 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9809 function with watchpoints enabled, the i386 call dummy starts with
9810 a call.
9811
9812 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9813 386 bsd names its corefiles.
9814
9815Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9816
9817 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9818 compilers don't grok it.
9819 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9820 with small octal ints rather than character constants, which
9821 are signed and might not fit if first promoted to int.
9822
9823Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9824
9825 * gdb.t09/Makefile.in (clean): Remove corefile.
9826
9827Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9828
9829 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9830
9831Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9832 and Jim Kingdon (kingdon@cygnus.com)
9833
9834 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9835 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9836 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9837
9838Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9839
9840 * gdb.t17/interrupt.exp: Add xfail for hppa.
9841
9842Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9843
9844 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9845 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9846 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9847 to determine signed-ness of bitfields and use the result to setup
9848 the xfail.
9849 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9850 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9851 call line is reached if necessary.
9852
9853Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9854
9855 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9856
9857Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9858
9859 * gdb.t06/break.exp: Also test `clear' command.
9860
9861Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9862
9863 * gdb.t00/teststrategy.exp: Remove extra quote.
9864
9865 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9866 watchpoint enabled to be for all non-68k machines.
9867
9868 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9869
9870Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9871
9872 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9873 targets use aout.mt instead of ecoff.mt as gas understands
9874 standard aout format.
9875
9876Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9877
9878 * lib/gdb.exp (runto): Don't insist that function we are running to
9879 was compiled with -g.
9880
9881 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9882
9883 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9884 to get back into the read system call.
9885 Accept leading newline in case where we woke it up.
9886
9887Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9888
9889 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9890 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9891 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9892 enable ecoff configuration.
9893
9894Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9895
9896 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9897
9898Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9899
9900 * gdb.t16/printcmds.exp: Add another printf test.
9901
9902Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9903
9904 * configure.in: If configured -with-stabs on any target, add
9905 stabsdirs to configdirs.
9906
9907Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9908
9909 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9910 fun" so pattern does not match the command itself.
9911
9912Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9913
9914 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9915
9916Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9917
9918 * gdb.t17/interrupt.exp: Test for more things.
9919
9920Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9921
9922 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9923 compiler arranges the code and line numbers.
9924
9925 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9926
9927Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9928
9929 * gdb.t00/help.exp: Increase expect input buffer size.
9930
9931Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9932
9933 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9934
9935 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9936
9937 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9938
9939 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9940 [0-9]*, not just [0-9].
9941
9942Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9943
9944 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9945
9946 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9947
9948Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9949
9950 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9951
9952Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9953
9954 * gdb.t06/signals.c: Add xfails for sun3.
9955
9956 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9957
9958 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9959 test_stepping tests.
9960
9961Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9962
9963 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9964
9965 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9966
9967 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9968 rather than actually putting it through cpp twice.
9969
9970 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9971
9972Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9973
9974 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9975 no longer needed.
9976
9977Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9978
9979 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9980
9981 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9982 C++ features prints as "struct", make it a pass, not an xfail.
9983
9984Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9985
9986 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9987 Don't require VA to print as "class" rather than "struct".
9988
9989Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9990
9991 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9992
9993Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9994
9995 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9996
9997Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9998
9999 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10000 order.
10001
10002Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10003
10004 * gdb.t16/printcmds.exp: Add printf tests.
10005
10006 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10007
10008 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10009
10010Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10011
10012 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10013 pass counts, to counteract any existing or future setup_xfails.
10014
10015Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10016
10017 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10018 {BEGIN,END}_COMMON for common block instead of STAB.
10019 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10020
10021 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10022 intp_var should be N_GSYM not N_LSYM.
10023 wierd-aout.S: Use a label for the value of the N_SO.
10024 wierd.def: Remove all backslashes.
10025 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10026
10027Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10028
10029 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10030 get the expected next to inheritance3.
10031
10032Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10033
10034 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10035 now that gcc-2.4 gets it right.
10036
10037Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10038
10039 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10040
10041 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10042 generating comp-info.exp which works for cross-compilation.
10043
10044Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10045
10046 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10047 "*-*-sysv4.*".
10048
10049Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10050
10051 * gdb.t01/run.exp: Start with a fresh gdb.
10052 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10053 SVR4.x.
10054
10055Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10056
10057 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10058 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10059 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10060 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10061 things to remove.
10062
10063Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10064
10065 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10066 test cases from bug reports.
10067
10068Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10069
10070 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10071 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10072 avoid spurious xfails.
10073 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10074 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10075 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10076
10077Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10078
10079 * gdb.t00/teststrategy.exp: Rework to provide more useful
10080 description of each test, fix problem with systems that define
10081 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10082 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10083 results for "next over recursive call" so timeouts aren't taken
10084 by error.
10085
10086Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10087
10088 * gdb.t12/scope.exp: Test printing of variables before run.
10089
10090 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10091 printed in wrong order due to sorting.
10092
10093Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10094
10095 * gdb.t00/teststrategy.exp: Fix expected results for printing
10096 user entered string constant. Is array of char, prints with no
10097 address.
10098
10099 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10100 commands.
10101 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10102 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10103 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10104 of struct of char arrays.
10105 * gdb.t00/radix.exp: New tests for radix commands.
10106
10107Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10108
10109 * gdb.t16/printcmd.exp: Print a variable before running program
10110 (with xfail for AIX).
10111
10112Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10113
10114 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10115
10116 * gdb.t16/printcmd.exp: Don't print variables before running program.
10117
10118 * gdb.t06/break.exp: Don't require envp argument to main.
10119
10120 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10121
10122 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10123 Add xfails for rs6000.
10124
10125 * gdb.t02/whatis.exp: Change other tests not to re-test something
10126 we already tested.
10127
10128 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10129 each type used has a variable of that type.
10130
10131Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10132
10133 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10134
10135Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10136
10137 * configure.in: change srctrigger to be a file, not a directory
10138
10139Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10140
10141 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10142
10143 * gdb.t11/list.exp: Fixed a couple of typos.
10144
10145Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10146
10147 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10148 is fixed and PR is closed.
10149 * gdb.t16 (gdbme.c): Add simple test string variable.
10150 * gdb.t16 (printcmds.exp): Add tests with simple test string
10151 variable, primarily for boundaries on "set print elements".
10152
10153Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10154
10155 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10156 Make leading 0's optional and don't expect a tab in the middle
10157 of the number.
10158
10159 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10160
10161 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10162 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10163 don't end command passed to gdb_test with newline.
10164
10165 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10166 signed keyword away, don't expect signed bitfields to be signed.
10167
10168 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10169 printing with only as many 1's as are in the field as well as printing
10170 with 32 1's (see comment).
10171
10172Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10173
10174 * gdb.t00/default.exp: Start with a fresh gdb.
10175 * configure.in (configdirs): Remove gdb.t31 until the chill
10176 compiler works again. It no longer is able to find chillrt0
10177 since it isn't in libchill.a anymore.
10178 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10179 wierd.o, make more modular.
10180 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10181 spurious newlines that caused problems.
10182
10183Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10184
10185 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10186 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10187 gdb.stabs/wierd.{exp,def}: Many new tests.
10188
10189 * gdb.t00/default.exp: update info line for new message.
10190
10191 * gdb.t02/{whatis.exp,gdbme.c}:
10192 Test that "char *" doesn't print as "caddr_t".
10193
10194Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10195
10196 * gdb.t00/help.exp: Use .* in place of some help messages which
10197 just changed.
10198 gdb.t00/default.exp: Update "info frame" test for new message.
10199 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10200 Remove some xfails
10201
10202Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10203
10204 * gdb.t03/{gdbme.c,ptype.exp}:
10205 Add tests for typedef'd struct and union without tags.
10206 Also check "whatis" on a variable of a typedef'd enum without a tag.
10207
10208 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10209 PRMS 1823; the bug still exists but isn't reproduced by this test
10210 anymore), and remove rs6000 XFAIL (the bug is fixed).
10211
10212 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10213 duplicated from whatis.exp. For those that are left, accept
10214 "long", "long int", or "int" for long variables (whatis.exp already
10215 has an XFAIL for "int", so no need to fail it here).
10216
10217 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10218 Deal with GCC's names for types now that GDB uses the compiler's names.
10219
10220 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10221 setup_xfail's for sunos4. If we #defined the signed keyword away,
10222 don't expect GDB to know that char it is signed.
10223
10224 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10225
10226Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10227
10228 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10229 should work on any system, regardless of debugging format.
10230 * gdb.t21/demangle.exp: Move to gdb.t24.
10231 * gdb.t24/demangle.exp: Move from gdb.t21.
10232 * gdb.t24/{Makefile.in, configure.in}: New files.
10233
10234Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10235
10236 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10237 * gdb.stabs: New directory.
10238
10239Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10240
10241 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10242 not just "Quit anyway?".
10243
10244Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10245
10246 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10247 that all setup_xfails are immediately followed by clear_xfails.
10248
10249Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10250
10251 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10252 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10253 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10254 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10255 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10256 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10257 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10258 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10259 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10260 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10261 gdb.t31/chillvars.exp, lib/gdb.exp:
10262 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10263 bug-gdb@prep.ai.mit.edu.
10264
10265Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10266
10267 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10268 with 0.0, not integer 0.
10269
10270Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10271
10272 * gdb.t06/break.exp: Update for "Kill the program" message change.
10273
10274Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10275
10276 * Makefile.in (GDBFLAGS): Set to -nx.
10277 * Makefile.in (site.exp): Use GDBFLAGS.
10278
10279Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10280
10281 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10282 Makefiles.
10283 (check): depend on just-check.
10284 (just-check): added so that tests can be run without a noop
10285 build pass.
10286
10287Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10288
10289 Switch to using configure's configdirs.
10290 * Makefile.in (Makefile): add configure.in dependency.
10291 (SUBDIRS): removed redundant assignment.
10292 * configure.in: switch subdirs assignment to configdirs.
10293 * gdb.t*/configure.in: new files.
10294
10295Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10296
10297 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10298 works.
10299
10300Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10301
10302 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10303 in explicit rules. Apparently this is not supported by some makes.
10304
10305Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10306
10307 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10308
10309Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10310
10311 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10312 disappeared.
10313
10314Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10315
10316 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10317
10318Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10319
10320 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10321 watchpoint problem that is now fixed.
10322 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10323 uninitialized convenience variables.
10324 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10325 structures.
10326
10327Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10328
10329 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10330 which causes expect to get out of sync with gdb on long output
10331 from help set.
10332 * gdb.t09/corefile.exp: Make expected pattern for core file
10333 failing signal and frame output format less sun specific.
10334
10335Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10336
10337 * gdb.t31/chillvars.exp: Add and remove initial dummy
10338 breakpoint, so that symbol table is forced in.
10339 (Needed at least on Sunos4, though it seems not SVR4.)
10340 * gdb.t31/chillvars.exp: Update for changed output format.
10341
10342Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10343
10344 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10345
10346Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10347
10348 * Makefile.in: Added --srcdir when invoking runtest, removed the
10349 need for a local config file. (optional now)
10350
10351Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10352
10353 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10354 failure count used to force early termination. Add some more
10355 expected failures for gnu style demangling.
10356
10357Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10358
10359 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10360 pmi variable from gdb.t20/gdbme to get optimized away.
10361 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10362 Check for written corefile upon timeout _and_ eof.
10363
10364Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10365
10366 * config/unix-gdb.exp: Add missing return 0.
10367
10368Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10369
10370 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10371 test termination.
10372
10373Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10374
10375 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10376 disappeared.
10377
10378Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10379
10380 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10381 time as i860 support works.
10382
beb998c6 10383 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10384 "backtrace 100\r" rather than just "backtrace\r", to match last
10385 change.
10386
10387Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10388
10389 * config/udi-gdb.exp (gdb_exit): Remove close command.
10390 (gdb_target_udi): New procedure to set the UDI target.
10391 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10392 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10393 Added waits for prompts after several question responses. Added
10394 some more responses used by a29k-amd-udi-gdb.
10395 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10396 pass different arguments, restart UDI connection after program
10397 completion.
10398 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10399 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10400 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10401 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10402 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10403 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10404 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10405 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10406 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10407 after program completion.
10408 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10409 compiled with a SELECT_VECS setting.
10410 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10411 infinite recursion.
10412
10413 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10414 Added checks for COFF results, and made them expected failures for
10415 all targets. It would be better to make them expected failures
10416 for COFF targets only.
10417
10418Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10419
10420 * Makefile.in: add null dvi target, don't bother to recurse
10421 through test directories for info and install-info; rename
10422 $(datadir) to be dejagnu instead of deja-gnu
10423
10424Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10425
10426 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10427 compiler to coredump.
10428 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10429 code.
10430
10431Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10432
10433 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10434 coredump.
10435 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10436 code.
10437
10438Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10439
10440 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10441 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10442 which in a shell. Deletes xgdb when done.
10443 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10444 Tests the return from the "set height" or "set width" commands.
10445 Added a few return codes where needed.
10446
10447Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10448
10449 * Makefile.in (SUBDIRS): Add gdb.t17.
10450 * configure.in (subdirs): Add gdb.t17.
10451 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10452 files to test gdb's calling of functions in the inferior with
10453 the correct arguments and gdb's ability to retrieve any
10454 result returned.
10455
10456Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10457
10458 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10459 may be called after gdb goes away. Previous versions of expect
10460 needed these to avoid file descriptor leaks, but they cause
10461 errors with the current revision of expect.
10462 * gdb.t00/gdbvars.exp: Use -re on expected output after
10463 setting sevenbit-strings.
10464 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10465 to set sevenbit-strings consistent across tests.
10466 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10467 set sevenbit-strings consistent across tests.
10468
10469Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10470
10471 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10472 expected output to match current "expect" expectations.
10473
10474Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10475
10476 * gdb.t00/default.exp: Change expected output for default "source"
10477 command, to match new gdb behavior which requires a filename to
10478 source.
10479
10480Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10481
10482 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10483 expected fail for i486-*-* that misses the marker2 function.
10484 * gdb.t10/crossload.exp (bfddefault): Allow successful
10485 recognition of a format to pass even if no symbols are found.
10486 Explicitly catch failures where the format is not recognized
10487 or is ambiguous, and add the reason to the fail message.
10488 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10489 the cause is and invalid target and add reason to failure message.
10490 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10491 elf32-i386, elf32-sparc, and elf32-i860.
10492 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10493 Set up expected failure for 'filename'::variable scope resolution,
10494 which is now apparently broken on all targets.
10495 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10496 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10497 gdb.t23/templates.exp: Change failure for missing binfile into
10498 just a warning.
10499 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10500 references.
10501
10502Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10503
10504 * gdb.t00/default.exp: Add expected output for default "source"
10505 command, to match new gdb behavior.
10506 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10507
10508Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10509
10510 * config/*-gdb.exp: returns an error, rather than exiting on
10511 internal errors.
10512
10513Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10514
10515 * gdb.t03/gdbme.c: Add pointer to struct variable.
10516 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10517 referencing struct members.
10518
10519Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10520
10521 * configure.in (mips-idt-ecoff): New target.
10522 * config/mips-gdb.exp: New file for remote board using MIPS remote
10523 debugging protocol.
10524
10525 * Redid configuration scheme. Removed gdb.t*/configure.in.
10526 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10527 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10528 distclean targets. Built executables via .o files. Adjusted
10529 tests to account for source files in $(srcdir) rather than
10530 $(objdir).
10531 * lib/gdb.exp (runto): Don't expect () after the function name,
10532 because it may have arguments.
10533
10534Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10535
10536 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10537 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10538 expected failures for mips-idt-* and mips-sgi-*.
10539 * gdb.t00/default.exp (attach): Kill process if requested.
10540 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10541 that does not read core files.
10542 * gdb.t01/run.exp: Removed checks for exit status code.
10543 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10544 it is linked in.
10545 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10546 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10547 appropriate, rather than doing it by hand.
10548 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10549 execution.
10550 * gdb.t10/crossload.exp: Kill existing program if needed.
10551 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10552 appropriate, rather than doing it by hand. Always increase
10553 timeout for this test, not just for VxWorks.
10554
10555Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10556
10557 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10558 of Chill STRUCT types and STRUCT values.
10559 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10560 than "char".
10561 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10562 struct2): New struct definitions and initializations to test
c906108c
SS
10563 simple Chill STRUCT types.
10564
10565Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10566
10567 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10568 the null byte at the end of strings.
10569 * gdb.t00/default.exp: Make show version insensitive to copyright
10570 date.
10571 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10572 to avoid dependencies on target char signedness.
10573 * gdb.t16/printcmds.exp: Update expected results for explicitly
10574 unsigned char.
10575 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10576 now work.
10577 * gdb.t21/demangle.exp: Add many more patterns for template
10578 demangling, most of them being expected failures.
10579 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10580 string we are matching for, to match on the whole string.
10581 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10582 and fix a whole bunch that had incorrect expected output but were
10583 passing anyway because of the bug in "proc demangle".
10584 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10585 type.
10586 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10587
10588Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10589
10590 * gdb/testsuite: made modifications to testcases, etc., to allow
10591 them to work properly given the reorganization of deja-gnu and the
10592 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10593
10594Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10595
10596 * gdb/testsuite: Initial creation of gdb/testsuite.
10597 Migrated dejagnu testcases and support files for testing nm to
10598 gdb/testsuite from deja-gnu. These files were moved "as is"
10599 with no modifications. This migration is part of a major overhaul
10600 of dejagnu. The modifications to these testcases, etc., which
10601 will allow them to work with the new version of dejagnu will be
10602 made in a future update.
10603\f
10604Local Variables:
ef043731 10605mode: change-log
c906108c
SS
10606left-margin: 8
10607fill-column: 74
10608version-control: never
10609End:
This page took 0.815817 seconds and 4 git commands to generate.