]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2003-10-06 Andrew Cagney <cagney@redhat.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
c9d37158
DJ
12003-09-29 Daniel Jacobowitz <drow@mvista.com>
2
3 * ChangeLog: Correct an entry command.exp -> commands.exp.
4 * gdb.base/commands.exp (bp_deleted_in_command_test)
5 (temporary_breakpoint_commands): Check noargs.
6
79c2c32d
DC
72003-09-25 David Carlton <carlton@kealia.com>
8
9 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
10 of some print tests, where appropriate. Add tests for C::D::cd,
11 E::ce, F::cXfX, G::XgX.
12 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13
594e6d67
RE
142003-09-25 Richard Earnshaw <rearnsha@arm.com>
15
16 * lib/java.exp (java_init): Import target_alias before using it.
17
10f0d451
DC
182003-09-25 David Carlton <carlton@kealia.com>
19
20 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
21
274bcba0
EZ
222003-09-23 Elena Zannoni <ezannoni@redhat.com>
23
24 * gdb.base/selftest.exp: Accomodate more instruction reordering
25 weirdness.
26
cdbf20f7
MC
272003-09-17 Michael Chastain <mec@shout.net>
28
29 * gdb.cp/gdb1355.exp: New file.
30 * gdb.cp/gdb1355.c: New file.
31
71e06f80
CV
322003-09-15 Corinna Vinschen <vinschen@redhat.com>
33
34 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
35 * gdb.asm/sh.inc: New file.
36
5c4e30ca
DC
372003-09-11 David Carlton <carlton@kealia.com>
38
bd45b7af
DC
39 * gdb.cp/namespace.exp: Add tests for namespace types.
40 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
41 (test_namespace): New.
42
1c199746
EZ
432003-09-11 Elena Zannoni <ezannoni@redhat.com>
44
45 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 46 * gdb.stabs/weird.exp: Ditto.
1c199746 47
04ed252f
MC
482003-09-08 Michael Chastain <mec@shout.net>
49
50 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
51
d8a2d9e7
MC
522003-09-07 Michael Chastain <mec@shout.net>
53
54 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
55 'parse error'.
56
161afb24
MK
572003-09-07 Mark Kettenis <m.kettenis@osp.nl>
58
59 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
60
49f2741a
MC
612003-08-30 Michael Chastain <mec@shout.net>
62
63 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
64 * gdb.gdb/observer.exp: Ditto.
65 * gdb.gdb/xfullpath.exp: Ditto.
66
8afa723e
MK
672003-08-29 Mark Kettenis <kettenis@gnu.org>
68
69 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
70 *-*-*bsd*.
71
f31dfe3b
JJ
722003-08-28 Jeff Johnston <jjohnstn@redhat.com>
73
74 * gdb.base/dump.exp: Skip for ia64.
75
4630e498
JJ
762003-08-25 Jeff Johnston <jjohnstn@redhat.com>
77
78 * gdb.asm/asm-source.exp: Add ia64 support.
79 * gdb.asm/ia64.inc: New file.
80
1105b7ef
MC
812003-08-22 Michael Chastain <mec@shout.net>
82
83 * gdb.cp: New directory.
84 * gdb.cp/*: Copy from gdb.c++/*.
85 * gdb.c++/*: Remove.
86 * Makefile.in: Change gdb.c++ to gdb.cp.
87 * configure.in: Ditto.
88 * configure: Regnerate.
89
c945b932
MK
902003-08-18 Mark Kettenis <kettenis@gnu.org>
91
92 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
93 * gdb.arch/i386-prologue.c (gdb1338): Add function.
94
2b66634b
DJ
952003-08-17 Daniel Jacobowitz <drow@mvista.com>
96
97 * mi-var-display.exp (-var-list-children weird): Accept function
98 pointers with argument types.
99 * mi1-var-display.exp (-var-list-children weird): Likewise.
100 * mi2-var-display.exp (-var-list-children weird): Likewise.
101
a356f73b
DJ
1022003-08-17 Daniel Jacobowitz <drow@mvista.com>
103
104 * gdb.base/annota3.exp: Add missing newline.
105
483417b8
MC
1062003-08-06 Michael Chastain <mec@shout.net>
107
108 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
109
c99c59c3
MS
1102003-08-12 Michael Snyder <msnyder@redhat.com>
111
112 * gdb.base/float.exp: Add test for SH.
113
55ed7501
MK
1142003-08-10 Mark Kettenis <kettenis@gnu.org>
115
116 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
117
1a371f2e
EZ
1182003-08-07 Elena Zannoni <ezannoni@redhat.com>
119
120 * gdb.base/completion.exp: Remove reduntant completion test
121 on filename.
122
e0f353ce
EZ
1232003-08-07 Elena Zannoni <ezannoni@redhat.com>
124
125 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
126 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
127 gdb.trace/save-trace.exp: Make sure that full pathnames are
128 escaped correctly.
129
5710a1af
EZ
1302003-08-07 Elena Zannoni <ezannoni@redhat.com>
131
132 * configure.in: Don't generate config.h from config.hin.
133 * configure: Regenerate.
134 * config.hin: Remove file.
135 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
136 * gdb.threads/pthreads.c: Ditto.
137
dcd81ce9
DJ
1382003-08-07 Daniel Jacobowitz <drow@mvista.com>
139
140 From Kei Sakamoto <sakamoto.kei@renesas.com>:
141 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
142 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
143 Replace ld24 with seth/add3.
144
6009d884
AC
1452003-08-02 Andrew Cagney <cagney@redhat.com>
146
147 * gdb.base/annota3.exp: New file.
148 * gdb.base/annota3.c: New file.
149 * gdb.c++/annota3.exp: New file.
150 * gdb.c++/annota3.cc: New file.
151
51514e06
MC
1522003-07-29 Michael Chastain <mec@shout.net>
153
154 * gdb.threads/tls.c (spin): Check errno only if sem_wait
155 actually failed.
156 (do_pass): Likewise.
157 * gdb.threads/tls.exp: Always initialize no_of_threads.
158
4ee6625b
DJ
1592003-07-27 Daniel Jacobowitz <drow@mvista.com>
160
161 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
162 pattern.
163 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
164 * gdb.threads/tls.exp: Recognize one case of the host library not
165 supporting TLS.
166
225f2bf6
AC
1672003-07-27 Andrew Cagney <cagney@redhat.com>
168
169 * gdb.base/fileio.exp: Use SH when running commands using
170 remote_exec.
171
bcb27c9f
DJ
1722003-07-24 Daniel Jacobowitz <drow@mvista.com>
173
174 From Kei Sakamoto <sakamoto.kei@renesas.com>:
175 * gdb.base/relocate.c (dummy): New padding array.
176
3d67be83
MS
1772003-07-22 Michael Snyder <msnyder@redhat.com>
178
179 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
180
181 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
182 patterns to be more general, accepting old and new output.
183 Some output chars (such as '+') also must be quoted.
184 Some addresses are displayed numerically instead of
185 symbolically.
186
57ba3b85
MS
1872003-07-23 Michael Snyder <msnyder@redhat.com>
188
686d097c
MS
189 * gdb.base/return2.exp: Don't test long-long return.
190
57ba3b85
MS
191 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
192 * gdb.disasm/t01_mov.exp: Ditto.
193 * gdb.disasm/t02_mova.s: Ditto.
194 * gdb.disasm/t02_mova.exp: Ditto.
195 * gdb.disasm/t03_add.s: Ditto.
196 * gdb.disasm/t03_add.exp: Ditto.
197 * gdb.disasm/t04_sub.s: Ditto.
198 * gdb.disasm/t04_sub.exp: Ditto.
199 * gdb.disasm/t05_cmp.s: Ditto.
200 * gdb.disasm/t05_cmp.exp: Ditto.
201 * gdb.disasm/t06_ari2.s: Ditto.
202 * gdb.disasm/t06_ari2.exp: Ditto.
203 * gdb.disasm/t07_ari3.s: Ditto.
204 * gdb.disasm/t07_ari3.exp: Ditto.
205 * gdb.disasm/t08_or.s: Ditto.
206 * gdb.disasm/t08_or.exp: Ditto.
207 * gdb.disasm/t09_xor.s: Ditto.
208 * gdb.disasm/t09_xor.exp: Ditto.
209 * gdb.disasm/t10_and.s: Ditto.
210 * gdb.disasm/t10_and.exp: Ditto.
211 * gdb.disasm/t11_logs.s: Ditto.
212 * gdb.disasm/t11_logs.exp: Ditto.
213 * gdb.disasm/t12_bit.s: Ditto.
214 * gdb.disasm/t12_bit.exp: Ditto.
215 * gdb.disasm/t13_otr.s: Ditto.
216 * gdb.disasm/t13_otr.exp: Ditto.
217
e00759ef
EZ
2182003-07-22 Elena Zannoni <ezannoni@redhat.com>
219
220 * gdb.threads/tls.exp :Add kfail for 'info address' case.
221
8bc2021f
EZ
2222003-07-22 Elena Zannoni <ezannoni@redhat.com>
223
224 * gdb.threads/tls.c : New file.
225 * gdb.threads/tls.exp : New file.
226 * gdb.threads/tls-main.c : New file.
227 * gdb.threads/tls-shared.c : New file.
228 * gdb.threads/tls-shared.exp : New file.
229
89320c4c
AS
2302003-07-22 Andreas Schwab <schwab@suse.de>
231
232 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
233
180dea7c
AS
2342003-07-20 Andreas Schwab <schwab@suse.de>
235
236 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
237 due to insn reordering.
238
0714963c
AC
2392003-07-15 Andrew Cagney <cagney@redhat.com>
240
241 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
242
98a23b3f
MC
2432003-07-15 Michael Chastain <mec@shout.net>
244
245 * gdb.base/gdb1250.exp: New file.
246 * gdb.base/gdb1250.c: New file.
247
27e417a2
ML
2482003-07-09 Michal Ludvig <mludvig@suse.cz>
249
250 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
251 expansion of size_t to 'unsigned long', not only to 'unsigned'.
252
8bc2021f
EZ
2532003-07-09 Elena Zannoni <ezannoni@redhat.com>
254
255 * gdb.threads/tls.c: New file.
256 * gdb.threads/tls.exp: New file.
257 * gdb.threads/tls-main.c: New file.
258 * gdb.threads/tls-shared.c: New file.
259 * gdb.threads/tls-shared.exp: New file.
260
d99968dc
EZ
2612003-07-09 Elena Zannoni <ezannoni@redhat.com>
262
263 * gdb.base/annota1.exp: Make sure that we properly escape the
264 full path of the source file. Xfail more permissive patterns,
265 due to a compiler debug info problem.
266
83876b3b
AS
2672003-07-07 Andreas Schwab <schwab@suse.de>
268
2705e972
AS
269 * gdb.asm/m68k.inc: New file.
270 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
271
83876b3b
AS
272 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
273 arguments"): Also match negative number.
274
275 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
276
3a871b37
DJ
2772003-07-03 Daniel Jacobowitz <drow@mvista.com>
278
279 * gdb.base/store.c (charest): New typedef.
280 (add_char): Rename to add_charest, update.
281 (wack_char): Rename to wack_charest, update types. Return l + r
282 to keep r live across the call.
283 (wack_short, wack_int, wack_long, wack_longest, wack_float)
284 (wack_double, wack_doublest): Return l + r to keep r live across
285 the call.
286 * gdb.base/store.exp: Accomodate store.c changes.
287
b2a7f303
DC
2882003-06-30 David Carlton <carlton@kealia.com>
289
290 * gdb.c++/maint.exp (test_invalid_name): New.
291 (test_first_component): Add tests for invalid names.
292
3c6cb4a1
MC
2932003-06-29 Michael Chastain <mec@shout.net>
294
295 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
296 output of '<VTT for class>' for virtual base classes.
297
f1c2644b
DJ
2982003-06-29 Daniel Jacobowitz <drow@mvista.com>
299
300 * gdb.base/completion.exp: Tab-complete "complet" instead of
301 "compl".
302 * gdb.base/complex.exp, gdb.base/complex.c: New files.
303
18080350
DJ
3042003-06-29 Daniel Jacobowitz <drow@mvista.com>
305
306 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
307 * gdb.base/volatile.exp: Likewise.
308
f56973f8
DJ
3092003-06-29 Daniel Jacobowitz <drow@mvista.com>
310
311 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
312 gdb/1265.
313
3142003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
315 Daniel Jacobowitz <drow@mvista.com>
316
317 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
318 initial line count of 'captured_main' from 26 to 32.
319 (test_with_self): Allow xmalloc call to be interleaved with the
320 preceding two lines.
321
e766d4d6
JB
3222003-06-24 Joel Brobecker <brobecker@gnat.com>
323
324 * gdb.base/bang.exp: New testcase.
325
f125c9a4
JB
3262003-06-23 Joel Brobecker <brobecker@gnat.com>
327
328 * gdb.base/langs.exp: Add some tests for the "minimal" language
329 support.
330
6e25beaf
EZ
3312003-06-23 Elena Zannoni <ezannoni@redhat.com>
332
333 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
334 the testcase.
335
2f816dda
DJ
3362003-06-22 Daniel Jacobowitz <drow@mvista.com>
337
338 * gdb.base/relocate.exp: Test add-symbol-file with a variable
339 offset.
340
db5a5748
DJ
3412003-06-22 Daniel Jacobowitz <drow@mvista.com>
342
343 * gdb.c++/pr-1210.cc: New file.
344 * gdb.c++/pr-1210.exp: New file.
345
1df0c130
DJ
3462003-06-21 Daniel Jacobowitz <drow@mvista.com>
347
348 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
349 000-exec-continue.
350
a92feac0
MK
3512003-06-15 Mark Kettenis <kettenis@gnu.org>
352
353 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
354 on *-*-*bsd* instead of *-*-freebsd*.
355
81a58f5b
AC
3562003-06-14 Andrew Cagney <cagney@redhat.com>
357
358 * gdb.base/store.exp: Test longest and doublest. Test all
359 parameters. Weaken return statement match.
360 * gdb.base/store.c: Add longest and doublest - aka long long and
361 long double functions. Put all parameters into local register
362 variables. Use negative values.
363
b257a0d3
AC
3642003-06-14 Andrew Cagney <cagney@redhat.com>
365
366 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
367 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
368 exit status.
369 * gdb.base/fileio.exp: Disable target when nointerrupts and
370 noinferiorio, instead of limiting it to remote. Use remote_exec
371 instead of system.
372
21c38304
JJ
3732003-06-12 Jeff Johnston <jjohnstn@redhat.com>
374
375 * gdb.base/float.exp: Add ia64 support.
376
1bcdb424
CV
3772003-06-12 Corinna Vinschen <vinschen@redhat.com>
378
379 * gdb.base/fileio.exp: Run only on remote targets.
380
6aeb981f
CV
3812003-06-10 Corinna Vinschen <vinschen@redhat.com>
382
383 * gdb.base/fileio.c: New file, testing File-I/O.
384 * gdb.base/fileio.exp: Ditto.
385
53df362e
RG
3862003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
387
388 * gdb.base/shreloc.exp: New file, check symbol values obtained from
389 shared objects after relocation at load time (gdb PR/1132).
390 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
391 as above, part of the shared object relocation test.
392
ffee1b46
MK
3932003-06-08 Mark Kettenis <kettenis@gnu.org>
394
b5ca3722
MK
395 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
396 fully filled history list.
397 * gdb.base/gdb_history: New file.
398
03ed860d
MK
399 * gdb.base/signals.exp: XFAIL "continue to func1" on
400 i*86-*-freebsd*.
401
ffee1b46
MK
402 * gdb.base/attach.exp: When trying to attach to a nonexistent
403 process, make it possible to specify the PID based on the target,
404 and do so for *-*-freebsd*.
405
d80dbb52
RH
4062003-06-02 Richard Henderson <rth@redhat.com>
407
408 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
409
6dd77b81
RH
4102003-06-02 Richard Henderson <rth@redhat.com>
411
412 * gdb.base/selftest.exp: Next over lim_at_start initialization.
413
f6347e16
RH
4142003-06-02 Richard Henderson <rth@redhat.com>
415
416 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
417
2c161407
DJ
4182003-06-01 Daniel Jacobowitz <drow@mvista.com>
419
420 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
421 of globalvar.
422
572eb746
MK
4232003-06-01 Mark Kettenis <kettenis@gnu.org>
424
425 * gdb.asm/asm-source.exp: Check for memory read errors in
426 disassembler test on *BSD too.
427
9e9617a5
RH
4282003-06-01 Richard Henderson <rth@redhat.com>
429
430 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
431 for .frame.
432 (gdbasm_call): Lose ldgp.
433 (gdbasm_startup): Add frame information.
434 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
435
7b34ad4e
MK
4362003-05-31 Mark Kettenis <kettenis@gnu.org>
437
438 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
439 i?86-*-*.
440
10059fdf
MK
4412003-05-30 Mark Kettenis <kettenis@gnu.org>
442
443 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
444 FreeBSD.
445
acf4b816
RH
4462003-05-29 Richard Henderson <rth@redhat.com>
447
448 * gdb.asm/alpha.inc: New file.
449 * gdb.asm/asm-source.exp: Use it.
450
e9ecd949
JB
4512003-05-29 Jim Blandy <jimb@redhat.com>
452
453 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
454 'core.PID'.
455
e3e5a4f3
JB
4562003-05-22 Jim Blandy <jimb@redhat.com>
457
458 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
459 backtrace.
460
72fe3d25
DC
4612003-05-20 David Carlton <carlton@math.stanford.edu>
462
463 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
464 this time.
465
58da2eb2
DC
4662003-05-19 David Carlton <carlton@bactrian.org>
467
468 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
469 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
470
1fcb5155
DC
4712003-05-19 David Carlton <carlton@bactrian.org>
472
473 * gdb.c++/namespace.exp: Add namespace scope and anonymous
474 namespace tests.
475 Bump copyright date.
476 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
477 (main): Call C::D::marker2.
478 * gdb.c++/namespace1.cc: New file.
479
85e85163
JJ
4802003-05-14 Jeff Johnston <jjohnstn@redhat.com>
481
482 Roland McGrath <roland@redhat.com>
483 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
484 there is no manager thread.
485
a25fbfec
JJ
4862003-05-08 Jeff Johnston <jjohnstn@redhat.com>
487
488 * gdb.threads/schedlock.exp: Remove assumption that all threads
489 will run in a particular small time slice. Also ensure we break
490 in one of the child threads rather than the main thread.
491
be375bae
JB
4922003-05-07 Jim Blandy <jimb@redhat.com>
493
09bf6082
JB
494 Add support for assembly source testing on the s390x.
495 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
496 architecture.
497 * gdb.asm/s390x.inc: New file.
498
be375bae
JB
499 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
500 succession of 'if' statements.
501
00905d52
AC
5022003-05-05 Andrew Cagney <cagney@redhat.com>
503
504 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
505
b1e29e33
AC
5062003-05-05 Andrew Cagney <cagney@redhat.com>
507
508 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
509 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
510
e33d66ec
EZ
5112003-05-02 Elena Zannoni <ezannoni@redhat.com>
512
513 * gdb.base/charset.exp: Update based on new behavior of set/show
514 charset commands.
515
2b6fd0d8
AC
5162003-05-01 Andrew Cagney <cagney@redhat.com>
517
518 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
519 variable do not give memory errors.
520
130cacce
AF
5212003-04-30 Adam Fedor <fedor@gnu.org>
522
523 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
524 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
525 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
526 gdb.objc/basicclass.m: : New files
527
528 * lib/gdb.exp (gdb_compile_objc): New procedure.
529
bea71854
DJ
5302003-04-27 Daniel Jacobowitz <drow@mvista.com>
531
532 * gdb.base/signals.exp: Make backtrace tests more specific.
533
0f20eeea
DC
5342003-04-23 David Carlton <carlton@bactrian.org>
535
536 * gdb.c++/maint.exp (test_first_component): Add tests for
537 'operator' in more locations.
538
c8c4d8dc
KB
5392003-04-16 Kevin Buettner <kevinb@redhat.com>
540
541 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
542
3fe60e3c
EZ
5432003-04-16 Elena Zannoni <ezannoni@redhat.com>
544
545 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
546 func marke' instead. Update test name.
547
9219021c
DC
5482003-04-15 David Carlton <carlton@math.stanford.edu>
549
550 * gdb.c++/maint.exp: New file.
551
5dd55bdd
EZ
5522003-04-14 Elena Zannoni <ezannoni@redhat.com>
553
554 * gdb.threads/schedlock.c: Change type of thread function argument
555 to long, to avoid warnings on 64-bit platforms.
556
00890572
EZ
5572003-04-14 Elena Zannoni <ezannoni@redhat.com>
558
559 * gdb.base/attach.exp: Add new message from ptrace in case of
560 attaching to nonexistent process.
561
93201743
JB
5622003-04-11 Jim Blandy <jimb@redhat.com>
563
564 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
565 gdb.c++/userdef.cc: Place comments on the lines to which the
566 marker function might return.
567 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
568 gdb.c++/userdef.exp: Look for those comments to check that we've
569 returned to the right place, instead of checking line numbers.
570
2a11c64d
EZ
5712003-04-11 Elena Zannoni <ezannoni@redhat.com>
572
573 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
574 match on sourcefile name, instead of directory name.
575
68ab8fc5
EZ
5762003-04-10 Elena Zannoni <ezannoni@redhat.com>
577
578 * gdb.base/completion.exp: Use string_to_regexp to match the
579 working directory name.
580
5624293a
JB
5812003-04-09 Jim Blandy <jimb@redhat.com>
582
583 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
584 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
585 after an inferior function call, report the failure, but allow the
586 test to continue.
587
f1f02ee4
SC
5882003-04-05 Stephane Carrez <stcarrez@nerim.fr>
589
590 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
591 with -DPROTOTYPES.
592
6eb79af0
SC
5932003-04-05 Stephane Carrez <stcarrez@nerim.fr>
594
595 * gdb.base/break.exp: Revert last patch.
596
8dfb4cf0
SC
5972003-04-04 Stephane Carrez <stcarrez@nerim.fr>
598
599 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
600 with -DPROTOTYPES.
601
ed4c619a
AC
6022003-04-02 Andrew Cagney <cagney@redhat.com>
603
604 * gdb.base/callfuncs.exp: Make "print add" messages unique.
605 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
606 matching directories by the name breakpoint.
607 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
608 Make "continue to marker1" consistent.
609 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
610 message consistent.
611 * lib/gdb.exp: Put "the program is no longer running", and "the
612 program exited" in parenthesis.
613 * lib/mi-support.exp: Ditto.
614
4e35d5f0
BR
6152003-04-02 Bob Rossi <bob_rossi@cox.net>
616
617 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
618
71900fe8
AC
6192003-03-29 Andrew Cagney <cagney@redhat.com>
620
621 * gdb.base/sizeof.c (main): Print the value of '\377'.
622 * gdb.base/sizeof.exp: Check the sign of '\377'.
623
c0655a16
MC
6242003-03-27 Michael Chastain <mec@shout.net>
625
626 * gdb.base/gdb1090.exp: New file.
627 * gdb.base/gdb1090.cc: New file.
628
5b2a3989
JB
6292003-03-27 J. Brobecker <brobecker@gnat.com>
630
631 * gdb.gdb/observer.exp: New regression test.
632
79876890
MC
6332003-03-27 Michael Chastain <mec@shout.net>
634
635 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
636 * gdb.base/ptype.exp: Likewise.
637
6eac95e3
CV
6382003-03-27 Corinna Vinschen <vinschen@redhat.com>
639
640 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
641
e8c71839
MC
6422003-03-26 Michael Chastain <mec@shout.net>
643
644 * gdb.base/ptype.exp: Actually use some typedef'd types.
645
71b10041
SC
6462003-03-21 Stephane Carrez <stcarrez@nerim.fr>
647
648 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
649 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
650
2512cf80
CV
6512003-03-20 Corinna Vinschen <vinschen@redhat.com>
652
653 * gdb.base/default.exp: Fix regular expression.
654
0d195a4f
CV
6552003-03-20 Corinna Vinschen <vinschen@redhat.com>
656
657 * gdb.base/args.exp: Fix regular expression.
658
8a2dbca8
CV
6592003-03-20 Corinna Vinschen <vinschen@redhat.com>
660
661 * gdb.base/help.exp: Allow Win32 child process.
662
bf028682
CV
6632003-03-20 Corinna Vinschen <vinschen@redhat.com>
664
665 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
666 when stepping out of main().
667
182dbe85
CV
6682003-03-20 Corinna Vinschen <vinschen@redhat.com>
669
670 * gdb.base/default.exp: Check for win32 specific message when calling
671 "run" without executable.
672
d67a6ba5
CV
6732003-03-20 Corinna Vinschen <vinschen@redhat.com>
674
675 * gdb.base/args.exp: Expect .exe in output.
676
a955b5bb
CV
6772003-03-20 Corinna Vinschen <vinschen@redhat.com>
678
679 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
680 Cygwin native.
681
bf6bad4b
AC
6822003-03-17 Andrew Cagney <cagney@redhat.com>
683
684 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
685 vector registes.
686 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
687 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
688
293e9a31
DC
6892003-03-17 David Carlton <carlton@math.stanford.edu>
690
691 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
692 test, for PR breakpoints/38.
693 Call test_watchpoint_and_breakpoint.
694 * gdb.base/watchpoint.c (func3): New function.
695 (main): Call func3.
696
5330f2db
DC
6972003-03-04 David Carlton <carlton@math.stanford.edu>
698
699 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
700 Garply<Garply<char> >:: garply".
701 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
702 with respect to PR c++/1111; note also PR c++/1113.
703 (test_template_breakpoints): KFAIL "constructor breakpoint" with
704 respect to PR c++/1062.
705 KFAIL "destructor breakpoint" with respect to PR c++/1112.
706
6ece72da
DC
7072003-03-03 David Carlton <carlton@math.stanford.edu>
708
709 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
710 with respect to PR c++/57.
711 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
712 c++/826.
713 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
714 respect to PR c++/57.
715
85ca1584
DC
7162003-03-03 David Carlton <carlton@math.stanford.edu>
717
718 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
719 respect to PR c++/33 into FAILs.
720
98e9c5b8
MC
7212003-03-03 Michael Chastain <mec@shout.net>
722
7bedbf27
MC
723 * configure.in: Update copyright years.
724
7252003-03-03 Michael Chastain <mec@shout.net>
726
727 * Makefile.in: Update copyright years.
98e9c5b8 728
f683e100
DC
7292003-02-28 David Carlton <carlton@math.stanford.edu>
730
731 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
732 print class instead of struct and/or superfluous protection
733 specifiers, as long as the resulting output is equivalent to the
734 source code.
735 Delete FIXME from end of messages on tests that don't need
736 fixing.
737
a9e0cf2c
DC
7382003-02-28 David Carlton <carlton@math.stanford.edu>
739
740 * gdb.c++/templates.exp (do_tests): Allow const in the two
741 Foo<volatile char *>::foo tests.
742
e8d359df
MS
7432003-02-27 Michael Snyder <msnyder@redhat.com>
744
745 * gdb.base/restore.c (main): Return zero, so exit code
746 will be consistant.
747
0b71dc91
DC
7482003-02-26 David Carlton <carlton@math.stanford.edu>
749
750 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
751 char *>::foo" test with respect to PR c++/33. Create a new test
752 which is identical to that one except that it doesn't put the
753 space between the "char" and the "*"; KFAIL it, too.
754
dd14ab43
DC
7552003-02-26 David Carlton <carlton@math.stanford.edu>
756
757 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
758 template types into either PASSes or KFAILs (corresponding to PR
759 c++/57). Tweak indentation. Update copyright.
760
1146c7f1
SC
7612003-02-23 Stephane Carrez <stcarrez@nerim.fr>
762
763 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
764
74641dfb
MC
7652003-02-13 Michael Chastain <mec@shout.net>
766
767 * gdb.base/exprs.exp: Remove i960 remnants.
768 * gdb.base/funcargs.exp: Likewise.
769 * gdb.base/list.exp: Likewise.
770 * gdb.base/ptype.exp: Likewise.
771
559cd2d0
DC
7722003-02-14 David Carlton <carlton@math.stanford.edu>
773
774 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
775 pEe->D::vg()" from XFAIL to KFAIL.
776
c4f90d87
JM
7772003-02-13 Jason Molenda (jmolenda@apple.com)
778
779 * gdb.base/maint.exp: Update maint print statistics regexp to include
780 new entries.
781
cbc4d97c
MC
7822003-02-13 Michael Chastain <mec@shout.net>
783
784 * gdb.c++/inherit.exp: Remove call to get_debug_format.
785
40f235b7
MC
7862003-02-12 Michael Chastain <mec@shout.net>
787
788 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
789 * gdb.c++/inherit.exp: Likewise.
790 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
791 * gdb.c++/templates.exp: Likewise.
792 * gdb.c++/virtfunc.exp: Likewise.
793
c56716b0
JM
7942003-02-06 Jason Molenda (jason-cl@molenda.com)
795
796 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
797 why the code is written that way.
798
070afcf8
MC
7992003-02-05 Michael Chastain <mec@shout.net>
800
801 * gdb.base/dump.exp: Add missing copyright line.
802
5d0331e5
JM
8032003-02-05 Jason Molenda (jason-cl@molenda.com)
804
f7ae6d3e 805 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
806 at the beginning so the breakpoint doesn't get set on the loop.
807
92851186
MC
8082003-02-05 Michael Chastain <mec@shout.net>
809
810 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
811 output for configurations with gcc 2.95.3.
812
cbf1e085
AC
8132003-02-05 Keith Seitz <keiths@redhat.com>
814 Andrew Cagney <ac131313@redhat.com>
815
816 * gdb.mi/mi-cli.exp: New file.
817
29518e1e
MC
8182003-02-04 Michael Chastain <mec@shout.net>
819
820 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
821 Call perror and then continue.
822
5af1d5f3
MC
8232003-02-03 Michael Chastain <mec@shout.net>
824
825 * gdb.c++/pr-1023.cc: New file.
826 * gdb.c++/pr-1023.exp: New file.
827
6b549786
JB
8282003-02-05 Jim Blandy <jimb@redhat.com>
829
830 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
831 it's local to foobar. Check for it there, and check that it's not
832 present in main.
833 * gdb.c++/local.cc (marker2): New function.
834 (foobar): Call marker1.
835 (main): Call marker2 instead of marker1.
836
67f16606
AC
8372003-02-04 Andrew Cagney <ac131313@redhat.com>
838
839 * gdb.disasm/mn10200.exp: Obsolete file.
840 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
841 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
842 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
843
1c5cb38e
DC
8442003-02-04 David Carlton <carlton@math.stanford.edu>
845
846 * gdb.c++/overload.exp: Test intToChar(1).
847 * gdb.c++/overload.cc (intToChar): New.
848 (main): Call intToChar.
849
d1fe6965
DC
8502003-02-03 David Carlton <carlton@math.stanford.edu>
851
852 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
853 'might_kfail' arg.
854 KFAIL some of the continue_to_bp_overloaded calls, according to
855 PR c++/1025.
856
9ba61c5d
MC
8572003-02-01 Michael Chastain <mec@shout.net>
858
859 * gdb.base/advance.c (marker1): New marker function.
860 * gdb.base/advance.exp: When the 'advance' command lands on the
861 return breakpoint, it can legitimately stop on either the
862 current line or the next line. Accommodate both outcomes.
863 * gdb.base/until.exp: Likewise.
864
e7494ffb
AC
8652003-02-02 Andrew Cagney <ac131313@redhat.com>
866
867 2002-11-10 Jason Molenda (jason-cl@molenda.com):
868 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
869 now a list, not a tuple.
870 * gdb.mi/mi-var-display.exp: Ditto.
871 * gdb.mi/gdb792.exp: Ditto.
872
075559bc
AC
8732003-02-01 Andrew Cagney <ac131313@redhat.com>
874
875 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
876 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
877 stack backtraces.
878 * gdb.mi/mi-syn-frame.c: Part of same.
879
2bd4c7b1
MK
8802003-02-01 Mark Kettenis <kettenis@gnu.org>
881
882 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
883 gdb.mi/mi1-pthreads.exp: Return instead of calling
884 gdb_suppress_entire_file.
885
eabd8992
MS
8862003-02-01 Mark Salter <msalter@redhat.com>
887
888 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
889
71469e2f
MS
8902003-01-31 Mark Salter <msalter@redhat.com>
891
892 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
893 Support empty arg.
894
38a94d44
MC
8952003-01-30 Michael Chastain <mec@shout.net>
896
897 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
898 This was a workaround for a UTF-8 bug in readline 4.3. The bug
899 has been fixed in gdb/readline on 2003-01-09.
900
19ea9e73
MS
9012003-01-29 Michael Snyder <msnyder@redhat.com>
902
e8d359df
MS
903 * gdb.base/maint.exp: Allow for leading underscore in symbol.
904 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
905 * gdb.base/args.exp: Skip if target does not support args passing.
906
2307bd6a
DJ
9072003-01-22 Daniel Jacobowitz <drow@mvista.com>
908
19ea9e73 909 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
910 gdb_test. Accept a list of expect arguments as the third
911 parameter.
912 (gdb_test): Use it.
913
f2dd3617
EZ
9142003-01-20 Elena Zannoni <ezannoni@redhat.com>
915
916 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
917 allow for different test tree configurations. Update some
918 tescases accordingly.
919 * gdb.arch/altivec-regs.exp: Ditto.
920 * gdb.asm/asm-source.exp: Ditto.
921 * gdb.base/advance.exp: Ditto.
922 * gdb.base/display.exp: Ditto.
923 * gdb.base/long_long.exp: Ditto.
924 * gdb.base/mips_pro.exp: Ditto.
925 * gdb.base/overlays.exp: Ditto.
926 * gdb.base/relocate.exp: Ditto.
927 * gdb.base/setshow.exp: Ditto.
928 * gdb.base/step-line.exp: Ditto.
929 * gdb.base/step-test.exp: Ditto.
930 * gdb.base/until.exp: Ditto.
931 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
932
c71cdefd
DC
9332003-01-17 David Carlton <carlton@math.stanford.edu>
934
935 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
936 corresponding to PR c++/945.
937 Update copyright.
938
fdba05d7
DC
9392003-01-17 David Carlton <carlton@math.stanford.edu>
940
941 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
942 corresponding to PR c++/68.
943
9442003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
945
946 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
947 (test_paddr_hairy_functions): Call print_addr_2_kfail for
948 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
949
c362c33a
EZ
9502003-01-15 Elena Zannoni <ezannoni@redhat.com>
951
0fbc361c
EZ
952 * gdb.base/break.exp: Fix change of default location, because of
953 removal of until tests.
954 * gdb.base/help.exp: Update test for new 'until' help message.
955 Add test for help on 'advance'.
c362c33a
EZ
956 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
957
dabf8a35
MK
9582003-01-15 Mark Kettenis <kettenis@gnu.org>
959
960 * gdb.base/default.exp: Adapt "info float" test for recent changes
961 to that command. Add test for "info vector".
962 * gdb.base/float.exp: New file. Add test for "info float" that
963 resembles the old test in gdb.base/default.exp.
964
a1769aca
DC
9652003-01-15 David Carlton <carlton@math.stanford.edu>
966
967 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
968
82025e13
EZ
9692003-01-15 Elena Zannoni <ezannoni@redhat.com>
970
971 * gdb.base/break.exp: Move the tests of until command from here...
972 * gdb.base/until.exp: ... to here. New file. Add other tests.
973 * gdb.base/advance.c: New file.
974 * gdb.base/advance.exp: New file.
975
8f9ab801
EZ
9762003-01-14 Elena Zannoni <ezannoni@redhat.com>
977
978 * gdb.base/args.c: New file.
979 * gdb.base/args.exp: New file.
980
9ae66589
DJ
9812003-01-14 Daniel Jacobowitz <drow@mvista.com>
982
983 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
984
8d77e5c3
DJ
9852003-01-14 Daniel Jacobowitz <drow@mvista.com>
986
987 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
988
12d2f0a1
DJ
9892003-01-14 Daniel Jacobowitz <drow@mvista.com>
990
991 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
992 dates.
993
6ca37014
DJ
9942003-01-13 Daniel Jacobowitz <drow@mvista.com>
995
996 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
997
b0023472
DJ
9982003-01-13 Daniel Jacobowitz <drow@mvista.com>
999
1000 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1001 (ptype &*"foo").
1002 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1003
d6abaea5
DJ
10042002-01-13 Daniel Jacobowitz <drow@mvista.com>
1005
1006 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1007 * gdb.mi/mi1-console.exp: Likewise.
1008
dfd536a7
DJ
10092002-01-13 Daniel Jacobowitz <drow@mvista.com>
1010
1011 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1012 * gdb.mi/mi1-console.exp: Likewise.
1013
a1fb14a2
DJ
10142003-01-13 Daniel Jacobowitz <drow@mvista.com>
1015
1016 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1017
c4cf40b7
DJ
10182003-01-09 Daniel Jacobowitz <drow@mvista.com>
1019
1020 * gdb.base/detach.exp: New test.
1021
696d5a5b
DJ
10222003-01-09 Daniel Jacobowitz <drow@mvista.com>
1023
1024 * Makefile.in (ALL_SUBDIRS): New variable.
1025 (subdirs, clean, distclean): Use it.
1026 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1027 regenerating Makefile, since it is generated from the top level.
1028 * gdb.asm/Makefile.in: Likewise.
1029 * gdb.base/Makefile.in: Likewise.
1030 * gdb.c++/Makefile.in: Likewise.
1031 * gdb.disasm/Makefile.in: Likewise.
1032 * gdb.java/Makefile.in: Likewise.
1033 * gdb.mi/Makefile.in: Likewise.
1034 * gdb.threads/Makefile.in: Likewise.
1035 * gdb.trace/Makefile.in: Likewise.
1036
754533e4
DC
10372003-01-09 David Carlton <carlton@math.stanford.edu>
1038
1039 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1040 Add copyright year 2003.
1041
d8b3e9ee
MC
10422003-01-06 Michael Chastain <mec@shout.net>
1043
1044 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1045 When selecting a thread, 'line' and 'file' are optional.
1046 * gdb.mi/mi1-pthreads.exp: Likewise.
1047
8e9e0fe6
AS
10482003-01-06 Andreas Schwab <schwab@suse.de>
1049
1050 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1051 failures.
1052
b5ab8ff3
DJ
10532003-01-04 Daniel Jacobowitz <drow@mvista.com>
1054
1055 Fix PR gdb/844
1056 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1057 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1058
1059 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1060 instead of calling gdb_suppress_entire_file.
1061 * gdb.threads/print-threads.exp: Likewise.
1062 * gdb.threads/schedlock.exp: Likewise.
1063
1064 * gdb.threads/killed.exp: Return instead of calling
1065 gdb_suppress_entire_file.
1066 * gdb.threads/linux-dp.exp: Likewise.
1067 * gdb.threads/pthreads.exp: Likewise.
1068
1e698235
DJ
10692003-01-04 Daniel Jacobowitz <drow@mvista.com>
1070
1071 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1072 stabs.
1073 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1074 * gdb.base/whatis.exp: Always allow (void) after function names.
1075
147ff08c
DJ
10762003-01-04 Daniel Jacobowitz <drow@mvista.com>
1077
1078 * gdb.c++/casts.exp: Correct regexp.
1079
dc62bfc2
MK
10802003-01-04 Mark Kettenis <kettenis@gnu.org>
1081
1082 * configure.in: Call AC_CONFIG_HEADER. Don't call
1083 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1084 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1085 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1086 aforementioned directories in the AC_OUPUT call.
1087 * config.hin: New file.
1088 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1089 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1090 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1091 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1092 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1093 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1094 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1095 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1096 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1097 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1098 gdb.threads/configure.in, gdb.threads/configure,
1099 gdb.threads/config.in, gdb.trace/configure.in,
1100 gdb.trace/configure: Removed.
1101
77afa639
MC
11022003-01-03 Michael Chastain <mec@shout.net>
1103
1104 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1105 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1106
7634bb6e
DJ
11072003-01-03 Daniel Jacobowitz <drow@mvista.com>
1108
1109 * gdb.base/store.exp: Fix regular expressions.
1110
b39c905e
MK
11112002-12-28 Mark Kettenis <kettenis@gnu.org>
1112
1113 * configure.in: Rewrite.
1114 * configure: Regenerated.
1115
0a8551dd
DC
11162003-01-03 David Carlton <carlton@math.stanford.edu>
1117
1118 * gdb.base/psymtab.exp: New file.
1119 * gdb.base/psymtab1.c: Ditto.
1120 * gdb.base/psymtab2.c: Ditto.
1121
c60b7188
AF
11222002-12-23 Adam Fedor <fedor@gnu.org>
1123
1124 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1125
ee73db83
DC
11262002-12-23 David Carlton <carlton@math.stanford.edu>
1127
1128 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1129 and current_directory initialization.
1130
d6c1774e
JB
11312002-12-22 Jim Blandy <jimb@redhat.com>
1132
f0a847b8
JB
1133 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1134 rather than as part of the output file name.
1135
d6c1774e
JB
1136 * gdb.base/attach.exp: There's no need to copy the test program to
1137 /tmp; that was only ever necessary on HP/UX, and this test is
1138 entirely disabled there anyway.
1139
f0708dbb
JB
11402002-12-21 Jim Blandy <jimb@redhat.com>
1141
4c2acfea
JB
1142 * gdb.c++/psmang.exp: Doc fix.
1143
f0708dbb
JB
1144 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1145 test.
1146
9579e000
DC
11472002-12-20 David Carlton <carlton@math.stanford.edu>
1148
1149 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1150
d1810171
MC
11512002-12-18 Michael Chastain <mec@shout.net>
1152
1153 * gdb.c++/annota2.exp: Add copyright year 2002.
1154
76565097
DC
11552002-12-17 David Carlton <carlton@math.stanford.edu>
1156
1157 * gdb.c++/try_catch.cc: Add marker comments.
1158 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1159 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1160 * gdb.c++/m-static.cc: Ditto.
1161 * gdb.c++/m-static1.cc: Ditto.
1162 * gdb.c++/try_catch.cc: Ditto.
1163
da81390b
JJ
11642002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1165
1166 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1167 to see whether we are using the new -environment-directory
1168 command which resets via -r or the old version of the command
1169 which may prompt the user. Part of fix for gdb/741.
1170
b304d130
AC
11712002-12-13 Andrew Cagney <ac131313@redhat.com>
1172
1173 * gdb.fortran/types.exp: Update obsolete comment.
1174 * gdb.fortran/exprs.exp: Ditto.
1175 * lib/gdb.exp: Delete obsolete code.
1176 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1177 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1178 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1179 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1180 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1181 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1182 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1183 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1184 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1185 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1186 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1187 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1188 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1189 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1190 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1191 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1192 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1193 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1194 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1195 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1196 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1197 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1198 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1199 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1200 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1201 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1202 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1203 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1204 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1205 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1206 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1207 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1208 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1209 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1210 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1211 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1212 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1213
a23b6e6a
DC
12142002-12-11 David Carlton <carlton@math.stanford.edu>
1215
1216 * gdb.c++/m-data.exp: Add test for members that shadow global
1217 variables: see PR gdb/804.
1218 * gdb.c++/m-data.cc: Ditto.
1219
6604731b
DJ
12202002-12-10 Daniel Jacobowitz <drow@mvista.com>
1221
1222 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1223
de46ecd7
DC
12242002-12-06 David Carlton <carlton@math.stanford.edu>
1225
1226 * gdb.base/store.c: Don't declare functions static.
1227
27e829d0
AC
12282002-12-04 Andrew Cagney <ac131313@redhat.com>
1229
1230 * gdb.base/store.exp, gdb.base/store.c: New files.
1231
92806416
DJ
12322002-12-03 Daniel Jacobowitz <drow@mvista.com>
1233
1234 * gdb.base/selftest.exp: Update for current gdb.
1235
3bcbaac5
DJ
12362002-12-03 Daniel Jacobowitz <drow@mvista.com>
1237
1238 * gdb.base/maint.exp: Only dump symbols from one source file
1239 or objfile.
1240
f4f00b1f
DJ
12412002-12-03 Daniel Jacobowitz <drow@mvista.com>
1242
1243 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1244 function call.
1245
f1c8a949
JB
12462002-11-25 Jim Blandy <jimb@redhat.com>
1247
1248 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1249 function appearing in error message.
1250
9e297a97
DJ
12512002-11-21 Daniel Jacobowitz <drow@mvista.com>
1252
1253 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1254
1f312e79
JJ
12552002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1256
1257 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1258 for mi1 and current mi is in correct format. New mi startup message
1259 should be in mi console format. This is part of fix for PR gdb/604.
1260
83c31e7d
FN
12612002-09-18 Fernando Nasser <fnasser@redhat.com>
1262
1263 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1264 which explicitly prints the zero offset as "+0".
1265
322b3f65
DJ
12662002-10-22 Daniel Jacobowitz <drow@mvista.com>
1267
1268 * gdb.threads/schedlock.c (args): Make unsigned.
1269
12702002-10-21 Daniel Jacobowitz <drow@mvista.com>
1271
1272 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1273 numbers. Allow "foo2|selected stack frame".
1274 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1275 * gdb.asm/asmsrc2.s: Likewise.
1276 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1277 comments.
1278 * gdb.asm/mips.inc: New file.
1279
5e2fe5b8
AF
12802002-10-18 Adam Fedor <fedor@gnu.org>
1281
1282 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1283 * gdb.base/help.exp: Likewise.
1284
abe1a5d0
KB
12852002-10-17 Kevin Buettner <kevinb@redhat.com>
1286
1287 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1288 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1289
10abb1d4
JB
12902002-10-02 Jim Blandy <jimb@redhat.com>
1291
1292 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1293
1f609b42
AC
12942002-10-01 Andrew Cagney <ac131313@redhat.com>
1295
1296 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1297 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1298 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1299 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1300 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1301 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1302 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1303
0aee02e4
AC
13042002-09-29 Andrew Cagney <ac131313@redhat.com>
1305
1306 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1307 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1308 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1309 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1310 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1311 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1312 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1313
6fde09ad
KB
13142002-09-27 Kevin Buettner <kevinb@redhat.com>
1315
1316 * gdb.base/annota1.exp (info break): Make directory components of
1317 path optional since not all compilers emit this debug information.
1318
1319 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1320 step ends up stepping out of the function instead of stopping on
1321 the epilogue.
1322
9e8aab75
KS
13232002-09-26 Keith Seitz <keiths@redhat.com>
1324
1325 * lib/insight-support.exp (gdbtk_start): Figure out where
1326 the insight executable is based on where gdb is. Use this
1327 executable to start insight instead of gdb.
1328
e36180d7
AC
13292002-09-25 Andrew Cagney <cagney@redhat.com>
1330
1331 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1332
9dd34b2b
AC
13332002-09-24 Andrew Cagney <ac131313@redhat.com>
1334
1335 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1336 test_isolated_complaints.
1337 (test_empty_complaint): New function.
1338 (test_empty_complaints): New function. Check no output when no
1339 complaints.
1340
dea97812
KB
13412002-09-19 Jim Blandy <jimb@redhat.com>
1342
1343 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1344
54951bd7
AC
13452002-09-19 Andrew Cagney <ac131313@redhat.com>
1346
1347 * gdb.gdb/complaints.exp: New file.
1348
dec43320
AC
13492002-09-18 Andrew Cagney <ac131313@redhat.com>
1350
1351 * gdb.base/maint.exp: Check `help maint internal-warning'.
1352
e70d6e3f
DC
13532002-09-18 David Carlton <carlton@math.stanford.edu>
1354
1355 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1356 numbers, and replace them by a single breakpoint after the
1357 constructors are all finished.
1358 Add test 4.
1359 * gdb.c++/m-static.cc: Add test 4.
1360 * gdb.c++/m-static.h: New file.
1361 * gdb.c++/m-static1.cc: New file.
1362
1363 * gdb.c++/printmethod.exp: New file.
1364 * gdb.c++/printmethod.cc: New file.
1365
1366 * gdb.c++/pr-574.exp: New file.
1367 * gdb.c++/pr-574.cc: New file.
1368
afb5c968
CV
13692002-09-18 Corinna Vinschen <vinschen@redhat.com>
1370
1371 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1372 embedded targets which never actually exit.
1373
31e45dee
FN
13742002-09-18 Fernando Nasser <fnasser@redhat.com>
1375
1376 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1377 "don't step after run" as unresolved or unsupported, instead of xfail.
1378
a283c5a1
CV
13792002-09-18 Corinna Vinschen <vinschen@redhat.com>
1380
1381 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1382 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1383 Add newline to expected string in "step out of main (status wrapper)"
1384 case.
1385
11350d2a
CV
13862002-09-18 Corinna Vinschen <vinschen@redhat.com>
1387
1388 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1389 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1390
0deec7d6
TT
13912002-09-17 Tom Tromey <tromey@redhat.com>
1392
1393 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1394 \000, not \0, in double-quoted string.
1395
b2b4a1b5
CV
13962002-09-14 Corinna Vinschen <vinschen@redhat.com>
1397
c9d37158 1398 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
1399 string after running the commands execution on breakpoint tests.
1400
1c56143a
CV
14012002-09-13 Corinna Vinschen <vinschen@redhat.com>
1402
1403 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1404
37f8da45
JB
14052002-09-12 Joel Brobecker <brobecker@gnat.com>
1406
1407 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1408
08b468e0
KS
14092002-09-10 Keith Seitz <keiths@redhat.com>
1410
1411 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1412 runto proc.
1413 (mi_run_to_main): Use mi_runto.
1414 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1415
dc360f58
KS
14162002-09-10 Keith Seitz <keiths@redhat.com>
1417
1418 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1419 regexp for stopping at main. Could have multiple event notifications.
1420 Don't assume that main was declared with no parameters.
1421 (mi_next): Use mi_step_to.
1422 (mi_step): Use mi_next_to.
1423
ce3abcfb
CV
14242002-09-09 Corinna Vinschen <vinschen@redhat.com>
1425
1426 * gdb.base/default.exp: Fix expected string in `info float' test.
1427
d1f5b980
BE
14282002-09-09 Ben Elliston <bje@redhat.com>
1429
1430 * config/mips.exp: Update comments.
1431 * config/mips-idt.exp: Likewise.
1432 * config/nind.exp: Likewise.
1433 * config/slite.exp: Likewise.
1434 * config/sparclet.exp: Likewise.
1435 * config/udi.exp: Likewise.
1436 * config/vx.exp: Likewise.
1437 * config/vxworks29k.exp: Likewise.
1438
2f71430b
JB
14392002-09-05 Jim Blandy <jimb@redhat.com>
1440
1441 * gdb.threads/killed.exp: Fix test failure message.
1442
7ddebc7e
KS
14432002-09-04 Keith Seitz <keiths@redhat.com>
1444
1445 * lib/mi-support.exp: Update copyright.
1446 (mi_gdb_test): Increase the priority of the expected pattern
1447 so that it matches gdb_test.
1448
0ae67eb3
KS
14492002-09-03 Keith Seitz <keiths@redhat.com>
1450
1451 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1452 Use integer comparison instead of string comparison for testing
1453 whether binary was built.
1454
38fc42c8
JB
14552002-09-03 Jim Blandy <jimb@redhat.com>
1456
1457 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1458
b6ff0e81
JB
14592002-08-29 Jim Blandy <jimb@redhat.com>
1460
1461 * gdb.threads/pthreads.exp: Move the portable thread compilation
1462 code into a function in lib/gdb.exp, and call that from here.
1463 * lib/gdb.exp (gdb_compile_pthreads): New function.
1464
07c98896
KS
14652002-08-29 Keith Seitz <keiths@redhat.com>
1466
1467 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1468 expect_out so that callers can get at it.
1469
0312286c
DJ
14702002-08-23 Daniel Jacobowitz <drow@mvista.com>
1471
1472 * gdb.threads/print-threads.c: New file.
1473 * gdb.threads/print-threads.exp: New file.
1474 * gdb.threads/schedlock.c: New file.
1475 * gdb.threads/schedlock.exp: New file.
1476
dd039bc4
EZ
14772002-08-22 Elena Zannoni <ezannoni@redhat.com>
1478
1479 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1480 not altivec.c.
1481
1f36144c
MK
14822002-08-17 Mark Kettenis <kettenis@gnu.org>
1483
1484 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1485 targets. The problem should be fixed now.
1486
16057ec7 14872002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1488
1489 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1490 2002-07-24 change that removes final dots from error messages.
1491
3c1499ad
TT
14922002-08-13 Tom Tromey <tromey@redhat.com>
1493
1494 * gdb.base/readline.exp: New file.
1495
a20ce2c3
AC
14962002-08-01 Andrew Cagney <ac131313@redhat.com>
1497
1498 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1499 supress message.
1500
db034ac5
AC
15012002-08-01 Andrew Cagney <cagney@redhat.com>
1502
1503 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1504 CHILL_FOR_TARGET and CHILL_LIB.
1505 * configure.in (configdirs): Remove gdb.chill.
1506 * configure: Regenerate.
1507 * lib/gdb.exp: Obsolete references to chill.
1508 * gdb.fortran/types.exp: Ditto.
1509 * gdb.fortran/exprs.exp: Ditto.
1510
3e000b18
KB
15112002-07-30 Kevin Buettner <kevinb@redhat.com>
1512
1513 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1514 set Irix-specific compile and link flags.
1515
28f4966b
KB
15162002-07-29 Kevin Buettner <kevinb@redhat.com>
1517
1518 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1519 source files. The ``-o'' option doesn't work with the ``-E'' option
1520 when using the Irix compiler.
1521
46c0d5a6
DJ
15222002-07-19 Daniel Jacobowitz <drow@mvista.com>
1523
1524 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1525 Improve support for reusing an exec file. Copy exec file
1526 to target, and run gdbserver on the target instead of on the host.
1527
eecf4bed
JB
15282002-07-18 Jim Blandy <jimb@redhat.com>
1529
0f815cdf
JB
1530 * gdb.base/ending-run.exp: Don't expect to see the program end in
1531 some orderly fashion when we're running on a real stand-alone
1532 board.
1533
eecf4bed
JB
1534 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1535 targets that don't support interrupts.
1536
52d309e4
JB
15372002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1538
1539 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1540 systems.
1541 Move comments in expect statements to inside the actions, so that they
1542 don't get matched against.
1543
ff683d9e
MK
15442002-07-10 Mark Kettenis <kettenis@gnu.org>
1545
1546 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1547 function when asleep" test.
1548
b5356753
AC
15492002-07-10 Andrew Cagney <ac131313@redhat.com>
1550
1551 * gdb.base/page.exp: Rewrite to handle problems with very long
1552 `info set' output. Update copyright.
1553
6aa4d13a
AC
15542002-06-26 Andrew Cagney <ac131313@redhat.com>
1555
1556 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1557 gdb.threads-hp.
1558 * gdb.hp/configure: Regenerate.
1559 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1560 * gdb.hp/gdb.threads-hp/configure: Delete file.
1561 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1562
8cf8c2b8
AC
15632002-06-22 Andrew Cagney <ac131313@redhat.com>
1564
1565 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1566 setlocale, bindtextdomain and textdomain.
1567
6827a8f8
JB
15682002-06-11 Jim Blandy <jimb@redhat.com>
1569
919d772c
JB
1570 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1571 preprocessor macro information is present.
1572
6827a8f8
JB
1573 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1574 tests.
1575
c15b0d21
MS
15762002-06-06 Michael Snyder <msnyder@redhat.com>
1577
c5984d70
MS
1578 * gdb.base/overlays.exp: Record addresses of overlay
1579 functions in TCL variables rather than in GDB variables,
1580 to avoid having GDB convert them to pointers (with loss
1581 of information).
1582
99a8512b
MS
1583 * gdb.base/d10v.ld: Merge in several years worth of
1584 default linker script changes.
c15b0d21
MS
1585 * gdb.base/long_long.exp: Add check for sizeof (long double).
1586
be26fe0d
ML
15872002-06-06 Michal Ludvig <mludvig@suse.cz>
1588
1589 * gdb.asm/asm-source.exp: Add x86-64 target.
1590 * gdb.asm/x86_64.inc: New.
1591
258093ca 15922002-05-30 Michael Chastain <mec@shout.net>
258093ca 1593
4b3153f1 1594 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1595 * gdb.c++/m-static.cc: New file.
1596 * gdb.c++/m-static.exp: New file.
1597
241264c6
MS
15982002-05-28 Michael Snyder <msnyder@redhat.com>
1599
1600 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1601 precision.
1602
9bba8c8f 16032002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1604
4b3153f1 1605 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1606 * gdb.c++/m-data.cc: New file.
1607 * gdb.c++/m-data.exp: New file.
1608
16092002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1610
4b3153f1 1611 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1612 * gdb.c++/try_catch.cc: New file.
1613 * gdb.c++/try_catch.exp: New file.
1614
def1b996
MC
16152002-05-27 Michael Chastain <mec@shout.net>
1616
1617 * gdb.c++/local.exp: Accept more nested types in output.
1618
522ba268
MC
16192002-05-26 Michael Chastain <mec@shout.net>
1620
1621 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1622
277254ba
MS
16232002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1624
1625 * lib/gdb.exp (gdb_wrapper_init): Just because
1626 gdb_wrapper_file exists, this does not mean that the file
1627 should not be rebuilt. That is what gdb_wrapper_initialized
1628 is for.
1629 (default_gdb_init): Reset gdb_wrapper_initialized.
1630
b61a8733
MS
16312002-05-23 Michael Snyder <msnyder@redhat.com>
1632
5bdb6d01
MS
1633 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1634 the precision of the floating point test results.
1635 * gdb.base/call-rt-st.exp: Ditto.
1636
b61a8733
MS
1637 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1638 * gdb.base/call-rt-st.exp: Ditto.
1639
56f6e910
MC
16402002-05-19 Michael Chastain <mec@shout.net>
1641
1642 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1643
ad0b0016
EZ
16442002-05-19 Elena Zannoni <ezannoni@redhat.com>
1645
1646 * configure.in (configdirs): Add gdb.arch.
1647 * configure: Regenerate.
1648
f617d2b6
JB
16492002-05-17 Jim Blandy <jimb@redhat.com>
1650
1651 * gdb.base/completion.exp: Recognize the more detailed error
1652 messages produced by the macro expander's lexical analyzer.
1653
eac2a696
EZ
16542002-05-14 Elena Zannoni <ezannoni@redhat.com>
1655
1656 * gdb.arch/altivec-abi.c: New file.
1657 * gdb.arch/altivec-abi.exp: New file.
1658 * gdb.arch/altivec-regs.c: New file.
1659 * gdb.arch/altivec-regs.exp: New file.
1660
2fdde8f8
DJ
16612002-05-14 Daniel Jacobowitz <drow@mvista.com>
1662
1663 * gdb.base/maint.exp (maint print type): Update for new type
1664 structure.
eac2a696 1665
e31f1a7c
EZ
16662002-05-14 Elena Zannoni <ezannoni@redhat.com>
1667
1668 * gdb.arch: New directory.
1669 * gdb.arch/configure.in: New file.
1670 * gdb.arch/configure: New file.
1671 * gdb.arch/Makefile.in: New file.
1672
db589741
CV
16732002-05-13 Corinna Vinschen <vinschen@redhat.com>
1674
1675 * gdb.asm/asm-source.exp: Add v850 as supported target.
1676 * gdb.asm/v850.inc: New file.
1677
8ce2a7dc
DJ
16782002-05-13 Daniel Jacobowitz <drow@mvista.com>
1679
1680 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1681
df763c7f
DJ
16822002-05-12 Daniel Jacobowitz <drow@mvista.com>
1683
1684 * gdb.base/break.exp: Check 'break "marker2"'.
1685
377daeed
MS
16862002-05-10 Michael Snyder <msnyder@redhat.com>
1687
1688 * gdb.base/long_long.exp: Fix typo.
1689
c4b7bc2b
JB
16902002-05-10 Jim Blandy <jimb@redhat.com>
1691
ecac9a4e
JB
1692 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1693 a bug.
1694
c4b7bc2b
JB
1695 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1696 Recognize more detailed error message produced by the macro
1697 expander's lexical analyzer.
1698 * lib/gdb.exp (test_print_reject): Same.
1699
e71019a1
MK
17002002-05-09 Mark Kettenis <kettenis@gnu.org>
1701
1702 * gdb.c++/method.exp: Fix typo.
1703
fedfc8e6
MS
17042002-05-08 Michael Snyder <msnyder@redhat.com>
1705
166a1957
MS
1706 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1707 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1708 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1709 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1710 Add iftarget clause for strongarm.
1711
f1c47eb2
MS
17122002-05-06 Michael Snyder <msnyder@redhat.com>
1713
cb9a9d3e
MS
1714 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1715 (gdb_continue_to_end): Accept output from status wrapper.
1716 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1717 Clean up fail messages to match pass messages.
1718
f1c47eb2
MS
1719 Enable the "needs_status_wrapper" testsuite feature.
1720 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1721 (gdb_compile): Conditionally call gdb_wrapper_init.
1722 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1723 * gdb.c++/method.exp: Recognize output from status wrapper.
1724
6079c749
BE
17252002-05-06 Ben Elliston <bje@redhat.com>
1726From Graydon Hoare <graydon@redhat.com>
1727
1728 * config/sid.exp: Include support for "rawsid" protocol.
1729
188baff3
JB
17302002-05-03 Jim Blandy <jimb@redhat.com>
1731
1732 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1733 * gdb.c++/hang3.C: New file.
1734
b9c07f0f
AC
17352002-05-04 Andrew Cagney <ac131313@redhat.com>
1736
1737 * gdb.base/default.exp: Remove obsolete code.
1738 * gdb.c++/misc.exp: Ditto. Update copyright.
1739 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1740 * gdb.base/whatis.exp: Ditto. Update copyright.
1741 * gdb.base/scope.exp: Ditto. Update copyright.
1742 * gdb.base/ptype.exp: Ditto. Update copyright.
1743 * gdb.base/printcmds.exp: Ditto. Update copyright.
1744 * gdb.base/opaque.exp: Ditto. Update copyright.
1745 * gdb.base/list.exp: Ditto.
1746 * gdb.base/funcargs.exp: Ditto. Update copyright.
1747 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1748 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1749 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1750 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1751 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1752 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1753
5c7a0397
MS
17542002-05-02 Michael Snyder <msnyder@redhat.com>
1755
d6dcc264 1756 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1757 * gdb.base/long_long.exp: Add xscale target.
1758 * gdb.base/default.exp: Add xscale target.
1759
eb7f1c48
JB
17602002-05-01 Jim Blandy <jimb@redhat.com>
1761
1762 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1763 gdb.c++/hang.exp: New test.
1764
a6befae8
FF
17652002-05-01 Fred Fish <fnf@redhat.com>
1766
1767 * gdb.base/completion.exp: Handle completions of "./Make" for
1768 more than one completion possibility, as is the case when we
1769 build and test in the source tree.
1770
0a310277
AG
17712002-04-29 Anthony Green <green@redhat.com>
1772
1773 * gdb.java/jmisc1.exp: New file.
1774 * gdb.java/jmisc2.exp: New file.
1775
6ff9af88
DJ
17762002-04-24 Daniel Jacobowitz <drow@mvista.com>
1777
1778 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1779
96b3d632
EZ
17802002-04-23 Elena Zannoni <ezannoni@redhat.com>
1781
1782 * gdb.base/help.exp: Change 'help status' to allow for target
1783 dependent output differences.
1784
5019bb54
MC
17852002-04-22 Michael Chastain <mec@shout.net>
1786
1787 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1788
a805a116
MC
17892002-04-22 Michael Chastain <mec@shout.net>
1790
1791 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1792
a1706bfd
DM
17932002-04-17 David S. Miller <davem@redhat.com>
1794
1795 * gdb.asm/sparc64.inc: New file.
1796 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1797
a73a20a2
EZ
17982002-04-19 Elena Zannoni <ezannoni@redhat.com>
1799
1800 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1801 instruction file directly into the build tree. Clean up at end of
1802 test.
1803
ba678339
DM
18042002-04-18 David S. Miller <davem@redhat.com>
1805
1806 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1807 handle 64-bit platforms correctly.
1808 * gdb.base/maint.exp: Likewise.
1809
b03399da
KB
18102002-04-18 Kevin Buettner <kevinb@redhat.com>
1811
1812 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1813 ``-fpic'' when compiling files comprising a shared library, but
1814 it does need additional linker flags in order to find shared
1815 libraries at run time.
1816
e2004992
KB
18172002-04-18 Kevin Buettner <kevinb@redhat.com>
1818
1819 * gdb.base/cvexpr.c (use): New function.
1820 (main): Invoke use() on all global variables to prevent
1821 some linkers from deleting these otherwise unused symbols.
1822
d8937120
MC
18232002-04-17 Michael Chastain <mec@shout.net>
1824From David S. Miller <davem@redhat.com>
1825
1826 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1827 handle 64-bit platforms correctly.
1828
ffd61a58
MS
18292002-04-12 Michael Snyder <msnyder@redhat.com>
1830From Jim Blandy <jimb@redhat.com>
1831 * gdb.base/foo.c (foox): Remove section attribute; the linker
1832 script can handle this instead.
1833 * gdb.base/bar.c (barx): Same.
1834 * gdb.base/baz.c (bazx): Same.
1835 * gdb.base/grbx.c (grbxx): Same.
1836
1837 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1838 manager doesn't automatically unmap overlays unnecessarily.
1839
6b8426a6
MH
18402002-04-10 Martin M. Hunt <hunt@redhat.com>
1841
1842 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1843 stepping out of main.
1844
34af4875
MC
18452002-04-09 Michael Chastain <mec@shout.net>
1846
1847 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1848 scope so that the nested scope tests will make sense.
1849 * gdb.c++/local.exp: Write patterns that actually work with gcc
1850 (the HP patterns "were never known to work with gcc").
1851 Keep the old aCC patterns too.
1852
2d1676a0
DJ
18532002-04-09 Daniel Jacobowitz <drow@mvista.com>
1854
1855 * gdb.base/attach.exp: Correct target board test.
1856
3a63e3f9
MC
18572002-04-08 Michael Chastain <mec@shout.net>
1858
1859 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1860 in a const method. Add some xfail and fail cases for configurations
1861 that do not emit the "const ...".
1862
f18dabd2
MC
18632002-04-07 Michael Chastain <mec@shout.net>
1864
1865 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1866 Accept "A * const" and "const A * const" as type of "this".
1867 Fix spelling of getFunky throughout. Make messages uniform.
1868
0fcddd82
EZ
18692002-04-07 Elena Zannoni <ezannoni@redhat.com>
1870
1871 Work around for PR gdb/285:
1872 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1873
16a8534a
EZ
18742002-04-07 Elena Zannoni <ezannoni@redhat.com>
1875
1876 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1877 instructions file at run time instead of configure time.
1878 Sometimes we run the test in a directory that is not the one we
1879 configured in.
1880 * gdb.asm/configure.in: Delete creation of symlink.
1881 * gdb.asm/configure: Regenerate.
1882
24181d81
JB
18832002-04-05 J. Brobecker <brobecker@gnat.com>
1884
1885 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1886 xfullpath () function.
1887
7cdb7107
DJ
18882002-04-04 Daniel Jacobowitz <drow@mvista.com>
1889
1890 * gdb.asm/Makefile.in: Correct dependencies.
1891
1892 * gdb.asm/powerpc.inc: New file.
1893 * gdb.asm/asm-source.exp: Add PowerPC.
1894 * gdb.asm/configure.in: Likewise.
1895 * gdb.asm/configure: Regenerated.
1896
a7d17088
DJ
18972002-04-04 Daniel Jacobowitz <drow@mvista.com>
1898
1899 * gdb.base/relocate.exp: New file.
1900 * gdb.base/relocate.c: New file.
1901
cd721503
FF
19022002-04-04 Fred Fish <fnf@redhat.com>
1903
1904 * gdb.base/step-test.exp: Update comment regarding stopping in
1905 memcpy/bcopy calls inserted as part of the compiler runtime.
1906
b22ad7a7
MS
19072002-04-04 Michael Snyder <msnyder@redhat.com>
1908
1909 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1910
5f279fa6
DJ
19112002-04-03 Daniel Jacobowitz <drow@mvista.com>
1912
1913 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1914 (gdb_expect): Remove $notransfer hack.
1915
dd0fd3ce
DJ
19162002-04-02 Daniel Jacobowitz <drow@mvista.com>
1917
1918 * gdb.c++/classes.exp ("calling method for small class"): Match
1919 updated register output.
1920
1e50cda1
DJ
19212002-03-30 Daniel Jacobowitz <drow@mvista.com>
1922
1923 Fix PR gdb/452
1924 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1925 when finished. Make gdb_file_cmd send "exec-file" when
1926 appropriate.
1927
24015922
DJ
19282002-03-30 Daniel Jacobowitz <drow@mvista.com>
1929
1930 * gdb.base/attach.exp: Remove extra setup_xfail.
1931
dd7dfd64
MS
19322002-03-26 Michael Snyder <msnyder@redhat.com>
1933
1934 * gdb.base/default.exp: Add tests for dump, append, and restore.
1935 * gdb.base/help.exp: Add tests for dump, append, and restore.
1936 * gdb.base/dump.exp: New file, test dump, append and restore.
1937 * gdb.base/dump.c: New file.
1938
48b2f8d7
MS
19392002-03-27 Michael Snyder <msnyder@redhat.com>
1940
1941 * gdb.base/help.exp: Modify expect strings to reflect
1942 clean-ups in help messages.
1943
05b4d525
FF
19442002-03-26 Fred Fish <fnf@redhat.com>
1945
1946 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1947 have debugging info for those functions and the compiler uses them
1948 internally to copy structs around.
1949
d7679631
FF
19502002-03-26 Fred Fish <fnf@redhat.com>
1951
1952 * gdb.base/list.exp: Revert the change made yesterday and add note
1953 about why we don't list the default lines for remote targets.
1954
523ac3f9
MS
19552002-03-25 Michael Snyder <msnyder@redhat.com>
1956
1957 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1958
754b2b8d
FF
19592002-03-25 Fred Fish <fnf@redhat.com>
1960
1961 * gdb.base/list.exp: This test works on remote targets so remove
1962 the short circuit for remote targets. Update copyright.
1963
33c3e192
FF
19642002-03-25 Fred Fish <fnf@redhat.com>
1965
1966 * gdb.base/attach.exp: Fix logic error that was suppressing this
1967 test for all non hppa*-*-hpux* targets, instead of the hp target.
1968 Move comments closer to the suppression point. Also now need to
1969 check that we are running natively.
1970
d43e73ee
MS
19712002-03-22 Michael Snyder <msnyder@redhat.com>
1972
882c8f02
MS
1973 * gdb.base/default.exp: Add test for gcore. Update copyright.
1974 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1975
04c12f60
FF
19762002-03-06 Fred Fish <fnf@redhat.com>
1977
1978 * gdb.base/funcargs.c: Remove extraneous ';' character.
1979 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1980
b43df995
MC
19812002-03-04 Michael Chastain <mec@shout.net>
1982
1983 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1984 accommodate gcc v3 function signature.
1985 * gdb.mi/mi0-var-cmd-exp: Ditto.
1986
92362027
AC
19872002-02-24 Andrew Cagney <ac131313@redhat.com>
1988
1989 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1990 ``GNU/Linux'' or ``Linux kernel''
1991 * testsuite/gdb.threads/pthreads.c: Ditto.
1992
258ad32d
MC
19932002-02-24 Michael Chastain <mec@shout.net>
1994
1995 * gdb.threads/pthreads.c (thread1): Add a return statement.
1996 (thread2): Likewise.
1997 (foo): Likewise.
1998
04c3b3d4
MC
19992002-02-23 Michael Chastain <mec@shout.net>
2000
2001 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2002 to placate gcc.
2003
5a2a0a20
MC
20042002-02-23 Michael Chastain <mec@shout.net>
2005
2006 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2007 test "ptype bint". The test passes on all my stabs configurations.
2008
a640f7fc
JB
20092002-02-21 Jim Blandy <jimb@redhat.com>
2010
27924826
JB
2011 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2012 filename at a time, and watch for the ones we want to see.
2013
a640f7fc
JB
2014 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2015 types of pointers to prototyped functions.
2016
edcc8c75
AC
20172002-02-20 Andrew Cagney <ac131313@redhat.com>
2018
2019 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2020 signed, unsigned and straight char.
2021 (padding_char, padding_short, padding_int, padding_long,
2022 padding_long_long, padding_float, padding_double,
2023 padding_long_double): New global variables.
2024 (fill, fill_structs): New functions.
2025
2026 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2027 for correctly sized writes. Update copyright.
2028 (get_valueof): New procedure.
2029 (get_sizeof): Call get_valueof.
2030 (check_valueof): New procedure.
2031 (check_padding): New procedure.
2032
ac57ea44
MC
20332002-02-20 Michael Chastain <mec@shout.net>
2034
2035 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2036 to setup_xfail. Document some of the remaining calls.
2037
7a10c941
MC
20382002-02-18 Michael Chastain <mec@shout.net>
2039
2040 * gdb.c++/userdef.exp: Update copyright year.
2041
fb8acdcc
DJ
20422002-02-18 Daniel Jacobowitz <drow@mvista.com>
2043
2044 * gdb.c++/userdef.exp: Test overloaded operators properly.
2045 Remove xfails.
2046
fda6ae12
MS
20472002-02-14 Michael Snyder <msnyder@redhat.com>
2048
2049 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2050
676a0442
DJ
20512002-02-14 Daniel Jacobowitz <drow@mvista.com>
2052
2053 * gdb.base/a2-run.exp: Check for a remote target properly.
2054 * gdb.base/annota1.exp: Likewise.
2055 * gdb.base/list.exp: Likewise.
2056 * gdb.base/reread.exp: Likewise.
2057 * gdb.base/scope.exp: Likewise.
2058 * gdb.base/shlib-call.exp: Likewise.
2059 * gdb.base/term.exp: Likewise.
2060 * gdb.c++/annota2.exp: Likewise.
2061
78b4f468
RE
20622002-02-13 Richard Earnshaw <rearnsha@arm.com>
2063
2064 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2065
9a81ba51
MC
20662002-02-10 Michael Chastain <mec@shout.net>
2067
2068 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2069 (call_after_alloca): Ditto.
2070
004af6c7
DJ
20712002-02-10 Daniel Jacobowitz <drow@mvista.com>
2072
2073 * gdb.base/ending-run.exp: Guard "cont" test with
2074 gdb_skip_stdio_test.
2075
37225f62
JB
20762002-02-06 Jim Blandy <jimb@redhat.com>
2077
2078 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2079 from here...
2080 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2081 To here. Disable this test on non-HP platforms. Add big comment.
2082
fe6fdd96
MS
20832002-02-04 Michael Snyder <msnyder@redhat.com>
2084
2085 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2086 other than d10v and m32r.
2087
036fad3f
RE
20882002-02-02 Richard Earnshaw <rearnsha@arm.com>
2089
2090 * gdb.base/default.exp: Rewrite test patterns to reduce time
2091 taken to match them.
2092
7148ab62
DJ
20932002-01-30 Daniel Jacobowitz <drow@mvista.com>
2094
2095 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2096 Allow a start function above main.
2097 * gdb.threads/linux-dp.exp: Fix copyright date.
2098
396cc255
DJ
20992002-01-30 Daniel Jacobowitz <drow@mvista.com>
2100
2101 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2102 (check_philosopher_stack): Check for manager thread before checking
2103 for a just-starting thread.
2104
f038d31b
DJ
21052002-01-30 Daniel Jacobowitz <drow@mvista.com>
2106
2107 From Neil Booth <neil@daikokuya.demon.co.uk>:
2108 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2109 warnings.
2110
b3ff9d9a
FF
21112002-01-21 Fred Fish <fnf@redhat.com>
2112
2113 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2114 not caller.
2115
39ad761d
JB
21162002-01-21 Jim Blandy <jimb@redhat.com>
2117
2118 * gdb.base/reread.exp: Check that GDB properly re-reads the
2119 executable file when it changes while no inferior is running.
2120
aaf320fa
FF
21212002-01-21 Fred Fish <fnf@redhat.com>
2122
2123 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2124 optionally accept the "shlib events" variation.
2125
808a31f5
JB
21262002-01-21 Jim Blandy <jimb@redhat.com>
2127
2128 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2129 call `fflush' after every `printf', so that the output is produced
2130 at predictable points, regardless of whatever buffering does (or
2131 doesn't) take place.
2132 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2133 at different points.
2134
4420d5e2
DJ
21352002-01-20 Daniel Jacobowitz <drow@mvista.com>
2136
2137 * gdb.c++/inherit.exp: Update copyright years.
2138 * gdb.c++/method.exp: Likewise.
2139
3e36a0f4
DJ
21402002-01-20 Daniel Jacobowitz <drow@mvista.com>
2141
2142 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2143 artificial methods/arguments.
2144 * gdb.c++/derivation.exp: Likewise.
2145 * gdb.c++/inherit.exp: Likewise.
2146 * gdb.c++/method.exp: Likewise.
2147 * gdb.c++/virtfunc.exp: Likewise.
2148
b4ceaee6
AC
21492002-01-18 Andrew Cagney <ac131313@redhat.com>
2150
2151 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2152 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2153 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2154 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2155 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2156 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2157
ecace851
JB
21582002-01-17 Jim Blandy <jimb@redhat.com>
2159
2160 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2161 anchoring the pattern matching the entry point symbol's name.
2162
375fc983
AC
21632002-01-17 Andrew Cagney <ac131313@redhat.com>
2164
2165 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2166 continue/quit query. Update copyright.
2167
fe6fdd96
MS
21682002-01-14 Michael Snyder <msnyder@redhat.com>
2169
2170 * gdb.base/gcore.exp: Remove extra debugging output.
2171
e017c81f
DJ
21722002-01-13 Daniel Jacobowitz <drow@mvista.com>
2173
2174 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2175 for slightly dubious v2 mangled string.
2176
37ab3bf8
DJ
21772002-01-13 Daniel Jacobowitz <drow@mvista.com>
2178
2179 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2180
1bc05c3a 21812002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 2182
1bc05c3a 2183 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 2184
1bc05c3a
JM
2185 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2186 constructors.
2187 * gdb.c++/derivation.exp: Likewise.
2188 * gdb.c++/templates.exp: Likewise.
2189 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 2190
1bc05c3a
JM
21912002-01-10 Michael Snyder <msnyder@redhat.com>
2192
2193 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 2194
a911c360
MS
21952002-01-08 Michael Snyder <msnyder@redhat.com>
2196
2197 * gdb.base/gcore.exp: New test for generate-core-file command.
2198 * gdb.base/gcore.c: Testcase for above.
2199 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2200
ea2119ec
JM
22012002-01-08 Jason Merrill <jason@redhat.com>
2202
2203 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2204
68203136
FF
22052002-01-07 Fred Fish <fnf@redhat.com>
2206
2207 * gdb.c++/overload.exp: Remove unconditional xfails for:
2208 print foo_instance1.overloadargs(1)
2209 print foo_instance1.overloadargs(1, 2)
2210 print foo_instance1.overloadargs(1, 2, 3)
2211 print foo_instance1.overloadargs(1, 2, 3, 4)
2212 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2213 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2214 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2215 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2216 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2217 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2218 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2219 print foo_instance1.overload1arg()
2220 print foo_instance1.overload1arg((char)arg2)
2221 print foo_instance1.overload1arg((signed char)arg3)
2222 print foo_instance1.overload1arg((unsigned char)arg4)
2223 print foo_instance1.overload1arg((int)arg7)
2224 print foo_instance1.overload1arg((unsigned int)arg8)
2225 print foo_instance1.overload1arg((float)arg11)
2226 print foo_instance1.overload1arg((double)arg12)
2227
21b9b5b1
MS
22282002-01-07 Michael Snyder <msnyder@redhat.com>
2229
2230 * gdb.base/huge.exp: New test. Print a very large target data object.
2231 (skip_huge_test): New test variable. Define if you want to skip this
2232 test. The test reads an 8 megabyte data object from the target, so it
2233 might be very time consuming on remote targets with a slow connection.
2234 * gdb.base/huge.c: New file. Test case for above.
2235
725f922e
FF
22362002-01-07 Fred Fish <fnf@redhat.com>
2237
2238 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2239 g_instance.bfoo, and g_instance.cfoo.
2240
634d57ec
JL
2241Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2242
f286b2c3
JL
2243 * gdb.base/break.c (multi_line_if_conditional): New function.
2244 (multi_ilne_while_conditional): Likewise.
2245 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2246 IF or WHILE condition puts the breakpoint at the start of
2247 the condition.
2248
634d57ec
JL
2249 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2250 hppa*-*-hpux* expected failure.
2251 * gdb.base/structs.exp (do_function_calls): Similarly.
2252
2253 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2254 watchpoints.
2255
9fbfe2dc
AC
22562002-01-06 Andrew Cagney <ac131313@redhat.com>
2257
2258 Fix PR gdb/66.
2259 * gdb.base/structs.exp: Replace skip for a29k with skip for
2260 gdb,cannot_call_functions.
2261 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2262 * gdb.base/callfuncs.exp: Ditto.
2263 * gdb.base/call-rt-st.exp: Ditto.
2264 * gdb.base/call-strs.exp: Ditto.
2265 * gdb.base/callfwmall.exp: Ditto.
2266 * gdb.base/scope.exp: Obsolete xfail a29k.
2267 * gdb.c++/misc.exp: Ditto.
2268 * gdb.c++/cplusfuncs.exp: Ditto.
2269 * gdb.base/ptype.exp: Ditto.
2270 * gdb.base/printcmds.exp: Ditto.
2271 * gdb.base/opaque.exp: Ditto.
2272 * gdb.base/list.exp: Ditto.
2273 * gdb.base/funcargs.exp: Ditto.
2274 * gdb.base/default.exp: Ditto.
2275
8ddad156
MS
22762002-01-04 Michael Snyder <msnyder@redhat.com>
2277
ca4976a6 2278 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2279 * gdb.base/maint.exp: Add tests for maint info sections options.
2280
1b074332
JL
2281Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2282
2283 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2284
7d159115
CV
22852001-12-20 Corinna Vinschen <vinschen@redhat.com>
2286
2287 * gdb.asm/arm.inc: New file.
2288 * gdb.asm/asm-source.exp: Add arm targets.
2289 * gdb.asm/configure.in: Ditto.
2290 * gdb.asm/configure: Recreated from configure.in.
2291
8fb87725
JL
2292Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2293
afabe08c
JL
2294 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2295 with HP's compiler.
2296 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2297 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2298 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2299 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2300
2301 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2302 either HP's compilers or GCC.
2303
db521deb
JL
2304 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2305 a SIGBUS or SIGSEGV.
2306
2307 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2308
2309 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2310 can be compiled with either HP's compiler or GCC.
2311
cfa88ab7
JL
2312 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2313 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2314 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2315
ca344dff
JL
2316 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2317 to match current gdb output. Update due to using auto-solib-limit
2318 for limiting instead of overloading auto-solib-add.
2319 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2320 test program.
2321
3f3c6e55 2322 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2323 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2324 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2325 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2326 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2327 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2328 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2329 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2330 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2331 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2332 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2333 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2334 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2335
8fb87725
JL
2336 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2337 a SIGTRAP to the inferior.
2338
cf599fa7
CV
23392001-12-19 Corinna Vinschen <vinschen@redhat.com>
2340
2341 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2342 Substitute call to target_link by call to gdb_compile.
2343
2cd045cd
JL
2344Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2345
2346 * gdb.base/break.exp: Fix HP specific search string when testing
2347 backtracing in a called function.
2348
2349 * gdb.base/constvars.exp: Only set lang to C++ if we're
2350 compiling the test with HP's compilers.
2351 * gdb.base/volatile.exp: Similarly.
2352
99ebe9ac
JB
23532001-12-19 Jim Blandy <jimb@redhat.com>
2354
2355 * gdb.base/printcmds.exp: Expect the null character to be printed
2356 as '\0', and the '\013' to be printed as '\v'.
2357 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2358 * gdb.base/setvar.exp: Same.
2359
b9891b29
JB
23602001-12-17 Jim Blandy <jimb@redhat.com>
2361
0eba65ab
JB
2362 * gdb.base/completion.exp: Rather than completing very long
2363 filenames, which can make the readline library produce output we
2364 don't recognize, cd to the directory first, and then complete
2365 using nice, short relative paths.
2366
6970b5b1
JB
2367 * gdb.base/completion.exp: On some systems, there is, in fact, a
2368 variable named `b' in scope, since GDB treats all static
2369 variables as being in scope. So use `no_var_named_this'
2370 instead of `b'.
2371
b9891b29
JB
2372 * gdb.base/corefile.exp: Recognize the message saying that GDB
2373 can't find the core file's registers as a failure.
2374
e6ccd35f
JSC
23752001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2376
2377 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2378 test expect string more specific.
2379
105ba819
CV
23802001-12-13 Corinna Vinschen <vinschen@redhat.com>
2381
2382 * gdb.asm/asm-source.exp: Add support for xstormy16.
2383 * gdb.asm/configure.in: Ditto.
2384 * gdb.asm/configure: Rebuild.
2385 * gdb.asm/xstormy16.inc: New file.
2386
e9e79dd9
FF
23872001-12-10 Fred Fish <fnf@redhat.com>
2388
2389 * gdb.base/maint.exp: Update to match changes in type dumping code.
2390
347dc97d
JB
23912001-12-10 Jim Blandy <jimb@redhat.com>
2392
2393 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2394 matching the entry point symbol's name at the beginning of the
2395 line.
2396
5178b9d6
DJ
23972001-12-07 Daniel Jacobowitz <drow@mvista.com>
2398
2399 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2400 gdb.c++/inherit.exp, gdb.c++/method.exp,
2401 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2402 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2403 and class layout support.
2404
af890c52
DJ
24052001-12-07 Daniel Jacobowitz <drow@mvista.com>
2406
2407 * gdb.c++/classes.exp: Add test for static member function.
2408 * gdb.c++/misc.cc: Add class with static member function.
2409
7a345fb3
JB
24102001-12-07 Jim Blandy <jimb@redhat.com>
2411
f2e54a80 2412 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2413 those tests as `unsupported'.
2414 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2415 Rewrite subsequent tests to use it.
2416
2417 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2418 those tests as `unsupported'.
2419 * gdb.base/structs.exp (call_struct_func): New function.
2420 (do_function_calls): Use call_struct_func to call the functions
2421 returning structs.
2422
0bc69509
JB
2423 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2424 whether functions are prototyped or not, so we can't possibly pass
2425 arguments to t_float_values2 properly.
2426
7a345fb3
JB
2427 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2428 value of `timeout' for targets other than the mips*tx39-*.
2429
edb6ede1
MS
24302001-12-06 Michael Snyder <msnyder@redhat.com>
2431
2432 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2433 and detect whether the start symbol has a leading underscore.
2434
2d842f13
JB
24352001-12-04 Jim Blandy <jimb@redhat.com>
2436
2437 * gdb.base/completion.exp: Clarify indentation.
2438
68550daf
JB
24392001-12-03 Jim Blandy <jimb@redhat.com>
2440
2441 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2442 variables on the S/390, not `.word'.
2443
cd5195a8
JB
24442001-11-30 Jim Blandy <jimb@redhat.com>
2445
2446 Add assembly-source tests for s390-ibm-linux.
2447 * gdb.asm/s390.inc: New file.
2448 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2449 the S/390 architecture.
2450 * gdb.asm/configure: Regenerated.
2451
ca9efc90
MS
24522001-11-30 Michael Snyder <msnyder@redhat.com>
2453
2454 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2455 next, info source, info sources, info line, global and static
2456 variables, and static functions.
2457 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2458 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2459 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2460 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2461 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2462 (gdbasm_leave): Restore frame pointer.
2463 (gdbasm_startup): Copy stack set-up from crt0.S.
2464
d0e66976
FN
24652001-11-26 Fernando Nasser <fnasser@redhat.com>
2466
2467 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2468 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2469 to a local (non-static) variable. Copy tstruct.a to a static buffer
2470 and return a pointer to that buffer.
2471 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2472
e2334072
MK
24732001-11-24 Mark Kettenis <kettenis@gnu.org>
2474
2475 * gdb.asm/configure.in: Fix recognition of ix86 target.
2476 * gdb.asm/configure: Regenerate.
2477
756caa3d
MS
24782001-11-21 Michael Snyder <msnyder@redhat.com>
2479
2480 * gdb.asm/sparc.inc: New file.
2481 * gdb.asm/asm-source.exp: Recognize sparc target.
2482 * gdb.asm/configure.in: Recognize sparc target.
2483 * gdb.asm/configure: Regenerate.
2484
9a4d72d5
MS
24852001-11-21 Michael Snyder <msnyder@redhat.com>
2486
2487 * gdb.asm/m32r.inc: New file.
2488 * gdb.asm/asm-source.exp: Recognize m32r target.
2489 * gdb.asm/configure.in: Recognize m32r target.
2490 * gdb.asm/configure: Regenerate.
2491
a773d1cd
MS
24922001-11-20 Michael Snyder <msnyder@redhat.com>
2493
017ac23d
MS
2494 * gdb.asm/i386.inc: New file.
2495 * gdb.asm/asm-source.exp: Recognize ix86 target.
2496 * gdb.asm/configure.in: Recognize ix86 target.
2497 * gdb.asm/configure: Regenerate.
2498
a773d1cd
MS
2499 * gdb.c++/namespace.exp: Fix quotes in output messages.
2500
bb632afb
MS
25012001-11-14 Michael Snyder <msnyder@redhat.com>
2502
25d559ca 2503 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2504 qualifier in a type cast expression, to designate an address
2505 in the instruction space (Harvard architecture).
2506
4749e309
MS
25072001-11-13 Michael Snyder <msnyder@redhat.com>
2508
2509 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2510 Tests for expressions using 'const' and 'volatile'.
2511
25050984
CV
25122001-11-13 Corinna Vinschen <vinschen@redhat.com>
2513
2514 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2515
1902c51f
DJ
25162001-11-12 Daniel Jacobowitz <drow@mvista.com>
2517
2518 * lib/mi-support.exp (mi_run_to_helper): Move comments
2519 outside of gdb_expect.
2520
dcf95b47
DJ
25212001-11-11 Daniel Jacobowitz <drow@mvista.com>
2522
2523 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2524 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2525 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2526 mi0_run_to): New functions.
2527 * gdb.mi/mi-simplerun.exp: Use them.
2528 * gdb.mi/mi0-simplerun.exp: Likewise.
2529 * gdb.mi/mi-var-cmd.exp: Likewise.
2530 * gdb.mi/mi0-var-cmd.exp: Likewise.
2531
45b074e1
AC
25322001-11-10 Andrew Cagney <ac131313@redhat.com>
2533
2534 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2535 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2536
bf50d346
AC
25372001-11-09 Andrew Cagney <ac131313@redhat.com>
2538
2539 * gdb.base/restore.exp: Include $expected value in restored test
2540 message.
2541
9383332c
AC
25422001-11-09 Andrew Cagney <ac131313@redhat.com>
2543
2544 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2545 implemented.
2546
db62520a
MS
25472001-11-08 Michael Snyder <msnyder@redhat.com>
2548
2549 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2550 Add pass/fail message for stop at breakpoint in call dummy function.
2551
b5703437
MS
25522001-11-07 Michael Snyder <msnyder@redhat.com>
2553
760f6330
MS
2554 * gdb.c++/templates.exp (test_template_breakpoints):
2555 If we get an overload menu, but it does not match what
2556 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2557 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2558 making the whitespace optional. Argument for "new" may be
2559 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2560 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2561 making the whitespace optional. Also replace "(void) with
2562 "((void|)), making the keyword "void" optional.
63f50499
MS
2563 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2564 making the whitespace optional. Also replace "(void) with
2565 "((void|)), making the keyword "void" optional.
3bf40917
MS
2566 * gdb.base/callfuncs.c (t_float_values): This function must
2567 _not_ be prototyped, and the following function (t_float_values2)
2568 must be prototyped (if the compiler supports it), so that GDB
2569 can be tested against both cases. Usually one case involves
2570 promotion of float to double, while the other does not.
2571 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2572 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2573 includes a stack frame for "start".
2574
c8ab4e6d
JB
25752001-11-05 Jim Blandy <jimb@redhat.com>
2576
2577 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2578 pointers are 32 bits long, and that offsets of relocs are always
2579 stored in the data (REL-style), and not in the reloc entry itself
2580 (RELA-style).
2581 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2582 stabs.
2583
3f08ced9
MS
25842001-11-01 Michael Snyder <msnyder@redhat.com>
2585
2586 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2587 and regular expression operators by using quoting.
2588
cbfa24cd
MS
25892001-10-31 Michael Snyder <msnyder@redhat.com>
2590
2591 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2592 depending on what the symbol table contains.
2593 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2594 the output of the ptype command. Similarly, accept both "const &"
2595 and "const&".
2596
aaa68313
CV
25972001-10-31 Corinna Vinschen <vinschen@redhat.com>
2598
2599 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2600 symbol `STORAGE' to allow to choose the storage class of
2601 the local datastructures.
2602 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2603 compiler directive.
2604
91740388
MS
26052001-10-30 Michael Snyder <msnyder@redhat.com>
2606
2607 * gdb.base/jump.exp: Allow it to run for all targets.
2608
1b7c05e7
CV
26092001-10-29 Corinna Vinschen <vinschen@redhat.com>
2610
2611 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2612 with new double_array size.
2613 (main): Change storage class of all local variables to static.
2614 Reduce size of double_array to 9.
2615 * gdb.base/call-ar-st.exp: Increase timeout value.
2616 Change expected output for double array to match new size in
2617 call-ar-st.c.
2618
36a22261
CV
26192001-10-29 Corinna Vinschen <vinschen@redhat.com>
2620
2621 * gdb.base/ending-run.exp: Create identical output when passing
2622 `step to end of run' case. Add regular expression branch satisfying
2623 Stormy16 target.
2624
92b8ae91
MK
26252001-10-28 Mark Kettenis <kettenis@gnu.org>
2626
2627 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2628 that we catch the expected failure under Linux/x86.
2629
cb135b83
OF
26302001-10-29 Orjan Friberg <orjanf@axis.com>
2631
2632 * gdb.base/setvar.exp: Escape curly braces.
2633 * gdb.stabs/weird.exp: Ditto.
2634
6884aa54
DJ
26352001-10-27 Daniel Jacobowitz <drow@mvista.com>
2636
2637 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2638 * gdm.mi/mi0-hack-cli.exp: Likewise.
2639
0398c9aa
AC
26402001-10-25 Andrew Cagney <ac131313@redhat.com>
2641
2642 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2643 messages.
2644
d20bf2e8
AC
26452001-10-21 Andrew Cagney <ac131313@redhat.com>
2646
2647 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2648 checking MI enabled.
2649
03dd63aa
CV
26502001-10-09 Corinna Vinschen <vinschen@redhat.com>
2651
2652 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2653
1d9d99f3
FCE
26542001-10-04 Frank Ch. Eigler <fche@redhat.com>
2655
2656 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2657 if gdb child process crashes, just signal an error.
2658
838ae6c4
JB
26592001-10-02 Jim Blandy <jimb@redhat.com>
2660
2661 * lib/gdb.exp (test_xfail_format): Simplify.
2662
2663 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2664 front of the variable name `format'. Simplify `if'.
2665
8f0cbc1c
DJ
26662001-10-01 Daniel Jacobowitz <drow@mvista.com>
2667
2668 * gdb.threads/pthreads.exp: Wait for output and delay
2669 before sending ^C.
2670
1f08dafd
DJ
26712001-10-01 Daniel Jacobowitz <drow@mvista.com>
2672
2673 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2674 some incorrect output instead of timing out.
2675 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2676
674f90ff
CV
26772001-09-28 Corinna Vinschen <vinschen@redhat.com>
2678
2679 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2680 check to allow additional `int'.
2681
9b284272
DJ
26822001-09-27 Daniel Jacobowitz <drow@mvista.com>
2683
2684 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2685 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2686
b55a4771
MS
26872001-09-27 Michael Snyder <msnyder@redhat.com>
2688
2689 * lib/gdb.exp (test_debug_format): New proc.
2690 (setup_xfail_format): Use new proc test_debug_format.
2691 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2692 proc; use new service proc test_debug_format.
2693 Replace all other "gcc_compiled" tests with this test.
2694 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2695 proc; use new service proc test_debug_format.
2696 Replace all other "gcc_compiled" tests with this test.
2697
26982001-09-27 Michael Snyder <msnyder@redhat.com>
2699
2700 * gdb.base/cvexpr.exp: New file.
2701 * gdb.base/cvexpr.c: New file
2702 Test for expressions using const and volatile keywords.
2703
4e6667ac
CV
27042001-09-26 Corinna Vinschen <vinschen@redhat.com>
2705
2706 * gdb.base/constvars.exp: Check for different orders of keywords
2707 and additional "int" strings in output.
2708
4f337972
AC
27092001-09-22 Andrew Cagney <ac131313@redhat.com>
2710
2711 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2712 responses from "help maint".
2713
2015650d
FCE
27142001-09-19 Frank Ch. Eigler <fche@redhat.com>
2715
2716 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2717 to localhost:NNN instead of :NNN, in case Xvfb is listening
2718 only on TCP.
2719
f3bcedc1
CV
27202001-09-19 Corinna Vinschen <vinschen@redhat.com>
2721
2722 * gdb.base/recurse.exp: When checking leaving the watchpoint
2723 scope, recognize when gdb is in function's epilogue and pass.
2724
6b819c92
KS
27252001-09-18 Keith Seitz <keiths@redhat.com>
2726
2727 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2728 support for running tests against sid targets.
2729 (gdbtk_done): Ditto.
2730
a10c9419
CV
27312001-09-18 Corinna Vinschen <vinschen@redhat.com>
2732
2733 * gdb.base/ending-run.c (main): Set stdout buffersize
2734 to the same reasonable value for any target.
2735 * gdb.base/ending-run.exp: Add a regular expression
2736 to make testsuite happy on Sanyo Stormy16 target.
2737
739d0d99
CV
27382001-09-17 Corinna Vinschen <vinschen@redhat.com>
2739
2740 * gdb.base/display.c (do_loops): Add float variable `f'.
2741 Increment f in loop.
2742 * gdb.base/display.exp: Increment timeout by 60 seconds.
2743 Change float display test to use variable `f'.
2744
1b8947f0
JB
27452001-09-17 Jim Blandy <jimb@redhat.com>
2746
2747 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2748 overflowing the limited breakpoint tables on some ROM monitors
2749 (like the ROM68K).
2750
9890ac81
FCE
27512001-09-15 Frank Ch. Eigler <fche@redhat.com>
2752
2753 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2754 the "-ac" (disable access control) flag.
2755
6db765ea
JH
27562001-08-30 Jeff Holcomb <jeffh@redhat.com>
2757
2758 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2759 ints.
2760
4c32cc04
KS
27612001-08-30 Keith Seitz <keiths@redhat.com>
2762
2763 * lib/gdb.exp: Move all insight-related functionality into
2764 separate file.
2765 * lib/insight-support.exp: New file.
2766
8d6e6f81
FCE
27672001-08-29 Frank Ch. Eigler <fche@redhat.com>
2768
2769 * config/sid.exp (sid_start): Never set sid verbosity; disable
2770 expect_background {} that consumed its stdout; tolerate </dev/null.
2771 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2772
6a90e1d0
AC
27732001-08-18 Andrew Cagney <ac131313@redhat.com>
2774
2775 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2776 CLI jump command to start it.
2777 (mi_run_to_main): Fail immediatly when unexpected output.
2778
1759b3c3
AC
27792001-08-18 Andrew Cagney <ac131313@redhat.com>
2780
2781 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2782 beginning of function. Fix PR gdb/191.
2783
61d11d80
FCE
27842001-08-16 Frank Ch. Eigler <fche@redhat.com>
2785
2786 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2787 what to force sid endianness to.
2788
942a4df2
KS
27892001-08-15 Keith Seitz <keiths@redhat.com>
2790
2791 * lib/gdb.exp (gdbtk_start): Don't set environment
2792 variables for TCL_LIBRARY and friends. Insight will
2793 now figure these out for itself.
2794
0521c418
MS
27952001-08-02 Michael Snyder <msnyder@redhat.com>
2796
2797 * gdb.base/completion.exp: Remove the symbol "a64l" from
2798 the expect string; this is target-specific, and not related
2799 to what is being tested.
2800
74a9a58a
DB
28012001-08-02 Dave Brolley <brolley@redhat.com>
2802
2803 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2804
c70819fa
MS
28052001-07-25 Michael Snyder <msnyder@redhat.com>
2806
c2b8fa57
MS
2807 * gdb.base/consecutive.exp: New file. Test stepping over
2808 breakpoints on consecutive instructions.
2809 * gdb.base/consecutive.c: New file.
2810
c70819fa
MS
2811 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2812 curly braces in regular expressions.
2813
2b1a1355
MS
28142001-07-25 Michael Snyder <msnyder@redhat.com>
2815
2816 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2817 legitimate output from stepping out of main.
2818
413eca6f
KS
28192001-07-22 Keith Seitz <keiths@redhat.com>
2820
2821 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2822 the empty string, do not run the tests.
2823
7e5a9322
SC
28242001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2825
2826 * gdb.base/long_long.exp: Detect size of pointer. Take into
2827 account 2-byte pointers when testing for p/a results.
2828
de58f10f
SC
28292001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2830
2831 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2832 and defined to 1K for m68hc11.
2833 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2834 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2835 (sizeof_random_data): New variable to tell the size of the data table;
2836 don't test past this size; always run to main.
2837
d6f5fea1
SC
28382001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2839
2840 * gdb.base/return2.exp: return of long long and double fails for
2841 68HC11; don't execute these tests on that platform.
2842 * gdb.base/return.exp: Return of a double fails for 68hc11.
2843
c477543d
SC
28442001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2845
2846 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2847 tests that print a float.
2848 * call-rt-st.exp: Likewise.
2849
63cf1c79
MK
28502001-07-12 Mark Kettenis <kettenis@gnu.org>
2851
2852 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2853 running this test on Linux.
2854
112f9ab5
MC
28552001-06-24 Michael Chastain <chastain@redhat.com>
2856
2857 * gdb.base/arithmet.exp: Remove some tests to make all test names
2858 unique.
2859
4970cb0f
MS
28602001-07-03 Michael Snyder <msnyder@redhat.com>
2861
2862 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2863 the output of the ptype command.
2864
d85da69f
MS
28652001-07-02 Michael Snyder <msnyder@redhat.com>
2866
4c8a82de
MS
2867 * gdb.base/completion.exp: Don't assume that break.c is the only
2868 source file that may contain functions named "marker".
d85da69f
MS
2869 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2870
8afc772b
AC
28712001-06-28 Andrew Cagney <ac131313@redhat.com>
2872
2873 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2874 of files to delete.
2875
2876 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2877 * gdb.disasm/h8300s.exp: New file.
2878 gdb.disasm/h8300s.s: Likewise.
2879
cff22675
AC
28802001-06-27 Andrew Cagney <ac131313@redhat.com>
2881
2882 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2883 empty breakpoint tables.
2884
68c81b54
AC
28852001-06-25 Andrew Cagney <ac131313@redhat.com>
2886
2887 * lib/mi-support.exp: Update args=... part of stop-reason
2888 patterns. Accept either a list or a tuple.
2889
2dd62704
AC
28902001-06-23 Andrew Cagney <ac131313@redhat.com>
2891
2892 * lib/mi-support.exp: Remove local emacs variable defining
2893 change-log-default-name.
2894
b4127474
MC
28952001-06-22 Michael Chastain <chastain@redhat.com>
2896
2897 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2898 This is operationally compatible with the previous version.
2899
8dbfb380
JB
29002001-06-13 Jim Blandy <jimb@redhat.com>
2901
2902 * lib/gdb.exp (gdb_test): Doc fix.
2903
f2d8c86d
MC
29042001-06-10 Michael Chastain <chastain@redhat.com>
2905
2906 * gdb.base/exprs.exp: Remove a duplicate test.
2907
81564d34
JB
29082001-06-06 Jim Blandy <jimb@redhat.com>
2909
2910 * gdb.base/return2.exp (main): Use values to test float and double
2911 returns that are not NaN's, to avoid being confused by IEEE
2912 comparison rules.
2913
da55addb
MS
29142001-06-04 Michael Snyder <msnyder@redhat.com>
2915
2916 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2917 non-zero if control_c fails. Terminate the test on failure,
2918 rather than wait for 12 more tests to time out.
2919
42c65987
JB
29202001-06-06 Jim Blandy <jimb@redhat.com>
2921
b18bced9
JB
2922 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2923 Don't forget to match the GDB prompt.
2924
42c65987
JB
2925 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2926
5b41e5f0
JB
29272001-06-04 Jim Blandy <jimb@redhat.com>
2928
2929 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2930 command.
2931
015e046f
KB
29322001-05-31 Kevin Buettner <kevinb@redhat.com>
2933
2934 * gdb.base/annota1.exp (info break): Match four or more spaces
2935 after "Address".
2936
fb1ffbbe
MC
29372001-05-31 Michael Chastain <chastain@redhat.com>
2938
2939 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2940 (dm_type_int_star): Likewise.
2941 (dm_type_long_star): Likewise.
2942 (dm_type_void_star): Likewise.
2943
5ea2a32c
KB
29442001-05-29 Kevin Buettner <kevinb@redhat.com>
2945
2946 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2947 to a known value in order to get consistent results regardless
2948 of the setting of INPUTRC or the presence or contents of .inputrc.
2949
ae23c492
MS
29502001-05-24 Michael Snyder <msnyder@redhat.com>
2951
ac55707e
MS
2952 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2953 Don't require that the main thread and the manager thread are the
2954 first in the list.
2955
ae23c492
MS
2956 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2957 debugging. If test fails, issue an "unsupported" not a "fail".
2958
400071f1
JB
29592001-05-24 Jim Blandy <jimb@redhat.com>
2960
2961 Don't assume that short is shorter than int.
2962 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2963 assume that shorts are smaller than ints. On a 16-bit machine,
2964 this isn't true.
2965 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2966 an int, is not equal to ~0 stored in an unsigned char. This tests
2967 the same thing that the previous test meant to, but works on
2968 16-bit machines, too.
2969 ("print unsigned char != (~0)"): Same test, complemented.
2970
0816a3e5
MS
29712001-05-24 Michael Snyder <msnyder@redhat.com>
2972
2973 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2974 test for (full_coverage == 0). This makes the test run faster,
2975 and prevents dejagnu getting out of step.
2976
f6dc23a9
KB
29772001-05-23 Kevin Buettner <kevinb@redhat.com>
2978
2979 * gdb.base/finish.exp (finish_void): Revise pattern for
2980 stopping on the call statement to not permit stopping at
2981 the start of the instructions comprising the call sequence.
2982
7dbd117d
MC
29832001-05-19 Michael Chastain <chastain@redhat.com>
2984
2985 * gdb.base/callfuncs.exp: Make all test names unique.
2986 * gdb.base/commands.exp: Make all test names unique.
2987 * gdb.base/condbreak.exp: Make all test names unique.
2988 * gdb.base/dbx.exp: Make all test names unique.
2989 * gdb.base/default.exp: Make all test names unique.
2990 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2991 and TIMEOUT messages to their corresponding PASS message.
2992 * gdb.base/ending-run.exp: Make all test names unique.
2993 * gdb.base/long_long.exp: Remove duplicate test.
2994
6b0b0a9e
KB
29952001-05-21 Kevin Buettner <kevinb@redhat.com>
2996
2997 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2998 stop on the call statement as well as the statement after the
2999 call.
3000
2caa35cb
MS
30012001-05-21 Michael Snyder <msnyder@redhat.com>
3002
3003 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3004
40713331
EZ
30052001-05-10 Elena Zannoni <ezannoni@redhat.com>
3006
3007 * gdb.base/completion.exp: Revamp test. Make it execute on all
3008 platforms.
3009
c2c1be8d
EZ
30102001-05-10 Elena Zannoni <ezannoni@redhat.com>
3011
2c9cd303
EZ
3012 * config/gdbserver.exp (gdb_load): Handle the case
3013 in which the arguments to gdbserver are given in the
3014 baseboard configuration file.
3015 Also handle the case in which the server needs to do a
3016 load.
3017
9671de48
KS
30182001-05-07 Keith Seitz <keiths@cygnus.com>
3019
3020 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3021 set up the display for testing.
3022 (gdbtk_start): Convert all paths to paths that tcl will like.
3023 Export target information to environment.
3024 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3025 necessary.
3026 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3027 (to_tcl_path): New proc to convert a given pathname into
3028 a path acceptible as an argument to a tcl command.
3029 (_gdbtk_export_target_info): New proc to export target info
3030 into the environment for gdbtk testing.
3031 (gdbtk_done): New proc to signal end-of-test.
3032
5a360f47
JB
30332001-05-06 Jim Blandy <jimb@redhat.com>
3034
3035 * restore.c: Make the code of caller0 correspond to its comment.
3036
66c756c6
MS
30372001-05-03 Michael Snyder <msnyder@redhat.com>
3038
3039 * config/sid.exp (gdb_target_sid): Check for error messages.
3040 On error or timeout, don't make expect exit (which will terminate
3041 all subsequent tests); instead just make gdb exit.
3042 (gdb_load): Check for error messages. On error or timeout,
3043 return a negative value.
3044
a966fde5
JB
30452001-04-24 Jim Blandy <jimb@redhat.com>
3046
851c18e0
JB
3047 * gdb.c++/templates.exp: If we see the prompt for the overload
3048 list, but we haven't recognized any of the longer patterns,
3049 arrange for this test to fail, not hang.
3050
a966fde5
JB
3051 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3052 variations.
3053
db144853
MC
30542001-04-22 Michael Chastain <chastain@redhat.com>
3055
3056 * gdb.c++/local.exp: Use the 'runto' library function.
3057 * gdb.c++/namespace.exp: Likewise.
3058 * gdb.c++/overload.exp: Likewise.
3059
3207ec21
KB
30602001-03-26 Kevin Buettner <kevinb@redhat.com>
3061
3062 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3063 * gdb.base/step-line.exp: New file. Test step/next in presence of
3064 #line directives.
3065 * gdb.base/step-line.c: New file. Test program for the above.
3066 * gdb.base/step-line.inp: New file. We pretend that this file has
3067 been transformed by some other tool into step-line.c.
3068
13b57657
JB
30692001-03-21 Jim Blandy <jimb@redhat.com>
3070
3071 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3072 unmangled operator names.
3073
754cbe1c
JB
30742001-03-20 Jim Blandy <jimb@redhat.com>
3075
3076 * gdb.threads/linux-dp.exp: Recognize an additional message
3077 generated by GDB when it doesn't understand how to debug threads
3078 on the target system.
3079
177495c9
AC
30802001-03-19 Andrew Cagney <ac131313@redhat.com>
3081
3082 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3083
f266096b
MC
30842001-03-12 Michael Chastain <chastain@redhat.com>
3085
3086 * gdb.c++/derivation.exp: Use the 'runto' library function.
3087
cac3c2ff
MC
30882001-03-12 Michael Chastain <chastain@redhat.com>
3089
3090 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3091
b6c11a24
MC
30922001-02-24 Michael Chastain <chastain@redhat.com>
3093
3094 * gdb.c++/ref-types.exp: Change handwritten code to library
3095 function 'runto'.
3096
6bae5bce
OF
30972001-03-16 Orjan Friberg <orjanf@axis.com>
3098
3099 * gdb.base/signals.exp: Set count to 0 explicitly.
3100
0015fd9a
MS
31012001-03-15 Mark Salter <msalter@redhat.com>
3102
3103 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3104 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3105 (gdb_load): Add support for additional target_info: gdb_download_size
3106 and gdb_load_timeout.
0015fd9a 3107
fc33412a
DT
3108Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3109
3110 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3111 file -- to prevent failing when the compile fails but we have no
3112 intention of running the tests anyway.
3113
3114 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3115 tests if set.
3116
3117 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3118 integers.
3119
3120 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3121 * gdb.c++/namespace.exp: Ditto.
3122
115f06de
OF
31232001-03-07 Orjan Friberg <orjanf@axis.com>
3124
3125 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3126 * gdb.base/pointers.exp: Relax pattern match of decimals.
3127
b6ba6518
KB
31282001-03-06 Kevin Buettner <kevinb@redhat.com>
3129
3130 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3131 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3132 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3133 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3134 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3135 config/sh.exp, config/sid.exp, config/slite.exp,
3136 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3137 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3138 config/vxworks.exp, config/vxworks29k.exp,
3139 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3140 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3141 gdb.base/arithmet.exp, gdb.base/assign.exp,
3142 gdb.base/async.exp, gdb.base/attach.exp,
3143 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3144 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3145 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3146 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3147 gdb.base/commands.exp, gdb.base/completion.exp,
3148 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3149 gdb.base/constvars.exp, gdb.base/corefile.exp,
3150 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3151 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3152 gdb.base/ending-run.exp, gdb.base/environ.exp,
3153 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3154 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3155 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3156 gdb.base/funcargs.exp, gdb.base/help.exp,
3157 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3158 gdb.base/logical.exp, gdb.base/long_long.exp,
3159 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3160 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3161 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3162 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3163 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3164 gdb.base/regs.exp, gdb.base/relational.exp,
3165 gdb.base/remote.exp, gdb.base/reread.exp,
3166 gdb.base/restore.exp, gdb.base/return2.exp,
3167 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3168 gdb.base/selftest.exp, gdb.base/setshow.exp,
3169 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3170 gdb.base/sigall.exp, gdb.base/signals.exp,
3171 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3172 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3173 gdb.base/step-test.exp, gdb.base/structs.c,
3174 gdb.base/structs.exp, gdb.base/structs2.exp,
3175 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3176 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3177 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3178 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3179 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3180 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3181 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3182 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3183 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3184 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3185 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3186 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3187 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3188 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3189 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3190 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3191 gdb.trace/circ.exp, gdb.trace/collection.exp,
3192 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3193 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3194 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3195 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3196 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3197 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3198 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3199 notices.
3200
dc96c6c7 32012001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
3202
3203 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3204 first arg is int not float.
3205
dc96c6c7 32062001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
3207
3208 * gdb.base/reread.exp: Unsupported for non-native targets;
3209 doesn't work for remote debugging.
3210
9b0c4aeb
FN
32112001-02-19 Fernando Nasser <fnasser@redhat.com>
3212
3213 From Drew Moseley <dmoseley@redhat.com>
3214 * gdb.base/ending-run.exp: Properly handle the BSP state when
3215 stepping past the end of main.
3216
02aa71d5
MC
32172001-02-19 John Moore <jmoore@redhat.com>
3218
3219 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3220 Converted HPUX fix for non-expected items following multiple
3221 step commands into general solution for all platforms.
3222
1fa449a4
MC
32232001-02-18 Michael Chastain <chastain@redhat.com>
3224
3225 * gdb.c++/classes.exp (do_tests): Change runto statements
3226 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3227 statements demangler agnostic.
3228 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3229 (gdb_virtfunc_restart): Likewise.
3230
b2f9ec70
MC
32312001-02-14 Michael Chastain <chastain@redhat.com>
3232
3233 * gdb.c++/inherit.exp (do_tests): Change runto statements
3234 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3235 statements demangler agnostic.
3236
cf74b8ca
AC
3237Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3238
3239 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3240 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3241 before calling common_routine 15 times'' tests.
3242
99f78f56
MC
32432001-02-11 Michael Chastain <chastain@redhat.com>
3244
3245 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3246 Helps the test script figure out which demangler is in use.
3247 (dm_type_foo_ref): Ditto.
3248 (dm_type_int_star): Ditto.
3249 (dm_type_long_star): Ditto.
3250 (dm_type_unsigned_int): Ditto.
3251 (dm_type_void): Ditto.
3252 (dm_type_void_star): Ditto.
99707966 3253 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
3254 Probe the gdb demangler and set variables to accommodate
3255 formatting differences.
3256 (info_func_regexp): New function. Same as info_func, but
3257 matches against a regexp.
3258 (info_func): Match against a literal string.
3259 (print_addr_2): New function. Match against a literal string,
3260 which can be different from the input to gdb.
3261 (print_addr): Simply call print_addr_2 with the same argument twice.
3262 (test_lookup_operator_functions): Use demangler formatting variables.
3263 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3264 the tests in the same order as the C++ class declaration.
3265 (test_paddr_operator_functions): Ditto.
3266 (test_paddr_overloaded_functions): Ditto.
3267 (test_paddr_hairy_functions): Use demangler formatting variables.
3268 Add reference to gdb/19 for related tests.
3269 (do_tests): Call probe_demangler.
3270
1de8f023
KB
32712001-01-30 Kevin Buettner <kevinb@redhat.com>
3272
3273 * gdb.c++/templates.cc (printf): Remove unused function definition.
3274
ca3f91ed
MS
32752001-01-26 Felix Lee <flee@redhat.com>
3276
3277 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3278
32792001-01-25 matthew green <mrg@redhat.com>
3280
3281 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3282 up sid.
3283 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3284
32852001-01-25 matthew green <mrg@redhat.com>
3286
3287 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3288 Deprecate $sid_spawn_id.
3289 (sid_exit): Remove code necessary only for `spawn.'
3290
32912001-01-25 matthew green <mrg@redhat.com>
3292
3293 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3294
fb18ec4a
MC
32952001-01-28 Michael Chastain <chastain@redhat.com>
3296
3297 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3298 to call when tests fail. It takes gdb out of the overloaded
3299 function choice menu back to the main prompt, so that the test
3300 program stays synchronized.
3301 (set_bp_overloaded): New proc to collect all the common
3302 code for setting a breakpoint on an overloaded name. Calls
3303 take_gdb_out_of_choice_menu when needed.
3304 (menu_overload1arg): New variable to collect the repeated
3305 instances of the expected menu for an overloaded name. Change
3306 the regular expression to handle changes in g++ type encoding:
3307 "void" can be either "void" or "", and "unsigned int" can be
3308 either "unsigned int" or "unsigned".
3309 (continue_to_bp_overloaded): Change regular expressions to handle
3310 changes in g++ type encoding.
3311 (no proc): Call take_gdb_out_of_choice_menu when needed.
3312 Remove redundant calls to "info break". Accept either "canceled"
3313 or "cancelled". Change regular expressions in "info break"
3314 calls to handle changes in g++ type encoding. Give all tests
3315 unique strings.
3316
9c646a6e
BE
33172001-01-17 Ben Elliston <bje@redhat.com>
3318
3319 * config/sid.exp: New file.
3320
9549d9c1
AC
3321Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3322
3323 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3324
dc96c6c7 33252000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3326
3327 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3328 Add a RE to accept a non-ascii char if one is ever presented.
3329
b4df4f68
FN
33302000-12-20 Fernando Nasser <fnasser@redhat.com>
3331
297dd0fd 3332 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3333
dc96c6c7 33342000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3335
3336 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3337 in regexp. One '\' does not suffice on Linux.
3338
4a7bddb6
MC
33392000-12-09 Michael Chastain <chastain@redhat.com>
3340
3341 * gdb.base/break.exp (test_clear_command): Use a marker function
3342 rather than 'main' for the test function. Also move this
3343 test to an execution point where the marker function names are
3344 guaranteed to be bound to functions. (Executing tests after a
3345 'finish' from main runs into name conflicts with local names
3346 in __libc_start_main).
3347
dc96c6c7 33482000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3349
3350 * gdb.base/finish.exp: New test for gdb's "finish" command.
3351 * gdb.base/return2.exp: New test for gdb's "return" command.
3352 * gdb.base/return2.c: New source file for above.
3353
dc96c6c7 33542000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3355
3356 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3357 * gdb.base/miscexprs.exp: Ditto.
3358 * gdb.base/pointers.exp: Ditto.
3359 * gdb.c++/derivation.exp: Ditto.
3360 * gdb.c++/local.exp: Ditto.
3361 * gdb.c++/namespace.exp: Ditto.
3362 * gdb.c++/overload.exp: Ditto.
3363 * gdb.c++/ref-types.exp: Ditto.
3364
dc96c6c7 33652000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3366
3367 * gdb.base/constvars.exp: Test result of "up" command.
3368 * gdb.base/miscexprs.exp: Ditto.
3369 * gdb.base/pointers.exp: Ditto.
3370 * gdb.base/scope.exp: Ditto.
3371 * gdb.c++/derivation.exp: Ditto.
3372 * gdb.c++/local.exp: Ditto.
3373 * gdb.c++/namespace.exp: Ditto.
3374 * gdb.c++/overload.exp: Ditto.
3375 * gdb.c++/ref-types.exp: Ditto.
3376
44097287
FN
33772000-11-22 Michael Chastain <chastain@redhat.com>
3378
3379 * mips_pro.exp: Accept either "middle -> top -> main" or
3380 "middle -> main" in the backtrace, because gcc can optimize
3381 tail calls to jumps. Remove setup_xfail for the hppa case.
3382 Add a comment with the original warning messages from PR 3016,
3383 which was filed in 1993, to preserve them for posterity.
3384
9d2e1bab
ND
33852000-11-17 Nick Duffek <nsd@redhat.com>
3386
3387 * lib/gdb.exp (gdb_test): Override timeout with board info.
3388
1aca8eb7
ND
33892000-11-17 Nick Duffek <nsd@redhat.com>
3390
3391 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3392 the second kill and detach messages.
3393
93076499
ND
33942000-11-17 Nick Duffek <nsd@redhat.com>
3395
3396 * configure.in: Add AC_EXEEXT.
3397 * configure: Regenerate.
3398 * Makefile.in (just-check): Export EXEEXT.
3399 * lib/gdb.exp ($EXEEXT): Import from environment.
3400 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3401 expect "maint dump-me" on Cygwin.
3402 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3403 $EXEEXT.
3404
30e87cd3
ND
34052000-11-17 Nick Duffek <nsd@redhat.com>
3406
3407 * gdb.base/break.exp: Test backtrace and finish from called
3408 function on all platforms, not just HP-UX.
3409
dc96c6c7 34102000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3411
3412 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3413 code from gdb_target_monitor, so it can be used independantly
3414 for gdbserver. Also comment out an unnecessary PUTS.
3415
dc96c6c7 34162000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3417
3418 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3419 * gdb.base/corefile.exp: Expect the message "Program is being
3420 debugged already" when we send the "corefile" command, since
3421 the preceeding gdb_load may have connected gdb to a remote target.
3422 * gdb.base/display.exp: Disable hardware watchpoints if new
3423 board info variable "no_hardware_watchpoints" is true.
3424 Replace single-letter commands with more readable ones.
3425 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3426 if new board info variable "no_hardware_watchpoints" is true.
3427 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3428 to see if stdio (printf) testing is possible.
3429 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3430 board info variable "no_hardware_watchpoints" is true. Use new
3431 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3432
39124dea
FN
34332000-11-13 Fernando Nasser <fnasser@redhat.com>
3434
3435 From Orjan Friberg <orjanf@axis.com>:
3436 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3437 in array print pattern match.
3438
a9e2e984
FN
34392000-11-09 Fernando Nasser <fnasser@redhat.com>
3440
3441 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3442 spelling "cancelled" to U.S. spelling "canceled" to match changes
3443 made to gdb.
3444 * gdb.c++/ovldbreak.exp: Ditto.
3445
c7db355b
PS
34462000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3447
3448 * gdb.base/callfuncs.c (main): Moved to end of file, call
3449 t_double_values to initialize the FPU before inferior calls are made.
3450 * gdb.base/callfuncs.exp: Test for register preservation after calling
3451 inferior functions. Add tests for continuining, finishing and
3452 returning from a stop in a call dummy.
3453
dc96c6c7 34542000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3455
3456 * gdb.base/commands.exp: Break up long lines, and re-indent.
3457
dc96c6c7 34582000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3459
3460 * config/gdbserver.exp: Rewritten from the ground up, to make it
3461 compatible with the current dejagnu tree, and to make it work with
3462 the new "gdbserver" in libremote.
3463
dc96c6c7 34642000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3465
3466 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3467 * gdb.base/varargs.exp: Skip entire test if no printf support.
3468 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3469 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3470
dc96c6c7 34712000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3472
3473 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3474 no floating point support.
3475 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3476 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3477 * gdb.base/call-rt-st.exp: Ditto.
3478 * gdb.base/call-strs.exp: Ditto.
3479
bac5fc66
JG
34802000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3481
3482 * gdb.base/sizeof.c: include <stdio.h>.
3483
3484 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3485 'finish', otherwise uncaptured gdb_prompt would potentially
3486 throw remaining test points out of sync.
3487
b22a6027
SB
34882000-07-26 Scott Bambrough <scottb@netwinder.org>
3489
3490 * gdb.base/recurse.exp: Run tests for all targets.
3491 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3492 gnu-oldld case on ARM.
3493 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3494 for ARM targets.
3495
d8231941
AG
3496Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3497
3498 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3499 * gdb.java/configure: Rebuild.
3500
8caabe69
AG
3501Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3502
3503 * gdb.java/jv-exp.exp: New file.
3504
9d273ca3
AG
3505Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3506
3507 * configure: Rebuilt.
3508 * configure.in (configdirs): Add gdb.java.
3509 * gdb.java/jmisc.java: New file.
3510 * gdb.java/jmisc.exp: New file.
3511 * gdb.java/Makefile.in: New file.
3512 * gdb.java/configure: Rebuilt.
3513 * gdb.java/configure.in: New file.
3514 * lib/java.exp: New file.
3515
4f823a66
AC
3516Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3517
3518 * gdb.base/exprs.exp: Test casts to a pointer including over and
3519 underflow.
3520
2391e11d
AC
3521Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3522
3523 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3524 and the compilers sizes.
3525
54602222
ND
35262000-07-09 Nick Duffek <nsd@redhat.com>
3527
3528 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3529 (use_methods): New function.
3530 (main): Call use_methods().
3531 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3532 (do_tests): Call test_method_param_class.
3533
2bec0572
ND
35342000-07-09 Nick Duffek <nsd@redhat.com>
3535
3536 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3537 spelling.
3538 (test_enums): New procedure. Move enum tests from end of script
3539 to here. Set breakpoint on function name instead of line number.
3540 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3541 (enums2): New marker function.
3542 (enums1): New function.
3543 (main): Call enums1(). Move enum tests to enums1().
3544
78492fde
AC
3545Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3546
3547 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3548 compile/link program. Update line numbers.
3549 * gdb.asm/d10v.inc: Define ``startup''.
3550 * gdb.asm/asmsrc1.s: Add definition of _start.
3551
49a2cef8
AC
3552Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3553
3554 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3555
3e6c8688
EZ
35562000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3557
3558 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3559 of 'help maint print' command.
3560
9ff5cbe9
AC
3561Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3562
3563 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3564 they use gdb_expect_list.
3565
17c579bd
AC
3566Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3567
3568 * gdb.base/commands.exp: Use ``set remote
3569 memory-read-packet-size'' instead of ``set endian big'' to test
3570 long commands.
3571
e6d71bf3
DB
35722000-06-03 Daniel Berlin <dan@cgsoftware.com>
3573
3574 * gdb.c++/templates.exp (do_tests): Make all of these work under
3575 g++, and stop skipping them.
3576
3577 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3578 work under g++.
3579
e5f9ba7b
MS
3580 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3581 initialization.
3582
dc96c6c7 35832000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3584
3585 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3586 the regular expression: accept an (almost) arbitrary sequence of
3587 "frames-invalid" and "breakpoints-invalid" messages both before
3588 and after the "starting" message.
3589
dc96c6c7 35902000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3591
3592 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3593
dc96c6c7 35942000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3595
3596 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3597 Relax the regular expression a little, make it pass on Solaris 8.
3598
8216cda9
KB
35992000-05-12 Kevin Buettner <kevinb@redhat.com>
3600
3601 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3602 a call, do not require that gdb stop on the line after the call.
3603 Instead, it is permissible for gdb to stop on the line of the
3604 call itself.
3605
1a570b2f
MS
36062000-05-12 Michael Snyder <msnyder@.cygnus.com>
3607
3608 * gdb.base/break.exp (bp on small function, optimized file):
3609 Add a second pass pattern. The behavior differs here between stabs
3610 and dwarf for one-line functions. Stabs preserves two line symbols
3611 (one before the prologue and one after) with the same line number,
3612 but dwarf regards these as duplicates and discards one of them.
3613 Therefore the address after the prologue (where the breakpoint is)
3614 has no exactly matching line symbol, and GDB reports the breakpoint
3615 as if it were in the middle of a line rather than at the beginning.
3616
dc96c6c7 36172000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3618
3619 * gdb.base/interrupt.exp: Make "pass" message say "send"
3620 rather than "send_gdb" (for consistancy).
3621
7d418785
AC
3622Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3623
3624 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3625 * gdb.c++/templates.cc: Properly check for GCC version number.
3626 * lib/compiler.cc: Likewise
3627
dc96c6c7 36282000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3629
3630 * gdb.base/break.exp: When compiled with -O2 optimization,
3631 gdb may not stop at the first line of main, due to code motion.
3632
dc96c6c7 36332000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3634
3635 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3636 This test depends on parsing the printf output from the target.
3637 Since the sparclet stub doesn't do stdio, this will never work.
3638 * gdb.base/call-rt-st.exp: ditto.
3639 * gdb.base/call-strs: ditto.
3640
dc96c6c7 36412000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3642
3643 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3644
3645 * gdb.base/ending-run.exp: After connecting to a remote target,
3646 but before running, the target will appear to be in a random
3647 location. Specify both a file and a line for breakpoints.
3648 Also, the function that calls main may be called 'init'
3649 rather than 'start'.
3650
a5a51225
EZ
36512000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3652
3653 * gdb.base/help.exp: Update output for add-symbol-file command.
3654
7930cc7c
FN
36552000-04-10 Fernando Nasser <fnasser@cygnus.com>
3656
3657 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3658 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3659
23e37ab1
C
36602000-04-07 J.T. Conklin <jtc@redback.com>
3661
e93c542c
C
3662 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3663
23e37ab1
C
3664 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3665
591b8fa3
PDM
3666Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3667
3668 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3669 values that can be represented exactly.
3670 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3671 above change, and to not check against the directory part of the source
3672 file name.
3673 (step into print_long_arg_list): Likewise.
3674 (print print_small_structs from print_long_arg_list): Likewise.
3675 (print print_long_arg_list): Likewise.
3676
7a495180
EZ
36772000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3678
30b53638 3679 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3680
beb998c6
AC
3681Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3682
3683 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3684
1c689132
DB
36852000-03-25 Daniel Berlin <dan@cgsoftware.com>
3686
3687 * gdb.base/commands.exp (deprecated_command_test): Add test for
3688 deprecate with no arguments.
3689
c1790a9d
JL
36902000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3691
3692 * gdb.base/break.exp: Add new test for setting breakpoints on
3693 optimized code so we can test breakpoints work even when function
3694 prologues may be optimized away
3695
003ba290
FN
36962000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3697
3698 From David Whedon <dwhedon@gordian.com>
3699 * gdb.base/commands.exp : Added command deprecator tests.
3700
6837a0a2
DB
37012000-03-22 Daniel Berlin <dan@cgsoftware.com>
3702
3703 * gdb.base/help.exp: Added test for new apropos command.
3704
b9593231
KB
37052000-03-21 Kevin Buettner <kevinb@redhat.com>
3706
3707 * gdb.base/pointers.c (usevar): New function.
3708 (main): Make sure that global variables v_int_pointer2, rptr,
3709 and y are all referenced someplace in the program by calling
3710 usevar() on them. [Some linkers delete symbols which are
3711 never referenced. The space remains, but there's no way to
3712 get a (symbolic) handle on the variable from the debugger.]
3713
751a959b
EZ
37142000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3715
3716 * gdb.base/printcmds.c: Add typedeffed arrays.
3717
3718 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3719 procedure to test arrays that are typedef'd.
3720
73a93a32
JI
37212000-03-13 James Ingham <jingham@leda.cygnus.com>
3722
3723 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3724 the library directories.
73a93a32 3725
fb40c209
AC
3726Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3727
3728 * configure.in (configdirs): Add sub directory gdb.mi.
3729 * configure: Re-generate.
3730
3731 * gdb.mi: New directory.
beb998c6 3732
ee4dd2c9
AC
37332000-02-25 Scott Bambrough <scottb@netwinder.org>
3734
3735 * gdb.base/long_long.exp: Correct test suite failure when printing
3736 a long long value as a double on ARM platforms.
3737
70f0cc22
JB
37382000-02-16 Jim Blandy <jimb@redhat.com>
3739
3740 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3741 default source file is set properly before running this test.
3742
853819b8
EZ
37432000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3744
3745 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3746 gdbtk/library directory, not in gdbtcl2.
3747
dfcd3bfb
JM
37482000-02-04 Jim Blandy <jimb@redhat.com>
3749
3750 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3751 backslash from regexp pattern.
3752
3753 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3754 procedure. Use it to run all the "continue to bp overloaded"
3755 tests. Note that this changes the names of the tests slightly.
3756 If the breakpoint hit message includes a hex PC value, because
3757 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3758 from the real source code, still consider that a pass.
3759
3760 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3761 XFAIL here if the breakpoint message contains a hex address. Note
3762 similar change on 1999-11-02.
3763
3764 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3765
3766 * gdb.base/ptype.exp: Establish a default source file before
3767 calling get_debug_format.
3768
37692000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3770
3771 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3772
8b93c638
JM
37732000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3774
3775 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3776 of successive stepi commands -- while in the prologue we should see
3777 the function entry bracket.
3778
37792000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3780
3781 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3782 reach __change_mode() when stepping through the end of main().
3783
c5394b80
JM
37842000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3785
3786 * gdb.base/default.exp: Fix expected pattern.
3787 * gdb.base/help.exp: Same.
3788
0d06e24b
JM
37892000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3790
3791 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3792 Don't use xfail's because that affects only the following test.
beb998c6 3793
0d06e24b
JM
3794 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3795 solaris or linux.
3796
3797 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3798
dc96c6c7 37992000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3800
beb998c6 3801 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3802 "A syntax error" rather than "A parse error". Accept both.
3803
38042000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3805
3806 * gdb.base/default.exp: Remove OS dependent string from "target
3807 remote" test.
3808 * gdb.base/help.exp: Same for "help target remote" test.
3809
c3f6f71d
JM
38102000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3811
3812 From Jim Kingdon <kingdon@redhat.com>:
3813
3814 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3815 prompt (cleanup rather than necessity, but still might keep output
3816 from spilling to next test).
3817
38182000-01-02 Fred Fish <fnf@cygnus.com>
3819
3820 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3821 AIX, which defines them in <sys/types.h>.
3822
ed9a39eb 38231999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3824
ed9a39eb
JM
3825 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3826 float" test.
3827
38281999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3829
ed9a39eb 3830 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3831
3832 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3833 outermost frame disallowed".
3834
38351999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3836
3837 * gdb.base/setvar.exp: New tests for setting the value of a struct
3838 with a constant list.
3839
38401999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3841
3842 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3843 require the user to type a cast before setting the value of a struct.
3844
de57eccd
JM
38451999-12-06 Jim Blandy <jimb@cygnus.com>
3846
3847 * gdb.base/default.exp: Expect the new 'info float' command on
3848 all i386 platforms.
3849
3850 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3851 LinuxThreads libraries that don't support debugging.
3852
c2d11a7d
JM
3853Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3854
3855 * gdb.base/remote.c: Fill the buffer with truely random data.
3856 Change the buffer type to ``unsigned char'' to simplify size
3857 arithmetic.
3858
3859 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3860 stub only handles 400-1 byte packets. Verify that the download
3861 worked.
3862
38631999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3864
3865 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3866 tests, using UNRESOLVED for the untested cases. Also, does not wait
3867 for a timeout if the prompt was received before a recognizable pattern.
3868
38691999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3870
3871 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3872
38731999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3874
3875 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3876 watchpoints.
3877
38781999-11-24 Jason Merrill <jason@casey.cygnus.com>
3879
3880 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3881
3882 * gdb.c++/local.exp: Be more flexible in recognizing local class
3883 name mangling. Don't allow horribly truncated method names.
3884 * gdb.c++/derivation.exp: Expect protected inheritance.
3885 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3886 * gdb.c++/virtfunc.exp: Likewise.
3887 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3888 when printing a nested enum.
3889
38901999-11-22 Jim Blandy <jimb@cygnus.com>
3891
3892 * gdb.base/step-test.exp: Properly await GDB's response to setting
3893 a breakpoint on the call to large_struct_by_value.
3894
3895 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3896 just because we have debug info for the `start' function.
3897
38981999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3899
3900 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3901 "Unknown signal" messages, which indicate (on LinuxThreads) that
3902 GDB doesn't know how to debug threads on this system. This is
3903 better than hanging while philosopher 0 dumps chatter into gdb.log.
3904
39051999-11-18 Tom Tromey <tromey@cygnus.com>
3906
3907 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3908
39091999-11-18 Fred Fish <fnf@cygnus.com>
3910
3911 * gdb.base/coremaker2.c: Add sample program for generating
3912 cores that is more self contained than coremaker.c. Eventually
3913 I'll add more code to this and tie it into the testsuite.
3914
4ce44c66
JM
39151999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3916
3917 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3918
39191999-11-10 Jimmy Guo <guo@cup.hp.com>
3920
3921 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3922 from $srcdir/lib/.
3923 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3924 and gdb.c++/.
3925
3926 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3927
beb998c6 3928 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3929 'continue with watch' test point.
3930
39311999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3932
3933 Merged from p2linux-990323-branch:
beb998c6 3934
4ce44c66
JM
3935 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3936
11cf8741
JM
3937Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3938
3939 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3940 {limit,fixed}''. Test ``set download-write-size''.
3941
3942Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3943
3944 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3945 gdb_expect_list.
3946
3947Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3948
3949 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3950
39511999-11-03 Mark Salter <msalter@cygnus.com>
3952
3953 * gdb.base/break.exp: Fix "stub continue" pattern.
3954
39551999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3956
3957 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3958
39591999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3960
3961 * gdb.base/display.exp ("finish"): Add timeout clause.
3962
3963 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3964 plain prompt clause, so this doesn't have to time out in order to
3965 fail.
3966
3967 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3968 breakpoint hit messages include an address.
3969
3970 * gdb.base/display.exp: Don't forget to escape parens in regular
3971 expressions. Unix regexp notatation sucks.
3972
39731999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3974
3975 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3976 order for 'signalled' message.
3977
5c44784c
JM
39781999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3979
3980 From Jimmy Guo <guo@cup.hp.com>:
3981 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3982 * gdb.base/annota1.c: Add code for tests to work with.
3983
39841999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3985
3986 * gdb.base/remote.exp: New test for remote downloading settings.
3987 * gdb.base/remote.c: New file with large .data.
3988
917317f4
JM
39891999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3990
3991 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3992 for LinuxThreads support, merged from the Code Fusion branch.
3993
3994Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3995
3996 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3997 containing exp_continue into a while within an expect. Don't
3998 attempt a start more than three times. Check return value from
3999 gdb_load.
beb998c6 4000
2df3850c
JM
4001Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4002
4003 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4004 a pass case.
4005
2acceee2
JM
40061999-10-01 Kevin Buettner <kevinb@cygnus.com>
4007
4008 * gdb.base/break.c (main): Added a statement that we can step
4009 off of.
4010 * gdb.base/break.exp: Added tests for setting a breakpoint
4011 at an offset and stepping onto a breakpoint.
4012
40131999-10-01 Fred Fish <fnf@cygnus.com>
4014
beb998c6 4015 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4016 gdb output.
4017
c2c6d25f
JM
40181999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4019
4020 * gdb.base/break.exp: Code locations are in hex, don't forget!
4021 (For HP-UX.)
4022
40231999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4024
4025 * condbreak.exp: Use break.c as test program.
4026 * condbreak.c: Remove, redundant with break.c.
4027
40281999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4029
4030 * config/monitor.exp (gdb_target_monitor): Disable X- and
4031 Z-packets if the target needs it.
4032
40331999-09-13 James Ingham <jingham@leda.cygnus.com>
4034
4035 * gdb.c++/overload.exp: Added tests for listing overloaded
4036 functions with function pointers in the arg, explicitly calling
4037 out the version you want.
4038
cff3e48b
JM
40391999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4040
4041 * long_long.exp: Add variations of test cases that work for
4042 targets with 16-bit ints and 32-bit doubles.
4043
d4f3574e
SS
40441999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4045
4046 * break.c (main): Compare a possibly-uninitialized argc with an
4047 unlikely value that fits in 16 bits.
4048
40491999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4050
4051 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4052 0xfeeb, don't want negative numbers if ints are 16 bits.
4053
4054 * lib/gdb.exp (skip_cplus_tests): New proc.
4055 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4056 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4057 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4058 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4059 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4060 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4061 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4062 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4063
4064 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4065
4066Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4067
4068 * gdb.base/corefile.exp (up): Allow a parameter to appear
4069 in the frame that we're going up to.
4070
4071 From Jim Blandy <jimb@cygnus.com>:
4072
4073 * gdb.base/default.exp (info float): Expect some output now.
4074
4075 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4076 returning floating-point values to fail on the x86.
4077 * gdb.base/callfwmall.exp (do_function_calls): Same.
4078
4079 * gdb.base/list.exp (test_listsize): Correct expectations for
4080 listing line 1 with listsize 2. Also, listing a single line
4081 works now, as does listing three lines. [Kevin's note: There
4082 were a number of other cases fixed too where the expectations
4083 differed...]
4084
40851999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4086
4087 * gdb.base/selftest.exp: Add case for when version prints as
4088 constant string instead of char pointer.
4089
104c1213
JM
40901999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4091
4092 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4093 stepping out of main.
4094
4095 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4096 G++ used.
4097
4098 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4099 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4100
4101 * gdb.c++/ovldbreak.exp: Update match string in test that
4102 includes a warning of multiple breakpoints.
4103
41041999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4105
4106 * gdb.base/display.exp: Improve precision of step-after-finish
4107 added yesterday.
4108
4109 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4110 test.
4111
4112 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4113 configs when using G++, not just hppa*.
4114
41151999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4116
4117 * gdb.base/async.c: New file.
4118 * gdb.base/async.exp: New file.
4119
4120Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4121
4122 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4123 PA64.
4124
53a5351d
JM
4125Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4126
104c1213
JM
4127 * gdb.base/display.exp: "finish" can leave us mid-line on many
4128 targets, deal with it. Add a small constant to main, instead of
4129 1000 since main+1000 may not be a valid address in the target.
4130
53a5351d
JM
4131 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4132 on hpux11.
4133
4134 * gdb.base/attach.exp: Handle another hpux11 error message variant
4135 when attaching to a process that does not exist.
4136
41371999-08-19 J.T. Conklin <jtc@redback.com>
4138
4139 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4140 characters in 'continue to 1241' test.
4141
41421999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4143
4144 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4145 stop in print_long_arg_list, define and use a whitespace
4146 variable in print_small_structs test, add an XFAIL for Solaris.
4147 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4148 interested enough to fix.
4149
7be570e7
JM
41501999-08-13 Keith Seitz <keiths@cygnus.com>
4151
4152 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4153 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4154 proc knows about targets other than the natives.
4155 (test_assign): Use "gdb_run_cmd" to "run" the target.
4156 Check that we've actually hit the breakpoint at main.
4157 When we attempt to assign a value to a local variable, check
4158 that the variable is in the current scope, i.e., don't use
4159 a test with an empty result.
4160
4161Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4162
4163 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4164 command.
4165
41661999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4167
4168 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4169 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4170 gdb.compat, gdb.threads-hp.
4171 gdb.hp/configure, gdb.hp/configure.in: New files.
4172 gdb.hp/Makefile.in: Recurse into new subdirs.
4173 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4174 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4175 in object files.
4176 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4177
96baa820
JM
41781999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4179
4180 * gdb.base/display.exp: Help expect by putting a newline in the
4181 funky printf, remove a bogus p/a test.
4182
41831999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4184
4185 * gdb.base/display.exp: Make sure that when we say 'run', we are
4186 connected to the target. This is necessary when running not
4187 natively.
4188
41891999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4190
4191 * gdb.base/step-test.exp: Removed some extraneous messages.
4192
4193 * gdb.base/long_long.exp: Don't run memory examination tests
4194 on little-endian targets (they will need a different set of
4195 results to match).
4196
41971999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4198
4199 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4200 until somebody decides to fix GDB.
4201
4202 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4203 constant as "ULL".
4204 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4205 matches for a couple x/2 commands.
4206
a0b3c4fd
JM
42071999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4208
4209 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4210 by merging in ref-types2 tests.
4211 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4212
4213 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4214 * gdb.c++/Makefile.in: Add standard actions.
4215 (EXECUTABLES): Rename from PROGS, update list.
4216 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4217 from gdb.hp.
4218 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4219 foo and bar locals.
4220 * gdb.c++/anon-union.exp: Fix tests to match.
4221 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4222 expect matches to handle output variations.
4223 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4224 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4225 output, add HP alternatives for new and delete prints.
4226 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4227 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4228 * gdb.c++/demangle.exp: Use $style when reporting failure.
4229 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4230 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4231 match alternatives.
4232 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4233 compilers.
4234 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4235 * gdb.c++/method.exp: Add match alternatives.
4236 * gdb.c++/misc.cc: Add bool types.
4237 * gdb.c++/misc.exp: Add tests for bool types.
4238 * gdb.c++/overload.exp: Add xfails.
4239 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4240 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4241 add some more template parameter tests (only for HP currently).
4242 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4243 * gdb.c++/virtfunc.cc: Add return type and value for main.
4244 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4245 match alternatives.
beb998c6 4246
a0b3c4fd
JM
42471999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4248
4249 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4250
42511999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4252
4253 * gdb.base/signals.exp: Don't expect getting a backtrace from
4254 within a signal handler to fail on Linux.
4255
42561999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4257
4258 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4259 * lib/gdb.exp: Remove some gratuitious semicolons.
4260 (delete_breakpoints): Increase timeout.
4261 (gdb_expect): Add -notransfer option.
4262 (gdb_test): Use -notransfer option.
4263 (get_compiler_info): Add f77 case.
4264 (get_compiler): New proc, split out from gdb_preprocess, add f77
4265 case.
4266 (gdb_preprocess): Call get_compiler.
4267
4268 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4269 * gdb.base/attach.exp, gdb.base/display.exp,
4270 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4271 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4272 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4273 third arg to gdb_test.
4274 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4275 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4276 HP-UX xfails, add others.
4277 * gdb.base/completion.exp: Reflect name change of self-test.
4278 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4279 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4280 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4281 HP failure number.
4282 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4283 useless HP-UX 10.30 references.
4284 * gdb.base/maint.exp: Loosen matches.
4285 * gdb.base/pointers.c (main): Declare more_code.
4286 * gdb.base/pointers.exp: Match on output of a `next'.
4287 * gdb.base/structs.c: Add prototypes.
4288 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4289 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4290
42911999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4292
4293 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4294 command.
4295
42961999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4297
4298 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4299 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4300
4301 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4302 debug info. Deal with lack of signal hanlder info in stack.
4303
4304 From Jim Kingdon <kingdon@redhat.com>:
4305 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4306
5a2468f5
JM
43071999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4308
4309 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4310 gdb.base/foll-vfork.exp: Don't run for crosses.
4311
adf40b2e
JM
4312Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4313
4314 * gdb.base/configure.in: Check for gdbvars.exp instead of
4315 a1-selftest.exp.
4316 * gdb.base/configure: Re-generate.
4317
43181999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4319
4320 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4321 in trying to run first and name is too long.
4322
4323 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4324 pointers2.c and pointers2.exp, respectively.
4325 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4326 doschk happier.
4327
43e526b9
JM
43281999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4329
4330 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4331 callfuncs2.c and callfuncs2.exp.
4332
4333 * gdb.base/list.exp: Remove mistaken xfails.
4334 * gdb.base/list0.h: Add optional prototypes.
4335
9846de1b
JM
4336Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4337
4338 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4339 calling malloc.
4340 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4341 * ptype.exp: Move test for get_debug_format to before its first
4342 use.
4343
43441999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4345
4346 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4347 * gdb.base/annota2.cc, annota2.exp: Move from here.
4348 * gdb.c++/annota2.cc, annota2.exp: To here.
4349 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4350
43ff13b4
JM
4351Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4352
4353 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4354 a consistent format.
4355
085dd6e6
JM
43561999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4357
4358 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4359 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4360 HP compilers, also set the globals $true and $false.
4361
4362 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4363 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4364 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4365 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4366 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4367 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4368 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4369 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4370 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4371 whatis.c} Add C++ compatible function definitions and return
4372 types, add includes for library functions.
4373 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4374 * gdb.base/step-test.c (myglob): Rename from glob.
4375 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4376 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4377 files, move here from gdb.hp.
4378 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4379 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4380 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4381 Adjust line numbers in regexps.
4382
4383 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4384 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4385 instead of 0/1.
4386
4387 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4388 foll-vfork.exp: New files, move here from gdb.hp.
4389 * gdb.base/page.exp: New file, test of pagination command.
4390
4391 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4392 recursion test.
4393 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4394
4395 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4396 gdb.base/solib.exp: Fix compiler invocation process.
4397
4398 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4399 HP-UX 11, turn off overload resolution explicitly.
4400 * gdb.base/commands.exp: Set argument list explicitly, add
4401 watchpoint test.
4402 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4403 them work.
4404 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4405 expressions properly.
4406 * gdb.base/corefile.exp: Loosen the match slightly.
4407 * gdb.base/default.exp: Allow "Error accessing memory" message
4408 also.
4409 * gdb.base/display.exp: Skip over x/0 j if PA64.
4410 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4411 * gdb.base/interrupt.exp: Ditto.
4412 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4413 in use.
4414 * gdb.base/list.exp: Add xfails for HP-UX.
4415 * gdb.base/long_long.exp: Refine some of the numeric matches.
4416 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4417 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4418 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4419 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4420 * gdb.base/ptype.exp: Succeed on more varieties of output.
4421 * gdb.base/scope.exp: Add xfails for HP-UX.
4422 * gdb.base/sect-cmd.exp: Add more cases.
4423 * gdb.base/setvar.exp: Add xfails for HP-UX.
4424 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4425 * gdb.base/signals.exp: Match on void symbolically.
4426 * gdb.base/step-test.exp: Add case for PA64.
4427 * gdb.base/term.exp: Add exit and restart.
4428 * gdb.base/twice.exp: Clean up after self.
4429 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4430 * gdb.base/whatis.exp: Allow more ways to pass tests.
4431
4432 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4433 no longer useful.
4434
4435Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4436
4437 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4438 list of patterns.
4439 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4440 print_double_array(double_array)", "continuing to breakpoint
4441 1018", "print print_double_array(array_d)" and "continuing to
4442 1034" tests.
beb998c6 4443
085dd6e6
JM
44441999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4445
4446 * Makefile.in: Add empty html and install-html targets.
4447
44481999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4449
4450 * config/mt-*: Remove, these haven't been used since 1996.
4451
44521999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4453
4454 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4455 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4456 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4457
9e0b60a8
JM
44581999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4459
4460 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4461 simpler match case for the ptype of the big class.
4462
44631999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4464
4465 * gdb.exp: Fix test for gdb_prompt existence.
4466
44671999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4468
4469 * gdb.exp (gdb_test): Add fail after calls to perror.
4470
44711999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4472
4473 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4474
44751999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4476
4477 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4478
0f71a2f6
JM
4479Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4480
4481 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4482 malloc() is linked in.
4483
44841999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4485
4486 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4487 step at end.
4488
4489 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4490
44911999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4492
4493 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4494
cce74817
JM
4495Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4496
4497 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4498 * gdb.base/mips_pro.exp: Likewise.
4499
45001999-06-02 Keith Seitz <keiths@cygnus.com>
4501
4502 * gdb.c++/templates.cc: Change all "new" operators to throw
4503 an exception.
4504 * gdb.c++/cplusfuncs.cc: Likewise.
4505
4506 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4507
4508Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4509
4510 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4511 * gdb.base/ending-run.exp: When stepping out of main, accept a
4512 step into an arbitrary assembler file.
4513
392a587b
JM
45141999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4515
beb998c6 4516 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4517 "breakpoint-invalid" to be printed.
beb998c6 4518 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4519 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4520 * gdb.base/annota2.cc: Initialize a.x to 0.
4521
9e086581
JM
45221999-05-17 Keith Seitz <keiths@cygnus.com>
4523
4524 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4525 when "skip_float_tests" set.
4526 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4527 "print print_ten_doubles", and "step into print_long_arg_list".
4528 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4529 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4530 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4531 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4532 "skip_float_tests" is set.
4533 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4534 when "skip_float_tests" set.
beb998c6 4535
cd0fc7c3
SS
45361999-05-06 Keith Seitz <keiths@cygnus.com>
4537
4538 * gdb.base/annota2.cc: Include stdio.h.
4539
4540Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4541
4542 * gdb.base/crossload.exp: Remove, this has been disabled ever
4543 since BFD stopped including all targets, and cross-GDB gets
4544 plenty of testing anyway.
4545 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4546 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4547 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4548 * gdb.base/README: Remove, was doc for this.
4549 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4550 needed.
4551
b83266a0
SS
45521999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4553
4554 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4555 output.
4556
4557 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4558 * gdb.base/annota2.exp: New file. More annotation tests.
4559 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4560 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4561
45621999-04-23 Angela Marie Thomas <angela@cygnus.com>
4563
4564 * config/cfdbug.exp: New file.
4565
7a292a7a
SS
45661999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4567
4568 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4569 Marcus Daniel's and Dale Hawkins's demangler crashes.
4570
4571 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4572 test_lucid_style_demangling, test_arm_style_demangling,
4573 test_hp_style_demangling): Try Tom Tromey's core-dumping
4574 identifier under each demangling style.
4575
45761999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4577
4578 * gdb.c++/demangle.exp: Include the current demangling style
4579 in all test names.
4580 (current_demangling_style): New global variable.
4581 (set_demangling_style, test_demangling_core, test_demangling,
4582 test_demangling_exact): New functions.
4583 (test_gnu_style_demangling, test_lucid_style_demangling,
4584 test_arm_style_demangling, test_hp_style_demangling): Use those,
4585 instead of calling gdb_test and gdb_test_exact directly.
4586 (catch_demangling_errors): New function, which reports errors
4587 signalled by the demangling test functions in an orderly way.
4588 (do_tests): Use catch_demangling_errors.
4589
45901999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4591
4592 * gdb.base/signals.exp (test_handle_all_print): Use () for
4593 grouping in expressions, not {}.
4594
4595 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4596 initialized yet.
4597
45981999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4599
4600 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4601 are listed.
4602
46031999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4604
4605 * gdb.stabs/weird.exp: Test for CC being defined before
4606 looking at its value.
4607
46081999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4609
4610 * gdb.base/call-ar-st.exp: Remove stray '#'.
4611 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4612 "short int" and "long int".
4613 * gdb.c++/overload.cc: Cast the string added in the previous
4614 change, to mollify finicky HP compiler.
4615 * gdb.hp/reg-test.exp (testfile): Fix file name.
4616 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4617
7a292a7a
SS
4618 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4619 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4620 alternate form of enum ptype.
4621
c906108c
SS
46221999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4623
7a292a7a
SS
4624 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4625 * gdb.hp/*.exp: Change all to run compiler probe only after
4626 passing skip_hp_tests, so as not to waste time on guaranteed
4627 failure.
4628
c906108c
SS
4629 * gdb.c++/overload.cc: Pass string instead of char addr, always
4630 init ccpfoo.
4631 * gdb.c++/templates.cc: Fix syntax error.
4632
7a292a7a
SS
4633Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4634
4635 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4636 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4637 command.
4638
46391999-03-18 James Ingham <jingham@cygnus.com>
4640
4641 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4642
4643 * gdb.c++/method.exp: It was testing an uninitialized int on the
4644 stack and assuming it was positive.
4645
4646 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4647
4648 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4649 keep it from killing the rest of the tests.
7a292a7a
SS
4650 Use gdb_continue_to_end.
4651
4652 * gdb.base/sigall.exp: use gdb_continue_to_end.
4653
4654 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4655
4656 * gdb.base/display.exp: use runto_main, not run.
4657
beb998c6
AC
4658 * gdb.base/default.exp: Check for the current error message in the
4659 r abbreviation test.
7a292a7a
SS
4660 Add strongarm to the targets that know info float.
4661
beb998c6 4662 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4663 run which doesn't work with monitors.
4664
4665 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4666
4667 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4668
4669 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4670 program. Traps the case (in Cygmon) when the program never really
4671 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4672 more places, so I used my name. Sorry Mark...
4673
4674 * config/monitor.exp (gdb_target_monitor): added another
4675 target_info parameter: remotebinarydownload. This will set the
4676 remotebinarydownload flag if this is causing some boards trouble.
4677
46781999-03-18 Mark Salter <msalter@cygnus.com>
4679
4680 * lib/gdb.exp (continue_to_exit): New function.
4681
4682 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4683 * gdb.base/ending-run.exp: Ditto.
4684 * gdb.base/step-test.exp: Ditto.
4685
46861999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4687
4688 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4689 (suggested by Art Haas <ahaas@neosoft.com>).
4690
46911999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4692
4693 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4694
4695Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4696
4697 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4698 descriptions of types (short unsigned int vs unsigned short, etc).
4699
47001999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4701
4702 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4703 a call to strlen; sometimes we do have sources.
4704
47051999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4706
4707 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4708 character, so GDB won't print garbage after its end.
beb998c6 4709
c906108c
SS
4710 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4711 breakpoint there instead. Sometimes GCC emits memcpy to handle
4712 the large structures being passed by value, so we step into that
4713 instead of sum_array_print, which obscures what we're really testing.
4714 * gdb.base/step-test.exp: However, we do want a test that notices
4715 the bizarre steps into memcpy, so do that here. Add check for
4716 stepping into function calls that pass large structures by value.
4717 ("Is that a noun clause, or are you just happy to see me?")
4718 Remove all references to specific line numbers.
4719 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4720 New type and function.
4721 (main): Call large_struct_by_value, passing it a large struct by value.
4722 * lib/gdb.exp (gdb_get_line_number): New function.
4723
4724 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4725 more portable.
4726
7a292a7a
SS
47271999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4728
c906108c
SS
4729 * lib/gdb.exp: Doc fixes.
4730
7a292a7a
SS
47311999-03-05 Nick Clifton <nickc@cygnus.com>
4732
beb998c6 4733 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4734
47351999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4736
c906108c
SS
4737 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4738 commands. They're not germane to this test, and they don't work
4739 that way on remote targets.
4740
3fc11d3e
JM
47411999-03-01 James Ingham <jingham@cygnus.com>
4742
4743 * Changelog entries merged over from gdb development branch.
4744
3fc11d3e
JM
4745 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4746
4747 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4748 for outputting results of test run.
4749
2d4a1622 4750 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4751
4752 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4753
7a292a7a
SS
47541999-02-25 Felix Lee <flee@cygnus.com>
4755
4756 * lib/gdb.exp (debug_format): initialize
4757
c906108c
SS
47581999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4759
4760 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4761 * gdb.base/call-rt-st.c: Ditto.
4762
c906108c
SS
47631999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4764
4765 * gdb.threads/pthreads.exp (horiz): New variable.
4766 (test_startup): Fix regexps that capture thread numbers.
4767
47681999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4769
4770 * gdb.base/smoke.exp: Disambiguate two test case names (both
4771 called ``print'').
4772
4773Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4774
4775 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4776 compilation.
4777
47781999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4779
4780 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4781 actual output formatting.
4782 * gdb.base/smoke.exp: GDB removes leading 0's.
4783 * gdb.base/volatile.exp: Don't check type of remuneration;
4784 that variable is no longer defined in constvars.c.
4785 * gdb.base/step-test.c (main): Exit with explicit exit code.
4786 * gdb.base/step-test.exp: Remove two nexti checks--they are
4787 not portable.
4788
47891999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4790
4791 * gdb.base/help.exp ("help delete display"): Fix test to match
4792 gdb's output.
4793
4794 * gdb.base/long_long.c (known_types): Initialize values to zero.
4795 * gdb.base/long_long.exp: Step one more line
4796 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4797 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4798 unique test case names.
4799
4800Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4801
beb998c6 4802 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4803
4804 * gdb.c++/method.exp: Add missing close brace.
4805
48061999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4807
4808 * gdb.base/maint.exp: Use 'set height 0' to disable page
4809 prompting, not 'set height 400'.
4810
4811 Fix a bunch of timeouts.
4812 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4813 four separate tests, so expect doesn't take forever to match a ton
4814 of text against a regexp with lots of .* forms.
4815 ("maint print psymbols", "maint print symbols"): Make some of
4816 these greps more selective, so that expect doesn't try to wade
4817 through huge piles of output and time out.
4818
4819 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4820
4821 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4822 tests: one which doesn't expect shlib events to be reported, and
4823 another which does, but is XFAIL for all platforms other than
4824 HP/UX.
4825
4826 * gdb.base/break.exp: Teach the test suite that the `catch
4827 fork', `catch vfork', and `catch exec' commands produce error
4828 messages on platforms that don't provide these features.
4829
4830Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4831
4832 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4833 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4834 (shortening names from solib_threshold.exp etc), won't run on
4835 anything but HP-UX for the foreseeable future.
4836 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4837 reflect move.
4838
4839Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4840
4841 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4842 gdb.trace/Makefile.in (clean): Remove all test executables.
4843
4844Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4845
4846 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4847 successfully re-sets breakpoints in shared libraries.
4848 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4849
4850Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4851
beb998c6
AC
4852 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4853 and compiled w/o GCC.
c906108c
SS
4854
4855 * gdb.hp/watch-cmd.exp: ditto.
4856
4857 * gdb.hp/watch-hp.exp: ditto.
4858
4859 * gdb.hp/xdb1.exp: ditto.
4860
4861 * gdb.hp/xdb2.exp: ditto.
4862
4863 * gdb.hp/dbx.exp: ditto.
4864
4865Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4866
4867 * constvars.c: Remove C++-isms.
4868 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4869 with GCC.
4870
4871Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4872
4873 The following changes are part of the HP merge.
4874
4875 * gdb.base/break.exp: new tests to verify that catchpoints for
4876 fork, vfork, and exec don't trigger inappropriately.
4877
4878 * gdb.base/opaque.exp: compile one file at a time, then link.
4879
4880 * gdb.base/signals.exp: be more restrictive about which hppa
4881 systems receive a setup_xfail. new tests.
4882
4883 * gdb.base/solib_threshold.build: new file.
4884 * gdb.base/solib_threshold.exp: new file.
4885 * gdb.base/solib_threshold.link_opts: new file.
4886 * gdb.base/solib_threshold.mk: new file.
4887 * gdb.base/gen_solib_threshold.c: new file.
4888
4889 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4890 tests. New tests for enums inside classes.
4891
4892 * gdb.c++/compiler.cc: indicate support of template debugging.
4893
4894 * gdb.c++/demangle.exp: run hp style demangling tests.
4895
4896 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4897 tests.
4898
4899 * gdb.c++/misc.cc: changes to support new tests.
4900
4901 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4902 to support new tests.
4903
4904 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4905 gcc, then skip these tests.
4906
4907Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4908
4909 The following files are part of the HP merge; some had longer
4910 names at HP, but have been renamed to be no more than 14
4911 characters in length.
4912
4913 * gdb.hp/ambiguous.cc: new file.
4914 * gdb.hp/ambiguous.exp: new file.
4915 * gdb.hp/attach.exp: new file.
4916 * gdb.hp/attach2.exp: new file.
4917 * gdb.hp/classes-hp.exp: new file.
4918 * gdb.hp/ctti.exp: new file.
4919 * gdb.hp/ctti-add.cc: new file.
4920 * gdb.hp/ctti-add1.cc: new file.
4921 * gdb.hp/ctti-add2.cc: new file.
4922 * gdb.hp/ctti-add3.cc: new file.
4923 * gdb.hp/dbx.exp: new file.
4924 * gdb.hp/exception.cc: new file.
4925 * gdb.hp/exception.exp: new file.
4926 * gdb.hp/foll-exec.c: new file.
4927 * gdb.hp/foll-exec.exp: new file.
4928 * gdb.hp/foll-fork.c: new file.
4929 * gdb.hp/foll-fork.exp: new file.
4930 * gdb.hp/foll-vfork.c: new file.
4931 * gdb.hp/foll-vfork.exp: new file.
4932 * gdb.hp/inherit-hp.exp: new file.
4933 * gdb.hp/more-steps.exp: new file.
4934 * gdb.hp/namespace.cc: new file.
4935 * gdb.hp/namespace.exp: new file.
4936 * gdb.hp/optimize.exp: new file.
4937 * gdb.hp/pxdb.c: new file.
4938 * gdb.hp/pxdb.exp: new file.
4939 * gdb.hp/quicksort.exp: new file.
4940 * gdb.hp/reg-test.exp: new file.
4941 * gdb.hp/reg-test.s: new file.
4942 * gdb.hp/sized-enum.c: new file.
4943 * gdb.hp/sized-enum.exp: new file.
4944 * gdb.hp/start-stop.exp: new file.
4945 * gdb.hp/templ-hp.cc: new file.
4946 * gdb.hp/templ-hp.exp: new file.
4947 * gdb.hp/thr-lib.c: new file.
4948 * gdb.hp/thr-lib.exp: new file.
4949 * gdb.hp/thr-lib.h: new file.
4950 * gdb.hp/thr-liblib.c: new file.
4951 * gdb.hp/virtfun-hp.c: new file.
4952 * gdb.hp/virtfun-hp.exp: new file.
4953 * gdb.hp/watch-cmd.exp: new file.
4954 * gdb.hp/watch-hp.exp: new file.
4955 * gdb.hp/xdb1.exp: new file.
4956 * gdb.hp/xdb2.exp: new file.
4957 * gdb.hp/xdb3.exp: new file.
4958
4959Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4960
4961 The following files are part of the HP merge; some had longer
4962 names at HP, but have been renamed to be no more than 14
4963 characters in length.
4964
4965 * gdb.base/ss.h: new file.
4966 * gdb.base/call-ar-st.c: new file.
4967 * gdb.base/call-ar-st.exp: new file.
4968 * gdb.base/call-rt-st.c: new file.
4969 * gdb.base/call-rt-st-exp: new file.
4970 * gdb.base/call-strs.exp: new file.
4971 * gdb.base/ena-dis-br.exp: new file.
4972 * gdb.base/environ.exp: new file.
4973 * gdb.base/long_long.exp: new file.
4974 * gdb.base/sect-cmd.exp: new file.
4975 * gdb.base/shlib-cl2.exp: new file.
4976 * gdb.base/smoke.exp: new file.
4977 * gdb.base/so-impl-ld.c: new file.
4978 * gdb.base/so-impl-ld.exp: new file.
4979 * gdb.base/so-indr-cl.c: new file.
4980 * gdb.base/so-indr-cl.exp: new file.
4981 * gdb.base/varargs.exp: new file.
4982 * gdb.base/volatile.exp: new file.
4983 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4984 * gdb.base/display.exp: new file.
c906108c
SS
4985 * gdb.c++/derivation.exp: new file.
4986 * gdb.c++/local.exp: new file.
4987 * gdb.c++/member-ptr.exp: new file.
4988 * gdb.c++/overload.exp: new file.
4989 * gdb.c++/ovldbreak.exp: new file.
4990 * gdb.c++/ref-types.exp: new file.
4991 * gdb.c++/ref-types2.exp: new file.
4992 * gdb.c++/userdef.exp: new file.
beb998c6 4993
c906108c
SS
4994Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4995
4996 * gdb.base/default.exp: Reflect wording change in remote.c.
4997
dc96c6c7 4998Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4999
5000 * gdb.base/help.exp: Update to reflect current text.
5001
5002Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5003
5004 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5005 they're stack variables and contain garbage.
5006 * gdb.c++/anon-union.exp: new file.
5007
5008 The following changes were made by David Taylor
5009 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5010 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5011 in changes by HP.
5012
5013 * gdb.base/bitops.exp: new file.
5014 * gdb.base/default.exp: change expected messages for catch and
5015 info catch tests to reflect HP merge changes.
5016 * gdb.base/enable-disable-break.exp
5017 * gdb.base/ending-run.c: new file.
5018 * gdb.base/long_long.c: new file.
5019 * gdb.base/maint.exp: new file.
5020 * gdb.base/pointers2.exp: new file.
5021 * gdb.base/shlib-call2.exp: new file.
5022 * gdb.base/solib.exp: new file.
5023 * gdb.base/step-test.c: new file.
5024 * gdb.c++/anon-union.cc: new file.
5025 * gdb.c++/local.cc: new file.
5026 * gdb.c++/member-pointer.cc: new file.
5027 * gdb.c++/method.cc: new file.
5028 * gdb.c++/ref-types.cc: new file.
5029 * gdb.c++/ref-types2.cc: new file.
5030 * gdb.c++/userdef.cc: new file.
beb998c6 5031
c906108c
SS
5032 * gdb.base/scope.exp: compile one file at a time, then link.
5033 * gdb.base/langs.exp: ditto.
5034 * gdb.base/list.exp: ditto.
beb998c6 5035
c906108c
SS
5036Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5037
5038 The following changes were made by David Taylor
5039 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5040 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5041 in changes by HP.
beb998c6 5042
c906108c
SS
5043 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5044 skip tests. When compiling pass c++ flag to gdb_compile.
5045 * gdb.c++/
beb998c6 5046
c906108c
SS
5047 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5048 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5049 (skip_hp_tests): new function.
5050 (gdb_preprocess): new function.
5051
5052 * configure.in (hpdir): decide whether to configure gdb.hp.
5053 * configure: regenerated.
5054
5055 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5056 to delete on clean.
5057 (EXECUTABLES): update to reflect new additions.
5058 * gdb.base/commands.exp: update message expected.
5059 * gdb.base/default.exp: add copyright notice.
5060 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5061 * gdb.base/help.exp: update messages to reflect current text.
5062 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5063 targets for recurse tests.
5064 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5065 skip this file.
5066
5067 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5068 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5069 compilation.
5070 * gdb.c++/misc.exp: ditto.
5071 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5072 run the tests. tell gdb_compile that it's a c++ compilation.
5073
5074 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5075
c906108c
SS
5076 * gdb.base/all-bin.exp: new file.
5077 * gdb.base/arithmet.exp: new file.
5078 * gdb.base/assign.exp: new file.
5079 * gdb.base/completion.exp: new file.
5080 * gdb.base/cond-expr.exp: new file.
5081 * gdb.base/condbreak.exp: new file.
5082 * gdb.base/define.exp: new file.
5083 * gdb.base/dollar.exp: new file.
5084 * gdb.base/environment.exp: new file.
5085 * gdb.base/eval-skip.exp: new file.
5086 * gdb.base/jump.exp: new file.
5087 * gdb.base/logical.exp: new file.
5088 * gdb.base/pointers.exp: new file.
5089 * gdb.base/relational.exp: new file.
5090 * gdb.base/section_command.exp: new file.
5091 * gdb.base/whatis-expr.exp: new file.
5092
5093 * gdb.base/all-types.c: new file.
5094 * gdb.base/call-array-struct.c: new file.
5095 * gdb.base/call-return-struct.c: new file.
5096 * gdb.base/call-strings.c: new file.
5097 * gdb.base/callfuncs2.c: new file.
5098 * gdb.base/condbreak.c: new file.
5099 * gdb.base/constvars.c: new file.
5100 * gdb.base/display.c: new file.
5101 * gdb.base/int-type.c: new file.
5102 * gdb.base/jump.c: new file.
5103 * gdb.base/miscexprs.c: new file.
5104 * gdb.base/pointers.c: new file.
5105 * gdb.base/pointers2.c: new file.
5106 * gdb.base/shmain.c: new file.
5107 * gdb.base/shr1.c: new file.
5108 * gdb.base/shr2.c: new file.
5109 * gdb.base/solib.c: new file.
5110 * gdb.base/solib1.c: new file.
5111 * gdb.base/solib2.c: new file.
5112 * gdb.base/varargs.c: new file.
5113 * gdb.c++/derivation.cc: new file.
5114 * gdb.c++/overload.cc: new file.
5115 * gdb.c++/ovldbreak.cc: new file.
5116 * gdb.hp/attach.c: new file.
5117 * gdb.hp/attach2.c: new file.
5118 * gdb.hp/average.c: new file.
5119 * gdb.hp/compiler.c: new file.
5120 * gdb.hp/compiler.cc: new file.
5121 * gdb.hp/execd-program.c: new file.
5122 * gdb.hp/follow-exec.c: new file.
5123 * gdb.hp/follow-fork.c: new file.
5124 * gdb.hp/follow-vfork-and-exec.c: new file.
5125 * gdb.hp/misc-hp.cc: new file.
5126 * gdb.hp/more-steps.c: new file.
5127 * gdb.hp/optimize.c: new file.
5128 * gdb.hp/quicksort.c: new file.
5129 * gdb.hp/run-hp.c: new file.
5130 * gdb.hp/start-stop.c: new file.
5131 * gdb.hp/sum.c: new file.
5132 * gdb.hp/templates-hp.cc: new file.
5133 * gdb.hp/thread-local-in-lib.c: new file.
5134 * gdb.hp/thread-local-in-lib.h: new file.
5135 * gdb.hp/thread-local-in-lib.lib.c: new file.
5136 * gdb.hp/vforked-program.c: new file.
5137 * gdb.hp/virtfunc-hp.cc: new file.
5138 * gdb.hp/watchpoint-hp.c: new file.
5139 * gdb.hp/xdb.c: new file.
5140 * gdb.hp/xdb0.c: new file.
5141 * gdb.hp/xdb0.h: new file.
5142 * gdb.hp/xdb1.c: new file.
5143
5144Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5145
5146 The following change was made by Edith Epstein
5147 <eepstein@cygnus.com> as part of a project to merge in changes
5148 originally made by HP; HP did not create ChangeLog entries.
5149
5150 * gdb.c++/demangle.exp: changed the expected output for some
5151 ARM-style mangling -- removed second reference to datatype.
5152 For example, maint demangle __dt__11T1__pt__2_cFv
5153 T1<char>::~T1<char>(void)
5154 becomes,
5155 maint demangle __dt__11T1__pt__2_cFv
5156 T1<char>::~T1(void)
5157
5158 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 5159
c906108c
SS
5160Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5161
5162 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5163 * gdb.trace/backtrace.exp: Likewise.
5164 * gdb.trace/circ.exp: Likewise.
5165 * gdb.trace/collection.exp: Likewise.
5166 * gdb.trace/deltrace.exp: Likewise.
5167 * gdb.trace/infotrace.exp: Likewise.
5168 * gdb.trace/limits.exp: Likewise.
5169 * gdb.trace/packetlen.exp: Likewise.
5170 * gdb.trace/passc-dyn.exp: Likewise.
5171 * gdb.trace/passcount.exp: Likewise.
5172 * gdb.trace/report.exp: Likewise.
5173 * gdb.trace/save-trace.exp: Likewise.
5174 * gdb.trace/tfind.exp: Likewise.
5175 * gdb.trace/tracecmd.exp: Likewise.
5176 * gdb.trace/while-dyn.exp: Likewise.
5177 * gdb.trace/while-stepping.exp: Likewise.
5178
51791998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5180
5181 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5182
5183Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5184
5185 From Brendan Kehoe:
5186 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5187 int return types.
5188
5189Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5190
5191 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5192 remote dos host testing right.
5193
5194Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5195
5196 * gdb.base/corefile.exp: remove some xfails.
5197
5198Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5199
5200 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5201 have different timestamps.
5202
5203Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5204
5205 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5206 gdb.base/default.exp: Replace "exec" with "executable".
5207
5208Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5209
5210 * gdb.base/default.exp: Change else if to elseif from previous
5211 delta.
5212
5213Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5214
5215 * gdb.base/default.exp: Add brace missing from previous delta.
5216
5217Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5218
5219 * gdb.base/default.exp: Support test for info float for all
5220 varieties of arm toolchain.
5221
dc96c6c7 5222Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5223
5224 * gdb.trace/*.exp: remove "remote_download" command.
5225
dc96c6c7 5226Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5227
5228 * gdb.trace/*.exp: remove -gdwarf from compile.
5229
5230Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5231
5232 * gdb.trace/configure.in(AC_INIT): typo
5233 * gdb.trace/configure: regenerated
5234
dc96c6c7 5235Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5236
5237 * config/m68k-emc.exp: New file.
5238 * lib/<emc-support.exp trace-support.exp}: New files.
5239 * configure.in: add new test directory gdb.trace.
5240 * gdb.trace/{configure configure.in Makefile.in}: New files.
5241 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5242 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5243 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5244 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5245 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5246 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5247 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 5248
dc96c6c7 5249Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5250
5251 * gdb.c++/classes.exp: Change all regular expressions to match
5252 arbitrary combinations of newline/carriage-return, so that they
5253 will work equally well on Unix and Windows.
5254 * gdb.c++/inherit.exp: ditto.
5255 * gdb.c++/virtfunc.exp: ditto.
5256
52571998-08-11 Dawn Perchik <dawn@cygnus.com>
5258
5259 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5260
c2d11a7d
JM
5261Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5262
5263 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5264 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5265 to use a0-a3/d0-d3 as needed.
5266
5267Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5268
5269 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5270 * gdb.disasm/am33.exp: Corresponding changes.
5271
c906108c
SS
52721998-07-11 Felix Lee <flee@cygnus.com>
5273
5274 * gdb.base/callfuncs.exp: add cmp10 test.
5275 * gdb.base/callfuncs.c (cmp10): new function.
5276
5277Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5278
beb998c6 5279 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5280 into two parts to get around a synchronization problem in expect.
5281
3fc11d3e
JM
5282Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5283
5284 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5285
5286 * configure.in: Add options for gdbtk testsuite.
5287
5288 * configure: Regenerate.
5289
5290 * gdb.gdbtk: New directory to hold gdbtk tests.
5291
c906108c
SS
5292Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5293
5294 * gdb.fortran/types.exp: Escape brackets in expect patterns
5295 for test_float_literal_types_accepted tests.
5296 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5297 before run test.
5298
c2d11a7d
JM
5299Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5300
5301 * am33.exp: Just compile, do not link the testcase.
5302 * am33.s: Add ".am33" pseudoop to force am33 mode.
5303
c906108c
SS
53041998-06-25 Felix Lee <flee@cygnus.com>
5305
5306 * gdb.base/setshow.exp: make sure $pc is sane.
5307
5308 * gdb.stabs/weird.exp: split expect patterns properly.
5309
c2d11a7d
JM
5310Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5311
5312 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5313 * gdb.disasm/am33.exp: Run it.
5314
dc96c6c7 5315Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5316
5317 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5318 match processing (and eliminate spurious timeouts when running).
5319
dc96c6c7 5320Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5321
5322 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5323 exception test, but conditionalize it on target [mach | gnu].
5324
dc96c6c7 5325Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5326
5327 * gdb.base/overlays.exp: fixup compile line for linker script.
5328
5329Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5330
5331 * gdb.fortran/types.exp: don't guess at float size.
5332
5333Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5334
5335 * gdb.base/exprs.exp: delete test that depends on int size.
5336
5337Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5338
5339 * config/sim.exp: Removed checks for target triplets.
5340 (gdb_target_sim): Use gdb,target_sim_options.
5341
5342Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5343
5344 * gdb.base/reread.exp: New file.
5345 * gdb.base/reread1.c: New file.
5346 * gdb.base/reread2.c: New file.
5347
5348Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5349
5350 * config/sim.exp: Use 'target sim -sparclite' when running
5351 SPARClite programs.
5352
5353Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5354
5355 * gdb.base/structs2.exp: New file.
5356 * gdb.base/structs2.c: New file.
5357
5358Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5359
5360 * gdb.asm/common.inc: New file.
5361 * gdb.asm/d10v.inc: New file.
5362 * asm-source.exp: Pass -I's to gas to find .inc files.
5363 Update line numbers in expected output.
5364 * asmsrc1.s: Rewrite.
5365 * asmsrc2.s: Rewrite.
5366 * configure.in: Create arch.inc symlink.
5367 * configure: Regenerate.
5368 * Makefile.in (distclean): Delete arch.inc.
5369
5370Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5371
5372 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5373 (t_enum_value2): ditto
5374 (t_enum_value3): ditto
5375 (main): ditto
5376Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5377
5378 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5379 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5380 change.
5381 Use gdb_test instead of send_gdb/gdb_expect sequences.
5382
5383Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5384
5385 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5386 not void.
5387
5388Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5389
5390 * gdb.base/branches.c: Code with lots of loops and
5391 subroutines. Used to test gdbs ability to single step through PC
5392 changes, especially to test mips-tdep.c:mips_next_pc
5393
5394Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5395
5396 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5397 more rigorous EGCS C++ error checking.
5398
5399Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5400
5401 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5402 tests.
c906108c 5403 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5404 function when asleep.
c906108c 5405 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5406 for i*86 Linux and SVR4 signal handling problems.
5407 Remove linux xfail for `next to handler in signals_tests_1', fixed
5408 by recent infrun.c change.
c906108c 5409 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5410 stack backtraces.
c906108c
SS
5411 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5412 target.[ch] change.
5413
5414Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5415
5416 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5417 for a newline from gdb before continuing.
5418 (default_gdb_exit): Just look for y or n.
5419 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5420 it does, fail the rests of the tests in the file.
5421
5422Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5423
5424 * config/cygmon.exp: New file.
5425
5426Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5427
5428 * gdb.base/list.exp: Fix problem with "list default lines around
5429 main" test on remote targets.
5430
5431 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5432 run test on remote targets.
5433
5434Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5435
5436 * gdb.asm: New directory.
5437 * configure.in: Configure it.
5438 * configure: Regenerate.
5439 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5440 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5441
5442Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5443
5444 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5445
dc96c6c7 5446Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5447
c906108c
SS
5448 * gdb.base/overlays (several files): Merge the two overlay
5449 managers into one. Change variables (foox, barx, bazx, grbxx)
5450 back into ints but force them to load in their proper sections.
5451
5452Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5453
5454 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5455 on-chip insn memory and IMAP1 to upper 128k.
5456 (D10VCopy): Handle memory regions crossing 16k boundaries.
5457 (D10VCopy): Transfer data in 32 bit chunks.
5458
5459Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5460
5461 * gdb.base/overlays.c (main): Exit normally when result is
5462 correct.
5463
5464 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5465 map. Include space for printf in .text segment.
5466
5467 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5468 updated d10v memory VMA/LMA map.
5469 (D10VCopy): Call D10VTranslate.
beb998c6 5470
c906108c
SS
5471Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5472
5473 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5474
5475 * gdb.base/bar.c (barx, bar): Change variable to small array so
5476 that it won't be put into the .sdata - small data -
5477 section. Update reference.
5478 * gdb.base/baz.c (bazx, baz): Ditto.
5479 * gdb.base/foo.c (foox, foo): Ditto.
5480 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5481
5482 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5483 to be arrays.
beb998c6 5484
dc96c6c7 5485Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5486
c906108c
SS
5487 * gdb.base/overlays.exp: fix up and get working again.
5488 Add tests for backtraces from an overlay function.
beb998c6 5489
c906108c
SS
5490Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5491
5492 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5493 "calling function with watchpoint enabled".
5494
5495Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5496
5497 * gdb.base/break.exp (test_next_with_recursion): Remove
5498 gdb_suppress_tests for d10v-*-*.
5499 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5500 pending review of whether it is useful or not.
5501
5502Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5503
5504 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5505
5506Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5507
5508 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5509 * config/dve.exp: New file to support Densan boards.
5510
5511Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5512
5513 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5514 reads and BSD.
5515
5516Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5517
5518 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5519 response.
5520
5521 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5522
5523Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5524
5525 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5526 test.
5527
5528 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5529 target_sizeof_long and target_bigendian_p.
5530 (structs_by_value, structs_by_reference): Check values according
5531 to targets word size and endianess.
beb998c6 5532
c906108c
SS
5533Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5534
5535 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5536 output.
5537
5538Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5539
5540 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5541 Update test of set args help to match source change.
5542
5543Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5544
5545 * gdb.base/default.exp: Expect help system output to be in
5546 alphabetical order.
5547 * gdb.base/help.exp: Ditto.
5548
5549Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5550
5551 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5552 "i*86-pc-linux-gnu*".
5553 * gdb.base/interrupt.exp: Ditto.
5554 * gdb.base/corefile.exp: Ditto.
5555
5556 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5557 define vxworks when building the testcase.
5558
5559 * gdb.base/ptype.exp: Fix testnames to be unique.
5560 * gdb.base/radix.exp: Ditto.
5561 * gdb.base/term.exp: Ditto.
5562 * gdb.base/whatis.exp: Ditto.
5563 * gdb.c++/classes.exp: Ditto.
5564
5565Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5566
5567 * gdb.base/callfuncs.exp: Fix indentation.
5568
5569 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5570 suppress_flag has been set.
5571 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5572 target feature.
5573
5574Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5575
5576 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5577 the testcase.
5578
5579 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5580 set_debug_traps() and breakpoint().
5581 * gdb.c++/misc.cc (main): Ditto.
5582 * gdb.c++/templates.cc (main): Ditto.
5583 * gdb.c++/virtfunc.cc (main): Ditto.
5584
5585Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5586
5587 * lib/gdb.exp(gdb_step_for_stub): New function.
5588 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5589 exists, reload the executable and do a "continue" instead of
5590 doing a jump.
5591 (runto_main): Use gdb_step_for_stub.
beb998c6 5592
c906108c
SS
5593 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5594 tests to have unique names.
5595 * gdb.base/callfuncs.exp: Ditto.
5596 * gdb.base/commands.exp: Ditto.
5597 * gdb.base/default.exp: Ditto.
5598 * gdb.base/help.exp: Ditto.
5599 * gdb.base/list.exp: Ditto.
5600 * gdb.base/opaque.exp: Ditto.
5601 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5602 similar tests.
beb998c6 5603
c906108c
SS
5604 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5605 * gdb.c++/cplusfuncs.cc: Ditto.
5606 * gdb.c++/virtfunc.cc: Ditto.
5607
5608 * config/monitor.exp: Keep track of the last file we saw, rather
5609 than trying to get the info from gdb.
5610
5611 * gdb.fortran/types.exp: Move comment to previous line.
5612
5613Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5614
5615 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5616 target mode.
5617
5618Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5619
5620 From Bob Manson:
5621 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5622 string from GDB when it connects.
5623
5624 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5625
5626Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5627
5628 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5629 if we can't get a debug format from GDB (we may be testing an
5630 older GDB). Use a 10 second timeout when checking for the format.
5631
5632 * gdb.stabs/weird.exp: Fix quoting.
5633
5634 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5635
5636Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5637
5638 * config/arm-ice.exp: New file.
5639
5640Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5641
5642 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5643 until it has been modified to work with the new testsuite.
5644
99707966 5645 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5646 testcase won't compile, cause all of the testcases in the file to
5647 fail instead.
5648
5649 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5650 (gdb_clear_suppressed): New procedure.
5651 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5652 it contains a positive value.
5653
5654Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5655
5656 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5657
5658 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5659
5660Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5661
5662 * lib/gdb.exp (setup_xfail_format): New function.
5663 (get_debug_format): New function to get debug format.
5664 (debug_format): New global variable to hold last value set
5665 by get_debug_format.
5666 * gdb.base/list.exp: Call get_debug_format and expect some
5667 tests to fail for DWARF 1 and COFF formats.
5668 * gdb.c++/ptype.exp: Ditto.
5669 * gdb.c++/classes.exp: Ditto.
5670 * gdb.c++/cplusfuncs.exp: Ditto.
5671 * gdb.c++/inherit.exp: Ditto.
5672 * gdb.c++/templates.exp: Ditto.
5673 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5674
c906108c
SS
5675Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5676
5677 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5678 host doesn't have a currently-open connection.
5679
5680 * config/sparclet.exp: Cleanups and fixes to make it generic for
5681 any gdb stub target. Handle cases where gdb doesn't respond when
5682 interrupted in a sane fashion.
5683
5684 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5685 same thing in a totally different way.
5686
5687 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5688 setting "timeout".
5689 (gdb_start): We set the global gdb_prompt variable in
5690 default_gdb_init now.
5691
5692Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5693
5694 * gdb.base/printcmds.exp: Fix "check for floating addition"
5695 regexp to accept results within approx +/- .01 of exact value.
5696 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5697
5698Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5699
5700 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5701 properly.
5702 (gdb_expect): Add optional timeout parameter, and add timeout
5703 value to various calls.
5704 (gdb_suppress_tests): Only give one warning message per group.
5705
5706Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5707
5708 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5709 global variables. Handle getting a value for $timeout more
5710 gracefully.
5711
5712Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5713
5714 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5715 initialize.
5716 (default_gdb_init): New procedure; allow gdb_init to be overridden
5717 by a target configuration file.
5718 (gdb_expect): Pass the timeout to remote_expect.
5719
5720 * config/monitor.exp(gdb_load): Fix typo in regexp.
5721
5722Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5723
5724 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5725
5726Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5727
5728 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5729 here. Call gdb_target_exec before rebooting the target, to make
5730 sure the connection to the target is closed.
5731 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5732 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5733 Also detect "Timeout reading from remote" error.
5734
5735 * config/gdbserver.exp: Pass the executable being loaded to
5736 gdb_target_monitor. Don't call gdb_file_cmd here; let
5737 gdb_target_monitor do it.
5738
5739 * gdb.disasm/hppa.exp: Don't use exec_output.
5740
5741Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5742
5743 * gdb.base/list.exp: If we're debugging a non-native target,
5744 try to set the pc register to point to the start of the
5745 program before doing the first list command.
5746
5747 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5748 test_calls after restarting.
5749
5750 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5751 reloading.
5752
5753 * gdb.base/watchpoint.exp: Fix typo.
5754
5755 * gdb.base/setshow.exp: Check for use_gdb_stub.
5756
5757 * gdb.base/break.exp: Fix continue until exit test for the gdb
5758 stub case.
5759 * gdb.base/langs.exp: Ditto.
5760
5761 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5762 gdb_load_offset. If we weren't given a file to load, figure out
5763 what the current file is and use it.
5764
5765 * config/i386-bozo.exp: New file.
5766
5767Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5768
5769 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5770 feature.
5771
5772 * config/proelf.exp: New entry.
5773
5774Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5775
5776 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5777 of regexps.
5778
5779 * gdb.base/watchpoint.exp: Don't run the test_stepping
5780 tests if gdb can't call functions on the target.
5781
5782 * gdb.base/setshow.exp: Don't run the set prompt tests if
5783 the board has gdb_prompt set.
5784
5785Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5786
5787 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5788 * gdb.base/commands.exp: Likewise.
5789 * gdb.base/setshow.exp: Likewise.
5790
5791Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5792
5793 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5794 feature.
5795
5796 * config/i960.exp: New file.
5797
5798Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5799
5800 * gdb.base/funcargs.exp: Check for gdb,short_int target
5801 feature instead of looking for explicit target triplets.
5802
dc96c6c7 5803Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5804
beb998c6 5805 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5806 "p 123DEADBEEF", to check parse_number.
5807 * top.c: change "to enable to enable" to "to enable" in a couple
5808 of help strings.
5809
5810Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5811
5812 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5813 on the mn10300.
beb998c6 5814
c906108c
SS
5815Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5816
5817 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5818 where the test executable is run with explicit args.
5819 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5820
5821Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5822
5823 * gdb.base/run.c: Use FAKEARGV to build test executable that
5824 does not require a command line arg, since most simulators
5825 don't currently support passing such an arg into the simulated
5826 program.
5827 * gdb.base/commands.exp: Change tests to insert the proper
5828 value as the arg to the first recursive factorial call. Change
5829 compilation line to define FAKEARGV at compile time.
5830
5831Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5832
5833 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5834 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5835 function with watchpoint enabled" test.
5836
5837Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5838
5839 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5840 Don't call gdb_test when the command doesn't return to a gdb prompt.
5841
5842 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5843 "Tests restarted" messages.
5844
5845Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5846
5847 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5848
dc96c6c7 5849Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5850
5851 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5852 for INFO SYMBOL; add help tests for OVERLAY commands.
5853 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5854 add tests for OVERLAY commands
5855 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5856 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5857 * gdb.base/sigall.c: add usestubs code frag
5858 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5859
c906108c
SS
5860Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5861
5862 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5863 failures.
5864 (gdb_stop_suppressing_tests): Note that tests have restarted.
5865
5866Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5867
5868 * config/h8300.exp: New file.
5869
5870Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5871
5872 * gdb.base/setshow.exp: Check for the existence of a
5873 feature, not its value.
5874
5875Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5876
5877 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5878
5879 * gdb.base/scope.exp: It's now init0(), not init().
5880
5881 * gdb.base/scope0.c: For now, change init() to be init0().
5882
5883 * config/monitor.exp: Use gdb_serial in preference to serial
5884 or netport.
5885
5886 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5887 and it's not already set.
5888
5889Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5890
5891 * gdb.base/setshow.exp: Only test the run command if the target
5892 isn't using a stub and if it supports argument passing.
5893
5894Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5895
5896 * config/udi.exp(gdb_start): Make sure UDICONF is set
5897 properly before starting gdb.
5898
5899Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5900
5901 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5902 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5903 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5904
5905Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5906
5907 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5908 specialized code to reboot the board, use remote_reboot instead.
5909
5910 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5911
5912 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5913
5914 * config/monitor.exp: Make sure we disconnect from the target.
5915 Also, try a reboot/reload cycle instead of failing if the
5916 load fails.
5917
5918Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5919
5920 * gdb.base/default.exp: Don't set match_max.
5921 * gdb.base/help.exp: Ditto.
5922 * gdb.base/list.exp: Ditto.
5923 * gdb.base/signals.exp: Ditto.
5924
5925 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5926 set, use remote_ld to download the testcase instead of
5927 the GDB loader.
5928
5929Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5930
5931 * config/vr5000.exp: New file.
5932
5933 * config/monitor.exp(gdb_target_monitor): Add pattern for
5934 "Ending remote" to detect errors in connecting.
5935
5936 * gdb.base/setshow.exp: Add .* within auto language test.
5937
5938 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5939 target feature.
5940
5941 * config/monitor.exp(gdb_load): Check for a failure when loading,
5942 and reboot the board if necessary.
5943
5944 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5945 a set of tests. Remove print.* from the patterns being checked.
5946
5947Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5948
5949 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5950 refer to gdb_spawn_id.
5951
5952 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5953 longer used.
5954 * config/sparclet.exp: Ditto.
5955 * config/sparclet-old.exp: Ditto.
5956 * config/slite.exp: Ditto.
5957 * config/sim.exp: Ditto.
5958 * gdb.base/funcargs.exp: Ditto.
5959
5960 * lib/gdb.exp:Remove references to gdb_spawn_id.
5961 (gdb_expect): Move to remote.exp.
5962
5963Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5964
5965 * config/monitor.exp: Detect the "Couldn't establish connection"
5966 message from GDB.
5967
5968Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5969
5970 * gdb.base/bitfields.exp: Use runto instead of explicit
5971 gdb_run_cmd/gdb_expect sequences.
5972
5973 * gdb.base/break.exp(text_next_with_recursion): Add match for
5974 gdb_expect call.
5975
5976 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5977 We also need to handle the "A program is being debugged already"
5978 prompt from gdb. Use gdb_test to set the baud rate.
5979
5980 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5981 to 20000. Really. I mean it.
5982
5983Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5984
5985 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5986 fails. If suppress_flag is set, skip perror message about not
5987 being able to send to GDB.
5988 (send_gdb): If suppress_flag is set, don't try to send commands to
5989 GDB.
5990 (gdb_expect): If suppress_flag is set, always fail immediately.
5991 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5992 (gdb_init): Call gdb_stop_suppressing_tests.
5993 (default_gdb_exit): Ditto.
5994 (default_gdb_start): Ditto.
5995
5996 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5997 gdb_stop_suppressing_tests as appropriate.
5998 * gdb.base/break.exp: Ditto.
5999 * gdb.base/callfuncs.exp: Ditto.
6000 * gdb.base/commands.exp: Ditto.
6001 * gdb.base/exprs.exp: Ditto.
6002 * gdb.base/funcargs.exp: Ditto.
6003 * gdb.base/list.exp: Ditto.
6004 * gdb.base/recurse.exp: Ditto.
6005 * gdb.base/scope.exp: Ditto.
6006 * gdb.base/structs.exp: Ditto.
6007 * gdb.c++/inherit.exp: Ditto.
6008
6009Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6010
6011 * config/vr4300.exp: New file.
6012
99707966
MC
6013 * gdb.*/*.exp: Call gdb_expect instead of expect.
6014
6015 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6016
6017Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6018
6019 * lib/gdb.exp(gdb_init): New function.
6020
6021 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6022 for each individual variable set.
6023
6024 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6025 name.
6026
6027 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6028
6029 * gdb.base/scope.exp: Use gdb_test.
6030
6031 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6032 aborting; the testsuite driver will do that for us (see
6033 gdb_finish). Also, use gdb_test in a few more places.
6034
6035Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6036
6037 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6038
6039Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6040
6041 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6042 and "add_tests" are not at the same address.
6043
6044Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6045
6046 * gdb.base/ptype.exp: Use gdb_test.
6047
6048Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6049
6050 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6051 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6052 left in. No longer expect them to fail.
6053
6054 * gdb.stabs/*.mt; Deleted, no longer used.
6055 * gdb.stabs/configure.in: Remove references to target makefile
6056 frags.
6057 * gdb.stabs/configure: Rebuilt.
6058
6059 * gdb.disasm/*.mt: Deleted, no longer used.
6060 * gdb.disasm/configure.in: Remove references to target makefile
6061 frags. Use "sh3.s" as the unique filename for this directory.
6062 * gdb.disasm/configure: Rebuilt.
6063
6064 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6065 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6066 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6067
6068Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6069
6070 * config/udi.exp: Use mondfe,name instead of remote_host.
6071
6072Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6073
6074 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6075 a function with a watchpoint enabled on the mn10200.
6076
6077 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6078 before trying to create it!
6079
6080Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6081
6082 * config/vx.exp: Use hostname instead of netport.
6083
6084 * config/vxworks.exp: New file.
6085
6086 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6087
6088 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6089 gdb before assuming everything worked. Send a ^C if a timeout
6090 occurs.
6091
6092 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6093 $gdb_spawn_id directly.
6094 (gdb_run_cmd): Try _start as well as start. Use the target feature
6095 gdb,start_symbol as the symbol to start from when jumping.
6096
6097Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6098
6099 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6100 redundant) test.
6101
6102 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6103 it doesn't lose for 16bit integer systems.
6104
6105Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6106
6107 * gdb.fortran/types.exp: If the target doesn't support "double"
6108 data types, then expect "real" types to only be 4 bytes.
6109
6110 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6111 call tests if the target doesn't support inferior function calls.
6112
6113 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6114 in printf tests.
6115
6116Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6117
6118 * gdb.base/help.exp: Disable "help set", "help show", and
6119 "help support". Simplify regexp for "help stack".
6120
6121 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6122 to 60 seconds. Temporarily set match_max to 15000 around the
6123 "info copying" test.
6124
6125 * gdb.base/nodebug.exp: Don't try to do an inferior function
6126 call if the target doesn't support them.
6127 * gdb.base/printcmds.exp: Likewise.
6128 * gdb.base/setvar.exp: Likewise.
6129 * gdb.base/structs.exp: Likewise.
6130 * gdb.c++/templates.exp: Likewise.
6131 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6132
6133 * gdb.base/recurse.exp: Enable for the mn10200.
6134
6135 * configure.in: Do configure gdb.stabs directory for *-*-elf
6136 targets.
6137 * configure: Rebuilt.
6138
6139 * gdb.base/break.exp: Check for gdb,noresults before testing
6140 exit status and/or results from the target.
6141 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6142 * lib/gdb.exp: Remove old (now bogus) initialization of
6143 noinferior, noargs, noresults and nosignals.
6144
6145Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6146
6147 * config/sh.exp: New file.
6148
6149 * config/slite.exp: Try to connect multiple times to the board
6150 before rebooting. Only send a "monitor run" if need_monitor_run
6151 is set.
6152
6153 * gdb.base/break.exp: Don't do the "stub continue" test if
6154 the target has gdb_stub set.
6155
6156 * gdb.base/callfuncs.exp: Increase the timeout.
6157
6158 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6159 if the target has gdb,noinferiorio set.
6160
6161 * gdb.base/list.exp: Increase match_max to 10000 characters.
6162
6163 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6164
6165 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6166 target.
6167
6168 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6169
6170Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6171
6172 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6173 trying to delete the copy of gdb. Catch the file delete so we
6174 don't die if the delete fails; also, the file should be copied to
6175 the host, not to the build.
6176
6177Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6178
6179 * lib/gdb.exp(gdb_test): Surround the result pattern with
6180 parenthesis in case it contains multiple regexps separated
6181 with |.
6182
6183 * gdb.base/watchpoint.exp: Use gdb_test.
6184 * gdb.base/default.exp: Ditto.
6185
6186Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6187
99707966 6188 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 6189
c906108c
SS
6190 * gdb.base/scope.exp: Use gdb_test.
6191 * gdb.c++/classes.exp: Ditto.
6192 * gdb.c++/inherit.exp: Ditto.
6193
6194Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6195
6196 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6197 remote_exec instead.
6198 * gdb.base/corefile.exp: Don't be ridiculous.
6199 * gdb.base/*.c: Add missing stub invocations.
6200
6201Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6202
6203 * config/slite.exp: Miscellaneous fixes.
6204
6205 * lib/gdb.exp: Fix runto.
6206
6207 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6208 the target.
6209
6210 * gdb.base/watchpoint.exp: Fix regexp.
6211
6212 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6213 close and wait commands, as the descriptor may now be
6214 invalid. Always call "remote_close host".
6215
6216Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6217
6218 Major rewrite for testsuite revision.
beb998c6 6219
c906108c
SS
6220 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6221 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6222 instead of relying on spawn_id to always contain a valid
6223 spawn id.
6224 (get_compiler_info): New procedure to build the ${binfile}.ci
6225 file, instead of replicating this in N different places.
6226 (gdb_compile): New procedure.
beb998c6 6227
c906108c
SS
6228 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6229 appropriate arguments) instead of compile. Use gdb_test in a lot
6230 more places. Use send_gdb instead of send. Always run gdb_start
6231 at the start of a testcase, as this is no longer done magically.
6232
6233 config/*-gdb.exp: Rename without the -gdb suffix.
6234
6235 config/mips.exp: Use remote_close instead of exit_remote_shell.
6236 config/monitor.exp: Use target_info instead of looking at
6237 baud, timeout, etc.
6238 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6239
6240Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6241
6242 * gdb.c++/templates.exp (test_ptype_of_templates),
6243 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6244 Update expect patterns for destructors and assignment operators
6245 to match corresponding c-typeprint.c changes.
6246 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6247 to destructor breakpoint test, GDB should be able to set the
6248 destructor breakpoint without specifying arguments.
6249
6250Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6251
6252 * gdb.threads/pthreads.exp: Change result for failure to compile due
6253 to lack of pthreads runtime support from an error to simply an
6254 unsupported test, per dejagnu standards.
6255
6256Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6257
6258 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6259 where GDB exits to reduce pattern match time.
6260 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6261
6262 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6263
dc96c6c7 6264Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6265
6266 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6267 * gdb.base/default.exp: ditto.
6268 * gdb.base/nodebug.exp: ditto.
6269 * gdb.base/printcmds.exp: ditto.
6270 * gdb.base/ptype.exp: ditto.
6271 * gdb.base/setvar.exp: ditto.
6272 * gdb.base/structs.exp: ditto.
6273 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6274
6275Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6276
6277 * configure, */configure: Rebuild with autoconf 2.12.
6278
6279Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6280
6281 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6282 use new i*86-pc-linux*-gnu quads.
6283 * gdb.base/corefile.exp: Ditto.
6284 * gdb.base/signals.exp: Ditto.
6285 * gdb.base/sigall.exp: Ditto.
6286 * gdb.base/interrupt.exp: Ditto.
6287
6288 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6289 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6290 RedHat 4.0.
beb998c6 6291
c906108c
SS
6292 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6293 linux. This allows the test case to at least compile on latest
6294 linux, but still not run due to missing the threads runtime library.
6295
6296Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6297
6298 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6299 directory to search gdb directory. Accept and step over conditional
6300 stack alignment code. Consume $prompt in failure cases.
6301 Reset timeout to $oldtimeout instead of some arbitrary value.
6302 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6303 timeout problems with infinite stack backtraces.
6304 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6305 Accept function parameters for linkfunc member.
6306
6307Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6308
6309 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6310 (CXXFLAGS): Remove, unreferenced.
6311 (B_OPTIONS): Add for -B options and add code to initialize with
6312 previous -B options and also add -B option to pick up cross compiled
6313 runtime.
6314 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6315 doing cross compiles.
6316 (target_alias): Declare global.
6317 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6318 to verify that gcc exists in build tree, and if so set CC to that
6319 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6320
c906108c
SS
6321Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6322
6323 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6324 ptype test for anonymous union. Fixup testcase to match
6325 current gcc debug output.
6326
6327Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6328
6329 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6330 force argument to an unsigned long type.
6331
6332Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6333
6334 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6335 tests and anonymous union print/ptype tests.
6336 * gdb.base/list.exp (test_forward-search): Increase timeout by
6337 5 minutes for the "search extremely long line" case.
6338 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6339 completely optional and that the pass/fail messages use the command as
6340 the message if that third arg is a null string.
6341 (gdb_test_exact): Arrange that a null string pattern means match a
6342 null string output rather than any output, which might include random
6343 errors.
6344 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6345 backtrace test.
6346 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6347 always failing and failure is now exposed by gdb.exp changes.
6348
6349Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6350
6351 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6352 weren't being noted.
6353
6354Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6355
6356 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6357 * gdb.stabs/weird.exp: Remove v_comb xfails.
6358
dc96c6c7 6359Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6360
6361 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6362 list.exp scope.exp watchpoint.exp]
6363 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6364
dc96c6c7 6365Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6366
6367 * config/monitor.exp: Increase download timeout to 1000 seconds.
6368
dc96c6c7 6369Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6370
6371 * config/m32r.exp: Increase timeout to 120 seconds.
6372
6373Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6374
6375 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6376 and accept older ordering as obsolescent gcc or gdb.
6377 * gdb.c++/templates.exp: Ditto.
6378 * gdb.c++/virtfunc.exp: Ditto.
6379
6380Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6381
6382 * gdb.base/coremaker.c: Add code to mmap some data so we
6383 can check that it ends up in the core file.
6384 * gdb.base/corefile.exp: Add test to read mmapped data
6385 from core file.
6386
dc96c6c7 6387Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6388
6389 * config/m32r.exp: New file.
6390
6391Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6392
6393 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6394 that cflags can contains -gstabs, and work correctly for other tests.
6395
dc96c6c7 6396Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6397
6398 * gdb.base/setshow.exp: New file, tests show and set.
6399 * gdb.base/setshow.c: New file, tests show and set.
6400 * gdb.base/help.exp: Add test for help set|show annotate.
6401 * gdb.base/default.exp: Add test for set|show annotate.
6402
6403Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6404
6405 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6406 errors unique.
6407 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6408 explicitly.
6409
6410Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6411
6412 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6413 and width commands. This is done elsewhere.
6414 * (gdb_start): Don't call gdb_start_sim here. That's already
6415 done in gdb_load. This fixes lots of failures in default.exp.
6416
6417Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6418
6419 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6420 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6421 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6422 in the same we we treat other failures (since it may be an expected
6423 condition), rather than as an error.
6424 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6425 old test format.
6426
6427Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6428
6429 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6430 (distclean maintainer-clean realclean): No need to remove files
6431 twice. Nuke the duplicates.
6432 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6433 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6434 Remove config.h along with other config files.
6435
6436Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6437
6438 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6439 "p func1 ()" and note that rests of tests are skipped.
6440 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6441 setup_xfails for "print func2::coremaker_local".
6442 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6443 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6444 affected by the previous run test.
6445 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6446 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6447 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6448 "pass int powerset tuple" and "pass modeless int powerset tuple".
6449 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6450 "real write 4" and "real write 8".
6451 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6452 setup_xfails for "print vs1 after tuple assign 2",
6453 "print \$i after tuple assign 2", and
6454 "print vs2 after tuple assign 2".
6455 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6456 meaningful error message and return -1 so the caller can
6457 suppress further tests and avoid a cascade of errors.
beb998c6 6458
c906108c
SS
6459Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6460
6461 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6462 format for printing version.
6463 * gdb.base/default.exp: Ditto.
6464 * gdb.base/interrupt.exp: Fix problem with cascade of
6465 errors if child process dies while calling a function.
beb998c6 6466
c906108c
SS
6467Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6468
6469 * Makefile.in (VPATH): Add
6470 * Makefile.in (Makefile, config.status): Fix rules so things get
6471 remade when necessary.
6472
6473Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6474
6475 * Makefile.in (just-check): Add path to sibling expect dir
6476 to environment variable specified by RPATH_ENVVAR.
6477
6478Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6479
6480 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6481 (just-check): Add shared library paths for libstdc++, tk,
6482 tcl, bfd, and opcodes to the environment variable specified
6483 in RPATH_ENVVAR.
6484 * configure.in: Add support to recognize --enable-shared flag
6485 and generate correct value for RPATH_ENVVAR.
6486 * configure: Regenerated with autoconf.
6487
6488Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6489
6490 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6491 include all osf versions.
6492 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6493 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6494 when target is linux. When failing to build pthreads test
6495 executable, give more meaningful message.
6496 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6497 arg for pthread_create.
beb998c6 6498
c906108c
SS
6499Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6500
6501 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6502 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6503 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6504 and -lpthreads (everybody else).
6505 (test_startup): Fail gracefully if threads are not supported.
6506 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6507 "p/c array_index("abcdef",2)" when not gcc compiled.
6508 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6509 "print func2::coremaker_local" when not gcc compiled.
6510 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6511 "ptype on opaque struct tagname (statically)",
6512 "ptype on opaque struct tagname (dynamically) 1", and
6513 "ptype on opaque struct tagname (dynamically) 2"
6514 for not compiled with gcc.
6515 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6516 backtrace when compiled with gcc.
beb998c6 6517 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6518 than always return success.
6519
6520Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6521
6522 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6523
6524Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6525
6526 * gdb.base/structs.exp: Undo last change.
6527
6528Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6529
6530 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6531 encapsulate all the steps/nexts done during self test, starting
6532 at main, and makes them less sensitive to optimization issues.
6533 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6534 signal handler" test.
6535 * gdb.threads/pthreads.exp: Only run this for native configs.
6536 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6537 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6538 tests.
6539 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6540 for "runto test_calls(void)" test.
beb998c6 6541
c906108c
SS
6542Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6543
6544 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6545 and don't expect address info in breakpoint confirmations.
6546
6547Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6548
6549 * gdb.base/list.exp (test_forward_search): Increase timeout
6550 temporarily by 60 seconds for searching extremely long line,
6551 and then reset to old value when done. Increase expect input
6552 buffer to 10000.
6553
6554Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6555
6556 * gdb.base/list.exp (test_forward_search): Fix to handle very
6557 long source line without overflowing expect's input buffer.
6558
6559Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6560
6561 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6562 "buffer_full".
6563
6564 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6565 "buffer_full".
6566
6567 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6568 "buffer_full".
6569
6570 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6571 "buffer_full".
6572
6573Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6574
6575 * configure.in (configdirs): Add gdb.threads.
6576 * configure: Regenerated with autoconf.
6577 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6578 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6579 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6580
c906108c
SS
6581Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6582
6583 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6584
6585Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6586
6587 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6588 each signal's status in the output of "handle all print".
6589 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6590 the \r\n sequence that immediately precedes the gdb prompt.
6591 * gdb.base/a1-selftest.exp: Save original timeout and restore
6592 after test.
6593
6594Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6595
6596 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6597 symbol.
6598
6599Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6600
6601 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6602
6603Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6604
6605 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6606 timeout by 60 seconds.
6607
6608Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6609
6610 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6611 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6612 error return.
6613
6614Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6615
6616 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6617 gdb initialization, also report how long dejagnu waited. Restore
6618 old timeout before doing error return. Temporarily increase timeout
6619 by 3 minutes to allow for slow startups over heavy NFS use.
6620
6621Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6622
6623 * lib/gdb.exp: Report timeout value for verbosity level 2.
6624 * config/gdbserver.exp: Ditto.
6625 * config/hppro.exp: Ditto.
6626 * config/mips-gdb.exp: Ditto.
6627 * config/monitor.exp: Ditto.
6628 * config/netware.exp: Ditto.
6629 * config/sim-gdb.exp: Ditto.
6630 * config/slite-gdb.exp: Ditto.
6631 * config/udi-gdb.exp: Ditto.
6632 * config/unix-gdb.exp: Ditto.
6633 * config/vx-gdb.exp: Ditto.
6634 * gdb.base/a1-selftest.exp: Ditto.
6635 * gdb.base/a2-run.exp: Ditto.
6636 * gdb.base/break.exp: Ditto.
6637 * gdb.base/corefile.exp: Ditto.
6638 * gdb.base/list.exp: Ditto.
6639 * gdb.base/recurse.exp: Ditto.
6640 * gdb.base/scope.exp: Ditto.
6641 * gdb.base/signals.exp: Ditto.
6642
6643Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6644
6645 * gdb.threads/Makefile.in (docdir): Removed.
6646
6647Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6648
6649 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6650 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6651 @srcdir@.
beb998c6 6652 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6653 autoconf 2.5 or higher.
6654 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6655
6656Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6657
6658 * configure: Regenerated.
6659 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6660 avoid name clashes with SunOS headers.
6661
6662Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6663
6664 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6665
6666Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6667
6668 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6669 prototype information ends up in the compiler info file.
6670
6671Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6672
6673 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6674 attempting to regenerate it. Eliminate use of a temporary file
6675 and just generate the info file directly. Source it immediately,
6676 for consistency of use.
6677 * gdb.base/corefile.exp: Ditto
6678 * gdb.base/exprs.exp: Ditto.
6679 * gdb.base/funcargs.exp: Ditto.
6680 * gdb.base/langs.exp: Ditto.
6681 * gdb.base/list.exp: Ditto.
6682 * gdb.base/mips_pro.exp: Ditto.
6683 * gdb.base/nodebug.exp: Ditto.
6684 * gdb.base/opaque.exp: Ditto.
6685 * gdb.base/ptype.exp: Ditto.
6686 * gdb.base/scope.exp: Ditto.
6687 * gdb.base/setvar.exp: Ditto.
6688 * gdb.base/signals.exp: Ditto.
6689 * gdb.base/whatis.exp: Ditto.
6690 * gdb.c++/templates.exp: Ditto.
6691 * gdb.c++/virtfunc.exp: Ditto.
6692 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6693 whether or not to add -lstdc++ to the compile command line args.
6694
6695Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6696
6697 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6698 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6699 Increase timeout, a lot of single stepping might be needed if the
6700 target has no hardware watchpoints.
6701
6702Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6703
6704 * gdb.base/break.exp: Ignore compiler warnings when compiling
6705 break.c.
6706 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6707 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6708 from remote-sim.
6709 * gdb.base/exprs.exp: Add h8300 xfails.
6710 * gdb.base/funcargs.exp: Likewise.
6711 * gdb.base/nodebug.exp: Likewise.
6712 * gdb.base/printcmds.exp: Likewise.
6713 * gdb.base/ptype.exp: Likewise.
6714 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6715 h8300 xfails.
beb998c6 6716 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6717 on the h8300.
6718 * gdb.base/funcargs.c: Explicitly make last constant argument to
6719 call_after_alloca_subr an unsigned long type.
6720 * gdb.base/return.c: Include stdio.h.
6721
6722Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6723
6724 * config/abug.exp: New file for the older Motorola Bug monitor
6725 that runs on the mvme13x series VME boards.
6726 * config/monitor.exp: Use the new config array for target settings
6727 if they exist.
6728
6729Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6730
6731 * sim-gdb.exp: Make the SH simulator allocate less space when
6732 it is targeted.
6733
6734Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6735
6736 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6737 test.
6738
6739Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6740
6741 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6742 "rs6000-*-*" for "list function in include file" when gcc compiled.
6743 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6744 for "p ctable1[120]".
6745 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6746 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6747 Remove setup_xfail for "rs6000-*-*" for
6748 "print 'scope0.c'::filelocal before run".
6749 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6750 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6751 since some compilers don't allow both options to be given
6752 on the same command line. Create object file and move it.
beb998c6 6753
c906108c
SS
6754Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6755
6756 * gdb.base/corefile.exp: Always regenerate the core file, since
6757 we always regenerate the coremaker program. Detect special case
6758 where registers cannot be read from core file.
beb998c6 6759
c906108c
SS
6760Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6761
6762 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6763 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6764 * gdb.c++/templates.exp: Only match on basename of file since
6765 some formats like xcoff don't encode directory information.
6766 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6767 and rs6000 AIX xcoff targets.
6768 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6769 * configure: Regenerate.
6770 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6771 here, rather than in distclean.
beb998c6 6772
c906108c
SS
6773Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6774
6775 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6776 defined, and use it to compile the test case with -O2. The
6777 native compilation still uses no optimization.
6778 * gdb.base/mips_pro.c: Remove inline assembly code since
6779 it is compiled PIC by default, which results in assembler
6780 warnings that make the testsuite think the compilation
6781 was unsuccessful.
6782
6783Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6784
6785 * gdb.c++/misc.exp: Add note to message for
6786 "print s.a for foo struct" that this is a known gcc 2.7.2
6787 and earlier bug.
6788
6789Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6790
6791 * gdb.base/break.exp: Fix pattern for matching "Delete all
6792 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6793 setup_xfail for deleting all breakpoints test. Fix various
6794 timeout messages to include "(timeout)".
6795 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6796 for "p t_float_values2(3.14159,float_val2)".
6797 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6798 for "continue to call2g" when gcc compiled.
6799 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6800 "up to foo in langs.exp", "show language at foo in langs.exp",
6801 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6802 and "show language at fsub in langs.exp".
6803 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6804 "list line 1 in include file", "list message for lines past EOF",
6805 "list function in include file", "list list0.h:foo", and
6806 "list filename:function; nonexistant function".
6807 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6808 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6809 and "ptype t_char_array" to be for native cc only.
beb998c6 6810
c906108c
SS
6811Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6812
beb998c6 6813 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6814 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6815 "print func2::coremaker_local", and "backtrace in corefile.exp".
6816
6817Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6818
6819 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6820 "bt in signals.exp". This problem only appears when running
6821 the testsuite, and then only intermittently.
6822
6823Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6824
6825 * gdb.base/return.exp (return_tests): Differentiate between
6826 two tests of continuing.
6827
6828Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6829
6830 * */Makefile.in (maintainer-clean): Remove config.log.
6831 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6832 * gdb.c++/Makefile.in (PROGS): Add inherit.
6833 (clean): Remove *.ci.
6834
6835Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6836
6837 * gdb.c++/misc.cc: Add test code from Mike Stump.
6838 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6839
6840Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6841
6842 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6843 to "alpha-*-osf2*" and add comment.
6844 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6845 setup_xfail for "step over execarg initialization" and
6846 "step over corearg initialization".
6847 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6848 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6849 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6850 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6851 "print func2::coremaker_local", and "backtrace in corefile.exp".
6852 * gdb.base/signals.exp: Build and source signals.ci.
6853 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6854 to be for gcc only.
6855 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6856
c906108c
SS
6857Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6858
6859 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6860 Feb 3 procfs.c change.
6861
6862Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6863
6864 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6865
6866Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6867
6868 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6869 from dejagnu's apparent default of 10 seconds, which gives random
6870 results when running the tests over NFS on moderately loaded systems.
6871 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6872
6873Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6874
6875 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6876 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6877 result reports.
6878
6879Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6880
6881 * configure.in (CY_AC_PATH_TCLH): Remove.
6882 * configure: Regenerate.
6883
6884Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6885
6886 * gdb.c++/Makefile.in (clean): Add missing '{'.
6887
6888Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6889
6890 * lib/gdb.exp: Provide a default value for noinferior.
6891
6892 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6893 Load libgloss.exp.
6894
6895Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6896
6897 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6898 the executable, not the .o to run the tests from.
6899
6900Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6901
6902 * gdb.base/break.exp: Don't test for program exit or exit status
6903 if $noresults if nonzero.
6904 * gdb.base/langs.exp: Likewise.
6905 * gdb.base/watchpoint.exp: Likewise.
6906
6907 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6908 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6909 trying to compile the testcase.
6910
6911Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6912
6913 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6914 * gdb.base/signals.exp (continue to handler): Likewise.
6915
6916Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6917
6918 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6919
6920 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6921
6922Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6923
6924 * gdb.base/corefile.exp: Recognize "not found" as failure
6925 when trying to determine if a core file was generated.
6926 If no core file was generate the first time, try again without
6927 the ulimit -c to work around braindamaged shells.
6928
6929Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6930
6931 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6932 [] tests with "test" and enclose string in quotes.
6933 * gdb.stabs/configure: Rebuild
beb998c6 6934
c906108c
SS
6935Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6936
6937 Changes in sync with expect:
6938 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6939 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6940 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6941 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6942 argument to AC_REQUIRE.
6943 * configure: Regenerated.
6944
6945Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6946
6947 * gdb.base/corefile.exp: When generating a core, discard any
6948 error messages about ulimit not found and the "core dumped"
6949 message from the shell that runs the coredumper.
6950
6951Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6952
6953 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6954
6955 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6956 which sed script to run. Expect failure for v_comb test
6957 on PA targets too.
beb998c6 6958
c906108c
SS
6959Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6960
6961 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6962 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6963
6964Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6965
6966 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6967 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6968 "sparc-sun-solaris*" xfails for "p v_comb".
6969 * lib/gdb.exp (default_gdb_start): Fix typo.
6970 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6971 messages to not include the full program name that caused
6972 the core dump since some systems (such as solaris) apparently
6973 truncate this path to about 80 characters.
6974 When generating a core file first try increasing the core file
6975 size limit to unlimited since some systems may default it to
6976 zero, and it is harmless to try it. Move the test for failing
6977 to generate a core file to where it will actually get executed.
6978 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6979 new gdb result from g++ debug info improvements and make old
6980 pattern obsolescent. Also account for size_t differences
6981 (may be int or long).
6982 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6983 initialization before function call is placed in the delay slot
6984 and thus appears to be skipped over by commands such as "next".
6985
6986Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6987
6988 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6989
6990Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6991
6992 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6993 input source file; fix code to compile test to deal with this
6994 convention.
6995 * gdb.c++/*.exp: Likewise.
6996
6997Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6998
6999 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7000 "bt in signals.exp".
7001
7002Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7003
7004 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7005 "step over execarg initialization" and
7006 "step over corearg initialization".
7007
7008Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7009
7010 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7011 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7012
7013Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7014
7015 From Rob Savoye (rob@poseidon.cygnus.com)
7016 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7017 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7018 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7019 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7020 configure.in}: Major reworking for autoconfig.
7021 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7022 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7023 New files.
7024 * config/unix-gdb.exp: Make GDB global.
7025 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7026 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7027 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7028 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7029 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7030 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7031 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7032 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7033 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7034 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7035 pr-8136.exp, result.exp, string.exp, tuples.exp},
7036 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7037 to returns as necessary, arrange for test to compile own testcase
7038 executable.
7039 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7040
c906108c
SS
7041Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7042
7043 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7044 clear_xfail at end of test which might not call either pass or fail.
7045 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7046 "backtrace through signal handler".
7047
7048Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7049
7050 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7051 continuing from a job control stop signal.
7052 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7053
7054Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7055
7056 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7057 * gdb.base/corefile.exp: Likewise.
7058 * gdb.base/funcargs.exp: Likewise.
7059
7060Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7061
7062 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7063 * config/monitor.exp: Add support for setting baud rate.
7064
7065Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7066
7067 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7068 i*86-*-linux* xfails for "backtrace through signal handler".
7069 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7070 "print func2::coremaker_local".
7071 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7072 alpha-dec-osf2* xfail for
7073 "delete all breakpoints when none".
7074
7075Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7076
7077 * gdb.base/break.exp: Change test that deletes all breakpoints
7078 when no user breakpoints are installed. A post 4.15 change
7079 causes gdb to no longer prompt in this case.
7080
7081Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7082
7083 * gdb.base/return.exp (return_tests): Change xfail for test
7084 "correct value returned double test" to stop xfailing at
7085 Solaris 2.5. Apparently the bug has been fixed.
7086
7087Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7088
7089 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7090 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7091
7092Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7093
7094 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7095 * gdb.disasm/hppa.s: Corresponding changes.
7096
7097Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7098
7099 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7100 makefile fragment.
7101 * config/mt-hpux: Deleted.
7102
7103Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7104
beb998c6 7105 * Many files: When warning about suppressed tests due to a
c906108c
SS
7106 nonexistant test binary, avoid incrementing the warning count.
7107
7108Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7109
7110 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7111
c906108c
SS
7112Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7113
7114 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7115 "sparc-*-solaris2*".
7116
7117Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7118
7119 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7120 Add global and local variables and initialize them.
7121 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7122 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7123 extracts the file name and terminating signal from the core file.
7124 * TODO: Remove note about tests for correct mapping of corefile.
7125 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7126 from optimizing it away.
7127 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7128 handles common blocks.
7129
7130Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7131
7132 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7133 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7134
7135Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7136
7137 * Makefile.in (maintainer-clean): New target, synonym for
7138 realclean.
7139 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7140 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7141 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7142 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7143 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7144 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7145
7146Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7147
7148 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7149 xfails when not gcc compiled for "print foo::funclocal".
7150 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7151 "print foo::funclocal at foo",
7152 "print 'scope1.c'::foo::funclocal at foo",
7153 "print foo::funclocal_bss at foo",
7154 "print 'scope1.c'::foo::funclocal_bss at foo",
7155 "print foo::funclocal_ro at foo",
7156 "print 'scope1.c'::foo::funclocal_ro at foo",
7157 "print bar::funclocal at foo" and
7158 "print 'scope1.c'::bar::funclocal at foo".
7159 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7160 gcc compiled for "print foo::funclocal at bar".
7161 Expand all messages to ensure that they identify that
7162 the test is at bar().
7163 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7164 gcc compiled for:
7165 "ptype on opaque struct pointer (statically)",
7166 "ptype on opaque struct tagname (statically)",
7167 "ptype on opaque struct pointer (dynamically) 1",
7168 "ptype on opaque struct tagname (dynamically) 1",
7169 "ptype on opaque struct pointer (dynamically) 2" and
7170 "ptype on opaque struct tagname (dynamically) 2
7171 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7172 gcc compiled for:
7173 "p datalocal"
7174 "whatis datalocal",
7175 "ptype datalocal",
7176 "p bsslocal",
7177 "whatis bsslocal", and
7178 "ptype bsslocal".
7179 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7180 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7181 when not gcc compiled.
7182 * gdb.base/funcargs.exp (float_and_integral_args): Add
7183 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7184 compiled.
7185 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7186 "backtrace from call6a" when not gcc compiled.
7187 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7188 "backtrace from call7a" when not gcc compiled.
7189 * gdb.base/callfuncs.exp (do_function_calls):
7190 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7191 "p t_char_array_values(char_array_val2,char_array_val1)",
7192 "p t_char_array_values(char_array_val1,char_array_val2)",
7193 "p t_char_array_values("carray 1","carray 2")",
7194 "p t_char_array_values("carray 1",char_array_val2)",
7195 "p t_char_array_values(char_array_val1,"carray 2")",
7196 "p sum_args(1,{2})",
7197 "p sum_args(2,{2,3})",
7198 "p sum_args(3,{2,3,4})",
7199 "p sum_args(4,{2,3,4,5})"
7200 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7201 "backtrace in corefile.exp" when not gcc compiled.
7202
7203Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7204
7205 * gdb.base/signals.exp: Rewrite `handle all print' test as
7206 a procedure. Accept blanks or TABs as whitespace, increase
7207 timeout and expect input buffer size for the large output
7208 from the command. Remove "i*86-*-bsdi2.0" xfail.
7209
7210Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7211
7212 * gdb.base/setvar.exp: Add new testcases for truncation when
7213 assigning invalid values to bitfields.
7214
7215Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7216
beb998c6 7217 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
7218 mips-sgi-irix* xfail for
7219 "call inferior func with struct - returns char *"
7220 and fix test so that an optional (unsigned char *) cast is
7221 accepted in the result.
7222
7223Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7224
7225 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7226 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7227 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7228 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7229 that accidentally got checked in.
7230
7231Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7232
beb998c6 7233 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
7234 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7235 compiled test.
7236 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7237 Add mips-sgi-irix5* xfail for not gcc compiled.
7238 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7239 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7240 "p top", "whatis top", "p middle", and "whatis middle".
7241 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7242 "whatis signed char" for not gcc compiled.
7243 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7244 "set variable signed char=-1 (-1)" and
7245 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7246 * gdb.base/funcargs.exp (float_and_integral_args):
7247 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7248 Add mips-sgi-irix* xfail when not gcc compiled for
7249 "continue to call2b".
7250 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7251 "continue to call2g".
7252 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7253 "backtrace from call6a"
7254 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7255 "backtrace from call7k".
7256 Add mips-sgi-irix5* xfail when not gcc compiled for
7257 "backtrace from call7a".
7258 (localvars_after_alloca): Fix gdb_test cmds for
7259 "print * after runto ...".
7260 Remove rs6000-*-* xfails for
7261 "print i after runto localvars_after_alloca" and
7262 "print l after runto localvars_after_alloca"
7263 for all compilers.
7264 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7265 when not compiled with gcc, for:
7266 "print signed char == (minus)",
7267 "print signed char != (minus)",
7268 "print signed char < (minus)",
7269 "print signed char > (minus)".
7270 * gdb.base/callfuncs.exp (do_function_calls):
7271 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7272 "call inferior func with struct - returns char *".
beb998c6 7273 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7274 "correct value returned double test" to include Solaris 2.4.
7275 * gdb.base/funcargs.exp (float_and_integral_args):
7276 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7277
c906108c
SS
7278Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7279
7280 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7281 enumeration bitfields if compiling with GNU C.
7282 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7283 to empty' prompt.
7284
7285Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7286
7287 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7288 test for PRO targets.
7289
7290 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7291 breakpoints in the inferior at any given time by making
7292 two groups of breakpoints for call2*, call6* and call7*
7293 tests.
7294
7295Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7296
7297 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7298 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7299 from optimizing it away.
7300 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7301 "call inferior func with struct".
7302
7303Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7304
7305 * configure.in: Only configure gdb.chill for particular targets.
7306
7307Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7308
7309 * gdb.base/Makefile.in: Add action to .c.o transformation
7310 rule that generates a .ci file for each .o file and remove
7311 explicit .c.o rules except for callfuncs.o.
7312 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7313 generates a .ci file for each .o file and remove explicit
7314 .cc.o rules.
7315 (clean): Remove *.tmp *.ci files.
7316 (EXECUTABLES): Remove templ-info.exp.
7317 * gdb.base/compiler.c: New file.
7318 * gdb.c++/compiler.cc: New file
7319 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7320 Change rs6000-*-* xfail for
7321 "print 'scope0.c'::filelocal_ro" and
7322 "print 'scope1.c'::filelocal" and
7323 "print 'scope1.c'::filelocal_bss" and
7324 "print 'scope1.c'::filelocal_ro" and
7325 "print 'scope1.c'::foo::funclocal" and
7326 "print 'scope1.c'::foo::funclocal_ro" and
7327 "print 'scope1.c'::bar::funclocal" and
7328 "print 'scope0.c'::filelocal_ro" and
7329 "print 'scope1.c'::filelocal at foo" and
7330 "print 'scope1.c'::filelocal_bss at foo" and
7331 "print 'scope1.c'::filelocal_ro at foo" and
7332 "print 'scope1.c'::foo::funclocal at foo" and
7333 "print 'scope1.c'::foo::funclocal_bss at foo" and
7334 "print 'scope1.c'::foo::funclocal_ro at foo" and
7335 "print 'scope1.c'::bar::funclocal at foo" and
7336 "print 'scope0.c'::filelocal_ro" and
7337 "print 'scope1.c'::filelocal" and
7338 "print 'scope1.c'::filelocal_bss" and
7339 "print 'scope1.c'::filelocal_ro" and
7340 "print 'scope1.c'::foo::funclocal" and
7341 "print 'scope1.c'::foo::funclocal_bss" and
7342 "print 'scope1.c'::foo::funclocal_ro" and
7343 "print 'scope1.c'::bar::funclocal" and
7344 "print 'scope1.c'::bar::funclocal_bss"
7345 to only be xfail'd when not compiled with gcc.
beb998c6 7346 Add rs6000-*-* xfail for
c906108c
SS
7347 "print 'scope0.c'::filelocal_bss before run"
7348 when compiled with gcc.
7349 (test_at_main): Add rs6000-*-* xfail for
7350 "print filelocal_ro in test_at_main"
7351 when compiled with gcc.
7352 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7353 Add rs6000-*-aix* xfail for
c906108c
SS
7354 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7355 "ptype t_char_array", not compiled with gcc.
7356 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7357 xfail for "list foo (in include file)" when gcc compiled.
7358 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7359 (integral_args): Add rs6000-*-* xfail for
7360 "run to call0a" if not compiled with gcc.
7361 (unsigned_integral_args): Add rs6000-*-* xfail for
7362 "run to call1a" if not compiled with gcc.
7363 (float_and_integral_args): Add rs6000-*-* xfail for
7364 "run to call2a" if not compiled with gcc and for
7365 "continue to call2b" for any compiler.
7366 Add rs6000-*-* xfail to
7367 "print f1 after run to call2a" for gcc compiled.
7368 (discard_and_shuffle): Add rs6000-*-* xfail for
7369 "run to call6a".
7370 (shuffle_round_robin): Add rs6000-*-* xfail for
7371 "backtrace from call7a" if not compiled with gcc.
7372 Add rs6000-*-* xfail for
7373 "backtrace from call7b" if compiled with gcc.
7374 (call_after_alloca): Add rs6000-*-* xfail for
7375 "print c in call_after_alloca" and
7376 "print s in call_after_alloca" and
7377 "backtrace from call_after_alloca_subr"
7378 if not compiled with gcc.
7379 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7380 "print c in localvars_in_indirect_call" and
7381 "print c in localvars_in_indirect_call" and
7382 "backtrace in indirectly called function" and
7383 "stepping into indirectly called function"
7384 if not compiled with gcc.
7385 (localvars_after_alloca): Add rs6000-*-* xfail for
7386 "print c after runto localvars_after_alloca" and
7387 "print s after runto localvars_after_alloca" and
7388 "print i after runto localvars_after_alloca" and
7389 "print l after runto localvars_after_alloca"
7390 for all compilers.
7391 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7392 than whatis-info.exp.
7393 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7394 than opaque-info.exp.
7395 Setup rs6000-*-* xfail for
beb998c6 7396 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7397 "ptype on opaque struct pointer (dynamically)" when
7398 not compiled with gcc.
7399 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7400 rather than callf-info.exp.
7401 (do_function_calls): Add clear_xfail for rs6000-*-* for
7402 "p t_float_values2(3.14159,float_val2)". Seems to work
7403 fine there, both with xlc and gcc. Need to find out what
7404 it is doing right and fix other platforms.
7405 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7406 "call inferior func with struct - returns int",
7407 "call inferior func with struct - returns long",
7408 "call inferior func with struct - returns float",
7409 "call inferior func with struct - returns double",
7410 "call inferior func with struct - returns char *",
7411 but only if not gcc compiled (presumes xlc compiled).
7412 Change rs6000-*-* xfails for
7413 "call inferior func with struct - returns char" and
7414 " call inferior func with struct - returns short" to only
7415 xfail if not using gcc.
7416 (clean mostlyclean): Remove *.ci and *.tmp files.
7417 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7418 than templ-info.exp.
7419 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7420 Add rs6000-*-* xfail for "up to foo in langs.exp"
7421 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7422 when not gcc compiled.
beb998c6 7423
c906108c
SS
7424Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7425
7426 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7427 * gdb.base/corefile.exp: Likewise.
7428 * gdb.base/list.exp: Likewise.
7429 * gdb.base/scope.exp: Likewise.
7430 * gdb.base/siganls.exp: Likewise.
7431
7432 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7433 compiler output.
7434 * gdb.base/whatis.exp: Likewise.
7435
7436Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7437
7438 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7439 failure (opcode table has been fixed to match reality).
7440
7441Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7442
7443 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7444 "call inferior func with struct - returns char",
7445 "call inferior func with struct - returns short"
7446
7447 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7448 "print 'scope0.c'::filelocal at main",
7449 "print 'scope0.c'::filelocal_bss in test_at_main",
7450 "print 'scope0.c'::filelocal at foo",
7451 "print 'scope0.c'::filelocal_bss in test_at_foo",
7452 "print 'scope0.c'::filelocal at bar",
7453 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7454
c906108c
SS
7455 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7456 in source file 1". This bug seems to have been fixed with both
7457 gcc and native cc (was native assembler bug?).
7458
7459Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7460
7461 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7462 "backtrace through signal handler" to "i*86-*-sysv4*".
7463 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7464 continue" case. Add "known SVR4 bug" to fail message.
7465 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7466 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7467 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7468 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7469 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7470 "up to foo in langs.exp", "show language at foo in
7471 langs.exp", "up to cppsub_ in langs.exp", "show
7472 language at cppsub_ in langs.exp", "up to fsub in
7473 langs.exp", and "show language at fsub in langs.exp".
7474 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7475 "bactrace in corefile.exp".
7476 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7477 "call inferior function with struct - returns float" and
7478 "call inferior function with struct - returns double".
beb998c6 7479
c906108c
SS
7480Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7481
7482 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7483 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7484 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7485 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7486
7487Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7488
7489 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7490 (or overriden) "CHILL" macro rather then bare "gcc".
7491 Also look for ../../gcc/xgcc since that is what we will
7492 actually need, not "Makefile". Remove following assignment
7493 of CHILL to CHILL_FOR_TARGET because that results in
7494 recursive definition.
7495
7496Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7497
7498 * gdb.base/corefile.exp: Change xfail for backtrace in
7499 corefile.exp from linuxaout to all linux.
7500 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7501 cases where we miss the breakpoint at the signal handler
7502 for some reason. Setup xfail for linuxoldld/linuxaout and
7503 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7504 hitting SIGURG breakpoint.
7505 * gdb.base/signals.exp: Setup xfail for "next" acting like
7506 continue to add linuxoldld. Setup xfail for all linux for
7507 "next to handler in signals_tests_1", "backtrace in
7508 signals_tests_1", "continue to func1", "pass SIGUSR1",
7509 and continue to handler".
7510
7511Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7512
7513 * Update all FSF addresses except those in COPYING* files.
7514
7515Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7516
7517 * gdb.base/a2-run.exp: Change messages to be more explicit about
7518 the status of args, and quote binfile in results.
7519
7520Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7521
7522 * gdb.base/callfuncs.exp: Add tests for passing structs to
7523 inferior functions and return various types.
7524 * gdb.base/callfuncs.c: Add functions to receive a struct
7525 and return a member of the struct, in various types.
7526
7527Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7528
7529 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7530
7531Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7532
7533 * config/vxworks29k.exp: New file, sources vxworks.exp.
7534
7535Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7536
7537 * config/gdbremote.exp: New file. Testing framework using
7538 gdbserver.
7539
7540Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7541
7542 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7543 "call function when asleep" and "send end of file".
7544 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7545 for "backtrace in corefile.exp".
7546 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7547 for "backtrace through signal handler".
7548 * gdb.base/corefile.exp: Make sure we actually generate a core file
7549 before trying the core tests. Some systems allow the user to suppress
7550 generation of core files and default to that (linux for example).
7551 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7552 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7553
7554Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7555
7556 * gdb.threads: New directory with some crude multi-threaded
7557 gdb tests (step.exp and step2.exp).
7558 * config/mt-lynx (STEP_EXECUTABLE): Define.
7559 (THREADFLAGS): Define.
7560
7561Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7562
7563 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7564
7565 * gdb.base/signals.exp: Disable whole file for lynx until
7566 further notice.
7567
7568 * gdb.base/signals.exp: xfail test where "next" acts like
7569 "continue" for lynx.
7570
7571 * gdb.base/interrupt.exp: xfail test for calling function while
7572 inferior is asleep for lynx.
7573
7574 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7575 than one cr-lf after each command.
7576
7577Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7578
7579 * configure.in: Reinstate setting of stabsdirs variable, fix
7580 typo in setting up configdirs for native builds.
7581
7582 * gdb.base/return.exp: Fix typo in return double test.
7583 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7584 compiler from optimizing them away.
7585
7586Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7587
7588 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7589 sequences to be echo'd by gdb when using gdb_test.
7590 * gdb.chill/chexp.exp: Likewise.
7591 * gdb.fortran/exprs.exp: Likewise
7592
7593Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7594
7595 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7596 after the inferior gdb has started.
7597
7598 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7599 after each command.
7600 * gdb.base/funcargs.exp: Likewise.
7601 * gdb.base/gdbvars.exp: Likewise.
7602 * gdb.base/interrupt.exp: Likewise.
7603 * gdb.base/list.exp: Likewise.
7604 * gdb.base/watchpoint.exp: Likewise.
7605 * gdb.c++/demangle.exp: Likewise.
7606 * gdb.c++/inherit.exp: Likewise.
7607 * gdb.chill/chexp.exp: Likewise.
7608 * gdb.fortran/exprs.exp: Likewise.
7609
7610 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7611 test if we can't handle IO to/from the inferior.
7612
7613 * gdb.c++/misc.exp: Always check for a program already being
7614 started after sending a "run" command to gdb.
7615
7616 * gdb.base/twice.exp: Start with a fresh gdb.
7617
7618 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7619 only depend on gdb's expression code, not the chill runtime.
7620
7621 * gdb.base/return.c: Put return values into variables so we
7622 can have gdb print them rather than depending on the program
7623 to print them.
7624 * gdb.base/return.exp: Corresponding changes.
7625
7626 * lib/gdb.exp: Provide default value for noinferiorio.
7627 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7628 the inferior.
7629
7630 * gdb.base/break.exp: Always check for a program already being
7631 started after sending a "run" command to gdb.
7632 (text_next_with_recursion): Don't check the output from the
7633 program's printf statement. Instead just make sure the program
7634 exited.
7635
7636 * gdb.base/commands.exp: Protect tests which need arguments with
7637 $noargs conditionals.
7638
7639Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7640
7641 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7642 of structure member arrays to match gdb/valops.c:value_addr change.
7643
7644Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7645
7646 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7647 cases.
7648
7649Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7650
7651 * configure.in (configdirs): Remove gdb.chill from default list
7652 of subdirs and then add it back in only if doing a native build.
7653 The current chill compiler does not yet work in any cross build.
7654 * Revert all signal changes from Jul 6.
7655 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7656 for sh-hms targets, allowing these tests to link, with no other
7657 changes. Testing is suppressed by setting "nosignals" in site.exp.
7658
7659Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7660
7661 * configure.in (signaldirs): Define and add to configdirs for all
7662 targets except some specific ones that are known to not support signals.
7663 Also clean up formatting.
7664 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7665 (signals, sigall): Remove rules to build.
7666 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7667 Moved to new gdb.signals directory.
7668 * gdb.signals: New test directory.
7669 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7670 signals.c signals.exp}: New or moved files.
7671
7672Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7673
7674 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7675
7676Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7677
7678 * gdb.base/return.exp: Xfail `return double' test failure
7679 on at least Solaris 2.3 and handle future/past versions on
7680 a case by case basis as appropriate. Also update message
7681 to include i*86 failures.
7682
7683Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7684
7685 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7686
7687 * lib/gdb.exp: Fix comment which erroneously identified
7688 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7689 gdb_file_cmd not gdb_load).
7690 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7691
7692 * gdb.base/setvar.exp: Make test names consistent between pass and
7693 fail cases. Use gdb_test more.
7694
7695Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7696
7697 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7698
7699Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7700
7701 * gdb.base/help.exp: Fix expected help string for `show commands'.
7702
7703Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7704
7705 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7706
7707 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7708 of a text section.
7709
7710Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7711
7712 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7713 that loop eventually terminates. Fix Connection refused logic so
7714 that testsuite will expire nicely.
7715
7716Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7717
7718 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7719 config/rom68k.exp: New tcl glue for the appropriate monitors.
7720 These all just end up calling monitor.exp.
7721 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7722 refused' by retrying. Cleanup some timeout issues.
7723 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7724 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7725 callers don't have to set/restore global timeout variable.
7726
7727 * The following set of changes centralizes management of the global
7728 timeout variable. This way, it can be set in one target dependent
7729 place instead of dozens of places scattered throughout the test suite.
7730 If you need to lengthen a timeout, then you should either set timeout
7731 in one of the config/{target}.exp files, or multiply it by a factor.
7732 Setting it to an absolute value is always going to lose for some
7733 targets.
7734 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7735 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7736 * gdb.base/funcargs.exp: Don't set timeout.
7737 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7738 * gdb.base/printcmds.exp (test_print_string_constants
7739 test_print_array_constants): Don't set timeout.
7740 * gdb.base/ptype.exp: Don't set timeout.
7741 * gdb.base/recurse.exp: Don't set timeout.
7742 * gdb.base/return.exp: Don't set timeout.
7743 * gdb.base/watchpoint.exp: Don't set timeout.
7744 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7745 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7746
7747Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7748
7749 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7750
7751Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7752
7753 * lib/gdb.exp: Disable chill tests for irix5.
7754
7755Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7756
7757 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7758 each test pass or fail.
7759
7760Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7761
7762 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7763 xlc not gcc.
7764
7765Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7766
7767 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7768
7769Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7770
7771 * config/est.exp: Fix copyright and comments. Remove dead code.
7772 Use targetname, serialport and baud variables instead of fixed
7773 constants.
7774 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7775 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7776
7777Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7778
7779 * gdb.base/watchpoint.exp: Don't run
7780 test_watchpoint_triggered_in_syscall for sunos.
7781
7782Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7783
7784 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7785 they don't seem to exist. Do include stdio.h.
7786
7787Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7788
7789 * gdb.base/a1-selftest.exp: Add alpha xfail.
7790
7791Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7792
7793 * gdb.base/watchpoint.c (main): Prompt before calling read().
7794 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7795 Revise accordingly. Remove cruft about sending "123" several
7796 times, until it gets noticed. Clean up the "print buf[0]" stuff
7797 so that it passes or fails, and waits for prompts in the usual way.
7798
7799Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7800
7801 * gdb.base/recurse.exp: Fix comment.
7802
7803 * TODO: Remove item about printing variables in nodebug.exp. Add
7804 item about enabling tests which are only run on some targets.
7805
7806 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7807 fail, make test names unique, use new gdb_test convention
7808 regarding pattern, use gdb_test more, etc.).
7809
7810 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7811 fail, make test names unique, etc.).
7812
7813Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7814
7815 * gdb.base/nodebug.c: Change return type of top and middle to
7816 short.
7817 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7818 are fixed by the recent mdebugread.c changes. Allow `short ()'
7819 as type for top and middle.
7820
7821Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7822
7823 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7824 nearly as I can tell, the whole thing was an accident in Stu's
7825 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7826 to replace a send/expect pair with gdb_test, but ended up only
7827 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7828 of 30 Mar 1995 took care of it, but left this vestigial comment
7829 which I am now nuking.
7830
7831Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7832
7833 * gdb.base/break.exp: Look for different line number for
7834 breakpoint at main depending on usestubs.
7835
7836Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7837
7838 * gdb.base/list.exp: Adjust some alternate expect patterns to
7839 match recent list0.c change. Add alternate expect pattern for
7840 output from `list default lines around main' for optimizing
7841 compilers.
7842
7843Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7844
7845 * lib/gdb.exp: If nosignals is not set, set it to 0.
7846
7847Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7848
7849 * config/slite-gdb.exp: Responds to load symbol table prompt.
7850 * gdb.base/break.exp: Adjust line number, fix rerun.
7851 * gdb.base/langs0.c: Add #ifdef usestubs.
7852
7853Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7854
7855 * gdb.base/list.exp: Adjust line contents after adding new lines in
7856 list0.c. Also fix a syntax error.
7857
7858 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7859 * gdb.base/break.exp: ditto.
7860 * gdb.base/list.exp: ditto.
7861 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7862 * gdb.base/run.c: ditto.
7863 * gdb.base/list0.c: ditto.
7864 * gdb.base/funcargs.c: ditto.
7865
7866Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7867
7868 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7869 $targetname, $serialport and $baud instead of hardwired variables.
7870 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7871 target doesn't support signals.
7872
7873Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7874
7875 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7876
7877Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7878
7879 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7880 Don't rely on the value of an auto variable before it has been
7881 initialized. Use gdb_test more.
7882
7883Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7884
7885 * lib/gdb.exp (default_gdb_version): A version number must start
7886 with a digit, but other than that contains all characters up to
7887 the first whitespace character.
7888
7889Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7890
7891 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7892
7893Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7894
7895 * gdb.c++/*.exp: Warn if executable does not exist. The original
7896 reason for skipping the warning was that configure.in sometimes
7897 intentionally skipped building the executables but the tcl code
7898 had no way of knowing. That (a) was always bogus with respect to
7899 error handling, (b) is no longer true (right now there is no way
7900 to skip C++ tests).
7901
7902 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7903
7904Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7905
7906 * gdb.base/list.exp: Add expect patterns for output from
7907 SunPRO compiled executables.
7908 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7909 types.
7910
7911Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7912
7913 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7914 number (we are already testing that the correct source line text
7915 gets printed).
7916
7917 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7918 that is what is intended, but something needed to be done to get
7919 sunos4 native working again.
7920
7921 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7922
7923 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7924 apparently went with a (very) old xfail.
7925
7926Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7927
7928 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7929 runto_main is a proc in gdb.exp that will do 'step' for target use
7930 stubs.
7931 * gdb.base/exprs.exp: ditto.
7932 * gdb.base/interrupt.exp: ditto.
7933 * gdb.base/opaque.exp: ditto.
7934 * gdb.base/printcmds.exp: ditto.
7935 * gdb.base/ptype.exp: ditto.
7936 * gdb.base/scope.exp: ditto.
7937 * gdb.base/setvar.exp: ditto.
7938 * gdb.base/signals.exp: ditto.
7939 * gdb.base/twice.exp: ditto.
7940 * gdb.c++/classes.exp: ditto.
7941 * gdb.c++/inherit.exp: ditto.
7942 * gdb.c++/templates.exp: ditto.
7943 * gdb.base/break.exp: no run and hit main for stubs. Change line
7944 numbers for breakpoints and info breakpoint.
7945 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7946 breakpoint().
7947 * gdb.base/callfuncs.c: ditto.
7948 * gdb.base/exprs: ditto.
7949 * gdb.base/interrupt.c: ditto.
7950 * gdb.base/opaque0.c: ditto.
7951 * gdb.base/printcmds.c: ditto.
7952 * gdb.base/ptype.c: ditto.
7953 * gdb.base/scope0.c: ditto.
7954 * gdb.base/setvar.c: ditto.
7955 * gdb.base/signals.c: ditto.
7956 * gdb.base/twice.c: ditto.
7957 * gdb.c++/misc.cc: ditto.
7958 * gdb.c++/templates.cc: ditto.
7959
7960Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7961
7962 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7963
7964 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7965 somewhere between `read' and `main.c'. I'm pretty sure the
7966 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7967 and it isn't particularly useful.
7968
7969 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7970
7971Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7972
7973 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7974
7975Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7976
7977 * config/mt-slite: add LIBS and -nostdlib.
7978 * config/slite-gdb.exp: add this new file to support sparclite target.
7979
7980Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7981
7982 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7983
7984 * gdb.base/a2-run.exp: Change argument to istarget from
7985 "*-*-vxworks" to "*-*-vxworks*".
7986 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7987
7988Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7989
7990 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7991 will not runto main but do a 'step' to step out of breakpoint().
7992 * config/mt-slite: add -Dusestubs.
7993
7994Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7995
7996 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7997 instead of just @.
7998
7999 * gdb.base/signals.exp: Add test for "handle all print".
8000 * TODO: Remove "handle all print". Also remove item about
8001 checking copyright date (I don't like the idea of a spurious FAIL
8002 based on when we run the tests).
8003
8004 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8005 for SunOS4 (reason for failure not investigated). Remove
8006 redundant test for $binfile.
8007
8008 * gdb.base/nodebug.c (array_index): Call malloc.
8009
8010 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8011
8012Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8013
8014 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8015 conventions and slightly simplify the matching regexp.
8016
8017Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8018
8019 * gdb.base/break.exp: Update gdb_test invocation to use new
8020 convention.
8021
8022 * lib/gdb.exp: If noargs is not set, set it to 0.
8023
8024 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8025 tests unique.
8026
8027 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8028
8029Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8030
8031 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8032 one argument of type "<non-float parameter>".
8033
8034Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8035
8036 * config/rom68k.exp: New file to support Motorola IDP board.
8037 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8038 * gdb.base/break.c: Change things around so that this program
8039 doesn't depend upon args. This is necessary to make remote
8040 targets work (in general, they can't take args).
8041 * gdb.base/break.exp: Don't try to send args to program. Don't
8042 expect output. Also, replace lots of code with gdb_test.
8043
8044Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8045
8046 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8047 printing of '\'' (which is what the comment says we are testing,
8048 even though we were not), not '''.
8049 (test_integer_literals_rejected): Test that printing ''' is an error.
8050
8051 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8052 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8053 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8054 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8055 Use gdb_test not test_print_accept.
8056 * lib/gdb.exp: Remove test_print_accept.
8057
8058 * gdb.base/signals.exp (signal_tests_1): Make pass message
8059 consistent with fail message.
8060
8061 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8062 unsigned char; the bug (PR 1821) is fixed.
8063
8064 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8065
8066 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8067 successful tests--makes xfailing them work right.
8068
8069Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8070
8071 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8072 only \r\n, not .*. The test can pass .* as the last thing in
8073 $pattern if that is what it wants. In addition to providing this
8074 flexibility, this change should speed up pattern matching in cases
8075 where the pattern already ended with .* (there were a number of
8076 them). This change also helps catch bad patterns--in the old
8077 scheme the typo "char \*" instead of "char \\*" would pass. Now
8078 it is caught.
8079 * Many .exp files: Update callers.
8080
8081 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8082 clearer and does not spuriously match multiple ('s. Likewise for
8083 ) and *.
8084
8085 * gdb.base/nodebug.exp: Test ability to call a function and pass
8086 it a string (even with no debugging info).
8087
8088 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8089 "p '\'", which is the same as "p ''" once tcl gets done with
8090 quoting, to "p '\\'", which I suspect is what is intended (one
8091 backslash gets sent to GDB).
8092
8093 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8094
8095Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8096
8097 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8098 1817) was fixed literally years ago.
8099
8100Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8101
8102 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8103 test, it causes stepping out of call_after_alloca_subr with
8104 optimizing compilers.
8105 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8106 fails.
8107
8108 * gdb.c++/templates.exp: Source templ-info.exp only if
8109 the templates executable exists.
8110
8111 * gdb.c++/misc.cc (class Contains_static_instance,
8112 class Contains_nested_static_instance),
8113 gdb.c++/classes.exp (test_static_members): Test printing of
8114 a class that contains a static instance of the class.
8115
8116Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8117
8118 * gdb.base/langs2.c (cppsub_): Don't prototype.
8119 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8120 only, I believe).
8121
8122Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8123
8124 * lib/gdb.exp (skip_chill_tests): New procedure.
8125
8126 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8127
8128Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8129
8130 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8131 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8132
8133Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8134
8135 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8136
8137 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8138 disassemble 8, not 16, instructions for part 4.
8139
8140 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8141 support the latter anymore.
8142
8143 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8144 -DNO_PROTOTYPES.
8145 * gdb.base/callfuncs.c: Control use of prototypes based on
8146 NO_PROTOTYPES, not __STDC__.
8147 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8148 t_float_values2 tests if prototypes in use.
8149
8150 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8151 t_double_values): When checking differences against DELTA, check
8152 that difference is within the range (-DELTA,DELTA), not just
8153 (-infinity,DELTA).
8154
8155Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8156
8157 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8158 'file' command firts, then 'target', then 'load', this is due to gdb
8159 target set up.
8160 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8161
8162Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8163
8164 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8165 FP load/store variants.
8166 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8167
8168Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8169
8170 * gdb.base/term.exp: Do not give a warning if not native, it is
8171 not an abnormal condition.
8172
8173Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8174
8175 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8176 t_char_array".
8177
8178Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8179
8180 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8181 are getting the version number.
8182
8183 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8184 if not native, it is not an abnormal condition.
8185
8186Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8187
8188 * lib/gdb.exp: Just use "file exists", rather than undocumented
8189 dejagnu procedure "findfile".
8190
8191Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8192
8193 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8194 (LDFLAGS): Set to -Xlinker -Ur.
8195
8196 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8197 Removed, these values are set by lib/gdb.exp.
8198
8199 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8200
8201Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8202
8203 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8204 of replicating gdb startup code.
8205
8206 * config/mt-vxworks (LDFLAGS): Set to -r.
8207 (CFLAGS_FOR_TARGET): Removed.
8208
8209 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8210 (gdb) and gdb for vxworks uses (vxgdb).
8211
8212 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8213 executable is not in the tree and host != target, use sed and
8214 program_transform_name to determine the gdb name used by the
8215 target.
8216
8217 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8218 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8219
8220Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8221
8222 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8223 floats, chars, and shorts where there are ANSI-style function
8224 definitions.
8225
8226 * gdb.base/langs.exp, gdb.base/langs*: New test.
8227 * gdb.base/Makefile.in: Build it.
8228 * TODO: Remove item about checking that C names don't get C++
8229 demangling applied; this test tests it.
8230
8231Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8232
8233 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8234 went with the const70 xfail. The xfail went away a year ago.
8235
8236 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8237
8238 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8239 for hp300.
8240
8241 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8242
8243 * gdb.base/a1-selftest.exp: Don't run on hp300.
8244
8245Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8246
8247 * Makefile.in (site.exp): Set host_alias and target_alias as well
8248 as host_triplet and target_triplet.
8249
8250Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8251
8252 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8253
8254 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8255 places as other ecoff systems).
8256
8257 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8258 ultrix.
8259
8260Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8261
8262 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8263 remove them.
8264 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8265 variable and "variable" in addition to "data variable".
8266 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8267
8268 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8269 2.
8270 * gdb.base/list1.c (long_line): Add additional statement at start
8271 of function.
8272 * gdb.base/list.exp (test_forward_search): Update line number to
8273 reflect new statement.
8274
8275Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8276
8277 * gdb.base/signals.exp: Reinitialize searched source directories
8278 after gdb_start call.
8279
8280Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8281
8282 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8283 * gdb.stabs/Makefile.in: Likewise.
8284
8285 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8286 change. Instead split the tests into smaller pieces.
8287 * gdb.disasm/hppa.s: Corresponding changes.
8288
8289Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8290
8291 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8292 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8293
8294 * gdb.base/funcargs.exp: Modify many tests so that every test
8295 either passes or fails. Make some test names unique.
8296
8297Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8298
8299 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8300 Call stty to set interrupt character.
8301
8302 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8303 for HP assembler versus GNU assembler based on actual behavior of
8304 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8305
8306 * TODO: Suggest a few more stepping tests.
8307
8308Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8309
8310 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8311 restart GDB for h8300 after a continue.
8312 (return): Add pattern to match a29k-udi behavior.
8313 * gdb.base/nodebug.exp: Remove obsolete comment.
8314 * gdb.base/regs.exp: New file, testing of register displays.
8315 * gdb.base/return.exp: Fix typo in reference to $objdir.
8316 * gdb.base/whatis.exp: Always start with a fresh GDB.
8317
8318Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8319
8320 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8321 higher, these tests generate a lot of output.
8322
8323Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8324
8325 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8326 code following the catch silently ignored some errors; without the
8327 catch they should be thrown like any other tcl error. Also, the
8328 catch used "" instead of {} which meant all the callers who wanted
8329 to include one of the characters "[]$ had to quote it an extra time.
8330 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8331 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8332 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8333 Remove extra quoting.
8334
8335Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8336
8337 * gdb.base/commands.exp: Make test names unique; every test either
8338 passes or fails. Update some comments.
8339
8340 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8341
8342Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8343
8344 The following fixes a FAIL caused by the fact that the alpha stabs
8345 configuration didn't use the ".if alpha" code in weird.def.
8346 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8347 bit pointer, so the 32 bit version works even on the alpha.
8348 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8349 Remove the stuff which allowed us to have separate versions for
8350 alpha and everything else.
8351
8352 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8353 regexp which "info func operator\[\](" is supposed to match. Fix
8354 string to send to GDB. Note that GDB still doesn't work right. Add a
8355 new test for "info func .perator\[\](" which GDB does handle correctly.
8356
8357 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8358
8359Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8360
8361 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8362 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8363 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8364 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8365 it makes the tests harder to understand and confuses test-o-matic.
8366 The preferred style is that each test provides a PASS or a FAIL,
8367 and has a unique message (e.g. "continue #54" not just "continue")
8368 which is the same for the pass and the fail.
8369 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8370 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8371 to lib/gdb.exp.
8372 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8373 prt_accept which was basically the same thing. Likewise for
8374 test_print_reject and prt_reject.
8375 * lib/gdb.exp (test_print_reject): Add some more error message
8376 patterns to match from the former printcmds.exp (prt_reject).
8377 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8378 One defect of the passcount stuff is that some of it failed to
8379 report XPASS where appropriate.
8380 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8381 stuff before and after arg in expected pattern.
8382 (test_paddr_operator_functions): Re-do test without print_addr_of;
8383 this is the only test which seems to want extra stuff there.
8384
8385Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8386
8387 * gdb.base/nodebug.exp: Update new tests to reflect improved
8388 wording of gdb output.
8389
8390 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8391 and "ptype" work on variables in files compiled without -g.
8392 Replaces commented out "maint print msymbol" tests.
8393
8394Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8395
8396 * gdb.base/setvar.c (dummy): Call malloc.
8397
8398 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8399 losing with the irix4 sed.
8400
8401 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8402 ALRM" on irix4.
8403
8404Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8405
8406 * TODO: Remove items about corefile.exp testing new exec-file and
8407 backtrace; both are now done. Add items about printing enums.
8408
8409Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8410
8411 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8412 "get signal $thissig" test fails.
8413
8414 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8415
8416Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8417
8418 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8419 compiler warning with dec alpha compiler.
8420
8421 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8422 extra \n from gdb_test call (this explains why the prompt test
8423 that I removed yesterday was there).
8424 (user_defined_command_test): Remove extra \n and prompt test.
8425
8426 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8427 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8428 doesn't exist.
8429 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8430 Also remove alpha workaround, which turns out to be because
8431 SIGABRT == SIGLOST.
8432
8433 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8434
8435 * gdb.base/help.exp: Don't test "help show".
8436
8437Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8438
8439 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8440 "set print address" is on.
8441 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8442 pass prompt to gdb_test; gdb_test already looks for the prompt.
8443
8444 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8445
8446 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8447 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8448 was to make sure that gdb can read a core file. But (a) the "read
8449 the corefile" part didn't make it to a1-selftest.exp, we just
8450 delete the corefile after creating it, and (b) we test reading
8451 corefiles in corefile.exp anyway. Also, this test left around a
8452 xgdb process on Solaris.
8453
8454 * gdb.base/corefile.exp: Also test backtrace.
8455
8456Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8457
8458 * gdb.base/commands.exp: Test a simple user defined command with
8459 arguments and if/while statements; verify the full user command is
8460 printed by "show user".
8461
8462 * gdb.base/commands.exp: Test if/while commands as part of a
8463 breakpoint command list; verify they appear in breakpoint
8464 information.
8465
8466Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8467
8468 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8469 than by dividing by zero.
8470
8471Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8472
8473 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8474 performing an inferior call with watchpoints enabled.
8475 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8476 call.
8477
8478Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8479
8480 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8481 of "file" command.
8482
8483 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8484 Add additional pattern for when "int operator int(void);" appears
8485 in a different order.
8486
8487Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8488
8489 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8490
8491 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8492 and "signal" with ".*".
8493
8494Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8495
8496 * TODO: Add note about "handle all nostop".
8497
8498 * gdb.base/{sigall.c, sigall.exp}: New test.
8499 * gdb.base/Makefile.in: Add it.
8500
8501Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8502
8503 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8504 when invoking GDB, suppresses any windowing interface.
8505
8506Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8507
8508 * config/sim-gdb: New file, simulator testing support.
8509
8510Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8511
8512 * gdb.base/interrupt.exp: Test calling func1 twice.
8513
8514Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8515
8516 * gdb.base/list.exp (test_forward_search): Set timeout higher
8517 when we'll be getting lots of output from gdb.
8518
8519 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8520 "init_malloc" to after the expect statement. Run it if that
8521 regexp is taken, but also for two others which happen if source
8522 cannot be found.
8523
8524Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8525
8526 * gdb.base/printcmds.exp: New test, for printing register before
8527 program is running.
8528
8529Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8530
8531 * gdb.base/list.exp: Correct some alternate expect patterns
8532 to reflect changes in list1.c.
8533
8534Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8535
8536 * TODO: Add item regarding large frames.
8537
8538 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8539
8540 * TODO: Remove item about enabling return.exp; it
8541 is enabled. Suggest a few more "return" tests.
8542
8543Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8544
8545 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8546 anonymous unions.
8547
8548Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8549
8550 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8551 and pr-5646.o, so "make" is the same as "make all", not "make
8552 pr-4975.o".
8553
8554Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8555
8556 * gdb.base/list.exp: Adjust expectations to reflect changes in
8557 list1.c.
8558 (test_forward_search): New test proc.
8559 * gdb.base/list1.c (long_line): New function, has long source line.
8560
8561Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8562
8563 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8564 additional line of code that was added.
8565
8566Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8567
8568 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8569 tests so as not to overflow expect's input buffers.
8570 * gdb.disasm/hppa.exp: Corresponding changes.
8571
8572Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8573
8574 Beginnings of template debugging tests.
8575 * gdb.c++/templ-info.cc: New file to test for template
8576 debugging capability of the compiler.
8577 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8578 templ-info.cc.
8579 * gdb.c++/templates.cc: Add explicit template instantiations
8580 to enable compiling with -fno-implicit-templates. Add destructor
8581 and 'value' method to T5 class for template tests.
8582 * gdb.c++/templates.exp: Add testcases for printing of template
8583 types, setting breakpoints on template methods and calling a
beb998c6 8584 template method.
c906108c
SS
8585
8586Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8587
8588 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8589 branch target since some assemblers (gas-2.5) may emit a
8590 relocation for the branch instead of resolving it in the
8591 assembler.
8592
8593Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8594
8595 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8596 through signal handler.
8597
8598Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8599
8600 * configure.in (*-*-netware): Use config/mt-netware.
8601
8602 * config/mt-netware: New file.
8603 * config/mt-i386-netware: Removed, separate configs for different
8604 netware architectures are no longer needed now that we have
8605 --with-headers.
8606
8607Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8608
8609 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8610 by the recent changes to use ANSI C arithmetic conversions.
8611
8612Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8613
8614 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8615 bug involving using inferior_pid to figure out whether to select a
8616 frame.
8617
8618Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8619
8620 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8621 match the current disassembler output.
8622
8623Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8624
8625 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8626 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8627 types, expect "int" as type of integer values (for now).
8628
8629Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8630
8631 * gdb.base/commands.exp: New tests for if/while commands.
8632
8633Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8634
8635 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8636 by .*, since hex values have different syntax in Chill mode.
8637
8638Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8639
8640 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8641 linefeed from expect pattern for repeated types with indices > 9.
8642
8643Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8644
8645 First part of Fortran test suite.
8646 * gdb.fortran: New directory.
8647 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8648
8649Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8650
8651 * gdb.base/default.exp: Update expect pattern for load command
8652 without arguments.
8653
8654Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8655
8656 * configure.in: Change i386 to i[345]86.
8657 * gdb.base/configure.in: Likewise.
8658 * gdb.c++/configure.in: Likewise.
8659 * gdb.chill/configure.in: Likewise.
8660
8661Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8662
8663 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8664 patterns, since that is not a valid context for comments.
8665
8666Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8667
8668 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8669 repeated types and repeated types with indices > 9.
8670
8671Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8672
8673 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8674 2417; old bug has been fixed.
8675
8676Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8677
8678 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8679 send the newline ourselves instead of assuming gdb_test will do
8680 so when passed an empty input string.
8681
8682 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8683 stabs testcode.
8684
8685Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8686
8687 * lib/gdb.exp (gdb_test): Don't send anything if the first
8688 argument is an empty string. This makes cases where we want to
8689 match output that is already in expect's buffers (for example,
8690 matching a breakpoint after gdb_run_cmd has been called) work
8691 reliably.
8692
8693Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8694
8695 * config/netware.exp: New file.
8696
8697Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8698
8699 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8700 the -B and -L prefixes so we can find the debugging stub.
8701
8702 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8703 there and we are using the gcc from the tree.
8704
8705 * gdb.base/types.c: Removed.
8706
8707 * gdb.base/configure.in: Look for makefile fragments in ../config.
8708 Recognize i386-*-netware.
8709 * gdb.c++/configure.in: Likewise.
8710
8711Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8712
8713 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8714 the correct TCL syntax.
8715
8716Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8717
8718 * gdb.base/opaque.exp: use runto instead of messing around with
8719 breakpoints. Simplify by using gdb_test.
8720
8721 * gdb.base/bitfields.exp: restart between tests on netware targets
8722 because breakpoints aren't relocated after target death. Run
8723 processes to completion.
8724
8725 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8726
8727Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8728
8729 * Makefile.in: Remove extra tabs that confuse some versions
8730 of "make". Use the newly built gdb to test with by default,
8731 rather than the first one in the tester's search path.
8732
8733Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8734
8735 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8736
8737 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8738 condition help.
8739
8740Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8741
8742 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8743
8744 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8745 running.
8746 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8747 * gdb.base/funcargs.exp: Likewise.
8748
8749 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8750 * gdb.base/funcargs.exp: Likewise.
8751
8752 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8753 message is "".
8754
8755Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8756
8757 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8758 return,signals,twice}.exp: Handle non-existant binaries
8759 consistantly.
8760
8761 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8762 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8763 might testing a cross development system.
8764
8765Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8766
8767 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8768 runtest script is relative to ${srcdir}, not ${rootdir}.
8769
8770Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8771
8772 * gdb.base/signals.exp: Allow for optionality of breakpoint
8773 address.
8774
8775Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8776
8777 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8778
8779Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8780
8781 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8782 for size_t definition.
8783 * gdb.c++/templates.cc: Likewise
8784
8785 * config/mt-i386-netware: New file.
8786
8787 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8788 defined.
8789
8790 * gdb.base/Makefile.in: Added support for systems that name core
8791 files by appending "core" to the program name.
8792 * gdb.base/a1-selftest.exp: Likewise.
8793
8794Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8795
8796 * gdb.base/return.exp: Add comment and message for `return double'
8797 test failure on Sparc Solaris.
8798
8799Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8800
8801 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8802
8803Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8804
8805 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8806 from optimizing them away.
8807 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8808 patterns to include default constructors and assignment operators,
8809 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8810 character in the output of the virtual base pointer.
8811
8812Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8813
8814 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8815 expression match in print_addr_of to avoid unintented matches.
8816 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8817 versions up to 2.5.8.
8818
8819Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8820
8821 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8822 included file to run under newer versions of expect.
8823 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8824 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8825 Remove xfail for the virtual table of BDDHookV.
8826
8827Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8828
8829 * lib/gdb.exp (string_to_regexp): Set a default result.
8830 (default_gdb_start): Fix misleading message.
8831
8832Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8833
8834 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8835 Remove all CC, etc definitions.
8836 * config/mt-hpux: New file.
8837 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8838 (CFLAGS, LDFLAGS): Define.
8839 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8840
8841 * Makefile.in (site.exp): Don't insert host_os, etc.
8842 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8843 (distclean): Check existence of subdir.
8844 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8845 * gdb.base/Makefile.in: General cleanup and simplification.
8846 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8847 to build executables. Use default rule to build .o files.
8848 (EXPECT, RUNTEST, CC): Fix relative pathname.
8849 (site.exp): Don't insert host_os, etc.
8850 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8851 and/or SIGUSR1 defined.
8852 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8853 * gdb.c++/Makefile.in: General cleanup and simplification.
8854 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8855 (CFLAGS): Remove.
8856 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8857
8858Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8859
8860 * gdb.base/recurse.exp: Misc changes to get tests running again
8861 after Kung's changes to the watchpoint code.
8862 * gdb.base/watchpoint.exp: Likewise.
8863
8864Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8865
8866 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8867
8868Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8869
8870 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8871 * lib/gdb.exp (default_gdb_start): Define.
8872 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8873 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8874 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8875 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8876 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8877 Don't call gdb_target_udi in between tests.
8878
8879Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8880
8881 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8882 (which was basically just a local version of the same thing). In
8883 addition to avoiding duplication, gdb_test_exact is faster.
8884 * lib/gdb.exp (gdb_test_exact): Fix typo.
8885
8886 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8887 don't give an error.
8888
8889 * gdb.base/term.exp: Call delete_breakpoints before starting.
8890
8891 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8892 (t10): Add comment.
8893
8894Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8895
8896 Reorganization of the GDB Test Suite.
8897
8898 * gdb.base: New directory, contains all the basic tests.
8899 * gdb.c++: New directory, tests specific to C++.
8900 * gdb.chill: New directory, tests specific to Chill.
8901 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8902 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8903 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8904 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8905 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8906 t30-31 to chill).
8907 * */gdbme.*: Rename to match appropriate expect scripts.
8908 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8909 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8910 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8911 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8912 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8913 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8914 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8915 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8916 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8917 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8918 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8919 gdb.c++/virtfunc.cc: New names of C++ files.
8920 * gdb.chill/chillvars.ch: New name of Chill file.
8921 * gdb.base/configure.in, gdb.c++/configure.in,
8922 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8923 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8924 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8925 * configure.in (configdirs): Update to reflect directory changes.
8926 (target_abbrev): No longer define for any configuration.
8927 * Makefile.in: Cosmetic improvements to header comments.
8928
8929Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8930
8931 Various changes to gdb.t31:
8932
8933 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8934 * gdbme.ch: Make all key-words and predefineds be upper-case.
8935 * chillvars.exp: Expect key-words and predefinds in upper-case.
8936
8937 * chillvars.exp: Use gdb_test_exact many places.
8938 Change expected output for arrays (which now includes index labels).
8939
8940 * pr-5020.exp, gdme.ch (module PR_5020):
8941 New test, for PR-5020.
8942
8943Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8944
8945 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8946 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8947
8948Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8949
8950 * Makefile.in: Fix bit-rot in definitions of CHILL,
8951 CHILL_FOR_TARGET and Chill_LIB.
8952 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8953 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8954 CHILL, and CHILL_LIB.
8955
8956Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8957
8958 * Revert the previous changes. Please see Rob's directory
8959 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8960
8961Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8962
8963 * Makefile.in, configure.in, config/mips-gdb.exp,
8964 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8965 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8966 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8967 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8968 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8969 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8970 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8971 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8972 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8973 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8974 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8975 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8976 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8977 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8978 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8979 changes from 94Q1.
8980
8981Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8982
8983 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8984 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8985 Rob's new testing fragments.
8986
8987Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8988
8989 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8990 lib/gdb.exp: Replace error proc calls with perror.
8991
8992Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8993
8994 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8995 version also, match on casted version strings, and match on
8996 gdb startup case where the line numbers might be messed up.
8997
8998Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8999
9000 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9001 (CFLAGS): Delete it from here.
9002
9003Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9004
9005 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9006
9007Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9008
9009 * Makefile.in (RUNTEST): Default to just "runtest".
9010
9011Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9012
9013 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9014 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9015 the code has been restructured.
9016
9017Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9018
9019 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9020 \n, not just one of each.
9021
9022 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9023 /bin/cc gives a warning if you do.
9024
9025Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9026
beb998c6 9027 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9028 __t10ListS_link1ZUiRCUiPT0
9029
9030Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9031
9032 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9033 on local variables in recursive functions.
9034
9035 * gdb.t07/Makefile.in: Build the new test.
9036
9037Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9038
9039 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9040 directly. Instead compare the return values from actual calls.
9041
9042Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9043
9044 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9045
9046Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9047
9048 * From Peter Schauer with minor modifications.
9049 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9050 stops in mid-line in the caller. Add xfail for returning a float
9051 value on X86 targets.
9052
9053Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9054
9055 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9056 to avoid expect lossage.
9057 (fmem_LRbug_tests): Likewise.
9058 * gdb.disasm/hppa.s: Corresponding changes.
9059
9060 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9061 conditions to work with latest dejagnu/expect.
9062
9063 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9064 expected to fail on the PA.
9065 (backtrace in call with trampolines): Explicitly require main
9066 to be frame #1 (no trampolines should show up in backtrace).
9067
9068 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9069 "continue -expect".
9070 * gdb.t06/break.exp: Likewise.
9071 * gdb.t07/watchpoint.exp: Likewise.
9072 * gdb.t13/bitfields.exp: Likewise.
9073 * gdb.t15/{funcargs,return}.exp: Likewise.
9074 * gdb.stabs/weird.exp: Likewise.
9075 * config/{mips,udi}-gdb.exp: Likewise.
9076
9077 * hppa.sed: Enclose comments within a sed command to avoid
9078 losing with the old OSF1 sed.
9079
9080Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9081
9082 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9083 sequent dynix.
9084 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9085 * gdb.t15/funcargs.exp: Conditionally step again to really
9086 finish from marker_call_with_trampolines. Handle the case where
9087 the first step from within call_with_trampolines already steps
9088 us back to main.
9089 * gdb.t15/gdbme.c: Add comment to closing brace of
9090 call_with_trampolines for funcargs.exp.
9091
9092Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9093
beb998c6 9094 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9095 Fix typo(s).
9096
9097Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9098
9099 * gdb.t07/gdbme.c: More code for watchpoint testing.
9100
9101 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9102 "Hardware watchpoint" throughout file.
9103 (test_watchpoint_triggered_in_syscall): New test.
9104 (test_complex_watchpoint): New test.
9105
9106Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9107
9108 * gdbme.c (call_with_trampolines): New function to try and step
9109 into. Tests trampoline problems on the PA.
9110
9111 * funcargs.exp (localvars_in_indirect_call): No longer expect
9112 stepping into indirect call to fail on PAs.
9113 (test_stepping_over_trampolines): New test.
9114
9115Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9116
9117 * TODO: Add suggestions for static member function tests, and
9118 completion tests.
9119
9120Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9121
9122 * TODO: Add suggestions for "p/a" tests.
9123
9124 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9125 (default_gdb_exit): Replace all the hair with sending "quit" to
9126 the process with a simple close.
9127
9128Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9129
9130 * TODO: Add suggestions for shared library tests.
9131
9132Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9133
9134 * TODO: Add suggestions for x/s tests.
9135
9136Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9137
9138 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9139 "enable once", and "enable breakpoints once" with ".*".
9140
9141Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9142
9143 * TODO: Add suggestions about structure passing tests.
9144
9145Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9146
9147 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9148 the primary1 test, use work around if __GNUC__ < 2.
9149 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9150 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9151 Test for bad output rather than waiting for timeout. Issue
9152 second continue only if first continue failed.
9153
9154Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9155
9156 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9157 operator[] test with gdb_test because the old code didn't seem to
9158 be getting the quoting right with the new dejagnu.
9159
9160Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9161
9162 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9163 one from the path.
9164 * Makefile.in: Use a fresh expect if there is one, use runtest
9165 from the src tree if there is one.
beb998c6 9166
c906108c
SS
9167Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9168
9169 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9170 next over recursive call. Revise the tests from that point on
9171 (which had been skipped) to match GDB's actual (correct) output.
9172
9173 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9174 with next over a breakpoint whose condition is false.
9175
9176 * gdb.t00/help.exp: Comment out "help set print" tests just like
9177 (and for same reason as) "help set" test.
9178
9179Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9180
9181 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9182 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9183
9184Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9185
9186 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9187 necessary gdb_target_udi.
9188
9189 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9190
9191 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9192 1838 and 2417; they are fixed.
9193
9194 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9195 gdb.t03/ptype.exp (ptype structure, ptype union):
9196 Remove xfails; the test is looser than when the xfails were added.
9197
9198 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9199 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9200
9201 * gdb.t01/run.exp: Only run shell test if isnative.
9202
9203 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9204 since "run" automatically loads if necessary. Call gdb_target_udi
9205 after the "file" since "file" kills any execution target.
9206
9207 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9208 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9209 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9210 argument for UDI.
9211
9212Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9213
9214 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9215
9216 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9217
9218Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9219
9220 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9221 properly quoting regexps. This makes the second argument to
9222 demangle a fixed string, which matches the callers, instead of a
9223 shell-style pattern which is what the previous implementation
9224 used. Update some of the callers.
9225
9226Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9227
9228 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9229 (comib_nullified_tests): Fix typo.
9230 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9231 strings. No longer expected to fail.
9232
9233 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9234 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9235 strings. No longer expected to fail.
9236
9237 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9238 string. No longer expected to fail.
9239
9240Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9241
9242 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9243 No longer expected to fail.
9244
9245 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9246 string. No longer expected to fail.
9247
9248Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9249
9250 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9251 only in the names (I probably got most of them). I was even
9252 generous with some which differed in underscores in names, and
9253 probably missed a few, and I *still* was able to remove almost a
9254 third of the file with almost no impact on testsuite coverage.
9255
9256Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9257
9258 * gdb.t00/default.exp: Match udi_attach error message as well as
9259 the one from child_attach.
9260
9261 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9262
9263 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9264
9265 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9266 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9267
9268 * Move test with enums and partial symbols back to
9269 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9270 Reverts the change of 26 May 93. Per today's change to
9271 stabs.texinfo, the behavior that weird.exp was expecting was
9272 unreasonable; what is important is that the compiler+gdb get
9273 things right, which happens with a recent gcc. Also fix the test
9274 to deal with native compilers which put out the stab gdb can't
9275 deal with.
9276
9277Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9278
9279 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9280 in the names. The main thing these accomplish is to slow things down.
9281 Many more such duplicates surely remain.
9282
9283 * gdb.t00/help.exp: Comment out "help support" test just like
9284 (and for same reason as) "help set" test.
9285
9286Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9287
9288 * gdb.t06/break.exp: Remove setup_xfails for
9289 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9290 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9291 about known bug in gcc to include up through 2.5.8.
9292 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9293 well as "_vb$".
9294 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9295 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9296 with latest gcc and gdb.
9297 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9298 well as "_vb$".
9299
9300Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9301
9302 * configure.in (hppa*-*-*): Also configure and build stabs-only
9303 tests.
9304
9305Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9306
9307 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9308 * gdb.t10/configure.in (hppa*-*-*): Use it.
9309
9310Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9311
9312 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9313
9314Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9315
9316 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9317 versions prior to 1.13.5.
9318
9319Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9320
9321 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9322 the prompt is at the start of a line.
9323
9324Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9325
9326 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9327 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9328 in the copr tests now.
9329 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9330 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9331 expected to fail.
9332
9333Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9334
9335 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9336 gdb.t31/chillvars.exp, lib/gdb.exp:
9337 Tweak to run under either version of expect.
9338 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9339 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9340 * gdb.t11/list.exp: Remove extraneous whitespace.
9341
9342Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9343
9344 * gdb.t16/printcmds.exp (test_print_strings): Accept
9345 "(unsigned char *) " before the string.
9346
9347 * TODO: Add notes about printing of fancy types and GDB expressions.
9348
9349Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9350
9351 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9352 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9353 if doing mips-idt-ecoff.
c906108c
SS
9354
9355Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9356
9357 * Most .exp files: Tweak to run under either version of expect.
9358
9359Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9360
9361 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9362 xfails; I'm not sure why they are failing, but not because of PR 1806.
9363
9364Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9365
9366 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9367 defined in lib/gdb.exp.
9368
9369Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9370
9371 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9372 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9373 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9374 have to be typeless.
9375
9376Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9377
9378 * TODO: Add suggestion for copyright year test.
9379
9380Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9381
9382 * configure.in (*-*-lynxos*): Add stabs tests.
9383
9384Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9385
9386 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9387 so insert a tab before any assembler directive in column zero.
9388
9389 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9390 stores.
9391 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9392 stores.
9393 (fpu_short_memory_tests): Likewise.
9394
9395Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9396
9397 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9398 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9399 .stabs directives in comments.
9400
9401Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9402
9403 * TODO: New file, describing tests we could write.
9404 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9405
9406Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9407
9408 * gdb.t06/signals.exp: Add kludge to force re-sync.
9409
9410 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9411 to xgdb instead of gdb, get out of gdb.
9412
9413Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9414
9415 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9416 for info.
9417
9418Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9419
9420 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9421 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9422 * gdb.stabs/hppa.sed: New sed script for the PA.
9423
9424Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9425
9426 * gdb.stabs: Re-write weird.def and configuration to use sed
9427 instead of cpp. sed is portable and POSIX; cpp is neither.
9428
9429Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9430
9431 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9432
9433Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9434
9435 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9436
9437Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9438
9439 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9440 "_vb$".
9441 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9442 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9443
9444Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9445
9446 * lib/gdb.exp: Comment out code which depends on non-existent
9447 `transform' procedure.
9448
9449Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9450
9451 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9452 * lib/gdb.exp: Transform tool name.
9453 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9454 1.1's new error handling system.
9455
9456Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9457
9458 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9459
9460Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9461
9462 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9463 They made pattern matching so slow that timeouts happened on
9464 heavily loaded systems. Now any output from "show print" which
9465 gets us back to the GDB prompt is a PASS.
9466
9467Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9468
9469 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9470
9471Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9472
9473 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9474
9475 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9476 It is not from PR 3220.
9477
9478Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9479
9480 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9481 just started failing because they depended on the order the
9482 subcommands are presented, or exact docstring text. This kind of
9483 test is a pain and has minimal benefit.
9484
9485Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9486
9487 * gdb.t09/corefile.exp: At end of test, use "core" command with
9488 no arguments.
9489
9490Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9491
9492 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9493 17}/Makefile.in: Make it possible to run the testsuite with Sun
9494 make and CC = cross gcc by adding explicit build rules for .o
9495 files.
9496
9497Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9498
9499 * gdb.t15/funcargs.exp: Don't put comments on same line as
9500 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9501
c906108c
SS
9502Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9503
9504 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9505
9506Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9507
9508 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9509 * gdb.t20/inherit.exp: remove three dumplicate entries.
9510
9511Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9512
9513 * gdb.t06/break.exp: For "next over recursive call", fail on any
9514 incorrect output, not just on "factorial (value=2)".
9515
9516Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9517
9518 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9519 working now. Add an xfail if accesing a bss variable causes
9520 a memory error if the target is not yet run.
9521
9522Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9523
9524 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9525 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9526 name of __st* demangling (2 strings). Did Kung really get the
9527 more than 95 others right without testing them?
9528
9529Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9530
9531 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9532
9533Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9534
9535 * configure.in (configdirs): Add gdb.disasm
9536 * gdb.disasm: New directory for GDB disassembler tests.
9537 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9538
9539Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9540
9541 * gdb.t00/help.exp: Don't test "help set".
9542
9543 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9544 from within expect statements. None of these happen anymore and
9545 they cause regressions to be silently unnoticed.
9546
9547 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9548 messages) about known failures with gcc cygnus-2.4.5-930417.
9549
9550 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9551 comp-info.exp so it gets built if it doesn't exist.
9552
9553 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9554 it is no longer used.
9555 * gdb.t13/comp-info.c: Removed.
9556
9557Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9558
9559 * gdb.t06/signals.exp: Add xfail for sun3.
9560
9561Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9562
9563 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9564 relevant because ^C doesn't get sent but failure can be reproduced
9565 interactively).
9566
9567Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9568
9569 * gdb.stabs/alpha.mt: New configuration file for alpha.
9570 * gdb.stabs/configure.in: Use it.
9571 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9572 sharing with alpha.mt, redefine long to word via preprocessor.
9573 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9574 for alpha.
9575 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9576 native cc.
9577 * gdb.t00/teststrategy.exp: Change expect string so that we
9578 consume the `(xgdb)' from the command echo and from the gdb prompt.
9579 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9580 gdb currently compares all values as long, so this failure probably
9581 applies to any configuration where LONGEST is bigger than a target int.
9582 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9583 with gcc.
9584 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9585 to handle opaque pointers, gcc is.
9586 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9587 as first argument. Include <sys/types.h> and change all operator
9588 new definitions to use size_t.
9589 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9590 now that we use size_t.
9591
9592Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9593
9594 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9595 a long or float array cast all array members to the same type.
9596 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9597 with 64 bit longs.
9598 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9599 on alpha.
9600 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9601
9602Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9603
9604 * gdb.t24 (demangle.exp): Constructors of templates have names like
9605 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9606 section 14.6 of the ARM.
9607
9608 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9609 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9610 accomplish little and slow down the testsuite.
9611
9612 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9613 Accept spaces various places.
9614
9615Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9616
9617 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9618 with watchpoint enabled.
9619
9620 * Makefile.in: Remove definition of CC and remove the second
9621 definition of CXX (the "CXX = gcc" one remains). These definitions
9622 were causing backquotes to be expanded within backquotes, which
9623 doesn't work.
9624
9625Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9626
9627 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9628
9629Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9630
9631 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9632 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9633 by mips cc and contains no stabs entries.
9634
9635Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9636
9637 * config/vx-gdb.exp: Use fake device to load files rather than
9638 NFS.
9639 * lib/gdb.exp: New proc to do "file" command.
9640 * config/unix-gdb.exp: Use new "file" proc.
9641
9642Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9643
9644 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9645 Rework board rebooting slightly.
9646 (gdb_exit): Don't exit from the remote shell; there isn't one.
9647 * gdb.stabs/weird.exp: If a program is being debugged already,
9648 kill it.
9649 * gdb.t04/setvar.exp: Stop and restart gdb.
9650 * gdb.t05/expr.exp: Likewise.
9651 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9652 restart gdb and reload the program.
9653 * gdb.t08/opaque.exp: Likewise.
9654 * gdb.t12/scope.exp: Likewise.
9655 * gdb.t13/bitfields.exp: Likewise.
9656 * gdb.t15/funcargs.exp: Likewise.
9657 * gdb.t20/classes.exp: Likewise.
9658 * gdb.t03/ptype.exp: Increase timeout.
9659 * gdb.t16/printcmds.exp (test_print_string_constants,
9660 test_print_array_constants): Likewise.
9661 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9662 * gdb.t20/classes.exp (do_tests): Likewise.
9663 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9664
9665Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9666
9667 * gdb.stabs: Renamed *wierd* to *weird*.
9668
9669Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9670
9671 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9672 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9673
9674Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9675
9676 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9677 (do_tests): Remove xfail for whatis on one_var and two_var.
9678
9679Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9680
9681 * Makefile.in: Made cross building work better by adding
9682 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9683
9684Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9685
9686 * gdb.t15/{return.c,return.exp,Makefile.in}:
9687 New test, currently commented out.
9688
9689Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9690
9691 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9692 still running and removes the leftover named socket so GDb can do
9693 clean restarts.
9694
9695Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9696
9697 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9698 console, not GDB.
9699 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9700 cross testing works better with "make check"
9701 * config/unix-gdb: Use default procedures for exit and version.
9702 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9703 with the newest VxWorks.
9704
9705Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9706
9707 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9708 old form.
9709
9710 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9711 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9712
9713 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9714
9715 * config/unix-gdb.exp: Remove this version of gdb_exit
9716 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9717 Rob says he'll look at it when he gets back to testing boards.
9718
9719Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9720
9721 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9722 an expected fail for certain ptype commands.
9723
9724 * gdb.t20/classes.exp: Update expected results of "ptype class
9725 Base1" to account for the constructor that now appears in the type.
9726
9727Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9728
9729 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9730 disappeared from list.
9731 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9732 "alldone" proc with call to cleanup and exit.
9733 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9734 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9735 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9736 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9737 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9738 "alldone" proc with simple returns that suppress remaining
9739 tests. The alldone proc went away many months ago.
9740
9741Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9742
9743 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9744
9745 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9746
9747Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9748
9749 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9750 as vax gdb will display them.
9751
9752Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9753
9754 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9755 optimizers.
9756
9757 * scope.exp: Change "bad value for localval" messages so each one
9758 is unique.
9759
9760 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9761 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9762
9763 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9764
9765Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9766
9767 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9768 doesn't exist (due to optimization).
9769
9770Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9771
9772 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9773 contains \r because the filename is long.
9774
9775 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9776 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9777
9778Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9779
9780 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9781 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9782 Ultrix.
9783 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9784 int tests.
9785 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9786
9787Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9788
9789 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9790
9791 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9792 to match does not match the passing case but still matches the
c906108c
SS
9793 failing case.
9794
9795Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9796
9797 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9798
9799Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9800
9801 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9802 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9803 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9804 Remove various versions of gdb_exit.
9805 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9806 gdb_exit.
9807 * config/unix-gdb.exp: gdb_exit remains here, and should override
9808 the generic version, since it's doing a lot of wierd stuff that
9809 the other versions aren't. FIXME, fold it in, or abandon this
9810 version.
9811
9812Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9813
9814 * gdb.t24/demangle.exp: Add tests for PR 3220.
9815
9816Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9817
9818 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9819
9820Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9821
9822 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9823 "i386-*-*". Works for i486 as well.
9824
9825 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9826 bug, and expand domain of xfail to all SVR4 systems, since the
9827 actual problem is likely to be in generic SVR4 /proc support.
9828
9829Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9830
9831 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9832
9833Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9834
9835 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9836 xfails for other systems. Match a missing 'Continuing.' as an
9837 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9838
9839 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9840 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9841 Only issue warning for missing executables if -all option is used.
9842
9843 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9844 file if -all option is used. It's like an unpredictable XFAIL.
9845
9846Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9847
9848 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9849 for dynamically linked binaries.
9850
9851 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9852
9853Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9854
9855 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9856 to state that this is a known bug in old versions of g++.
9857
9858Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9859
9860 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9861 while waiting for `Continuing'.
9862
9863Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9864
9865 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9866 in text, data, and bss.
9867 * gdb.t10/nodebug.c: Add local and global test variables for
9868 initialized and uninitialized data.
9869
9870Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9871
9872 * config/unix-gdb.exp (gdb_exit): Add "wait".
9873
9874Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9875
9876 * gdb.t06/signals.exp: xfail the continue from the handler for all
9877 targets.
9878
9879 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9880 function with watchpoints enabled, the i386 call dummy starts with
9881 a call.
9882
9883 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9884 386 bsd names its corefiles.
9885
9886Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9887
9888 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9889 compilers don't grok it.
9890 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9891 with small octal ints rather than character constants, which
9892 are signed and might not fit if first promoted to int.
9893
9894Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9895
9896 * gdb.t09/Makefile.in (clean): Remove corefile.
9897
9898Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9899
9900 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9901
9902Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9903 and Jim Kingdon (kingdon@cygnus.com)
9904
9905 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9906 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9907 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9908
9909Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9910
9911 * gdb.t17/interrupt.exp: Add xfail for hppa.
9912
9913Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9914
9915 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9916 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9917 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9918 to determine signed-ness of bitfields and use the result to setup
9919 the xfail.
9920 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9921 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9922 call line is reached if necessary.
9923
9924Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9925
9926 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9927
9928Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9929
9930 * gdb.t06/break.exp: Also test `clear' command.
9931
9932Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9933
9934 * gdb.t00/teststrategy.exp: Remove extra quote.
9935
9936 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9937 watchpoint enabled to be for all non-68k machines.
9938
9939 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9940
9941Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9942
9943 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9944 targets use aout.mt instead of ecoff.mt as gas understands
9945 standard aout format.
9946
9947Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9948
9949 * lib/gdb.exp (runto): Don't insist that function we are running to
9950 was compiled with -g.
9951
9952 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9953
9954 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9955 to get back into the read system call.
9956 Accept leading newline in case where we woke it up.
9957
9958Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9959
9960 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9961 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9962 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9963 enable ecoff configuration.
9964
9965Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9966
9967 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9968
9969Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9970
9971 * gdb.t16/printcmds.exp: Add another printf test.
9972
9973Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9974
9975 * configure.in: If configured -with-stabs on any target, add
9976 stabsdirs to configdirs.
9977
9978Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9979
9980 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9981 fun" so pattern does not match the command itself.
9982
9983Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9984
9985 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9986
9987Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9988
9989 * gdb.t17/interrupt.exp: Test for more things.
9990
9991Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9992
9993 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9994 compiler arranges the code and line numbers.
9995
9996 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9997
9998Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9999
10000 * gdb.t00/help.exp: Increase expect input buffer size.
10001
10002Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10003
10004 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10005
10006 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10007
10008 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10009
10010 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10011 [0-9]*, not just [0-9].
10012
10013Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10014
10015 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10016
10017 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10018
10019Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10020
10021 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10022
10023Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10024
10025 * gdb.t06/signals.c: Add xfails for sun3.
10026
10027 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10028
10029 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10030 test_stepping tests.
10031
10032Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10033
10034 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10035
10036 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10037
10038 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10039 rather than actually putting it through cpp twice.
10040
10041 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10042
10043Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10044
10045 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10046 no longer needed.
10047
10048Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10049
10050 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10051
10052 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10053 C++ features prints as "struct", make it a pass, not an xfail.
10054
10055Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10056
10057 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10058 Don't require VA to print as "class" rather than "struct".
10059
10060Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10061
10062 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10063
10064Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10065
10066 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10067
10068Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10069
10070 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10071 order.
10072
10073Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10074
10075 * gdb.t16/printcmds.exp: Add printf tests.
10076
10077 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10078
10079 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10080
10081Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10082
10083 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10084 pass counts, to counteract any existing or future setup_xfails.
10085
10086Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10087
10088 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10089 {BEGIN,END}_COMMON for common block instead of STAB.
10090 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10091
10092 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10093 intp_var should be N_GSYM not N_LSYM.
10094 wierd-aout.S: Use a label for the value of the N_SO.
10095 wierd.def: Remove all backslashes.
10096 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10097
10098Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10099
10100 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10101 get the expected next to inheritance3.
10102
10103Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10104
10105 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10106 now that gcc-2.4 gets it right.
10107
10108Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10109
10110 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10111
10112 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10113 generating comp-info.exp which works for cross-compilation.
10114
10115Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10116
10117 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10118 "*-*-sysv4.*".
10119
10120Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10121
10122 * gdb.t01/run.exp: Start with a fresh gdb.
10123 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10124 SVR4.x.
10125
10126Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10127
10128 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10129 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10130 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10131 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10132 things to remove.
10133
10134Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10135
10136 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10137 test cases from bug reports.
10138
10139Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10140
10141 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10142 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10143 avoid spurious xfails.
10144 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10145 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10146 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10147
10148Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10149
10150 * gdb.t00/teststrategy.exp: Rework to provide more useful
10151 description of each test, fix problem with systems that define
10152 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10153 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10154 results for "next over recursive call" so timeouts aren't taken
10155 by error.
10156
10157Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10158
10159 * gdb.t12/scope.exp: Test printing of variables before run.
10160
10161 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10162 printed in wrong order due to sorting.
10163
10164Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10165
10166 * gdb.t00/teststrategy.exp: Fix expected results for printing
10167 user entered string constant. Is array of char, prints with no
10168 address.
10169
10170 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10171 commands.
10172 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10173 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10174 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10175 of struct of char arrays.
10176 * gdb.t00/radix.exp: New tests for radix commands.
10177
10178Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10179
10180 * gdb.t16/printcmd.exp: Print a variable before running program
10181 (with xfail for AIX).
10182
10183Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10184
10185 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10186
10187 * gdb.t16/printcmd.exp: Don't print variables before running program.
10188
10189 * gdb.t06/break.exp: Don't require envp argument to main.
10190
10191 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10192
10193 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10194 Add xfails for rs6000.
10195
10196 * gdb.t02/whatis.exp: Change other tests not to re-test something
10197 we already tested.
10198
10199 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10200 each type used has a variable of that type.
10201
10202Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10203
10204 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10205
10206Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10207
10208 * configure.in: change srctrigger to be a file, not a directory
10209
10210Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10211
10212 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10213
10214 * gdb.t11/list.exp: Fixed a couple of typos.
10215
10216Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10217
10218 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10219 is fixed and PR is closed.
10220 * gdb.t16 (gdbme.c): Add simple test string variable.
10221 * gdb.t16 (printcmds.exp): Add tests with simple test string
10222 variable, primarily for boundaries on "set print elements".
10223
10224Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10225
10226 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10227 Make leading 0's optional and don't expect a tab in the middle
10228 of the number.
10229
10230 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10231
10232 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10233 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10234 don't end command passed to gdb_test with newline.
10235
10236 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10237 signed keyword away, don't expect signed bitfields to be signed.
10238
10239 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10240 printing with only as many 1's as are in the field as well as printing
10241 with 32 1's (see comment).
10242
10243Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10244
10245 * gdb.t00/default.exp: Start with a fresh gdb.
10246 * configure.in (configdirs): Remove gdb.t31 until the chill
10247 compiler works again. It no longer is able to find chillrt0
10248 since it isn't in libchill.a anymore.
10249 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10250 wierd.o, make more modular.
10251 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10252 spurious newlines that caused problems.
10253
10254Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10255
10256 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10257 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10258 gdb.stabs/wierd.{exp,def}: Many new tests.
10259
10260 * gdb.t00/default.exp: update info line for new message.
10261
10262 * gdb.t02/{whatis.exp,gdbme.c}:
10263 Test that "char *" doesn't print as "caddr_t".
10264
10265Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10266
10267 * gdb.t00/help.exp: Use .* in place of some help messages which
10268 just changed.
10269 gdb.t00/default.exp: Update "info frame" test for new message.
10270 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10271 Remove some xfails
10272
10273Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10274
10275 * gdb.t03/{gdbme.c,ptype.exp}:
10276 Add tests for typedef'd struct and union without tags.
10277 Also check "whatis" on a variable of a typedef'd enum without a tag.
10278
10279 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10280 PRMS 1823; the bug still exists but isn't reproduced by this test
10281 anymore), and remove rs6000 XFAIL (the bug is fixed).
10282
10283 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10284 duplicated from whatis.exp. For those that are left, accept
10285 "long", "long int", or "int" for long variables (whatis.exp already
10286 has an XFAIL for "int", so no need to fail it here).
10287
10288 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10289 Deal with GCC's names for types now that GDB uses the compiler's names.
10290
10291 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10292 setup_xfail's for sunos4. If we #defined the signed keyword away,
10293 don't expect GDB to know that char it is signed.
10294
10295 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10296
10297Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10298
10299 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10300 should work on any system, regardless of debugging format.
10301 * gdb.t21/demangle.exp: Move to gdb.t24.
10302 * gdb.t24/demangle.exp: Move from gdb.t21.
10303 * gdb.t24/{Makefile.in, configure.in}: New files.
10304
10305Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10306
10307 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10308 * gdb.stabs: New directory.
10309
10310Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10311
10312 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10313 not just "Quit anyway?".
10314
10315Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10316
10317 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10318 that all setup_xfails are immediately followed by clear_xfails.
10319
10320Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10321
10322 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10323 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10324 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10325 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10326 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10327 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10328 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10329 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10330 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10331 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10332 gdb.t31/chillvars.exp, lib/gdb.exp:
10333 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10334 bug-gdb@prep.ai.mit.edu.
10335
10336Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10337
10338 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10339 with 0.0, not integer 0.
10340
10341Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10342
10343 * gdb.t06/break.exp: Update for "Kill the program" message change.
10344
10345Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10346
10347 * Makefile.in (GDBFLAGS): Set to -nx.
10348 * Makefile.in (site.exp): Use GDBFLAGS.
10349
10350Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10351
10352 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10353 Makefiles.
10354 (check): depend on just-check.
10355 (just-check): added so that tests can be run without a noop
10356 build pass.
10357
10358Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10359
10360 Switch to using configure's configdirs.
10361 * Makefile.in (Makefile): add configure.in dependency.
10362 (SUBDIRS): removed redundant assignment.
10363 * configure.in: switch subdirs assignment to configdirs.
10364 * gdb.t*/configure.in: new files.
10365
10366Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10367
10368 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10369 works.
10370
10371Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10372
10373 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10374 in explicit rules. Apparently this is not supported by some makes.
10375
10376Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10377
10378 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10379
10380Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10381
10382 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10383 disappeared.
10384
10385Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10386
10387 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10388
10389Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10390
10391 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10392 watchpoint problem that is now fixed.
10393 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10394 uninitialized convenience variables.
10395 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10396 structures.
10397
10398Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10399
10400 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10401 which causes expect to get out of sync with gdb on long output
10402 from help set.
10403 * gdb.t09/corefile.exp: Make expected pattern for core file
10404 failing signal and frame output format less sun specific.
10405
10406Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10407
10408 * gdb.t31/chillvars.exp: Add and remove initial dummy
10409 breakpoint, so that symbol table is forced in.
10410 (Needed at least on Sunos4, though it seems not SVR4.)
10411 * gdb.t31/chillvars.exp: Update for changed output format.
10412
10413Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10414
10415 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10416
10417Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10418
10419 * Makefile.in: Added --srcdir when invoking runtest, removed the
10420 need for a local config file. (optional now)
10421
10422Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10423
10424 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10425 failure count used to force early termination. Add some more
10426 expected failures for gnu style demangling.
10427
10428Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10429
10430 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10431 pmi variable from gdb.t20/gdbme to get optimized away.
10432 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10433 Check for written corefile upon timeout _and_ eof.
10434
10435Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10436
10437 * config/unix-gdb.exp: Add missing return 0.
10438
10439Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10440
10441 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10442 test termination.
10443
10444Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10445
10446 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10447 disappeared.
10448
10449Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10450
10451 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10452 time as i860 support works.
10453
beb998c6 10454 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10455 "backtrace 100\r" rather than just "backtrace\r", to match last
10456 change.
10457
10458Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10459
10460 * config/udi-gdb.exp (gdb_exit): Remove close command.
10461 (gdb_target_udi): New procedure to set the UDI target.
10462 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10463 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10464 Added waits for prompts after several question responses. Added
10465 some more responses used by a29k-amd-udi-gdb.
10466 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10467 pass different arguments, restart UDI connection after program
10468 completion.
10469 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10470 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10471 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10472 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10473 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10474 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10475 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10476 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10477 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10478 after program completion.
10479 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10480 compiled with a SELECT_VECS setting.
10481 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10482 infinite recursion.
10483
10484 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10485 Added checks for COFF results, and made them expected failures for
10486 all targets. It would be better to make them expected failures
10487 for COFF targets only.
10488
10489Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10490
10491 * Makefile.in: add null dvi target, don't bother to recurse
10492 through test directories for info and install-info; rename
10493 $(datadir) to be dejagnu instead of deja-gnu
10494
10495Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10496
10497 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10498 compiler to coredump.
10499 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10500 code.
10501
10502Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10503
10504 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10505 coredump.
10506 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10507 code.
10508
10509Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10510
10511 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10512 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10513 which in a shell. Deletes xgdb when done.
10514 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10515 Tests the return from the "set height" or "set width" commands.
10516 Added a few return codes where needed.
10517
10518Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10519
10520 * Makefile.in (SUBDIRS): Add gdb.t17.
10521 * configure.in (subdirs): Add gdb.t17.
10522 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10523 files to test gdb's calling of functions in the inferior with
10524 the correct arguments and gdb's ability to retrieve any
10525 result returned.
10526
10527Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10528
10529 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10530 may be called after gdb goes away. Previous versions of expect
10531 needed these to avoid file descriptor leaks, but they cause
10532 errors with the current revision of expect.
10533 * gdb.t00/gdbvars.exp: Use -re on expected output after
10534 setting sevenbit-strings.
10535 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10536 to set sevenbit-strings consistent across tests.
10537 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10538 set sevenbit-strings consistent across tests.
10539
10540Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10541
10542 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10543 expected output to match current "expect" expectations.
10544
10545Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10546
10547 * gdb.t00/default.exp: Change expected output for default "source"
10548 command, to match new gdb behavior which requires a filename to
10549 source.
10550
10551Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10552
10553 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10554 expected fail for i486-*-* that misses the marker2 function.
10555 * gdb.t10/crossload.exp (bfddefault): Allow successful
10556 recognition of a format to pass even if no symbols are found.
10557 Explicitly catch failures where the format is not recognized
10558 or is ambiguous, and add the reason to the fail message.
10559 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10560 the cause is and invalid target and add reason to failure message.
10561 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10562 elf32-i386, elf32-sparc, and elf32-i860.
10563 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10564 Set up expected failure for 'filename'::variable scope resolution,
10565 which is now apparently broken on all targets.
10566 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10567 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10568 gdb.t23/templates.exp: Change failure for missing binfile into
10569 just a warning.
10570 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10571 references.
10572
10573Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10574
10575 * gdb.t00/default.exp: Add expected output for default "source"
10576 command, to match new gdb behavior.
10577 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10578
10579Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10580
10581 * config/*-gdb.exp: returns an error, rather than exiting on
10582 internal errors.
10583
10584Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10585
10586 * gdb.t03/gdbme.c: Add pointer to struct variable.
10587 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10588 referencing struct members.
10589
10590Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10591
10592 * configure.in (mips-idt-ecoff): New target.
10593 * config/mips-gdb.exp: New file for remote board using MIPS remote
10594 debugging protocol.
10595
10596 * Redid configuration scheme. Removed gdb.t*/configure.in.
10597 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10598 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10599 distclean targets. Built executables via .o files. Adjusted
10600 tests to account for source files in $(srcdir) rather than
10601 $(objdir).
10602 * lib/gdb.exp (runto): Don't expect () after the function name,
10603 because it may have arguments.
10604
10605Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10606
10607 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10608 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10609 expected failures for mips-idt-* and mips-sgi-*.
10610 * gdb.t00/default.exp (attach): Kill process if requested.
10611 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10612 that does not read core files.
10613 * gdb.t01/run.exp: Removed checks for exit status code.
10614 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10615 it is linked in.
10616 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10617 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10618 appropriate, rather than doing it by hand.
10619 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10620 execution.
10621 * gdb.t10/crossload.exp: Kill existing program if needed.
10622 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10623 appropriate, rather than doing it by hand. Always increase
10624 timeout for this test, not just for VxWorks.
10625
10626Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10627
10628 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10629 of Chill STRUCT types and STRUCT values.
10630 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10631 than "char".
10632 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10633 struct2): New struct definitions and initializations to test
c906108c
SS
10634 simple Chill STRUCT types.
10635
10636Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10637
10638 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10639 the null byte at the end of strings.
10640 * gdb.t00/default.exp: Make show version insensitive to copyright
10641 date.
10642 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10643 to avoid dependencies on target char signedness.
10644 * gdb.t16/printcmds.exp: Update expected results for explicitly
10645 unsigned char.
10646 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10647 now work.
10648 * gdb.t21/demangle.exp: Add many more patterns for template
10649 demangling, most of them being expected failures.
10650 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10651 string we are matching for, to match on the whole string.
10652 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10653 and fix a whole bunch that had incorrect expected output but were
10654 passing anyway because of the bug in "proc demangle".
10655 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10656 type.
10657 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10658
10659Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10660
10661 * gdb/testsuite: made modifications to testcases, etc., to allow
10662 them to work properly given the reorganization of deja-gnu and the
10663 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10664
10665Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10666
10667 * gdb/testsuite: Initial creation of gdb/testsuite.
10668 Migrated dejagnu testcases and support files for testing nm to
10669 gdb/testsuite from deja-gnu. These files were moved "as is"
10670 with no modifications. This migration is part of a major overhaul
10671 of dejagnu. The modifications to these testcases, etc., which
10672 will allow them to work with the new version of dejagnu will be
10673 made in a future update.
10674\f
10675Local Variables:
ef043731 10676mode: change-log
c906108c
SS
10677left-margin: 8
10678fill-column: 74
10679version-control: never
10680End: