]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2004-02-24 Andrew Cagney <cagney@redhat.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
9f27c604
JJ
12004-02-23 Jeff Johnston <jjohnstn@redhat.com>
2
3 * lib/gdb.exp (gdb_breakpoint): Update query string to match
4 new nquery format.
5 * gdb.base/pending.exp: Ditto.
6
3224a706
MK
72004-02-22 Mark Kettenis <kettenis@gnu.org>
8
9 * configure.in: Run stabs tests on *BSD.
10 * configure: Regenerated.
11
41e0a9ca
MK
122004-02-21 Mark Kettenis <kettenis@gnu.org>
13
14 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
15
1e1b3428
FF
162004-02-20 Fred Fish <fnf@redhat.com>
17
18 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
19 blank in test for "returns short", for consistency with other
20 "returns xxx" tests. Update copyright year.
21
f9a7572a
FF
222004-02-19 Fred Fish <fnf@redhat.com>
23
24 New testcase for PR breakpoint/1558.
25 * gdb.arch/gdb1558.exp: New file.
26 * gdb.arch/gdb1558.c: New file.
27
b2ce2854
EZ
282004-02-19 Elena Zannoni <ezannoni@redhat.com>
29
30 * gdb.base/nodebug.exp: Fix typo.
31
e7c9ff01
JB
322004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
33
34 Committed by Jim Blandy <jimb@redhat.com>.
35
62f4b920
JB
36 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
37
2db536a1
JB
38 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
39
e7c9ff01
JB
40 * gdb.base/float.exp: Support s390*-*-* targets.
41
f3205b34
AF
422004-02-17 Adam Fedor <fedor@gnu.org>
43
44 * gdb.base/gdb1555.exp: New file.
45 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
46
9d62932d
EZ
472004-02-17 Elena Zannoni <ezannoni@redhat.com>
48
49 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
50
344c9711
FF
512004-02-16 Fred Fish <fnf@redhat.com>
52
53 * gdb.arch/gdb1291.c: Remove
54 * gdb.arch/gdb1291.s: New test input file.
55 * gdb.arch/gdb1291.exp: Expand test to check case that should not
56 fail. Test for correct result, known incorrect result, other
57 failures and timeouts.
58
2d822687
AC
592004-02-16 Andrew Cagney <cagney@redhat.com>
60
61 * gdb.base/bigcore.exp: New file.
62 * gdb.base/bigcore.c: New file.
63
dac15b66
AC
642004-02-13 Andrew Cagney <cagney@redhat.com>
65
66 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
67 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
68 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
69 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
70 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
71 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
72 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
73 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
74 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
75 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
76
6bdfc2c4
JJ
772004-02-11 Jeff Johnston <jjohnstn@redhat.com>
78
79 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
80 executed is an alloc instruction.
81
87b3ede8
DC
822004-02-11 David Carlton <carlton@kealia.com>
83
84 * gdb.cp/breakpoint.exp: New.
85 * gdb.cp/breakpoint.cc: New.
86
6e19e2bf
MC
872004-02-11 Michael Chastain <mec.gnu@mindspring.com>
88
89 Partial fix for PR gdb/1543.
90 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
91 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
92 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
93 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
94 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
95 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
96 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
97 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
98 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
99 to bug-gdb@prep.ai.mit.edu .
100 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
101 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
102 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
103 Likewise.
104
5c5455dc
AC
1052004-02-10 Andrew Cagney <cagney@redhat.com>
106
107 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
108 using gdb_internal_error_resync.
109
9cf689d7
DJ
1102004-02-09 Daniel Jacobowitz <drow@mvista.com>
111
112 * gdb.threads/thread-specific.exp: Stop early if no threads are
113 found.
114
d2dc51db
MC
1152004-02-09 Michael Chastain <mec.gnu@mindspring.com>
116
117 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
118
14b1a056
DJ
1192004-02-08 Daniel Jacobowitz <drow@mvista.com>
120
121 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
122 breakpoints.
123
83f66e8f
DJ
1242004-02-07 Daniel Jacobowitz <drow@mvista.com>
125
126 * config/sim.exp (gdb_load): Handle $arg == "".
127 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
128 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
129
30fc0091
EZ
1302004-02-07 Elena Zannoni <ezannoni@redhat.com>
131
132 * gdb.base/maint.exp: Update test to reflect
133 obstack changes.
134
4d806929
JJ
1352004-02-04 Jeff Johnston <jjohnstn@redhat.com>
136
137 * gdb.base/pendshr.c (pendfunc): New function that calls
138 pendfunc1.
139 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
140
7bfdd688
FF
1412004-02-04 Fred Fish <fnf@redhat.com>
142
143 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
144 function symbols and update copyright years.
145 * gdb.arch/gdb1291.c: Ditto.
146
aaa08ee4
MC
1472004-02-03 Michael Chastain <mec.gnu@mindspring.com>
148
149 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
150
dbad7755
MC
1512004-02-03 Michael Chastain <mec.gnu@mindspring.com>
152
153 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
154
ec4646ef
MC
1552004-02-03 Michael Chastain <mec.gnu@mindspring.com>
156
157 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
158
1b802196
FF
1592004-02-02 Fred Fish <fnf@redhat.com>
160
161 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
162 remote targets. Update copyright years.
163
18fe2033
JJ
1642004-02-02 Jeff Johnston <jjohnstn@redhat.com>
165
166 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
167 support.
168 * gdb.base/langs.exp: Fix test which attempts to create
169 breakpoint on non-existent function to handle new pending
170 support.
171 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
172 a breakpoint.
173 * gdb.base/pending.exp: New test.
174 * gdb.base/pending.c: New file.
175 * gdb.base/pendshr.c: Ditto.
176
8d577d32
DC
1772004-02-02 David Carlton <carlton@kealia.com>
178
179 * gdb.cp/overload.exp: Add overloadNamespace tests.
180 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
181 (overloadNamespace, XXX): New.
182 (main): Call XXX::marker2.
183
3ad13771
FF
1842004-02-01 Fred Fish <fnf@redhat.com>
185
186 * gdb.base/dump.exp: Use runto_main instead of "runto main".
187 * gdb.base/finish.exp: Ditto.
188 * gdb.base/gcore.exp: Ditto.
189 * gdb.base/huge.exp: Ditto.
190 * gdb.base/info-proc.exp: Ditto.
191 * gdb.base/return2.exp: Ditto.
192 * gdb.threads/gcore-thread.exp: Ditto.
193
44c75849
DJ
1942004-02-01 Daniel Jacobowitz <drow@mvista.com>
195
196 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
197
005bc093
MK
1982004-02-01 Mark Kettenis <kettenis@gnu.org>
199
200 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
201 that opening the file succeeds on OpenBSD.
202
c47cebdb
DJ
2032004-02-01 Daniel Jacobowitz <drow@mvista.com>
204
205 * gdb.threads/thread-specific.c: New file.
206 * gdb.threads/threads-specific.exp: New test script.
207 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
208 to expect_out.
209
5a01311c
MK
2102004-02-01 Mark Kettenis <kettenis@gnu.org>
211
212 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
213 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
214 only on the "print_small_structs from print_long_arg_list" test.
215
ce22a4f1
DJ
2162004-02-01 Daniel Jacobowitz <drow@mvista.com>
217
218 * gdb.base/completion.exp: Kill a stray backslash.
219
220 From Jim Ingham <jingham@apple.com>:
221 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
222 agrees with the result from sending a tab.
223
abbab9d3
DJ
2242004-01-31 Daniel Jacobowitz <drow@mvista.com>
225
226 * gdb.base/chng-syms.exp: Remove stray newline.
227
53904d1e
MK
2282004-01-31 Mark Kettenis <kettenis@gnu.org>
229
230 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
231 *-*-openbsd*.
232 * gdb.asm/openbsd.inc: New file.
233
3a4b3aac
MK
2342004-01-30 Mark Kettenis <kettenis@gnu.org>
235
236 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
237 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
238 *-*solaris2*. Remove commented out default settings for
239 asm-flags. Replace gdb_compile with target_link.
240
ebac27b4
MC
2412004-01-29 Michael Chastain <mec.gnu@mindspring.com>
242
243 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
244 for all tests. Remove old hp-ux and cygnus xfail cases.
245
d8679d84
PH
2462004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
247
248 * gdb.base/chng-syms.exp: New file.
249 * gdb.base/chng-syms.c: New file.
250
0a55bc22
MC
2512004-01-24 Michael Chastain <mec.gnu@mindspring.com>
252
253 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
254 Provide arms for current output in all my configurations.
255
94b8e876
MC
2562004-01-24 Michael Chastain <mec.gnu@mindspring.com>
257
258 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
259 * lib/compiler.cc: Likewise.
260 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
261 get the right preprocessor. Eval the output directly. Remove
262 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
263 hp_f77_compiler and hp_f90_compiler completely.
264 (gdb_preprocess): Delete.
265 (get_compiler): Delete.
266
7cf03d44
MK
2672004-01-24 Mark Kettenis <kettenis@gnu.org>
268
269 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
270 <string.h>.
271
68b6dce9
NR
2722004-01-24 Nick Roberts <nick@nick.uklinux.net>
273
274 * gdb.mi/mi-stack.exp: Update copyright.
275
b368761e
DC
2762004-01-23 David Carlton <carlton@kealia.com>
277
278 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
279 test for cp_lookup_transparent_type.
280 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
281 call them.
282
f2061b53
DJ
2832004-01-23 Daniel Jacobowitz <drow@mvista.com>
284
285 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
286 after -var-update.
287
37fc574a
DC
2882004-01-23 David Carlton <carlton@kealia.com>
289
290 * gdb.cp/namespace.cc (C::ensureRefs): New.
291 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
292
8e94b928
NR
2932004-01-20 Nick Roberts <nick@nick.uklinux.net>
294
295 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
296 case "-stack-list-locals 2".
297 * gdb.mi/mi-var-child.exp: Test for case
298 "-var-list-children --all-values NAME".
299
997b0952
MC
3002004-01-18 Michael Chastain <mec.gnu@mindspring.com>
301
302 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
303
52470da3
MK
3042004-01-18 Mark Kettenis <kettenis@gnu.org>
305
7049b4b8
MK
306 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
307 used with gdb_test_multiple.
308
52470da3
MK
309 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
310 read at address 0. This fixes PR testsuite/1504.
311
da6012e5
DJ
3122004-01-18 Daniel Jacobowitz <drow@mvista.com>
313
314 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
315 Remove downloading, guessing the host executable, the calls to
316 gdb_file_cmd and gdb_target_cmd, and "load" support.
317 (infer_host_exec): New function broken out from gdb_load.
318 (gdb_load): New wrapper for gdbserver_gdb_load.
319 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
320 gdb_target_cmd. Use -target-select.
321 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
322 Download binaries to the host. Clear last_mi_remote_file when
323 we load a new binary.
324 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
325 call gdbserver_gdb_load and mi_gdb_target_cmd.
326
32c70722
MC
3272004-01-17 Michael Chastain <mec.gnu@mindspring.com>
328
329 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
330 type patterns.
331
b0cecf36
MC
3322004-01-17 Michael Chastain <mec.gnu@mindspring.com>
333
334 * gdb.cp/templates.exp: Fix typo in test name of
335 "print Foo<volatile char*>::foo".
336
4120d7e6
MC
3372004-01-15 Michael Chastain <mec.gnu@mindspring.com>
338
339 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
340
f679e530
BE
3412004-01-16 Ben Elliston <bje@wasabisystems.com>
342
343 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
344 (clean mostlyclean): Remove empty rm.
345
091c48f6
MC
3462004-01-15 Michael Chastain <mec.gnu@mindspring.com>
347
348 * gdb.base/setvar.exp: Add copyright years.
349
3e5fc8d2
DC
3502004-01-14 David Carlton <carlton@bactrian.org>
351
352 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
353 PR c++/1511 and update coment.
354 * gdb.cp/templates.exp: Update patterns to match current output.
355 If changes involve something other than whitespace, KFAIL
356 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
357
63d06c5c
DC
3582004-01-14 David Carlton <carlton@kealia.com>
359
360 * gdb.cp/namespace.exp: Add tests involving classes defined within
361 namespaces.
362 * gdb.cp/namespace.cc (C::CClass): New.
363 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
364
a51dab88
EZ
3652004-01-14 Elena Zannoni <ezannoni@redhat.com>
366
367 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
368 what debug info we have. Print a better message if something goes
369 wrong while producing the separate debug info file.
370
a476ccc9
MC
3712004-01-14 Michael Chastain <mec.gnu@mindspring.com>
372
373 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
374
f453692c
MC
3752004-01-14 Michael Chastain <mec.gnu@mindspring.com>
376
377 * gdb.base/callfuncs.c: Add copyright notice.
378
f40063a5
MC
3792004-01-13 Michael Chastain <mec.gnu@mindspring.com>
380
381 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
382 inheritance. PR gdb/1498, PR gcc/13539.
383
19ac3974
EZ
3842004-01-13 Elena Zannoni <ezannoni@redhat.com>
385
386 * gdb.threads/gcore-thread.exp: Prefix name of binary with
387 test specific name.
388 * gdb.mi/gdb669.exp: Ditto.
389 * gdb.mi/mi-pthreads.exp: Ditto.
390 * gdb.mi/mi1-pthreads.exp: Ditto.
391 * gdb.mi/mi2-pthreads.exp: Ditto.
392
56c97c6e
MC
3932004-01-12 Michael Chastain <mec.gnu@mindspring.com>
394
395 * gdb.cp/member-ptr.cc: Add copyright notice.
396
a0644324
MC
3972004-01-12 Michael Chastain <mec.gnu@mindspring.com>
398
399 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
400 some patterns for recent versions of gcc and hpacc. Delete
401 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
402 Delete tests that access a NULL pointer-to-member-data. This
403 script is still disabled for gcc.
404
32fabe09
EZ
4052004-01-12 Elena Zannoni <ezannoni@redhat.com>
406
407 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
408 escaped correctly.
409
1f8a6abb
EZ
4102004-01-12 Elena Zannoni <ezannoni@redhat.com>
411
412 * gdb.base/sepdebug.exp: New file.
413 * gdb.base/sepdebug.c: New file.
414 * lib/gdb.exp (separate_debug_filename): New procedure.
415 (gdb_gnu_strip_debug): New procedure.
416
48efe704
AC
4172004-01-12 Andrew Cagney <cagney@redhat.com>
418
419 * gdb.mi/ChangeLog: Delete file. Renamed to ...
420 * gdb.mi/ChangeLog-1999-2003: New file.
421
a9415475
AC
4222004-01-12 Andrew Cagney <cagney@redhat.com>
423
424 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
425 "Renaming a directory to a non-empty directory returns ENOTEMPTY
426 or EEXIST", treat EBUSY as an XFAIL.
427
83b8cf9d
MC
4282004-01-11 Michael Chastain <mec.gnu@mindspring.com>
429
430 * gdb.base/scope.exp: Remove obsolete setup_xfail for
431 hp_cc_compiler.
432
9939d2a8
MC
4332004-01-10 Michael Chastain <mec.gnu@mindspring.com>
434
435 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
436 decorations.
437
1ff8cadf
MC
4382004-01-10 Michael Chastain <mec.gnu@mindspring.com>
439
440 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
441 and "(aCC)" decorations. Remove obsolete doco about old
442 test results.
443
6fa9022e
MC
4442004-01-09 Michael Chastain <mec.gnu@mindspring.com>
445
446 * gdb.cp/exception.exp: Fix typo in doco.
447
209721fe
MK
4482004-01-09 Mark Kettenis <kettenis@gnu.org>
449
450 * gdb.base/gdb1476.exp: Fix typo.
451
ef11303e
MC
4522004-01-09 Michael Chastain <mec.gnu@mindspring.com>
453
454 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
455 file.
456
041ab88c
MC
4572004-01-09 Michael Chastain <mec.gnu@mindspring.com>
458
459 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
460 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
461 Use gdb_compile. Remove restriction on gcc. Add some patterns
462 for recent version of gdb. Delete second half, which was a copy
463 of the first half with different build flags. This test is
464 still disabled because it is still not ready for production.
465
e36d075a
MC
4662004-01-08 Michael Chastain <mec.gnu@mindspring.com>
467
468 * gdb.cp/exception.cc: Add copyright notice.
469 * gdb.cp/exception.exp: Add a notice that this file is broken
470 because of line number changes caused by addition of copyright
471 notice.
472
42b190ad
MC
4732004-01-08 Michael Chastain <mec.gnu@mindspring.com>
474
475 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
476 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
477
8f25f06b
MC
4782004-01-08 Michael Chastain <mec.gnu@mindspring.com>
479
480 * gdb.cp/classes.exp: Accept gnu abi 2.
481 * gdb.cp/derivation.exp: Likewise.
482 * gdb.cp/overload.exp: Likewise.
483 * gdb.cp/virtfunc.exp: Likewise.
484
06ded8b8
MC
4852004-01-08 Michael Chastain <mec.gnu@mindspring.com>
486
487 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
488 semicolon after end of function.
489
77c26ae3
MC
4902004-01-07 Michael Chastain <mec.gnu@mindspring.com>
491
492 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
493 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
494 boilerplate code for compiling and running the program under
495 test. Add some string method tests.
496
20757486
MC
4972004-01-07 Michael Chastain <mec.gnu@mindspring.com>
498
499 * gdb.cp/bs15503.cc: Add copyright notice.
500 * gdb.cp/bs15503.exp: Adjust line number.
501
0fd3b503
MC
5022004-01-07 Michael Chastain <mec.gnu@mindspring.com>
503
504 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
505 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
506
10d1bea8
MC
5072004-01-07 Michael Chastain <mec.gnu@mindspring.com>
508
509 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
510 hp_cc_compiler.
511
2789202a
MC
5122004-01-07 Michael Chastain <mec.gnu@mindspring.com>
513
514 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
515 * gdb.cp/ctti.exp: Use the marker instead of "next".
516 With gcc, run further before bailing.
517
b862f14c
MC
5182004-01-07 Michael Chastain <mec.gnu@mindspring.com>
519
520 * gdb.cp/cttiadd.cc: Add copyright notice.
521 * gdb.cp/cttiadd1.cc: Likewise.
522 * gdb.cp/cttiadd2.cc: Likewise.
523 * gdb.cp/cttiadd3.cc: Likewise.
524
96da2469
MC
5252004-01-07 Michael Chastain <mec.gnu@mindspring.com>
526
527 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
528 Use gdb_test, gdb_test_multiple. Use floating-point values that
529 have exact representations in IEEE-ish formats.
530
053248ff
MC
5312004-01-07 Michael Chastain <mec.gnu@mindspring.com>
532
533 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
534 compilers. Delete duplicate call to get_compiler_info.
535 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
536 * gdb.base/volatile.exp: Likewise.
537
84acecdd
MK
5382004-01-07 Mark Kettenis <kettenis@gnu.org>
539
540 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
541 memory at address 0.
542
fe11a27f
MC
5432004-01-07 Michael Chastain <mec.gnu@mindspring.com>
544
545 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
546 to test for hp-ux assembler. Fix copyright years.
547
60ad077b
AC
5482004-01-07 Andrew Cagney <cagney@redhat.com>
549
550 * gdb.base/fileio.c (strerrno): Add "EBUSY".
551
1c9b8f33
AC
5522004-01-07 Andrew Cagney <cagney@redhat.com>
553
554 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
555 when creating the read-only file. From analysis by Roland McGrath
556 and Elena Zannoni.
557
753ccc7a
MC
5582004-01-06 Michael Chastain <mec.gnu@mindspring.com>
559
560 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
561
eca3e36b
MC
5622004-01-06 Michael Chastain <mec.gnu@mindspring.com>
563
564 * gdb.base/cvexpr.c: Be type-safe with function pointers and
565 data pointers.
566
f8d4bac4
MC
5672004-01-06 Michael Chastain <mec.gnu@mindspring.com>
568
569 * gdb.cp/m-static.exp: Compile one source file at a time.
570 Delete unused call to get_compiler_info.
571
9b4e0f94
MC
5722004-01-06 Michael Chastain <mec.gnu@mindspring.com>
573
574 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
575 * gdb.base/call-rt-st.exp: Likewise.
576 * gdb.base/nodebug.exp: Likewise.
577 * gdb.base/volatile.exp: Likewise.
578 * gdb.cp/ref-types.exp: Likewise.
579 * gdb.cp/templates.exp: Likewise.
580
023c1024
MK
5812004-01-05 Mark Kettenis <kettenis@gnu.org>
582
583 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
584
19703c4a
MC
5852004-01-05 Michael Chastain <mec.gnu@mindspring.com>
586
587 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
588 hppa*-hp-hpux*.
589
18b67037
MK
5902004-01-04 Mark Kettenis <kettenis@gnu.org>
591
ba6219c8
MK
592 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
593 x86_64-*-*.
594
18b67037
MK
595 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
596 sparc64-*-* and sparc*-solaris2*.
597
1bfbbb9d
MK
5982004-01-04 Mark Kettenis <kettenis@gnu.org>
599
600 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
601 return ${tests}" test. The ${tests} already mentions the
602 filename.
603
06846494
MC
6042004-01-02 Michael Chastain <mec.gnu@mindspring.com>
605
606 * gdb.cp/local.exp: Accept gcc abi 2.
607
3b0cb202
MC
6082004-01-02 Michael Chastain <mec.gnu@mindspring.com>
609
610 * gdb.cp/templates.exp: Accept gcc abi 2.
611
0643ec3f
MC
6122004-01-02 Michael Chastain <mec.gnu@mindspring.com>
613
614 * lib/compiler.cc: Remove supports_template_debugging.
615 * gdb.cp/templates.exp: Do not test supports_template_debugging.
616
d231d0b1
MC
6172004-01-01 Michael Chastain <mec.gnu@mindspring.com>
618
619 * gdb.cp/namespace.exp: Accept gcc abi 2.
620
44ffb27c
MC
6212004-01-01 Michael Chastain <mec.gnu@mindspring.com>
622
623 * gdb.cp/method.exp: Accept gcc abi 2.
624
184ad485
MC
6252004-01-01 Michael Chastain <mec.gnu@mindspring.com>
626
627 * gdb.cp/classes.exp: Generate identical results as old version.
628 * gdb.cp/derivation.exp: Likewise.
629 * gdb.cp/overload.exp: Likewise.
630 * gdb.cp/virtfunc.exp: Likewise.
631
116f09e7
MC
6322004-01-01 Michael Chastain <mec.gnu@mindspring.com>
633
634 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
635 mysterious bug with sourceware version of expect.
636
b1379776
MC
6372004-01-01 Michael Chastain <mec.gnu@mindspring.com>
638
639 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
640 current versions of gcc, including gcc abi 2. Remove gratuitous
641 restart of test program. Use gdb_test_multiple and gdb_test for
642 all tests. Add patterns to xfail missing "const" in "const char *"
643 and kfail PR gdb/1155.
644
6b7a4c0e
MC
6452004-01-01 Michael Chastain <mec.gnu@mindspring.com>
646
647 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
648 current versions of gcc, including gcc abi 2. Remove gratuitous
649 restart of test program. Use gdb_test_multiple and gdb_test for
650 all tests. Add patterns to kfail PR gdb/1498.
651
51615d72
MC
6522003-12-31 Michael Chastain <mec.gnu@mindspring.com>
653
654 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
655 current versions of gcc, including gcc abi 2. Use "breakpoint"
656 and "continue" instead of restarting the target program. Use
657 gdb_test_multiple and gdb_test for all tests.
658
7b79a9d7
MK
6592004-01-01 Mark Kettenis <kettenis@gnu.org>
660
661 * gdb.asm/asm-source.exp: Update copyright year. Link statically
662 for *-*-solaris2*.
663
1cd3489f
MC
6642003-12-31 Michael Chastain <mec.gnu@mindspring.com>
665
666 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
667 current versions of gcc, including gcc abi 2. Use "breakpoint"
668 and "continue" instead of restarting the target program several
669 times. Use gdb_test_multiple and gdb_test for all tests.
670
850742db
MC
6712003-12-18 Michael Chastain <mec.gnu@mindspring.com>
672
673 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
674 source files.
675
eb4bbda8
MC
6762003-12-16 Michael Chastain <mec.gnu@mindspring.com>
677
678 * gdb.base/environ.exp: Handle compiling test case from multiple
679 source files.
680
e42c7771
MC
6812003-12-16 Michael Chastain <mec.gnu@mindspring.com>
682
683 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
684
80e4b428
JB
6852003-12-17 Jim Blandy <jimb@redhat.com>
686
5f06973a
JB
687 * gdb.base/freebpcmd.c: Add copyright notice.
688
80e4b428
JB
689 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
690
0ab84fb7
MC
6912003-12-16 Michael Chastain <mec.gnu@mindspring.com>
692
693 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
694
1b3bb3d0
JB
6952003-12-13 Jim Blandy <jimb@redhat.com>
696
697 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
698
3a4c9371
KB
6992003-12-12 Kevin Buettner <kevinb@redhat.com>
700
701 * gdb.asm/frv.inc: New file.
702 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
703
a1dea79a
FF
7042003-12-09 Fred Fish <fnf@redhat.com>
705
706 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
707 functions to break1.c and leave prototypes behind. Add more
708 "set breakpoint NN here" comments.
709 * gdb.base/break1.c: New file.
710
711 * gdb.base/break.exp: Handle compiling test case from multiple
712 source files and change source file references as needed.
713 * gdb.base/completion.exp: Ditto.
714 * gdb.base/condbreak.exp: Ditto.
715 * gdb.base/define.exp: Ditto.
716 * gdb.base/ena-dis-br.exp: Ditto.
717 * gdb.base/info-proc.exp: Ditto.
718 * gdb.base/maint.exp: Ditto.
719 * gdb.base/until.exp: Ditto.
720
721 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
722 hardcoded line numbers.
723 * gdb.base/define.exp: Ditto.
724 * gdb.base/ena-dis-br.exp: Ditto.
725 * gdb.base/maint.exp: Ditto.
726 * gdb.base/until.exp: Ditto.
727
728 * gdb.base/completion.exp: Use "break1" for completion tests since
729 "break" is no longer a unique prefix.
730
5266b69c
AC
7312003-12-06 Andrew Cagney <cagney@redhat.com>
732
733 * gdb.base/structs.exp (test_struct_returns): When applicable, set
734 "return_value_unimplemented". When an unimplemented struct return
735 architecture, report incorrect values as a KFAIL
736
374451f0
MC
7372003-12-05 Michael Chastain <mec.gnu@mindspring.com>
738
739 * gdb.cp/rtti.exp: Accept new wording of warning from
740 cp_lookup_rtti_type.
741
ba9b20a7
MC
7422003-12-05 Michael Chastain <mec.gnu@mindspring.com>
743
744 Partial fix for PR testsuite/1456.
745 * gdb.base/scope.exp (test_at_main): Replace references to
746 gcc_compiled with calls to test_compiler_info.
747 (test_at_foo): Likewise.
748 (test_at_bar): Likewise.
749
b74b6d0b
MC
7502003-12-04 Michael Chastain <mec.gnu@mindspring.com>
751
752 Partial fix for PR testsuite/1456.
753 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
754 to test_compiler_info.
755
ccfa3402
MC
7562003-12-03 Michael Chastain <mec.gnu@mindspring.com>
757
758 * gdb.base/so-impl-ld.exp: Update copyright notice.
759
f6246aba
MC
7602003-12-02 Michael Chastain <mec.gnu@mindspring.com>
761
762 Partial fix for PR testsuite/1456.
763 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
764 to test_compiler_info.
765
13ae734a
MC
7662003-11-28 Michael Chastain <mec.gnu@mindspring.com>
767
768 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
769 from current versions of gdb. Clean up regular expressions.
770 Delete redundant timeout case.
771
d8e1cdee
MC
7722003-11-28 Michael Chastain <mec.gnu@mindspring.com>
773
774 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
775 from current versions of gdb. Clean up regular expressions.
776 Delete redundant timeout case.
777
96457b64
MC
7782003-12-01 Michael Chastain <mec.gnu@mindspring.com>
779
780 Partial fix for PR testsuite/1456.
781 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
782 gcc_compiled with call to test_compiler_info.
783
f35309fc
MC
7842003-11-30 Michael Chastain <mec.gnu@mindspring.com>
785
786 Partial fix for PR testsuite/1456.
787 * gdb.base/list.exp (test_list_function): Delete unused declaration
788 of gcc_compiled.
789
d7afdf9b
MC
7902003-11-29 Michael Chastain <mec.gnu@mindspring.com>
791
792 Partial fix for PR testsuite/1456.
793 * gdb.base/complex.exp: Replace reference to gcc_compiled with
794 call to test_compiler_info.
795
71507b56
MK
7962003-11-29 Mark Kettenis <kettenis@gnu.org>
797
798 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
799 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
800 it to create the appropriate note.inc.
801 * gdb.asm/asmsrc1.s: Include "note.inc".
802 * gdb.asm/netbsd.inc: New file.
803 * gdb.asm/empty.inc: New file.
804
f81f93f7
MC
8052003-11-28 Michael Chastain <mec.gnu@mindspring.com>
806
807 Partial fix for PR testsuite/1456.
808 * gdb.base/constvars.exp: Replace references to gcc_compiled with
809 calls to test_compiler_info.
810
9a77938e
MC
8112003-11-27 Michael Chastain <mec.gnu@mindspring.com>
812
813 Partial fix for PR testsuite/1456.
814 * gdb.base/volatile.exp: Replace references to gcc_compiled with
815 calls to test_compiler_info.
816
e8367dc7
MK
8172003-11-27 Mark Kettenis <kettenis@gnu.org>
818
819 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
820 pattern for the KFAILs.
821
526c61ee
AF
8222003-11-25 Adam Fedor <fedor@gnu.org>
823
824 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
825 * gdb.objc/objcdecode.m: New file.
826
28f2d600
AF
8272003-11-25 Adam Fedor <fedor@gnu.org>
828
829 * gdb.objc/nondebug.exp: Test for PR objc/1236.
830 * gdb.objc/nondebug.m: New file.
831
a3895cee
BE
8322003-11-26 Ben Elliston <bje@wasabisystems.com>
833
834 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
835 NetBSD as it does on FreeBSD. Modelled on a similar change by
836 Mark Kettenis on 2003-05-30.
837 (link-flags): Set to "--entry _start" regardless of target.
838 Special linker flags are to be appended to $link-flags.
839 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
840
c9f2c8a3
MC
8412003-11-25 Michael Chastain <mec.gnu@mindspring.com>
842
843 * gdb.cp/method.exp: Accept output of new demangler.
844
15a0587a 8452003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
846
847 * gdb/class2.exp: New file.
848 * gdb/class2.cc: New file.
849
3c00b570
MC
8502003-11-25 Michael Chastain <mec.gnu@mindspring.com>
851
852 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
853 of new demangler.
854
7027acc7
MK
8552003-11-23 Mark Kettenis <kettenis@gnu.org>
856
857 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
858 of gdb_test "run".
859
b0e1598a
MK
8602003-11-23 Mark Kettenis <kettenis@gnu.org>
861
862 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
863 "continue" into "run".
864
4d9eda44
MC
8652003-11-23 Michael Chastain <mec.gnu@mindspring.com>
866
867 Partial fix for PR testsuite/1456.
868 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
869 call to test_compiler_info.
870 * gdb.cp/ctti.exp: Likewise.
871 * gdb.cp/derivation.exp: Likewise.
872 * gdb.cp/member-ptr.exp: Likewise.
873 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
874 reference to gcc_compiled.
875
8762003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
877
878 Fix PR testsuite/1463.
879 * gdb.base/structs.exp (start_structs_test): Call
880 get_debug_format before using the debug format.
881
d422fe19
AC
8822003-11-22 Andrew Cagney <cagney@redhat.com>
883
884 * lib/gdb.exp (gdb_test_multiple): Add simple example.
885 * gdb.base/structs.exp: Use gdb_test_multiple.
886
039cf96d
AC
8872003-11-20 Andrew Cagney <cagney@redhat.com>
888
6882279b
AC
889 * gdb.base/structs.exp: Handle and recover from internal errors.
890 Replace "foo${n}" with "foo<n>" in test messages.
891
e53890ae
AC
892 * gdb.base/structs.exp: Update copyright. Rewrite.
893 * gdb.base/structs.c: Update copyright. Rewrite.
894
2b211c59
AC
895 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
896 resync count exceeded.
897
039cf96d
AC
898 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
899 from the internal error.
900 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
901 Original from Jim Blandy.
902 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 903
eac98b22
AC
9042003-11-19 Andrew Cagney <cagney@redhat.com>
905
906 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
907 KFAIL.
908
67455b2a
MK
9092003-11-17 Mark Kettenis <kettenis@gnu.org>
910
911 New testcase for PR backtrace/1435.
912 * gdb.arch/i386-unwind.exp: New file.
913 * gdb.arch/i386-unwind.c: New file.
914
853d6e5b
AC
9152003-11-17 Andrew Cagney <cagney@redhat.com>
916
917 * lib/gdb.exp (compiler_info): New global.
918 (test_compiler_info): New function.
919 (get_compiler_info): Set compiler_info.
920 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
921 "compiler_info" to gcc-<major>-<minor>.
922
38cf6e11
MC
9232003-11-15 Michael Chastain <mec.gnu@mindspring.com>
924
925 * gdb.trace/configure: Remove.
926
a50d3602
EZ
9272003-11-13 Elena Zannoni <ezannoni@redhat.com>
928
929 * gdb.base/break.c: Add comments to aid finding line numbers for
930 breakpoints.
931 * gdb.base/break.exp: Remove all references to explicit line
932 numbers.
933
d9407aaa
NC
9342003-11-11 Nick Clifton <nickc@redhat.com>
935
936 * gdb.base/shreloc.exp: Do not run for targets which do not
937 support shared objects.
938
db488fc1
CV
9392003-11-10 Corinna Vinschen <vinschen@redhat.com>
940
941 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
942 Don't run tests if nofileio flag is given.
943
6a90a18e
EZ
9442003-11-07 Elena Zannoni <ezannoni@redhat.com>
945
946 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
947 as well as 'Watchpoint'.
948
0b915e9c
EZ
9492003-11-06 Elena Zannoni <ezannoni@redhat.com>
950
951 Reported by Jim Ingham <jingham@apple.com>:
952 * gdb.base/annota1.exp: Match at least one occurrence of the
953 signal handler annotation.
954
d7e4b55f
EZ
9552003-11-06 Elena Zannoni <ezannoni@redhat.com>
956
957 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
958 as well as 'Watchpoint'.
959
2fe4e8d0
MC
9602003-11-05 Michael Chastain <mec@shout.net>
961
962 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
963
6ef88553
KW
9642003-11-03 Kris Warkentin <kewarken@qnx.com>
965
966 * gdb.arch/gdb1291.c: New test file.
967 * gdb.arch/gdb1291.exp: New test script.
968 * gdb.arch/gdb1431.c: New test file.
969 * gdb.arch/gdb1431.exp: New test script.
970
ae7dc4d8
MC
9712003-10-22 Michael Chastain <mec@shout.net>
972
973 * gdb.mi/pthreads.c: Add copyright notice.
974
c39d7427
MC
9752003-10-22 Michael Chastain <mec@shout.net>
976
977 * gdb.threads/pthreads.c: Add copyright notice.
978
8b7d96c1
MC
9792003-10-20 Michael Chastain <mec@shout.net>
980
981 * gdb.base/gdb1056.exp: New test script.
982
d1d69fdd
DJ
9832003-10-13 Daniel Jacobowitz <drow@mvista.com>
984
985 * gdb.threads/killed.exp: Use gdb_run_cmd.
986
7d605576
DJ
9872003-10-13 Daniel Jacobowitz <drow@mvista.com>
988
989 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
990 create a core file.
991 * gdb.threads/gcore-thread.exp: Likewise.
992
618ec112
CV
9932003-10-13 Corinna Vinschen <vinschen@redhat.com>
994
995 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
996 type, based on char type.
997 (struct bit_flags_short_t): New bitfield type, based on short type.
998 (init_bit_flags_char): New fuction.
999 (init_bit_flags_short): Ditto.
1000 (print_bit_flags_char): Ditto.
1001 (print_bit_flags_short): Ditto.
1002 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1003
9367a73c
MC
10042003-10-11 Michael Chastain <mec@shout.net>
1005
1006 * gdb.base/call-rt-st.exp: Update copyright year.
1007
1decf120
KI
10082003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1009
1010 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1011 * gdb.disasm/sh3.s: Ditto.
1012
5445b2ae
DJ
10132003-10-07 Daniel Jacobowitz <drow@mvista.com>
1014
1015 * gdb.threads/switch-threads.exp: New test.
1016 * gdb.threads/switch-threads.c: New source file.
1017
aec24853
CV
10182003-10-07 Corinna Vinschen <vinschen@redhat.com>
1019
1020 * gdb.base/ending-run.exp: Add sh specific case.
1021
adc7428d
AC
10222003-10-06 Andrew Cagney <cagney@redhat.com>
1023
1024 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1025 * gdb.disasm/mn10200.exp: Delete obsolete file.
1026
c9d37158
DJ
10272003-09-29 Daniel Jacobowitz <drow@mvista.com>
1028
1029 * ChangeLog: Correct an entry command.exp -> commands.exp.
1030 * gdb.base/commands.exp (bp_deleted_in_command_test)
1031 (temporary_breakpoint_commands): Check noargs.
1032
79c2c32d
DC
10332003-09-25 David Carlton <carlton@kealia.com>
1034
1035 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1036 of some print tests, where appropriate. Add tests for C::D::cd,
1037 E::ce, F::cXfX, G::XgX.
1038 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1039
594e6d67
RE
10402003-09-25 Richard Earnshaw <rearnsha@arm.com>
1041
1042 * lib/java.exp (java_init): Import target_alias before using it.
1043
10f0d451
DC
10442003-09-25 David Carlton <carlton@kealia.com>
1045
1046 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1047
274bcba0
EZ
10482003-09-23 Elena Zannoni <ezannoni@redhat.com>
1049
1050 * gdb.base/selftest.exp: Accomodate more instruction reordering
1051 weirdness.
1052
cdbf20f7
MC
10532003-09-17 Michael Chastain <mec@shout.net>
1054
1055 * gdb.cp/gdb1355.exp: New file.
1056 * gdb.cp/gdb1355.c: New file.
1057
71e06f80
CV
10582003-09-15 Corinna Vinschen <vinschen@redhat.com>
1059
1060 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1061 * gdb.asm/sh.inc: New file.
1062
5c4e30ca
DC
10632003-09-11 David Carlton <carlton@kealia.com>
1064
bd45b7af
DC
1065 * gdb.cp/namespace.exp: Add tests for namespace types.
1066 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
1067 (test_namespace): New.
1068
1c199746
EZ
10692003-09-11 Elena Zannoni <ezannoni@redhat.com>
1070
1071 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 1072 * gdb.stabs/weird.exp: Ditto.
1c199746 1073
04ed252f
MC
10742003-09-08 Michael Chastain <mec@shout.net>
1075
1076 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1077
d8a2d9e7
MC
10782003-09-07 Michael Chastain <mec@shout.net>
1079
1080 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1081 'parse error'.
1082
161afb24
MK
10832003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1084
1085 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1086
49f2741a
MC
10872003-08-30 Michael Chastain <mec@shout.net>
1088
1089 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1090 * gdb.gdb/observer.exp: Ditto.
1091 * gdb.gdb/xfullpath.exp: Ditto.
1092
8afa723e
MK
10932003-08-29 Mark Kettenis <kettenis@gnu.org>
1094
1095 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1096 *-*-*bsd*.
1097
f31dfe3b
JJ
10982003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1099
1100 * gdb.base/dump.exp: Skip for ia64.
1101
4630e498
JJ
11022003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1103
1104 * gdb.asm/asm-source.exp: Add ia64 support.
1105 * gdb.asm/ia64.inc: New file.
1106
1105b7ef
MC
11072003-08-22 Michael Chastain <mec@shout.net>
1108
1109 * gdb.cp: New directory.
1110 * gdb.cp/*: Copy from gdb.c++/*.
1111 * gdb.c++/*: Remove.
1112 * Makefile.in: Change gdb.c++ to gdb.cp.
1113 * configure.in: Ditto.
1114 * configure: Regnerate.
1115
c945b932
MK
11162003-08-18 Mark Kettenis <kettenis@gnu.org>
1117
1118 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1119 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1120
2b66634b
DJ
11212003-08-17 Daniel Jacobowitz <drow@mvista.com>
1122
1123 * mi-var-display.exp (-var-list-children weird): Accept function
1124 pointers with argument types.
1125 * mi1-var-display.exp (-var-list-children weird): Likewise.
1126 * mi2-var-display.exp (-var-list-children weird): Likewise.
1127
a356f73b
DJ
11282003-08-17 Daniel Jacobowitz <drow@mvista.com>
1129
1130 * gdb.base/annota3.exp: Add missing newline.
1131
483417b8
MC
11322003-08-06 Michael Chastain <mec@shout.net>
1133
1134 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1135
c99c59c3
MS
11362003-08-12 Michael Snyder <msnyder@redhat.com>
1137
1138 * gdb.base/float.exp: Add test for SH.
1139
55ed7501
MK
11402003-08-10 Mark Kettenis <kettenis@gnu.org>
1141
1142 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1143
1a371f2e
EZ
11442003-08-07 Elena Zannoni <ezannoni@redhat.com>
1145
1146 * gdb.base/completion.exp: Remove reduntant completion test
1147 on filename.
1148
e0f353ce
EZ
11492003-08-07 Elena Zannoni <ezannoni@redhat.com>
1150
1151 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1152 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1153 gdb.trace/save-trace.exp: Make sure that full pathnames are
1154 escaped correctly.
1155
5710a1af
EZ
11562003-08-07 Elena Zannoni <ezannoni@redhat.com>
1157
1158 * configure.in: Don't generate config.h from config.hin.
1159 * configure: Regenerate.
1160 * config.hin: Remove file.
1161 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1162 * gdb.threads/pthreads.c: Ditto.
1163
dcd81ce9
DJ
11642003-08-07 Daniel Jacobowitz <drow@mvista.com>
1165
1166 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1167 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1168 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1169 Replace ld24 with seth/add3.
1170
6009d884
AC
11712003-08-02 Andrew Cagney <cagney@redhat.com>
1172
1173 * gdb.base/annota3.exp: New file.
1174 * gdb.base/annota3.c: New file.
1175 * gdb.c++/annota3.exp: New file.
1176 * gdb.c++/annota3.cc: New file.
1177
51514e06
MC
11782003-07-29 Michael Chastain <mec@shout.net>
1179
1180 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1181 actually failed.
1182 (do_pass): Likewise.
1183 * gdb.threads/tls.exp: Always initialize no_of_threads.
1184
4ee6625b
DJ
11852003-07-27 Daniel Jacobowitz <drow@mvista.com>
1186
1187 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1188 pattern.
1189 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1190 * gdb.threads/tls.exp: Recognize one case of the host library not
1191 supporting TLS.
1192
225f2bf6
AC
11932003-07-27 Andrew Cagney <cagney@redhat.com>
1194
1195 * gdb.base/fileio.exp: Use SH when running commands using
1196 remote_exec.
1197
bcb27c9f
DJ
11982003-07-24 Daniel Jacobowitz <drow@mvista.com>
1199
1200 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1201 * gdb.base/relocate.c (dummy): New padding array.
1202
3d67be83
MS
12032003-07-22 Michael Snyder <msnyder@redhat.com>
1204
1205 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
1206
1207 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1208 patterns to be more general, accepting old and new output.
1209 Some output chars (such as '+') also must be quoted.
1210 Some addresses are displayed numerically instead of
1211 symbolically.
1212
57ba3b85
MS
12132003-07-23 Michael Snyder <msnyder@redhat.com>
1214
686d097c
MS
1215 * gdb.base/return2.exp: Don't test long-long return.
1216
57ba3b85
MS
1217 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1218 * gdb.disasm/t01_mov.exp: Ditto.
1219 * gdb.disasm/t02_mova.s: Ditto.
1220 * gdb.disasm/t02_mova.exp: Ditto.
1221 * gdb.disasm/t03_add.s: Ditto.
1222 * gdb.disasm/t03_add.exp: Ditto.
1223 * gdb.disasm/t04_sub.s: Ditto.
1224 * gdb.disasm/t04_sub.exp: Ditto.
1225 * gdb.disasm/t05_cmp.s: Ditto.
1226 * gdb.disasm/t05_cmp.exp: Ditto.
1227 * gdb.disasm/t06_ari2.s: Ditto.
1228 * gdb.disasm/t06_ari2.exp: Ditto.
1229 * gdb.disasm/t07_ari3.s: Ditto.
1230 * gdb.disasm/t07_ari3.exp: Ditto.
1231 * gdb.disasm/t08_or.s: Ditto.
1232 * gdb.disasm/t08_or.exp: Ditto.
1233 * gdb.disasm/t09_xor.s: Ditto.
1234 * gdb.disasm/t09_xor.exp: Ditto.
1235 * gdb.disasm/t10_and.s: Ditto.
1236 * gdb.disasm/t10_and.exp: Ditto.
1237 * gdb.disasm/t11_logs.s: Ditto.
1238 * gdb.disasm/t11_logs.exp: Ditto.
1239 * gdb.disasm/t12_bit.s: Ditto.
1240 * gdb.disasm/t12_bit.exp: Ditto.
1241 * gdb.disasm/t13_otr.s: Ditto.
1242 * gdb.disasm/t13_otr.exp: Ditto.
1243
e00759ef
EZ
12442003-07-22 Elena Zannoni <ezannoni@redhat.com>
1245
1246 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1247
8bc2021f
EZ
12482003-07-22 Elena Zannoni <ezannoni@redhat.com>
1249
1250 * gdb.threads/tls.c : New file.
1251 * gdb.threads/tls.exp : New file.
1252 * gdb.threads/tls-main.c : New file.
1253 * gdb.threads/tls-shared.c : New file.
1254 * gdb.threads/tls-shared.exp : New file.
1255
89320c4c
AS
12562003-07-22 Andreas Schwab <schwab@suse.de>
1257
1258 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1259
180dea7c
AS
12602003-07-20 Andreas Schwab <schwab@suse.de>
1261
1262 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1263 due to insn reordering.
1264
0714963c
AC
12652003-07-15 Andrew Cagney <cagney@redhat.com>
1266
1267 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1268
98a23b3f
MC
12692003-07-15 Michael Chastain <mec@shout.net>
1270
1271 * gdb.base/gdb1250.exp: New file.
1272 * gdb.base/gdb1250.c: New file.
1273
27e417a2
ML
12742003-07-09 Michal Ludvig <mludvig@suse.cz>
1275
1276 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1277 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1278
8bc2021f
EZ
12792003-07-09 Elena Zannoni <ezannoni@redhat.com>
1280
1281 * gdb.threads/tls.c: New file.
1282 * gdb.threads/tls.exp: New file.
1283 * gdb.threads/tls-main.c: New file.
1284 * gdb.threads/tls-shared.c: New file.
1285 * gdb.threads/tls-shared.exp: New file.
1286
d99968dc
EZ
12872003-07-09 Elena Zannoni <ezannoni@redhat.com>
1288
1289 * gdb.base/annota1.exp: Make sure that we properly escape the
1290 full path of the source file. Xfail more permissive patterns,
1291 due to a compiler debug info problem.
1292
83876b3b
AS
12932003-07-07 Andreas Schwab <schwab@suse.de>
1294
2705e972
AS
1295 * gdb.asm/m68k.inc: New file.
1296 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1297
83876b3b
AS
1298 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1299 arguments"): Also match negative number.
1300
1301 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1302
3a871b37
DJ
13032003-07-03 Daniel Jacobowitz <drow@mvista.com>
1304
1305 * gdb.base/store.c (charest): New typedef.
1306 (add_char): Rename to add_charest, update.
1307 (wack_char): Rename to wack_charest, update types. Return l + r
1308 to keep r live across the call.
1309 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1310 (wack_double, wack_doublest): Return l + r to keep r live across
1311 the call.
1312 * gdb.base/store.exp: Accomodate store.c changes.
1313
b2a7f303
DC
13142003-06-30 David Carlton <carlton@kealia.com>
1315
1316 * gdb.c++/maint.exp (test_invalid_name): New.
1317 (test_first_component): Add tests for invalid names.
1318
3c6cb4a1
MC
13192003-06-29 Michael Chastain <mec@shout.net>
1320
1321 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1322 output of '<VTT for class>' for virtual base classes.
1323
f1c2644b
DJ
13242003-06-29 Daniel Jacobowitz <drow@mvista.com>
1325
1326 * gdb.base/completion.exp: Tab-complete "complet" instead of
1327 "compl".
1328 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1329
18080350
DJ
13302003-06-29 Daniel Jacobowitz <drow@mvista.com>
1331
1332 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1333 * gdb.base/volatile.exp: Likewise.
1334
f56973f8
DJ
13352003-06-29 Daniel Jacobowitz <drow@mvista.com>
1336
1337 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1338 gdb/1265.
1339
13402003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1341 Daniel Jacobowitz <drow@mvista.com>
1342
1343 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1344 initial line count of 'captured_main' from 26 to 32.
1345 (test_with_self): Allow xmalloc call to be interleaved with the
1346 preceding two lines.
1347
e766d4d6
JB
13482003-06-24 Joel Brobecker <brobecker@gnat.com>
1349
1350 * gdb.base/bang.exp: New testcase.
1351
f125c9a4
JB
13522003-06-23 Joel Brobecker <brobecker@gnat.com>
1353
1354 * gdb.base/langs.exp: Add some tests for the "minimal" language
1355 support.
1356
6e25beaf
EZ
13572003-06-23 Elena Zannoni <ezannoni@redhat.com>
1358
1359 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1360 the testcase.
1361
2f816dda
DJ
13622003-06-22 Daniel Jacobowitz <drow@mvista.com>
1363
1364 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1365 offset.
1366
db5a5748
DJ
13672003-06-22 Daniel Jacobowitz <drow@mvista.com>
1368
1369 * gdb.c++/pr-1210.cc: New file.
1370 * gdb.c++/pr-1210.exp: New file.
1371
1df0c130
DJ
13722003-06-21 Daniel Jacobowitz <drow@mvista.com>
1373
1374 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1375 000-exec-continue.
1376
a92feac0
MK
13772003-06-15 Mark Kettenis <kettenis@gnu.org>
1378
1379 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1380 on *-*-*bsd* instead of *-*-freebsd*.
1381
81a58f5b
AC
13822003-06-14 Andrew Cagney <cagney@redhat.com>
1383
1384 * gdb.base/store.exp: Test longest and doublest. Test all
1385 parameters. Weaken return statement match.
1386 * gdb.base/store.c: Add longest and doublest - aka long long and
1387 long double functions. Put all parameters into local register
1388 variables. Use negative values.
1389
b257a0d3
AC
13902003-06-14 Andrew Cagney <cagney@redhat.com>
1391
1392 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1393 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1394 exit status.
1395 * gdb.base/fileio.exp: Disable target when nointerrupts and
1396 noinferiorio, instead of limiting it to remote. Use remote_exec
1397 instead of system.
1398
21c38304
JJ
13992003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1400
1401 * gdb.base/float.exp: Add ia64 support.
1402
1bcdb424
CV
14032003-06-12 Corinna Vinschen <vinschen@redhat.com>
1404
1405 * gdb.base/fileio.exp: Run only on remote targets.
1406
6aeb981f
CV
14072003-06-10 Corinna Vinschen <vinschen@redhat.com>
1408
1409 * gdb.base/fileio.c: New file, testing File-I/O.
1410 * gdb.base/fileio.exp: Ditto.
1411
53df362e
RG
14122003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1413
1414 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1415 shared objects after relocation at load time (gdb PR/1132).
1416 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1417 as above, part of the shared object relocation test.
1418
ffee1b46
MK
14192003-06-08 Mark Kettenis <kettenis@gnu.org>
1420
b5ca3722
MK
1421 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1422 fully filled history list.
1423 * gdb.base/gdb_history: New file.
1424
03ed860d
MK
1425 * gdb.base/signals.exp: XFAIL "continue to func1" on
1426 i*86-*-freebsd*.
1427
ffee1b46
MK
1428 * gdb.base/attach.exp: When trying to attach to a nonexistent
1429 process, make it possible to specify the PID based on the target,
1430 and do so for *-*-freebsd*.
1431
d80dbb52
RH
14322003-06-02 Richard Henderson <rth@redhat.com>
1433
1434 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1435
6dd77b81
RH
14362003-06-02 Richard Henderson <rth@redhat.com>
1437
1438 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1439
f6347e16
RH
14402003-06-02 Richard Henderson <rth@redhat.com>
1441
1442 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1443
2c161407
DJ
14442003-06-01 Daniel Jacobowitz <drow@mvista.com>
1445
1446 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1447 of globalvar.
1448
572eb746
MK
14492003-06-01 Mark Kettenis <kettenis@gnu.org>
1450
1451 * gdb.asm/asm-source.exp: Check for memory read errors in
1452 disassembler test on *BSD too.
1453
9e9617a5
RH
14542003-06-01 Richard Henderson <rth@redhat.com>
1455
1456 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1457 for .frame.
1458 (gdbasm_call): Lose ldgp.
1459 (gdbasm_startup): Add frame information.
1460 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1461
7b34ad4e
MK
14622003-05-31 Mark Kettenis <kettenis@gnu.org>
1463
1464 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1465 i?86-*-*.
1466
10059fdf
MK
14672003-05-30 Mark Kettenis <kettenis@gnu.org>
1468
1469 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1470 FreeBSD.
1471
acf4b816
RH
14722003-05-29 Richard Henderson <rth@redhat.com>
1473
1474 * gdb.asm/alpha.inc: New file.
1475 * gdb.asm/asm-source.exp: Use it.
1476
e9ecd949
JB
14772003-05-29 Jim Blandy <jimb@redhat.com>
1478
1479 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1480 'core.PID'.
1481
e3e5a4f3
JB
14822003-05-22 Jim Blandy <jimb@redhat.com>
1483
1484 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1485 backtrace.
1486
72fe3d25
DC
14872003-05-20 David Carlton <carlton@math.stanford.edu>
1488
1489 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1490 this time.
1491
58da2eb2
DC
14922003-05-19 David Carlton <carlton@bactrian.org>
1493
1494 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1495 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1496
1fcb5155
DC
14972003-05-19 David Carlton <carlton@bactrian.org>
1498
1499 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1500 namespace tests.
1501 Bump copyright date.
1502 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1503 (main): Call C::D::marker2.
1504 * gdb.c++/namespace1.cc: New file.
1505
85e85163
JJ
15062003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1507
1508 Roland McGrath <roland@redhat.com>
1509 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1510 there is no manager thread.
1511
a25fbfec
JJ
15122003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1513
1514 * gdb.threads/schedlock.exp: Remove assumption that all threads
1515 will run in a particular small time slice. Also ensure we break
1516 in one of the child threads rather than the main thread.
1517
be375bae
JB
15182003-05-07 Jim Blandy <jimb@redhat.com>
1519
09bf6082
JB
1520 Add support for assembly source testing on the s390x.
1521 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1522 architecture.
1523 * gdb.asm/s390x.inc: New file.
1524
be375bae
JB
1525 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1526 succession of 'if' statements.
1527
00905d52
AC
15282003-05-05 Andrew Cagney <cagney@redhat.com>
1529
1530 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1531
b1e29e33
AC
15322003-05-05 Andrew Cagney <cagney@redhat.com>
1533
1534 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1535 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1536
e33d66ec
EZ
15372003-05-02 Elena Zannoni <ezannoni@redhat.com>
1538
1539 * gdb.base/charset.exp: Update based on new behavior of set/show
1540 charset commands.
1541
2b6fd0d8
AC
15422003-05-01 Andrew Cagney <cagney@redhat.com>
1543
1544 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1545 variable do not give memory errors.
1546
130cacce
AF
15472003-04-30 Adam Fedor <fedor@gnu.org>
1548
1549 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1550 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1551 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1552 gdb.objc/basicclass.m: : New files
1553
1554 * lib/gdb.exp (gdb_compile_objc): New procedure.
1555
bea71854
DJ
15562003-04-27 Daniel Jacobowitz <drow@mvista.com>
1557
1558 * gdb.base/signals.exp: Make backtrace tests more specific.
1559
0f20eeea
DC
15602003-04-23 David Carlton <carlton@bactrian.org>
1561
1562 * gdb.c++/maint.exp (test_first_component): Add tests for
1563 'operator' in more locations.
1564
c8c4d8dc
KB
15652003-04-16 Kevin Buettner <kevinb@redhat.com>
1566
1567 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1568
3fe60e3c
EZ
15692003-04-16 Elena Zannoni <ezannoni@redhat.com>
1570
1571 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1572 func marke' instead. Update test name.
1573
9219021c
DC
15742003-04-15 David Carlton <carlton@math.stanford.edu>
1575
1576 * gdb.c++/maint.exp: New file.
1577
5dd55bdd
EZ
15782003-04-14 Elena Zannoni <ezannoni@redhat.com>
1579
1580 * gdb.threads/schedlock.c: Change type of thread function argument
1581 to long, to avoid warnings on 64-bit platforms.
1582
00890572
EZ
15832003-04-14 Elena Zannoni <ezannoni@redhat.com>
1584
1585 * gdb.base/attach.exp: Add new message from ptrace in case of
1586 attaching to nonexistent process.
1587
93201743
JB
15882003-04-11 Jim Blandy <jimb@redhat.com>
1589
1590 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1591 gdb.c++/userdef.cc: Place comments on the lines to which the
1592 marker function might return.
1593 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1594 gdb.c++/userdef.exp: Look for those comments to check that we've
1595 returned to the right place, instead of checking line numbers.
1596
2a11c64d
EZ
15972003-04-11 Elena Zannoni <ezannoni@redhat.com>
1598
1599 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1600 match on sourcefile name, instead of directory name.
1601
68ab8fc5
EZ
16022003-04-10 Elena Zannoni <ezannoni@redhat.com>
1603
1604 * gdb.base/completion.exp: Use string_to_regexp to match the
1605 working directory name.
1606
5624293a
JB
16072003-04-09 Jim Blandy <jimb@redhat.com>
1608
1609 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1610 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1611 after an inferior function call, report the failure, but allow the
1612 test to continue.
1613
f1f02ee4
SC
16142003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1615
1616 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1617 with -DPROTOTYPES.
1618
6eb79af0
SC
16192003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1620
1621 * gdb.base/break.exp: Revert last patch.
1622
8dfb4cf0
SC
16232003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1624
1625 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1626 with -DPROTOTYPES.
1627
ed4c619a
AC
16282003-04-02 Andrew Cagney <cagney@redhat.com>
1629
1630 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1631 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1632 matching directories by the name breakpoint.
1633 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1634 Make "continue to marker1" consistent.
1635 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1636 message consistent.
1637 * lib/gdb.exp: Put "the program is no longer running", and "the
1638 program exited" in parenthesis.
1639 * lib/mi-support.exp: Ditto.
1640
4e35d5f0
BR
16412003-04-02 Bob Rossi <bob_rossi@cox.net>
1642
1643 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1644
71900fe8
AC
16452003-03-29 Andrew Cagney <cagney@redhat.com>
1646
1647 * gdb.base/sizeof.c (main): Print the value of '\377'.
1648 * gdb.base/sizeof.exp: Check the sign of '\377'.
1649
c0655a16
MC
16502003-03-27 Michael Chastain <mec@shout.net>
1651
1652 * gdb.base/gdb1090.exp: New file.
1653 * gdb.base/gdb1090.cc: New file.
1654
5b2a3989
JB
16552003-03-27 J. Brobecker <brobecker@gnat.com>
1656
1657 * gdb.gdb/observer.exp: New regression test.
1658
79876890
MC
16592003-03-27 Michael Chastain <mec@shout.net>
1660
1661 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1662 * gdb.base/ptype.exp: Likewise.
1663
6eac95e3
CV
16642003-03-27 Corinna Vinschen <vinschen@redhat.com>
1665
1666 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1667
e8c71839
MC
16682003-03-26 Michael Chastain <mec@shout.net>
1669
1670 * gdb.base/ptype.exp: Actually use some typedef'd types.
1671
71b10041
SC
16722003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1673
1674 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1675 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1676
2512cf80
CV
16772003-03-20 Corinna Vinschen <vinschen@redhat.com>
1678
1679 * gdb.base/default.exp: Fix regular expression.
1680
0d195a4f
CV
16812003-03-20 Corinna Vinschen <vinschen@redhat.com>
1682
1683 * gdb.base/args.exp: Fix regular expression.
1684
8a2dbca8
CV
16852003-03-20 Corinna Vinschen <vinschen@redhat.com>
1686
1687 * gdb.base/help.exp: Allow Win32 child process.
1688
bf028682
CV
16892003-03-20 Corinna Vinschen <vinschen@redhat.com>
1690
1691 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1692 when stepping out of main().
1693
182dbe85
CV
16942003-03-20 Corinna Vinschen <vinschen@redhat.com>
1695
1696 * gdb.base/default.exp: Check for win32 specific message when calling
1697 "run" without executable.
1698
d67a6ba5
CV
16992003-03-20 Corinna Vinschen <vinschen@redhat.com>
1700
1701 * gdb.base/args.exp: Expect .exe in output.
1702
a955b5bb
CV
17032003-03-20 Corinna Vinschen <vinschen@redhat.com>
1704
1705 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1706 Cygwin native.
1707
bf6bad4b
AC
17082003-03-17 Andrew Cagney <cagney@redhat.com>
1709
1710 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1711 vector registes.
1712 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1713 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1714
293e9a31
DC
17152003-03-17 David Carlton <carlton@math.stanford.edu>
1716
1717 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1718 test, for PR breakpoints/38.
1719 Call test_watchpoint_and_breakpoint.
1720 * gdb.base/watchpoint.c (func3): New function.
1721 (main): Call func3.
1722
5330f2db
DC
17232003-03-04 David Carlton <carlton@math.stanford.edu>
1724
1725 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1726 Garply<Garply<char> >:: garply".
1727 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1728 with respect to PR c++/1111; note also PR c++/1113.
1729 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1730 respect to PR c++/1062.
1731 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1732
6ece72da
DC
17332003-03-03 David Carlton <carlton@math.stanford.edu>
1734
1735 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1736 with respect to PR c++/57.
1737 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1738 c++/826.
1739 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1740 respect to PR c++/57.
1741
85ca1584
DC
17422003-03-03 David Carlton <carlton@math.stanford.edu>
1743
1744 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1745 respect to PR c++/33 into FAILs.
1746
98e9c5b8
MC
17472003-03-03 Michael Chastain <mec@shout.net>
1748
7bedbf27
MC
1749 * configure.in: Update copyright years.
1750
17512003-03-03 Michael Chastain <mec@shout.net>
1752
1753 * Makefile.in: Update copyright years.
98e9c5b8 1754
f683e100
DC
17552003-02-28 David Carlton <carlton@math.stanford.edu>
1756
1757 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1758 print class instead of struct and/or superfluous protection
1759 specifiers, as long as the resulting output is equivalent to the
1760 source code.
1761 Delete FIXME from end of messages on tests that don't need
1762 fixing.
1763
a9e0cf2c
DC
17642003-02-28 David Carlton <carlton@math.stanford.edu>
1765
1766 * gdb.c++/templates.exp (do_tests): Allow const in the two
1767 Foo<volatile char *>::foo tests.
1768
e8d359df
MS
17692003-02-27 Michael Snyder <msnyder@redhat.com>
1770
1771 * gdb.base/restore.c (main): Return zero, so exit code
1772 will be consistant.
1773
0b71dc91
DC
17742003-02-26 David Carlton <carlton@math.stanford.edu>
1775
1776 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1777 char *>::foo" test with respect to PR c++/33. Create a new test
1778 which is identical to that one except that it doesn't put the
1779 space between the "char" and the "*"; KFAIL it, too.
1780
dd14ab43
DC
17812003-02-26 David Carlton <carlton@math.stanford.edu>
1782
1783 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1784 template types into either PASSes or KFAILs (corresponding to PR
1785 c++/57). Tweak indentation. Update copyright.
1786
1146c7f1
SC
17872003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1788
1789 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1790
74641dfb
MC
17912003-02-13 Michael Chastain <mec@shout.net>
1792
1793 * gdb.base/exprs.exp: Remove i960 remnants.
1794 * gdb.base/funcargs.exp: Likewise.
1795 * gdb.base/list.exp: Likewise.
1796 * gdb.base/ptype.exp: Likewise.
1797
559cd2d0
DC
17982003-02-14 David Carlton <carlton@math.stanford.edu>
1799
1800 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1801 pEe->D::vg()" from XFAIL to KFAIL.
1802
c4f90d87
JM
18032003-02-13 Jason Molenda (jmolenda@apple.com)
1804
1805 * gdb.base/maint.exp: Update maint print statistics regexp to include
1806 new entries.
1807
cbc4d97c
MC
18082003-02-13 Michael Chastain <mec@shout.net>
1809
1810 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1811
40f235b7
MC
18122003-02-12 Michael Chastain <mec@shout.net>
1813
1814 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1815 * gdb.c++/inherit.exp: Likewise.
1816 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1817 * gdb.c++/templates.exp: Likewise.
1818 * gdb.c++/virtfunc.exp: Likewise.
1819
c56716b0
JM
18202003-02-06 Jason Molenda (jason-cl@molenda.com)
1821
1822 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1823 why the code is written that way.
1824
070afcf8
MC
18252003-02-05 Michael Chastain <mec@shout.net>
1826
1827 * gdb.base/dump.exp: Add missing copyright line.
1828
5d0331e5
JM
18292003-02-05 Jason Molenda (jason-cl@molenda.com)
1830
f7ae6d3e 1831 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1832 at the beginning so the breakpoint doesn't get set on the loop.
1833
92851186
MC
18342003-02-05 Michael Chastain <mec@shout.net>
1835
1836 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1837 output for configurations with gcc 2.95.3.
1838
cbf1e085
AC
18392003-02-05 Keith Seitz <keiths@redhat.com>
1840 Andrew Cagney <ac131313@redhat.com>
1841
1842 * gdb.mi/mi-cli.exp: New file.
1843
29518e1e
MC
18442003-02-04 Michael Chastain <mec@shout.net>
1845
1846 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1847 Call perror and then continue.
1848
5af1d5f3
MC
18492003-02-03 Michael Chastain <mec@shout.net>
1850
1851 * gdb.c++/pr-1023.cc: New file.
1852 * gdb.c++/pr-1023.exp: New file.
1853
6b549786
JB
18542003-02-05 Jim Blandy <jimb@redhat.com>
1855
1856 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1857 it's local to foobar. Check for it there, and check that it's not
1858 present in main.
1859 * gdb.c++/local.cc (marker2): New function.
1860 (foobar): Call marker1.
1861 (main): Call marker2 instead of marker1.
1862
67f16606
AC
18632003-02-04 Andrew Cagney <ac131313@redhat.com>
1864
1865 * gdb.disasm/mn10200.exp: Obsolete file.
1866 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1867 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1868 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1869
1c5cb38e
DC
18702003-02-04 David Carlton <carlton@math.stanford.edu>
1871
1872 * gdb.c++/overload.exp: Test intToChar(1).
1873 * gdb.c++/overload.cc (intToChar): New.
1874 (main): Call intToChar.
1875
d1fe6965
DC
18762003-02-03 David Carlton <carlton@math.stanford.edu>
1877
1878 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1879 'might_kfail' arg.
1880 KFAIL some of the continue_to_bp_overloaded calls, according to
1881 PR c++/1025.
1882
9ba61c5d
MC
18832003-02-01 Michael Chastain <mec@shout.net>
1884
1885 * gdb.base/advance.c (marker1): New marker function.
1886 * gdb.base/advance.exp: When the 'advance' command lands on the
1887 return breakpoint, it can legitimately stop on either the
1888 current line or the next line. Accommodate both outcomes.
1889 * gdb.base/until.exp: Likewise.
1890
e7494ffb
AC
18912003-02-02 Andrew Cagney <ac131313@redhat.com>
1892
1893 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1894 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1895 now a list, not a tuple.
1896 * gdb.mi/mi-var-display.exp: Ditto.
1897 * gdb.mi/gdb792.exp: Ditto.
1898
075559bc
AC
18992003-02-01 Andrew Cagney <ac131313@redhat.com>
1900
1901 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1902 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1903 stack backtraces.
1904 * gdb.mi/mi-syn-frame.c: Part of same.
1905
2bd4c7b1
MK
19062003-02-01 Mark Kettenis <kettenis@gnu.org>
1907
1908 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1909 gdb.mi/mi1-pthreads.exp: Return instead of calling
1910 gdb_suppress_entire_file.
1911
eabd8992
MS
19122003-02-01 Mark Salter <msalter@redhat.com>
1913
1914 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1915
71469e2f
MS
19162003-01-31 Mark Salter <msalter@redhat.com>
1917
1918 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1919 Support empty arg.
1920
38a94d44
MC
19212003-01-30 Michael Chastain <mec@shout.net>
1922
1923 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1924 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1925 has been fixed in gdb/readline on 2003-01-09.
1926
19ea9e73
MS
19272003-01-29 Michael Snyder <msnyder@redhat.com>
1928
e8d359df
MS
1929 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1930 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1931 * gdb.base/args.exp: Skip if target does not support args passing.
1932
2307bd6a
DJ
19332003-01-22 Daniel Jacobowitz <drow@mvista.com>
1934
19ea9e73 1935 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1936 gdb_test. Accept a list of expect arguments as the third
1937 parameter.
1938 (gdb_test): Use it.
1939
f2dd3617
EZ
19402003-01-20 Elena Zannoni <ezannoni@redhat.com>
1941
1942 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1943 allow for different test tree configurations. Update some
1944 tescases accordingly.
1945 * gdb.arch/altivec-regs.exp: Ditto.
1946 * gdb.asm/asm-source.exp: Ditto.
1947 * gdb.base/advance.exp: Ditto.
1948 * gdb.base/display.exp: Ditto.
1949 * gdb.base/long_long.exp: Ditto.
1950 * gdb.base/mips_pro.exp: Ditto.
1951 * gdb.base/overlays.exp: Ditto.
1952 * gdb.base/relocate.exp: Ditto.
1953 * gdb.base/setshow.exp: Ditto.
1954 * gdb.base/step-line.exp: Ditto.
1955 * gdb.base/step-test.exp: Ditto.
1956 * gdb.base/until.exp: Ditto.
1957 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1958
c71cdefd
DC
19592003-01-17 David Carlton <carlton@math.stanford.edu>
1960
1961 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1962 corresponding to PR c++/945.
1963 Update copyright.
1964
fdba05d7
DC
19652003-01-17 David Carlton <carlton@math.stanford.edu>
1966
1967 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1968 corresponding to PR c++/68.
1969
19702003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1971
1972 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1973 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1974 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1975
c362c33a
EZ
19762003-01-15 Elena Zannoni <ezannoni@redhat.com>
1977
0fbc361c
EZ
1978 * gdb.base/break.exp: Fix change of default location, because of
1979 removal of until tests.
1980 * gdb.base/help.exp: Update test for new 'until' help message.
1981 Add test for help on 'advance'.
c362c33a
EZ
1982 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1983
dabf8a35
MK
19842003-01-15 Mark Kettenis <kettenis@gnu.org>
1985
1986 * gdb.base/default.exp: Adapt "info float" test for recent changes
1987 to that command. Add test for "info vector".
1988 * gdb.base/float.exp: New file. Add test for "info float" that
1989 resembles the old test in gdb.base/default.exp.
1990
a1769aca
DC
19912003-01-15 David Carlton <carlton@math.stanford.edu>
1992
1993 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1994
82025e13
EZ
19952003-01-15 Elena Zannoni <ezannoni@redhat.com>
1996
1997 * gdb.base/break.exp: Move the tests of until command from here...
1998 * gdb.base/until.exp: ... to here. New file. Add other tests.
1999 * gdb.base/advance.c: New file.
2000 * gdb.base/advance.exp: New file.
2001
8f9ab801
EZ
20022003-01-14 Elena Zannoni <ezannoni@redhat.com>
2003
2004 * gdb.base/args.c: New file.
2005 * gdb.base/args.exp: New file.
2006
9ae66589
DJ
20072003-01-14 Daniel Jacobowitz <drow@mvista.com>
2008
2009 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2010
8d77e5c3
DJ
20112003-01-14 Daniel Jacobowitz <drow@mvista.com>
2012
2013 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2014
12d2f0a1
DJ
20152003-01-14 Daniel Jacobowitz <drow@mvista.com>
2016
2017 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2018 dates.
2019
6ca37014
DJ
20202003-01-13 Daniel Jacobowitz <drow@mvista.com>
2021
2022 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2023
b0023472
DJ
20242003-01-13 Daniel Jacobowitz <drow@mvista.com>
2025
2026 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2027 (ptype &*"foo").
2028 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2029
d6abaea5
DJ
20302002-01-13 Daniel Jacobowitz <drow@mvista.com>
2031
2032 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2033 * gdb.mi/mi1-console.exp: Likewise.
2034
dfd536a7
DJ
20352002-01-13 Daniel Jacobowitz <drow@mvista.com>
2036
2037 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2038 * gdb.mi/mi1-console.exp: Likewise.
2039
a1fb14a2
DJ
20402003-01-13 Daniel Jacobowitz <drow@mvista.com>
2041
2042 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2043
c4cf40b7
DJ
20442003-01-09 Daniel Jacobowitz <drow@mvista.com>
2045
2046 * gdb.base/detach.exp: New test.
2047
696d5a5b
DJ
20482003-01-09 Daniel Jacobowitz <drow@mvista.com>
2049
2050 * Makefile.in (ALL_SUBDIRS): New variable.
2051 (subdirs, clean, distclean): Use it.
2052 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2053 regenerating Makefile, since it is generated from the top level.
2054 * gdb.asm/Makefile.in: Likewise.
2055 * gdb.base/Makefile.in: Likewise.
2056 * gdb.c++/Makefile.in: Likewise.
2057 * gdb.disasm/Makefile.in: Likewise.
2058 * gdb.java/Makefile.in: Likewise.
2059 * gdb.mi/Makefile.in: Likewise.
2060 * gdb.threads/Makefile.in: Likewise.
2061 * gdb.trace/Makefile.in: Likewise.
2062
754533e4
DC
20632003-01-09 David Carlton <carlton@math.stanford.edu>
2064
2065 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2066 Add copyright year 2003.
2067
d8b3e9ee
MC
20682003-01-06 Michael Chastain <mec@shout.net>
2069
2070 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2071 When selecting a thread, 'line' and 'file' are optional.
2072 * gdb.mi/mi1-pthreads.exp: Likewise.
2073
8e9e0fe6
AS
20742003-01-06 Andreas Schwab <schwab@suse.de>
2075
2076 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2077 failures.
2078
b5ab8ff3
DJ
20792003-01-04 Daniel Jacobowitz <drow@mvista.com>
2080
2081 Fix PR gdb/844
2082 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2083 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2084
2085 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2086 instead of calling gdb_suppress_entire_file.
2087 * gdb.threads/print-threads.exp: Likewise.
2088 * gdb.threads/schedlock.exp: Likewise.
2089
2090 * gdb.threads/killed.exp: Return instead of calling
2091 gdb_suppress_entire_file.
2092 * gdb.threads/linux-dp.exp: Likewise.
2093 * gdb.threads/pthreads.exp: Likewise.
2094
1e698235
DJ
20952003-01-04 Daniel Jacobowitz <drow@mvista.com>
2096
2097 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2098 stabs.
2099 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2100 * gdb.base/whatis.exp: Always allow (void) after function names.
2101
147ff08c
DJ
21022003-01-04 Daniel Jacobowitz <drow@mvista.com>
2103
2104 * gdb.c++/casts.exp: Correct regexp.
2105
dc62bfc2
MK
21062003-01-04 Mark Kettenis <kettenis@gnu.org>
2107
2108 * configure.in: Call AC_CONFIG_HEADER. Don't call
2109 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2110 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2111 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2112 aforementioned directories in the AC_OUPUT call.
2113 * config.hin: New file.
2114 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2115 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2116 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2117 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2118 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2119 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2120 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2121 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2122 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2123 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2124 gdb.threads/configure.in, gdb.threads/configure,
2125 gdb.threads/config.in, gdb.trace/configure.in,
2126 gdb.trace/configure: Removed.
2127
77afa639
MC
21282003-01-03 Michael Chastain <mec@shout.net>
2129
2130 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2131 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2132
7634bb6e
DJ
21332003-01-03 Daniel Jacobowitz <drow@mvista.com>
2134
2135 * gdb.base/store.exp: Fix regular expressions.
2136
b39c905e
MK
21372002-12-28 Mark Kettenis <kettenis@gnu.org>
2138
2139 * configure.in: Rewrite.
2140 * configure: Regenerated.
2141
0a8551dd
DC
21422003-01-03 David Carlton <carlton@math.stanford.edu>
2143
2144 * gdb.base/psymtab.exp: New file.
2145 * gdb.base/psymtab1.c: Ditto.
2146 * gdb.base/psymtab2.c: Ditto.
2147
c60b7188
AF
21482002-12-23 Adam Fedor <fedor@gnu.org>
2149
2150 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2151
ee73db83
DC
21522002-12-23 David Carlton <carlton@math.stanford.edu>
2153
2154 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2155 and current_directory initialization.
2156
d6c1774e
JB
21572002-12-22 Jim Blandy <jimb@redhat.com>
2158
f0a847b8
JB
2159 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2160 rather than as part of the output file name.
2161
d6c1774e
JB
2162 * gdb.base/attach.exp: There's no need to copy the test program to
2163 /tmp; that was only ever necessary on HP/UX, and this test is
2164 entirely disabled there anyway.
2165
f0708dbb
JB
21662002-12-21 Jim Blandy <jimb@redhat.com>
2167
4c2acfea
JB
2168 * gdb.c++/psmang.exp: Doc fix.
2169
f0708dbb
JB
2170 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2171 test.
2172
9579e000
DC
21732002-12-20 David Carlton <carlton@math.stanford.edu>
2174
2175 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2176
d1810171
MC
21772002-12-18 Michael Chastain <mec@shout.net>
2178
2179 * gdb.c++/annota2.exp: Add copyright year 2002.
2180
76565097
DC
21812002-12-17 David Carlton <carlton@math.stanford.edu>
2182
2183 * gdb.c++/try_catch.cc: Add marker comments.
2184 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2185 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2186 * gdb.c++/m-static.cc: Ditto.
2187 * gdb.c++/m-static1.cc: Ditto.
2188 * gdb.c++/try_catch.cc: Ditto.
2189
da81390b
JJ
21902002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2191
2192 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2193 to see whether we are using the new -environment-directory
2194 command which resets via -r or the old version of the command
2195 which may prompt the user. Part of fix for gdb/741.
2196
b304d130
AC
21972002-12-13 Andrew Cagney <ac131313@redhat.com>
2198
2199 * gdb.fortran/types.exp: Update obsolete comment.
2200 * gdb.fortran/exprs.exp: Ditto.
2201 * lib/gdb.exp: Delete obsolete code.
2202 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2203 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2204 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2205 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2206 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2207 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2208 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2209 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2210 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2211 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2212 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2213 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2214 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2215 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2216 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2217 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2218 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2219 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2220 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2221 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2222 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2223 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2224 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2225 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2226 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2227 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2228 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2229 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2230 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2231 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2232 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2233 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2234 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2235 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2236 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2237 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2238 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2239
a23b6e6a
DC
22402002-12-11 David Carlton <carlton@math.stanford.edu>
2241
2242 * gdb.c++/m-data.exp: Add test for members that shadow global
2243 variables: see PR gdb/804.
2244 * gdb.c++/m-data.cc: Ditto.
2245
6604731b
DJ
22462002-12-10 Daniel Jacobowitz <drow@mvista.com>
2247
2248 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2249
de46ecd7
DC
22502002-12-06 David Carlton <carlton@math.stanford.edu>
2251
2252 * gdb.base/store.c: Don't declare functions static.
2253
27e829d0
AC
22542002-12-04 Andrew Cagney <ac131313@redhat.com>
2255
2256 * gdb.base/store.exp, gdb.base/store.c: New files.
2257
92806416
DJ
22582002-12-03 Daniel Jacobowitz <drow@mvista.com>
2259
2260 * gdb.base/selftest.exp: Update for current gdb.
2261
3bcbaac5
DJ
22622002-12-03 Daniel Jacobowitz <drow@mvista.com>
2263
2264 * gdb.base/maint.exp: Only dump symbols from one source file
2265 or objfile.
2266
f4f00b1f
DJ
22672002-12-03 Daniel Jacobowitz <drow@mvista.com>
2268
2269 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2270 function call.
2271
f1c8a949
JB
22722002-11-25 Jim Blandy <jimb@redhat.com>
2273
2274 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2275 function appearing in error message.
2276
9e297a97
DJ
22772002-11-21 Daniel Jacobowitz <drow@mvista.com>
2278
2279 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2280
1f312e79
JJ
22812002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2282
2283 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2284 for mi1 and current mi is in correct format. New mi startup message
2285 should be in mi console format. This is part of fix for PR gdb/604.
2286
83c31e7d
FN
22872002-09-18 Fernando Nasser <fnasser@redhat.com>
2288
2289 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2290 which explicitly prints the zero offset as "+0".
2291
322b3f65
DJ
22922002-10-22 Daniel Jacobowitz <drow@mvista.com>
2293
2294 * gdb.threads/schedlock.c (args): Make unsigned.
2295
22962002-10-21 Daniel Jacobowitz <drow@mvista.com>
2297
2298 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2299 numbers. Allow "foo2|selected stack frame".
2300 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2301 * gdb.asm/asmsrc2.s: Likewise.
2302 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2303 comments.
2304 * gdb.asm/mips.inc: New file.
2305
5e2fe5b8
AF
23062002-10-18 Adam Fedor <fedor@gnu.org>
2307
2308 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2309 * gdb.base/help.exp: Likewise.
2310
abe1a5d0
KB
23112002-10-17 Kevin Buettner <kevinb@redhat.com>
2312
2313 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2314 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2315
10abb1d4
JB
23162002-10-02 Jim Blandy <jimb@redhat.com>
2317
2318 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2319
1f609b42
AC
23202002-10-01 Andrew Cagney <ac131313@redhat.com>
2321
2322 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2323 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2324 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2325 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2326 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2327 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2328 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2329
0aee02e4
AC
23302002-09-29 Andrew Cagney <ac131313@redhat.com>
2331
2332 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2333 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2334 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2335 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2336 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2337 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2338 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2339
6fde09ad
KB
23402002-09-27 Kevin Buettner <kevinb@redhat.com>
2341
2342 * gdb.base/annota1.exp (info break): Make directory components of
2343 path optional since not all compilers emit this debug information.
2344
2345 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2346 step ends up stepping out of the function instead of stopping on
2347 the epilogue.
2348
9e8aab75
KS
23492002-09-26 Keith Seitz <keiths@redhat.com>
2350
2351 * lib/insight-support.exp (gdbtk_start): Figure out where
2352 the insight executable is based on where gdb is. Use this
2353 executable to start insight instead of gdb.
2354
e36180d7
AC
23552002-09-25 Andrew Cagney <cagney@redhat.com>
2356
2357 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2358
9dd34b2b
AC
23592002-09-24 Andrew Cagney <ac131313@redhat.com>
2360
2361 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2362 test_isolated_complaints.
2363 (test_empty_complaint): New function.
2364 (test_empty_complaints): New function. Check no output when no
2365 complaints.
2366
dea97812
KB
23672002-09-19 Jim Blandy <jimb@redhat.com>
2368
2369 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2370
54951bd7
AC
23712002-09-19 Andrew Cagney <ac131313@redhat.com>
2372
2373 * gdb.gdb/complaints.exp: New file.
2374
dec43320
AC
23752002-09-18 Andrew Cagney <ac131313@redhat.com>
2376
2377 * gdb.base/maint.exp: Check `help maint internal-warning'.
2378
e70d6e3f
DC
23792002-09-18 David Carlton <carlton@math.stanford.edu>
2380
2381 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2382 numbers, and replace them by a single breakpoint after the
2383 constructors are all finished.
2384 Add test 4.
2385 * gdb.c++/m-static.cc: Add test 4.
2386 * gdb.c++/m-static.h: New file.
2387 * gdb.c++/m-static1.cc: New file.
2388
2389 * gdb.c++/printmethod.exp: New file.
2390 * gdb.c++/printmethod.cc: New file.
2391
2392 * gdb.c++/pr-574.exp: New file.
2393 * gdb.c++/pr-574.cc: New file.
2394
afb5c968
CV
23952002-09-18 Corinna Vinschen <vinschen@redhat.com>
2396
2397 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2398 embedded targets which never actually exit.
2399
31e45dee
FN
24002002-09-18 Fernando Nasser <fnasser@redhat.com>
2401
2402 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2403 "don't step after run" as unresolved or unsupported, instead of xfail.
2404
a283c5a1
CV
24052002-09-18 Corinna Vinschen <vinschen@redhat.com>
2406
2407 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2408 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2409 Add newline to expected string in "step out of main (status wrapper)"
2410 case.
2411
11350d2a
CV
24122002-09-18 Corinna Vinschen <vinschen@redhat.com>
2413
2414 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2415 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2416
0deec7d6
TT
24172002-09-17 Tom Tromey <tromey@redhat.com>
2418
2419 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2420 \000, not \0, in double-quoted string.
2421
b2b4a1b5
CV
24222002-09-14 Corinna Vinschen <vinschen@redhat.com>
2423
c9d37158 2424 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2425 string after running the commands execution on breakpoint tests.
2426
1c56143a
CV
24272002-09-13 Corinna Vinschen <vinschen@redhat.com>
2428
2429 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2430
37f8da45
JB
24312002-09-12 Joel Brobecker <brobecker@gnat.com>
2432
2433 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2434
08b468e0
KS
24352002-09-10 Keith Seitz <keiths@redhat.com>
2436
2437 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2438 runto proc.
2439 (mi_run_to_main): Use mi_runto.
2440 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2441
dc360f58
KS
24422002-09-10 Keith Seitz <keiths@redhat.com>
2443
2444 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2445 regexp for stopping at main. Could have multiple event notifications.
2446 Don't assume that main was declared with no parameters.
2447 (mi_next): Use mi_step_to.
2448 (mi_step): Use mi_next_to.
2449
ce3abcfb
CV
24502002-09-09 Corinna Vinschen <vinschen@redhat.com>
2451
2452 * gdb.base/default.exp: Fix expected string in `info float' test.
2453
d1f5b980
BE
24542002-09-09 Ben Elliston <bje@redhat.com>
2455
2456 * config/mips.exp: Update comments.
2457 * config/mips-idt.exp: Likewise.
2458 * config/nind.exp: Likewise.
2459 * config/slite.exp: Likewise.
2460 * config/sparclet.exp: Likewise.
2461 * config/udi.exp: Likewise.
2462 * config/vx.exp: Likewise.
2463 * config/vxworks29k.exp: Likewise.
2464
2f71430b
JB
24652002-09-05 Jim Blandy <jimb@redhat.com>
2466
2467 * gdb.threads/killed.exp: Fix test failure message.
2468
7ddebc7e
KS
24692002-09-04 Keith Seitz <keiths@redhat.com>
2470
2471 * lib/mi-support.exp: Update copyright.
2472 (mi_gdb_test): Increase the priority of the expected pattern
2473 so that it matches gdb_test.
2474
0ae67eb3
KS
24752002-09-03 Keith Seitz <keiths@redhat.com>
2476
2477 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2478 Use integer comparison instead of string comparison for testing
2479 whether binary was built.
2480
38fc42c8
JB
24812002-09-03 Jim Blandy <jimb@redhat.com>
2482
2483 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2484
b6ff0e81
JB
24852002-08-29 Jim Blandy <jimb@redhat.com>
2486
2487 * gdb.threads/pthreads.exp: Move the portable thread compilation
2488 code into a function in lib/gdb.exp, and call that from here.
2489 * lib/gdb.exp (gdb_compile_pthreads): New function.
2490
07c98896
KS
24912002-08-29 Keith Seitz <keiths@redhat.com>
2492
2493 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2494 expect_out so that callers can get at it.
2495
0312286c
DJ
24962002-08-23 Daniel Jacobowitz <drow@mvista.com>
2497
2498 * gdb.threads/print-threads.c: New file.
2499 * gdb.threads/print-threads.exp: New file.
2500 * gdb.threads/schedlock.c: New file.
2501 * gdb.threads/schedlock.exp: New file.
2502
dd039bc4
EZ
25032002-08-22 Elena Zannoni <ezannoni@redhat.com>
2504
2505 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2506 not altivec.c.
2507
1f36144c
MK
25082002-08-17 Mark Kettenis <kettenis@gnu.org>
2509
2510 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2511 targets. The problem should be fixed now.
2512
16057ec7 25132002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2514
2515 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2516 2002-07-24 change that removes final dots from error messages.
2517
3c1499ad
TT
25182002-08-13 Tom Tromey <tromey@redhat.com>
2519
2520 * gdb.base/readline.exp: New file.
2521
a20ce2c3
AC
25222002-08-01 Andrew Cagney <ac131313@redhat.com>
2523
2524 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2525 supress message.
2526
db034ac5
AC
25272002-08-01 Andrew Cagney <cagney@redhat.com>
2528
2529 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2530 CHILL_FOR_TARGET and CHILL_LIB.
2531 * configure.in (configdirs): Remove gdb.chill.
2532 * configure: Regenerate.
2533 * lib/gdb.exp: Obsolete references to chill.
2534 * gdb.fortran/types.exp: Ditto.
2535 * gdb.fortran/exprs.exp: Ditto.
2536
3e000b18
KB
25372002-07-30 Kevin Buettner <kevinb@redhat.com>
2538
2539 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2540 set Irix-specific compile and link flags.
2541
28f4966b
KB
25422002-07-29 Kevin Buettner <kevinb@redhat.com>
2543
2544 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2545 source files. The ``-o'' option doesn't work with the ``-E'' option
2546 when using the Irix compiler.
2547
46c0d5a6
DJ
25482002-07-19 Daniel Jacobowitz <drow@mvista.com>
2549
2550 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2551 Improve support for reusing an exec file. Copy exec file
2552 to target, and run gdbserver on the target instead of on the host.
2553
eecf4bed
JB
25542002-07-18 Jim Blandy <jimb@redhat.com>
2555
0f815cdf
JB
2556 * gdb.base/ending-run.exp: Don't expect to see the program end in
2557 some orderly fashion when we're running on a real stand-alone
2558 board.
2559
eecf4bed
JB
2560 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2561 targets that don't support interrupts.
2562
52d309e4
JB
25632002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2564
2565 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2566 systems.
2567 Move comments in expect statements to inside the actions, so that they
2568 don't get matched against.
2569
ff683d9e
MK
25702002-07-10 Mark Kettenis <kettenis@gnu.org>
2571
2572 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2573 function when asleep" test.
2574
b5356753
AC
25752002-07-10 Andrew Cagney <ac131313@redhat.com>
2576
2577 * gdb.base/page.exp: Rewrite to handle problems with very long
2578 `info set' output. Update copyright.
2579
6aa4d13a
AC
25802002-06-26 Andrew Cagney <ac131313@redhat.com>
2581
2582 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2583 gdb.threads-hp.
2584 * gdb.hp/configure: Regenerate.
2585 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2586 * gdb.hp/gdb.threads-hp/configure: Delete file.
2587 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2588
8cf8c2b8
AC
25892002-06-22 Andrew Cagney <ac131313@redhat.com>
2590
2591 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2592 setlocale, bindtextdomain and textdomain.
2593
6827a8f8
JB
25942002-06-11 Jim Blandy <jimb@redhat.com>
2595
919d772c
JB
2596 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2597 preprocessor macro information is present.
2598
6827a8f8
JB
2599 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2600 tests.
2601
c15b0d21
MS
26022002-06-06 Michael Snyder <msnyder@redhat.com>
2603
c5984d70
MS
2604 * gdb.base/overlays.exp: Record addresses of overlay
2605 functions in TCL variables rather than in GDB variables,
2606 to avoid having GDB convert them to pointers (with loss
2607 of information).
2608
99a8512b
MS
2609 * gdb.base/d10v.ld: Merge in several years worth of
2610 default linker script changes.
c15b0d21
MS
2611 * gdb.base/long_long.exp: Add check for sizeof (long double).
2612
be26fe0d
ML
26132002-06-06 Michal Ludvig <mludvig@suse.cz>
2614
2615 * gdb.asm/asm-source.exp: Add x86-64 target.
2616 * gdb.asm/x86_64.inc: New.
2617
258093ca 26182002-05-30 Michael Chastain <mec@shout.net>
258093ca 2619
4b3153f1 2620 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2621 * gdb.c++/m-static.cc: New file.
2622 * gdb.c++/m-static.exp: New file.
2623
241264c6
MS
26242002-05-28 Michael Snyder <msnyder@redhat.com>
2625
2626 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2627 precision.
2628
9bba8c8f 26292002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2630
4b3153f1 2631 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2632 * gdb.c++/m-data.cc: New file.
2633 * gdb.c++/m-data.exp: New file.
2634
26352002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2636
4b3153f1 2637 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
2638 * gdb.c++/try_catch.cc: New file.
2639 * gdb.c++/try_catch.exp: New file.
2640
def1b996
MC
26412002-05-27 Michael Chastain <mec@shout.net>
2642
2643 * gdb.c++/local.exp: Accept more nested types in output.
2644
522ba268
MC
26452002-05-26 Michael Chastain <mec@shout.net>
2646
2647 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2648
277254ba
MS
26492002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2650
2651 * lib/gdb.exp (gdb_wrapper_init): Just because
2652 gdb_wrapper_file exists, this does not mean that the file
2653 should not be rebuilt. That is what gdb_wrapper_initialized
2654 is for.
2655 (default_gdb_init): Reset gdb_wrapper_initialized.
2656
b61a8733
MS
26572002-05-23 Michael Snyder <msnyder@redhat.com>
2658
5bdb6d01
MS
2659 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2660 the precision of the floating point test results.
2661 * gdb.base/call-rt-st.exp: Ditto.
2662
b61a8733
MS
2663 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2664 * gdb.base/call-rt-st.exp: Ditto.
2665
56f6e910
MC
26662002-05-19 Michael Chastain <mec@shout.net>
2667
2668 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2669
ad0b0016
EZ
26702002-05-19 Elena Zannoni <ezannoni@redhat.com>
2671
2672 * configure.in (configdirs): Add gdb.arch.
2673 * configure: Regenerate.
2674
f617d2b6
JB
26752002-05-17 Jim Blandy <jimb@redhat.com>
2676
2677 * gdb.base/completion.exp: Recognize the more detailed error
2678 messages produced by the macro expander's lexical analyzer.
2679
eac2a696
EZ
26802002-05-14 Elena Zannoni <ezannoni@redhat.com>
2681
2682 * gdb.arch/altivec-abi.c: New file.
2683 * gdb.arch/altivec-abi.exp: New file.
2684 * gdb.arch/altivec-regs.c: New file.
2685 * gdb.arch/altivec-regs.exp: New file.
2686
2fdde8f8
DJ
26872002-05-14 Daniel Jacobowitz <drow@mvista.com>
2688
2689 * gdb.base/maint.exp (maint print type): Update for new type
2690 structure.
eac2a696 2691
e31f1a7c
EZ
26922002-05-14 Elena Zannoni <ezannoni@redhat.com>
2693
2694 * gdb.arch: New directory.
2695 * gdb.arch/configure.in: New file.
2696 * gdb.arch/configure: New file.
2697 * gdb.arch/Makefile.in: New file.
2698
db589741
CV
26992002-05-13 Corinna Vinschen <vinschen@redhat.com>
2700
2701 * gdb.asm/asm-source.exp: Add v850 as supported target.
2702 * gdb.asm/v850.inc: New file.
2703
8ce2a7dc
DJ
27042002-05-13 Daniel Jacobowitz <drow@mvista.com>
2705
2706 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2707
df763c7f
DJ
27082002-05-12 Daniel Jacobowitz <drow@mvista.com>
2709
2710 * gdb.base/break.exp: Check 'break "marker2"'.
2711
377daeed
MS
27122002-05-10 Michael Snyder <msnyder@redhat.com>
2713
2714 * gdb.base/long_long.exp: Fix typo.
2715
c4b7bc2b
JB
27162002-05-10 Jim Blandy <jimb@redhat.com>
2717
ecac9a4e
JB
2718 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2719 a bug.
2720
c4b7bc2b
JB
2721 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2722 Recognize more detailed error message produced by the macro
2723 expander's lexical analyzer.
2724 * lib/gdb.exp (test_print_reject): Same.
2725
e71019a1
MK
27262002-05-09 Mark Kettenis <kettenis@gnu.org>
2727
2728 * gdb.c++/method.exp: Fix typo.
2729
fedfc8e6
MS
27302002-05-08 Michael Snyder <msnyder@redhat.com>
2731
166a1957
MS
2732 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2733 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2734 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2735 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2736 Add iftarget clause for strongarm.
2737
f1c47eb2
MS
27382002-05-06 Michael Snyder <msnyder@redhat.com>
2739
cb9a9d3e
MS
2740 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2741 (gdb_continue_to_end): Accept output from status wrapper.
2742 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2743 Clean up fail messages to match pass messages.
2744
f1c47eb2
MS
2745 Enable the "needs_status_wrapper" testsuite feature.
2746 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2747 (gdb_compile): Conditionally call gdb_wrapper_init.
2748 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2749 * gdb.c++/method.exp: Recognize output from status wrapper.
2750
6079c749
BE
27512002-05-06 Ben Elliston <bje@redhat.com>
2752From Graydon Hoare <graydon@redhat.com>
2753
2754 * config/sid.exp: Include support for "rawsid" protocol.
2755
188baff3
JB
27562002-05-03 Jim Blandy <jimb@redhat.com>
2757
2758 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2759 * gdb.c++/hang3.C: New file.
2760
b9c07f0f
AC
27612002-05-04 Andrew Cagney <ac131313@redhat.com>
2762
2763 * gdb.base/default.exp: Remove obsolete code.
2764 * gdb.c++/misc.exp: Ditto. Update copyright.
2765 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2766 * gdb.base/whatis.exp: Ditto. Update copyright.
2767 * gdb.base/scope.exp: Ditto. Update copyright.
2768 * gdb.base/ptype.exp: Ditto. Update copyright.
2769 * gdb.base/printcmds.exp: Ditto. Update copyright.
2770 * gdb.base/opaque.exp: Ditto. Update copyright.
2771 * gdb.base/list.exp: Ditto.
2772 * gdb.base/funcargs.exp: Ditto. Update copyright.
2773 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2774 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2775 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2776 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2777 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2778 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2779
5c7a0397
MS
27802002-05-02 Michael Snyder <msnyder@redhat.com>
2781
d6dcc264 2782 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2783 * gdb.base/long_long.exp: Add xscale target.
2784 * gdb.base/default.exp: Add xscale target.
2785
eb7f1c48
JB
27862002-05-01 Jim Blandy <jimb@redhat.com>
2787
2788 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2789 gdb.c++/hang.exp: New test.
2790
a6befae8
FF
27912002-05-01 Fred Fish <fnf@redhat.com>
2792
2793 * gdb.base/completion.exp: Handle completions of "./Make" for
2794 more than one completion possibility, as is the case when we
2795 build and test in the source tree.
2796
0a310277
AG
27972002-04-29 Anthony Green <green@redhat.com>
2798
2799 * gdb.java/jmisc1.exp: New file.
2800 * gdb.java/jmisc2.exp: New file.
2801
6ff9af88
DJ
28022002-04-24 Daniel Jacobowitz <drow@mvista.com>
2803
2804 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2805
96b3d632
EZ
28062002-04-23 Elena Zannoni <ezannoni@redhat.com>
2807
2808 * gdb.base/help.exp: Change 'help status' to allow for target
2809 dependent output differences.
2810
5019bb54
MC
28112002-04-22 Michael Chastain <mec@shout.net>
2812
2813 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2814
a805a116
MC
28152002-04-22 Michael Chastain <mec@shout.net>
2816
2817 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2818
a1706bfd
DM
28192002-04-17 David S. Miller <davem@redhat.com>
2820
2821 * gdb.asm/sparc64.inc: New file.
2822 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2823
a73a20a2
EZ
28242002-04-19 Elena Zannoni <ezannoni@redhat.com>
2825
2826 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2827 instruction file directly into the build tree. Clean up at end of
2828 test.
2829
ba678339
DM
28302002-04-18 David S. Miller <davem@redhat.com>
2831
2832 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2833 handle 64-bit platforms correctly.
2834 * gdb.base/maint.exp: Likewise.
2835
b03399da
KB
28362002-04-18 Kevin Buettner <kevinb@redhat.com>
2837
2838 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2839 ``-fpic'' when compiling files comprising a shared library, but
2840 it does need additional linker flags in order to find shared
2841 libraries at run time.
2842
e2004992
KB
28432002-04-18 Kevin Buettner <kevinb@redhat.com>
2844
2845 * gdb.base/cvexpr.c (use): New function.
2846 (main): Invoke use() on all global variables to prevent
2847 some linkers from deleting these otherwise unused symbols.
2848
d8937120
MC
28492002-04-17 Michael Chastain <mec@shout.net>
2850From David S. Miller <davem@redhat.com>
2851
2852 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2853 handle 64-bit platforms correctly.
2854
ffd61a58
MS
28552002-04-12 Michael Snyder <msnyder@redhat.com>
2856From Jim Blandy <jimb@redhat.com>
2857 * gdb.base/foo.c (foox): Remove section attribute; the linker
2858 script can handle this instead.
2859 * gdb.base/bar.c (barx): Same.
2860 * gdb.base/baz.c (bazx): Same.
2861 * gdb.base/grbx.c (grbxx): Same.
2862
2863 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2864 manager doesn't automatically unmap overlays unnecessarily.
2865
6b8426a6
MH
28662002-04-10 Martin M. Hunt <hunt@redhat.com>
2867
2868 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2869 stepping out of main.
2870
34af4875
MC
28712002-04-09 Michael Chastain <mec@shout.net>
2872
2873 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2874 scope so that the nested scope tests will make sense.
2875 * gdb.c++/local.exp: Write patterns that actually work with gcc
2876 (the HP patterns "were never known to work with gcc").
2877 Keep the old aCC patterns too.
2878
2d1676a0
DJ
28792002-04-09 Daniel Jacobowitz <drow@mvista.com>
2880
2881 * gdb.base/attach.exp: Correct target board test.
2882
3a63e3f9
MC
28832002-04-08 Michael Chastain <mec@shout.net>
2884
2885 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2886 in a const method. Add some xfail and fail cases for configurations
2887 that do not emit the "const ...".
2888
f18dabd2
MC
28892002-04-07 Michael Chastain <mec@shout.net>
2890
2891 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2892 Accept "A * const" and "const A * const" as type of "this".
2893 Fix spelling of getFunky throughout. Make messages uniform.
2894
0fcddd82
EZ
28952002-04-07 Elena Zannoni <ezannoni@redhat.com>
2896
2897 Work around for PR gdb/285:
2898 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2899
16a8534a
EZ
29002002-04-07 Elena Zannoni <ezannoni@redhat.com>
2901
2902 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2903 instructions file at run time instead of configure time.
2904 Sometimes we run the test in a directory that is not the one we
2905 configured in.
2906 * gdb.asm/configure.in: Delete creation of symlink.
2907 * gdb.asm/configure: Regenerate.
2908
24181d81
JB
29092002-04-05 J. Brobecker <brobecker@gnat.com>
2910
2911 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2912 xfullpath () function.
2913
7cdb7107
DJ
29142002-04-04 Daniel Jacobowitz <drow@mvista.com>
2915
2916 * gdb.asm/Makefile.in: Correct dependencies.
2917
2918 * gdb.asm/powerpc.inc: New file.
2919 * gdb.asm/asm-source.exp: Add PowerPC.
2920 * gdb.asm/configure.in: Likewise.
2921 * gdb.asm/configure: Regenerated.
2922
a7d17088
DJ
29232002-04-04 Daniel Jacobowitz <drow@mvista.com>
2924
2925 * gdb.base/relocate.exp: New file.
2926 * gdb.base/relocate.c: New file.
2927
cd721503
FF
29282002-04-04 Fred Fish <fnf@redhat.com>
2929
2930 * gdb.base/step-test.exp: Update comment regarding stopping in
2931 memcpy/bcopy calls inserted as part of the compiler runtime.
2932
b22ad7a7
MS
29332002-04-04 Michael Snyder <msnyder@redhat.com>
2934
2935 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2936
5f279fa6
DJ
29372002-04-03 Daniel Jacobowitz <drow@mvista.com>
2938
2939 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2940 (gdb_expect): Remove $notransfer hack.
2941
dd0fd3ce
DJ
29422002-04-02 Daniel Jacobowitz <drow@mvista.com>
2943
2944 * gdb.c++/classes.exp ("calling method for small class"): Match
2945 updated register output.
2946
1e50cda1
DJ
29472002-03-30 Daniel Jacobowitz <drow@mvista.com>
2948
2949 Fix PR gdb/452
2950 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2951 when finished. Make gdb_file_cmd send "exec-file" when
2952 appropriate.
2953
24015922
DJ
29542002-03-30 Daniel Jacobowitz <drow@mvista.com>
2955
2956 * gdb.base/attach.exp: Remove extra setup_xfail.
2957
dd7dfd64
MS
29582002-03-26 Michael Snyder <msnyder@redhat.com>
2959
2960 * gdb.base/default.exp: Add tests for dump, append, and restore.
2961 * gdb.base/help.exp: Add tests for dump, append, and restore.
2962 * gdb.base/dump.exp: New file, test dump, append and restore.
2963 * gdb.base/dump.c: New file.
2964
48b2f8d7
MS
29652002-03-27 Michael Snyder <msnyder@redhat.com>
2966
2967 * gdb.base/help.exp: Modify expect strings to reflect
2968 clean-ups in help messages.
2969
05b4d525
FF
29702002-03-26 Fred Fish <fnf@redhat.com>
2971
2972 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2973 have debugging info for those functions and the compiler uses them
2974 internally to copy structs around.
2975
d7679631
FF
29762002-03-26 Fred Fish <fnf@redhat.com>
2977
2978 * gdb.base/list.exp: Revert the change made yesterday and add note
2979 about why we don't list the default lines for remote targets.
2980
523ac3f9
MS
29812002-03-25 Michael Snyder <msnyder@redhat.com>
2982
2983 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2984
754b2b8d
FF
29852002-03-25 Fred Fish <fnf@redhat.com>
2986
2987 * gdb.base/list.exp: This test works on remote targets so remove
2988 the short circuit for remote targets. Update copyright.
2989
33c3e192
FF
29902002-03-25 Fred Fish <fnf@redhat.com>
2991
2992 * gdb.base/attach.exp: Fix logic error that was suppressing this
2993 test for all non hppa*-*-hpux* targets, instead of the hp target.
2994 Move comments closer to the suppression point. Also now need to
2995 check that we are running natively.
2996
d43e73ee
MS
29972002-03-22 Michael Snyder <msnyder@redhat.com>
2998
882c8f02
MS
2999 * gdb.base/default.exp: Add test for gcore. Update copyright.
3000 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 3001
04c12f60
FF
30022002-03-06 Fred Fish <fnf@redhat.com>
3003
3004 * gdb.base/funcargs.c: Remove extraneous ';' character.
3005 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3006
b43df995
MC
30072002-03-04 Michael Chastain <mec@shout.net>
3008
3009 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3010 accommodate gcc v3 function signature.
3011 * gdb.mi/mi0-var-cmd-exp: Ditto.
3012
92362027
AC
30132002-02-24 Andrew Cagney <ac131313@redhat.com>
3014
3015 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3016 ``GNU/Linux'' or ``Linux kernel''
3017 * testsuite/gdb.threads/pthreads.c: Ditto.
3018
258ad32d
MC
30192002-02-24 Michael Chastain <mec@shout.net>
3020
3021 * gdb.threads/pthreads.c (thread1): Add a return statement.
3022 (thread2): Likewise.
3023 (foo): Likewise.
3024
04c3b3d4
MC
30252002-02-23 Michael Chastain <mec@shout.net>
3026
3027 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3028 to placate gcc.
3029
5a2a0a20
MC
30302002-02-23 Michael Chastain <mec@shout.net>
3031
3032 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3033 test "ptype bint". The test passes on all my stabs configurations.
3034
a640f7fc
JB
30352002-02-21 Jim Blandy <jimb@redhat.com>
3036
27924826
JB
3037 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3038 filename at a time, and watch for the ones we want to see.
3039
a640f7fc
JB
3040 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3041 types of pointers to prototyped functions.
3042
edcc8c75
AC
30432002-02-20 Andrew Cagney <ac131313@redhat.com>
3044
3045 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3046 signed, unsigned and straight char.
3047 (padding_char, padding_short, padding_int, padding_long,
3048 padding_long_long, padding_float, padding_double,
3049 padding_long_double): New global variables.
3050 (fill, fill_structs): New functions.
3051
3052 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3053 for correctly sized writes. Update copyright.
3054 (get_valueof): New procedure.
3055 (get_sizeof): Call get_valueof.
3056 (check_valueof): New procedure.
3057 (check_padding): New procedure.
3058
ac57ea44
MC
30592002-02-20 Michael Chastain <mec@shout.net>
3060
3061 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3062 to setup_xfail. Document some of the remaining calls.
3063
7a10c941
MC
30642002-02-18 Michael Chastain <mec@shout.net>
3065
3066 * gdb.c++/userdef.exp: Update copyright year.
3067
fb8acdcc
DJ
30682002-02-18 Daniel Jacobowitz <drow@mvista.com>
3069
3070 * gdb.c++/userdef.exp: Test overloaded operators properly.
3071 Remove xfails.
3072
fda6ae12
MS
30732002-02-14 Michael Snyder <msnyder@redhat.com>
3074
3075 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3076
676a0442
DJ
30772002-02-14 Daniel Jacobowitz <drow@mvista.com>
3078
3079 * gdb.base/a2-run.exp: Check for a remote target properly.
3080 * gdb.base/annota1.exp: Likewise.
3081 * gdb.base/list.exp: Likewise.
3082 * gdb.base/reread.exp: Likewise.
3083 * gdb.base/scope.exp: Likewise.
3084 * gdb.base/shlib-call.exp: Likewise.
3085 * gdb.base/term.exp: Likewise.
3086 * gdb.c++/annota2.exp: Likewise.
3087
78b4f468
RE
30882002-02-13 Richard Earnshaw <rearnsha@arm.com>
3089
3090 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3091
9a81ba51
MC
30922002-02-10 Michael Chastain <mec@shout.net>
3093
3094 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3095 (call_after_alloca): Ditto.
3096
004af6c7
DJ
30972002-02-10 Daniel Jacobowitz <drow@mvista.com>
3098
3099 * gdb.base/ending-run.exp: Guard "cont" test with
3100 gdb_skip_stdio_test.
3101
37225f62
JB
31022002-02-06 Jim Blandy <jimb@redhat.com>
3103
3104 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3105 from here...
3106 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3107 To here. Disable this test on non-HP platforms. Add big comment.
3108
fe6fdd96
MS
31092002-02-04 Michael Snyder <msnyder@redhat.com>
3110
3111 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3112 other than d10v and m32r.
3113
036fad3f
RE
31142002-02-02 Richard Earnshaw <rearnsha@arm.com>
3115
3116 * gdb.base/default.exp: Rewrite test patterns to reduce time
3117 taken to match them.
3118
7148ab62
DJ
31192002-01-30 Daniel Jacobowitz <drow@mvista.com>
3120
3121 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3122 Allow a start function above main.
3123 * gdb.threads/linux-dp.exp: Fix copyright date.
3124
396cc255
DJ
31252002-01-30 Daniel Jacobowitz <drow@mvista.com>
3126
3127 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3128 (check_philosopher_stack): Check for manager thread before checking
3129 for a just-starting thread.
3130
f038d31b
DJ
31312002-01-30 Daniel Jacobowitz <drow@mvista.com>
3132
3133 From Neil Booth <neil@daikokuya.demon.co.uk>:
3134 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3135 warnings.
3136
b3ff9d9a
FF
31372002-01-21 Fred Fish <fnf@redhat.com>
3138
3139 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3140 not caller.
3141
39ad761d
JB
31422002-01-21 Jim Blandy <jimb@redhat.com>
3143
3144 * gdb.base/reread.exp: Check that GDB properly re-reads the
3145 executable file when it changes while no inferior is running.
3146
aaf320fa
FF
31472002-01-21 Fred Fish <fnf@redhat.com>
3148
3149 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3150 optionally accept the "shlib events" variation.
3151
808a31f5
JB
31522002-01-21 Jim Blandy <jimb@redhat.com>
3153
3154 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3155 call `fflush' after every `printf', so that the output is produced
3156 at predictable points, regardless of whatever buffering does (or
3157 doesn't) take place.
3158 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3159 at different points.
3160
4420d5e2
DJ
31612002-01-20 Daniel Jacobowitz <drow@mvista.com>
3162
3163 * gdb.c++/inherit.exp: Update copyright years.
3164 * gdb.c++/method.exp: Likewise.
3165
3e36a0f4
DJ
31662002-01-20 Daniel Jacobowitz <drow@mvista.com>
3167
3168 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3169 artificial methods/arguments.
3170 * gdb.c++/derivation.exp: Likewise.
3171 * gdb.c++/inherit.exp: Likewise.
3172 * gdb.c++/method.exp: Likewise.
3173 * gdb.c++/virtfunc.exp: Likewise.
3174
b4ceaee6
AC
31752002-01-18 Andrew Cagney <ac131313@redhat.com>
3176
3177 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3178 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3179 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3180 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3181 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3182 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3183
ecace851
JB
31842002-01-17 Jim Blandy <jimb@redhat.com>
3185
3186 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3187 anchoring the pattern matching the entry point symbol's name.
3188
375fc983
AC
31892002-01-17 Andrew Cagney <ac131313@redhat.com>
3190
3191 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3192 continue/quit query. Update copyright.
3193
fe6fdd96
MS
31942002-01-14 Michael Snyder <msnyder@redhat.com>
3195
3196 * gdb.base/gcore.exp: Remove extra debugging output.
3197
e017c81f
DJ
31982002-01-13 Daniel Jacobowitz <drow@mvista.com>
3199
3200 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3201 for slightly dubious v2 mangled string.
3202
37ab3bf8
DJ
32032002-01-13 Daniel Jacobowitz <drow@mvista.com>
3204
3205 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3206
1bc05c3a 32072002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 3208
1bc05c3a 3209 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 3210
1bc05c3a
JM
3211 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3212 constructors.
3213 * gdb.c++/derivation.exp: Likewise.
3214 * gdb.c++/templates.exp: Likewise.
3215 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 3216
1bc05c3a
JM
32172002-01-10 Michael Snyder <msnyder@redhat.com>
3218
3219 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 3220
a911c360
MS
32212002-01-08 Michael Snyder <msnyder@redhat.com>
3222
3223 * gdb.base/gcore.exp: New test for generate-core-file command.
3224 * gdb.base/gcore.c: Testcase for above.
3225 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3226
ea2119ec
JM
32272002-01-08 Jason Merrill <jason@redhat.com>
3228
3229 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3230
68203136
FF
32312002-01-07 Fred Fish <fnf@redhat.com>
3232
3233 * gdb.c++/overload.exp: Remove unconditional xfails for:
3234 print foo_instance1.overloadargs(1)
3235 print foo_instance1.overloadargs(1, 2)
3236 print foo_instance1.overloadargs(1, 2, 3)
3237 print foo_instance1.overloadargs(1, 2, 3, 4)
3238 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3239 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3240 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3241 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3242 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3243 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3244 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3245 print foo_instance1.overload1arg()
3246 print foo_instance1.overload1arg((char)arg2)
3247 print foo_instance1.overload1arg((signed char)arg3)
3248 print foo_instance1.overload1arg((unsigned char)arg4)
3249 print foo_instance1.overload1arg((int)arg7)
3250 print foo_instance1.overload1arg((unsigned int)arg8)
3251 print foo_instance1.overload1arg((float)arg11)
3252 print foo_instance1.overload1arg((double)arg12)
3253
21b9b5b1
MS
32542002-01-07 Michael Snyder <msnyder@redhat.com>
3255
3256 * gdb.base/huge.exp: New test. Print a very large target data object.
3257 (skip_huge_test): New test variable. Define if you want to skip this
3258 test. The test reads an 8 megabyte data object from the target, so it
3259 might be very time consuming on remote targets with a slow connection.
3260 * gdb.base/huge.c: New file. Test case for above.
3261
725f922e
FF
32622002-01-07 Fred Fish <fnf@redhat.com>
3263
3264 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3265 g_instance.bfoo, and g_instance.cfoo.
3266
634d57ec
JL
3267Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3268
f286b2c3
JL
3269 * gdb.base/break.c (multi_line_if_conditional): New function.
3270 (multi_ilne_while_conditional): Likewise.
3271 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3272 IF or WHILE condition puts the breakpoint at the start of
3273 the condition.
3274
634d57ec
JL
3275 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3276 hppa*-*-hpux* expected failure.
3277 * gdb.base/structs.exp (do_function_calls): Similarly.
3278
3279 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3280 watchpoints.
3281
9fbfe2dc
AC
32822002-01-06 Andrew Cagney <ac131313@redhat.com>
3283
3284 Fix PR gdb/66.
3285 * gdb.base/structs.exp: Replace skip for a29k with skip for
3286 gdb,cannot_call_functions.
3287 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3288 * gdb.base/callfuncs.exp: Ditto.
3289 * gdb.base/call-rt-st.exp: Ditto.
3290 * gdb.base/call-strs.exp: Ditto.
3291 * gdb.base/callfwmall.exp: Ditto.
3292 * gdb.base/scope.exp: Obsolete xfail a29k.
3293 * gdb.c++/misc.exp: Ditto.
3294 * gdb.c++/cplusfuncs.exp: Ditto.
3295 * gdb.base/ptype.exp: Ditto.
3296 * gdb.base/printcmds.exp: Ditto.
3297 * gdb.base/opaque.exp: Ditto.
3298 * gdb.base/list.exp: Ditto.
3299 * gdb.base/funcargs.exp: Ditto.
3300 * gdb.base/default.exp: Ditto.
3301
8ddad156
MS
33022002-01-04 Michael Snyder <msnyder@redhat.com>
3303
ca4976a6 3304 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3305 * gdb.base/maint.exp: Add tests for maint info sections options.
3306
1b074332
JL
3307Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3308
3309 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3310
7d159115
CV
33112001-12-20 Corinna Vinschen <vinschen@redhat.com>
3312
3313 * gdb.asm/arm.inc: New file.
3314 * gdb.asm/asm-source.exp: Add arm targets.
3315 * gdb.asm/configure.in: Ditto.
3316 * gdb.asm/configure: Recreated from configure.in.
3317
8fb87725
JL
3318Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3319
afabe08c
JL
3320 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3321 with HP's compiler.
3322 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3323 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3324 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3325 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3326
3327 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3328 either HP's compilers or GCC.
3329
db521deb
JL
3330 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3331 a SIGBUS or SIGSEGV.
3332
3333 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3334
3335 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3336 can be compiled with either HP's compiler or GCC.
3337
cfa88ab7
JL
3338 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3339 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3340 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3341
ca344dff
JL
3342 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3343 to match current gdb output. Update due to using auto-solib-limit
3344 for limiting instead of overloading auto-solib-add.
3345 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3346 test program.
3347
3f3c6e55 3348 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3349 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3350 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3351 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3352 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3353 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3354 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3355 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3356 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3357 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3358 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3359 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3360 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3361
8fb87725
JL
3362 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3363 a SIGTRAP to the inferior.
3364
cf599fa7
CV
33652001-12-19 Corinna Vinschen <vinschen@redhat.com>
3366
3367 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3368 Substitute call to target_link by call to gdb_compile.
3369
2cd045cd
JL
3370Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3371
3372 * gdb.base/break.exp: Fix HP specific search string when testing
3373 backtracing in a called function.
3374
3375 * gdb.base/constvars.exp: Only set lang to C++ if we're
3376 compiling the test with HP's compilers.
3377 * gdb.base/volatile.exp: Similarly.
3378
99ebe9ac
JB
33792001-12-19 Jim Blandy <jimb@redhat.com>
3380
3381 * gdb.base/printcmds.exp: Expect the null character to be printed
3382 as '\0', and the '\013' to be printed as '\v'.
3383 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3384 * gdb.base/setvar.exp: Same.
3385
b9891b29
JB
33862001-12-17 Jim Blandy <jimb@redhat.com>
3387
0eba65ab
JB
3388 * gdb.base/completion.exp: Rather than completing very long
3389 filenames, which can make the readline library produce output we
3390 don't recognize, cd to the directory first, and then complete
3391 using nice, short relative paths.
3392
6970b5b1
JB
3393 * gdb.base/completion.exp: On some systems, there is, in fact, a
3394 variable named `b' in scope, since GDB treats all static
3395 variables as being in scope. So use `no_var_named_this'
3396 instead of `b'.
3397
b9891b29
JB
3398 * gdb.base/corefile.exp: Recognize the message saying that GDB
3399 can't find the core file's registers as a failure.
3400
e6ccd35f
JSC
34012001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3402
3403 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3404 test expect string more specific.
3405
105ba819
CV
34062001-12-13 Corinna Vinschen <vinschen@redhat.com>
3407
3408 * gdb.asm/asm-source.exp: Add support for xstormy16.
3409 * gdb.asm/configure.in: Ditto.
3410 * gdb.asm/configure: Rebuild.
3411 * gdb.asm/xstormy16.inc: New file.
3412
e9e79dd9
FF
34132001-12-10 Fred Fish <fnf@redhat.com>
3414
3415 * gdb.base/maint.exp: Update to match changes in type dumping code.
3416
347dc97d
JB
34172001-12-10 Jim Blandy <jimb@redhat.com>
3418
3419 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3420 matching the entry point symbol's name at the beginning of the
3421 line.
3422
5178b9d6
DJ
34232001-12-07 Daniel Jacobowitz <drow@mvista.com>
3424
3425 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3426 gdb.c++/inherit.exp, gdb.c++/method.exp,
3427 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3428 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3429 and class layout support.
3430
af890c52
DJ
34312001-12-07 Daniel Jacobowitz <drow@mvista.com>
3432
3433 * gdb.c++/classes.exp: Add test for static member function.
3434 * gdb.c++/misc.cc: Add class with static member function.
3435
7a345fb3
JB
34362001-12-07 Jim Blandy <jimb@redhat.com>
3437
f2e54a80 3438 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3439 those tests as `unsupported'.
3440 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3441 Rewrite subsequent tests to use it.
3442
3443 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3444 those tests as `unsupported'.
3445 * gdb.base/structs.exp (call_struct_func): New function.
3446 (do_function_calls): Use call_struct_func to call the functions
3447 returning structs.
3448
0bc69509
JB
3449 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3450 whether functions are prototyped or not, so we can't possibly pass
3451 arguments to t_float_values2 properly.
3452
7a345fb3
JB
3453 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3454 value of `timeout' for targets other than the mips*tx39-*.
3455
edb6ede1
MS
34562001-12-06 Michael Snyder <msnyder@redhat.com>
3457
3458 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3459 and detect whether the start symbol has a leading underscore.
3460
2d842f13
JB
34612001-12-04 Jim Blandy <jimb@redhat.com>
3462
3463 * gdb.base/completion.exp: Clarify indentation.
3464
68550daf
JB
34652001-12-03 Jim Blandy <jimb@redhat.com>
3466
3467 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3468 variables on the S/390, not `.word'.
3469
cd5195a8
JB
34702001-11-30 Jim Blandy <jimb@redhat.com>
3471
3472 Add assembly-source tests for s390-ibm-linux.
3473 * gdb.asm/s390.inc: New file.
3474 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3475 the S/390 architecture.
3476 * gdb.asm/configure: Regenerated.
3477
ca9efc90
MS
34782001-11-30 Michael Snyder <msnyder@redhat.com>
3479
3480 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3481 next, info source, info sources, info line, global and static
3482 variables, and static functions.
3483 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3484 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3485 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3486 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3487 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3488 (gdbasm_leave): Restore frame pointer.
3489 (gdbasm_startup): Copy stack set-up from crt0.S.
3490
d0e66976
FN
34912001-11-26 Fernando Nasser <fnasser@redhat.com>
3492
3493 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3494 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3495 to a local (non-static) variable. Copy tstruct.a to a static buffer
3496 and return a pointer to that buffer.
3497 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3498
e2334072
MK
34992001-11-24 Mark Kettenis <kettenis@gnu.org>
3500
3501 * gdb.asm/configure.in: Fix recognition of ix86 target.
3502 * gdb.asm/configure: Regenerate.
3503
756caa3d
MS
35042001-11-21 Michael Snyder <msnyder@redhat.com>
3505
3506 * gdb.asm/sparc.inc: New file.
3507 * gdb.asm/asm-source.exp: Recognize sparc target.
3508 * gdb.asm/configure.in: Recognize sparc target.
3509 * gdb.asm/configure: Regenerate.
3510
9a4d72d5
MS
35112001-11-21 Michael Snyder <msnyder@redhat.com>
3512
3513 * gdb.asm/m32r.inc: New file.
3514 * gdb.asm/asm-source.exp: Recognize m32r target.
3515 * gdb.asm/configure.in: Recognize m32r target.
3516 * gdb.asm/configure: Regenerate.
3517
a773d1cd
MS
35182001-11-20 Michael Snyder <msnyder@redhat.com>
3519
017ac23d
MS
3520 * gdb.asm/i386.inc: New file.
3521 * gdb.asm/asm-source.exp: Recognize ix86 target.
3522 * gdb.asm/configure.in: Recognize ix86 target.
3523 * gdb.asm/configure: Regenerate.
3524
a773d1cd
MS
3525 * gdb.c++/namespace.exp: Fix quotes in output messages.
3526
bb632afb
MS
35272001-11-14 Michael Snyder <msnyder@redhat.com>
3528
25d559ca 3529 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3530 qualifier in a type cast expression, to designate an address
3531 in the instruction space (Harvard architecture).
3532
4749e309
MS
35332001-11-13 Michael Snyder <msnyder@redhat.com>
3534
3535 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3536 Tests for expressions using 'const' and 'volatile'.
3537
25050984
CV
35382001-11-13 Corinna Vinschen <vinschen@redhat.com>
3539
3540 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3541
1902c51f
DJ
35422001-11-12 Daniel Jacobowitz <drow@mvista.com>
3543
3544 * lib/mi-support.exp (mi_run_to_helper): Move comments
3545 outside of gdb_expect.
3546
dcf95b47
DJ
35472001-11-11 Daniel Jacobowitz <drow@mvista.com>
3548
3549 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3550 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3551 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3552 mi0_run_to): New functions.
3553 * gdb.mi/mi-simplerun.exp: Use them.
3554 * gdb.mi/mi0-simplerun.exp: Likewise.
3555 * gdb.mi/mi-var-cmd.exp: Likewise.
3556 * gdb.mi/mi0-var-cmd.exp: Likewise.
3557
45b074e1
AC
35582001-11-10 Andrew Cagney <ac131313@redhat.com>
3559
3560 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3561 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3562
bf50d346
AC
35632001-11-09 Andrew Cagney <ac131313@redhat.com>
3564
3565 * gdb.base/restore.exp: Include $expected value in restored test
3566 message.
3567
9383332c
AC
35682001-11-09 Andrew Cagney <ac131313@redhat.com>
3569
3570 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3571 implemented.
3572
db62520a
MS
35732001-11-08 Michael Snyder <msnyder@redhat.com>
3574
3575 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3576 Add pass/fail message for stop at breakpoint in call dummy function.
3577
b5703437
MS
35782001-11-07 Michael Snyder <msnyder@redhat.com>
3579
760f6330
MS
3580 * gdb.c++/templates.exp (test_template_breakpoints):
3581 If we get an overload menu, but it does not match what
3582 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3583 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3584 making the whitespace optional. Argument for "new" may be
3585 "unsigned" as well as "unsigned int/long".
eef747c0
MS
3586 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3587 making the whitespace optional. Also replace "(void) with
3588 "((void|)), making the keyword "void" optional.
63f50499
MS
3589 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3590 making the whitespace optional. Also replace "(void) with
3591 "((void|)), making the keyword "void" optional.
3bf40917
MS
3592 * gdb.base/callfuncs.c (t_float_values): This function must
3593 _not_ be prototyped, and the following function (t_float_values2)
3594 must be prototyped (if the compiler supports it), so that GDB
3595 can be tested against both cases. Usually one case involves
3596 promotion of float to double, while the other does not.
3597 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3598 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3599 includes a stack frame for "start".
3600
c8ab4e6d
JB
36012001-11-05 Jim Blandy <jimb@redhat.com>
3602
3603 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3604 pointers are 32 bits long, and that offsets of relocs are always
3605 stored in the data (REL-style), and not in the reloc entry itself
3606 (RELA-style).
3607 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3608 stabs.
3609
3f08ced9
MS
36102001-11-01 Michael Snyder <msnyder@redhat.com>
3611
3612 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3613 and regular expression operators by using quoting.
3614
cbfa24cd
MS
36152001-10-31 Michael Snyder <msnyder@redhat.com>
3616
3617 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3618 depending on what the symbol table contains.
3619 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3620 the output of the ptype command. Similarly, accept both "const &"
3621 and "const&".
3622
aaa68313
CV
36232001-10-31 Corinna Vinschen <vinschen@redhat.com>
3624
3625 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3626 symbol `STORAGE' to allow to choose the storage class of
3627 the local datastructures.
3628 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3629 compiler directive.
3630
91740388
MS
36312001-10-30 Michael Snyder <msnyder@redhat.com>
3632
3633 * gdb.base/jump.exp: Allow it to run for all targets.
3634
1b7c05e7
CV
36352001-10-29 Corinna Vinschen <vinschen@redhat.com>
3636
3637 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3638 with new double_array size.
3639 (main): Change storage class of all local variables to static.
3640 Reduce size of double_array to 9.
3641 * gdb.base/call-ar-st.exp: Increase timeout value.
3642 Change expected output for double array to match new size in
3643 call-ar-st.c.
3644
36a22261
CV
36452001-10-29 Corinna Vinschen <vinschen@redhat.com>
3646
3647 * gdb.base/ending-run.exp: Create identical output when passing
3648 `step to end of run' case. Add regular expression branch satisfying
3649 Stormy16 target.
3650
92b8ae91
MK
36512001-10-28 Mark Kettenis <kettenis@gnu.org>
3652
3653 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3654 that we catch the expected failure under Linux/x86.
3655
cb135b83
OF
36562001-10-29 Orjan Friberg <orjanf@axis.com>
3657
3658 * gdb.base/setvar.exp: Escape curly braces.
3659 * gdb.stabs/weird.exp: Ditto.
3660
6884aa54
DJ
36612001-10-27 Daniel Jacobowitz <drow@mvista.com>
3662
3663 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3664 * gdm.mi/mi0-hack-cli.exp: Likewise.
3665
0398c9aa
AC
36662001-10-25 Andrew Cagney <ac131313@redhat.com>
3667
3668 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3669 messages.
3670
d20bf2e8
AC
36712001-10-21 Andrew Cagney <ac131313@redhat.com>
3672
3673 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3674 checking MI enabled.
3675
03dd63aa
CV
36762001-10-09 Corinna Vinschen <vinschen@redhat.com>
3677
3678 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3679
1d9d99f3
FCE
36802001-10-04 Frank Ch. Eigler <fche@redhat.com>
3681
3682 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3683 if gdb child process crashes, just signal an error.
3684
838ae6c4
JB
36852001-10-02 Jim Blandy <jimb@redhat.com>
3686
3687 * lib/gdb.exp (test_xfail_format): Simplify.
3688
3689 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3690 front of the variable name `format'. Simplify `if'.
3691
8f0cbc1c
DJ
36922001-10-01 Daniel Jacobowitz <drow@mvista.com>
3693
3694 * gdb.threads/pthreads.exp: Wait for output and delay
3695 before sending ^C.
3696
1f08dafd
DJ
36972001-10-01 Daniel Jacobowitz <drow@mvista.com>
3698
3699 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3700 some incorrect output instead of timing out.
3701 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3702
674f90ff
CV
37032001-09-28 Corinna Vinschen <vinschen@redhat.com>
3704
3705 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3706 check to allow additional `int'.
3707
9b284272
DJ
37082001-09-27 Daniel Jacobowitz <drow@mvista.com>
3709
3710 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3711 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3712
b55a4771
MS
37132001-09-27 Michael Snyder <msnyder@redhat.com>
3714
3715 * lib/gdb.exp (test_debug_format): New proc.
3716 (setup_xfail_format): Use new proc test_debug_format.
3717 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3718 proc; use new service proc test_debug_format.
3719 Replace all other "gcc_compiled" tests with this test.
3720 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3721 proc; use new service proc test_debug_format.
3722 Replace all other "gcc_compiled" tests with this test.
3723
37242001-09-27 Michael Snyder <msnyder@redhat.com>
3725
3726 * gdb.base/cvexpr.exp: New file.
3727 * gdb.base/cvexpr.c: New file
3728 Test for expressions using const and volatile keywords.
3729
4e6667ac
CV
37302001-09-26 Corinna Vinschen <vinschen@redhat.com>
3731
3732 * gdb.base/constvars.exp: Check for different orders of keywords
3733 and additional "int" strings in output.
3734
4f337972
AC
37352001-09-22 Andrew Cagney <ac131313@redhat.com>
3736
3737 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3738 responses from "help maint".
3739
2015650d
FCE
37402001-09-19 Frank Ch. Eigler <fche@redhat.com>
3741
3742 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3743 to localhost:NNN instead of :NNN, in case Xvfb is listening
3744 only on TCP.
3745
f3bcedc1
CV
37462001-09-19 Corinna Vinschen <vinschen@redhat.com>
3747
3748 * gdb.base/recurse.exp: When checking leaving the watchpoint
3749 scope, recognize when gdb is in function's epilogue and pass.
3750
6b819c92
KS
37512001-09-18 Keith Seitz <keiths@redhat.com>
3752
3753 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3754 support for running tests against sid targets.
3755 (gdbtk_done): Ditto.
3756
a10c9419
CV
37572001-09-18 Corinna Vinschen <vinschen@redhat.com>
3758
3759 * gdb.base/ending-run.c (main): Set stdout buffersize
3760 to the same reasonable value for any target.
3761 * gdb.base/ending-run.exp: Add a regular expression
3762 to make testsuite happy on Sanyo Stormy16 target.
3763
739d0d99
CV
37642001-09-17 Corinna Vinschen <vinschen@redhat.com>
3765
3766 * gdb.base/display.c (do_loops): Add float variable `f'.
3767 Increment f in loop.
3768 * gdb.base/display.exp: Increment timeout by 60 seconds.
3769 Change float display test to use variable `f'.
3770
1b8947f0
JB
37712001-09-17 Jim Blandy <jimb@redhat.com>
3772
3773 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3774 overflowing the limited breakpoint tables on some ROM monitors
3775 (like the ROM68K).
3776
9890ac81
FCE
37772001-09-15 Frank Ch. Eigler <fche@redhat.com>
3778
3779 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3780 the "-ac" (disable access control) flag.
3781
6db765ea
JH
37822001-08-30 Jeff Holcomb <jeffh@redhat.com>
3783
3784 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3785 ints.
3786
4c32cc04
KS
37872001-08-30 Keith Seitz <keiths@redhat.com>
3788
3789 * lib/gdb.exp: Move all insight-related functionality into
3790 separate file.
3791 * lib/insight-support.exp: New file.
3792
8d6e6f81
FCE
37932001-08-29 Frank Ch. Eigler <fche@redhat.com>
3794
3795 * config/sid.exp (sid_start): Never set sid verbosity; disable
3796 expect_background {} that consumed its stdout; tolerate </dev/null.
3797 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3798
6a90e1d0
AC
37992001-08-18 Andrew Cagney <ac131313@redhat.com>
3800
3801 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3802 CLI jump command to start it.
3803 (mi_run_to_main): Fail immediatly when unexpected output.
3804
1759b3c3
AC
38052001-08-18 Andrew Cagney <ac131313@redhat.com>
3806
3807 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3808 beginning of function. Fix PR gdb/191.
3809
61d11d80
FCE
38102001-08-16 Frank Ch. Eigler <fche@redhat.com>
3811
3812 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3813 what to force sid endianness to.
3814
942a4df2
KS
38152001-08-15 Keith Seitz <keiths@redhat.com>
3816
3817 * lib/gdb.exp (gdbtk_start): Don't set environment
3818 variables for TCL_LIBRARY and friends. Insight will
3819 now figure these out for itself.
3820
0521c418
MS
38212001-08-02 Michael Snyder <msnyder@redhat.com>
3822
3823 * gdb.base/completion.exp: Remove the symbol "a64l" from
3824 the expect string; this is target-specific, and not related
3825 to what is being tested.
3826
74a9a58a
DB
38272001-08-02 Dave Brolley <brolley@redhat.com>
3828
3829 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3830
c70819fa
MS
38312001-07-25 Michael Snyder <msnyder@redhat.com>
3832
c2b8fa57
MS
3833 * gdb.base/consecutive.exp: New file. Test stepping over
3834 breakpoints on consecutive instructions.
3835 * gdb.base/consecutive.c: New file.
3836
c70819fa
MS
3837 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3838 curly braces in regular expressions.
3839
2b1a1355
MS
38402001-07-25 Michael Snyder <msnyder@redhat.com>
3841
3842 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3843 legitimate output from stepping out of main.
3844
413eca6f
KS
38452001-07-22 Keith Seitz <keiths@redhat.com>
3846
3847 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3848 the empty string, do not run the tests.
3849
7e5a9322
SC
38502001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3851
3852 * gdb.base/long_long.exp: Detect size of pointer. Take into
3853 account 2-byte pointers when testing for p/a results.
3854
de58f10f
SC
38552001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3856
3857 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3858 and defined to 1K for m68hc11.
3859 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3860 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3861 (sizeof_random_data): New variable to tell the size of the data table;
3862 don't test past this size; always run to main.
3863
d6f5fea1
SC
38642001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3865
3866 * gdb.base/return2.exp: return of long long and double fails for
3867 68HC11; don't execute these tests on that platform.
3868 * gdb.base/return.exp: Return of a double fails for 68hc11.
3869
c477543d
SC
38702001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3871
3872 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3873 tests that print a float.
3874 * call-rt-st.exp: Likewise.
3875
63cf1c79
MK
38762001-07-12 Mark Kettenis <kettenis@gnu.org>
3877
3878 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3879 running this test on Linux.
3880
112f9ab5
MC
38812001-06-24 Michael Chastain <chastain@redhat.com>
3882
3883 * gdb.base/arithmet.exp: Remove some tests to make all test names
3884 unique.
3885
4970cb0f
MS
38862001-07-03 Michael Snyder <msnyder@redhat.com>
3887
3888 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3889 the output of the ptype command.
3890
d85da69f
MS
38912001-07-02 Michael Snyder <msnyder@redhat.com>
3892
4c8a82de
MS
3893 * gdb.base/completion.exp: Don't assume that break.c is the only
3894 source file that may contain functions named "marker".
d85da69f
MS
3895 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3896
8afc772b
AC
38972001-06-28 Andrew Cagney <ac131313@redhat.com>
3898
3899 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3900 of files to delete.
3901
3902 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3903 * gdb.disasm/h8300s.exp: New file.
3904 gdb.disasm/h8300s.s: Likewise.
3905
cff22675
AC
39062001-06-27 Andrew Cagney <ac131313@redhat.com>
3907
3908 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3909 empty breakpoint tables.
3910
68c81b54
AC
39112001-06-25 Andrew Cagney <ac131313@redhat.com>
3912
3913 * lib/mi-support.exp: Update args=... part of stop-reason
3914 patterns. Accept either a list or a tuple.
3915
2dd62704
AC
39162001-06-23 Andrew Cagney <ac131313@redhat.com>
3917
3918 * lib/mi-support.exp: Remove local emacs variable defining
3919 change-log-default-name.
3920
b4127474
MC
39212001-06-22 Michael Chastain <chastain@redhat.com>
3922
3923 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3924 This is operationally compatible with the previous version.
3925
8dbfb380
JB
39262001-06-13 Jim Blandy <jimb@redhat.com>
3927
3928 * lib/gdb.exp (gdb_test): Doc fix.
3929
f2d8c86d
MC
39302001-06-10 Michael Chastain <chastain@redhat.com>
3931
3932 * gdb.base/exprs.exp: Remove a duplicate test.
3933
81564d34
JB
39342001-06-06 Jim Blandy <jimb@redhat.com>
3935
3936 * gdb.base/return2.exp (main): Use values to test float and double
3937 returns that are not NaN's, to avoid being confused by IEEE
3938 comparison rules.
3939
da55addb
MS
39402001-06-04 Michael Snyder <msnyder@redhat.com>
3941
3942 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3943 non-zero if control_c fails. Terminate the test on failure,
3944 rather than wait for 12 more tests to time out.
3945
42c65987
JB
39462001-06-06 Jim Blandy <jimb@redhat.com>
3947
b18bced9
JB
3948 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3949 Don't forget to match the GDB prompt.
3950
42c65987
JB
3951 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3952
5b41e5f0
JB
39532001-06-04 Jim Blandy <jimb@redhat.com>
3954
3955 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3956 command.
3957
015e046f
KB
39582001-05-31 Kevin Buettner <kevinb@redhat.com>
3959
3960 * gdb.base/annota1.exp (info break): Match four or more spaces
3961 after "Address".
3962
fb1ffbbe
MC
39632001-05-31 Michael Chastain <chastain@redhat.com>
3964
3965 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3966 (dm_type_int_star): Likewise.
3967 (dm_type_long_star): Likewise.
3968 (dm_type_void_star): Likewise.
3969
5ea2a32c
KB
39702001-05-29 Kevin Buettner <kevinb@redhat.com>
3971
3972 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3973 to a known value in order to get consistent results regardless
3974 of the setting of INPUTRC or the presence or contents of .inputrc.
3975
ae23c492
MS
39762001-05-24 Michael Snyder <msnyder@redhat.com>
3977
ac55707e
MS
3978 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3979 Don't require that the main thread and the manager thread are the
3980 first in the list.
3981
ae23c492
MS
3982 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3983 debugging. If test fails, issue an "unsupported" not a "fail".
3984
400071f1
JB
39852001-05-24 Jim Blandy <jimb@redhat.com>
3986
3987 Don't assume that short is shorter than int.
3988 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3989 assume that shorts are smaller than ints. On a 16-bit machine,
3990 this isn't true.
3991 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3992 an int, is not equal to ~0 stored in an unsigned char. This tests
3993 the same thing that the previous test meant to, but works on
3994 16-bit machines, too.
3995 ("print unsigned char != (~0)"): Same test, complemented.
3996
0816a3e5
MS
39972001-05-24 Michael Snyder <msnyder@redhat.com>
3998
3999 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
4000 test for (full_coverage == 0). This makes the test run faster,
4001 and prevents dejagnu getting out of step.
4002
f6dc23a9
KB
40032001-05-23 Kevin Buettner <kevinb@redhat.com>
4004
4005 * gdb.base/finish.exp (finish_void): Revise pattern for
4006 stopping on the call statement to not permit stopping at
4007 the start of the instructions comprising the call sequence.
4008
7dbd117d
MC
40092001-05-19 Michael Chastain <chastain@redhat.com>
4010
4011 * gdb.base/callfuncs.exp: Make all test names unique.
4012 * gdb.base/commands.exp: Make all test names unique.
4013 * gdb.base/condbreak.exp: Make all test names unique.
4014 * gdb.base/dbx.exp: Make all test names unique.
4015 * gdb.base/default.exp: Make all test names unique.
4016 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4017 and TIMEOUT messages to their corresponding PASS message.
4018 * gdb.base/ending-run.exp: Make all test names unique.
4019 * gdb.base/long_long.exp: Remove duplicate test.
4020
6b0b0a9e
KB
40212001-05-21 Kevin Buettner <kevinb@redhat.com>
4022
4023 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4024 stop on the call statement as well as the statement after the
4025 call.
4026
2caa35cb
MS
40272001-05-21 Michael Snyder <msnyder@redhat.com>
4028
4029 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4030
40713331
EZ
40312001-05-10 Elena Zannoni <ezannoni@redhat.com>
4032
4033 * gdb.base/completion.exp: Revamp test. Make it execute on all
4034 platforms.
4035
c2c1be8d
EZ
40362001-05-10 Elena Zannoni <ezannoni@redhat.com>
4037
2c9cd303
EZ
4038 * config/gdbserver.exp (gdb_load): Handle the case
4039 in which the arguments to gdbserver are given in the
4040 baseboard configuration file.
4041 Also handle the case in which the server needs to do a
4042 load.
4043
9671de48
KS
40442001-05-07 Keith Seitz <keiths@cygnus.com>
4045
4046 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4047 set up the display for testing.
4048 (gdbtk_start): Convert all paths to paths that tcl will like.
4049 Export target information to environment.
4050 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4051 necessary.
4052 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4053 (to_tcl_path): New proc to convert a given pathname into
4054 a path acceptible as an argument to a tcl command.
4055 (_gdbtk_export_target_info): New proc to export target info
4056 into the environment for gdbtk testing.
4057 (gdbtk_done): New proc to signal end-of-test.
4058
5a360f47
JB
40592001-05-06 Jim Blandy <jimb@redhat.com>
4060
4061 * restore.c: Make the code of caller0 correspond to its comment.
4062
66c756c6
MS
40632001-05-03 Michael Snyder <msnyder@redhat.com>
4064
4065 * config/sid.exp (gdb_target_sid): Check for error messages.
4066 On error or timeout, don't make expect exit (which will terminate
4067 all subsequent tests); instead just make gdb exit.
4068 (gdb_load): Check for error messages. On error or timeout,
4069 return a negative value.
4070
a966fde5
JB
40712001-04-24 Jim Blandy <jimb@redhat.com>
4072
851c18e0
JB
4073 * gdb.c++/templates.exp: If we see the prompt for the overload
4074 list, but we haven't recognized any of the longer patterns,
4075 arrange for this test to fail, not hang.
4076
a966fde5
JB
4077 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4078 variations.
4079
db144853
MC
40802001-04-22 Michael Chastain <chastain@redhat.com>
4081
4082 * gdb.c++/local.exp: Use the 'runto' library function.
4083 * gdb.c++/namespace.exp: Likewise.
4084 * gdb.c++/overload.exp: Likewise.
4085
3207ec21
KB
40862001-03-26 Kevin Buettner <kevinb@redhat.com>
4087
4088 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4089 * gdb.base/step-line.exp: New file. Test step/next in presence of
4090 #line directives.
4091 * gdb.base/step-line.c: New file. Test program for the above.
4092 * gdb.base/step-line.inp: New file. We pretend that this file has
4093 been transformed by some other tool into step-line.c.
4094
13b57657
JB
40952001-03-21 Jim Blandy <jimb@redhat.com>
4096
4097 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4098 unmangled operator names.
4099
754cbe1c
JB
41002001-03-20 Jim Blandy <jimb@redhat.com>
4101
4102 * gdb.threads/linux-dp.exp: Recognize an additional message
4103 generated by GDB when it doesn't understand how to debug threads
4104 on the target system.
4105
177495c9
AC
41062001-03-19 Andrew Cagney <ac131313@redhat.com>
4107
4108 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4109
f266096b
MC
41102001-03-12 Michael Chastain <chastain@redhat.com>
4111
4112 * gdb.c++/derivation.exp: Use the 'runto' library function.
4113
cac3c2ff
MC
41142001-03-12 Michael Chastain <chastain@redhat.com>
4115
4116 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4117
b6c11a24
MC
41182001-02-24 Michael Chastain <chastain@redhat.com>
4119
4120 * gdb.c++/ref-types.exp: Change handwritten code to library
4121 function 'runto'.
4122
6bae5bce
OF
41232001-03-16 Orjan Friberg <orjanf@axis.com>
4124
4125 * gdb.base/signals.exp: Set count to 0 explicitly.
4126
0015fd9a
MS
41272001-03-15 Mark Salter <msalter@redhat.com>
4128
4129 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4130 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
4131 (gdb_load): Add support for additional target_info: gdb_download_size
4132 and gdb_load_timeout.
0015fd9a 4133
fc33412a
DT
4134Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4135
4136 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4137 file -- to prevent failing when the compile fails but we have no
4138 intention of running the tests anyway.
4139
4140 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4141 tests if set.
4142
4143 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4144 integers.
4145
4146 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4147 * gdb.c++/namespace.exp: Ditto.
4148
115f06de
OF
41492001-03-07 Orjan Friberg <orjanf@axis.com>
4150
4151 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4152 * gdb.base/pointers.exp: Relax pattern match of decimals.
4153
b6ba6518
KB
41542001-03-06 Kevin Buettner <kevinb@redhat.com>
4155
4156 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4157 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4158 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4159 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4160 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4161 config/sh.exp, config/sid.exp, config/slite.exp,
4162 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4163 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4164 config/vxworks.exp, config/vxworks29k.exp,
4165 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4166 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4167 gdb.base/arithmet.exp, gdb.base/assign.exp,
4168 gdb.base/async.exp, gdb.base/attach.exp,
4169 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4170 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4171 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4172 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4173 gdb.base/commands.exp, gdb.base/completion.exp,
4174 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4175 gdb.base/constvars.exp, gdb.base/corefile.exp,
4176 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4177 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4178 gdb.base/ending-run.exp, gdb.base/environ.exp,
4179 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4180 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4181 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4182 gdb.base/funcargs.exp, gdb.base/help.exp,
4183 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4184 gdb.base/logical.exp, gdb.base/long_long.exp,
4185 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4186 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4187 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4188 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4189 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4190 gdb.base/regs.exp, gdb.base/relational.exp,
4191 gdb.base/remote.exp, gdb.base/reread.exp,
4192 gdb.base/restore.exp, gdb.base/return2.exp,
4193 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4194 gdb.base/selftest.exp, gdb.base/setshow.exp,
4195 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4196 gdb.base/sigall.exp, gdb.base/signals.exp,
4197 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4198 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4199 gdb.base/step-test.exp, gdb.base/structs.c,
4200 gdb.base/structs.exp, gdb.base/structs2.exp,
4201 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4202 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4203 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4204 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4205 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4206 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4207 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4208 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4209 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4210 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4211 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4212 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4213 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4214 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4215 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4216 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4217 gdb.trace/circ.exp, gdb.trace/collection.exp,
4218 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4219 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4220 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4221 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4222 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4223 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4224 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4225 notices.
4226
dc96c6c7 42272001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
4228
4229 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4230 first arg is int not float.
4231
dc96c6c7 42322001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
4233
4234 * gdb.base/reread.exp: Unsupported for non-native targets;
4235 doesn't work for remote debugging.
4236
9b0c4aeb
FN
42372001-02-19 Fernando Nasser <fnasser@redhat.com>
4238
4239 From Drew Moseley <dmoseley@redhat.com>
4240 * gdb.base/ending-run.exp: Properly handle the BSP state when
4241 stepping past the end of main.
4242
02aa71d5
MC
42432001-02-19 John Moore <jmoore@redhat.com>
4244
4245 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4246 Converted HPUX fix for non-expected items following multiple
4247 step commands into general solution for all platforms.
4248
1fa449a4
MC
42492001-02-18 Michael Chastain <chastain@redhat.com>
4250
4251 * gdb.c++/classes.exp (do_tests): Change runto statements
4252 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4253 statements demangler agnostic.
4254 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4255 (gdb_virtfunc_restart): Likewise.
4256
b2f9ec70
MC
42572001-02-14 Michael Chastain <chastain@redhat.com>
4258
4259 * gdb.c++/inherit.exp (do_tests): Change runto statements
4260 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4261 statements demangler agnostic.
4262
cf74b8ca
AC
4263Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4264
4265 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4266 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4267 before calling common_routine 15 times'' tests.
4268
99f78f56
MC
42692001-02-11 Michael Chastain <chastain@redhat.com>
4270
4271 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4272 Helps the test script figure out which demangler is in use.
4273 (dm_type_foo_ref): Ditto.
4274 (dm_type_int_star): Ditto.
4275 (dm_type_long_star): Ditto.
4276 (dm_type_unsigned_int): Ditto.
4277 (dm_type_void): Ditto.
4278 (dm_type_void_star): Ditto.
99707966 4279 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4280 Probe the gdb demangler and set variables to accommodate
4281 formatting differences.
4282 (info_func_regexp): New function. Same as info_func, but
4283 matches against a regexp.
4284 (info_func): Match against a literal string.
4285 (print_addr_2): New function. Match against a literal string,
4286 which can be different from the input to gdb.
4287 (print_addr): Simply call print_addr_2 with the same argument twice.
4288 (test_lookup_operator_functions): Use demangler formatting variables.
4289 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4290 the tests in the same order as the C++ class declaration.
4291 (test_paddr_operator_functions): Ditto.
4292 (test_paddr_overloaded_functions): Ditto.
4293 (test_paddr_hairy_functions): Use demangler formatting variables.
4294 Add reference to gdb/19 for related tests.
4295 (do_tests): Call probe_demangler.
4296
1de8f023
KB
42972001-01-30 Kevin Buettner <kevinb@redhat.com>
4298
4299 * gdb.c++/templates.cc (printf): Remove unused function definition.
4300
ca3f91ed
MS
43012001-01-26 Felix Lee <flee@redhat.com>
4302
4303 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4304
43052001-01-25 matthew green <mrg@redhat.com>
4306
4307 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4308 up sid.
4309 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4310
43112001-01-25 matthew green <mrg@redhat.com>
4312
4313 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4314 Deprecate $sid_spawn_id.
4315 (sid_exit): Remove code necessary only for `spawn.'
4316
43172001-01-25 matthew green <mrg@redhat.com>
4318
4319 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4320
fb18ec4a
MC
43212001-01-28 Michael Chastain <chastain@redhat.com>
4322
4323 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4324 to call when tests fail. It takes gdb out of the overloaded
4325 function choice menu back to the main prompt, so that the test
4326 program stays synchronized.
4327 (set_bp_overloaded): New proc to collect all the common
4328 code for setting a breakpoint on an overloaded name. Calls
4329 take_gdb_out_of_choice_menu when needed.
4330 (menu_overload1arg): New variable to collect the repeated
4331 instances of the expected menu for an overloaded name. Change
4332 the regular expression to handle changes in g++ type encoding:
4333 "void" can be either "void" or "", and "unsigned int" can be
4334 either "unsigned int" or "unsigned".
4335 (continue_to_bp_overloaded): Change regular expressions to handle
4336 changes in g++ type encoding.
4337 (no proc): Call take_gdb_out_of_choice_menu when needed.
4338 Remove redundant calls to "info break". Accept either "canceled"
4339 or "cancelled". Change regular expressions in "info break"
4340 calls to handle changes in g++ type encoding. Give all tests
4341 unique strings.
4342
9c646a6e
BE
43432001-01-17 Ben Elliston <bje@redhat.com>
4344
4345 * config/sid.exp: New file.
4346
9549d9c1
AC
4347Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4348
4349 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4350
dc96c6c7 43512000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4352
4353 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4354 Add a RE to accept a non-ascii char if one is ever presented.
4355
b4df4f68
FN
43562000-12-20 Fernando Nasser <fnasser@redhat.com>
4357
297dd0fd 4358 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4359
dc96c6c7 43602000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
4361
4362 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4363 in regexp. One '\' does not suffice on Linux.
4364
4a7bddb6
MC
43652000-12-09 Michael Chastain <chastain@redhat.com>
4366
4367 * gdb.base/break.exp (test_clear_command): Use a marker function
4368 rather than 'main' for the test function. Also move this
4369 test to an execution point where the marker function names are
4370 guaranteed to be bound to functions. (Executing tests after a
4371 'finish' from main runs into name conflicts with local names
4372 in __libc_start_main).
4373
dc96c6c7 43742000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4375
4376 * gdb.base/finish.exp: New test for gdb's "finish" command.
4377 * gdb.base/return2.exp: New test for gdb's "return" command.
4378 * gdb.base/return2.c: New source file for above.
4379
dc96c6c7 43802000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4381
4382 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4383 * gdb.base/miscexprs.exp: Ditto.
4384 * gdb.base/pointers.exp: Ditto.
4385 * gdb.c++/derivation.exp: Ditto.
4386 * gdb.c++/local.exp: Ditto.
4387 * gdb.c++/namespace.exp: Ditto.
4388 * gdb.c++/overload.exp: Ditto.
4389 * gdb.c++/ref-types.exp: Ditto.
4390
dc96c6c7 43912000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4392
4393 * gdb.base/constvars.exp: Test result of "up" command.
4394 * gdb.base/miscexprs.exp: Ditto.
4395 * gdb.base/pointers.exp: Ditto.
4396 * gdb.base/scope.exp: Ditto.
4397 * gdb.c++/derivation.exp: Ditto.
4398 * gdb.c++/local.exp: Ditto.
4399 * gdb.c++/namespace.exp: Ditto.
4400 * gdb.c++/overload.exp: Ditto.
4401 * gdb.c++/ref-types.exp: Ditto.
4402
44097287
FN
44032000-11-22 Michael Chastain <chastain@redhat.com>
4404
4405 * mips_pro.exp: Accept either "middle -> top -> main" or
4406 "middle -> main" in the backtrace, because gcc can optimize
4407 tail calls to jumps. Remove setup_xfail for the hppa case.
4408 Add a comment with the original warning messages from PR 3016,
4409 which was filed in 1993, to preserve them for posterity.
4410
9d2e1bab
ND
44112000-11-17 Nick Duffek <nsd@redhat.com>
4412
4413 * lib/gdb.exp (gdb_test): Override timeout with board info.
4414
1aca8eb7
ND
44152000-11-17 Nick Duffek <nsd@redhat.com>
4416
4417 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4418 the second kill and detach messages.
4419
93076499
ND
44202000-11-17 Nick Duffek <nsd@redhat.com>
4421
4422 * configure.in: Add AC_EXEEXT.
4423 * configure: Regenerate.
4424 * Makefile.in (just-check): Export EXEEXT.
4425 * lib/gdb.exp ($EXEEXT): Import from environment.
4426 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4427 expect "maint dump-me" on Cygwin.
4428 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4429 $EXEEXT.
4430
30e87cd3
ND
44312000-11-17 Nick Duffek <nsd@redhat.com>
4432
4433 * gdb.base/break.exp: Test backtrace and finish from called
4434 function on all platforms, not just HP-UX.
4435
dc96c6c7 44362000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4437
4438 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4439 code from gdb_target_monitor, so it can be used independantly
4440 for gdbserver. Also comment out an unnecessary PUTS.
4441
dc96c6c7 44422000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4443
4444 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4445 * gdb.base/corefile.exp: Expect the message "Program is being
4446 debugged already" when we send the "corefile" command, since
4447 the preceeding gdb_load may have connected gdb to a remote target.
4448 * gdb.base/display.exp: Disable hardware watchpoints if new
4449 board info variable "no_hardware_watchpoints" is true.
4450 Replace single-letter commands with more readable ones.
4451 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4452 if new board info variable "no_hardware_watchpoints" is true.
4453 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4454 to see if stdio (printf) testing is possible.
4455 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4456 board info variable "no_hardware_watchpoints" is true. Use new
4457 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4458
39124dea
FN
44592000-11-13 Fernando Nasser <fnasser@redhat.com>
4460
4461 From Orjan Friberg <orjanf@axis.com>:
4462 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4463 in array print pattern match.
4464
a9e2e984
FN
44652000-11-09 Fernando Nasser <fnasser@redhat.com>
4466
4467 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4468 spelling "cancelled" to U.S. spelling "canceled" to match changes
4469 made to gdb.
4470 * gdb.c++/ovldbreak.exp: Ditto.
4471
c7db355b
PS
44722000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4473
4474 * gdb.base/callfuncs.c (main): Moved to end of file, call
4475 t_double_values to initialize the FPU before inferior calls are made.
4476 * gdb.base/callfuncs.exp: Test for register preservation after calling
4477 inferior functions. Add tests for continuining, finishing and
4478 returning from a stop in a call dummy.
4479
dc96c6c7 44802000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4481
4482 * gdb.base/commands.exp: Break up long lines, and re-indent.
4483
dc96c6c7 44842000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4485
4486 * config/gdbserver.exp: Rewritten from the ground up, to make it
4487 compatible with the current dejagnu tree, and to make it work with
4488 the new "gdbserver" in libremote.
4489
dc96c6c7 44902000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4491
4492 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4493 * gdb.base/varargs.exp: Skip entire test if no printf support.
4494 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4495 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4496
dc96c6c7 44972000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4498
4499 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4500 no floating point support.
4501 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4502 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4503 * gdb.base/call-rt-st.exp: Ditto.
4504 * gdb.base/call-strs.exp: Ditto.
4505
bac5fc66
JG
45062000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4507
4508 * gdb.base/sizeof.c: include <stdio.h>.
4509
4510 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4511 'finish', otherwise uncaptured gdb_prompt would potentially
4512 throw remaining test points out of sync.
4513
b22a6027
SB
45142000-07-26 Scott Bambrough <scottb@netwinder.org>
4515
4516 * gdb.base/recurse.exp: Run tests for all targets.
4517 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4518 gnu-oldld case on ARM.
4519 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4520 for ARM targets.
4521
d8231941
AG
4522Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4523
4524 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4525 * gdb.java/configure: Rebuild.
4526
8caabe69
AG
4527Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4528
4529 * gdb.java/jv-exp.exp: New file.
4530
9d273ca3
AG
4531Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4532
4533 * configure: Rebuilt.
4534 * configure.in (configdirs): Add gdb.java.
4535 * gdb.java/jmisc.java: New file.
4536 * gdb.java/jmisc.exp: New file.
4537 * gdb.java/Makefile.in: New file.
4538 * gdb.java/configure: Rebuilt.
4539 * gdb.java/configure.in: New file.
4540 * lib/java.exp: New file.
4541
4f823a66
AC
4542Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4543
4544 * gdb.base/exprs.exp: Test casts to a pointer including over and
4545 underflow.
4546
2391e11d
AC
4547Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4548
4549 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4550 and the compilers sizes.
4551
54602222
ND
45522000-07-09 Nick Duffek <nsd@redhat.com>
4553
4554 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4555 (use_methods): New function.
4556 (main): Call use_methods().
4557 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4558 (do_tests): Call test_method_param_class.
4559
2bec0572
ND
45602000-07-09 Nick Duffek <nsd@redhat.com>
4561
4562 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4563 spelling.
4564 (test_enums): New procedure. Move enum tests from end of script
4565 to here. Set breakpoint on function name instead of line number.
4566 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4567 (enums2): New marker function.
4568 (enums1): New function.
4569 (main): Call enums1(). Move enum tests to enums1().
4570
78492fde
AC
4571Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4572
4573 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4574 compile/link program. Update line numbers.
4575 * gdb.asm/d10v.inc: Define ``startup''.
4576 * gdb.asm/asmsrc1.s: Add definition of _start.
4577
49a2cef8
AC
4578Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4579
4580 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4581
3e6c8688
EZ
45822000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4583
4584 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4585 of 'help maint print' command.
4586
9ff5cbe9
AC
4587Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4588
4589 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4590 they use gdb_expect_list.
4591
17c579bd
AC
4592Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4593
4594 * gdb.base/commands.exp: Use ``set remote
4595 memory-read-packet-size'' instead of ``set endian big'' to test
4596 long commands.
4597
e6d71bf3
DB
45982000-06-03 Daniel Berlin <dan@cgsoftware.com>
4599
4600 * gdb.c++/templates.exp (do_tests): Make all of these work under
4601 g++, and stop skipping them.
4602
4603 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4604 work under g++.
4605
e5f9ba7b
MS
4606 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4607 initialization.
4608
dc96c6c7 46092000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4610
4611 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4612 the regular expression: accept an (almost) arbitrary sequence of
4613 "frames-invalid" and "breakpoints-invalid" messages both before
4614 and after the "starting" message.
4615
dc96c6c7 46162000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4617
4618 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4619
dc96c6c7 46202000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4621
4622 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4623 Relax the regular expression a little, make it pass on Solaris 8.
4624
8216cda9
KB
46252000-05-12 Kevin Buettner <kevinb@redhat.com>
4626
4627 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4628 a call, do not require that gdb stop on the line after the call.
4629 Instead, it is permissible for gdb to stop on the line of the
4630 call itself.
4631
1a570b2f
MS
46322000-05-12 Michael Snyder <msnyder@.cygnus.com>
4633
4634 * gdb.base/break.exp (bp on small function, optimized file):
4635 Add a second pass pattern. The behavior differs here between stabs
4636 and dwarf for one-line functions. Stabs preserves two line symbols
4637 (one before the prologue and one after) with the same line number,
4638 but dwarf regards these as duplicates and discards one of them.
4639 Therefore the address after the prologue (where the breakpoint is)
4640 has no exactly matching line symbol, and GDB reports the breakpoint
4641 as if it were in the middle of a line rather than at the beginning.
4642
dc96c6c7 46432000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
4644
4645 * gdb.base/interrupt.exp: Make "pass" message say "send"
4646 rather than "send_gdb" (for consistancy).
4647
7d418785
AC
4648Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4649
4650 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4651 * gdb.c++/templates.cc: Properly check for GCC version number.
4652 * lib/compiler.cc: Likewise
4653
dc96c6c7 46542000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
4655
4656 * gdb.base/break.exp: When compiled with -O2 optimization,
4657 gdb may not stop at the first line of main, due to code motion.
4658
dc96c6c7 46592000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4660
4661 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4662 This test depends on parsing the printf output from the target.
4663 Since the sparclet stub doesn't do stdio, this will never work.
4664 * gdb.base/call-rt-st.exp: ditto.
4665 * gdb.base/call-strs: ditto.
4666
dc96c6c7 46672000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4668
4669 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4670
4671 * gdb.base/ending-run.exp: After connecting to a remote target,
4672 but before running, the target will appear to be in a random
4673 location. Specify both a file and a line for breakpoints.
4674 Also, the function that calls main may be called 'init'
4675 rather than 'start'.
4676
a5a51225
EZ
46772000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4678
4679 * gdb.base/help.exp: Update output for add-symbol-file command.
4680
7930cc7c
FN
46812000-04-10 Fernando Nasser <fnasser@cygnus.com>
4682
4683 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4684 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4685
23e37ab1
C
46862000-04-07 J.T. Conklin <jtc@redback.com>
4687
e93c542c
C
4688 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4689
23e37ab1
C
4690 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4691
591b8fa3
PDM
4692Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4693
4694 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4695 values that can be represented exactly.
4696 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4697 above change, and to not check against the directory part of the source
4698 file name.
4699 (step into print_long_arg_list): Likewise.
4700 (print print_small_structs from print_long_arg_list): Likewise.
4701 (print print_long_arg_list): Likewise.
4702
7a495180
EZ
47032000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4704
30b53638 4705 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4706
beb998c6
AC
4707Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4708
4709 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4710
1c689132
DB
47112000-03-25 Daniel Berlin <dan@cgsoftware.com>
4712
4713 * gdb.base/commands.exp (deprecated_command_test): Add test for
4714 deprecate with no arguments.
4715
c1790a9d
JL
47162000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4717
4718 * gdb.base/break.exp: Add new test for setting breakpoints on
4719 optimized code so we can test breakpoints work even when function
4720 prologues may be optimized away
4721
003ba290
FN
47222000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4723
4724 From David Whedon <dwhedon@gordian.com>
4725 * gdb.base/commands.exp : Added command deprecator tests.
4726
6837a0a2
DB
47272000-03-22 Daniel Berlin <dan@cgsoftware.com>
4728
4729 * gdb.base/help.exp: Added test for new apropos command.
4730
b9593231
KB
47312000-03-21 Kevin Buettner <kevinb@redhat.com>
4732
4733 * gdb.base/pointers.c (usevar): New function.
4734 (main): Make sure that global variables v_int_pointer2, rptr,
4735 and y are all referenced someplace in the program by calling
4736 usevar() on them. [Some linkers delete symbols which are
4737 never referenced. The space remains, but there's no way to
4738 get a (symbolic) handle on the variable from the debugger.]
4739
751a959b
EZ
47402000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4741
4742 * gdb.base/printcmds.c: Add typedeffed arrays.
4743
4744 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4745 procedure to test arrays that are typedef'd.
4746
73a93a32
JI
47472000-03-13 James Ingham <jingham@leda.cygnus.com>
4748
4749 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4750 the library directories.
73a93a32 4751
fb40c209
AC
4752Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4753
4754 * configure.in (configdirs): Add sub directory gdb.mi.
4755 * configure: Re-generate.
4756
4757 * gdb.mi: New directory.
beb998c6 4758
ee4dd2c9
AC
47592000-02-25 Scott Bambrough <scottb@netwinder.org>
4760
4761 * gdb.base/long_long.exp: Correct test suite failure when printing
4762 a long long value as a double on ARM platforms.
4763
70f0cc22
JB
47642000-02-16 Jim Blandy <jimb@redhat.com>
4765
4766 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4767 default source file is set properly before running this test.
4768
853819b8
EZ
47692000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4770
4771 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4772 gdbtk/library directory, not in gdbtcl2.
4773
dfcd3bfb
JM
47742000-02-04 Jim Blandy <jimb@redhat.com>
4775
4776 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4777 backslash from regexp pattern.
4778
4779 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4780 procedure. Use it to run all the "continue to bp overloaded"
4781 tests. Note that this changes the names of the tests slightly.
4782 If the breakpoint hit message includes a hex PC value, because
4783 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4784 from the real source code, still consider that a pass.
4785
4786 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4787 XFAIL here if the breakpoint message contains a hex address. Note
4788 similar change on 1999-11-02.
4789
4790 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4791
4792 * gdb.base/ptype.exp: Establish a default source file before
4793 calling get_debug_format.
4794
47952000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4796
4797 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4798
8b93c638
JM
47992000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4800
4801 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4802 of successive stepi commands -- while in the prologue we should see
4803 the function entry bracket.
4804
48052000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4806
4807 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4808 reach __change_mode() when stepping through the end of main().
4809
c5394b80
JM
48102000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4811
4812 * gdb.base/default.exp: Fix expected pattern.
4813 * gdb.base/help.exp: Same.
4814
0d06e24b
JM
48152000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4816
4817 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4818 Don't use xfail's because that affects only the following test.
beb998c6 4819
0d06e24b
JM
4820 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4821 solaris or linux.
4822
4823 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4824
dc96c6c7 48252000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4826
beb998c6 4827 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4828 "A syntax error" rather than "A parse error". Accept both.
4829
48302000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4831
4832 * gdb.base/default.exp: Remove OS dependent string from "target
4833 remote" test.
4834 * gdb.base/help.exp: Same for "help target remote" test.
4835
c3f6f71d
JM
48362000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4837
4838 From Jim Kingdon <kingdon@redhat.com>:
4839
4840 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4841 prompt (cleanup rather than necessity, but still might keep output
4842 from spilling to next test).
4843
48442000-01-02 Fred Fish <fnf@cygnus.com>
4845
4846 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4847 AIX, which defines them in <sys/types.h>.
4848
ed9a39eb 48491999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4850
ed9a39eb
JM
4851 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4852 float" test.
4853
48541999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4855
ed9a39eb 4856 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4857
4858 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4859 outermost frame disallowed".
4860
48611999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4862
4863 * gdb.base/setvar.exp: New tests for setting the value of a struct
4864 with a constant list.
4865
48661999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4867
4868 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4869 require the user to type a cast before setting the value of a struct.
4870
de57eccd
JM
48711999-12-06 Jim Blandy <jimb@cygnus.com>
4872
4873 * gdb.base/default.exp: Expect the new 'info float' command on
4874 all i386 platforms.
4875
4876 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4877 LinuxThreads libraries that don't support debugging.
4878
c2d11a7d
JM
4879Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4880
4881 * gdb.base/remote.c: Fill the buffer with truely random data.
4882 Change the buffer type to ``unsigned char'' to simplify size
4883 arithmetic.
4884
4885 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4886 stub only handles 400-1 byte packets. Verify that the download
4887 worked.
4888
48891999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4890
4891 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4892 tests, using UNRESOLVED for the untested cases. Also, does not wait
4893 for a timeout if the prompt was received before a recognizable pattern.
4894
48951999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4896
4897 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4898
48991999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4900
4901 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4902 watchpoints.
4903
49041999-11-24 Jason Merrill <jason@casey.cygnus.com>
4905
4906 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4907
4908 * gdb.c++/local.exp: Be more flexible in recognizing local class
4909 name mangling. Don't allow horribly truncated method names.
4910 * gdb.c++/derivation.exp: Expect protected inheritance.
4911 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4912 * gdb.c++/virtfunc.exp: Likewise.
4913 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4914 when printing a nested enum.
4915
49161999-11-22 Jim Blandy <jimb@cygnus.com>
4917
4918 * gdb.base/step-test.exp: Properly await GDB's response to setting
4919 a breakpoint on the call to large_struct_by_value.
4920
4921 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4922 just because we have debug info for the `start' function.
4923
49241999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4925
4926 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4927 "Unknown signal" messages, which indicate (on LinuxThreads) that
4928 GDB doesn't know how to debug threads on this system. This is
4929 better than hanging while philosopher 0 dumps chatter into gdb.log.
4930
49311999-11-18 Tom Tromey <tromey@cygnus.com>
4932
4933 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4934
49351999-11-18 Fred Fish <fnf@cygnus.com>
4936
4937 * gdb.base/coremaker2.c: Add sample program for generating
4938 cores that is more self contained than coremaker.c. Eventually
4939 I'll add more code to this and tie it into the testsuite.
4940
4ce44c66
JM
49411999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4942
4943 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4944
49451999-11-10 Jimmy Guo <guo@cup.hp.com>
4946
4947 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4948 from $srcdir/lib/.
4949 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4950 and gdb.c++/.
4951
4952 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4953
beb998c6 4954 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4955 'continue with watch' test point.
4956
49571999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4958
4959 Merged from p2linux-990323-branch:
beb998c6 4960
4ce44c66
JM
4961 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4962
11cf8741
JM
4963Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4964
4965 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4966 {limit,fixed}''. Test ``set download-write-size''.
4967
4968Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4969
4970 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4971 gdb_expect_list.
4972
4973Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4974
4975 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4976
49771999-11-03 Mark Salter <msalter@cygnus.com>
4978
4979 * gdb.base/break.exp: Fix "stub continue" pattern.
4980
49811999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4982
4983 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4984
49851999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4986
4987 * gdb.base/display.exp ("finish"): Add timeout clause.
4988
4989 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4990 plain prompt clause, so this doesn't have to time out in order to
4991 fail.
4992
4993 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4994 breakpoint hit messages include an address.
4995
4996 * gdb.base/display.exp: Don't forget to escape parens in regular
4997 expressions. Unix regexp notatation sucks.
4998
49991999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5000
5001 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5002 order for 'signalled' message.
5003
5c44784c
JM
50041999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5005
5006 From Jimmy Guo <guo@cup.hp.com>:
5007 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5008 * gdb.base/annota1.c: Add code for tests to work with.
5009
50101999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5011
5012 * gdb.base/remote.exp: New test for remote downloading settings.
5013 * gdb.base/remote.c: New file with large .data.
5014
917317f4
JM
50151999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5016
5017 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5018 for LinuxThreads support, merged from the Code Fusion branch.
5019
5020Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5021
5022 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5023 containing exp_continue into a while within an expect. Don't
5024 attempt a start more than three times. Check return value from
5025 gdb_load.
beb998c6 5026
2df3850c
JM
5027Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5028
5029 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5030 a pass case.
5031
2acceee2
JM
50321999-10-01 Kevin Buettner <kevinb@cygnus.com>
5033
5034 * gdb.base/break.c (main): Added a statement that we can step
5035 off of.
5036 * gdb.base/break.exp: Added tests for setting a breakpoint
5037 at an offset and stepping onto a breakpoint.
5038
50391999-10-01 Fred Fish <fnf@cygnus.com>
5040
beb998c6 5041 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
5042 gdb output.
5043
c2c6d25f
JM
50441999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5045
5046 * gdb.base/break.exp: Code locations are in hex, don't forget!
5047 (For HP-UX.)
5048
50491999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5050
5051 * condbreak.exp: Use break.c as test program.
5052 * condbreak.c: Remove, redundant with break.c.
5053
50541999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5055
5056 * config/monitor.exp (gdb_target_monitor): Disable X- and
5057 Z-packets if the target needs it.
5058
50591999-09-13 James Ingham <jingham@leda.cygnus.com>
5060
5061 * gdb.c++/overload.exp: Added tests for listing overloaded
5062 functions with function pointers in the arg, explicitly calling
5063 out the version you want.
5064
cff3e48b
JM
50651999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5066
5067 * long_long.exp: Add variations of test cases that work for
5068 targets with 16-bit ints and 32-bit doubles.
5069
d4f3574e
SS
50701999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5071
5072 * break.c (main): Compare a possibly-uninitialized argc with an
5073 unlikely value that fits in 16 bits.
5074
50751999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5076
5077 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5078 0xfeeb, don't want negative numbers if ints are 16 bits.
5079
5080 * lib/gdb.exp (skip_cplus_tests): New proc.
5081 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5082 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5083 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5084 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5085 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5086 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5087 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5088 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5089
5090 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5091
5092Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5093
5094 * gdb.base/corefile.exp (up): Allow a parameter to appear
5095 in the frame that we're going up to.
5096
5097 From Jim Blandy <jimb@cygnus.com>:
5098
5099 * gdb.base/default.exp (info float): Expect some output now.
5100
5101 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5102 returning floating-point values to fail on the x86.
5103 * gdb.base/callfwmall.exp (do_function_calls): Same.
5104
5105 * gdb.base/list.exp (test_listsize): Correct expectations for
5106 listing line 1 with listsize 2. Also, listing a single line
5107 works now, as does listing three lines. [Kevin's note: There
5108 were a number of other cases fixed too where the expectations
5109 differed...]
5110
51111999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5112
5113 * gdb.base/selftest.exp: Add case for when version prints as
5114 constant string instead of char pointer.
5115
104c1213
JM
51161999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5117
5118 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5119 stepping out of main.
5120
5121 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5122 G++ used.
5123
5124 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5125 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5126
5127 * gdb.c++/ovldbreak.exp: Update match string in test that
5128 includes a warning of multiple breakpoints.
5129
51301999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5131
5132 * gdb.base/display.exp: Improve precision of step-after-finish
5133 added yesterday.
5134
5135 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5136 test.
5137
5138 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5139 configs when using G++, not just hppa*.
5140
51411999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5142
5143 * gdb.base/async.c: New file.
5144 * gdb.base/async.exp: New file.
5145
5146Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5147
5148 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5149 PA64.
5150
53a5351d
JM
5151Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5152
104c1213
JM
5153 * gdb.base/display.exp: "finish" can leave us mid-line on many
5154 targets, deal with it. Add a small constant to main, instead of
5155 1000 since main+1000 may not be a valid address in the target.
5156
53a5351d
JM
5157 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5158 on hpux11.
5159
5160 * gdb.base/attach.exp: Handle another hpux11 error message variant
5161 when attaching to a process that does not exist.
5162
51631999-08-19 J.T. Conklin <jtc@redback.com>
5164
5165 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5166 characters in 'continue to 1241' test.
5167
51681999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5169
5170 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5171 stop in print_long_arg_list, define and use a whitespace
5172 variable in print_small_structs test, add an XFAIL for Solaris.
5173 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5174 interested enough to fix.
5175
7be570e7
JM
51761999-08-13 Keith Seitz <keiths@cygnus.com>
5177
5178 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5179 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5180 proc knows about targets other than the natives.
5181 (test_assign): Use "gdb_run_cmd" to "run" the target.
5182 Check that we've actually hit the breakpoint at main.
5183 When we attempt to assign a value to a local variable, check
5184 that the variable is in the current scope, i.e., don't use
5185 a test with an empty result.
5186
5187Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5188
5189 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5190 command.
5191
51921999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5193
5194 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5195 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5196 gdb.compat, gdb.threads-hp.
5197 gdb.hp/configure, gdb.hp/configure.in: New files.
5198 gdb.hp/Makefile.in: Recurse into new subdirs.
5199 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5200 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5201 in object files.
5202 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5203
96baa820
JM
52041999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5205
5206 * gdb.base/display.exp: Help expect by putting a newline in the
5207 funky printf, remove a bogus p/a test.
5208
52091999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5210
5211 * gdb.base/display.exp: Make sure that when we say 'run', we are
5212 connected to the target. This is necessary when running not
5213 natively.
5214
52151999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5216
5217 * gdb.base/step-test.exp: Removed some extraneous messages.
5218
5219 * gdb.base/long_long.exp: Don't run memory examination tests
5220 on little-endian targets (they will need a different set of
5221 results to match).
5222
52231999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5224
5225 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5226 until somebody decides to fix GDB.
5227
5228 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5229 constant as "ULL".
5230 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5231 matches for a couple x/2 commands.
5232
a0b3c4fd
JM
52331999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5234
5235 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5236 by merging in ref-types2 tests.
5237 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5238
5239 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5240 * gdb.c++/Makefile.in: Add standard actions.
5241 (EXECUTABLES): Rename from PROGS, update list.
5242 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5243 from gdb.hp.
5244 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5245 foo and bar locals.
5246 * gdb.c++/anon-union.exp: Fix tests to match.
5247 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5248 expect matches to handle output variations.
5249 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5250 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5251 output, add HP alternatives for new and delete prints.
5252 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5253 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5254 * gdb.c++/demangle.exp: Use $style when reporting failure.
5255 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5256 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5257 match alternatives.
5258 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5259 compilers.
5260 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5261 * gdb.c++/method.exp: Add match alternatives.
5262 * gdb.c++/misc.cc: Add bool types.
5263 * gdb.c++/misc.exp: Add tests for bool types.
5264 * gdb.c++/overload.exp: Add xfails.
5265 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5266 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5267 add some more template parameter tests (only for HP currently).
5268 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5269 * gdb.c++/virtfunc.cc: Add return type and value for main.
5270 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5271 match alternatives.
beb998c6 5272
a0b3c4fd
JM
52731999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5274
5275 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5276
52771999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5278
5279 * gdb.base/signals.exp: Don't expect getting a backtrace from
5280 within a signal handler to fail on Linux.
5281
52821999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5283
5284 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5285 * lib/gdb.exp: Remove some gratuitious semicolons.
5286 (delete_breakpoints): Increase timeout.
5287 (gdb_expect): Add -notransfer option.
5288 (gdb_test): Use -notransfer option.
5289 (get_compiler_info): Add f77 case.
5290 (get_compiler): New proc, split out from gdb_preprocess, add f77
5291 case.
5292 (gdb_preprocess): Call get_compiler.
5293
5294 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5295 * gdb.base/attach.exp, gdb.base/display.exp,
5296 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5297 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5298 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5299 third arg to gdb_test.
5300 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5301 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5302 HP-UX xfails, add others.
5303 * gdb.base/completion.exp: Reflect name change of self-test.
5304 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5305 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5306 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5307 HP failure number.
5308 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5309 useless HP-UX 10.30 references.
5310 * gdb.base/maint.exp: Loosen matches.
5311 * gdb.base/pointers.c (main): Declare more_code.
5312 * gdb.base/pointers.exp: Match on output of a `next'.
5313 * gdb.base/structs.c: Add prototypes.
5314 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5315 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5316
53171999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5318
5319 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5320 command.
5321
53221999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5323
5324 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5325 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
5326
5327 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5328 debug info. Deal with lack of signal hanlder info in stack.
5329
5330 From Jim Kingdon <kingdon@redhat.com>:
5331 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5332
5a2468f5
JM
53331999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5334
5335 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5336 gdb.base/foll-vfork.exp: Don't run for crosses.
5337
adf40b2e
JM
5338Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5339
5340 * gdb.base/configure.in: Check for gdbvars.exp instead of
5341 a1-selftest.exp.
5342 * gdb.base/configure: Re-generate.
5343
53441999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5345
5346 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5347 in trying to run first and name is too long.
5348
5349 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5350 pointers2.c and pointers2.exp, respectively.
5351 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5352 doschk happier.
5353
43e526b9
JM
53541999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5355
5356 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5357 callfuncs2.c and callfuncs2.exp.
5358
5359 * gdb.base/list.exp: Remove mistaken xfails.
5360 * gdb.base/list0.h: Add optional prototypes.
5361
9846de1b
JM
5362Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5363
5364 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5365 calling malloc.
5366 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5367 * ptype.exp: Move test for get_debug_format to before its first
5368 use.
5369
53701999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5371
5372 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5373 * gdb.base/annota2.cc, annota2.exp: Move from here.
5374 * gdb.c++/annota2.cc, annota2.exp: To here.
5375 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5376
43ff13b4
JM
5377Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5378
5379 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5380 a consistent format.
5381
085dd6e6
JM
53821999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5383
5384 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5385 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5386 HP compilers, also set the globals $true and $false.
5387
5388 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5389 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5390 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5391 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5392 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5393 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5394 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5395 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5396 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5397 whatis.c} Add C++ compatible function definitions and return
5398 types, add includes for library functions.
5399 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5400 * gdb.base/step-test.c (myglob): Rename from glob.
5401 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5402 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5403 files, move here from gdb.hp.
5404 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5405 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5406 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5407 Adjust line numbers in regexps.
5408
5409 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5410 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5411 instead of 0/1.
5412
5413 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5414 foll-vfork.exp: New files, move here from gdb.hp.
5415 * gdb.base/page.exp: New file, test of pagination command.
5416
5417 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5418 recursion test.
5419 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5420
5421 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5422 gdb.base/solib.exp: Fix compiler invocation process.
5423
5424 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5425 HP-UX 11, turn off overload resolution explicitly.
5426 * gdb.base/commands.exp: Set argument list explicitly, add
5427 watchpoint test.
5428 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5429 them work.
5430 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5431 expressions properly.
5432 * gdb.base/corefile.exp: Loosen the match slightly.
5433 * gdb.base/default.exp: Allow "Error accessing memory" message
5434 also.
5435 * gdb.base/display.exp: Skip over x/0 j if PA64.
5436 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5437 * gdb.base/interrupt.exp: Ditto.
5438 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5439 in use.
5440 * gdb.base/list.exp: Add xfails for HP-UX.
5441 * gdb.base/long_long.exp: Refine some of the numeric matches.
5442 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5443 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5444 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5445 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5446 * gdb.base/ptype.exp: Succeed on more varieties of output.
5447 * gdb.base/scope.exp: Add xfails for HP-UX.
5448 * gdb.base/sect-cmd.exp: Add more cases.
5449 * gdb.base/setvar.exp: Add xfails for HP-UX.
5450 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5451 * gdb.base/signals.exp: Match on void symbolically.
5452 * gdb.base/step-test.exp: Add case for PA64.
5453 * gdb.base/term.exp: Add exit and restart.
5454 * gdb.base/twice.exp: Clean up after self.
5455 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5456 * gdb.base/whatis.exp: Allow more ways to pass tests.
5457
5458 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5459 no longer useful.
5460
5461Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5462
5463 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5464 list of patterns.
5465 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5466 print_double_array(double_array)", "continuing to breakpoint
5467 1018", "print print_double_array(array_d)" and "continuing to
5468 1034" tests.
beb998c6 5469
085dd6e6
JM
54701999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5471
5472 * Makefile.in: Add empty html and install-html targets.
5473
54741999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5475
5476 * config/mt-*: Remove, these haven't been used since 1996.
5477
54781999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5479
5480 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5481 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5482 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5483
9e0b60a8
JM
54841999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5485
5486 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5487 simpler match case for the ptype of the big class.
5488
54891999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5490
5491 * gdb.exp: Fix test for gdb_prompt existence.
5492
54931999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5494
5495 * gdb.exp (gdb_test): Add fail after calls to perror.
5496
54971999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5498
5499 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5500
55011999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5502
5503 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5504
0f71a2f6
JM
5505Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5506
5507 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5508 malloc() is linked in.
5509
55101999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5511
5512 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5513 step at end.
5514
5515 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5516
55171999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5518
5519 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5520
cce74817
JM
5521Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5522
5523 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5524 * gdb.base/mips_pro.exp: Likewise.
5525
55261999-06-02 Keith Seitz <keiths@cygnus.com>
5527
5528 * gdb.c++/templates.cc: Change all "new" operators to throw
5529 an exception.
5530 * gdb.c++/cplusfuncs.cc: Likewise.
5531
5532 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5533
5534Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5535
5536 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5537 * gdb.base/ending-run.exp: When stepping out of main, accept a
5538 step into an arbitrary assembler file.
5539
392a587b
JM
55401999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5541
beb998c6 5542 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5543 "breakpoint-invalid" to be printed.
beb998c6 5544 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5545 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5546 * gdb.base/annota2.cc: Initialize a.x to 0.
5547
9e086581
JM
55481999-05-17 Keith Seitz <keiths@cygnus.com>
5549
5550 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5551 when "skip_float_tests" set.
5552 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5553 "print print_ten_doubles", and "step into print_long_arg_list".
5554 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5555 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5556 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5557 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5558 "skip_float_tests" is set.
5559 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5560 when "skip_float_tests" set.
beb998c6 5561
cd0fc7c3
SS
55621999-05-06 Keith Seitz <keiths@cygnus.com>
5563
5564 * gdb.base/annota2.cc: Include stdio.h.
5565
5566Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5567
5568 * gdb.base/crossload.exp: Remove, this has been disabled ever
5569 since BFD stopped including all targets, and cross-GDB gets
5570 plenty of testing anyway.
5571 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5572 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5573 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5574 * gdb.base/README: Remove, was doc for this.
5575 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5576 needed.
5577
b83266a0
SS
55781999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5579
5580 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5581 output.
5582
5583 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5584 * gdb.base/annota2.exp: New file. More annotation tests.
5585 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5586 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5587
55881999-04-23 Angela Marie Thomas <angela@cygnus.com>
5589
5590 * config/cfdbug.exp: New file.
5591
7a292a7a
SS
55921999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5593
5594 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5595 Marcus Daniel's and Dale Hawkins's demangler crashes.
5596
5597 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5598 test_lucid_style_demangling, test_arm_style_demangling,
5599 test_hp_style_demangling): Try Tom Tromey's core-dumping
5600 identifier under each demangling style.
5601
56021999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5603
5604 * gdb.c++/demangle.exp: Include the current demangling style
5605 in all test names.
5606 (current_demangling_style): New global variable.
5607 (set_demangling_style, test_demangling_core, test_demangling,
5608 test_demangling_exact): New functions.
5609 (test_gnu_style_demangling, test_lucid_style_demangling,
5610 test_arm_style_demangling, test_hp_style_demangling): Use those,
5611 instead of calling gdb_test and gdb_test_exact directly.
5612 (catch_demangling_errors): New function, which reports errors
5613 signalled by the demangling test functions in an orderly way.
5614 (do_tests): Use catch_demangling_errors.
5615
56161999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5617
5618 * gdb.base/signals.exp (test_handle_all_print): Use () for
5619 grouping in expressions, not {}.
5620
5621 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5622 initialized yet.
5623
56241999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5625
5626 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5627 are listed.
5628
56291999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5630
5631 * gdb.stabs/weird.exp: Test for CC being defined before
5632 looking at its value.
5633
56341999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5635
5636 * gdb.base/call-ar-st.exp: Remove stray '#'.
5637 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5638 "short int" and "long int".
5639 * gdb.c++/overload.cc: Cast the string added in the previous
5640 change, to mollify finicky HP compiler.
5641 * gdb.hp/reg-test.exp (testfile): Fix file name.
5642 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 5643
7a292a7a
SS
5644 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5645 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5646 alternate form of enum ptype.
5647
c906108c
SS
56481999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5649
7a292a7a
SS
5650 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5651 * gdb.hp/*.exp: Change all to run compiler probe only after
5652 passing skip_hp_tests, so as not to waste time on guaranteed
5653 failure.
5654
c906108c
SS
5655 * gdb.c++/overload.cc: Pass string instead of char addr, always
5656 init ccpfoo.
5657 * gdb.c++/templates.cc: Fix syntax error.
5658
7a292a7a
SS
5659Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5660
5661 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 5662 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5663 command.
5664
56651999-03-18 James Ingham <jingham@cygnus.com>
5666
5667 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5668
5669 * gdb.c++/method.exp: It was testing an uninitialized int on the
5670 stack and assuming it was positive.
5671
5672 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5673
5674 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 5675 keep it from killing the rest of the tests.
7a292a7a
SS
5676 Use gdb_continue_to_end.
5677
5678 * gdb.base/sigall.exp: use gdb_continue_to_end.
5679
5680 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5681
5682 * gdb.base/display.exp: use runto_main, not run.
5683
beb998c6
AC
5684 * gdb.base/default.exp: Check for the current error message in the
5685 r abbreviation test.
7a292a7a
SS
5686 Add strongarm to the targets that know info float.
5687
beb998c6 5688 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5689 run which doesn't work with monitors.
5690
5691 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5692
5693 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5694
5695 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
5696 program. Traps the case (in Cygmon) when the program never really
5697 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5698 more places, so I used my name. Sorry Mark...
5699
5700 * config/monitor.exp (gdb_target_monitor): added another
5701 target_info parameter: remotebinarydownload. This will set the
5702 remotebinarydownload flag if this is causing some boards trouble.
5703
57041999-03-18 Mark Salter <msalter@cygnus.com>
5705
5706 * lib/gdb.exp (continue_to_exit): New function.
5707
5708 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5709 * gdb.base/ending-run.exp: Ditto.
5710 * gdb.base/step-test.exp: Ditto.
5711
57121999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5713
5714 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5715 (suggested by Art Haas <ahaas@neosoft.com>).
5716
57171999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5718
5719 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5720
5721Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5722
5723 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5724 descriptions of types (short unsigned int vs unsigned short, etc).
5725
57261999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5727
5728 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5729 a call to strlen; sometimes we do have sources.
5730
57311999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5732
5733 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5734 character, so GDB won't print garbage after its end.
beb998c6 5735
c906108c
SS
5736 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5737 breakpoint there instead. Sometimes GCC emits memcpy to handle
5738 the large structures being passed by value, so we step into that
5739 instead of sum_array_print, which obscures what we're really testing.
5740 * gdb.base/step-test.exp: However, we do want a test that notices
5741 the bizarre steps into memcpy, so do that here. Add check for
5742 stepping into function calls that pass large structures by value.
5743 ("Is that a noun clause, or are you just happy to see me?")
5744 Remove all references to specific line numbers.
5745 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5746 New type and function.
5747 (main): Call large_struct_by_value, passing it a large struct by value.
5748 * lib/gdb.exp (gdb_get_line_number): New function.
5749
5750 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5751 more portable.
5752
7a292a7a
SS
57531999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5754
c906108c
SS
5755 * lib/gdb.exp: Doc fixes.
5756
7a292a7a
SS
57571999-03-05 Nick Clifton <nickc@cygnus.com>
5758
beb998c6 5759 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5760
57611999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5762
c906108c
SS
5763 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5764 commands. They're not germane to this test, and they don't work
5765 that way on remote targets.
5766
3fc11d3e
JM
57671999-03-01 James Ingham <jingham@cygnus.com>
5768
5769 * Changelog entries merged over from gdb development branch.
5770
3fc11d3e
JM
5771 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5772
5773 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5774 for outputting results of test run.
5775
2d4a1622 5776 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5777
5778 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5779
7a292a7a
SS
57801999-02-25 Felix Lee <flee@cygnus.com>
5781
5782 * lib/gdb.exp (debug_format): initialize
5783
c906108c
SS
57841999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5785
5786 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5787 * gdb.base/call-rt-st.c: Ditto.
5788
c906108c
SS
57891999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5790
5791 * gdb.threads/pthreads.exp (horiz): New variable.
5792 (test_startup): Fix regexps that capture thread numbers.
5793
57941999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5795
5796 * gdb.base/smoke.exp: Disambiguate two test case names (both
5797 called ``print'').
5798
5799Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5800
5801 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5802 compilation.
5803
58041999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5805
5806 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5807 actual output formatting.
5808 * gdb.base/smoke.exp: GDB removes leading 0's.
5809 * gdb.base/volatile.exp: Don't check type of remuneration;
5810 that variable is no longer defined in constvars.c.
5811 * gdb.base/step-test.c (main): Exit with explicit exit code.
5812 * gdb.base/step-test.exp: Remove two nexti checks--they are
5813 not portable.
5814
58151999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5816
5817 * gdb.base/help.exp ("help delete display"): Fix test to match
5818 gdb's output.
5819
5820 * gdb.base/long_long.c (known_types): Initialize values to zero.
5821 * gdb.base/long_long.exp: Step one more line
5822 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5823 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5824 unique test case names.
5825
5826Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5827
beb998c6 5828 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5829
5830 * gdb.c++/method.exp: Add missing close brace.
5831
58321999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5833
5834 * gdb.base/maint.exp: Use 'set height 0' to disable page
5835 prompting, not 'set height 400'.
5836
5837 Fix a bunch of timeouts.
5838 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5839 four separate tests, so expect doesn't take forever to match a ton
5840 of text against a regexp with lots of .* forms.
5841 ("maint print psymbols", "maint print symbols"): Make some of
5842 these greps more selective, so that expect doesn't try to wade
5843 through huge piles of output and time out.
5844
5845 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5846
5847 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5848 tests: one which doesn't expect shlib events to be reported, and
5849 another which does, but is XFAIL for all platforms other than
5850 HP/UX.
5851
5852 * gdb.base/break.exp: Teach the test suite that the `catch
5853 fork', `catch vfork', and `catch exec' commands produce error
5854 messages on platforms that don't provide these features.
5855
5856Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5857
5858 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5859 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5860 (shortening names from solib_threshold.exp etc), won't run on
5861 anything but HP-UX for the foreseeable future.
5862 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5863 reflect move.
5864
5865Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5866
5867 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5868 gdb.trace/Makefile.in (clean): Remove all test executables.
5869
5870Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5871
5872 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5873 successfully re-sets breakpoints in shared libraries.
5874 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5875
5876Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5877
beb998c6
AC
5878 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5879 and compiled w/o GCC.
c906108c
SS
5880
5881 * gdb.hp/watch-cmd.exp: ditto.
5882
5883 * gdb.hp/watch-hp.exp: ditto.
5884
5885 * gdb.hp/xdb1.exp: ditto.
5886
5887 * gdb.hp/xdb2.exp: ditto.
5888
5889 * gdb.hp/dbx.exp: ditto.
5890
5891Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5892
5893 * constvars.c: Remove C++-isms.
5894 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5895 with GCC.
5896
5897Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5898
5899 The following changes are part of the HP merge.
5900
5901 * gdb.base/break.exp: new tests to verify that catchpoints for
5902 fork, vfork, and exec don't trigger inappropriately.
5903
5904 * gdb.base/opaque.exp: compile one file at a time, then link.
5905
5906 * gdb.base/signals.exp: be more restrictive about which hppa
5907 systems receive a setup_xfail. new tests.
5908
5909 * gdb.base/solib_threshold.build: new file.
5910 * gdb.base/solib_threshold.exp: new file.
5911 * gdb.base/solib_threshold.link_opts: new file.
5912 * gdb.base/solib_threshold.mk: new file.
5913 * gdb.base/gen_solib_threshold.c: new file.
5914
5915 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5916 tests. New tests for enums inside classes.
5917
5918 * gdb.c++/compiler.cc: indicate support of template debugging.
5919
5920 * gdb.c++/demangle.exp: run hp style demangling tests.
5921
5922 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5923 tests.
5924
5925 * gdb.c++/misc.cc: changes to support new tests.
5926
5927 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5928 to support new tests.
5929
5930 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5931 gcc, then skip these tests.
5932
5933Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5934
5935 The following files are part of the HP merge; some had longer
5936 names at HP, but have been renamed to be no more than 14
5937 characters in length.
5938
5939 * gdb.hp/ambiguous.cc: new file.
5940 * gdb.hp/ambiguous.exp: new file.
5941 * gdb.hp/attach.exp: new file.
5942 * gdb.hp/attach2.exp: new file.
5943 * gdb.hp/classes-hp.exp: new file.
5944 * gdb.hp/ctti.exp: new file.
5945 * gdb.hp/ctti-add.cc: new file.
5946 * gdb.hp/ctti-add1.cc: new file.
5947 * gdb.hp/ctti-add2.cc: new file.
5948 * gdb.hp/ctti-add3.cc: new file.
5949 * gdb.hp/dbx.exp: new file.
5950 * gdb.hp/exception.cc: new file.
5951 * gdb.hp/exception.exp: new file.
5952 * gdb.hp/foll-exec.c: new file.
5953 * gdb.hp/foll-exec.exp: new file.
5954 * gdb.hp/foll-fork.c: new file.
5955 * gdb.hp/foll-fork.exp: new file.
5956 * gdb.hp/foll-vfork.c: new file.
5957 * gdb.hp/foll-vfork.exp: new file.
5958 * gdb.hp/inherit-hp.exp: new file.
5959 * gdb.hp/more-steps.exp: new file.
5960 * gdb.hp/namespace.cc: new file.
5961 * gdb.hp/namespace.exp: new file.
5962 * gdb.hp/optimize.exp: new file.
5963 * gdb.hp/pxdb.c: new file.
5964 * gdb.hp/pxdb.exp: new file.
5965 * gdb.hp/quicksort.exp: new file.
5966 * gdb.hp/reg-test.exp: new file.
5967 * gdb.hp/reg-test.s: new file.
5968 * gdb.hp/sized-enum.c: new file.
5969 * gdb.hp/sized-enum.exp: new file.
5970 * gdb.hp/start-stop.exp: new file.
5971 * gdb.hp/templ-hp.cc: new file.
5972 * gdb.hp/templ-hp.exp: new file.
5973 * gdb.hp/thr-lib.c: new file.
5974 * gdb.hp/thr-lib.exp: new file.
5975 * gdb.hp/thr-lib.h: new file.
5976 * gdb.hp/thr-liblib.c: new file.
5977 * gdb.hp/virtfun-hp.c: new file.
5978 * gdb.hp/virtfun-hp.exp: new file.
5979 * gdb.hp/watch-cmd.exp: new file.
5980 * gdb.hp/watch-hp.exp: new file.
5981 * gdb.hp/xdb1.exp: new file.
5982 * gdb.hp/xdb2.exp: new file.
5983 * gdb.hp/xdb3.exp: new file.
5984
5985Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5986
5987 The following files are part of the HP merge; some had longer
5988 names at HP, but have been renamed to be no more than 14
5989 characters in length.
5990
5991 * gdb.base/ss.h: new file.
5992 * gdb.base/call-ar-st.c: new file.
5993 * gdb.base/call-ar-st.exp: new file.
5994 * gdb.base/call-rt-st.c: new file.
5995 * gdb.base/call-rt-st-exp: new file.
5996 * gdb.base/call-strs.exp: new file.
5997 * gdb.base/ena-dis-br.exp: new file.
5998 * gdb.base/environ.exp: new file.
5999 * gdb.base/long_long.exp: new file.
6000 * gdb.base/sect-cmd.exp: new file.
6001 * gdb.base/shlib-cl2.exp: new file.
6002 * gdb.base/smoke.exp: new file.
6003 * gdb.base/so-impl-ld.c: new file.
6004 * gdb.base/so-impl-ld.exp: new file.
6005 * gdb.base/so-indr-cl.c: new file.
6006 * gdb.base/so-indr-cl.exp: new file.
6007 * gdb.base/varargs.exp: new file.
6008 * gdb.base/volatile.exp: new file.
6009 * gdb.base/whatis-exp.exp: new file.
7a292a7a 6010 * gdb.base/display.exp: new file.
c906108c
SS
6011 * gdb.c++/derivation.exp: new file.
6012 * gdb.c++/local.exp: new file.
6013 * gdb.c++/member-ptr.exp: new file.
6014 * gdb.c++/overload.exp: new file.
6015 * gdb.c++/ovldbreak.exp: new file.
6016 * gdb.c++/ref-types.exp: new file.
6017 * gdb.c++/ref-types2.exp: new file.
6018 * gdb.c++/userdef.exp: new file.
beb998c6 6019
c906108c
SS
6020Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6021
6022 * gdb.base/default.exp: Reflect wording change in remote.c.
6023
dc96c6c7 6024Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6025
6026 * gdb.base/help.exp: Update to reflect current text.
6027
6028Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6029
6030 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6031 they're stack variables and contain garbage.
6032 * gdb.c++/anon-union.exp: new file.
6033
6034 The following changes were made by David Taylor
6035 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6036 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6037 in changes by HP.
6038
6039 * gdb.base/bitops.exp: new file.
6040 * gdb.base/default.exp: change expected messages for catch and
6041 info catch tests to reflect HP merge changes.
6042 * gdb.base/enable-disable-break.exp
6043 * gdb.base/ending-run.c: new file.
6044 * gdb.base/long_long.c: new file.
6045 * gdb.base/maint.exp: new file.
6046 * gdb.base/pointers2.exp: new file.
6047 * gdb.base/shlib-call2.exp: new file.
6048 * gdb.base/solib.exp: new file.
6049 * gdb.base/step-test.c: new file.
6050 * gdb.c++/anon-union.cc: new file.
6051 * gdb.c++/local.cc: new file.
6052 * gdb.c++/member-pointer.cc: new file.
6053 * gdb.c++/method.cc: new file.
6054 * gdb.c++/ref-types.cc: new file.
6055 * gdb.c++/ref-types2.cc: new file.
6056 * gdb.c++/userdef.cc: new file.
beb998c6 6057
c906108c
SS
6058 * gdb.base/scope.exp: compile one file at a time, then link.
6059 * gdb.base/langs.exp: ditto.
6060 * gdb.base/list.exp: ditto.
beb998c6 6061
c906108c
SS
6062Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6063
6064 The following changes were made by David Taylor
6065 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6066 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6067 in changes by HP.
beb998c6 6068
c906108c
SS
6069 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6070 skip tests. When compiling pass c++ flag to gdb_compile.
6071 * gdb.c++/
beb998c6 6072
c906108c
SS
6073 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6074 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6075 (skip_hp_tests): new function.
6076 (gdb_preprocess): new function.
6077
6078 * configure.in (hpdir): decide whether to configure gdb.hp.
6079 * configure: regenerated.
6080
6081 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6082 to delete on clean.
6083 (EXECUTABLES): update to reflect new additions.
6084 * gdb.base/commands.exp: update message expected.
6085 * gdb.base/default.exp: add copyright notice.
6086 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6087 * gdb.base/help.exp: update messages to reflect current text.
6088 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6089 targets for recurse tests.
6090 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6091 skip this file.
6092
6093 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6094 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6095 compilation.
6096 * gdb.c++/misc.exp: ditto.
6097 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6098 run the tests. tell gdb_compile that it's a c++ compilation.
6099
6100 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 6101
c906108c
SS
6102 * gdb.base/all-bin.exp: new file.
6103 * gdb.base/arithmet.exp: new file.
6104 * gdb.base/assign.exp: new file.
6105 * gdb.base/completion.exp: new file.
6106 * gdb.base/cond-expr.exp: new file.
6107 * gdb.base/condbreak.exp: new file.
6108 * gdb.base/define.exp: new file.
6109 * gdb.base/dollar.exp: new file.
6110 * gdb.base/environment.exp: new file.
6111 * gdb.base/eval-skip.exp: new file.
6112 * gdb.base/jump.exp: new file.
6113 * gdb.base/logical.exp: new file.
6114 * gdb.base/pointers.exp: new file.
6115 * gdb.base/relational.exp: new file.
6116 * gdb.base/section_command.exp: new file.
6117 * gdb.base/whatis-expr.exp: new file.
6118
6119 * gdb.base/all-types.c: new file.
6120 * gdb.base/call-array-struct.c: new file.
6121 * gdb.base/call-return-struct.c: new file.
6122 * gdb.base/call-strings.c: new file.
6123 * gdb.base/callfuncs2.c: new file.
6124 * gdb.base/condbreak.c: new file.
6125 * gdb.base/constvars.c: new file.
6126 * gdb.base/display.c: new file.
6127 * gdb.base/int-type.c: new file.
6128 * gdb.base/jump.c: new file.
6129 * gdb.base/miscexprs.c: new file.
6130 * gdb.base/pointers.c: new file.
6131 * gdb.base/pointers2.c: new file.
6132 * gdb.base/shmain.c: new file.
6133 * gdb.base/shr1.c: new file.
6134 * gdb.base/shr2.c: new file.
6135 * gdb.base/solib.c: new file.
6136 * gdb.base/solib1.c: new file.
6137 * gdb.base/solib2.c: new file.
6138 * gdb.base/varargs.c: new file.
6139 * gdb.c++/derivation.cc: new file.
6140 * gdb.c++/overload.cc: new file.
6141 * gdb.c++/ovldbreak.cc: new file.
6142 * gdb.hp/attach.c: new file.
6143 * gdb.hp/attach2.c: new file.
6144 * gdb.hp/average.c: new file.
6145 * gdb.hp/compiler.c: new file.
6146 * gdb.hp/compiler.cc: new file.
6147 * gdb.hp/execd-program.c: new file.
6148 * gdb.hp/follow-exec.c: new file.
6149 * gdb.hp/follow-fork.c: new file.
6150 * gdb.hp/follow-vfork-and-exec.c: new file.
6151 * gdb.hp/misc-hp.cc: new file.
6152 * gdb.hp/more-steps.c: new file.
6153 * gdb.hp/optimize.c: new file.
6154 * gdb.hp/quicksort.c: new file.
6155 * gdb.hp/run-hp.c: new file.
6156 * gdb.hp/start-stop.c: new file.
6157 * gdb.hp/sum.c: new file.
6158 * gdb.hp/templates-hp.cc: new file.
6159 * gdb.hp/thread-local-in-lib.c: new file.
6160 * gdb.hp/thread-local-in-lib.h: new file.
6161 * gdb.hp/thread-local-in-lib.lib.c: new file.
6162 * gdb.hp/vforked-program.c: new file.
6163 * gdb.hp/virtfunc-hp.cc: new file.
6164 * gdb.hp/watchpoint-hp.c: new file.
6165 * gdb.hp/xdb.c: new file.
6166 * gdb.hp/xdb0.c: new file.
6167 * gdb.hp/xdb0.h: new file.
6168 * gdb.hp/xdb1.c: new file.
6169
6170Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6171
6172 The following change was made by Edith Epstein
6173 <eepstein@cygnus.com> as part of a project to merge in changes
6174 originally made by HP; HP did not create ChangeLog entries.
6175
6176 * gdb.c++/demangle.exp: changed the expected output for some
6177 ARM-style mangling -- removed second reference to datatype.
6178 For example, maint demangle __dt__11T1__pt__2_cFv
6179 T1<char>::~T1<char>(void)
6180 becomes,
6181 maint demangle __dt__11T1__pt__2_cFv
6182 T1<char>::~T1(void)
6183
6184 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 6185
c906108c
SS
6186Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6187
6188 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6189 * gdb.trace/backtrace.exp: Likewise.
6190 * gdb.trace/circ.exp: Likewise.
6191 * gdb.trace/collection.exp: Likewise.
6192 * gdb.trace/deltrace.exp: Likewise.
6193 * gdb.trace/infotrace.exp: Likewise.
6194 * gdb.trace/limits.exp: Likewise.
6195 * gdb.trace/packetlen.exp: Likewise.
6196 * gdb.trace/passc-dyn.exp: Likewise.
6197 * gdb.trace/passcount.exp: Likewise.
6198 * gdb.trace/report.exp: Likewise.
6199 * gdb.trace/save-trace.exp: Likewise.
6200 * gdb.trace/tfind.exp: Likewise.
6201 * gdb.trace/tracecmd.exp: Likewise.
6202 * gdb.trace/while-dyn.exp: Likewise.
6203 * gdb.trace/while-stepping.exp: Likewise.
6204
62051998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6206
6207 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6208
6209Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6210
6211 From Brendan Kehoe:
6212 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6213 int return types.
6214
6215Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6216
6217 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6218 remote dos host testing right.
6219
6220Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6221
6222 * gdb.base/corefile.exp: remove some xfails.
6223
6224Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6225
6226 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6227 have different timestamps.
6228
6229Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6230
6231 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6232 gdb.base/default.exp: Replace "exec" with "executable".
6233
6234Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6235
6236 * gdb.base/default.exp: Change else if to elseif from previous
6237 delta.
6238
6239Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6240
6241 * gdb.base/default.exp: Add brace missing from previous delta.
6242
6243Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6244
6245 * gdb.base/default.exp: Support test for info float for all
6246 varieties of arm toolchain.
6247
dc96c6c7 6248Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6249
6250 * gdb.trace/*.exp: remove "remote_download" command.
6251
dc96c6c7 6252Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6253
6254 * gdb.trace/*.exp: remove -gdwarf from compile.
6255
6256Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6257
6258 * gdb.trace/configure.in(AC_INIT): typo
6259 * gdb.trace/configure: regenerated
6260
dc96c6c7 6261Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6262
6263 * config/m68k-emc.exp: New file.
6264 * lib/<emc-support.exp trace-support.exp}: New files.
6265 * configure.in: add new test directory gdb.trace.
6266 * gdb.trace/{configure configure.in Makefile.in}: New files.
6267 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6268 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6269 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6270 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6271 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6272 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6273 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 6274
dc96c6c7 6275Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6276
6277 * gdb.c++/classes.exp: Change all regular expressions to match
6278 arbitrary combinations of newline/carriage-return, so that they
6279 will work equally well on Unix and Windows.
6280 * gdb.c++/inherit.exp: ditto.
6281 * gdb.c++/virtfunc.exp: ditto.
6282
62831998-08-11 Dawn Perchik <dawn@cygnus.com>
6284
6285 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6286
c2d11a7d
JM
6287Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6288
6289 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6290 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6291 to use a0-a3/d0-d3 as needed.
6292
6293Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6294
6295 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6296 * gdb.disasm/am33.exp: Corresponding changes.
6297
c906108c
SS
62981998-07-11 Felix Lee <flee@cygnus.com>
6299
6300 * gdb.base/callfuncs.exp: add cmp10 test.
6301 * gdb.base/callfuncs.c (cmp10): new function.
6302
6303Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6304
beb998c6 6305 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6306 into two parts to get around a synchronization problem in expect.
6307
3fc11d3e
JM
6308Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6309
6310 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6311
6312 * configure.in: Add options for gdbtk testsuite.
6313
6314 * configure: Regenerate.
6315
6316 * gdb.gdbtk: New directory to hold gdbtk tests.
6317
c906108c
SS
6318Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6319
6320 * gdb.fortran/types.exp: Escape brackets in expect patterns
6321 for test_float_literal_types_accepted tests.
6322 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6323 before run test.
6324
c2d11a7d
JM
6325Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6326
6327 * am33.exp: Just compile, do not link the testcase.
6328 * am33.s: Add ".am33" pseudoop to force am33 mode.
6329
c906108c
SS
63301998-06-25 Felix Lee <flee@cygnus.com>
6331
6332 * gdb.base/setshow.exp: make sure $pc is sane.
6333
6334 * gdb.stabs/weird.exp: split expect patterns properly.
6335
c2d11a7d
JM
6336Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6337
6338 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6339 * gdb.disasm/am33.exp: Run it.
6340
dc96c6c7 6341Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6342
6343 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6344 match processing (and eliminate spurious timeouts when running).
6345
dc96c6c7 6346Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6347
6348 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6349 exception test, but conditionalize it on target [mach | gnu].
6350
dc96c6c7 6351Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6352
6353 * gdb.base/overlays.exp: fixup compile line for linker script.
6354
6355Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6356
6357 * gdb.fortran/types.exp: don't guess at float size.
6358
6359Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6360
6361 * gdb.base/exprs.exp: delete test that depends on int size.
6362
6363Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6364
6365 * config/sim.exp: Removed checks for target triplets.
6366 (gdb_target_sim): Use gdb,target_sim_options.
6367
6368Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6369
6370 * gdb.base/reread.exp: New file.
6371 * gdb.base/reread1.c: New file.
6372 * gdb.base/reread2.c: New file.
6373
6374Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6375
6376 * config/sim.exp: Use 'target sim -sparclite' when running
6377 SPARClite programs.
6378
6379Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6380
6381 * gdb.base/structs2.exp: New file.
6382 * gdb.base/structs2.c: New file.
6383
6384Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6385
6386 * gdb.asm/common.inc: New file.
6387 * gdb.asm/d10v.inc: New file.
6388 * asm-source.exp: Pass -I's to gas to find .inc files.
6389 Update line numbers in expected output.
6390 * asmsrc1.s: Rewrite.
6391 * asmsrc2.s: Rewrite.
6392 * configure.in: Create arch.inc symlink.
6393 * configure: Regenerate.
6394 * Makefile.in (distclean): Delete arch.inc.
6395
6396Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6397
6398 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6399 (t_enum_value2): ditto
6400 (t_enum_value3): ditto
6401 (main): ditto
6402Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6403
6404 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6405 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6406 change.
6407 Use gdb_test instead of send_gdb/gdb_expect sequences.
6408
6409Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6410
6411 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6412 not void.
6413
6414Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6415
6416 * gdb.base/branches.c: Code with lots of loops and
6417 subroutines. Used to test gdbs ability to single step through PC
6418 changes, especially to test mips-tdep.c:mips_next_pc
6419
6420Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6421
6422 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6423 more rigorous EGCS C++ error checking.
6424
6425Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6426
6427 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 6428 tests.
c906108c 6429 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 6430 function when asleep.
c906108c 6431 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
6432 for i*86 Linux and SVR4 signal handling problems.
6433 Remove linux xfail for `next to handler in signals_tests_1', fixed
6434 by recent infrun.c change.
c906108c 6435 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 6436 stack backtraces.
c906108c
SS
6437 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6438 target.[ch] change.
6439
6440Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6441
6442 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6443 for a newline from gdb before continuing.
6444 (default_gdb_exit): Just look for y or n.
6445 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6446 it does, fail the rests of the tests in the file.
6447
6448Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6449
6450 * config/cygmon.exp: New file.
6451
6452Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6453
6454 * gdb.base/list.exp: Fix problem with "list default lines around
6455 main" test on remote targets.
6456
6457 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6458 run test on remote targets.
6459
6460Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6461
6462 * gdb.asm: New directory.
6463 * configure.in: Configure it.
6464 * configure: Regenerate.
6465 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6466 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6467
6468Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6469
6470 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6471
dc96c6c7 6472Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6473
c906108c
SS
6474 * gdb.base/overlays (several files): Merge the two overlay
6475 managers into one. Change variables (foox, barx, bazx, grbxx)
6476 back into ints but force them to load in their proper sections.
6477
6478Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6479
6480 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6481 on-chip insn memory and IMAP1 to upper 128k.
6482 (D10VCopy): Handle memory regions crossing 16k boundaries.
6483 (D10VCopy): Transfer data in 32 bit chunks.
6484
6485Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6486
6487 * gdb.base/overlays.c (main): Exit normally when result is
6488 correct.
6489
6490 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6491 map. Include space for printf in .text segment.
6492
6493 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6494 updated d10v memory VMA/LMA map.
6495 (D10VCopy): Call D10VTranslate.
beb998c6 6496
c906108c
SS
6497Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6498
6499 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6500
6501 * gdb.base/bar.c (barx, bar): Change variable to small array so
6502 that it won't be put into the .sdata - small data -
6503 section. Update reference.
6504 * gdb.base/baz.c (bazx, baz): Ditto.
6505 * gdb.base/foo.c (foox, foo): Ditto.
6506 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6507
6508 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6509 to be arrays.
beb998c6 6510
dc96c6c7 6511Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6512
c906108c
SS
6513 * gdb.base/overlays.exp: fix up and get working again.
6514 Add tests for backtraces from an overlay function.
beb998c6 6515
c906108c
SS
6516Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6517
6518 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6519 "calling function with watchpoint enabled".
6520
6521Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6522
6523 * gdb.base/break.exp (test_next_with_recursion): Remove
6524 gdb_suppress_tests for d10v-*-*.
6525 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6526 pending review of whether it is useful or not.
6527
6528Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6529
6530 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6531
6532Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6533
6534 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6535 * config/dve.exp: New file to support Densan boards.
6536
6537Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6538
6539 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6540 reads and BSD.
6541
6542Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6543
6544 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6545 response.
6546
6547 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6548
6549Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6550
6551 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6552 test.
6553
6554 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6555 target_sizeof_long and target_bigendian_p.
6556 (structs_by_value, structs_by_reference): Check values according
6557 to targets word size and endianess.
beb998c6 6558
c906108c
SS
6559Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6560
6561 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6562 output.
6563
6564Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6565
6566 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6567 Update test of set args help to match source change.
6568
6569Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6570
6571 * gdb.base/default.exp: Expect help system output to be in
6572 alphabetical order.
6573 * gdb.base/help.exp: Ditto.
6574
6575Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6576
6577 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6578 "i*86-pc-linux-gnu*".
6579 * gdb.base/interrupt.exp: Ditto.
6580 * gdb.base/corefile.exp: Ditto.
6581
6582 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6583 define vxworks when building the testcase.
6584
6585 * gdb.base/ptype.exp: Fix testnames to be unique.
6586 * gdb.base/radix.exp: Ditto.
6587 * gdb.base/term.exp: Ditto.
6588 * gdb.base/whatis.exp: Ditto.
6589 * gdb.c++/classes.exp: Ditto.
6590
6591Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6592
6593 * gdb.base/callfuncs.exp: Fix indentation.
6594
6595 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6596 suppress_flag has been set.
6597 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6598 target feature.
6599
6600Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6601
6602 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6603 the testcase.
6604
6605 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6606 set_debug_traps() and breakpoint().
6607 * gdb.c++/misc.cc (main): Ditto.
6608 * gdb.c++/templates.cc (main): Ditto.
6609 * gdb.c++/virtfunc.cc (main): Ditto.
6610
6611Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6612
6613 * lib/gdb.exp(gdb_step_for_stub): New function.
6614 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6615 exists, reload the executable and do a "continue" instead of
6616 doing a jump.
6617 (runto_main): Use gdb_step_for_stub.
beb998c6 6618
c906108c
SS
6619 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6620 tests to have unique names.
6621 * gdb.base/callfuncs.exp: Ditto.
6622 * gdb.base/commands.exp: Ditto.
6623 * gdb.base/default.exp: Ditto.
6624 * gdb.base/help.exp: Ditto.
6625 * gdb.base/list.exp: Ditto.
6626 * gdb.base/opaque.exp: Ditto.
6627 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6628 similar tests.
beb998c6 6629
c906108c
SS
6630 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6631 * gdb.c++/cplusfuncs.cc: Ditto.
6632 * gdb.c++/virtfunc.cc: Ditto.
6633
6634 * config/monitor.exp: Keep track of the last file we saw, rather
6635 than trying to get the info from gdb.
6636
6637 * gdb.fortran/types.exp: Move comment to previous line.
6638
6639Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6640
6641 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6642 target mode.
6643
6644Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6645
6646 From Bob Manson:
6647 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6648 string from GDB when it connects.
6649
6650 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6651
6652Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6653
6654 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6655 if we can't get a debug format from GDB (we may be testing an
6656 older GDB). Use a 10 second timeout when checking for the format.
6657
6658 * gdb.stabs/weird.exp: Fix quoting.
6659
6660 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6661
6662Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6663
6664 * config/arm-ice.exp: New file.
6665
6666Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6667
6668 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6669 until it has been modified to work with the new testsuite.
6670
99707966 6671 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6672 testcase won't compile, cause all of the testcases in the file to
6673 fail instead.
6674
6675 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6676 (gdb_clear_suppressed): New procedure.
6677 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6678 it contains a positive value.
6679
6680Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6681
6682 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6683
6684 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6685
6686Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6687
6688 * lib/gdb.exp (setup_xfail_format): New function.
6689 (get_debug_format): New function to get debug format.
6690 (debug_format): New global variable to hold last value set
6691 by get_debug_format.
6692 * gdb.base/list.exp: Call get_debug_format and expect some
6693 tests to fail for DWARF 1 and COFF formats.
6694 * gdb.c++/ptype.exp: Ditto.
6695 * gdb.c++/classes.exp: Ditto.
6696 * gdb.c++/cplusfuncs.exp: Ditto.
6697 * gdb.c++/inherit.exp: Ditto.
6698 * gdb.c++/templates.exp: Ditto.
6699 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 6700
c906108c
SS
6701Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6702
6703 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6704 host doesn't have a currently-open connection.
6705
6706 * config/sparclet.exp: Cleanups and fixes to make it generic for
6707 any gdb stub target. Handle cases where gdb doesn't respond when
6708 interrupted in a sane fashion.
6709
6710 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6711 same thing in a totally different way.
6712
6713 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6714 setting "timeout".
6715 (gdb_start): We set the global gdb_prompt variable in
6716 default_gdb_init now.
6717
6718Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6719
6720 * gdb.base/printcmds.exp: Fix "check for floating addition"
6721 regexp to accept results within approx +/- .01 of exact value.
6722 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6723
6724Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6725
6726 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6727 properly.
6728 (gdb_expect): Add optional timeout parameter, and add timeout
6729 value to various calls.
6730 (gdb_suppress_tests): Only give one warning message per group.
6731
6732Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6733
6734 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6735 global variables. Handle getting a value for $timeout more
6736 gracefully.
6737
6738Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6739
6740 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6741 initialize.
6742 (default_gdb_init): New procedure; allow gdb_init to be overridden
6743 by a target configuration file.
6744 (gdb_expect): Pass the timeout to remote_expect.
6745
6746 * config/monitor.exp(gdb_load): Fix typo in regexp.
6747
6748Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6749
6750 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6751
6752Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6753
6754 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6755 here. Call gdb_target_exec before rebooting the target, to make
6756 sure the connection to the target is closed.
6757 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6758 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6759 Also detect "Timeout reading from remote" error.
6760
6761 * config/gdbserver.exp: Pass the executable being loaded to
6762 gdb_target_monitor. Don't call gdb_file_cmd here; let
6763 gdb_target_monitor do it.
6764
6765 * gdb.disasm/hppa.exp: Don't use exec_output.
6766
6767Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6768
6769 * gdb.base/list.exp: If we're debugging a non-native target,
6770 try to set the pc register to point to the start of the
6771 program before doing the first list command.
6772
6773 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6774 test_calls after restarting.
6775
6776 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6777 reloading.
6778
6779 * gdb.base/watchpoint.exp: Fix typo.
6780
6781 * gdb.base/setshow.exp: Check for use_gdb_stub.
6782
6783 * gdb.base/break.exp: Fix continue until exit test for the gdb
6784 stub case.
6785 * gdb.base/langs.exp: Ditto.
6786
6787 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6788 gdb_load_offset. If we weren't given a file to load, figure out
6789 what the current file is and use it.
6790
6791 * config/i386-bozo.exp: New file.
6792
6793Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6794
6795 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6796 feature.
6797
6798 * config/proelf.exp: New entry.
6799
6800Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6801
6802 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6803 of regexps.
6804
6805 * gdb.base/watchpoint.exp: Don't run the test_stepping
6806 tests if gdb can't call functions on the target.
6807
6808 * gdb.base/setshow.exp: Don't run the set prompt tests if
6809 the board has gdb_prompt set.
6810
6811Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6812
6813 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6814 * gdb.base/commands.exp: Likewise.
6815 * gdb.base/setshow.exp: Likewise.
6816
6817Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6818
6819 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6820 feature.
6821
6822 * config/i960.exp: New file.
6823
6824Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6825
6826 * gdb.base/funcargs.exp: Check for gdb,short_int target
6827 feature instead of looking for explicit target triplets.
6828
dc96c6c7 6829Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6830
beb998c6 6831 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6832 "p 123DEADBEEF", to check parse_number.
6833 * top.c: change "to enable to enable" to "to enable" in a couple
6834 of help strings.
6835
6836Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6837
6838 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6839 on the mn10300.
beb998c6 6840
c906108c
SS
6841Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6842
6843 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6844 where the test executable is run with explicit args.
6845 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6846
6847Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6848
6849 * gdb.base/run.c: Use FAKEARGV to build test executable that
6850 does not require a command line arg, since most simulators
6851 don't currently support passing such an arg into the simulated
6852 program.
6853 * gdb.base/commands.exp: Change tests to insert the proper
6854 value as the arg to the first recursive factorial call. Change
6855 compilation line to define FAKEARGV at compile time.
6856
6857Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6858
6859 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6860 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6861 function with watchpoint enabled" test.
6862
6863Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6864
6865 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6866 Don't call gdb_test when the command doesn't return to a gdb prompt.
6867
6868 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6869 "Tests restarted" messages.
6870
6871Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6872
6873 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6874
dc96c6c7 6875Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6876
6877 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6878 for INFO SYMBOL; add help tests for OVERLAY commands.
6879 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6880 add tests for OVERLAY commands
6881 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6882 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6883 * gdb.base/sigall.c: add usestubs code frag
6884 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6885
c906108c
SS
6886Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6887
6888 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6889 failures.
6890 (gdb_stop_suppressing_tests): Note that tests have restarted.
6891
6892Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6893
6894 * config/h8300.exp: New file.
6895
6896Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6897
6898 * gdb.base/setshow.exp: Check for the existence of a
6899 feature, not its value.
6900
6901Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6902
6903 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6904
6905 * gdb.base/scope.exp: It's now init0(), not init().
6906
6907 * gdb.base/scope0.c: For now, change init() to be init0().
6908
6909 * config/monitor.exp: Use gdb_serial in preference to serial
6910 or netport.
6911
6912 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6913 and it's not already set.
6914
6915Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6916
6917 * gdb.base/setshow.exp: Only test the run command if the target
6918 isn't using a stub and if it supports argument passing.
6919
6920Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6921
6922 * config/udi.exp(gdb_start): Make sure UDICONF is set
6923 properly before starting gdb.
6924
6925Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6926
6927 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6928 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6929 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6930
6931Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6932
6933 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6934 specialized code to reboot the board, use remote_reboot instead.
6935
6936 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6937
6938 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6939
6940 * config/monitor.exp: Make sure we disconnect from the target.
6941 Also, try a reboot/reload cycle instead of failing if the
6942 load fails.
6943
6944Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6945
6946 * gdb.base/default.exp: Don't set match_max.
6947 * gdb.base/help.exp: Ditto.
6948 * gdb.base/list.exp: Ditto.
6949 * gdb.base/signals.exp: Ditto.
6950
6951 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6952 set, use remote_ld to download the testcase instead of
6953 the GDB loader.
6954
6955Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6956
6957 * config/vr5000.exp: New file.
6958
6959 * config/monitor.exp(gdb_target_monitor): Add pattern for
6960 "Ending remote" to detect errors in connecting.
6961
6962 * gdb.base/setshow.exp: Add .* within auto language test.
6963
6964 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6965 target feature.
6966
6967 * config/monitor.exp(gdb_load): Check for a failure when loading,
6968 and reboot the board if necessary.
6969
6970 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6971 a set of tests. Remove print.* from the patterns being checked.
6972
6973Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6974
6975 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6976 refer to gdb_spawn_id.
6977
6978 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6979 longer used.
6980 * config/sparclet.exp: Ditto.
6981 * config/sparclet-old.exp: Ditto.
6982 * config/slite.exp: Ditto.
6983 * config/sim.exp: Ditto.
6984 * gdb.base/funcargs.exp: Ditto.
6985
6986 * lib/gdb.exp:Remove references to gdb_spawn_id.
6987 (gdb_expect): Move to remote.exp.
6988
6989Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6990
6991 * config/monitor.exp: Detect the "Couldn't establish connection"
6992 message from GDB.
6993
6994Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6995
6996 * gdb.base/bitfields.exp: Use runto instead of explicit
6997 gdb_run_cmd/gdb_expect sequences.
6998
6999 * gdb.base/break.exp(text_next_with_recursion): Add match for
7000 gdb_expect call.
7001
7002 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7003 We also need to handle the "A program is being debugged already"
7004 prompt from gdb. Use gdb_test to set the baud rate.
7005
7006 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7007 to 20000. Really. I mean it.
7008
7009Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7010
7011 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7012 fails. If suppress_flag is set, skip perror message about not
7013 being able to send to GDB.
7014 (send_gdb): If suppress_flag is set, don't try to send commands to
7015 GDB.
7016 (gdb_expect): If suppress_flag is set, always fail immediately.
7017 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7018 (gdb_init): Call gdb_stop_suppressing_tests.
7019 (default_gdb_exit): Ditto.
7020 (default_gdb_start): Ditto.
7021
7022 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7023 gdb_stop_suppressing_tests as appropriate.
7024 * gdb.base/break.exp: Ditto.
7025 * gdb.base/callfuncs.exp: Ditto.
7026 * gdb.base/commands.exp: Ditto.
7027 * gdb.base/exprs.exp: Ditto.
7028 * gdb.base/funcargs.exp: Ditto.
7029 * gdb.base/list.exp: Ditto.
7030 * gdb.base/recurse.exp: Ditto.
7031 * gdb.base/scope.exp: Ditto.
7032 * gdb.base/structs.exp: Ditto.
7033 * gdb.c++/inherit.exp: Ditto.
7034
7035Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7036
7037 * config/vr4300.exp: New file.
7038
99707966
MC
7039 * gdb.*/*.exp: Call gdb_expect instead of expect.
7040
7041 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
7042
7043Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7044
7045 * lib/gdb.exp(gdb_init): New function.
7046
7047 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7048 for each individual variable set.
7049
7050 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7051 name.
7052
7053 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7054
7055 * gdb.base/scope.exp: Use gdb_test.
7056
7057 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7058 aborting; the testsuite driver will do that for us (see
7059 gdb_finish). Also, use gdb_test in a few more places.
7060
7061Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7062
7063 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7064
7065Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7066
7067 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7068 and "add_tests" are not at the same address.
7069
7070Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7071
7072 * gdb.base/ptype.exp: Use gdb_test.
7073
7074Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7075
7076 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7077 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7078 left in. No longer expect them to fail.
7079
7080 * gdb.stabs/*.mt; Deleted, no longer used.
7081 * gdb.stabs/configure.in: Remove references to target makefile
7082 frags.
7083 * gdb.stabs/configure: Rebuilt.
7084
7085 * gdb.disasm/*.mt: Deleted, no longer used.
7086 * gdb.disasm/configure.in: Remove references to target makefile
7087 frags. Use "sh3.s" as the unique filename for this directory.
7088 * gdb.disasm/configure: Rebuilt.
7089
7090 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7091 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7092 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7093
7094Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7095
7096 * config/udi.exp: Use mondfe,name instead of remote_host.
7097
7098Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7099
7100 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7101 a function with a watchpoint enabled on the mn10200.
7102
7103 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7104 before trying to create it!
7105
7106Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7107
7108 * config/vx.exp: Use hostname instead of netport.
7109
7110 * config/vxworks.exp: New file.
7111
7112 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7113
7114 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7115 gdb before assuming everything worked. Send a ^C if a timeout
7116 occurs.
7117
7118 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7119 $gdb_spawn_id directly.
7120 (gdb_run_cmd): Try _start as well as start. Use the target feature
7121 gdb,start_symbol as the symbol to start from when jumping.
7122
7123Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7124
7125 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7126 redundant) test.
7127
7128 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7129 it doesn't lose for 16bit integer systems.
7130
7131Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7132
7133 * gdb.fortran/types.exp: If the target doesn't support "double"
7134 data types, then expect "real" types to only be 4 bytes.
7135
7136 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7137 call tests if the target doesn't support inferior function calls.
7138
7139 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7140 in printf tests.
7141
7142Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7143
7144 * gdb.base/help.exp: Disable "help set", "help show", and
7145 "help support". Simplify regexp for "help stack".
7146
7147 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7148 to 60 seconds. Temporarily set match_max to 15000 around the
7149 "info copying" test.
7150
7151 * gdb.base/nodebug.exp: Don't try to do an inferior function
7152 call if the target doesn't support them.
7153 * gdb.base/printcmds.exp: Likewise.
7154 * gdb.base/setvar.exp: Likewise.
7155 * gdb.base/structs.exp: Likewise.
7156 * gdb.c++/templates.exp: Likewise.
7157 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7158
7159 * gdb.base/recurse.exp: Enable for the mn10200.
7160
7161 * configure.in: Do configure gdb.stabs directory for *-*-elf
7162 targets.
7163 * configure: Rebuilt.
7164
7165 * gdb.base/break.exp: Check for gdb,noresults before testing
7166 exit status and/or results from the target.
7167 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7168 * lib/gdb.exp: Remove old (now bogus) initialization of
7169 noinferior, noargs, noresults and nosignals.
7170
7171Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7172
7173 * config/sh.exp: New file.
7174
7175 * config/slite.exp: Try to connect multiple times to the board
7176 before rebooting. Only send a "monitor run" if need_monitor_run
7177 is set.
7178
7179 * gdb.base/break.exp: Don't do the "stub continue" test if
7180 the target has gdb_stub set.
7181
7182 * gdb.base/callfuncs.exp: Increase the timeout.
7183
7184 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7185 if the target has gdb,noinferiorio set.
7186
7187 * gdb.base/list.exp: Increase match_max to 10000 characters.
7188
7189 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7190
7191 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7192 target.
7193
7194 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7195
7196Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7197
7198 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7199 trying to delete the copy of gdb. Catch the file delete so we
7200 don't die if the delete fails; also, the file should be copied to
7201 the host, not to the build.
7202
7203Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7204
7205 * lib/gdb.exp(gdb_test): Surround the result pattern with
7206 parenthesis in case it contains multiple regexps separated
7207 with |.
7208
7209 * gdb.base/watchpoint.exp: Use gdb_test.
7210 * gdb.base/default.exp: Ditto.
7211
7212Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7213
99707966 7214 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 7215
c906108c
SS
7216 * gdb.base/scope.exp: Use gdb_test.
7217 * gdb.c++/classes.exp: Ditto.
7218 * gdb.c++/inherit.exp: Ditto.
7219
7220Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7221
7222 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7223 remote_exec instead.
7224 * gdb.base/corefile.exp: Don't be ridiculous.
7225 * gdb.base/*.c: Add missing stub invocations.
7226
7227Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7228
7229 * config/slite.exp: Miscellaneous fixes.
7230
7231 * lib/gdb.exp: Fix runto.
7232
7233 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7234 the target.
7235
7236 * gdb.base/watchpoint.exp: Fix regexp.
7237
7238 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7239 close and wait commands, as the descriptor may now be
7240 invalid. Always call "remote_close host".
7241
7242Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7243
7244 Major rewrite for testsuite revision.
beb998c6 7245
c906108c
SS
7246 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7247 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7248 instead of relying on spawn_id to always contain a valid
7249 spawn id.
7250 (get_compiler_info): New procedure to build the ${binfile}.ci
7251 file, instead of replicating this in N different places.
7252 (gdb_compile): New procedure.
beb998c6 7253
c906108c
SS
7254 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7255 appropriate arguments) instead of compile. Use gdb_test in a lot
7256 more places. Use send_gdb instead of send. Always run gdb_start
7257 at the start of a testcase, as this is no longer done magically.
7258
7259 config/*-gdb.exp: Rename without the -gdb suffix.
7260
7261 config/mips.exp: Use remote_close instead of exit_remote_shell.
7262 config/monitor.exp: Use target_info instead of looking at
7263 baud, timeout, etc.
7264 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7265
7266Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7267
7268 * gdb.c++/templates.exp (test_ptype_of_templates),
7269 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7270 Update expect patterns for destructors and assignment operators
7271 to match corresponding c-typeprint.c changes.
7272 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7273 to destructor breakpoint test, GDB should be able to set the
7274 destructor breakpoint without specifying arguments.
7275
7276Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7277
7278 * gdb.threads/pthreads.exp: Change result for failure to compile due
7279 to lack of pthreads runtime support from an error to simply an
7280 unsupported test, per dejagnu standards.
7281
7282Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7283
7284 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7285 where GDB exits to reduce pattern match time.
7286 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7287
7288 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7289
dc96c6c7 7290Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7291
7292 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7293 * gdb.base/default.exp: ditto.
7294 * gdb.base/nodebug.exp: ditto.
7295 * gdb.base/printcmds.exp: ditto.
7296 * gdb.base/ptype.exp: ditto.
7297 * gdb.base/setvar.exp: ditto.
7298 * gdb.base/structs.exp: ditto.
7299 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7300
7301Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7302
7303 * configure, */configure: Rebuild with autoconf 2.12.
7304
7305Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7306
7307 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7308 use new i*86-pc-linux*-gnu quads.
7309 * gdb.base/corefile.exp: Ditto.
7310 * gdb.base/signals.exp: Ditto.
7311 * gdb.base/sigall.exp: Ditto.
7312 * gdb.base/interrupt.exp: Ditto.
7313
7314 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7315 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7316 RedHat 4.0.
beb998c6 7317
c906108c
SS
7318 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7319 linux. This allows the test case to at least compile on latest
7320 linux, but still not run due to missing the threads runtime library.
7321
7322Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7323
7324 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7325 directory to search gdb directory. Accept and step over conditional
7326 stack alignment code. Consume $prompt in failure cases.
7327 Reset timeout to $oldtimeout instead of some arbitrary value.
7328 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7329 timeout problems with infinite stack backtraces.
7330 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7331 Accept function parameters for linkfunc member.
7332
7333Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7334
7335 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7336 (CXXFLAGS): Remove, unreferenced.
7337 (B_OPTIONS): Add for -B options and add code to initialize with
7338 previous -B options and also add -B option to pick up cross compiled
7339 runtime.
7340 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7341 doing cross compiles.
7342 (target_alias): Declare global.
7343 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7344 to verify that gcc exists in build tree, and if so set CC to that
7345 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 7346
c906108c
SS
7347Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7348
7349 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7350 ptype test for anonymous union. Fixup testcase to match
7351 current gcc debug output.
7352
7353Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7354
7355 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7356 force argument to an unsigned long type.
7357
7358Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7359
7360 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7361 tests and anonymous union print/ptype tests.
7362 * gdb.base/list.exp (test_forward-search): Increase timeout by
7363 5 minutes for the "search extremely long line" case.
7364 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7365 completely optional and that the pass/fail messages use the command as
7366 the message if that third arg is a null string.
7367 (gdb_test_exact): Arrange that a null string pattern means match a
7368 null string output rather than any output, which might include random
7369 errors.
7370 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7371 backtrace test.
7372 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7373 always failing and failure is now exposed by gdb.exp changes.
7374
7375Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7376
7377 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7378 weren't being noted.
7379
7380Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7381
7382 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7383 * gdb.stabs/weird.exp: Remove v_comb xfails.
7384
dc96c6c7 7385Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7386
7387 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7388 list.exp scope.exp watchpoint.exp]
7389 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 7390
dc96c6c7 7391Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7392
7393 * config/monitor.exp: Increase download timeout to 1000 seconds.
7394
dc96c6c7 7395Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7396
7397 * config/m32r.exp: Increase timeout to 120 seconds.
7398
7399Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7400
7401 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7402 and accept older ordering as obsolescent gcc or gdb.
7403 * gdb.c++/templates.exp: Ditto.
7404 * gdb.c++/virtfunc.exp: Ditto.
7405
7406Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7407
7408 * gdb.base/coremaker.c: Add code to mmap some data so we
7409 can check that it ends up in the core file.
7410 * gdb.base/corefile.exp: Add test to read mmapped data
7411 from core file.
7412
dc96c6c7 7413Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7414
7415 * config/m32r.exp: New file.
7416
7417Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7418
7419 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7420 that cflags can contains -gstabs, and work correctly for other tests.
7421
dc96c6c7 7422Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7423
7424 * gdb.base/setshow.exp: New file, tests show and set.
7425 * gdb.base/setshow.c: New file, tests show and set.
7426 * gdb.base/help.exp: Add test for help set|show annotate.
7427 * gdb.base/default.exp: Add test for set|show annotate.
7428
7429Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7430
7431 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7432 errors unique.
7433 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7434 explicitly.
7435
7436Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7437
7438 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7439 and width commands. This is done elsewhere.
7440 * (gdb_start): Don't call gdb_start_sim here. That's already
7441 done in gdb_load. This fixes lots of failures in default.exp.
7442
7443Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7444
7445 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7446 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7447 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7448 in the same we we treat other failures (since it may be an expected
7449 condition), rather than as an error.
7450 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7451 old test format.
7452
7453Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7454
7455 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7456 (distclean maintainer-clean realclean): No need to remove files
7457 twice. Nuke the duplicates.
7458 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 7459 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7460 Remove config.h along with other config files.
7461
7462Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7463
7464 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7465 "p func1 ()" and note that rests of tests are skipped.
7466 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7467 setup_xfails for "print func2::coremaker_local".
7468 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7469 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7470 affected by the previous run test.
7471 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7472 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7473 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7474 "pass int powerset tuple" and "pass modeless int powerset tuple".
7475 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7476 "real write 4" and "real write 8".
7477 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7478 setup_xfails for "print vs1 after tuple assign 2",
7479 "print \$i after tuple assign 2", and
7480 "print vs2 after tuple assign 2".
7481 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7482 meaningful error message and return -1 so the caller can
7483 suppress further tests and avoid a cascade of errors.
beb998c6 7484
c906108c
SS
7485Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7486
7487 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7488 format for printing version.
7489 * gdb.base/default.exp: Ditto.
7490 * gdb.base/interrupt.exp: Fix problem with cascade of
7491 errors if child process dies while calling a function.
beb998c6 7492
c906108c
SS
7493Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7494
7495 * Makefile.in (VPATH): Add
7496 * Makefile.in (Makefile, config.status): Fix rules so things get
7497 remade when necessary.
7498
7499Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7500
7501 * Makefile.in (just-check): Add path to sibling expect dir
7502 to environment variable specified by RPATH_ENVVAR.
7503
7504Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7505
7506 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7507 (just-check): Add shared library paths for libstdc++, tk,
7508 tcl, bfd, and opcodes to the environment variable specified
7509 in RPATH_ENVVAR.
7510 * configure.in: Add support to recognize --enable-shared flag
7511 and generate correct value for RPATH_ENVVAR.
7512 * configure: Regenerated with autoconf.
7513
7514Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7515
7516 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7517 include all osf versions.
7518 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7519 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7520 when target is linux. When failing to build pthreads test
7521 executable, give more meaningful message.
7522 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7523 arg for pthread_create.
beb998c6 7524
c906108c
SS
7525Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7526
7527 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7528 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7529 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7530 and -lpthreads (everybody else).
7531 (test_startup): Fail gracefully if threads are not supported.
7532 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7533 "p/c array_index("abcdef",2)" when not gcc compiled.
7534 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7535 "print func2::coremaker_local" when not gcc compiled.
7536 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7537 "ptype on opaque struct tagname (statically)",
7538 "ptype on opaque struct tagname (dynamically) 1", and
7539 "ptype on opaque struct tagname (dynamically) 2"
7540 for not compiled with gcc.
7541 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7542 backtrace when compiled with gcc.
beb998c6 7543 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7544 than always return success.
7545
7546Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7547
7548 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7549
7550Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7551
7552 * gdb.base/structs.exp: Undo last change.
7553
7554Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7555
7556 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7557 encapsulate all the steps/nexts done during self test, starting
7558 at main, and makes them less sensitive to optimization issues.
7559 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7560 signal handler" test.
7561 * gdb.threads/pthreads.exp: Only run this for native configs.
7562 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7563 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7564 tests.
7565 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7566 for "runto test_calls(void)" test.
beb998c6 7567
c906108c
SS
7568Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7569
7570 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7571 and don't expect address info in breakpoint confirmations.
7572
7573Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7574
7575 * gdb.base/list.exp (test_forward_search): Increase timeout
7576 temporarily by 60 seconds for searching extremely long line,
7577 and then reset to old value when done. Increase expect input
7578 buffer to 10000.
7579
7580Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7581
7582 * gdb.base/list.exp (test_forward_search): Fix to handle very
7583 long source line without overflowing expect's input buffer.
7584
7585Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7586
7587 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7588 "buffer_full".
7589
7590 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7591 "buffer_full".
7592
7593 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7594 "buffer_full".
7595
7596 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7597 "buffer_full".
7598
7599Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7600
7601 * configure.in (configdirs): Add gdb.threads.
7602 * configure: Regenerated with autoconf.
7603 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7604 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7605 * gdb.threads/configure: New, generated with autoconf.
beb998c6 7606
c906108c
SS
7607Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7608
7609 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7610
7611Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7612
7613 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7614 each signal's status in the output of "handle all print".
7615 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7616 the \r\n sequence that immediately precedes the gdb prompt.
7617 * gdb.base/a1-selftest.exp: Save original timeout and restore
7618 after test.
7619
7620Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7621
7622 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7623 symbol.
7624
7625Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7626
7627 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7628
7629Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7630
7631 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7632 timeout by 60 seconds.
7633
7634Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7635
7636 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7637 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7638 error return.
7639
7640Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7641
7642 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7643 gdb initialization, also report how long dejagnu waited. Restore
7644 old timeout before doing error return. Temporarily increase timeout
7645 by 3 minutes to allow for slow startups over heavy NFS use.
7646
7647Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7648
7649 * lib/gdb.exp: Report timeout value for verbosity level 2.
7650 * config/gdbserver.exp: Ditto.
7651 * config/hppro.exp: Ditto.
7652 * config/mips-gdb.exp: Ditto.
7653 * config/monitor.exp: Ditto.
7654 * config/netware.exp: Ditto.
7655 * config/sim-gdb.exp: Ditto.
7656 * config/slite-gdb.exp: Ditto.
7657 * config/udi-gdb.exp: Ditto.
7658 * config/unix-gdb.exp: Ditto.
7659 * config/vx-gdb.exp: Ditto.
7660 * gdb.base/a1-selftest.exp: Ditto.
7661 * gdb.base/a2-run.exp: Ditto.
7662 * gdb.base/break.exp: Ditto.
7663 * gdb.base/corefile.exp: Ditto.
7664 * gdb.base/list.exp: Ditto.
7665 * gdb.base/recurse.exp: Ditto.
7666 * gdb.base/scope.exp: Ditto.
7667 * gdb.base/signals.exp: Ditto.
7668
7669Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7670
7671 * gdb.threads/Makefile.in (docdir): Removed.
7672
7673Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7674
7675 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 7676 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7677 @srcdir@.
beb998c6 7678 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7679 autoconf 2.5 or higher.
7680 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7681
7682Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7683
7684 * configure: Regenerated.
7685 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7686 avoid name clashes with SunOS headers.
7687
7688Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7689
7690 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7691
7692Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7693
7694 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7695 prototype information ends up in the compiler info file.
7696
7697Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7698
7699 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7700 attempting to regenerate it. Eliminate use of a temporary file
7701 and just generate the info file directly. Source it immediately,
7702 for consistency of use.
7703 * gdb.base/corefile.exp: Ditto
7704 * gdb.base/exprs.exp: Ditto.
7705 * gdb.base/funcargs.exp: Ditto.
7706 * gdb.base/langs.exp: Ditto.
7707 * gdb.base/list.exp: Ditto.
7708 * gdb.base/mips_pro.exp: Ditto.
7709 * gdb.base/nodebug.exp: Ditto.
7710 * gdb.base/opaque.exp: Ditto.
7711 * gdb.base/ptype.exp: Ditto.
7712 * gdb.base/scope.exp: Ditto.
7713 * gdb.base/setvar.exp: Ditto.
7714 * gdb.base/signals.exp: Ditto.
7715 * gdb.base/whatis.exp: Ditto.
7716 * gdb.c++/templates.exp: Ditto.
7717 * gdb.c++/virtfunc.exp: Ditto.
7718 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7719 whether or not to add -lstdc++ to the compile command line args.
7720
7721Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7722
7723 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7724 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7725 Increase timeout, a lot of single stepping might be needed if the
7726 target has no hardware watchpoints.
7727
7728Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7729
7730 * gdb.base/break.exp: Ignore compiler warnings when compiling
7731 break.c.
7732 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7733 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7734 from remote-sim.
7735 * gdb.base/exprs.exp: Add h8300 xfails.
7736 * gdb.base/funcargs.exp: Likewise.
7737 * gdb.base/nodebug.exp: Likewise.
7738 * gdb.base/printcmds.exp: Likewise.
7739 * gdb.base/ptype.exp: Likewise.
7740 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7741 h8300 xfails.
beb998c6 7742 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7743 on the h8300.
7744 * gdb.base/funcargs.c: Explicitly make last constant argument to
7745 call_after_alloca_subr an unsigned long type.
7746 * gdb.base/return.c: Include stdio.h.
7747
7748Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7749
7750 * config/abug.exp: New file for the older Motorola Bug monitor
7751 that runs on the mvme13x series VME boards.
7752 * config/monitor.exp: Use the new config array for target settings
7753 if they exist.
7754
7755Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7756
7757 * sim-gdb.exp: Make the SH simulator allocate less space when
7758 it is targeted.
7759
7760Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7761
7762 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7763 test.
7764
7765Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7766
7767 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7768 "rs6000-*-*" for "list function in include file" when gcc compiled.
7769 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7770 for "p ctable1[120]".
7771 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7772 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7773 Remove setup_xfail for "rs6000-*-*" for
7774 "print 'scope0.c'::filelocal before run".
7775 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7776 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7777 since some compilers don't allow both options to be given
7778 on the same command line. Create object file and move it.
beb998c6 7779
c906108c
SS
7780Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7781
7782 * gdb.base/corefile.exp: Always regenerate the core file, since
7783 we always regenerate the coremaker program. Detect special case
7784 where registers cannot be read from core file.
beb998c6 7785
c906108c
SS
7786Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7787
7788 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7789 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7790 * gdb.c++/templates.exp: Only match on basename of file since
7791 some formats like xcoff don't encode directory information.
7792 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7793 and rs6000 AIX xcoff targets.
7794 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7795 * configure: Regenerate.
7796 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7797 here, rather than in distclean.
beb998c6 7798
c906108c
SS
7799Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7800
7801 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7802 defined, and use it to compile the test case with -O2. The
7803 native compilation still uses no optimization.
7804 * gdb.base/mips_pro.c: Remove inline assembly code since
7805 it is compiled PIC by default, which results in assembler
7806 warnings that make the testsuite think the compilation
7807 was unsuccessful.
7808
7809Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7810
7811 * gdb.c++/misc.exp: Add note to message for
7812 "print s.a for foo struct" that this is a known gcc 2.7.2
7813 and earlier bug.
7814
7815Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7816
7817 * gdb.base/break.exp: Fix pattern for matching "Delete all
7818 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7819 setup_xfail for deleting all breakpoints test. Fix various
7820 timeout messages to include "(timeout)".
7821 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7822 for "p t_float_values2(3.14159,float_val2)".
7823 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7824 for "continue to call2g" when gcc compiled.
7825 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7826 "up to foo in langs.exp", "show language at foo in langs.exp",
7827 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7828 and "show language at fsub in langs.exp".
7829 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7830 "list line 1 in include file", "list message for lines past EOF",
7831 "list function in include file", "list list0.h:foo", and
7832 "list filename:function; nonexistant function".
7833 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7834 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7835 and "ptype t_char_array" to be for native cc only.
beb998c6 7836
c906108c
SS
7837Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7838
beb998c6 7839 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7840 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7841 "print func2::coremaker_local", and "backtrace in corefile.exp".
7842
7843Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7844
7845 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7846 "bt in signals.exp". This problem only appears when running
7847 the testsuite, and then only intermittently.
7848
7849Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7850
7851 * gdb.base/return.exp (return_tests): Differentiate between
7852 two tests of continuing.
7853
7854Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7855
7856 * */Makefile.in (maintainer-clean): Remove config.log.
7857 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7858 * gdb.c++/Makefile.in (PROGS): Add inherit.
7859 (clean): Remove *.ci.
7860
7861Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7862
7863 * gdb.c++/misc.cc: Add test code from Mike Stump.
7864 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7865
7866Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7867
7868 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7869 to "alpha-*-osf2*" and add comment.
7870 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7871 setup_xfail for "step over execarg initialization" and
7872 "step over corearg initialization".
7873 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7874 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7875 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7876 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7877 "print func2::coremaker_local", and "backtrace in corefile.exp".
7878 * gdb.base/signals.exp: Build and source signals.ci.
7879 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7880 to be for gcc only.
7881 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7882
c906108c
SS
7883Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7884
7885 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7886 Feb 3 procfs.c change.
7887
7888Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7889
7890 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7891
7892Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7893
7894 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7895 from dejagnu's apparent default of 10 seconds, which gives random
7896 results when running the tests over NFS on moderately loaded systems.
7897 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7898
7899Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7900
7901 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7902 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7903 result reports.
7904
7905Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7906
7907 * configure.in (CY_AC_PATH_TCLH): Remove.
7908 * configure: Regenerate.
7909
7910Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7911
7912 * gdb.c++/Makefile.in (clean): Add missing '{'.
7913
7914Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7915
7916 * lib/gdb.exp: Provide a default value for noinferior.
7917
7918 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7919 Load libgloss.exp.
7920
7921Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7922
7923 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7924 the executable, not the .o to run the tests from.
7925
7926Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7927
7928 * gdb.base/break.exp: Don't test for program exit or exit status
7929 if $noresults if nonzero.
7930 * gdb.base/langs.exp: Likewise.
7931 * gdb.base/watchpoint.exp: Likewise.
7932
7933 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7934 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7935 trying to compile the testcase.
7936
7937Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7938
7939 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7940 * gdb.base/signals.exp (continue to handler): Likewise.
7941
7942Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7943
7944 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7945
7946 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7947
7948Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7949
7950 * gdb.base/corefile.exp: Recognize "not found" as failure
7951 when trying to determine if a core file was generated.
7952 If no core file was generate the first time, try again without
7953 the ulimit -c to work around braindamaged shells.
7954
7955Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7956
7957 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7958 [] tests with "test" and enclose string in quotes.
7959 * gdb.stabs/configure: Rebuild
beb998c6 7960
c906108c
SS
7961Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7962
7963 Changes in sync with expect:
7964 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7965 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7966 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7967 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7968 argument to AC_REQUIRE.
7969 * configure: Regenerated.
7970
7971Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7972
7973 * gdb.base/corefile.exp: When generating a core, discard any
7974 error messages about ulimit not found and the "core dumped"
7975 message from the shell that runs the coredumper.
7976
7977Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7978
7979 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7980
7981 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7982 which sed script to run. Expect failure for v_comb test
7983 on PA targets too.
beb998c6 7984
c906108c
SS
7985Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7986
7987 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7988 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7989
7990Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7991
7992 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7993 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7994 "sparc-sun-solaris*" xfails for "p v_comb".
7995 * lib/gdb.exp (default_gdb_start): Fix typo.
7996 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7997 messages to not include the full program name that caused
7998 the core dump since some systems (such as solaris) apparently
7999 truncate this path to about 80 characters.
8000 When generating a core file first try increasing the core file
8001 size limit to unlimited since some systems may default it to
8002 zero, and it is harmless to try it. Move the test for failing
8003 to generate a core file to where it will actually get executed.
8004 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8005 new gdb result from g++ debug info improvements and make old
8006 pattern obsolescent. Also account for size_t differences
8007 (may be int or long).
8008 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8009 initialization before function call is placed in the delay slot
8010 and thus appears to be skipped over by commands such as "next".
8011
8012Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8013
8014 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8015
8016Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8017
8018 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8019 input source file; fix code to compile test to deal with this
8020 convention.
8021 * gdb.c++/*.exp: Likewise.
8022
8023Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8024
8025 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8026 "bt in signals.exp".
8027
8028Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8029
8030 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8031 "step over execarg initialization" and
8032 "step over corearg initialization".
8033
8034Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8035
8036 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8037 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8038
8039Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8040
8041 From Rob Savoye (rob@poseidon.cygnus.com)
8042 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8043 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8044 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8045 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8046 configure.in}: Major reworking for autoconfig.
8047 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8048 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8049 New files.
8050 * config/unix-gdb.exp: Make GDB global.
8051 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8052 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8053 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8054 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8055 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8056 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8057 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8058 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8059 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8060 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8061 pr-8136.exp, result.exp, string.exp, tuples.exp},
8062 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8063 to returns as necessary, arrange for test to compile own testcase
8064 executable.
8065 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 8066
c906108c
SS
8067Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8068
8069 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8070 clear_xfail at end of test which might not call either pass or fail.
8071 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8072 "backtrace through signal handler".
8073
8074Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8075
8076 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8077 continuing from a job control stop signal.
8078 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8079
8080Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8081
8082 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8083 * gdb.base/corefile.exp: Likewise.
8084 * gdb.base/funcargs.exp: Likewise.
8085
8086Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8087
8088 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8089 * config/monitor.exp: Add support for setting baud rate.
8090
8091Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8092
8093 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8094 i*86-*-linux* xfails for "backtrace through signal handler".
8095 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8096 "print func2::coremaker_local".
8097 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8098 alpha-dec-osf2* xfail for
8099 "delete all breakpoints when none".
8100
8101Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8102
8103 * gdb.base/break.exp: Change test that deletes all breakpoints
8104 when no user breakpoints are installed. A post 4.15 change
8105 causes gdb to no longer prompt in this case.
8106
8107Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8108
8109 * gdb.base/return.exp (return_tests): Change xfail for test
8110 "correct value returned double test" to stop xfailing at
8111 Solaris 2.5. Apparently the bug has been fixed.
8112
8113Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8114
8115 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8116 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8117
8118Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8119
8120 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8121 * gdb.disasm/hppa.s: Corresponding changes.
8122
8123Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8124
8125 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8126 makefile fragment.
8127 * config/mt-hpux: Deleted.
8128
8129Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8130
beb998c6 8131 * Many files: When warning about suppressed tests due to a
c906108c
SS
8132 nonexistant test binary, avoid incrementing the warning count.
8133
8134Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8135
8136 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 8137
c906108c
SS
8138Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8139
8140 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8141 "sparc-*-solaris2*".
8142
8143Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8144
8145 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8146 Add global and local variables and initialize them.
8147 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8148 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8149 extracts the file name and terminating signal from the core file.
8150 * TODO: Remove note about tests for correct mapping of corefile.
8151 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8152 from optimizing it away.
8153 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8154 handles common blocks.
8155
8156Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8157
8158 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8159 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8160
8161Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8162
8163 * Makefile.in (maintainer-clean): New target, synonym for
8164 realclean.
8165 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8166 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8167 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8168 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8169 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8170 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8171
8172Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8173
8174 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8175 xfails when not gcc compiled for "print foo::funclocal".
8176 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8177 "print foo::funclocal at foo",
8178 "print 'scope1.c'::foo::funclocal at foo",
8179 "print foo::funclocal_bss at foo",
8180 "print 'scope1.c'::foo::funclocal_bss at foo",
8181 "print foo::funclocal_ro at foo",
8182 "print 'scope1.c'::foo::funclocal_ro at foo",
8183 "print bar::funclocal at foo" and
8184 "print 'scope1.c'::bar::funclocal at foo".
8185 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8186 gcc compiled for "print foo::funclocal at bar".
8187 Expand all messages to ensure that they identify that
8188 the test is at bar().
8189 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8190 gcc compiled for:
8191 "ptype on opaque struct pointer (statically)",
8192 "ptype on opaque struct tagname (statically)",
8193 "ptype on opaque struct pointer (dynamically) 1",
8194 "ptype on opaque struct tagname (dynamically) 1",
8195 "ptype on opaque struct pointer (dynamically) 2" and
8196 "ptype on opaque struct tagname (dynamically) 2
8197 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8198 gcc compiled for:
8199 "p datalocal"
8200 "whatis datalocal",
8201 "ptype datalocal",
8202 "p bsslocal",
8203 "whatis bsslocal", and
8204 "ptype bsslocal".
8205 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8206 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8207 when not gcc compiled.
8208 * gdb.base/funcargs.exp (float_and_integral_args): Add
8209 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8210 compiled.
8211 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8212 "backtrace from call6a" when not gcc compiled.
8213 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8214 "backtrace from call7a" when not gcc compiled.
8215 * gdb.base/callfuncs.exp (do_function_calls):
8216 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8217 "p t_char_array_values(char_array_val2,char_array_val1)",
8218 "p t_char_array_values(char_array_val1,char_array_val2)",
8219 "p t_char_array_values("carray 1","carray 2")",
8220 "p t_char_array_values("carray 1",char_array_val2)",
8221 "p t_char_array_values(char_array_val1,"carray 2")",
8222 "p sum_args(1,{2})",
8223 "p sum_args(2,{2,3})",
8224 "p sum_args(3,{2,3,4})",
8225 "p sum_args(4,{2,3,4,5})"
8226 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8227 "backtrace in corefile.exp" when not gcc compiled.
8228
8229Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8230
8231 * gdb.base/signals.exp: Rewrite `handle all print' test as
8232 a procedure. Accept blanks or TABs as whitespace, increase
8233 timeout and expect input buffer size for the large output
8234 from the command. Remove "i*86-*-bsdi2.0" xfail.
8235
8236Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8237
8238 * gdb.base/setvar.exp: Add new testcases for truncation when
8239 assigning invalid values to bitfields.
8240
8241Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8242
beb998c6 8243 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
8244 mips-sgi-irix* xfail for
8245 "call inferior func with struct - returns char *"
8246 and fix test so that an optional (unsigned char *) cast is
8247 accepted in the result.
8248
8249Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8250
8251 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8252 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8253 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8254 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8255 that accidentally got checked in.
8256
8257Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8258
beb998c6 8259 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8260 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8261 compiled test.
8262 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8263 Add mips-sgi-irix5* xfail for not gcc compiled.
8264 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8265 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8266 "p top", "whatis top", "p middle", and "whatis middle".
8267 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8268 "whatis signed char" for not gcc compiled.
8269 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8270 "set variable signed char=-1 (-1)" and
8271 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8272 * gdb.base/funcargs.exp (float_and_integral_args):
8273 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8274 Add mips-sgi-irix* xfail when not gcc compiled for
8275 "continue to call2b".
8276 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8277 "continue to call2g".
8278 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8279 "backtrace from call6a"
8280 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8281 "backtrace from call7k".
8282 Add mips-sgi-irix5* xfail when not gcc compiled for
8283 "backtrace from call7a".
8284 (localvars_after_alloca): Fix gdb_test cmds for
8285 "print * after runto ...".
8286 Remove rs6000-*-* xfails for
8287 "print i after runto localvars_after_alloca" and
8288 "print l after runto localvars_after_alloca"
8289 for all compilers.
8290 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8291 when not compiled with gcc, for:
8292 "print signed char == (minus)",
8293 "print signed char != (minus)",
8294 "print signed char < (minus)",
8295 "print signed char > (minus)".
8296 * gdb.base/callfuncs.exp (do_function_calls):
8297 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8298 "call inferior func with struct - returns char *".
beb998c6 8299 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8300 "correct value returned double test" to include Solaris 2.4.
8301 * gdb.base/funcargs.exp (float_and_integral_args):
8302 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 8303
c906108c
SS
8304Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8305
8306 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8307 enumeration bitfields if compiling with GNU C.
8308 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8309 to empty' prompt.
8310
8311Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8312
8313 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8314 test for PRO targets.
8315
8316 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8317 breakpoints in the inferior at any given time by making
8318 two groups of breakpoints for call2*, call6* and call7*
8319 tests.
8320
8321Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8322
8323 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8324 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8325 from optimizing it away.
8326 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8327 "call inferior func with struct".
8328
8329Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8330
8331 * configure.in: Only configure gdb.chill for particular targets.
8332
8333Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8334
8335 * gdb.base/Makefile.in: Add action to .c.o transformation
8336 rule that generates a .ci file for each .o file and remove
8337 explicit .c.o rules except for callfuncs.o.
8338 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8339 generates a .ci file for each .o file and remove explicit
8340 .cc.o rules.
8341 (clean): Remove *.tmp *.ci files.
8342 (EXECUTABLES): Remove templ-info.exp.
8343 * gdb.base/compiler.c: New file.
8344 * gdb.c++/compiler.cc: New file
8345 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8346 Change rs6000-*-* xfail for
8347 "print 'scope0.c'::filelocal_ro" and
8348 "print 'scope1.c'::filelocal" and
8349 "print 'scope1.c'::filelocal_bss" and
8350 "print 'scope1.c'::filelocal_ro" and
8351 "print 'scope1.c'::foo::funclocal" and
8352 "print 'scope1.c'::foo::funclocal_ro" and
8353 "print 'scope1.c'::bar::funclocal" and
8354 "print 'scope0.c'::filelocal_ro" and
8355 "print 'scope1.c'::filelocal at foo" and
8356 "print 'scope1.c'::filelocal_bss at foo" and
8357 "print 'scope1.c'::filelocal_ro at foo" and
8358 "print 'scope1.c'::foo::funclocal at foo" and
8359 "print 'scope1.c'::foo::funclocal_bss at foo" and
8360 "print 'scope1.c'::foo::funclocal_ro at foo" and
8361 "print 'scope1.c'::bar::funclocal at foo" and
8362 "print 'scope0.c'::filelocal_ro" and
8363 "print 'scope1.c'::filelocal" and
8364 "print 'scope1.c'::filelocal_bss" and
8365 "print 'scope1.c'::filelocal_ro" and
8366 "print 'scope1.c'::foo::funclocal" and
8367 "print 'scope1.c'::foo::funclocal_bss" and
8368 "print 'scope1.c'::foo::funclocal_ro" and
8369 "print 'scope1.c'::bar::funclocal" and
8370 "print 'scope1.c'::bar::funclocal_bss"
8371 to only be xfail'd when not compiled with gcc.
beb998c6 8372 Add rs6000-*-* xfail for
c906108c
SS
8373 "print 'scope0.c'::filelocal_bss before run"
8374 when compiled with gcc.
8375 (test_at_main): Add rs6000-*-* xfail for
8376 "print filelocal_ro in test_at_main"
8377 when compiled with gcc.
8378 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 8379 Add rs6000-*-aix* xfail for
c906108c
SS
8380 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8381 "ptype t_char_array", not compiled with gcc.
8382 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8383 xfail for "list foo (in include file)" when gcc compiled.
8384 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8385 (integral_args): Add rs6000-*-* xfail for
8386 "run to call0a" if not compiled with gcc.
8387 (unsigned_integral_args): Add rs6000-*-* xfail for
8388 "run to call1a" if not compiled with gcc.
8389 (float_and_integral_args): Add rs6000-*-* xfail for
8390 "run to call2a" if not compiled with gcc and for
8391 "continue to call2b" for any compiler.
8392 Add rs6000-*-* xfail to
8393 "print f1 after run to call2a" for gcc compiled.
8394 (discard_and_shuffle): Add rs6000-*-* xfail for
8395 "run to call6a".
8396 (shuffle_round_robin): Add rs6000-*-* xfail for
8397 "backtrace from call7a" if not compiled with gcc.
8398 Add rs6000-*-* xfail for
8399 "backtrace from call7b" if compiled with gcc.
8400 (call_after_alloca): Add rs6000-*-* xfail for
8401 "print c in call_after_alloca" and
8402 "print s in call_after_alloca" and
8403 "backtrace from call_after_alloca_subr"
8404 if not compiled with gcc.
8405 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8406 "print c in localvars_in_indirect_call" and
8407 "print c in localvars_in_indirect_call" and
8408 "backtrace in indirectly called function" and
8409 "stepping into indirectly called function"
8410 if not compiled with gcc.
8411 (localvars_after_alloca): Add rs6000-*-* xfail for
8412 "print c after runto localvars_after_alloca" and
8413 "print s after runto localvars_after_alloca" and
8414 "print i after runto localvars_after_alloca" and
8415 "print l after runto localvars_after_alloca"
8416 for all compilers.
8417 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8418 than whatis-info.exp.
8419 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8420 than opaque-info.exp.
8421 Setup rs6000-*-* xfail for
beb998c6 8422 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8423 "ptype on opaque struct pointer (dynamically)" when
8424 not compiled with gcc.
8425 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8426 rather than callf-info.exp.
8427 (do_function_calls): Add clear_xfail for rs6000-*-* for
8428 "p t_float_values2(3.14159,float_val2)". Seems to work
8429 fine there, both with xlc and gcc. Need to find out what
8430 it is doing right and fix other platforms.
8431 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8432 "call inferior func with struct - returns int",
8433 "call inferior func with struct - returns long",
8434 "call inferior func with struct - returns float",
8435 "call inferior func with struct - returns double",
8436 "call inferior func with struct - returns char *",
8437 but only if not gcc compiled (presumes xlc compiled).
8438 Change rs6000-*-* xfails for
8439 "call inferior func with struct - returns char" and
8440 " call inferior func with struct - returns short" to only
8441 xfail if not using gcc.
8442 (clean mostlyclean): Remove *.ci and *.tmp files.
8443 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8444 than templ-info.exp.
8445 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8446 Add rs6000-*-* xfail for "up to foo in langs.exp"
8447 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8448 when not gcc compiled.
beb998c6 8449
c906108c
SS
8450Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8451
8452 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8453 * gdb.base/corefile.exp: Likewise.
8454 * gdb.base/list.exp: Likewise.
8455 * gdb.base/scope.exp: Likewise.
8456 * gdb.base/siganls.exp: Likewise.
8457
8458 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8459 compiler output.
8460 * gdb.base/whatis.exp: Likewise.
8461
8462Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8463
8464 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8465 failure (opcode table has been fixed to match reality).
8466
8467Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8468
8469 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8470 "call inferior func with struct - returns char",
8471 "call inferior func with struct - returns short"
8472
8473 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8474 "print 'scope0.c'::filelocal at main",
8475 "print 'scope0.c'::filelocal_bss in test_at_main",
8476 "print 'scope0.c'::filelocal at foo",
8477 "print 'scope0.c'::filelocal_bss in test_at_foo",
8478 "print 'scope0.c'::filelocal at bar",
8479 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 8480
c906108c
SS
8481 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8482 in source file 1". This bug seems to have been fixed with both
8483 gcc and native cc (was native assembler bug?).
8484
8485Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8486
8487 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8488 "backtrace through signal handler" to "i*86-*-sysv4*".
8489 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8490 continue" case. Add "known SVR4 bug" to fail message.
8491 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8492 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8493 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8494 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8495 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8496 "up to foo in langs.exp", "show language at foo in
8497 langs.exp", "up to cppsub_ in langs.exp", "show
8498 language at cppsub_ in langs.exp", "up to fsub in
8499 langs.exp", and "show language at fsub in langs.exp".
8500 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8501 "bactrace in corefile.exp".
8502 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8503 "call inferior function with struct - returns float" and
8504 "call inferior function with struct - returns double".
beb998c6 8505
c906108c
SS
8506Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8507
8508 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8509 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8510 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8511 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8512
8513Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8514
8515 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8516 (or overriden) "CHILL" macro rather then bare "gcc".
8517 Also look for ../../gcc/xgcc since that is what we will
8518 actually need, not "Makefile". Remove following assignment
8519 of CHILL to CHILL_FOR_TARGET because that results in
8520 recursive definition.
8521
8522Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8523
8524 * gdb.base/corefile.exp: Change xfail for backtrace in
8525 corefile.exp from linuxaout to all linux.
8526 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8527 cases where we miss the breakpoint at the signal handler
8528 for some reason. Setup xfail for linuxoldld/linuxaout and
8529 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8530 hitting SIGURG breakpoint.
8531 * gdb.base/signals.exp: Setup xfail for "next" acting like
8532 continue to add linuxoldld. Setup xfail for all linux for
8533 "next to handler in signals_tests_1", "backtrace in
8534 signals_tests_1", "continue to func1", "pass SIGUSR1",
8535 and continue to handler".
8536
8537Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8538
8539 * Update all FSF addresses except those in COPYING* files.
8540
8541Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8542
8543 * gdb.base/a2-run.exp: Change messages to be more explicit about
8544 the status of args, and quote binfile in results.
8545
8546Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8547
8548 * gdb.base/callfuncs.exp: Add tests for passing structs to
8549 inferior functions and return various types.
8550 * gdb.base/callfuncs.c: Add functions to receive a struct
8551 and return a member of the struct, in various types.
8552
8553Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8554
8555 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8556
8557Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8558
8559 * config/vxworks29k.exp: New file, sources vxworks.exp.
8560
8561Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8562
8563 * config/gdbremote.exp: New file. Testing framework using
8564 gdbserver.
8565
8566Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8567
8568 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8569 "call function when asleep" and "send end of file".
8570 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8571 for "backtrace in corefile.exp".
8572 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8573 for "backtrace through signal handler".
8574 * gdb.base/corefile.exp: Make sure we actually generate a core file
8575 before trying the core tests. Some systems allow the user to suppress
8576 generation of core files and default to that (linux for example).
8577 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8578 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8579
8580Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8581
8582 * gdb.threads: New directory with some crude multi-threaded
8583 gdb tests (step.exp and step2.exp).
8584 * config/mt-lynx (STEP_EXECUTABLE): Define.
8585 (THREADFLAGS): Define.
8586
8587Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8588
8589 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8590
8591 * gdb.base/signals.exp: Disable whole file for lynx until
8592 further notice.
8593
8594 * gdb.base/signals.exp: xfail test where "next" acts like
8595 "continue" for lynx.
8596
8597 * gdb.base/interrupt.exp: xfail test for calling function while
8598 inferior is asleep for lynx.
8599
8600 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8601 than one cr-lf after each command.
8602
8603Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8604
8605 * configure.in: Reinstate setting of stabsdirs variable, fix
8606 typo in setting up configdirs for native builds.
8607
8608 * gdb.base/return.exp: Fix typo in return double test.
8609 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8610 compiler from optimizing them away.
8611
8612Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8613
8614 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8615 sequences to be echo'd by gdb when using gdb_test.
8616 * gdb.chill/chexp.exp: Likewise.
8617 * gdb.fortran/exprs.exp: Likewise
8618
8619Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8620
8621 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8622 after the inferior gdb has started.
8623
8624 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8625 after each command.
8626 * gdb.base/funcargs.exp: Likewise.
8627 * gdb.base/gdbvars.exp: Likewise.
8628 * gdb.base/interrupt.exp: Likewise.
8629 * gdb.base/list.exp: Likewise.
8630 * gdb.base/watchpoint.exp: Likewise.
8631 * gdb.c++/demangle.exp: Likewise.
8632 * gdb.c++/inherit.exp: Likewise.
8633 * gdb.chill/chexp.exp: Likewise.
8634 * gdb.fortran/exprs.exp: Likewise.
8635
8636 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8637 test if we can't handle IO to/from the inferior.
8638
8639 * gdb.c++/misc.exp: Always check for a program already being
8640 started after sending a "run" command to gdb.
8641
8642 * gdb.base/twice.exp: Start with a fresh gdb.
8643
8644 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8645 only depend on gdb's expression code, not the chill runtime.
8646
8647 * gdb.base/return.c: Put return values into variables so we
8648 can have gdb print them rather than depending on the program
8649 to print them.
8650 * gdb.base/return.exp: Corresponding changes.
8651
8652 * lib/gdb.exp: Provide default value for noinferiorio.
8653 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8654 the inferior.
8655
8656 * gdb.base/break.exp: Always check for a program already being
8657 started after sending a "run" command to gdb.
8658 (text_next_with_recursion): Don't check the output from the
8659 program's printf statement. Instead just make sure the program
8660 exited.
8661
8662 * gdb.base/commands.exp: Protect tests which need arguments with
8663 $noargs conditionals.
8664
8665Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8666
8667 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8668 of structure member arrays to match gdb/valops.c:value_addr change.
8669
8670Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8671
8672 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8673 cases.
8674
8675Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8676
8677 * configure.in (configdirs): Remove gdb.chill from default list
8678 of subdirs and then add it back in only if doing a native build.
8679 The current chill compiler does not yet work in any cross build.
8680 * Revert all signal changes from Jul 6.
8681 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8682 for sh-hms targets, allowing these tests to link, with no other
8683 changes. Testing is suppressed by setting "nosignals" in site.exp.
8684
8685Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8686
8687 * configure.in (signaldirs): Define and add to configdirs for all
8688 targets except some specific ones that are known to not support signals.
8689 Also clean up formatting.
8690 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8691 (signals, sigall): Remove rules to build.
8692 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8693 Moved to new gdb.signals directory.
8694 * gdb.signals: New test directory.
8695 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8696 signals.c signals.exp}: New or moved files.
8697
8698Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8699
8700 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8701
8702Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8703
8704 * gdb.base/return.exp: Xfail `return double' test failure
8705 on at least Solaris 2.3 and handle future/past versions on
8706 a case by case basis as appropriate. Also update message
8707 to include i*86 failures.
8708
8709Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8710
8711 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8712
8713 * lib/gdb.exp: Fix comment which erroneously identified
8714 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8715 gdb_file_cmd not gdb_load).
8716 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8717
8718 * gdb.base/setvar.exp: Make test names consistent between pass and
8719 fail cases. Use gdb_test more.
8720
8721Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8722
8723 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8724
8725Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8726
8727 * gdb.base/help.exp: Fix expected help string for `show commands'.
8728
8729Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8730
8731 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8732
8733 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8734 of a text section.
8735
8736Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8737
8738 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8739 that loop eventually terminates. Fix Connection refused logic so
8740 that testsuite will expire nicely.
8741
8742Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8743
8744 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8745 config/rom68k.exp: New tcl glue for the appropriate monitors.
8746 These all just end up calling monitor.exp.
8747 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8748 refused' by retrying. Cleanup some timeout issues.
8749 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8750 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8751 callers don't have to set/restore global timeout variable.
8752
8753 * The following set of changes centralizes management of the global
8754 timeout variable. This way, it can be set in one target dependent
8755 place instead of dozens of places scattered throughout the test suite.
8756 If you need to lengthen a timeout, then you should either set timeout
8757 in one of the config/{target}.exp files, or multiply it by a factor.
8758 Setting it to an absolute value is always going to lose for some
8759 targets.
8760 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8761 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8762 * gdb.base/funcargs.exp: Don't set timeout.
8763 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8764 * gdb.base/printcmds.exp (test_print_string_constants
8765 test_print_array_constants): Don't set timeout.
8766 * gdb.base/ptype.exp: Don't set timeout.
8767 * gdb.base/recurse.exp: Don't set timeout.
8768 * gdb.base/return.exp: Don't set timeout.
8769 * gdb.base/watchpoint.exp: Don't set timeout.
8770 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8771 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8772
8773Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8774
8775 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8776
8777Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8778
8779 * lib/gdb.exp: Disable chill tests for irix5.
8780
8781Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8782
8783 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8784 each test pass or fail.
8785
8786Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8787
8788 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8789 xlc not gcc.
8790
8791Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8792
8793 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8794
8795Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8796
8797 * config/est.exp: Fix copyright and comments. Remove dead code.
8798 Use targetname, serialport and baud variables instead of fixed
8799 constants.
8800 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8801 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8802
8803Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8804
8805 * gdb.base/watchpoint.exp: Don't run
8806 test_watchpoint_triggered_in_syscall for sunos.
8807
8808Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8809
8810 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8811 they don't seem to exist. Do include stdio.h.
8812
8813Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8814
8815 * gdb.base/a1-selftest.exp: Add alpha xfail.
8816
8817Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8818
8819 * gdb.base/watchpoint.c (main): Prompt before calling read().
8820 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8821 Revise accordingly. Remove cruft about sending "123" several
8822 times, until it gets noticed. Clean up the "print buf[0]" stuff
8823 so that it passes or fails, and waits for prompts in the usual way.
8824
8825Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8826
8827 * gdb.base/recurse.exp: Fix comment.
8828
8829 * TODO: Remove item about printing variables in nodebug.exp. Add
8830 item about enabling tests which are only run on some targets.
8831
8832 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8833 fail, make test names unique, use new gdb_test convention
8834 regarding pattern, use gdb_test more, etc.).
8835
8836 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8837 fail, make test names unique, etc.).
8838
8839Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8840
8841 * gdb.base/nodebug.c: Change return type of top and middle to
8842 short.
8843 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8844 are fixed by the recent mdebugread.c changes. Allow `short ()'
8845 as type for top and middle.
8846
8847Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8848
8849 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8850 nearly as I can tell, the whole thing was an accident in Stu's
8851 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8852 to replace a send/expect pair with gdb_test, but ended up only
8853 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8854 of 30 Mar 1995 took care of it, but left this vestigial comment
8855 which I am now nuking.
8856
8857Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8858
8859 * gdb.base/break.exp: Look for different line number for
8860 breakpoint at main depending on usestubs.
8861
8862Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8863
8864 * gdb.base/list.exp: Adjust some alternate expect patterns to
8865 match recent list0.c change. Add alternate expect pattern for
8866 output from `list default lines around main' for optimizing
8867 compilers.
8868
8869Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8870
8871 * lib/gdb.exp: If nosignals is not set, set it to 0.
8872
8873Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8874
8875 * config/slite-gdb.exp: Responds to load symbol table prompt.
8876 * gdb.base/break.exp: Adjust line number, fix rerun.
8877 * gdb.base/langs0.c: Add #ifdef usestubs.
8878
8879Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8880
8881 * gdb.base/list.exp: Adjust line contents after adding new lines in
8882 list0.c. Also fix a syntax error.
8883
8884 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8885 * gdb.base/break.exp: ditto.
8886 * gdb.base/list.exp: ditto.
8887 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8888 * gdb.base/run.c: ditto.
8889 * gdb.base/list0.c: ditto.
8890 * gdb.base/funcargs.c: ditto.
8891
8892Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8893
8894 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8895 $targetname, $serialport and $baud instead of hardwired variables.
8896 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8897 target doesn't support signals.
8898
8899Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8900
8901 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8902
8903Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8904
8905 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8906 Don't rely on the value of an auto variable before it has been
8907 initialized. Use gdb_test more.
8908
8909Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8910
8911 * lib/gdb.exp (default_gdb_version): A version number must start
8912 with a digit, but other than that contains all characters up to
8913 the first whitespace character.
8914
8915Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8916
8917 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8918
8919Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8920
8921 * gdb.c++/*.exp: Warn if executable does not exist. The original
8922 reason for skipping the warning was that configure.in sometimes
8923 intentionally skipped building the executables but the tcl code
8924 had no way of knowing. That (a) was always bogus with respect to
8925 error handling, (b) is no longer true (right now there is no way
8926 to skip C++ tests).
8927
8928 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8929
8930Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8931
8932 * gdb.base/list.exp: Add expect patterns for output from
8933 SunPRO compiled executables.
8934 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8935 types.
8936
8937Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8938
8939 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8940 number (we are already testing that the correct source line text
8941 gets printed).
8942
8943 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8944 that is what is intended, but something needed to be done to get
8945 sunos4 native working again.
8946
8947 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8948
8949 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8950 apparently went with a (very) old xfail.
8951
8952Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8953
8954 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8955 runto_main is a proc in gdb.exp that will do 'step' for target use
8956 stubs.
8957 * gdb.base/exprs.exp: ditto.
8958 * gdb.base/interrupt.exp: ditto.
8959 * gdb.base/opaque.exp: ditto.
8960 * gdb.base/printcmds.exp: ditto.
8961 * gdb.base/ptype.exp: ditto.
8962 * gdb.base/scope.exp: ditto.
8963 * gdb.base/setvar.exp: ditto.
8964 * gdb.base/signals.exp: ditto.
8965 * gdb.base/twice.exp: ditto.
8966 * gdb.c++/classes.exp: ditto.
8967 * gdb.c++/inherit.exp: ditto.
8968 * gdb.c++/templates.exp: ditto.
8969 * gdb.base/break.exp: no run and hit main for stubs. Change line
8970 numbers for breakpoints and info breakpoint.
8971 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8972 breakpoint().
8973 * gdb.base/callfuncs.c: ditto.
8974 * gdb.base/exprs: ditto.
8975 * gdb.base/interrupt.c: ditto.
8976 * gdb.base/opaque0.c: ditto.
8977 * gdb.base/printcmds.c: ditto.
8978 * gdb.base/ptype.c: ditto.
8979 * gdb.base/scope0.c: ditto.
8980 * gdb.base/setvar.c: ditto.
8981 * gdb.base/signals.c: ditto.
8982 * gdb.base/twice.c: ditto.
8983 * gdb.c++/misc.cc: ditto.
8984 * gdb.c++/templates.cc: ditto.
8985
8986Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8987
8988 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8989
8990 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8991 somewhere between `read' and `main.c'. I'm pretty sure the
8992 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8993 and it isn't particularly useful.
8994
8995 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8996
8997Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8998
8999 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9000
9001Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9002
9003 * config/mt-slite: add LIBS and -nostdlib.
9004 * config/slite-gdb.exp: add this new file to support sparclite target.
9005
9006Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9007
9008 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9009
9010 * gdb.base/a2-run.exp: Change argument to istarget from
9011 "*-*-vxworks" to "*-*-vxworks*".
9012 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9013
9014Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9015
9016 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9017 will not runto main but do a 'step' to step out of breakpoint().
9018 * config/mt-slite: add -Dusestubs.
9019
9020Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9021
9022 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9023 instead of just @.
9024
9025 * gdb.base/signals.exp: Add test for "handle all print".
9026 * TODO: Remove "handle all print". Also remove item about
9027 checking copyright date (I don't like the idea of a spurious FAIL
9028 based on when we run the tests).
9029
9030 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9031 for SunOS4 (reason for failure not investigated). Remove
9032 redundant test for $binfile.
9033
9034 * gdb.base/nodebug.c (array_index): Call malloc.
9035
9036 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9037
9038Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9039
9040 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9041 conventions and slightly simplify the matching regexp.
9042
9043Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9044
9045 * gdb.base/break.exp: Update gdb_test invocation to use new
9046 convention.
9047
9048 * lib/gdb.exp: If noargs is not set, set it to 0.
9049
9050 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9051 tests unique.
9052
9053 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9054
9055Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9056
9057 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9058 one argument of type "<non-float parameter>".
9059
9060Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9061
9062 * config/rom68k.exp: New file to support Motorola IDP board.
9063 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9064 * gdb.base/break.c: Change things around so that this program
9065 doesn't depend upon args. This is necessary to make remote
9066 targets work (in general, they can't take args).
9067 * gdb.base/break.exp: Don't try to send args to program. Don't
9068 expect output. Also, replace lots of code with gdb_test.
9069
9070Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9071
9072 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9073 printing of '\'' (which is what the comment says we are testing,
9074 even though we were not), not '''.
9075 (test_integer_literals_rejected): Test that printing ''' is an error.
9076
9077 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9078 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9079 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9080 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9081 Use gdb_test not test_print_accept.
9082 * lib/gdb.exp: Remove test_print_accept.
9083
9084 * gdb.base/signals.exp (signal_tests_1): Make pass message
9085 consistent with fail message.
9086
9087 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9088 unsigned char; the bug (PR 1821) is fixed.
9089
9090 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9091
9092 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9093 successful tests--makes xfailing them work right.
9094
9095Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9096
9097 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9098 only \r\n, not .*. The test can pass .* as the last thing in
9099 $pattern if that is what it wants. In addition to providing this
9100 flexibility, this change should speed up pattern matching in cases
9101 where the pattern already ended with .* (there were a number of
9102 them). This change also helps catch bad patterns--in the old
9103 scheme the typo "char \*" instead of "char \\*" would pass. Now
9104 it is caught.
9105 * Many .exp files: Update callers.
9106
9107 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9108 clearer and does not spuriously match multiple ('s. Likewise for
9109 ) and *.
9110
9111 * gdb.base/nodebug.exp: Test ability to call a function and pass
9112 it a string (even with no debugging info).
9113
9114 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9115 "p '\'", which is the same as "p ''" once tcl gets done with
9116 quoting, to "p '\\'", which I suspect is what is intended (one
9117 backslash gets sent to GDB).
9118
9119 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9120
9121Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9122
9123 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9124 1817) was fixed literally years ago.
9125
9126Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9127
9128 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9129 test, it causes stepping out of call_after_alloca_subr with
9130 optimizing compilers.
9131 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9132 fails.
9133
9134 * gdb.c++/templates.exp: Source templ-info.exp only if
9135 the templates executable exists.
9136
9137 * gdb.c++/misc.cc (class Contains_static_instance,
9138 class Contains_nested_static_instance),
9139 gdb.c++/classes.exp (test_static_members): Test printing of
9140 a class that contains a static instance of the class.
9141
9142Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9143
9144 * gdb.base/langs2.c (cppsub_): Don't prototype.
9145 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9146 only, I believe).
9147
9148Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9149
9150 * lib/gdb.exp (skip_chill_tests): New procedure.
9151
9152 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9153
9154Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9155
9156 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9157 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9158
9159Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9160
9161 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9162
9163 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9164 disassemble 8, not 16, instructions for part 4.
9165
9166 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9167 support the latter anymore.
9168
9169 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9170 -DNO_PROTOTYPES.
9171 * gdb.base/callfuncs.c: Control use of prototypes based on
9172 NO_PROTOTYPES, not __STDC__.
9173 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9174 t_float_values2 tests if prototypes in use.
9175
9176 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9177 t_double_values): When checking differences against DELTA, check
9178 that difference is within the range (-DELTA,DELTA), not just
9179 (-infinity,DELTA).
9180
9181Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9182
9183 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9184 'file' command firts, then 'target', then 'load', this is due to gdb
9185 target set up.
9186 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9187
9188Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9189
9190 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9191 FP load/store variants.
9192 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9193
9194Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9195
9196 * gdb.base/term.exp: Do not give a warning if not native, it is
9197 not an abnormal condition.
9198
9199Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9200
9201 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9202 t_char_array".
9203
9204Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9205
9206 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9207 are getting the version number.
9208
9209 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9210 if not native, it is not an abnormal condition.
9211
9212Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9213
9214 * lib/gdb.exp: Just use "file exists", rather than undocumented
9215 dejagnu procedure "findfile".
9216
9217Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9218
9219 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9220 (LDFLAGS): Set to -Xlinker -Ur.
9221
9222 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9223 Removed, these values are set by lib/gdb.exp.
9224
9225 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9226
9227Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9228
9229 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9230 of replicating gdb startup code.
9231
9232 * config/mt-vxworks (LDFLAGS): Set to -r.
9233 (CFLAGS_FOR_TARGET): Removed.
9234
9235 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9236 (gdb) and gdb for vxworks uses (vxgdb).
9237
9238 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9239 executable is not in the tree and host != target, use sed and
9240 program_transform_name to determine the gdb name used by the
9241 target.
9242
9243 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9244 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9245
9246Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9247
9248 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9249 floats, chars, and shorts where there are ANSI-style function
9250 definitions.
9251
9252 * gdb.base/langs.exp, gdb.base/langs*: New test.
9253 * gdb.base/Makefile.in: Build it.
9254 * TODO: Remove item about checking that C names don't get C++
9255 demangling applied; this test tests it.
9256
9257Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9258
9259 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9260 went with the const70 xfail. The xfail went away a year ago.
9261
9262 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9263
9264 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9265 for hp300.
9266
9267 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9268
9269 * gdb.base/a1-selftest.exp: Don't run on hp300.
9270
9271Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9272
9273 * Makefile.in (site.exp): Set host_alias and target_alias as well
9274 as host_triplet and target_triplet.
9275
9276Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9277
9278 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9279
9280 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9281 places as other ecoff systems).
9282
9283 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9284 ultrix.
9285
9286Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9287
9288 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9289 remove them.
9290 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9291 variable and "variable" in addition to "data variable".
9292 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9293
9294 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9295 2.
9296 * gdb.base/list1.c (long_line): Add additional statement at start
9297 of function.
9298 * gdb.base/list.exp (test_forward_search): Update line number to
9299 reflect new statement.
9300
9301Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9302
9303 * gdb.base/signals.exp: Reinitialize searched source directories
9304 after gdb_start call.
9305
9306Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9307
9308 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9309 * gdb.stabs/Makefile.in: Likewise.
9310
9311 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9312 change. Instead split the tests into smaller pieces.
9313 * gdb.disasm/hppa.s: Corresponding changes.
9314
9315Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9316
9317 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9318 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9319
9320 * gdb.base/funcargs.exp: Modify many tests so that every test
9321 either passes or fails. Make some test names unique.
9322
9323Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9324
9325 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9326 Call stty to set interrupt character.
9327
9328 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9329 for HP assembler versus GNU assembler based on actual behavior of
9330 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9331
9332 * TODO: Suggest a few more stepping tests.
9333
9334Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9335
9336 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9337 restart GDB for h8300 after a continue.
9338 (return): Add pattern to match a29k-udi behavior.
9339 * gdb.base/nodebug.exp: Remove obsolete comment.
9340 * gdb.base/regs.exp: New file, testing of register displays.
9341 * gdb.base/return.exp: Fix typo in reference to $objdir.
9342 * gdb.base/whatis.exp: Always start with a fresh GDB.
9343
9344Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9345
9346 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9347 higher, these tests generate a lot of output.
9348
9349Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9350
9351 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9352 code following the catch silently ignored some errors; without the
9353 catch they should be thrown like any other tcl error. Also, the
9354 catch used "" instead of {} which meant all the callers who wanted
9355 to include one of the characters "[]$ had to quote it an extra time.
9356 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9357 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9358 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9359 Remove extra quoting.
9360
9361Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9362
9363 * gdb.base/commands.exp: Make test names unique; every test either
9364 passes or fails. Update some comments.
9365
9366 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9367
9368Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9369
9370 The following fixes a FAIL caused by the fact that the alpha stabs
9371 configuration didn't use the ".if alpha" code in weird.def.
9372 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9373 bit pointer, so the 32 bit version works even on the alpha.
9374 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9375 Remove the stuff which allowed us to have separate versions for
9376 alpha and everything else.
9377
9378 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9379 regexp which "info func operator\[\](" is supposed to match. Fix
9380 string to send to GDB. Note that GDB still doesn't work right. Add a
9381 new test for "info func .perator\[\](" which GDB does handle correctly.
9382
9383 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9384
9385Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9386
9387 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9388 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9389 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9390 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9391 it makes the tests harder to understand and confuses test-o-matic.
9392 The preferred style is that each test provides a PASS or a FAIL,
9393 and has a unique message (e.g. "continue #54" not just "continue")
9394 which is the same for the pass and the fail.
9395 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9396 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9397 to lib/gdb.exp.
9398 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9399 prt_accept which was basically the same thing. Likewise for
9400 test_print_reject and prt_reject.
9401 * lib/gdb.exp (test_print_reject): Add some more error message
9402 patterns to match from the former printcmds.exp (prt_reject).
9403 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9404 One defect of the passcount stuff is that some of it failed to
9405 report XPASS where appropriate.
9406 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9407 stuff before and after arg in expected pattern.
9408 (test_paddr_operator_functions): Re-do test without print_addr_of;
9409 this is the only test which seems to want extra stuff there.
9410
9411Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9412
9413 * gdb.base/nodebug.exp: Update new tests to reflect improved
9414 wording of gdb output.
9415
9416 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9417 and "ptype" work on variables in files compiled without -g.
9418 Replaces commented out "maint print msymbol" tests.
9419
9420Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9421
9422 * gdb.base/setvar.c (dummy): Call malloc.
9423
9424 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9425 losing with the irix4 sed.
9426
9427 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9428 ALRM" on irix4.
9429
9430Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9431
9432 * TODO: Remove items about corefile.exp testing new exec-file and
9433 backtrace; both are now done. Add items about printing enums.
9434
9435Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9436
9437 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9438 "get signal $thissig" test fails.
9439
9440 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9441
9442Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9443
9444 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9445 compiler warning with dec alpha compiler.
9446
9447 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9448 extra \n from gdb_test call (this explains why the prompt test
9449 that I removed yesterday was there).
9450 (user_defined_command_test): Remove extra \n and prompt test.
9451
9452 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9453 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9454 doesn't exist.
9455 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9456 Also remove alpha workaround, which turns out to be because
9457 SIGABRT == SIGLOST.
9458
9459 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9460
9461 * gdb.base/help.exp: Don't test "help show".
9462
9463Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9464
9465 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9466 "set print address" is on.
9467 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9468 pass prompt to gdb_test; gdb_test already looks for the prompt.
9469
9470 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9471
9472 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9473 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9474 was to make sure that gdb can read a core file. But (a) the "read
9475 the corefile" part didn't make it to a1-selftest.exp, we just
9476 delete the corefile after creating it, and (b) we test reading
9477 corefiles in corefile.exp anyway. Also, this test left around a
9478 xgdb process on Solaris.
9479
9480 * gdb.base/corefile.exp: Also test backtrace.
9481
9482Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9483
9484 * gdb.base/commands.exp: Test a simple user defined command with
9485 arguments and if/while statements; verify the full user command is
9486 printed by "show user".
9487
9488 * gdb.base/commands.exp: Test if/while commands as part of a
9489 breakpoint command list; verify they appear in breakpoint
9490 information.
9491
9492Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9493
9494 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9495 than by dividing by zero.
9496
9497Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9498
9499 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9500 performing an inferior call with watchpoints enabled.
9501 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9502 call.
9503
9504Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9505
9506 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9507 of "file" command.
9508
9509 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9510 Add additional pattern for when "int operator int(void);" appears
9511 in a different order.
9512
9513Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9514
9515 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9516
9517 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9518 and "signal" with ".*".
9519
9520Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9521
9522 * TODO: Add note about "handle all nostop".
9523
9524 * gdb.base/{sigall.c, sigall.exp}: New test.
9525 * gdb.base/Makefile.in: Add it.
9526
9527Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9528
9529 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9530 when invoking GDB, suppresses any windowing interface.
9531
9532Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9533
9534 * config/sim-gdb: New file, simulator testing support.
9535
9536Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9537
9538 * gdb.base/interrupt.exp: Test calling func1 twice.
9539
9540Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9541
9542 * gdb.base/list.exp (test_forward_search): Set timeout higher
9543 when we'll be getting lots of output from gdb.
9544
9545 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9546 "init_malloc" to after the expect statement. Run it if that
9547 regexp is taken, but also for two others which happen if source
9548 cannot be found.
9549
9550Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9551
9552 * gdb.base/printcmds.exp: New test, for printing register before
9553 program is running.
9554
9555Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9556
9557 * gdb.base/list.exp: Correct some alternate expect patterns
9558 to reflect changes in list1.c.
9559
9560Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9561
9562 * TODO: Add item regarding large frames.
9563
9564 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9565
9566 * TODO: Remove item about enabling return.exp; it
9567 is enabled. Suggest a few more "return" tests.
9568
9569Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9570
9571 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9572 anonymous unions.
9573
9574Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9575
9576 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9577 and pr-5646.o, so "make" is the same as "make all", not "make
9578 pr-4975.o".
9579
9580Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9581
9582 * gdb.base/list.exp: Adjust expectations to reflect changes in
9583 list1.c.
9584 (test_forward_search): New test proc.
9585 * gdb.base/list1.c (long_line): New function, has long source line.
9586
9587Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9588
9589 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9590 additional line of code that was added.
9591
9592Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9593
9594 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9595 tests so as not to overflow expect's input buffers.
9596 * gdb.disasm/hppa.exp: Corresponding changes.
9597
9598Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9599
9600 Beginnings of template debugging tests.
9601 * gdb.c++/templ-info.cc: New file to test for template
9602 debugging capability of the compiler.
9603 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9604 templ-info.cc.
9605 * gdb.c++/templates.cc: Add explicit template instantiations
9606 to enable compiling with -fno-implicit-templates. Add destructor
9607 and 'value' method to T5 class for template tests.
9608 * gdb.c++/templates.exp: Add testcases for printing of template
9609 types, setting breakpoints on template methods and calling a
beb998c6 9610 template method.
c906108c
SS
9611
9612Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9613
9614 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9615 branch target since some assemblers (gas-2.5) may emit a
9616 relocation for the branch instead of resolving it in the
9617 assembler.
9618
9619Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9620
9621 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9622 through signal handler.
9623
9624Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9625
9626 * configure.in (*-*-netware): Use config/mt-netware.
9627
9628 * config/mt-netware: New file.
9629 * config/mt-i386-netware: Removed, separate configs for different
9630 netware architectures are no longer needed now that we have
9631 --with-headers.
9632
9633Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9634
9635 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9636 by the recent changes to use ANSI C arithmetic conversions.
9637
9638Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9639
9640 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9641 bug involving using inferior_pid to figure out whether to select a
9642 frame.
9643
9644Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9645
9646 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9647 match the current disassembler output.
9648
9649Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9650
9651 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9652 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9653 types, expect "int" as type of integer values (for now).
9654
9655Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9656
9657 * gdb.base/commands.exp: New tests for if/while commands.
9658
9659Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9660
9661 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9662 by .*, since hex values have different syntax in Chill mode.
9663
9664Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9665
9666 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9667 linefeed from expect pattern for repeated types with indices > 9.
9668
9669Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9670
9671 First part of Fortran test suite.
9672 * gdb.fortran: New directory.
9673 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9674
9675Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9676
9677 * gdb.base/default.exp: Update expect pattern for load command
9678 without arguments.
9679
9680Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9681
9682 * configure.in: Change i386 to i[345]86.
9683 * gdb.base/configure.in: Likewise.
9684 * gdb.c++/configure.in: Likewise.
9685 * gdb.chill/configure.in: Likewise.
9686
9687Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9688
9689 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9690 patterns, since that is not a valid context for comments.
9691
9692Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9693
9694 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9695 repeated types and repeated types with indices > 9.
9696
9697Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9698
9699 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9700 2417; old bug has been fixed.
9701
9702Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9703
9704 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9705 send the newline ourselves instead of assuming gdb_test will do
9706 so when passed an empty input string.
9707
9708 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9709 stabs testcode.
9710
9711Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9712
9713 * lib/gdb.exp (gdb_test): Don't send anything if the first
9714 argument is an empty string. This makes cases where we want to
9715 match output that is already in expect's buffers (for example,
9716 matching a breakpoint after gdb_run_cmd has been called) work
9717 reliably.
9718
9719Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9720
9721 * config/netware.exp: New file.
9722
9723Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9724
9725 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9726 the -B and -L prefixes so we can find the debugging stub.
9727
9728 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9729 there and we are using the gcc from the tree.
9730
9731 * gdb.base/types.c: Removed.
9732
9733 * gdb.base/configure.in: Look for makefile fragments in ../config.
9734 Recognize i386-*-netware.
9735 * gdb.c++/configure.in: Likewise.
9736
9737Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9738
9739 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9740 the correct TCL syntax.
9741
9742Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9743
9744 * gdb.base/opaque.exp: use runto instead of messing around with
9745 breakpoints. Simplify by using gdb_test.
9746
9747 * gdb.base/bitfields.exp: restart between tests on netware targets
9748 because breakpoints aren't relocated after target death. Run
9749 processes to completion.
9750
9751 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9752
9753Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9754
9755 * Makefile.in: Remove extra tabs that confuse some versions
9756 of "make". Use the newly built gdb to test with by default,
9757 rather than the first one in the tester's search path.
9758
9759Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9760
9761 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9762
9763 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9764 condition help.
9765
9766Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9767
9768 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9769
9770 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9771 running.
9772 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9773 * gdb.base/funcargs.exp: Likewise.
9774
9775 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9776 * gdb.base/funcargs.exp: Likewise.
9777
9778 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9779 message is "".
9780
9781Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9782
9783 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9784 return,signals,twice}.exp: Handle non-existant binaries
9785 consistantly.
9786
9787 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9788 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9789 might testing a cross development system.
9790
9791Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9792
9793 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9794 runtest script is relative to ${srcdir}, not ${rootdir}.
9795
9796Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9797
9798 * gdb.base/signals.exp: Allow for optionality of breakpoint
9799 address.
9800
9801Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9802
9803 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9804
9805Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9806
9807 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9808 for size_t definition.
9809 * gdb.c++/templates.cc: Likewise
9810
9811 * config/mt-i386-netware: New file.
9812
9813 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9814 defined.
9815
9816 * gdb.base/Makefile.in: Added support for systems that name core
9817 files by appending "core" to the program name.
9818 * gdb.base/a1-selftest.exp: Likewise.
9819
9820Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9821
9822 * gdb.base/return.exp: Add comment and message for `return double'
9823 test failure on Sparc Solaris.
9824
9825Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9826
9827 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9828
9829Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9830
9831 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9832 from optimizing them away.
9833 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9834 patterns to include default constructors and assignment operators,
9835 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9836 character in the output of the virtual base pointer.
9837
9838Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9839
9840 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9841 expression match in print_addr_of to avoid unintented matches.
9842 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9843 versions up to 2.5.8.
9844
9845Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9846
9847 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9848 included file to run under newer versions of expect.
9849 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9850 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9851 Remove xfail for the virtual table of BDDHookV.
9852
9853Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9854
9855 * lib/gdb.exp (string_to_regexp): Set a default result.
9856 (default_gdb_start): Fix misleading message.
9857
9858Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9859
9860 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9861 Remove all CC, etc definitions.
9862 * config/mt-hpux: New file.
9863 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9864 (CFLAGS, LDFLAGS): Define.
9865 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9866
9867 * Makefile.in (site.exp): Don't insert host_os, etc.
9868 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9869 (distclean): Check existence of subdir.
9870 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9871 * gdb.base/Makefile.in: General cleanup and simplification.
9872 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9873 to build executables. Use default rule to build .o files.
9874 (EXPECT, RUNTEST, CC): Fix relative pathname.
9875 (site.exp): Don't insert host_os, etc.
9876 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9877 and/or SIGUSR1 defined.
9878 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9879 * gdb.c++/Makefile.in: General cleanup and simplification.
9880 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9881 (CFLAGS): Remove.
9882 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9883
9884Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9885
9886 * gdb.base/recurse.exp: Misc changes to get tests running again
9887 after Kung's changes to the watchpoint code.
9888 * gdb.base/watchpoint.exp: Likewise.
9889
9890Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9891
9892 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9893
9894Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9895
9896 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9897 * lib/gdb.exp (default_gdb_start): Define.
9898 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9899 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9900 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9901 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9902 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9903 Don't call gdb_target_udi in between tests.
9904
9905Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9906
9907 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9908 (which was basically just a local version of the same thing). In
9909 addition to avoiding duplication, gdb_test_exact is faster.
9910 * lib/gdb.exp (gdb_test_exact): Fix typo.
9911
9912 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9913 don't give an error.
9914
9915 * gdb.base/term.exp: Call delete_breakpoints before starting.
9916
9917 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9918 (t10): Add comment.
9919
9920Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9921
9922 Reorganization of the GDB Test Suite.
9923
9924 * gdb.base: New directory, contains all the basic tests.
9925 * gdb.c++: New directory, tests specific to C++.
9926 * gdb.chill: New directory, tests specific to Chill.
9927 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9928 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9929 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9930 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9931 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9932 t30-31 to chill).
9933 * */gdbme.*: Rename to match appropriate expect scripts.
9934 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9935 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9936 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9937 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9938 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9939 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9940 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9941 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9942 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9943 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9944 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9945 gdb.c++/virtfunc.cc: New names of C++ files.
9946 * gdb.chill/chillvars.ch: New name of Chill file.
9947 * gdb.base/configure.in, gdb.c++/configure.in,
9948 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9949 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9950 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9951 * configure.in (configdirs): Update to reflect directory changes.
9952 (target_abbrev): No longer define for any configuration.
9953 * Makefile.in: Cosmetic improvements to header comments.
9954
9955Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9956
9957 Various changes to gdb.t31:
9958
9959 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9960 * gdbme.ch: Make all key-words and predefineds be upper-case.
9961 * chillvars.exp: Expect key-words and predefinds in upper-case.
9962
9963 * chillvars.exp: Use gdb_test_exact many places.
9964 Change expected output for arrays (which now includes index labels).
9965
9966 * pr-5020.exp, gdme.ch (module PR_5020):
9967 New test, for PR-5020.
9968
9969Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9970
9971 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9972 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9973
9974Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9975
9976 * Makefile.in: Fix bit-rot in definitions of CHILL,
9977 CHILL_FOR_TARGET and Chill_LIB.
9978 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9979 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9980 CHILL, and CHILL_LIB.
9981
9982Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9983
9984 * Revert the previous changes. Please see Rob's directory
9985 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9986
9987Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9988
9989 * Makefile.in, configure.in, config/mips-gdb.exp,
9990 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9991 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9992 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9993 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9994 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9995 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9996 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9997 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9998 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9999 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10000 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10001 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10002 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10003 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10004 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10005 changes from 94Q1.
10006
10007Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10008
10009 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10010 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10011 Rob's new testing fragments.
10012
10013Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10014
10015 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10016 lib/gdb.exp: Replace error proc calls with perror.
10017
10018Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10019
10020 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10021 version also, match on casted version strings, and match on
10022 gdb startup case where the line numbers might be messed up.
10023
10024Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10025
10026 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10027 (CFLAGS): Delete it from here.
10028
10029Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10030
10031 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10032
10033Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10034
10035 * Makefile.in (RUNTEST): Default to just "runtest".
10036
10037Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10038
10039 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10040 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10041 the code has been restructured.
10042
10043Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10044
10045 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10046 \n, not just one of each.
10047
10048 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10049 /bin/cc gives a warning if you do.
10050
10051Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10052
beb998c6 10053 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
10054 __t10ListS_link1ZUiRCUiPT0
10055
10056Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10057
10058 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10059 on local variables in recursive functions.
10060
10061 * gdb.t07/Makefile.in: Build the new test.
10062
10063Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10064
10065 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10066 directly. Instead compare the return values from actual calls.
10067
10068Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10069
10070 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10071
10072Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10073
10074 * From Peter Schauer with minor modifications.
10075 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10076 stops in mid-line in the caller. Add xfail for returning a float
10077 value on X86 targets.
10078
10079Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10080
10081 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10082 to avoid expect lossage.
10083 (fmem_LRbug_tests): Likewise.
10084 * gdb.disasm/hppa.s: Corresponding changes.
10085
10086 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10087 conditions to work with latest dejagnu/expect.
10088
10089 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10090 expected to fail on the PA.
10091 (backtrace in call with trampolines): Explicitly require main
10092 to be frame #1 (no trampolines should show up in backtrace).
10093
10094 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10095 "continue -expect".
10096 * gdb.t06/break.exp: Likewise.
10097 * gdb.t07/watchpoint.exp: Likewise.
10098 * gdb.t13/bitfields.exp: Likewise.
10099 * gdb.t15/{funcargs,return}.exp: Likewise.
10100 * gdb.stabs/weird.exp: Likewise.
10101 * config/{mips,udi}-gdb.exp: Likewise.
10102
10103 * hppa.sed: Enclose comments within a sed command to avoid
10104 losing with the old OSF1 sed.
10105
10106Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10107
10108 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10109 sequent dynix.
10110 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10111 * gdb.t15/funcargs.exp: Conditionally step again to really
10112 finish from marker_call_with_trampolines. Handle the case where
10113 the first step from within call_with_trampolines already steps
10114 us back to main.
10115 * gdb.t15/gdbme.c: Add comment to closing brace of
10116 call_with_trampolines for funcargs.exp.
10117
10118Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10119
beb998c6 10120 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
10121 Fix typo(s).
10122
10123Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10124
10125 * gdb.t07/gdbme.c: More code for watchpoint testing.
10126
10127 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10128 "Hardware watchpoint" throughout file.
10129 (test_watchpoint_triggered_in_syscall): New test.
10130 (test_complex_watchpoint): New test.
10131
10132Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10133
10134 * gdbme.c (call_with_trampolines): New function to try and step
10135 into. Tests trampoline problems on the PA.
10136
10137 * funcargs.exp (localvars_in_indirect_call): No longer expect
10138 stepping into indirect call to fail on PAs.
10139 (test_stepping_over_trampolines): New test.
10140
10141Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10142
10143 * TODO: Add suggestions for static member function tests, and
10144 completion tests.
10145
10146Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10147
10148 * TODO: Add suggestions for "p/a" tests.
10149
10150 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10151 (default_gdb_exit): Replace all the hair with sending "quit" to
10152 the process with a simple close.
10153
10154Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10155
10156 * TODO: Add suggestions for shared library tests.
10157
10158Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10159
10160 * TODO: Add suggestions for x/s tests.
10161
10162Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10163
10164 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10165 "enable once", and "enable breakpoints once" with ".*".
10166
10167Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10168
10169 * TODO: Add suggestions about structure passing tests.
10170
10171Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10172
10173 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10174 the primary1 test, use work around if __GNUC__ < 2.
10175 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10176 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10177 Test for bad output rather than waiting for timeout. Issue
10178 second continue only if first continue failed.
10179
10180Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10181
10182 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10183 operator[] test with gdb_test because the old code didn't seem to
10184 be getting the quoting right with the new dejagnu.
10185
10186Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10187
10188 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10189 one from the path.
10190 * Makefile.in: Use a fresh expect if there is one, use runtest
10191 from the src tree if there is one.
beb998c6 10192
c906108c
SS
10193Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10194
10195 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10196 next over recursive call. Revise the tests from that point on
10197 (which had been skipped) to match GDB's actual (correct) output.
10198
10199 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10200 with next over a breakpoint whose condition is false.
10201
10202 * gdb.t00/help.exp: Comment out "help set print" tests just like
10203 (and for same reason as) "help set" test.
10204
10205Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10206
10207 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10208 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10209
10210Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10211
10212 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10213 necessary gdb_target_udi.
10214
10215 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10216
10217 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10218 1838 and 2417; they are fixed.
10219
10220 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10221 gdb.t03/ptype.exp (ptype structure, ptype union):
10222 Remove xfails; the test is looser than when the xfails were added.
10223
10224 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10225 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10226
10227 * gdb.t01/run.exp: Only run shell test if isnative.
10228
10229 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10230 since "run" automatically loads if necessary. Call gdb_target_udi
10231 after the "file" since "file" kills any execution target.
10232
10233 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10234 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10235 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10236 argument for UDI.
10237
10238Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10239
10240 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10241
10242 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10243
10244Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10245
10246 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10247 properly quoting regexps. This makes the second argument to
10248 demangle a fixed string, which matches the callers, instead of a
10249 shell-style pattern which is what the previous implementation
10250 used. Update some of the callers.
10251
10252Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10253
10254 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10255 (comib_nullified_tests): Fix typo.
10256 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10257 strings. No longer expected to fail.
10258
10259 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10260 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10261 strings. No longer expected to fail.
10262
10263 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10264 string. No longer expected to fail.
10265
10266Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10267
10268 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10269 No longer expected to fail.
10270
10271 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10272 string. No longer expected to fail.
10273
10274Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10275
10276 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10277 only in the names (I probably got most of them). I was even
10278 generous with some which differed in underscores in names, and
10279 probably missed a few, and I *still* was able to remove almost a
10280 third of the file with almost no impact on testsuite coverage.
10281
10282Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10283
10284 * gdb.t00/default.exp: Match udi_attach error message as well as
10285 the one from child_attach.
10286
10287 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10288
10289 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10290
10291 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10292 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10293
10294 * Move test with enums and partial symbols back to
10295 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10296 Reverts the change of 26 May 93. Per today's change to
10297 stabs.texinfo, the behavior that weird.exp was expecting was
10298 unreasonable; what is important is that the compiler+gdb get
10299 things right, which happens with a recent gcc. Also fix the test
10300 to deal with native compilers which put out the stab gdb can't
10301 deal with.
10302
10303Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10304
10305 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10306 in the names. The main thing these accomplish is to slow things down.
10307 Many more such duplicates surely remain.
10308
10309 * gdb.t00/help.exp: Comment out "help support" test just like
10310 (and for same reason as) "help set" test.
10311
10312Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10313
10314 * gdb.t06/break.exp: Remove setup_xfails for
10315 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10316 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10317 about known bug in gcc to include up through 2.5.8.
10318 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10319 well as "_vb$".
10320 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10321 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10322 with latest gcc and gdb.
10323 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10324 well as "_vb$".
10325
10326Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10327
10328 * configure.in (hppa*-*-*): Also configure and build stabs-only
10329 tests.
10330
10331Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10332
10333 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10334 * gdb.t10/configure.in (hppa*-*-*): Use it.
10335
10336Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10337
10338 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10339
10340Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10341
10342 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10343 versions prior to 1.13.5.
10344
10345Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10346
10347 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10348 the prompt is at the start of a line.
10349
10350Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10351
10352 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10353 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10354 in the copr tests now.
10355 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10356 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10357 expected to fail.
10358
10359Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10360
10361 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10362 gdb.t31/chillvars.exp, lib/gdb.exp:
10363 Tweak to run under either version of expect.
10364 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10365 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10366 * gdb.t11/list.exp: Remove extraneous whitespace.
10367
10368Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10369
10370 * gdb.t16/printcmds.exp (test_print_strings): Accept
10371 "(unsigned char *) " before the string.
10372
10373 * TODO: Add notes about printing of fancy types and GDB expressions.
10374
10375Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10376
10377 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10378 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 10379 if doing mips-idt-ecoff.
c906108c
SS
10380
10381Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10382
10383 * Most .exp files: Tweak to run under either version of expect.
10384
10385Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10386
10387 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10388 xfails; I'm not sure why they are failing, but not because of PR 1806.
10389
10390Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10391
10392 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10393 defined in lib/gdb.exp.
10394
10395Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10396
10397 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10398 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10399 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10400 have to be typeless.
10401
10402Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10403
10404 * TODO: Add suggestion for copyright year test.
10405
10406Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10407
10408 * configure.in (*-*-lynxos*): Add stabs tests.
10409
10410Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10411
10412 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10413 so insert a tab before any assembler directive in column zero.
10414
10415 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10416 stores.
10417 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10418 stores.
10419 (fpu_short_memory_tests): Likewise.
10420
10421Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10422
10423 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10424 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10425 .stabs directives in comments.
10426
10427Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10428
10429 * TODO: New file, describing tests we could write.
10430 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10431
10432Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10433
10434 * gdb.t06/signals.exp: Add kludge to force re-sync.
10435
10436 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10437 to xgdb instead of gdb, get out of gdb.
10438
10439Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10440
10441 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10442 for info.
10443
10444Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10445
10446 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10447 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10448 * gdb.stabs/hppa.sed: New sed script for the PA.
10449
10450Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10451
10452 * gdb.stabs: Re-write weird.def and configuration to use sed
10453 instead of cpp. sed is portable and POSIX; cpp is neither.
10454
10455Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10456
10457 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10458
10459Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10460
10461 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10462
10463Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10464
10465 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10466 "_vb$".
10467 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10468 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10469
10470Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10471
10472 * lib/gdb.exp: Comment out code which depends on non-existent
10473 `transform' procedure.
10474
10475Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10476
10477 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10478 * lib/gdb.exp: Transform tool name.
10479 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10480 1.1's new error handling system.
10481
10482Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10483
10484 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10485
10486Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10487
10488 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10489 They made pattern matching so slow that timeouts happened on
10490 heavily loaded systems. Now any output from "show print" which
10491 gets us back to the GDB prompt is a PASS.
10492
10493Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10494
10495 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10496
10497Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10498
10499 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10500
10501 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10502 It is not from PR 3220.
10503
10504Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10505
10506 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10507 just started failing because they depended on the order the
10508 subcommands are presented, or exact docstring text. This kind of
10509 test is a pain and has minimal benefit.
10510
10511Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10512
10513 * gdb.t09/corefile.exp: At end of test, use "core" command with
10514 no arguments.
10515
10516Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10517
10518 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10519 17}/Makefile.in: Make it possible to run the testsuite with Sun
10520 make and CC = cross gcc by adding explicit build rules for .o
10521 files.
10522
10523Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10524
10525 * gdb.t15/funcargs.exp: Don't put comments on same line as
10526 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 10527
c906108c
SS
10528Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10529
10530 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10531
10532Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10533
10534 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10535 * gdb.t20/inherit.exp: remove three dumplicate entries.
10536
10537Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10538
10539 * gdb.t06/break.exp: For "next over recursive call", fail on any
10540 incorrect output, not just on "factorial (value=2)".
10541
10542Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10543
10544 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10545 working now. Add an xfail if accesing a bss variable causes
10546 a memory error if the target is not yet run.
10547
10548Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10549
10550 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10551 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10552 name of __st* demangling (2 strings). Did Kung really get the
10553 more than 95 others right without testing them?
10554
10555Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10556
10557 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10558
10559Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10560
10561 * configure.in (configdirs): Add gdb.disasm
10562 * gdb.disasm: New directory for GDB disassembler tests.
10563 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10564
10565Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10566
10567 * gdb.t00/help.exp: Don't test "help set".
10568
10569 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10570 from within expect statements. None of these happen anymore and
10571 they cause regressions to be silently unnoticed.
10572
10573 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10574 messages) about known failures with gcc cygnus-2.4.5-930417.
10575
10576 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10577 comp-info.exp so it gets built if it doesn't exist.
10578
10579 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10580 it is no longer used.
10581 * gdb.t13/comp-info.c: Removed.
10582
10583Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10584
10585 * gdb.t06/signals.exp: Add xfail for sun3.
10586
10587Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10588
10589 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10590 relevant because ^C doesn't get sent but failure can be reproduced
10591 interactively).
10592
10593Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10594
10595 * gdb.stabs/alpha.mt: New configuration file for alpha.
10596 * gdb.stabs/configure.in: Use it.
10597 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10598 sharing with alpha.mt, redefine long to word via preprocessor.
10599 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10600 for alpha.
10601 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10602 native cc.
10603 * gdb.t00/teststrategy.exp: Change expect string so that we
10604 consume the `(xgdb)' from the command echo and from the gdb prompt.
10605 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10606 gdb currently compares all values as long, so this failure probably
10607 applies to any configuration where LONGEST is bigger than a target int.
10608 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10609 with gcc.
10610 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10611 to handle opaque pointers, gcc is.
10612 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10613 as first argument. Include <sys/types.h> and change all operator
10614 new definitions to use size_t.
10615 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10616 now that we use size_t.
10617
10618Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10619
10620 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10621 a long or float array cast all array members to the same type.
10622 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10623 with 64 bit longs.
10624 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10625 on alpha.
10626 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10627
10628Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10629
10630 * gdb.t24 (demangle.exp): Constructors of templates have names like
10631 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10632 section 14.6 of the ARM.
10633
10634 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10635 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10636 accomplish little and slow down the testsuite.
10637
10638 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10639 Accept spaces various places.
10640
10641Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10642
10643 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10644 with watchpoint enabled.
10645
10646 * Makefile.in: Remove definition of CC and remove the second
10647 definition of CXX (the "CXX = gcc" one remains). These definitions
10648 were causing backquotes to be expanded within backquotes, which
10649 doesn't work.
10650
10651Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10652
10653 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10654
10655Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10656
10657 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10658 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10659 by mips cc and contains no stabs entries.
10660
10661Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10662
10663 * config/vx-gdb.exp: Use fake device to load files rather than
10664 NFS.
10665 * lib/gdb.exp: New proc to do "file" command.
10666 * config/unix-gdb.exp: Use new "file" proc.
10667
10668Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10669
10670 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10671 Rework board rebooting slightly.
10672 (gdb_exit): Don't exit from the remote shell; there isn't one.
10673 * gdb.stabs/weird.exp: If a program is being debugged already,
10674 kill it.
10675 * gdb.t04/setvar.exp: Stop and restart gdb.
10676 * gdb.t05/expr.exp: Likewise.
10677 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10678 restart gdb and reload the program.
10679 * gdb.t08/opaque.exp: Likewise.
10680 * gdb.t12/scope.exp: Likewise.
10681 * gdb.t13/bitfields.exp: Likewise.
10682 * gdb.t15/funcargs.exp: Likewise.
10683 * gdb.t20/classes.exp: Likewise.
10684 * gdb.t03/ptype.exp: Increase timeout.
10685 * gdb.t16/printcmds.exp (test_print_string_constants,
10686 test_print_array_constants): Likewise.
10687 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10688 * gdb.t20/classes.exp (do_tests): Likewise.
10689 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10690
10691Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10692
10693 * gdb.stabs: Renamed *wierd* to *weird*.
10694
10695Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10696
10697 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10698 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10699
10700Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10701
10702 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10703 (do_tests): Remove xfail for whatis on one_var and two_var.
10704
10705Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10706
10707 * Makefile.in: Made cross building work better by adding
10708 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10709
10710Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10711
10712 * gdb.t15/{return.c,return.exp,Makefile.in}:
10713 New test, currently commented out.
10714
10715Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10716
10717 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10718 still running and removes the leftover named socket so GDb can do
10719 clean restarts.
10720
10721Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10722
10723 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10724 console, not GDB.
10725 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10726 cross testing works better with "make check"
10727 * config/unix-gdb: Use default procedures for exit and version.
10728 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10729 with the newest VxWorks.
10730
10731Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10732
10733 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10734 old form.
10735
10736 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10737 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10738
10739 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10740
10741 * config/unix-gdb.exp: Remove this version of gdb_exit
10742 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10743 Rob says he'll look at it when he gets back to testing boards.
10744
10745Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10746
10747 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10748 an expected fail for certain ptype commands.
10749
10750 * gdb.t20/classes.exp: Update expected results of "ptype class
10751 Base1" to account for the constructor that now appears in the type.
10752
10753Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10754
10755 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10756 disappeared from list.
10757 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10758 "alldone" proc with call to cleanup and exit.
10759 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10760 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10761 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10762 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10763 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10764 "alldone" proc with simple returns that suppress remaining
10765 tests. The alldone proc went away many months ago.
10766
10767Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10768
10769 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10770
10771 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10772
10773Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10774
10775 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10776 as vax gdb will display them.
10777
10778Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10779
10780 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10781 optimizers.
10782
10783 * scope.exp: Change "bad value for localval" messages so each one
10784 is unique.
10785
10786 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10787 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10788
10789 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10790
10791Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10792
10793 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10794 doesn't exist (due to optimization).
10795
10796Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10797
10798 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10799 contains \r because the filename is long.
10800
10801 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10802 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10803
10804Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10805
10806 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10807 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10808 Ultrix.
10809 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10810 int tests.
10811 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10812
10813Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10814
10815 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10816
10817 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10818 to match does not match the passing case but still matches the
c906108c
SS
10819 failing case.
10820
10821Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10822
10823 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10824
10825Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10826
10827 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10828 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10829 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10830 Remove various versions of gdb_exit.
10831 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10832 gdb_exit.
10833 * config/unix-gdb.exp: gdb_exit remains here, and should override
10834 the generic version, since it's doing a lot of wierd stuff that
10835 the other versions aren't. FIXME, fold it in, or abandon this
10836 version.
10837
10838Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10839
10840 * gdb.t24/demangle.exp: Add tests for PR 3220.
10841
10842Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10843
10844 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10845
10846Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10847
10848 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10849 "i386-*-*". Works for i486 as well.
10850
10851 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10852 bug, and expand domain of xfail to all SVR4 systems, since the
10853 actual problem is likely to be in generic SVR4 /proc support.
10854
10855Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10856
10857 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10858
10859Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10860
10861 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10862 xfails for other systems. Match a missing 'Continuing.' as an
10863 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10864
10865 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10866 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10867 Only issue warning for missing executables if -all option is used.
10868
10869 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10870 file if -all option is used. It's like an unpredictable XFAIL.
10871
10872Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10873
10874 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10875 for dynamically linked binaries.
10876
10877 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10878
10879Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10880
10881 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10882 to state that this is a known bug in old versions of g++.
10883
10884Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10885
10886 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10887 while waiting for `Continuing'.
10888
10889Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10890
10891 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10892 in text, data, and bss.
10893 * gdb.t10/nodebug.c: Add local and global test variables for
10894 initialized and uninitialized data.
10895
10896Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10897
10898 * config/unix-gdb.exp (gdb_exit): Add "wait".
10899
10900Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10901
10902 * gdb.t06/signals.exp: xfail the continue from the handler for all
10903 targets.
10904
10905 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10906 function with watchpoints enabled, the i386 call dummy starts with
10907 a call.
10908
10909 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10910 386 bsd names its corefiles.
10911
10912Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10913
10914 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10915 compilers don't grok it.
10916 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10917 with small octal ints rather than character constants, which
10918 are signed and might not fit if first promoted to int.
10919
10920Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10921
10922 * gdb.t09/Makefile.in (clean): Remove corefile.
10923
10924Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10925
10926 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10927
10928Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10929 and Jim Kingdon (kingdon@cygnus.com)
10930
10931 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10932 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10933 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10934
10935Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10936
10937 * gdb.t17/interrupt.exp: Add xfail for hppa.
10938
10939Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10940
10941 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10942 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10943 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10944 to determine signed-ness of bitfields and use the result to setup
10945 the xfail.
10946 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10947 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10948 call line is reached if necessary.
10949
10950Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10951
10952 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10953
10954Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10955
10956 * gdb.t06/break.exp: Also test `clear' command.
10957
10958Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10959
10960 * gdb.t00/teststrategy.exp: Remove extra quote.
10961
10962 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10963 watchpoint enabled to be for all non-68k machines.
10964
10965 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10966
10967Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10968
10969 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10970 targets use aout.mt instead of ecoff.mt as gas understands
10971 standard aout format.
10972
10973Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10974
10975 * lib/gdb.exp (runto): Don't insist that function we are running to
10976 was compiled with -g.
10977
10978 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10979
10980 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10981 to get back into the read system call.
10982 Accept leading newline in case where we woke it up.
10983
10984Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10985
10986 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10987 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10988 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10989 enable ecoff configuration.
10990
10991Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10992
10993 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10994
10995Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10996
10997 * gdb.t16/printcmds.exp: Add another printf test.
10998
10999Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11000
11001 * configure.in: If configured -with-stabs on any target, add
11002 stabsdirs to configdirs.
11003
11004Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11005
11006 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11007 fun" so pattern does not match the command itself.
11008
11009Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11010
11011 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11012
11013Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11014
11015 * gdb.t17/interrupt.exp: Test for more things.
11016
11017Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11018
11019 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11020 compiler arranges the code and line numbers.
11021
11022 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11023
11024Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11025
11026 * gdb.t00/help.exp: Increase expect input buffer size.
11027
11028Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11029
11030 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11031
11032 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11033
11034 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11035
11036 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11037 [0-9]*, not just [0-9].
11038
11039Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11040
11041 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11042
11043 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11044
11045Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11046
11047 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11048
11049Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11050
11051 * gdb.t06/signals.c: Add xfails for sun3.
11052
11053 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11054
11055 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11056 test_stepping tests.
11057
11058Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11059
11060 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11061
11062 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11063
11064 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11065 rather than actually putting it through cpp twice.
11066
11067 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11068
11069Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11070
11071 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11072 no longer needed.
11073
11074Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11075
11076 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11077
11078 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11079 C++ features prints as "struct", make it a pass, not an xfail.
11080
11081Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11082
11083 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11084 Don't require VA to print as "class" rather than "struct".
11085
11086Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11087
11088 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11089
11090Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11091
11092 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11093
11094Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11095
11096 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11097 order.
11098
11099Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11100
11101 * gdb.t16/printcmds.exp: Add printf tests.
11102
11103 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11104
11105 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11106
11107Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11108
11109 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11110 pass counts, to counteract any existing or future setup_xfails.
11111
11112Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11113
11114 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11115 {BEGIN,END}_COMMON for common block instead of STAB.
11116 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11117
11118 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11119 intp_var should be N_GSYM not N_LSYM.
11120 wierd-aout.S: Use a label for the value of the N_SO.
11121 wierd.def: Remove all backslashes.
11122 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11123
11124Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11125
11126 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11127 get the expected next to inheritance3.
11128
11129Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11130
11131 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11132 now that gcc-2.4 gets it right.
11133
11134Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11135
11136 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11137
11138 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11139 generating comp-info.exp which works for cross-compilation.
11140
11141Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11142
11143 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11144 "*-*-sysv4.*".
11145
11146Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11147
11148 * gdb.t01/run.exp: Start with a fresh gdb.
11149 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11150 SVR4.x.
11151
11152Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11153
11154 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11155 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11156 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11157 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11158 things to remove.
11159
11160Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11161
11162 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11163 test cases from bug reports.
11164
11165Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11166
11167 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11168 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11169 avoid spurious xfails.
11170 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11171 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11172 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11173
11174Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11175
11176 * gdb.t00/teststrategy.exp: Rework to provide more useful
11177 description of each test, fix problem with systems that define
11178 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11179 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11180 results for "next over recursive call" so timeouts aren't taken
11181 by error.
11182
11183Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11184
11185 * gdb.t12/scope.exp: Test printing of variables before run.
11186
11187 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11188 printed in wrong order due to sorting.
11189
11190Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11191
11192 * gdb.t00/teststrategy.exp: Fix expected results for printing
11193 user entered string constant. Is array of char, prints with no
11194 address.
11195
11196 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11197 commands.
11198 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11199 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11200 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11201 of struct of char arrays.
11202 * gdb.t00/radix.exp: New tests for radix commands.
11203
11204Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11205
11206 * gdb.t16/printcmd.exp: Print a variable before running program
11207 (with xfail for AIX).
11208
11209Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11210
11211 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11212
11213 * gdb.t16/printcmd.exp: Don't print variables before running program.
11214
11215 * gdb.t06/break.exp: Don't require envp argument to main.
11216
11217 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11218
11219 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11220 Add xfails for rs6000.
11221
11222 * gdb.t02/whatis.exp: Change other tests not to re-test something
11223 we already tested.
11224
11225 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11226 each type used has a variable of that type.
11227
11228Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11229
11230 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11231
11232Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11233
11234 * configure.in: change srctrigger to be a file, not a directory
11235
11236Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11237
11238 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11239
11240 * gdb.t11/list.exp: Fixed a couple of typos.
11241
11242Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11243
11244 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11245 is fixed and PR is closed.
11246 * gdb.t16 (gdbme.c): Add simple test string variable.
11247 * gdb.t16 (printcmds.exp): Add tests with simple test string
11248 variable, primarily for boundaries on "set print elements".
11249
11250Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11251
11252 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11253 Make leading 0's optional and don't expect a tab in the middle
11254 of the number.
11255
11256 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11257
11258 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11259 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11260 don't end command passed to gdb_test with newline.
11261
11262 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11263 signed keyword away, don't expect signed bitfields to be signed.
11264
11265 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11266 printing with only as many 1's as are in the field as well as printing
11267 with 32 1's (see comment).
11268
11269Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11270
11271 * gdb.t00/default.exp: Start with a fresh gdb.
11272 * configure.in (configdirs): Remove gdb.t31 until the chill
11273 compiler works again. It no longer is able to find chillrt0
11274 since it isn't in libchill.a anymore.
11275 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11276 wierd.o, make more modular.
11277 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11278 spurious newlines that caused problems.
11279
11280Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11281
11282 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11283 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11284 gdb.stabs/wierd.{exp,def}: Many new tests.
11285
11286 * gdb.t00/default.exp: update info line for new message.
11287
11288 * gdb.t02/{whatis.exp,gdbme.c}:
11289 Test that "char *" doesn't print as "caddr_t".
11290
11291Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11292
11293 * gdb.t00/help.exp: Use .* in place of some help messages which
11294 just changed.
11295 gdb.t00/default.exp: Update "info frame" test for new message.
11296 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11297 Remove some xfails
11298
11299Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11300
11301 * gdb.t03/{gdbme.c,ptype.exp}:
11302 Add tests for typedef'd struct and union without tags.
11303 Also check "whatis" on a variable of a typedef'd enum without a tag.
11304
11305 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11306 PRMS 1823; the bug still exists but isn't reproduced by this test
11307 anymore), and remove rs6000 XFAIL (the bug is fixed).
11308
11309 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11310 duplicated from whatis.exp. For those that are left, accept
11311 "long", "long int", or "int" for long variables (whatis.exp already
11312 has an XFAIL for "int", so no need to fail it here).
11313
11314 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11315 Deal with GCC's names for types now that GDB uses the compiler's names.
11316
11317 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11318 setup_xfail's for sunos4. If we #defined the signed keyword away,
11319 don't expect GDB to know that char it is signed.
11320
11321 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11322
11323Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11324
11325 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11326 should work on any system, regardless of debugging format.
11327 * gdb.t21/demangle.exp: Move to gdb.t24.
11328 * gdb.t24/demangle.exp: Move from gdb.t21.
11329 * gdb.t24/{Makefile.in, configure.in}: New files.
11330
11331Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11332
11333 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11334 * gdb.stabs: New directory.
11335
11336Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11337
11338 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11339 not just "Quit anyway?".
11340
11341Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11342
11343 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11344 that all setup_xfails are immediately followed by clear_xfails.
11345
11346Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11347
11348 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11349 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11350 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11351 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11352 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11353 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11354 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11355 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11356 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11357 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11358 gdb.t31/chillvars.exp, lib/gdb.exp:
11359 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11360 bug-gdb@prep.ai.mit.edu.
11361
11362Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11363
11364 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11365 with 0.0, not integer 0.
11366
11367Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11368
11369 * gdb.t06/break.exp: Update for "Kill the program" message change.
11370
11371Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11372
11373 * Makefile.in (GDBFLAGS): Set to -nx.
11374 * Makefile.in (site.exp): Use GDBFLAGS.
11375
11376Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11377
11378 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11379 Makefiles.
11380 (check): depend on just-check.
11381 (just-check): added so that tests can be run without a noop
11382 build pass.
11383
11384Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11385
11386 Switch to using configure's configdirs.
11387 * Makefile.in (Makefile): add configure.in dependency.
11388 (SUBDIRS): removed redundant assignment.
11389 * configure.in: switch subdirs assignment to configdirs.
11390 * gdb.t*/configure.in: new files.
11391
11392Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11393
11394 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11395 works.
11396
11397Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11398
11399 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11400 in explicit rules. Apparently this is not supported by some makes.
11401
11402Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11403
11404 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11405
11406Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11407
11408 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11409 disappeared.
11410
11411Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11412
11413 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11414
11415Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11416
11417 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11418 watchpoint problem that is now fixed.
11419 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11420 uninitialized convenience variables.
11421 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11422 structures.
11423
11424Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11425
11426 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11427 which causes expect to get out of sync with gdb on long output
11428 from help set.
11429 * gdb.t09/corefile.exp: Make expected pattern for core file
11430 failing signal and frame output format less sun specific.
11431
11432Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11433
11434 * gdb.t31/chillvars.exp: Add and remove initial dummy
11435 breakpoint, so that symbol table is forced in.
11436 (Needed at least on Sunos4, though it seems not SVR4.)
11437 * gdb.t31/chillvars.exp: Update for changed output format.
11438
11439Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11440
11441 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11442
11443Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11444
11445 * Makefile.in: Added --srcdir when invoking runtest, removed the
11446 need for a local config file. (optional now)
11447
11448Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11449
11450 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11451 failure count used to force early termination. Add some more
11452 expected failures for gnu style demangling.
11453
11454Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11455
11456 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11457 pmi variable from gdb.t20/gdbme to get optimized away.
11458 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11459 Check for written corefile upon timeout _and_ eof.
11460
11461Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11462
11463 * config/unix-gdb.exp: Add missing return 0.
11464
11465Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11466
11467 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11468 test termination.
11469
11470Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11471
11472 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11473 disappeared.
11474
11475Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11476
11477 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11478 time as i860 support works.
11479
beb998c6 11480 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11481 "backtrace 100\r" rather than just "backtrace\r", to match last
11482 change.
11483
11484Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11485
11486 * config/udi-gdb.exp (gdb_exit): Remove close command.
11487 (gdb_target_udi): New procedure to set the UDI target.
11488 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11489 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11490 Added waits for prompts after several question responses. Added
11491 some more responses used by a29k-amd-udi-gdb.
11492 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11493 pass different arguments, restart UDI connection after program
11494 completion.
11495 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11496 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11497 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11498 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11499 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11500 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11501 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11502 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11503 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11504 after program completion.
11505 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11506 compiled with a SELECT_VECS setting.
11507 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11508 infinite recursion.
11509
11510 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11511 Added checks for COFF results, and made them expected failures for
11512 all targets. It would be better to make them expected failures
11513 for COFF targets only.
11514
11515Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11516
11517 * Makefile.in: add null dvi target, don't bother to recurse
11518 through test directories for info and install-info; rename
11519 $(datadir) to be dejagnu instead of deja-gnu
11520
11521Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11522
11523 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11524 compiler to coredump.
11525 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11526 code.
11527
11528Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11529
11530 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11531 coredump.
11532 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11533 code.
11534
11535Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11536
11537 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11538 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11539 which in a shell. Deletes xgdb when done.
11540 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11541 Tests the return from the "set height" or "set width" commands.
11542 Added a few return codes where needed.
11543
11544Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11545
11546 * Makefile.in (SUBDIRS): Add gdb.t17.
11547 * configure.in (subdirs): Add gdb.t17.
11548 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11549 files to test gdb's calling of functions in the inferior with
11550 the correct arguments and gdb's ability to retrieve any
11551 result returned.
11552
11553Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11554
11555 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11556 may be called after gdb goes away. Previous versions of expect
11557 needed these to avoid file descriptor leaks, but they cause
11558 errors with the current revision of expect.
11559 * gdb.t00/gdbvars.exp: Use -re on expected output after
11560 setting sevenbit-strings.
11561 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11562 to set sevenbit-strings consistent across tests.
11563 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11564 set sevenbit-strings consistent across tests.
11565
11566Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11567
11568 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11569 expected output to match current "expect" expectations.
11570
11571Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11572
11573 * gdb.t00/default.exp: Change expected output for default "source"
11574 command, to match new gdb behavior which requires a filename to
11575 source.
11576
11577Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11578
11579 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11580 expected fail for i486-*-* that misses the marker2 function.
11581 * gdb.t10/crossload.exp (bfddefault): Allow successful
11582 recognition of a format to pass even if no symbols are found.
11583 Explicitly catch failures where the format is not recognized
11584 or is ambiguous, and add the reason to the fail message.
11585 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11586 the cause is and invalid target and add reason to failure message.
11587 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11588 elf32-i386, elf32-sparc, and elf32-i860.
11589 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11590 Set up expected failure for 'filename'::variable scope resolution,
11591 which is now apparently broken on all targets.
11592 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11593 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11594 gdb.t23/templates.exp: Change failure for missing binfile into
11595 just a warning.
11596 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11597 references.
11598
11599Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11600
11601 * gdb.t00/default.exp: Add expected output for default "source"
11602 command, to match new gdb behavior.
11603 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11604
11605Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11606
11607 * config/*-gdb.exp: returns an error, rather than exiting on
11608 internal errors.
11609
11610Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11611
11612 * gdb.t03/gdbme.c: Add pointer to struct variable.
11613 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11614 referencing struct members.
11615
11616Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11617
11618 * configure.in (mips-idt-ecoff): New target.
11619 * config/mips-gdb.exp: New file for remote board using MIPS remote
11620 debugging protocol.
11621
11622 * Redid configuration scheme. Removed gdb.t*/configure.in.
11623 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11624 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11625 distclean targets. Built executables via .o files. Adjusted
11626 tests to account for source files in $(srcdir) rather than
11627 $(objdir).
11628 * lib/gdb.exp (runto): Don't expect () after the function name,
11629 because it may have arguments.
11630
11631Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11632
11633 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11634 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11635 expected failures for mips-idt-* and mips-sgi-*.
11636 * gdb.t00/default.exp (attach): Kill process if requested.
11637 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11638 that does not read core files.
11639 * gdb.t01/run.exp: Removed checks for exit status code.
11640 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11641 it is linked in.
11642 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11643 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11644 appropriate, rather than doing it by hand.
11645 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11646 execution.
11647 * gdb.t10/crossload.exp: Kill existing program if needed.
11648 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11649 appropriate, rather than doing it by hand. Always increase
11650 timeout for this test, not just for VxWorks.
11651
11652Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11653
11654 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11655 of Chill STRUCT types and STRUCT values.
11656 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11657 than "char".
11658 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 11659 struct2): New struct definitions and initializations to test
c906108c
SS
11660 simple Chill STRUCT types.
11661
11662Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11663
11664 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11665 the null byte at the end of strings.
11666 * gdb.t00/default.exp: Make show version insensitive to copyright
11667 date.
11668 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11669 to avoid dependencies on target char signedness.
11670 * gdb.t16/printcmds.exp: Update expected results for explicitly
11671 unsigned char.
11672 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11673 now work.
11674 * gdb.t21/demangle.exp: Add many more patterns for template
11675 demangling, most of them being expected failures.
11676 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11677 string we are matching for, to match on the whole string.
11678 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11679 and fix a whole bunch that had incorrect expected output but were
11680 passing anyway because of the bug in "proc demangle".
11681 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11682 type.
11683 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11684
11685Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11686
11687 * gdb/testsuite: made modifications to testcases, etc., to allow
11688 them to work properly given the reorganization of deja-gnu and the
11689 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11690
11691Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11692
11693 * gdb/testsuite: Initial creation of gdb/testsuite.
11694 Migrated dejagnu testcases and support files for testing nm to
11695 gdb/testsuite from deja-gnu. These files were moved "as is"
11696 with no modifications. This migration is part of a major overhaul
11697 of dejagnu. The modifications to these testcases, etc., which
11698 will allow them to work with the new version of dejagnu will be
11699 made in a future update.
48efe704
AC
11700
11701For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
11702\f
11703Local Variables:
ef043731 11704mode: change-log
c906108c
SS
11705left-margin: 8
11706fill-column: 74
11707version-control: never
11708End: