]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix OpenBSD/i386 sigtramp recognition.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
41e0a9ca
MK
12004-02-21 Mark Kettenis <kettenis@gnu.org>
2
3 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
4
f9a7572a
FF
52004-02-19 Fred Fish <fnf@redhat.com>
6
7 New testcase for PR breakpoint/1558.
8 * gdb.arch/gdb1558.exp: New file.
9 * gdb.arch/gdb1558.c: New file.
10
b2ce2854
EZ
112004-02-19 Elena Zannoni <ezannoni@redhat.com>
12
13 * gdb.base/nodebug.exp: Fix typo.
14
e7c9ff01
JB
152004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16
17 Committed by Jim Blandy <jimb@redhat.com>.
18
62f4b920
JB
19 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
20
2db536a1
JB
21 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
22
e7c9ff01
JB
23 * gdb.base/float.exp: Support s390*-*-* targets.
24
f3205b34
AF
252004-02-17 Adam Fedor <fedor@gnu.org>
26
27 * gdb.base/gdb1555.exp: New file.
28 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
29
9d62932d
EZ
302004-02-17 Elena Zannoni <ezannoni@redhat.com>
31
32 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
33
344c9711
FF
342004-02-16 Fred Fish <fnf@redhat.com>
35
36 * gdb.arch/gdb1291.c: Remove
37 * gdb.arch/gdb1291.s: New test input file.
38 * gdb.arch/gdb1291.exp: Expand test to check case that should not
39 fail. Test for correct result, known incorrect result, other
40 failures and timeouts.
41
2d822687
AC
422004-02-16 Andrew Cagney <cagney@redhat.com>
43
44 * gdb.base/bigcore.exp: New file.
45 * gdb.base/bigcore.c: New file.
46
dac15b66
AC
472004-02-13 Andrew Cagney <cagney@redhat.com>
48
49 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
50 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
51 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
52 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
53 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
54 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
55 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
56 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
57 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
58 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
59
6bdfc2c4
JJ
602004-02-11 Jeff Johnston <jjohnstn@redhat.com>
61
62 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
63 executed is an alloc instruction.
64
87b3ede8
DC
652004-02-11 David Carlton <carlton@kealia.com>
66
67 * gdb.cp/breakpoint.exp: New.
68 * gdb.cp/breakpoint.cc: New.
69
6e19e2bf
MC
702004-02-11 Michael Chastain <mec.gnu@mindspring.com>
71
72 Partial fix for PR gdb/1543.
73 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
74 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
75 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
76 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
77 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
78 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
79 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
80 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
81 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
82 to bug-gdb@prep.ai.mit.edu .
83 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
84 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
85 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
86 Likewise.
87
5c5455dc
AC
882004-02-10 Andrew Cagney <cagney@redhat.com>
89
90 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
91 using gdb_internal_error_resync.
92
9cf689d7
DJ
932004-02-09 Daniel Jacobowitz <drow@mvista.com>
94
95 * gdb.threads/thread-specific.exp: Stop early if no threads are
96 found.
97
d2dc51db
MC
982004-02-09 Michael Chastain <mec.gnu@mindspring.com>
99
100 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
101
14b1a056
DJ
1022004-02-08 Daniel Jacobowitz <drow@mvista.com>
103
104 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
105 breakpoints.
106
83f66e8f
DJ
1072004-02-07 Daniel Jacobowitz <drow@mvista.com>
108
109 * config/sim.exp (gdb_load): Handle $arg == "".
110 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
111 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
112
30fc0091
EZ
1132004-02-07 Elena Zannoni <ezannoni@redhat.com>
114
115 * gdb.base/maint.exp: Update test to reflect
116 obstack changes.
117
4d806929
JJ
1182004-02-04 Jeff Johnston <jjohnstn@redhat.com>
119
120 * gdb.base/pendshr.c (pendfunc): New function that calls
121 pendfunc1.
122 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
123
7bfdd688
FF
1242004-02-04 Fred Fish <fnf@redhat.com>
125
126 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
127 function symbols and update copyright years.
128 * gdb.arch/gdb1291.c: Ditto.
129
aaa08ee4
MC
1302004-02-03 Michael Chastain <mec.gnu@mindspring.com>
131
132 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
133
dbad7755
MC
1342004-02-03 Michael Chastain <mec.gnu@mindspring.com>
135
136 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
137
ec4646ef
MC
1382004-02-03 Michael Chastain <mec.gnu@mindspring.com>
139
140 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
141
1b802196
FF
1422004-02-02 Fred Fish <fnf@redhat.com>
143
144 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
145 remote targets. Update copyright years.
146
18fe2033
JJ
1472004-02-02 Jeff Johnston <jjohnstn@redhat.com>
148
149 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
150 support.
151 * gdb.base/langs.exp: Fix test which attempts to create
152 breakpoint on non-existent function to handle new pending
153 support.
154 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
155 a breakpoint.
156 * gdb.base/pending.exp: New test.
157 * gdb.base/pending.c: New file.
158 * gdb.base/pendshr.c: Ditto.
159
8d577d32
DC
1602004-02-02 David Carlton <carlton@kealia.com>
161
162 * gdb.cp/overload.exp: Add overloadNamespace tests.
163 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
164 (overloadNamespace, XXX): New.
165 (main): Call XXX::marker2.
166
3ad13771
FF
1672004-02-01 Fred Fish <fnf@redhat.com>
168
169 * gdb.base/dump.exp: Use runto_main instead of "runto main".
170 * gdb.base/finish.exp: Ditto.
171 * gdb.base/gcore.exp: Ditto.
172 * gdb.base/huge.exp: Ditto.
173 * gdb.base/info-proc.exp: Ditto.
174 * gdb.base/return2.exp: Ditto.
175 * gdb.threads/gcore-thread.exp: Ditto.
176
44c75849
DJ
1772004-02-01 Daniel Jacobowitz <drow@mvista.com>
178
179 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
180
005bc093
MK
1812004-02-01 Mark Kettenis <kettenis@gnu.org>
182
183 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
184 that opening the file succeeds on OpenBSD.
185
c47cebdb
DJ
1862004-02-01 Daniel Jacobowitz <drow@mvista.com>
187
188 * gdb.threads/thread-specific.c: New file.
189 * gdb.threads/threads-specific.exp: New test script.
190 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
191 to expect_out.
192
5a01311c
MK
1932004-02-01 Mark Kettenis <kettenis@gnu.org>
194
195 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
196 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
197 only on the "print_small_structs from print_long_arg_list" test.
198
ce22a4f1
DJ
1992004-02-01 Daniel Jacobowitz <drow@mvista.com>
200
201 * gdb.base/completion.exp: Kill a stray backslash.
202
203 From Jim Ingham <jingham@apple.com>:
204 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
205 agrees with the result from sending a tab.
206
abbab9d3
DJ
2072004-01-31 Daniel Jacobowitz <drow@mvista.com>
208
209 * gdb.base/chng-syms.exp: Remove stray newline.
210
53904d1e
MK
2112004-01-31 Mark Kettenis <kettenis@gnu.org>
212
213 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
214 *-*-openbsd*.
215 * gdb.asm/openbsd.inc: New file.
216
3a4b3aac
MK
2172004-01-30 Mark Kettenis <kettenis@gnu.org>
218
219 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
220 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
221 *-*solaris2*. Remove commented out default settings for
222 asm-flags. Replace gdb_compile with target_link.
223
ebac27b4
MC
2242004-01-29 Michael Chastain <mec.gnu@mindspring.com>
225
226 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
227 for all tests. Remove old hp-ux and cygnus xfail cases.
228
d8679d84
PH
2292004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
230
231 * gdb.base/chng-syms.exp: New file.
232 * gdb.base/chng-syms.c: New file.
233
0a55bc22
MC
2342004-01-24 Michael Chastain <mec.gnu@mindspring.com>
235
236 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
237 Provide arms for current output in all my configurations.
238
94b8e876
MC
2392004-01-24 Michael Chastain <mec.gnu@mindspring.com>
240
241 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
242 * lib/compiler.cc: Likewise.
243 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
244 get the right preprocessor. Eval the output directly. Remove
245 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
246 hp_f77_compiler and hp_f90_compiler completely.
247 (gdb_preprocess): Delete.
248 (get_compiler): Delete.
249
7cf03d44
MK
2502004-01-24 Mark Kettenis <kettenis@gnu.org>
251
252 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
253 <string.h>.
254
68b6dce9
NR
2552004-01-24 Nick Roberts <nick@nick.uklinux.net>
256
257 * gdb.mi/mi-stack.exp: Update copyright.
258
b368761e
DC
2592004-01-23 David Carlton <carlton@kealia.com>
260
261 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
262 test for cp_lookup_transparent_type.
263 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
264 call them.
265
f2061b53
DJ
2662004-01-23 Daniel Jacobowitz <drow@mvista.com>
267
268 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
269 after -var-update.
270
37fc574a
DC
2712004-01-23 David Carlton <carlton@kealia.com>
272
273 * gdb.cp/namespace.cc (C::ensureRefs): New.
274 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
275
8e94b928
NR
2762004-01-20 Nick Roberts <nick@nick.uklinux.net>
277
278 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
279 case "-stack-list-locals 2".
280 * gdb.mi/mi-var-child.exp: Test for case
281 "-var-list-children --all-values NAME".
282
997b0952
MC
2832004-01-18 Michael Chastain <mec.gnu@mindspring.com>
284
285 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
286
52470da3
MK
2872004-01-18 Mark Kettenis <kettenis@gnu.org>
288
7049b4b8
MK
289 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
290 used with gdb_test_multiple.
291
52470da3
MK
292 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
293 read at address 0. This fixes PR testsuite/1504.
294
da6012e5
DJ
2952004-01-18 Daniel Jacobowitz <drow@mvista.com>
296
297 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
298 Remove downloading, guessing the host executable, the calls to
299 gdb_file_cmd and gdb_target_cmd, and "load" support.
300 (infer_host_exec): New function broken out from gdb_load.
301 (gdb_load): New wrapper for gdbserver_gdb_load.
302 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
303 gdb_target_cmd. Use -target-select.
304 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
305 Download binaries to the host. Clear last_mi_remote_file when
306 we load a new binary.
307 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
308 call gdbserver_gdb_load and mi_gdb_target_cmd.
309
32c70722
MC
3102004-01-17 Michael Chastain <mec.gnu@mindspring.com>
311
312 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
313 type patterns.
314
b0cecf36
MC
3152004-01-17 Michael Chastain <mec.gnu@mindspring.com>
316
317 * gdb.cp/templates.exp: Fix typo in test name of
318 "print Foo<volatile char*>::foo".
319
4120d7e6
MC
3202004-01-15 Michael Chastain <mec.gnu@mindspring.com>
321
322 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
323
f679e530
BE
3242004-01-16 Ben Elliston <bje@wasabisystems.com>
325
326 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
327 (clean mostlyclean): Remove empty rm.
328
091c48f6
MC
3292004-01-15 Michael Chastain <mec.gnu@mindspring.com>
330
331 * gdb.base/setvar.exp: Add copyright years.
332
3e5fc8d2
DC
3332004-01-14 David Carlton <carlton@bactrian.org>
334
335 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
336 PR c++/1511 and update coment.
337 * gdb.cp/templates.exp: Update patterns to match current output.
338 If changes involve something other than whitespace, KFAIL
339 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
340
63d06c5c
DC
3412004-01-14 David Carlton <carlton@kealia.com>
342
343 * gdb.cp/namespace.exp: Add tests involving classes defined within
344 namespaces.
345 * gdb.cp/namespace.cc (C::CClass): New.
346 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
347
a51dab88
EZ
3482004-01-14 Elena Zannoni <ezannoni@redhat.com>
349
350 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
351 what debug info we have. Print a better message if something goes
352 wrong while producing the separate debug info file.
353
a476ccc9
MC
3542004-01-14 Michael Chastain <mec.gnu@mindspring.com>
355
356 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
357
f453692c
MC
3582004-01-14 Michael Chastain <mec.gnu@mindspring.com>
359
360 * gdb.base/callfuncs.c: Add copyright notice.
361
f40063a5
MC
3622004-01-13 Michael Chastain <mec.gnu@mindspring.com>
363
364 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
365 inheritance. PR gdb/1498, PR gcc/13539.
366
19ac3974
EZ
3672004-01-13 Elena Zannoni <ezannoni@redhat.com>
368
369 * gdb.threads/gcore-thread.exp: Prefix name of binary with
370 test specific name.
371 * gdb.mi/gdb669.exp: Ditto.
372 * gdb.mi/mi-pthreads.exp: Ditto.
373 * gdb.mi/mi1-pthreads.exp: Ditto.
374 * gdb.mi/mi2-pthreads.exp: Ditto.
375
56c97c6e
MC
3762004-01-12 Michael Chastain <mec.gnu@mindspring.com>
377
378 * gdb.cp/member-ptr.cc: Add copyright notice.
379
a0644324
MC
3802004-01-12 Michael Chastain <mec.gnu@mindspring.com>
381
382 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
383 some patterns for recent versions of gcc and hpacc. Delete
384 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
385 Delete tests that access a NULL pointer-to-member-data. This
386 script is still disabled for gcc.
387
32fabe09
EZ
3882004-01-12 Elena Zannoni <ezannoni@redhat.com>
389
390 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
391 escaped correctly.
392
1f8a6abb
EZ
3932004-01-12 Elena Zannoni <ezannoni@redhat.com>
394
395 * gdb.base/sepdebug.exp: New file.
396 * gdb.base/sepdebug.c: New file.
397 * lib/gdb.exp (separate_debug_filename): New procedure.
398 (gdb_gnu_strip_debug): New procedure.
399
48efe704
AC
4002004-01-12 Andrew Cagney <cagney@redhat.com>
401
402 * gdb.mi/ChangeLog: Delete file. Renamed to ...
403 * gdb.mi/ChangeLog-1999-2003: New file.
404
a9415475
AC
4052004-01-12 Andrew Cagney <cagney@redhat.com>
406
407 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
408 "Renaming a directory to a non-empty directory returns ENOTEMPTY
409 or EEXIST", treat EBUSY as an XFAIL.
410
83b8cf9d
MC
4112004-01-11 Michael Chastain <mec.gnu@mindspring.com>
412
413 * gdb.base/scope.exp: Remove obsolete setup_xfail for
414 hp_cc_compiler.
415
9939d2a8
MC
4162004-01-10 Michael Chastain <mec.gnu@mindspring.com>
417
418 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
419 decorations.
420
1ff8cadf
MC
4212004-01-10 Michael Chastain <mec.gnu@mindspring.com>
422
423 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
424 and "(aCC)" decorations. Remove obsolete doco about old
425 test results.
426
6fa9022e
MC
4272004-01-09 Michael Chastain <mec.gnu@mindspring.com>
428
429 * gdb.cp/exception.exp: Fix typo in doco.
430
209721fe
MK
4312004-01-09 Mark Kettenis <kettenis@gnu.org>
432
433 * gdb.base/gdb1476.exp: Fix typo.
434
ef11303e
MC
4352004-01-09 Michael Chastain <mec.gnu@mindspring.com>
436
437 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
438 file.
439
041ab88c
MC
4402004-01-09 Michael Chastain <mec.gnu@mindspring.com>
441
442 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
443 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
444 Use gdb_compile. Remove restriction on gcc. Add some patterns
445 for recent version of gdb. Delete second half, which was a copy
446 of the first half with different build flags. This test is
447 still disabled because it is still not ready for production.
448
e36d075a
MC
4492004-01-08 Michael Chastain <mec.gnu@mindspring.com>
450
451 * gdb.cp/exception.cc: Add copyright notice.
452 * gdb.cp/exception.exp: Add a notice that this file is broken
453 because of line number changes caused by addition of copyright
454 notice.
455
42b190ad
MC
4562004-01-08 Michael Chastain <mec.gnu@mindspring.com>
457
458 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
459 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
460
8f25f06b
MC
4612004-01-08 Michael Chastain <mec.gnu@mindspring.com>
462
463 * gdb.cp/classes.exp: Accept gnu abi 2.
464 * gdb.cp/derivation.exp: Likewise.
465 * gdb.cp/overload.exp: Likewise.
466 * gdb.cp/virtfunc.exp: Likewise.
467
06ded8b8
MC
4682004-01-08 Michael Chastain <mec.gnu@mindspring.com>
469
470 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
471 semicolon after end of function.
472
77c26ae3
MC
4732004-01-07 Michael Chastain <mec.gnu@mindspring.com>
474
475 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
476 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
477 boilerplate code for compiling and running the program under
478 test. Add some string method tests.
479
20757486
MC
4802004-01-07 Michael Chastain <mec.gnu@mindspring.com>
481
482 * gdb.cp/bs15503.cc: Add copyright notice.
483 * gdb.cp/bs15503.exp: Adjust line number.
484
0fd3b503
MC
4852004-01-07 Michael Chastain <mec.gnu@mindspring.com>
486
487 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
488 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
489
10d1bea8
MC
4902004-01-07 Michael Chastain <mec.gnu@mindspring.com>
491
492 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
493 hp_cc_compiler.
494
2789202a
MC
4952004-01-07 Michael Chastain <mec.gnu@mindspring.com>
496
497 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
498 * gdb.cp/ctti.exp: Use the marker instead of "next".
499 With gcc, run further before bailing.
500
b862f14c
MC
5012004-01-07 Michael Chastain <mec.gnu@mindspring.com>
502
503 * gdb.cp/cttiadd.cc: Add copyright notice.
504 * gdb.cp/cttiadd1.cc: Likewise.
505 * gdb.cp/cttiadd2.cc: Likewise.
506 * gdb.cp/cttiadd3.cc: Likewise.
507
96da2469
MC
5082004-01-07 Michael Chastain <mec.gnu@mindspring.com>
509
510 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
511 Use gdb_test, gdb_test_multiple. Use floating-point values that
512 have exact representations in IEEE-ish formats.
513
053248ff
MC
5142004-01-07 Michael Chastain <mec.gnu@mindspring.com>
515
516 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
517 compilers. Delete duplicate call to get_compiler_info.
518 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
519 * gdb.base/volatile.exp: Likewise.
520
84acecdd
MK
5212004-01-07 Mark Kettenis <kettenis@gnu.org>
522
523 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
524 memory at address 0.
525
fe11a27f
MC
5262004-01-07 Michael Chastain <mec.gnu@mindspring.com>
527
528 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
529 to test for hp-ux assembler. Fix copyright years.
530
60ad077b
AC
5312004-01-07 Andrew Cagney <cagney@redhat.com>
532
533 * gdb.base/fileio.c (strerrno): Add "EBUSY".
534
1c9b8f33
AC
5352004-01-07 Andrew Cagney <cagney@redhat.com>
536
537 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
538 when creating the read-only file. From analysis by Roland McGrath
539 and Elena Zannoni.
540
753ccc7a
MC
5412004-01-06 Michael Chastain <mec.gnu@mindspring.com>
542
543 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
544
eca3e36b
MC
5452004-01-06 Michael Chastain <mec.gnu@mindspring.com>
546
547 * gdb.base/cvexpr.c: Be type-safe with function pointers and
548 data pointers.
549
f8d4bac4
MC
5502004-01-06 Michael Chastain <mec.gnu@mindspring.com>
551
552 * gdb.cp/m-static.exp: Compile one source file at a time.
553 Delete unused call to get_compiler_info.
554
9b4e0f94
MC
5552004-01-06 Michael Chastain <mec.gnu@mindspring.com>
556
557 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
558 * gdb.base/call-rt-st.exp: Likewise.
559 * gdb.base/nodebug.exp: Likewise.
560 * gdb.base/volatile.exp: Likewise.
561 * gdb.cp/ref-types.exp: Likewise.
562 * gdb.cp/templates.exp: Likewise.
563
023c1024
MK
5642004-01-05 Mark Kettenis <kettenis@gnu.org>
565
566 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
567
19703c4a
MC
5682004-01-05 Michael Chastain <mec.gnu@mindspring.com>
569
570 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
571 hppa*-hp-hpux*.
572
18b67037
MK
5732004-01-04 Mark Kettenis <kettenis@gnu.org>
574
ba6219c8
MK
575 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
576 x86_64-*-*.
577
18b67037
MK
578 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
579 sparc64-*-* and sparc*-solaris2*.
580
1bfbbb9d
MK
5812004-01-04 Mark Kettenis <kettenis@gnu.org>
582
583 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
584 return ${tests}" test. The ${tests} already mentions the
585 filename.
586
06846494
MC
5872004-01-02 Michael Chastain <mec.gnu@mindspring.com>
588
589 * gdb.cp/local.exp: Accept gcc abi 2.
590
3b0cb202
MC
5912004-01-02 Michael Chastain <mec.gnu@mindspring.com>
592
593 * gdb.cp/templates.exp: Accept gcc abi 2.
594
0643ec3f
MC
5952004-01-02 Michael Chastain <mec.gnu@mindspring.com>
596
597 * lib/compiler.cc: Remove supports_template_debugging.
598 * gdb.cp/templates.exp: Do not test supports_template_debugging.
599
d231d0b1
MC
6002004-01-01 Michael Chastain <mec.gnu@mindspring.com>
601
602 * gdb.cp/namespace.exp: Accept gcc abi 2.
603
44ffb27c
MC
6042004-01-01 Michael Chastain <mec.gnu@mindspring.com>
605
606 * gdb.cp/method.exp: Accept gcc abi 2.
607
184ad485
MC
6082004-01-01 Michael Chastain <mec.gnu@mindspring.com>
609
610 * gdb.cp/classes.exp: Generate identical results as old version.
611 * gdb.cp/derivation.exp: Likewise.
612 * gdb.cp/overload.exp: Likewise.
613 * gdb.cp/virtfunc.exp: Likewise.
614
116f09e7
MC
6152004-01-01 Michael Chastain <mec.gnu@mindspring.com>
616
617 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
618 mysterious bug with sourceware version of expect.
619
b1379776
MC
6202004-01-01 Michael Chastain <mec.gnu@mindspring.com>
621
622 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
623 current versions of gcc, including gcc abi 2. Remove gratuitous
624 restart of test program. Use gdb_test_multiple and gdb_test for
625 all tests. Add patterns to xfail missing "const" in "const char *"
626 and kfail PR gdb/1155.
627
6b7a4c0e
MC
6282004-01-01 Michael Chastain <mec.gnu@mindspring.com>
629
630 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
631 current versions of gcc, including gcc abi 2. Remove gratuitous
632 restart of test program. Use gdb_test_multiple and gdb_test for
633 all tests. Add patterns to kfail PR gdb/1498.
634
51615d72
MC
6352003-12-31 Michael Chastain <mec.gnu@mindspring.com>
636
637 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
638 current versions of gcc, including gcc abi 2. Use "breakpoint"
639 and "continue" instead of restarting the target program. Use
640 gdb_test_multiple and gdb_test for all tests.
641
7b79a9d7
MK
6422004-01-01 Mark Kettenis <kettenis@gnu.org>
643
644 * gdb.asm/asm-source.exp: Update copyright year. Link statically
645 for *-*-solaris2*.
646
1cd3489f
MC
6472003-12-31 Michael Chastain <mec.gnu@mindspring.com>
648
649 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
650 current versions of gcc, including gcc abi 2. Use "breakpoint"
651 and "continue" instead of restarting the target program several
652 times. Use gdb_test_multiple and gdb_test for all tests.
653
850742db
MC
6542003-12-18 Michael Chastain <mec.gnu@mindspring.com>
655
656 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
657 source files.
658
eb4bbda8
MC
6592003-12-16 Michael Chastain <mec.gnu@mindspring.com>
660
661 * gdb.base/environ.exp: Handle compiling test case from multiple
662 source files.
663
e42c7771
MC
6642003-12-16 Michael Chastain <mec.gnu@mindspring.com>
665
666 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
667
80e4b428
JB
6682003-12-17 Jim Blandy <jimb@redhat.com>
669
5f06973a
JB
670 * gdb.base/freebpcmd.c: Add copyright notice.
671
80e4b428
JB
672 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
673
0ab84fb7
MC
6742003-12-16 Michael Chastain <mec.gnu@mindspring.com>
675
676 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
677
1b3bb3d0
JB
6782003-12-13 Jim Blandy <jimb@redhat.com>
679
680 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
681
3a4c9371
KB
6822003-12-12 Kevin Buettner <kevinb@redhat.com>
683
684 * gdb.asm/frv.inc: New file.
685 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
686
a1dea79a
FF
6872003-12-09 Fred Fish <fnf@redhat.com>
688
689 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
690 functions to break1.c and leave prototypes behind. Add more
691 "set breakpoint NN here" comments.
692 * gdb.base/break1.c: New file.
693
694 * gdb.base/break.exp: Handle compiling test case from multiple
695 source files and change source file references as needed.
696 * gdb.base/completion.exp: Ditto.
697 * gdb.base/condbreak.exp: Ditto.
698 * gdb.base/define.exp: Ditto.
699 * gdb.base/ena-dis-br.exp: Ditto.
700 * gdb.base/info-proc.exp: Ditto.
701 * gdb.base/maint.exp: Ditto.
702 * gdb.base/until.exp: Ditto.
703
704 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
705 hardcoded line numbers.
706 * gdb.base/define.exp: Ditto.
707 * gdb.base/ena-dis-br.exp: Ditto.
708 * gdb.base/maint.exp: Ditto.
709 * gdb.base/until.exp: Ditto.
710
711 * gdb.base/completion.exp: Use "break1" for completion tests since
712 "break" is no longer a unique prefix.
713
5266b69c
AC
7142003-12-06 Andrew Cagney <cagney@redhat.com>
715
716 * gdb.base/structs.exp (test_struct_returns): When applicable, set
717 "return_value_unimplemented". When an unimplemented struct return
718 architecture, report incorrect values as a KFAIL
719
374451f0
MC
7202003-12-05 Michael Chastain <mec.gnu@mindspring.com>
721
722 * gdb.cp/rtti.exp: Accept new wording of warning from
723 cp_lookup_rtti_type.
724
ba9b20a7
MC
7252003-12-05 Michael Chastain <mec.gnu@mindspring.com>
726
727 Partial fix for PR testsuite/1456.
728 * gdb.base/scope.exp (test_at_main): Replace references to
729 gcc_compiled with calls to test_compiler_info.
730 (test_at_foo): Likewise.
731 (test_at_bar): Likewise.
732
b74b6d0b
MC
7332003-12-04 Michael Chastain <mec.gnu@mindspring.com>
734
735 Partial fix for PR testsuite/1456.
736 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
737 to test_compiler_info.
738
ccfa3402
MC
7392003-12-03 Michael Chastain <mec.gnu@mindspring.com>
740
741 * gdb.base/so-impl-ld.exp: Update copyright notice.
742
f6246aba
MC
7432003-12-02 Michael Chastain <mec.gnu@mindspring.com>
744
745 Partial fix for PR testsuite/1456.
746 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
747 to test_compiler_info.
748
13ae734a
MC
7492003-11-28 Michael Chastain <mec.gnu@mindspring.com>
750
751 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
752 from current versions of gdb. Clean up regular expressions.
753 Delete redundant timeout case.
754
d8e1cdee
MC
7552003-11-28 Michael Chastain <mec.gnu@mindspring.com>
756
757 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
758 from current versions of gdb. Clean up regular expressions.
759 Delete redundant timeout case.
760
96457b64
MC
7612003-12-01 Michael Chastain <mec.gnu@mindspring.com>
762
763 Partial fix for PR testsuite/1456.
764 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
765 gcc_compiled with call to test_compiler_info.
766
f35309fc
MC
7672003-11-30 Michael Chastain <mec.gnu@mindspring.com>
768
769 Partial fix for PR testsuite/1456.
770 * gdb.base/list.exp (test_list_function): Delete unused declaration
771 of gcc_compiled.
772
d7afdf9b
MC
7732003-11-29 Michael Chastain <mec.gnu@mindspring.com>
774
775 Partial fix for PR testsuite/1456.
776 * gdb.base/complex.exp: Replace reference to gcc_compiled with
777 call to test_compiler_info.
778
71507b56
MK
7792003-11-29 Mark Kettenis <kettenis@gnu.org>
780
781 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
782 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
783 it to create the appropriate note.inc.
784 * gdb.asm/asmsrc1.s: Include "note.inc".
785 * gdb.asm/netbsd.inc: New file.
786 * gdb.asm/empty.inc: New file.
787
f81f93f7
MC
7882003-11-28 Michael Chastain <mec.gnu@mindspring.com>
789
790 Partial fix for PR testsuite/1456.
791 * gdb.base/constvars.exp: Replace references to gcc_compiled with
792 calls to test_compiler_info.
793
9a77938e
MC
7942003-11-27 Michael Chastain <mec.gnu@mindspring.com>
795
796 Partial fix for PR testsuite/1456.
797 * gdb.base/volatile.exp: Replace references to gcc_compiled with
798 calls to test_compiler_info.
799
e8367dc7
MK
8002003-11-27 Mark Kettenis <kettenis@gnu.org>
801
802 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
803 pattern for the KFAILs.
804
526c61ee
AF
8052003-11-25 Adam Fedor <fedor@gnu.org>
806
807 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
808 * gdb.objc/objcdecode.m: New file.
809
28f2d600
AF
8102003-11-25 Adam Fedor <fedor@gnu.org>
811
812 * gdb.objc/nondebug.exp: Test for PR objc/1236.
813 * gdb.objc/nondebug.m: New file.
814
a3895cee
BE
8152003-11-26 Ben Elliston <bje@wasabisystems.com>
816
817 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
818 NetBSD as it does on FreeBSD. Modelled on a similar change by
819 Mark Kettenis on 2003-05-30.
820 (link-flags): Set to "--entry _start" regardless of target.
821 Special linker flags are to be appended to $link-flags.
822 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
823
c9f2c8a3
MC
8242003-11-25 Michael Chastain <mec.gnu@mindspring.com>
825
826 * gdb.cp/method.exp: Accept output of new demangler.
827
15a0587a 8282003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
829
830 * gdb/class2.exp: New file.
831 * gdb/class2.cc: New file.
832
3c00b570
MC
8332003-11-25 Michael Chastain <mec.gnu@mindspring.com>
834
835 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
836 of new demangler.
837
7027acc7
MK
8382003-11-23 Mark Kettenis <kettenis@gnu.org>
839
840 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
841 of gdb_test "run".
842
b0e1598a
MK
8432003-11-23 Mark Kettenis <kettenis@gnu.org>
844
845 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
846 "continue" into "run".
847
4d9eda44
MC
8482003-11-23 Michael Chastain <mec.gnu@mindspring.com>
849
850 Partial fix for PR testsuite/1456.
851 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
852 call to test_compiler_info.
853 * gdb.cp/ctti.exp: Likewise.
854 * gdb.cp/derivation.exp: Likewise.
855 * gdb.cp/member-ptr.exp: Likewise.
856 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
857 reference to gcc_compiled.
858
8592003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
860
861 Fix PR testsuite/1463.
862 * gdb.base/structs.exp (start_structs_test): Call
863 get_debug_format before using the debug format.
864
d422fe19
AC
8652003-11-22 Andrew Cagney <cagney@redhat.com>
866
867 * lib/gdb.exp (gdb_test_multiple): Add simple example.
868 * gdb.base/structs.exp: Use gdb_test_multiple.
869
039cf96d
AC
8702003-11-20 Andrew Cagney <cagney@redhat.com>
871
6882279b
AC
872 * gdb.base/structs.exp: Handle and recover from internal errors.
873 Replace "foo${n}" with "foo<n>" in test messages.
874
e53890ae
AC
875 * gdb.base/structs.exp: Update copyright. Rewrite.
876 * gdb.base/structs.c: Update copyright. Rewrite.
877
2b211c59
AC
878 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
879 resync count exceeded.
880
039cf96d
AC
881 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
882 from the internal error.
883 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
884 Original from Jim Blandy.
885 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 886
eac98b22
AC
8872003-11-19 Andrew Cagney <cagney@redhat.com>
888
889 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
890 KFAIL.
891
67455b2a
MK
8922003-11-17 Mark Kettenis <kettenis@gnu.org>
893
894 New testcase for PR backtrace/1435.
895 * gdb.arch/i386-unwind.exp: New file.
896 * gdb.arch/i386-unwind.c: New file.
897
853d6e5b
AC
8982003-11-17 Andrew Cagney <cagney@redhat.com>
899
900 * lib/gdb.exp (compiler_info): New global.
901 (test_compiler_info): New function.
902 (get_compiler_info): Set compiler_info.
903 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
904 "compiler_info" to gcc-<major>-<minor>.
905
38cf6e11
MC
9062003-11-15 Michael Chastain <mec.gnu@mindspring.com>
907
908 * gdb.trace/configure: Remove.
909
a50d3602
EZ
9102003-11-13 Elena Zannoni <ezannoni@redhat.com>
911
912 * gdb.base/break.c: Add comments to aid finding line numbers for
913 breakpoints.
914 * gdb.base/break.exp: Remove all references to explicit line
915 numbers.
916
d9407aaa
NC
9172003-11-11 Nick Clifton <nickc@redhat.com>
918
919 * gdb.base/shreloc.exp: Do not run for targets which do not
920 support shared objects.
921
db488fc1
CV
9222003-11-10 Corinna Vinschen <vinschen@redhat.com>
923
924 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
925 Don't run tests if nofileio flag is given.
926
6a90a18e
EZ
9272003-11-07 Elena Zannoni <ezannoni@redhat.com>
928
929 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
930 as well as 'Watchpoint'.
931
0b915e9c
EZ
9322003-11-06 Elena Zannoni <ezannoni@redhat.com>
933
934 Reported by Jim Ingham <jingham@apple.com>:
935 * gdb.base/annota1.exp: Match at least one occurrence of the
936 signal handler annotation.
937
d7e4b55f
EZ
9382003-11-06 Elena Zannoni <ezannoni@redhat.com>
939
940 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
941 as well as 'Watchpoint'.
942
2fe4e8d0
MC
9432003-11-05 Michael Chastain <mec@shout.net>
944
945 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
946
6ef88553
KW
9472003-11-03 Kris Warkentin <kewarken@qnx.com>
948
949 * gdb.arch/gdb1291.c: New test file.
950 * gdb.arch/gdb1291.exp: New test script.
951 * gdb.arch/gdb1431.c: New test file.
952 * gdb.arch/gdb1431.exp: New test script.
953
ae7dc4d8
MC
9542003-10-22 Michael Chastain <mec@shout.net>
955
956 * gdb.mi/pthreads.c: Add copyright notice.
957
c39d7427
MC
9582003-10-22 Michael Chastain <mec@shout.net>
959
960 * gdb.threads/pthreads.c: Add copyright notice.
961
8b7d96c1
MC
9622003-10-20 Michael Chastain <mec@shout.net>
963
964 * gdb.base/gdb1056.exp: New test script.
965
d1d69fdd
DJ
9662003-10-13 Daniel Jacobowitz <drow@mvista.com>
967
968 * gdb.threads/killed.exp: Use gdb_run_cmd.
969
7d605576
DJ
9702003-10-13 Daniel Jacobowitz <drow@mvista.com>
971
972 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
973 create a core file.
974 * gdb.threads/gcore-thread.exp: Likewise.
975
618ec112
CV
9762003-10-13 Corinna Vinschen <vinschen@redhat.com>
977
978 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
979 type, based on char type.
980 (struct bit_flags_short_t): New bitfield type, based on short type.
981 (init_bit_flags_char): New fuction.
982 (init_bit_flags_short): Ditto.
983 (print_bit_flags_char): Ditto.
984 (print_bit_flags_short): Ditto.
985 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
986
9367a73c
MC
9872003-10-11 Michael Chastain <mec@shout.net>
988
989 * gdb.base/call-rt-st.exp: Update copyright year.
990
1decf120
KI
9912003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
992
993 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
994 * gdb.disasm/sh3.s: Ditto.
995
5445b2ae
DJ
9962003-10-07 Daniel Jacobowitz <drow@mvista.com>
997
998 * gdb.threads/switch-threads.exp: New test.
999 * gdb.threads/switch-threads.c: New source file.
1000
aec24853
CV
10012003-10-07 Corinna Vinschen <vinschen@redhat.com>
1002
1003 * gdb.base/ending-run.exp: Add sh specific case.
1004
adc7428d
AC
10052003-10-06 Andrew Cagney <cagney@redhat.com>
1006
1007 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1008 * gdb.disasm/mn10200.exp: Delete obsolete file.
1009
c9d37158
DJ
10102003-09-29 Daniel Jacobowitz <drow@mvista.com>
1011
1012 * ChangeLog: Correct an entry command.exp -> commands.exp.
1013 * gdb.base/commands.exp (bp_deleted_in_command_test)
1014 (temporary_breakpoint_commands): Check noargs.
1015
79c2c32d
DC
10162003-09-25 David Carlton <carlton@kealia.com>
1017
1018 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1019 of some print tests, where appropriate. Add tests for C::D::cd,
1020 E::ce, F::cXfX, G::XgX.
1021 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1022
594e6d67
RE
10232003-09-25 Richard Earnshaw <rearnsha@arm.com>
1024
1025 * lib/java.exp (java_init): Import target_alias before using it.
1026
10f0d451
DC
10272003-09-25 David Carlton <carlton@kealia.com>
1028
1029 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1030
274bcba0
EZ
10312003-09-23 Elena Zannoni <ezannoni@redhat.com>
1032
1033 * gdb.base/selftest.exp: Accomodate more instruction reordering
1034 weirdness.
1035
cdbf20f7
MC
10362003-09-17 Michael Chastain <mec@shout.net>
1037
1038 * gdb.cp/gdb1355.exp: New file.
1039 * gdb.cp/gdb1355.c: New file.
1040
71e06f80
CV
10412003-09-15 Corinna Vinschen <vinschen@redhat.com>
1042
1043 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1044 * gdb.asm/sh.inc: New file.
1045
5c4e30ca
DC
10462003-09-11 David Carlton <carlton@kealia.com>
1047
bd45b7af
DC
1048 * gdb.cp/namespace.exp: Add tests for namespace types.
1049 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
1050 (test_namespace): New.
1051
1c199746
EZ
10522003-09-11 Elena Zannoni <ezannoni@redhat.com>
1053
1054 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 1055 * gdb.stabs/weird.exp: Ditto.
1c199746 1056
04ed252f
MC
10572003-09-08 Michael Chastain <mec@shout.net>
1058
1059 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1060
d8a2d9e7
MC
10612003-09-07 Michael Chastain <mec@shout.net>
1062
1063 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1064 'parse error'.
1065
161afb24
MK
10662003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1067
1068 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1069
49f2741a
MC
10702003-08-30 Michael Chastain <mec@shout.net>
1071
1072 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1073 * gdb.gdb/observer.exp: Ditto.
1074 * gdb.gdb/xfullpath.exp: Ditto.
1075
8afa723e
MK
10762003-08-29 Mark Kettenis <kettenis@gnu.org>
1077
1078 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1079 *-*-*bsd*.
1080
f31dfe3b
JJ
10812003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1082
1083 * gdb.base/dump.exp: Skip for ia64.
1084
4630e498
JJ
10852003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1086
1087 * gdb.asm/asm-source.exp: Add ia64 support.
1088 * gdb.asm/ia64.inc: New file.
1089
1105b7ef
MC
10902003-08-22 Michael Chastain <mec@shout.net>
1091
1092 * gdb.cp: New directory.
1093 * gdb.cp/*: Copy from gdb.c++/*.
1094 * gdb.c++/*: Remove.
1095 * Makefile.in: Change gdb.c++ to gdb.cp.
1096 * configure.in: Ditto.
1097 * configure: Regnerate.
1098
c945b932
MK
10992003-08-18 Mark Kettenis <kettenis@gnu.org>
1100
1101 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1102 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1103
2b66634b
DJ
11042003-08-17 Daniel Jacobowitz <drow@mvista.com>
1105
1106 * mi-var-display.exp (-var-list-children weird): Accept function
1107 pointers with argument types.
1108 * mi1-var-display.exp (-var-list-children weird): Likewise.
1109 * mi2-var-display.exp (-var-list-children weird): Likewise.
1110
a356f73b
DJ
11112003-08-17 Daniel Jacobowitz <drow@mvista.com>
1112
1113 * gdb.base/annota3.exp: Add missing newline.
1114
483417b8
MC
11152003-08-06 Michael Chastain <mec@shout.net>
1116
1117 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1118
c99c59c3
MS
11192003-08-12 Michael Snyder <msnyder@redhat.com>
1120
1121 * gdb.base/float.exp: Add test for SH.
1122
55ed7501
MK
11232003-08-10 Mark Kettenis <kettenis@gnu.org>
1124
1125 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1126
1a371f2e
EZ
11272003-08-07 Elena Zannoni <ezannoni@redhat.com>
1128
1129 * gdb.base/completion.exp: Remove reduntant completion test
1130 on filename.
1131
e0f353ce
EZ
11322003-08-07 Elena Zannoni <ezannoni@redhat.com>
1133
1134 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1135 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1136 gdb.trace/save-trace.exp: Make sure that full pathnames are
1137 escaped correctly.
1138
5710a1af
EZ
11392003-08-07 Elena Zannoni <ezannoni@redhat.com>
1140
1141 * configure.in: Don't generate config.h from config.hin.
1142 * configure: Regenerate.
1143 * config.hin: Remove file.
1144 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1145 * gdb.threads/pthreads.c: Ditto.
1146
dcd81ce9
DJ
11472003-08-07 Daniel Jacobowitz <drow@mvista.com>
1148
1149 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1150 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1151 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1152 Replace ld24 with seth/add3.
1153
6009d884
AC
11542003-08-02 Andrew Cagney <cagney@redhat.com>
1155
1156 * gdb.base/annota3.exp: New file.
1157 * gdb.base/annota3.c: New file.
1158 * gdb.c++/annota3.exp: New file.
1159 * gdb.c++/annota3.cc: New file.
1160
51514e06
MC
11612003-07-29 Michael Chastain <mec@shout.net>
1162
1163 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1164 actually failed.
1165 (do_pass): Likewise.
1166 * gdb.threads/tls.exp: Always initialize no_of_threads.
1167
4ee6625b
DJ
11682003-07-27 Daniel Jacobowitz <drow@mvista.com>
1169
1170 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1171 pattern.
1172 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1173 * gdb.threads/tls.exp: Recognize one case of the host library not
1174 supporting TLS.
1175
225f2bf6
AC
11762003-07-27 Andrew Cagney <cagney@redhat.com>
1177
1178 * gdb.base/fileio.exp: Use SH when running commands using
1179 remote_exec.
1180
bcb27c9f
DJ
11812003-07-24 Daniel Jacobowitz <drow@mvista.com>
1182
1183 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1184 * gdb.base/relocate.c (dummy): New padding array.
1185
3d67be83
MS
11862003-07-22 Michael Snyder <msnyder@redhat.com>
1187
1188 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
1189
1190 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1191 patterns to be more general, accepting old and new output.
1192 Some output chars (such as '+') also must be quoted.
1193 Some addresses are displayed numerically instead of
1194 symbolically.
1195
57ba3b85
MS
11962003-07-23 Michael Snyder <msnyder@redhat.com>
1197
686d097c
MS
1198 * gdb.base/return2.exp: Don't test long-long return.
1199
57ba3b85
MS
1200 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1201 * gdb.disasm/t01_mov.exp: Ditto.
1202 * gdb.disasm/t02_mova.s: Ditto.
1203 * gdb.disasm/t02_mova.exp: Ditto.
1204 * gdb.disasm/t03_add.s: Ditto.
1205 * gdb.disasm/t03_add.exp: Ditto.
1206 * gdb.disasm/t04_sub.s: Ditto.
1207 * gdb.disasm/t04_sub.exp: Ditto.
1208 * gdb.disasm/t05_cmp.s: Ditto.
1209 * gdb.disasm/t05_cmp.exp: Ditto.
1210 * gdb.disasm/t06_ari2.s: Ditto.
1211 * gdb.disasm/t06_ari2.exp: Ditto.
1212 * gdb.disasm/t07_ari3.s: Ditto.
1213 * gdb.disasm/t07_ari3.exp: Ditto.
1214 * gdb.disasm/t08_or.s: Ditto.
1215 * gdb.disasm/t08_or.exp: Ditto.
1216 * gdb.disasm/t09_xor.s: Ditto.
1217 * gdb.disasm/t09_xor.exp: Ditto.
1218 * gdb.disasm/t10_and.s: Ditto.
1219 * gdb.disasm/t10_and.exp: Ditto.
1220 * gdb.disasm/t11_logs.s: Ditto.
1221 * gdb.disasm/t11_logs.exp: Ditto.
1222 * gdb.disasm/t12_bit.s: Ditto.
1223 * gdb.disasm/t12_bit.exp: Ditto.
1224 * gdb.disasm/t13_otr.s: Ditto.
1225 * gdb.disasm/t13_otr.exp: Ditto.
1226
e00759ef
EZ
12272003-07-22 Elena Zannoni <ezannoni@redhat.com>
1228
1229 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1230
8bc2021f
EZ
12312003-07-22 Elena Zannoni <ezannoni@redhat.com>
1232
1233 * gdb.threads/tls.c : New file.
1234 * gdb.threads/tls.exp : New file.
1235 * gdb.threads/tls-main.c : New file.
1236 * gdb.threads/tls-shared.c : New file.
1237 * gdb.threads/tls-shared.exp : New file.
1238
89320c4c
AS
12392003-07-22 Andreas Schwab <schwab@suse.de>
1240
1241 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1242
180dea7c
AS
12432003-07-20 Andreas Schwab <schwab@suse.de>
1244
1245 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1246 due to insn reordering.
1247
0714963c
AC
12482003-07-15 Andrew Cagney <cagney@redhat.com>
1249
1250 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1251
98a23b3f
MC
12522003-07-15 Michael Chastain <mec@shout.net>
1253
1254 * gdb.base/gdb1250.exp: New file.
1255 * gdb.base/gdb1250.c: New file.
1256
27e417a2
ML
12572003-07-09 Michal Ludvig <mludvig@suse.cz>
1258
1259 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1260 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1261
8bc2021f
EZ
12622003-07-09 Elena Zannoni <ezannoni@redhat.com>
1263
1264 * gdb.threads/tls.c: New file.
1265 * gdb.threads/tls.exp: New file.
1266 * gdb.threads/tls-main.c: New file.
1267 * gdb.threads/tls-shared.c: New file.
1268 * gdb.threads/tls-shared.exp: New file.
1269
d99968dc
EZ
12702003-07-09 Elena Zannoni <ezannoni@redhat.com>
1271
1272 * gdb.base/annota1.exp: Make sure that we properly escape the
1273 full path of the source file. Xfail more permissive patterns,
1274 due to a compiler debug info problem.
1275
83876b3b
AS
12762003-07-07 Andreas Schwab <schwab@suse.de>
1277
2705e972
AS
1278 * gdb.asm/m68k.inc: New file.
1279 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1280
83876b3b
AS
1281 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1282 arguments"): Also match negative number.
1283
1284 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1285
3a871b37
DJ
12862003-07-03 Daniel Jacobowitz <drow@mvista.com>
1287
1288 * gdb.base/store.c (charest): New typedef.
1289 (add_char): Rename to add_charest, update.
1290 (wack_char): Rename to wack_charest, update types. Return l + r
1291 to keep r live across the call.
1292 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1293 (wack_double, wack_doublest): Return l + r to keep r live across
1294 the call.
1295 * gdb.base/store.exp: Accomodate store.c changes.
1296
b2a7f303
DC
12972003-06-30 David Carlton <carlton@kealia.com>
1298
1299 * gdb.c++/maint.exp (test_invalid_name): New.
1300 (test_first_component): Add tests for invalid names.
1301
3c6cb4a1
MC
13022003-06-29 Michael Chastain <mec@shout.net>
1303
1304 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1305 output of '<VTT for class>' for virtual base classes.
1306
f1c2644b
DJ
13072003-06-29 Daniel Jacobowitz <drow@mvista.com>
1308
1309 * gdb.base/completion.exp: Tab-complete "complet" instead of
1310 "compl".
1311 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1312
18080350
DJ
13132003-06-29 Daniel Jacobowitz <drow@mvista.com>
1314
1315 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1316 * gdb.base/volatile.exp: Likewise.
1317
f56973f8
DJ
13182003-06-29 Daniel Jacobowitz <drow@mvista.com>
1319
1320 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1321 gdb/1265.
1322
13232003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1324 Daniel Jacobowitz <drow@mvista.com>
1325
1326 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1327 initial line count of 'captured_main' from 26 to 32.
1328 (test_with_self): Allow xmalloc call to be interleaved with the
1329 preceding two lines.
1330
e766d4d6
JB
13312003-06-24 Joel Brobecker <brobecker@gnat.com>
1332
1333 * gdb.base/bang.exp: New testcase.
1334
f125c9a4
JB
13352003-06-23 Joel Brobecker <brobecker@gnat.com>
1336
1337 * gdb.base/langs.exp: Add some tests for the "minimal" language
1338 support.
1339
6e25beaf
EZ
13402003-06-23 Elena Zannoni <ezannoni@redhat.com>
1341
1342 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1343 the testcase.
1344
2f816dda
DJ
13452003-06-22 Daniel Jacobowitz <drow@mvista.com>
1346
1347 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1348 offset.
1349
db5a5748
DJ
13502003-06-22 Daniel Jacobowitz <drow@mvista.com>
1351
1352 * gdb.c++/pr-1210.cc: New file.
1353 * gdb.c++/pr-1210.exp: New file.
1354
1df0c130
DJ
13552003-06-21 Daniel Jacobowitz <drow@mvista.com>
1356
1357 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1358 000-exec-continue.
1359
a92feac0
MK
13602003-06-15 Mark Kettenis <kettenis@gnu.org>
1361
1362 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1363 on *-*-*bsd* instead of *-*-freebsd*.
1364
81a58f5b
AC
13652003-06-14 Andrew Cagney <cagney@redhat.com>
1366
1367 * gdb.base/store.exp: Test longest and doublest. Test all
1368 parameters. Weaken return statement match.
1369 * gdb.base/store.c: Add longest and doublest - aka long long and
1370 long double functions. Put all parameters into local register
1371 variables. Use negative values.
1372
b257a0d3
AC
13732003-06-14 Andrew Cagney <cagney@redhat.com>
1374
1375 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1376 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1377 exit status.
1378 * gdb.base/fileio.exp: Disable target when nointerrupts and
1379 noinferiorio, instead of limiting it to remote. Use remote_exec
1380 instead of system.
1381
21c38304
JJ
13822003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1383
1384 * gdb.base/float.exp: Add ia64 support.
1385
1bcdb424
CV
13862003-06-12 Corinna Vinschen <vinschen@redhat.com>
1387
1388 * gdb.base/fileio.exp: Run only on remote targets.
1389
6aeb981f
CV
13902003-06-10 Corinna Vinschen <vinschen@redhat.com>
1391
1392 * gdb.base/fileio.c: New file, testing File-I/O.
1393 * gdb.base/fileio.exp: Ditto.
1394
53df362e
RG
13952003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1396
1397 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1398 shared objects after relocation at load time (gdb PR/1132).
1399 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1400 as above, part of the shared object relocation test.
1401
ffee1b46
MK
14022003-06-08 Mark Kettenis <kettenis@gnu.org>
1403
b5ca3722
MK
1404 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1405 fully filled history list.
1406 * gdb.base/gdb_history: New file.
1407
03ed860d
MK
1408 * gdb.base/signals.exp: XFAIL "continue to func1" on
1409 i*86-*-freebsd*.
1410
ffee1b46
MK
1411 * gdb.base/attach.exp: When trying to attach to a nonexistent
1412 process, make it possible to specify the PID based on the target,
1413 and do so for *-*-freebsd*.
1414
d80dbb52
RH
14152003-06-02 Richard Henderson <rth@redhat.com>
1416
1417 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1418
6dd77b81
RH
14192003-06-02 Richard Henderson <rth@redhat.com>
1420
1421 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1422
f6347e16
RH
14232003-06-02 Richard Henderson <rth@redhat.com>
1424
1425 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1426
2c161407
DJ
14272003-06-01 Daniel Jacobowitz <drow@mvista.com>
1428
1429 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1430 of globalvar.
1431
572eb746
MK
14322003-06-01 Mark Kettenis <kettenis@gnu.org>
1433
1434 * gdb.asm/asm-source.exp: Check for memory read errors in
1435 disassembler test on *BSD too.
1436
9e9617a5
RH
14372003-06-01 Richard Henderson <rth@redhat.com>
1438
1439 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1440 for .frame.
1441 (gdbasm_call): Lose ldgp.
1442 (gdbasm_startup): Add frame information.
1443 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1444
7b34ad4e
MK
14452003-05-31 Mark Kettenis <kettenis@gnu.org>
1446
1447 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1448 i?86-*-*.
1449
10059fdf
MK
14502003-05-30 Mark Kettenis <kettenis@gnu.org>
1451
1452 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1453 FreeBSD.
1454
acf4b816
RH
14552003-05-29 Richard Henderson <rth@redhat.com>
1456
1457 * gdb.asm/alpha.inc: New file.
1458 * gdb.asm/asm-source.exp: Use it.
1459
e9ecd949
JB
14602003-05-29 Jim Blandy <jimb@redhat.com>
1461
1462 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1463 'core.PID'.
1464
e3e5a4f3
JB
14652003-05-22 Jim Blandy <jimb@redhat.com>
1466
1467 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1468 backtrace.
1469
72fe3d25
DC
14702003-05-20 David Carlton <carlton@math.stanford.edu>
1471
1472 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1473 this time.
1474
58da2eb2
DC
14752003-05-19 David Carlton <carlton@bactrian.org>
1476
1477 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1478 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1479
1fcb5155
DC
14802003-05-19 David Carlton <carlton@bactrian.org>
1481
1482 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1483 namespace tests.
1484 Bump copyright date.
1485 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1486 (main): Call C::D::marker2.
1487 * gdb.c++/namespace1.cc: New file.
1488
85e85163
JJ
14892003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1490
1491 Roland McGrath <roland@redhat.com>
1492 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1493 there is no manager thread.
1494
a25fbfec
JJ
14952003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1496
1497 * gdb.threads/schedlock.exp: Remove assumption that all threads
1498 will run in a particular small time slice. Also ensure we break
1499 in one of the child threads rather than the main thread.
1500
be375bae
JB
15012003-05-07 Jim Blandy <jimb@redhat.com>
1502
09bf6082
JB
1503 Add support for assembly source testing on the s390x.
1504 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1505 architecture.
1506 * gdb.asm/s390x.inc: New file.
1507
be375bae
JB
1508 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1509 succession of 'if' statements.
1510
00905d52
AC
15112003-05-05 Andrew Cagney <cagney@redhat.com>
1512
1513 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1514
b1e29e33
AC
15152003-05-05 Andrew Cagney <cagney@redhat.com>
1516
1517 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1518 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1519
e33d66ec
EZ
15202003-05-02 Elena Zannoni <ezannoni@redhat.com>
1521
1522 * gdb.base/charset.exp: Update based on new behavior of set/show
1523 charset commands.
1524
2b6fd0d8
AC
15252003-05-01 Andrew Cagney <cagney@redhat.com>
1526
1527 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1528 variable do not give memory errors.
1529
130cacce
AF
15302003-04-30 Adam Fedor <fedor@gnu.org>
1531
1532 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1533 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1534 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1535 gdb.objc/basicclass.m: : New files
1536
1537 * lib/gdb.exp (gdb_compile_objc): New procedure.
1538
bea71854
DJ
15392003-04-27 Daniel Jacobowitz <drow@mvista.com>
1540
1541 * gdb.base/signals.exp: Make backtrace tests more specific.
1542
0f20eeea
DC
15432003-04-23 David Carlton <carlton@bactrian.org>
1544
1545 * gdb.c++/maint.exp (test_first_component): Add tests for
1546 'operator' in more locations.
1547
c8c4d8dc
KB
15482003-04-16 Kevin Buettner <kevinb@redhat.com>
1549
1550 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1551
3fe60e3c
EZ
15522003-04-16 Elena Zannoni <ezannoni@redhat.com>
1553
1554 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1555 func marke' instead. Update test name.
1556
9219021c
DC
15572003-04-15 David Carlton <carlton@math.stanford.edu>
1558
1559 * gdb.c++/maint.exp: New file.
1560
5dd55bdd
EZ
15612003-04-14 Elena Zannoni <ezannoni@redhat.com>
1562
1563 * gdb.threads/schedlock.c: Change type of thread function argument
1564 to long, to avoid warnings on 64-bit platforms.
1565
00890572
EZ
15662003-04-14 Elena Zannoni <ezannoni@redhat.com>
1567
1568 * gdb.base/attach.exp: Add new message from ptrace in case of
1569 attaching to nonexistent process.
1570
93201743
JB
15712003-04-11 Jim Blandy <jimb@redhat.com>
1572
1573 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1574 gdb.c++/userdef.cc: Place comments on the lines to which the
1575 marker function might return.
1576 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1577 gdb.c++/userdef.exp: Look for those comments to check that we've
1578 returned to the right place, instead of checking line numbers.
1579
2a11c64d
EZ
15802003-04-11 Elena Zannoni <ezannoni@redhat.com>
1581
1582 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1583 match on sourcefile name, instead of directory name.
1584
68ab8fc5
EZ
15852003-04-10 Elena Zannoni <ezannoni@redhat.com>
1586
1587 * gdb.base/completion.exp: Use string_to_regexp to match the
1588 working directory name.
1589
5624293a
JB
15902003-04-09 Jim Blandy <jimb@redhat.com>
1591
1592 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1593 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1594 after an inferior function call, report the failure, but allow the
1595 test to continue.
1596
f1f02ee4
SC
15972003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1598
1599 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1600 with -DPROTOTYPES.
1601
6eb79af0
SC
16022003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1603
1604 * gdb.base/break.exp: Revert last patch.
1605
8dfb4cf0
SC
16062003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1607
1608 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1609 with -DPROTOTYPES.
1610
ed4c619a
AC
16112003-04-02 Andrew Cagney <cagney@redhat.com>
1612
1613 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1614 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1615 matching directories by the name breakpoint.
1616 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1617 Make "continue to marker1" consistent.
1618 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1619 message consistent.
1620 * lib/gdb.exp: Put "the program is no longer running", and "the
1621 program exited" in parenthesis.
1622 * lib/mi-support.exp: Ditto.
1623
4e35d5f0
BR
16242003-04-02 Bob Rossi <bob_rossi@cox.net>
1625
1626 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1627
71900fe8
AC
16282003-03-29 Andrew Cagney <cagney@redhat.com>
1629
1630 * gdb.base/sizeof.c (main): Print the value of '\377'.
1631 * gdb.base/sizeof.exp: Check the sign of '\377'.
1632
c0655a16
MC
16332003-03-27 Michael Chastain <mec@shout.net>
1634
1635 * gdb.base/gdb1090.exp: New file.
1636 * gdb.base/gdb1090.cc: New file.
1637
5b2a3989
JB
16382003-03-27 J. Brobecker <brobecker@gnat.com>
1639
1640 * gdb.gdb/observer.exp: New regression test.
1641
79876890
MC
16422003-03-27 Michael Chastain <mec@shout.net>
1643
1644 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1645 * gdb.base/ptype.exp: Likewise.
1646
6eac95e3
CV
16472003-03-27 Corinna Vinschen <vinschen@redhat.com>
1648
1649 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1650
e8c71839
MC
16512003-03-26 Michael Chastain <mec@shout.net>
1652
1653 * gdb.base/ptype.exp: Actually use some typedef'd types.
1654
71b10041
SC
16552003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1656
1657 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1658 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1659
2512cf80
CV
16602003-03-20 Corinna Vinschen <vinschen@redhat.com>
1661
1662 * gdb.base/default.exp: Fix regular expression.
1663
0d195a4f
CV
16642003-03-20 Corinna Vinschen <vinschen@redhat.com>
1665
1666 * gdb.base/args.exp: Fix regular expression.
1667
8a2dbca8
CV
16682003-03-20 Corinna Vinschen <vinschen@redhat.com>
1669
1670 * gdb.base/help.exp: Allow Win32 child process.
1671
bf028682
CV
16722003-03-20 Corinna Vinschen <vinschen@redhat.com>
1673
1674 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1675 when stepping out of main().
1676
182dbe85
CV
16772003-03-20 Corinna Vinschen <vinschen@redhat.com>
1678
1679 * gdb.base/default.exp: Check for win32 specific message when calling
1680 "run" without executable.
1681
d67a6ba5
CV
16822003-03-20 Corinna Vinschen <vinschen@redhat.com>
1683
1684 * gdb.base/args.exp: Expect .exe in output.
1685
a955b5bb
CV
16862003-03-20 Corinna Vinschen <vinschen@redhat.com>
1687
1688 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1689 Cygwin native.
1690
bf6bad4b
AC
16912003-03-17 Andrew Cagney <cagney@redhat.com>
1692
1693 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1694 vector registes.
1695 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1696 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1697
293e9a31
DC
16982003-03-17 David Carlton <carlton@math.stanford.edu>
1699
1700 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1701 test, for PR breakpoints/38.
1702 Call test_watchpoint_and_breakpoint.
1703 * gdb.base/watchpoint.c (func3): New function.
1704 (main): Call func3.
1705
5330f2db
DC
17062003-03-04 David Carlton <carlton@math.stanford.edu>
1707
1708 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1709 Garply<Garply<char> >:: garply".
1710 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1711 with respect to PR c++/1111; note also PR c++/1113.
1712 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1713 respect to PR c++/1062.
1714 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1715
6ece72da
DC
17162003-03-03 David Carlton <carlton@math.stanford.edu>
1717
1718 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1719 with respect to PR c++/57.
1720 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1721 c++/826.
1722 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1723 respect to PR c++/57.
1724
85ca1584
DC
17252003-03-03 David Carlton <carlton@math.stanford.edu>
1726
1727 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1728 respect to PR c++/33 into FAILs.
1729
98e9c5b8
MC
17302003-03-03 Michael Chastain <mec@shout.net>
1731
7bedbf27
MC
1732 * configure.in: Update copyright years.
1733
17342003-03-03 Michael Chastain <mec@shout.net>
1735
1736 * Makefile.in: Update copyright years.
98e9c5b8 1737
f683e100
DC
17382003-02-28 David Carlton <carlton@math.stanford.edu>
1739
1740 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1741 print class instead of struct and/or superfluous protection
1742 specifiers, as long as the resulting output is equivalent to the
1743 source code.
1744 Delete FIXME from end of messages on tests that don't need
1745 fixing.
1746
a9e0cf2c
DC
17472003-02-28 David Carlton <carlton@math.stanford.edu>
1748
1749 * gdb.c++/templates.exp (do_tests): Allow const in the two
1750 Foo<volatile char *>::foo tests.
1751
e8d359df
MS
17522003-02-27 Michael Snyder <msnyder@redhat.com>
1753
1754 * gdb.base/restore.c (main): Return zero, so exit code
1755 will be consistant.
1756
0b71dc91
DC
17572003-02-26 David Carlton <carlton@math.stanford.edu>
1758
1759 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1760 char *>::foo" test with respect to PR c++/33. Create a new test
1761 which is identical to that one except that it doesn't put the
1762 space between the "char" and the "*"; KFAIL it, too.
1763
dd14ab43
DC
17642003-02-26 David Carlton <carlton@math.stanford.edu>
1765
1766 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1767 template types into either PASSes or KFAILs (corresponding to PR
1768 c++/57). Tweak indentation. Update copyright.
1769
1146c7f1
SC
17702003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1771
1772 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1773
74641dfb
MC
17742003-02-13 Michael Chastain <mec@shout.net>
1775
1776 * gdb.base/exprs.exp: Remove i960 remnants.
1777 * gdb.base/funcargs.exp: Likewise.
1778 * gdb.base/list.exp: Likewise.
1779 * gdb.base/ptype.exp: Likewise.
1780
559cd2d0
DC
17812003-02-14 David Carlton <carlton@math.stanford.edu>
1782
1783 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1784 pEe->D::vg()" from XFAIL to KFAIL.
1785
c4f90d87
JM
17862003-02-13 Jason Molenda (jmolenda@apple.com)
1787
1788 * gdb.base/maint.exp: Update maint print statistics regexp to include
1789 new entries.
1790
cbc4d97c
MC
17912003-02-13 Michael Chastain <mec@shout.net>
1792
1793 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1794
40f235b7
MC
17952003-02-12 Michael Chastain <mec@shout.net>
1796
1797 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1798 * gdb.c++/inherit.exp: Likewise.
1799 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1800 * gdb.c++/templates.exp: Likewise.
1801 * gdb.c++/virtfunc.exp: Likewise.
1802
c56716b0
JM
18032003-02-06 Jason Molenda (jason-cl@molenda.com)
1804
1805 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1806 why the code is written that way.
1807
070afcf8
MC
18082003-02-05 Michael Chastain <mec@shout.net>
1809
1810 * gdb.base/dump.exp: Add missing copyright line.
1811
5d0331e5
JM
18122003-02-05 Jason Molenda (jason-cl@molenda.com)
1813
f7ae6d3e 1814 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1815 at the beginning so the breakpoint doesn't get set on the loop.
1816
92851186
MC
18172003-02-05 Michael Chastain <mec@shout.net>
1818
1819 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1820 output for configurations with gcc 2.95.3.
1821
cbf1e085
AC
18222003-02-05 Keith Seitz <keiths@redhat.com>
1823 Andrew Cagney <ac131313@redhat.com>
1824
1825 * gdb.mi/mi-cli.exp: New file.
1826
29518e1e
MC
18272003-02-04 Michael Chastain <mec@shout.net>
1828
1829 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1830 Call perror and then continue.
1831
5af1d5f3
MC
18322003-02-03 Michael Chastain <mec@shout.net>
1833
1834 * gdb.c++/pr-1023.cc: New file.
1835 * gdb.c++/pr-1023.exp: New file.
1836
6b549786
JB
18372003-02-05 Jim Blandy <jimb@redhat.com>
1838
1839 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1840 it's local to foobar. Check for it there, and check that it's not
1841 present in main.
1842 * gdb.c++/local.cc (marker2): New function.
1843 (foobar): Call marker1.
1844 (main): Call marker2 instead of marker1.
1845
67f16606
AC
18462003-02-04 Andrew Cagney <ac131313@redhat.com>
1847
1848 * gdb.disasm/mn10200.exp: Obsolete file.
1849 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1850 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1851 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1852
1c5cb38e
DC
18532003-02-04 David Carlton <carlton@math.stanford.edu>
1854
1855 * gdb.c++/overload.exp: Test intToChar(1).
1856 * gdb.c++/overload.cc (intToChar): New.
1857 (main): Call intToChar.
1858
d1fe6965
DC
18592003-02-03 David Carlton <carlton@math.stanford.edu>
1860
1861 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1862 'might_kfail' arg.
1863 KFAIL some of the continue_to_bp_overloaded calls, according to
1864 PR c++/1025.
1865
9ba61c5d
MC
18662003-02-01 Michael Chastain <mec@shout.net>
1867
1868 * gdb.base/advance.c (marker1): New marker function.
1869 * gdb.base/advance.exp: When the 'advance' command lands on the
1870 return breakpoint, it can legitimately stop on either the
1871 current line or the next line. Accommodate both outcomes.
1872 * gdb.base/until.exp: Likewise.
1873
e7494ffb
AC
18742003-02-02 Andrew Cagney <ac131313@redhat.com>
1875
1876 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1877 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1878 now a list, not a tuple.
1879 * gdb.mi/mi-var-display.exp: Ditto.
1880 * gdb.mi/gdb792.exp: Ditto.
1881
075559bc
AC
18822003-02-01 Andrew Cagney <ac131313@redhat.com>
1883
1884 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1885 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1886 stack backtraces.
1887 * gdb.mi/mi-syn-frame.c: Part of same.
1888
2bd4c7b1
MK
18892003-02-01 Mark Kettenis <kettenis@gnu.org>
1890
1891 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1892 gdb.mi/mi1-pthreads.exp: Return instead of calling
1893 gdb_suppress_entire_file.
1894
eabd8992
MS
18952003-02-01 Mark Salter <msalter@redhat.com>
1896
1897 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1898
71469e2f
MS
18992003-01-31 Mark Salter <msalter@redhat.com>
1900
1901 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1902 Support empty arg.
1903
38a94d44
MC
19042003-01-30 Michael Chastain <mec@shout.net>
1905
1906 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1907 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1908 has been fixed in gdb/readline on 2003-01-09.
1909
19ea9e73
MS
19102003-01-29 Michael Snyder <msnyder@redhat.com>
1911
e8d359df
MS
1912 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1913 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1914 * gdb.base/args.exp: Skip if target does not support args passing.
1915
2307bd6a
DJ
19162003-01-22 Daniel Jacobowitz <drow@mvista.com>
1917
19ea9e73 1918 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1919 gdb_test. Accept a list of expect arguments as the third
1920 parameter.
1921 (gdb_test): Use it.
1922
f2dd3617
EZ
19232003-01-20 Elena Zannoni <ezannoni@redhat.com>
1924
1925 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1926 allow for different test tree configurations. Update some
1927 tescases accordingly.
1928 * gdb.arch/altivec-regs.exp: Ditto.
1929 * gdb.asm/asm-source.exp: Ditto.
1930 * gdb.base/advance.exp: Ditto.
1931 * gdb.base/display.exp: Ditto.
1932 * gdb.base/long_long.exp: Ditto.
1933 * gdb.base/mips_pro.exp: Ditto.
1934 * gdb.base/overlays.exp: Ditto.
1935 * gdb.base/relocate.exp: Ditto.
1936 * gdb.base/setshow.exp: Ditto.
1937 * gdb.base/step-line.exp: Ditto.
1938 * gdb.base/step-test.exp: Ditto.
1939 * gdb.base/until.exp: Ditto.
1940 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1941
c71cdefd
DC
19422003-01-17 David Carlton <carlton@math.stanford.edu>
1943
1944 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1945 corresponding to PR c++/945.
1946 Update copyright.
1947
fdba05d7
DC
19482003-01-17 David Carlton <carlton@math.stanford.edu>
1949
1950 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1951 corresponding to PR c++/68.
1952
19532003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1954
1955 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1956 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1957 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1958
c362c33a
EZ
19592003-01-15 Elena Zannoni <ezannoni@redhat.com>
1960
0fbc361c
EZ
1961 * gdb.base/break.exp: Fix change of default location, because of
1962 removal of until tests.
1963 * gdb.base/help.exp: Update test for new 'until' help message.
1964 Add test for help on 'advance'.
c362c33a
EZ
1965 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1966
dabf8a35
MK
19672003-01-15 Mark Kettenis <kettenis@gnu.org>
1968
1969 * gdb.base/default.exp: Adapt "info float" test for recent changes
1970 to that command. Add test for "info vector".
1971 * gdb.base/float.exp: New file. Add test for "info float" that
1972 resembles the old test in gdb.base/default.exp.
1973
a1769aca
DC
19742003-01-15 David Carlton <carlton@math.stanford.edu>
1975
1976 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1977
82025e13
EZ
19782003-01-15 Elena Zannoni <ezannoni@redhat.com>
1979
1980 * gdb.base/break.exp: Move the tests of until command from here...
1981 * gdb.base/until.exp: ... to here. New file. Add other tests.
1982 * gdb.base/advance.c: New file.
1983 * gdb.base/advance.exp: New file.
1984
8f9ab801
EZ
19852003-01-14 Elena Zannoni <ezannoni@redhat.com>
1986
1987 * gdb.base/args.c: New file.
1988 * gdb.base/args.exp: New file.
1989
9ae66589
DJ
19902003-01-14 Daniel Jacobowitz <drow@mvista.com>
1991
1992 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1993
8d77e5c3
DJ
19942003-01-14 Daniel Jacobowitz <drow@mvista.com>
1995
1996 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1997
12d2f0a1
DJ
19982003-01-14 Daniel Jacobowitz <drow@mvista.com>
1999
2000 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2001 dates.
2002
6ca37014
DJ
20032003-01-13 Daniel Jacobowitz <drow@mvista.com>
2004
2005 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2006
b0023472
DJ
20072003-01-13 Daniel Jacobowitz <drow@mvista.com>
2008
2009 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2010 (ptype &*"foo").
2011 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2012
d6abaea5
DJ
20132002-01-13 Daniel Jacobowitz <drow@mvista.com>
2014
2015 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2016 * gdb.mi/mi1-console.exp: Likewise.
2017
dfd536a7
DJ
20182002-01-13 Daniel Jacobowitz <drow@mvista.com>
2019
2020 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2021 * gdb.mi/mi1-console.exp: Likewise.
2022
a1fb14a2
DJ
20232003-01-13 Daniel Jacobowitz <drow@mvista.com>
2024
2025 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2026
c4cf40b7
DJ
20272003-01-09 Daniel Jacobowitz <drow@mvista.com>
2028
2029 * gdb.base/detach.exp: New test.
2030
696d5a5b
DJ
20312003-01-09 Daniel Jacobowitz <drow@mvista.com>
2032
2033 * Makefile.in (ALL_SUBDIRS): New variable.
2034 (subdirs, clean, distclean): Use it.
2035 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2036 regenerating Makefile, since it is generated from the top level.
2037 * gdb.asm/Makefile.in: Likewise.
2038 * gdb.base/Makefile.in: Likewise.
2039 * gdb.c++/Makefile.in: Likewise.
2040 * gdb.disasm/Makefile.in: Likewise.
2041 * gdb.java/Makefile.in: Likewise.
2042 * gdb.mi/Makefile.in: Likewise.
2043 * gdb.threads/Makefile.in: Likewise.
2044 * gdb.trace/Makefile.in: Likewise.
2045
754533e4
DC
20462003-01-09 David Carlton <carlton@math.stanford.edu>
2047
2048 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2049 Add copyright year 2003.
2050
d8b3e9ee
MC
20512003-01-06 Michael Chastain <mec@shout.net>
2052
2053 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2054 When selecting a thread, 'line' and 'file' are optional.
2055 * gdb.mi/mi1-pthreads.exp: Likewise.
2056
8e9e0fe6
AS
20572003-01-06 Andreas Schwab <schwab@suse.de>
2058
2059 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2060 failures.
2061
b5ab8ff3
DJ
20622003-01-04 Daniel Jacobowitz <drow@mvista.com>
2063
2064 Fix PR gdb/844
2065 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2066 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2067
2068 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2069 instead of calling gdb_suppress_entire_file.
2070 * gdb.threads/print-threads.exp: Likewise.
2071 * gdb.threads/schedlock.exp: Likewise.
2072
2073 * gdb.threads/killed.exp: Return instead of calling
2074 gdb_suppress_entire_file.
2075 * gdb.threads/linux-dp.exp: Likewise.
2076 * gdb.threads/pthreads.exp: Likewise.
2077
1e698235
DJ
20782003-01-04 Daniel Jacobowitz <drow@mvista.com>
2079
2080 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2081 stabs.
2082 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2083 * gdb.base/whatis.exp: Always allow (void) after function names.
2084
147ff08c
DJ
20852003-01-04 Daniel Jacobowitz <drow@mvista.com>
2086
2087 * gdb.c++/casts.exp: Correct regexp.
2088
dc62bfc2
MK
20892003-01-04 Mark Kettenis <kettenis@gnu.org>
2090
2091 * configure.in: Call AC_CONFIG_HEADER. Don't call
2092 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2093 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2094 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2095 aforementioned directories in the AC_OUPUT call.
2096 * config.hin: New file.
2097 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2098 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2099 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2100 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2101 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2102 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2103 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2104 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2105 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2106 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2107 gdb.threads/configure.in, gdb.threads/configure,
2108 gdb.threads/config.in, gdb.trace/configure.in,
2109 gdb.trace/configure: Removed.
2110
77afa639
MC
21112003-01-03 Michael Chastain <mec@shout.net>
2112
2113 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2114 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2115
7634bb6e
DJ
21162003-01-03 Daniel Jacobowitz <drow@mvista.com>
2117
2118 * gdb.base/store.exp: Fix regular expressions.
2119
b39c905e
MK
21202002-12-28 Mark Kettenis <kettenis@gnu.org>
2121
2122 * configure.in: Rewrite.
2123 * configure: Regenerated.
2124
0a8551dd
DC
21252003-01-03 David Carlton <carlton@math.stanford.edu>
2126
2127 * gdb.base/psymtab.exp: New file.
2128 * gdb.base/psymtab1.c: Ditto.
2129 * gdb.base/psymtab2.c: Ditto.
2130
c60b7188
AF
21312002-12-23 Adam Fedor <fedor@gnu.org>
2132
2133 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2134
ee73db83
DC
21352002-12-23 David Carlton <carlton@math.stanford.edu>
2136
2137 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2138 and current_directory initialization.
2139
d6c1774e
JB
21402002-12-22 Jim Blandy <jimb@redhat.com>
2141
f0a847b8
JB
2142 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2143 rather than as part of the output file name.
2144
d6c1774e
JB
2145 * gdb.base/attach.exp: There's no need to copy the test program to
2146 /tmp; that was only ever necessary on HP/UX, and this test is
2147 entirely disabled there anyway.
2148
f0708dbb
JB
21492002-12-21 Jim Blandy <jimb@redhat.com>
2150
4c2acfea
JB
2151 * gdb.c++/psmang.exp: Doc fix.
2152
f0708dbb
JB
2153 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2154 test.
2155
9579e000
DC
21562002-12-20 David Carlton <carlton@math.stanford.edu>
2157
2158 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2159
d1810171
MC
21602002-12-18 Michael Chastain <mec@shout.net>
2161
2162 * gdb.c++/annota2.exp: Add copyright year 2002.
2163
76565097
DC
21642002-12-17 David Carlton <carlton@math.stanford.edu>
2165
2166 * gdb.c++/try_catch.cc: Add marker comments.
2167 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2168 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2169 * gdb.c++/m-static.cc: Ditto.
2170 * gdb.c++/m-static1.cc: Ditto.
2171 * gdb.c++/try_catch.cc: Ditto.
2172
da81390b
JJ
21732002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2174
2175 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2176 to see whether we are using the new -environment-directory
2177 command which resets via -r or the old version of the command
2178 which may prompt the user. Part of fix for gdb/741.
2179
b304d130
AC
21802002-12-13 Andrew Cagney <ac131313@redhat.com>
2181
2182 * gdb.fortran/types.exp: Update obsolete comment.
2183 * gdb.fortran/exprs.exp: Ditto.
2184 * lib/gdb.exp: Delete obsolete code.
2185 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2186 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2187 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2188 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2189 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2190 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2191 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2192 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2193 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2194 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2195 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2196 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2197 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2198 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2199 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2200 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2201 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2202 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2203 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2204 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2205 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2206 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2207 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2208 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2209 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2210 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2211 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2212 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2213 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2214 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2215 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2216 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2217 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2218 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2219 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2220 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2221 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2222
a23b6e6a
DC
22232002-12-11 David Carlton <carlton@math.stanford.edu>
2224
2225 * gdb.c++/m-data.exp: Add test for members that shadow global
2226 variables: see PR gdb/804.
2227 * gdb.c++/m-data.cc: Ditto.
2228
6604731b
DJ
22292002-12-10 Daniel Jacobowitz <drow@mvista.com>
2230
2231 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2232
de46ecd7
DC
22332002-12-06 David Carlton <carlton@math.stanford.edu>
2234
2235 * gdb.base/store.c: Don't declare functions static.
2236
27e829d0
AC
22372002-12-04 Andrew Cagney <ac131313@redhat.com>
2238
2239 * gdb.base/store.exp, gdb.base/store.c: New files.
2240
92806416
DJ
22412002-12-03 Daniel Jacobowitz <drow@mvista.com>
2242
2243 * gdb.base/selftest.exp: Update for current gdb.
2244
3bcbaac5
DJ
22452002-12-03 Daniel Jacobowitz <drow@mvista.com>
2246
2247 * gdb.base/maint.exp: Only dump symbols from one source file
2248 or objfile.
2249
f4f00b1f
DJ
22502002-12-03 Daniel Jacobowitz <drow@mvista.com>
2251
2252 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2253 function call.
2254
f1c8a949
JB
22552002-11-25 Jim Blandy <jimb@redhat.com>
2256
2257 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2258 function appearing in error message.
2259
9e297a97
DJ
22602002-11-21 Daniel Jacobowitz <drow@mvista.com>
2261
2262 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2263
1f312e79
JJ
22642002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2265
2266 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2267 for mi1 and current mi is in correct format. New mi startup message
2268 should be in mi console format. This is part of fix for PR gdb/604.
2269
83c31e7d
FN
22702002-09-18 Fernando Nasser <fnasser@redhat.com>
2271
2272 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2273 which explicitly prints the zero offset as "+0".
2274
322b3f65
DJ
22752002-10-22 Daniel Jacobowitz <drow@mvista.com>
2276
2277 * gdb.threads/schedlock.c (args): Make unsigned.
2278
22792002-10-21 Daniel Jacobowitz <drow@mvista.com>
2280
2281 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2282 numbers. Allow "foo2|selected stack frame".
2283 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2284 * gdb.asm/asmsrc2.s: Likewise.
2285 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2286 comments.
2287 * gdb.asm/mips.inc: New file.
2288
5e2fe5b8
AF
22892002-10-18 Adam Fedor <fedor@gnu.org>
2290
2291 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2292 * gdb.base/help.exp: Likewise.
2293
abe1a5d0
KB
22942002-10-17 Kevin Buettner <kevinb@redhat.com>
2295
2296 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2297 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2298
10abb1d4
JB
22992002-10-02 Jim Blandy <jimb@redhat.com>
2300
2301 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2302
1f609b42
AC
23032002-10-01 Andrew Cagney <ac131313@redhat.com>
2304
2305 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2306 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2307 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2308 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2309 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2310 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2311 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2312
0aee02e4
AC
23132002-09-29 Andrew Cagney <ac131313@redhat.com>
2314
2315 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2316 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2317 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2318 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2319 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2320 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2321 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2322
6fde09ad
KB
23232002-09-27 Kevin Buettner <kevinb@redhat.com>
2324
2325 * gdb.base/annota1.exp (info break): Make directory components of
2326 path optional since not all compilers emit this debug information.
2327
2328 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2329 step ends up stepping out of the function instead of stopping on
2330 the epilogue.
2331
9e8aab75
KS
23322002-09-26 Keith Seitz <keiths@redhat.com>
2333
2334 * lib/insight-support.exp (gdbtk_start): Figure out where
2335 the insight executable is based on where gdb is. Use this
2336 executable to start insight instead of gdb.
2337
e36180d7
AC
23382002-09-25 Andrew Cagney <cagney@redhat.com>
2339
2340 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2341
9dd34b2b
AC
23422002-09-24 Andrew Cagney <ac131313@redhat.com>
2343
2344 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2345 test_isolated_complaints.
2346 (test_empty_complaint): New function.
2347 (test_empty_complaints): New function. Check no output when no
2348 complaints.
2349
dea97812
KB
23502002-09-19 Jim Blandy <jimb@redhat.com>
2351
2352 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2353
54951bd7
AC
23542002-09-19 Andrew Cagney <ac131313@redhat.com>
2355
2356 * gdb.gdb/complaints.exp: New file.
2357
dec43320
AC
23582002-09-18 Andrew Cagney <ac131313@redhat.com>
2359
2360 * gdb.base/maint.exp: Check `help maint internal-warning'.
2361
e70d6e3f
DC
23622002-09-18 David Carlton <carlton@math.stanford.edu>
2363
2364 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2365 numbers, and replace them by a single breakpoint after the
2366 constructors are all finished.
2367 Add test 4.
2368 * gdb.c++/m-static.cc: Add test 4.
2369 * gdb.c++/m-static.h: New file.
2370 * gdb.c++/m-static1.cc: New file.
2371
2372 * gdb.c++/printmethod.exp: New file.
2373 * gdb.c++/printmethod.cc: New file.
2374
2375 * gdb.c++/pr-574.exp: New file.
2376 * gdb.c++/pr-574.cc: New file.
2377
afb5c968
CV
23782002-09-18 Corinna Vinschen <vinschen@redhat.com>
2379
2380 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2381 embedded targets which never actually exit.
2382
31e45dee
FN
23832002-09-18 Fernando Nasser <fnasser@redhat.com>
2384
2385 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2386 "don't step after run" as unresolved or unsupported, instead of xfail.
2387
a283c5a1
CV
23882002-09-18 Corinna Vinschen <vinschen@redhat.com>
2389
2390 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2391 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2392 Add newline to expected string in "step out of main (status wrapper)"
2393 case.
2394
11350d2a
CV
23952002-09-18 Corinna Vinschen <vinschen@redhat.com>
2396
2397 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2398 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2399
0deec7d6
TT
24002002-09-17 Tom Tromey <tromey@redhat.com>
2401
2402 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2403 \000, not \0, in double-quoted string.
2404
b2b4a1b5
CV
24052002-09-14 Corinna Vinschen <vinschen@redhat.com>
2406
c9d37158 2407 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2408 string after running the commands execution on breakpoint tests.
2409
1c56143a
CV
24102002-09-13 Corinna Vinschen <vinschen@redhat.com>
2411
2412 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2413
37f8da45
JB
24142002-09-12 Joel Brobecker <brobecker@gnat.com>
2415
2416 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2417
08b468e0
KS
24182002-09-10 Keith Seitz <keiths@redhat.com>
2419
2420 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2421 runto proc.
2422 (mi_run_to_main): Use mi_runto.
2423 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2424
dc360f58
KS
24252002-09-10 Keith Seitz <keiths@redhat.com>
2426
2427 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2428 regexp for stopping at main. Could have multiple event notifications.
2429 Don't assume that main was declared with no parameters.
2430 (mi_next): Use mi_step_to.
2431 (mi_step): Use mi_next_to.
2432
ce3abcfb
CV
24332002-09-09 Corinna Vinschen <vinschen@redhat.com>
2434
2435 * gdb.base/default.exp: Fix expected string in `info float' test.
2436
d1f5b980
BE
24372002-09-09 Ben Elliston <bje@redhat.com>
2438
2439 * config/mips.exp: Update comments.
2440 * config/mips-idt.exp: Likewise.
2441 * config/nind.exp: Likewise.
2442 * config/slite.exp: Likewise.
2443 * config/sparclet.exp: Likewise.
2444 * config/udi.exp: Likewise.
2445 * config/vx.exp: Likewise.
2446 * config/vxworks29k.exp: Likewise.
2447
2f71430b
JB
24482002-09-05 Jim Blandy <jimb@redhat.com>
2449
2450 * gdb.threads/killed.exp: Fix test failure message.
2451
7ddebc7e
KS
24522002-09-04 Keith Seitz <keiths@redhat.com>
2453
2454 * lib/mi-support.exp: Update copyright.
2455 (mi_gdb_test): Increase the priority of the expected pattern
2456 so that it matches gdb_test.
2457
0ae67eb3
KS
24582002-09-03 Keith Seitz <keiths@redhat.com>
2459
2460 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2461 Use integer comparison instead of string comparison for testing
2462 whether binary was built.
2463
38fc42c8
JB
24642002-09-03 Jim Blandy <jimb@redhat.com>
2465
2466 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2467
b6ff0e81
JB
24682002-08-29 Jim Blandy <jimb@redhat.com>
2469
2470 * gdb.threads/pthreads.exp: Move the portable thread compilation
2471 code into a function in lib/gdb.exp, and call that from here.
2472 * lib/gdb.exp (gdb_compile_pthreads): New function.
2473
07c98896
KS
24742002-08-29 Keith Seitz <keiths@redhat.com>
2475
2476 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2477 expect_out so that callers can get at it.
2478
0312286c
DJ
24792002-08-23 Daniel Jacobowitz <drow@mvista.com>
2480
2481 * gdb.threads/print-threads.c: New file.
2482 * gdb.threads/print-threads.exp: New file.
2483 * gdb.threads/schedlock.c: New file.
2484 * gdb.threads/schedlock.exp: New file.
2485
dd039bc4
EZ
24862002-08-22 Elena Zannoni <ezannoni@redhat.com>
2487
2488 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2489 not altivec.c.
2490
1f36144c
MK
24912002-08-17 Mark Kettenis <kettenis@gnu.org>
2492
2493 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2494 targets. The problem should be fixed now.
2495
16057ec7 24962002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2497
2498 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2499 2002-07-24 change that removes final dots from error messages.
2500
3c1499ad
TT
25012002-08-13 Tom Tromey <tromey@redhat.com>
2502
2503 * gdb.base/readline.exp: New file.
2504
a20ce2c3
AC
25052002-08-01 Andrew Cagney <ac131313@redhat.com>
2506
2507 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2508 supress message.
2509
db034ac5
AC
25102002-08-01 Andrew Cagney <cagney@redhat.com>
2511
2512 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2513 CHILL_FOR_TARGET and CHILL_LIB.
2514 * configure.in (configdirs): Remove gdb.chill.
2515 * configure: Regenerate.
2516 * lib/gdb.exp: Obsolete references to chill.
2517 * gdb.fortran/types.exp: Ditto.
2518 * gdb.fortran/exprs.exp: Ditto.
2519
3e000b18
KB
25202002-07-30 Kevin Buettner <kevinb@redhat.com>
2521
2522 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2523 set Irix-specific compile and link flags.
2524
28f4966b
KB
25252002-07-29 Kevin Buettner <kevinb@redhat.com>
2526
2527 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2528 source files. The ``-o'' option doesn't work with the ``-E'' option
2529 when using the Irix compiler.
2530
46c0d5a6
DJ
25312002-07-19 Daniel Jacobowitz <drow@mvista.com>
2532
2533 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2534 Improve support for reusing an exec file. Copy exec file
2535 to target, and run gdbserver on the target instead of on the host.
2536
eecf4bed
JB
25372002-07-18 Jim Blandy <jimb@redhat.com>
2538
0f815cdf
JB
2539 * gdb.base/ending-run.exp: Don't expect to see the program end in
2540 some orderly fashion when we're running on a real stand-alone
2541 board.
2542
eecf4bed
JB
2543 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2544 targets that don't support interrupts.
2545
52d309e4
JB
25462002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2547
2548 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2549 systems.
2550 Move comments in expect statements to inside the actions, so that they
2551 don't get matched against.
2552
ff683d9e
MK
25532002-07-10 Mark Kettenis <kettenis@gnu.org>
2554
2555 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2556 function when asleep" test.
2557
b5356753
AC
25582002-07-10 Andrew Cagney <ac131313@redhat.com>
2559
2560 * gdb.base/page.exp: Rewrite to handle problems with very long
2561 `info set' output. Update copyright.
2562
6aa4d13a
AC
25632002-06-26 Andrew Cagney <ac131313@redhat.com>
2564
2565 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2566 gdb.threads-hp.
2567 * gdb.hp/configure: Regenerate.
2568 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2569 * gdb.hp/gdb.threads-hp/configure: Delete file.
2570 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2571
8cf8c2b8
AC
25722002-06-22 Andrew Cagney <ac131313@redhat.com>
2573
2574 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2575 setlocale, bindtextdomain and textdomain.
2576
6827a8f8
JB
25772002-06-11 Jim Blandy <jimb@redhat.com>
2578
919d772c
JB
2579 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2580 preprocessor macro information is present.
2581
6827a8f8
JB
2582 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2583 tests.
2584
c15b0d21
MS
25852002-06-06 Michael Snyder <msnyder@redhat.com>
2586
c5984d70
MS
2587 * gdb.base/overlays.exp: Record addresses of overlay
2588 functions in TCL variables rather than in GDB variables,
2589 to avoid having GDB convert them to pointers (with loss
2590 of information).
2591
99a8512b
MS
2592 * gdb.base/d10v.ld: Merge in several years worth of
2593 default linker script changes.
c15b0d21
MS
2594 * gdb.base/long_long.exp: Add check for sizeof (long double).
2595
be26fe0d
ML
25962002-06-06 Michal Ludvig <mludvig@suse.cz>
2597
2598 * gdb.asm/asm-source.exp: Add x86-64 target.
2599 * gdb.asm/x86_64.inc: New.
2600
258093ca 26012002-05-30 Michael Chastain <mec@shout.net>
258093ca 2602
4b3153f1 2603 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2604 * gdb.c++/m-static.cc: New file.
2605 * gdb.c++/m-static.exp: New file.
2606
241264c6
MS
26072002-05-28 Michael Snyder <msnyder@redhat.com>
2608
2609 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2610 precision.
2611
9bba8c8f 26122002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2613
4b3153f1 2614 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2615 * gdb.c++/m-data.cc: New file.
2616 * gdb.c++/m-data.exp: New file.
2617
26182002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2619
4b3153f1 2620 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
2621 * gdb.c++/try_catch.cc: New file.
2622 * gdb.c++/try_catch.exp: New file.
2623
def1b996
MC
26242002-05-27 Michael Chastain <mec@shout.net>
2625
2626 * gdb.c++/local.exp: Accept more nested types in output.
2627
522ba268
MC
26282002-05-26 Michael Chastain <mec@shout.net>
2629
2630 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2631
277254ba
MS
26322002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2633
2634 * lib/gdb.exp (gdb_wrapper_init): Just because
2635 gdb_wrapper_file exists, this does not mean that the file
2636 should not be rebuilt. That is what gdb_wrapper_initialized
2637 is for.
2638 (default_gdb_init): Reset gdb_wrapper_initialized.
2639
b61a8733
MS
26402002-05-23 Michael Snyder <msnyder@redhat.com>
2641
5bdb6d01
MS
2642 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2643 the precision of the floating point test results.
2644 * gdb.base/call-rt-st.exp: Ditto.
2645
b61a8733
MS
2646 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2647 * gdb.base/call-rt-st.exp: Ditto.
2648
56f6e910
MC
26492002-05-19 Michael Chastain <mec@shout.net>
2650
2651 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2652
ad0b0016
EZ
26532002-05-19 Elena Zannoni <ezannoni@redhat.com>
2654
2655 * configure.in (configdirs): Add gdb.arch.
2656 * configure: Regenerate.
2657
f617d2b6
JB
26582002-05-17 Jim Blandy <jimb@redhat.com>
2659
2660 * gdb.base/completion.exp: Recognize the more detailed error
2661 messages produced by the macro expander's lexical analyzer.
2662
eac2a696
EZ
26632002-05-14 Elena Zannoni <ezannoni@redhat.com>
2664
2665 * gdb.arch/altivec-abi.c: New file.
2666 * gdb.arch/altivec-abi.exp: New file.
2667 * gdb.arch/altivec-regs.c: New file.
2668 * gdb.arch/altivec-regs.exp: New file.
2669
2fdde8f8
DJ
26702002-05-14 Daniel Jacobowitz <drow@mvista.com>
2671
2672 * gdb.base/maint.exp (maint print type): Update for new type
2673 structure.
eac2a696 2674
e31f1a7c
EZ
26752002-05-14 Elena Zannoni <ezannoni@redhat.com>
2676
2677 * gdb.arch: New directory.
2678 * gdb.arch/configure.in: New file.
2679 * gdb.arch/configure: New file.
2680 * gdb.arch/Makefile.in: New file.
2681
db589741
CV
26822002-05-13 Corinna Vinschen <vinschen@redhat.com>
2683
2684 * gdb.asm/asm-source.exp: Add v850 as supported target.
2685 * gdb.asm/v850.inc: New file.
2686
8ce2a7dc
DJ
26872002-05-13 Daniel Jacobowitz <drow@mvista.com>
2688
2689 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2690
df763c7f
DJ
26912002-05-12 Daniel Jacobowitz <drow@mvista.com>
2692
2693 * gdb.base/break.exp: Check 'break "marker2"'.
2694
377daeed
MS
26952002-05-10 Michael Snyder <msnyder@redhat.com>
2696
2697 * gdb.base/long_long.exp: Fix typo.
2698
c4b7bc2b
JB
26992002-05-10 Jim Blandy <jimb@redhat.com>
2700
ecac9a4e
JB
2701 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2702 a bug.
2703
c4b7bc2b
JB
2704 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2705 Recognize more detailed error message produced by the macro
2706 expander's lexical analyzer.
2707 * lib/gdb.exp (test_print_reject): Same.
2708
e71019a1
MK
27092002-05-09 Mark Kettenis <kettenis@gnu.org>
2710
2711 * gdb.c++/method.exp: Fix typo.
2712
fedfc8e6
MS
27132002-05-08 Michael Snyder <msnyder@redhat.com>
2714
166a1957
MS
2715 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2716 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2717 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2718 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2719 Add iftarget clause for strongarm.
2720
f1c47eb2
MS
27212002-05-06 Michael Snyder <msnyder@redhat.com>
2722
cb9a9d3e
MS
2723 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2724 (gdb_continue_to_end): Accept output from status wrapper.
2725 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2726 Clean up fail messages to match pass messages.
2727
f1c47eb2
MS
2728 Enable the "needs_status_wrapper" testsuite feature.
2729 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2730 (gdb_compile): Conditionally call gdb_wrapper_init.
2731 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2732 * gdb.c++/method.exp: Recognize output from status wrapper.
2733
6079c749
BE
27342002-05-06 Ben Elliston <bje@redhat.com>
2735From Graydon Hoare <graydon@redhat.com>
2736
2737 * config/sid.exp: Include support for "rawsid" protocol.
2738
188baff3
JB
27392002-05-03 Jim Blandy <jimb@redhat.com>
2740
2741 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2742 * gdb.c++/hang3.C: New file.
2743
b9c07f0f
AC
27442002-05-04 Andrew Cagney <ac131313@redhat.com>
2745
2746 * gdb.base/default.exp: Remove obsolete code.
2747 * gdb.c++/misc.exp: Ditto. Update copyright.
2748 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2749 * gdb.base/whatis.exp: Ditto. Update copyright.
2750 * gdb.base/scope.exp: Ditto. Update copyright.
2751 * gdb.base/ptype.exp: Ditto. Update copyright.
2752 * gdb.base/printcmds.exp: Ditto. Update copyright.
2753 * gdb.base/opaque.exp: Ditto. Update copyright.
2754 * gdb.base/list.exp: Ditto.
2755 * gdb.base/funcargs.exp: Ditto. Update copyright.
2756 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2757 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2758 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2759 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2760 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2761 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2762
5c7a0397
MS
27632002-05-02 Michael Snyder <msnyder@redhat.com>
2764
d6dcc264 2765 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2766 * gdb.base/long_long.exp: Add xscale target.
2767 * gdb.base/default.exp: Add xscale target.
2768
eb7f1c48
JB
27692002-05-01 Jim Blandy <jimb@redhat.com>
2770
2771 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2772 gdb.c++/hang.exp: New test.
2773
a6befae8
FF
27742002-05-01 Fred Fish <fnf@redhat.com>
2775
2776 * gdb.base/completion.exp: Handle completions of "./Make" for
2777 more than one completion possibility, as is the case when we
2778 build and test in the source tree.
2779
0a310277
AG
27802002-04-29 Anthony Green <green@redhat.com>
2781
2782 * gdb.java/jmisc1.exp: New file.
2783 * gdb.java/jmisc2.exp: New file.
2784
6ff9af88
DJ
27852002-04-24 Daniel Jacobowitz <drow@mvista.com>
2786
2787 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2788
96b3d632
EZ
27892002-04-23 Elena Zannoni <ezannoni@redhat.com>
2790
2791 * gdb.base/help.exp: Change 'help status' to allow for target
2792 dependent output differences.
2793
5019bb54
MC
27942002-04-22 Michael Chastain <mec@shout.net>
2795
2796 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2797
a805a116
MC
27982002-04-22 Michael Chastain <mec@shout.net>
2799
2800 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2801
a1706bfd
DM
28022002-04-17 David S. Miller <davem@redhat.com>
2803
2804 * gdb.asm/sparc64.inc: New file.
2805 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2806
a73a20a2
EZ
28072002-04-19 Elena Zannoni <ezannoni@redhat.com>
2808
2809 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2810 instruction file directly into the build tree. Clean up at end of
2811 test.
2812
ba678339
DM
28132002-04-18 David S. Miller <davem@redhat.com>
2814
2815 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2816 handle 64-bit platforms correctly.
2817 * gdb.base/maint.exp: Likewise.
2818
b03399da
KB
28192002-04-18 Kevin Buettner <kevinb@redhat.com>
2820
2821 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2822 ``-fpic'' when compiling files comprising a shared library, but
2823 it does need additional linker flags in order to find shared
2824 libraries at run time.
2825
e2004992
KB
28262002-04-18 Kevin Buettner <kevinb@redhat.com>
2827
2828 * gdb.base/cvexpr.c (use): New function.
2829 (main): Invoke use() on all global variables to prevent
2830 some linkers from deleting these otherwise unused symbols.
2831
d8937120
MC
28322002-04-17 Michael Chastain <mec@shout.net>
2833From David S. Miller <davem@redhat.com>
2834
2835 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2836 handle 64-bit platforms correctly.
2837
ffd61a58
MS
28382002-04-12 Michael Snyder <msnyder@redhat.com>
2839From Jim Blandy <jimb@redhat.com>
2840 * gdb.base/foo.c (foox): Remove section attribute; the linker
2841 script can handle this instead.
2842 * gdb.base/bar.c (barx): Same.
2843 * gdb.base/baz.c (bazx): Same.
2844 * gdb.base/grbx.c (grbxx): Same.
2845
2846 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2847 manager doesn't automatically unmap overlays unnecessarily.
2848
6b8426a6
MH
28492002-04-10 Martin M. Hunt <hunt@redhat.com>
2850
2851 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2852 stepping out of main.
2853
34af4875
MC
28542002-04-09 Michael Chastain <mec@shout.net>
2855
2856 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2857 scope so that the nested scope tests will make sense.
2858 * gdb.c++/local.exp: Write patterns that actually work with gcc
2859 (the HP patterns "were never known to work with gcc").
2860 Keep the old aCC patterns too.
2861
2d1676a0
DJ
28622002-04-09 Daniel Jacobowitz <drow@mvista.com>
2863
2864 * gdb.base/attach.exp: Correct target board test.
2865
3a63e3f9
MC
28662002-04-08 Michael Chastain <mec@shout.net>
2867
2868 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2869 in a const method. Add some xfail and fail cases for configurations
2870 that do not emit the "const ...".
2871
f18dabd2
MC
28722002-04-07 Michael Chastain <mec@shout.net>
2873
2874 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2875 Accept "A * const" and "const A * const" as type of "this".
2876 Fix spelling of getFunky throughout. Make messages uniform.
2877
0fcddd82
EZ
28782002-04-07 Elena Zannoni <ezannoni@redhat.com>
2879
2880 Work around for PR gdb/285:
2881 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2882
16a8534a
EZ
28832002-04-07 Elena Zannoni <ezannoni@redhat.com>
2884
2885 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2886 instructions file at run time instead of configure time.
2887 Sometimes we run the test in a directory that is not the one we
2888 configured in.
2889 * gdb.asm/configure.in: Delete creation of symlink.
2890 * gdb.asm/configure: Regenerate.
2891
24181d81
JB
28922002-04-05 J. Brobecker <brobecker@gnat.com>
2893
2894 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2895 xfullpath () function.
2896
7cdb7107
DJ
28972002-04-04 Daniel Jacobowitz <drow@mvista.com>
2898
2899 * gdb.asm/Makefile.in: Correct dependencies.
2900
2901 * gdb.asm/powerpc.inc: New file.
2902 * gdb.asm/asm-source.exp: Add PowerPC.
2903 * gdb.asm/configure.in: Likewise.
2904 * gdb.asm/configure: Regenerated.
2905
a7d17088
DJ
29062002-04-04 Daniel Jacobowitz <drow@mvista.com>
2907
2908 * gdb.base/relocate.exp: New file.
2909 * gdb.base/relocate.c: New file.
2910
cd721503
FF
29112002-04-04 Fred Fish <fnf@redhat.com>
2912
2913 * gdb.base/step-test.exp: Update comment regarding stopping in
2914 memcpy/bcopy calls inserted as part of the compiler runtime.
2915
b22ad7a7
MS
29162002-04-04 Michael Snyder <msnyder@redhat.com>
2917
2918 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2919
5f279fa6
DJ
29202002-04-03 Daniel Jacobowitz <drow@mvista.com>
2921
2922 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2923 (gdb_expect): Remove $notransfer hack.
2924
dd0fd3ce
DJ
29252002-04-02 Daniel Jacobowitz <drow@mvista.com>
2926
2927 * gdb.c++/classes.exp ("calling method for small class"): Match
2928 updated register output.
2929
1e50cda1
DJ
29302002-03-30 Daniel Jacobowitz <drow@mvista.com>
2931
2932 Fix PR gdb/452
2933 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2934 when finished. Make gdb_file_cmd send "exec-file" when
2935 appropriate.
2936
24015922
DJ
29372002-03-30 Daniel Jacobowitz <drow@mvista.com>
2938
2939 * gdb.base/attach.exp: Remove extra setup_xfail.
2940
dd7dfd64
MS
29412002-03-26 Michael Snyder <msnyder@redhat.com>
2942
2943 * gdb.base/default.exp: Add tests for dump, append, and restore.
2944 * gdb.base/help.exp: Add tests for dump, append, and restore.
2945 * gdb.base/dump.exp: New file, test dump, append and restore.
2946 * gdb.base/dump.c: New file.
2947
48b2f8d7
MS
29482002-03-27 Michael Snyder <msnyder@redhat.com>
2949
2950 * gdb.base/help.exp: Modify expect strings to reflect
2951 clean-ups in help messages.
2952
05b4d525
FF
29532002-03-26 Fred Fish <fnf@redhat.com>
2954
2955 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2956 have debugging info for those functions and the compiler uses them
2957 internally to copy structs around.
2958
d7679631
FF
29592002-03-26 Fred Fish <fnf@redhat.com>
2960
2961 * gdb.base/list.exp: Revert the change made yesterday and add note
2962 about why we don't list the default lines for remote targets.
2963
523ac3f9
MS
29642002-03-25 Michael Snyder <msnyder@redhat.com>
2965
2966 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2967
754b2b8d
FF
29682002-03-25 Fred Fish <fnf@redhat.com>
2969
2970 * gdb.base/list.exp: This test works on remote targets so remove
2971 the short circuit for remote targets. Update copyright.
2972
33c3e192
FF
29732002-03-25 Fred Fish <fnf@redhat.com>
2974
2975 * gdb.base/attach.exp: Fix logic error that was suppressing this
2976 test for all non hppa*-*-hpux* targets, instead of the hp target.
2977 Move comments closer to the suppression point. Also now need to
2978 check that we are running natively.
2979
d43e73ee
MS
29802002-03-22 Michael Snyder <msnyder@redhat.com>
2981
882c8f02
MS
2982 * gdb.base/default.exp: Add test for gcore. Update copyright.
2983 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2984
04c12f60
FF
29852002-03-06 Fred Fish <fnf@redhat.com>
2986
2987 * gdb.base/funcargs.c: Remove extraneous ';' character.
2988 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2989
b43df995
MC
29902002-03-04 Michael Chastain <mec@shout.net>
2991
2992 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2993 accommodate gcc v3 function signature.
2994 * gdb.mi/mi0-var-cmd-exp: Ditto.
2995
92362027
AC
29962002-02-24 Andrew Cagney <ac131313@redhat.com>
2997
2998 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2999 ``GNU/Linux'' or ``Linux kernel''
3000 * testsuite/gdb.threads/pthreads.c: Ditto.
3001
258ad32d
MC
30022002-02-24 Michael Chastain <mec@shout.net>
3003
3004 * gdb.threads/pthreads.c (thread1): Add a return statement.
3005 (thread2): Likewise.
3006 (foo): Likewise.
3007
04c3b3d4
MC
30082002-02-23 Michael Chastain <mec@shout.net>
3009
3010 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3011 to placate gcc.
3012
5a2a0a20
MC
30132002-02-23 Michael Chastain <mec@shout.net>
3014
3015 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3016 test "ptype bint". The test passes on all my stabs configurations.
3017
a640f7fc
JB
30182002-02-21 Jim Blandy <jimb@redhat.com>
3019
27924826
JB
3020 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3021 filename at a time, and watch for the ones we want to see.
3022
a640f7fc
JB
3023 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3024 types of pointers to prototyped functions.
3025
edcc8c75
AC
30262002-02-20 Andrew Cagney <ac131313@redhat.com>
3027
3028 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3029 signed, unsigned and straight char.
3030 (padding_char, padding_short, padding_int, padding_long,
3031 padding_long_long, padding_float, padding_double,
3032 padding_long_double): New global variables.
3033 (fill, fill_structs): New functions.
3034
3035 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3036 for correctly sized writes. Update copyright.
3037 (get_valueof): New procedure.
3038 (get_sizeof): Call get_valueof.
3039 (check_valueof): New procedure.
3040 (check_padding): New procedure.
3041
ac57ea44
MC
30422002-02-20 Michael Chastain <mec@shout.net>
3043
3044 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3045 to setup_xfail. Document some of the remaining calls.
3046
7a10c941
MC
30472002-02-18 Michael Chastain <mec@shout.net>
3048
3049 * gdb.c++/userdef.exp: Update copyright year.
3050
fb8acdcc
DJ
30512002-02-18 Daniel Jacobowitz <drow@mvista.com>
3052
3053 * gdb.c++/userdef.exp: Test overloaded operators properly.
3054 Remove xfails.
3055
fda6ae12
MS
30562002-02-14 Michael Snyder <msnyder@redhat.com>
3057
3058 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3059
676a0442
DJ
30602002-02-14 Daniel Jacobowitz <drow@mvista.com>
3061
3062 * gdb.base/a2-run.exp: Check for a remote target properly.
3063 * gdb.base/annota1.exp: Likewise.
3064 * gdb.base/list.exp: Likewise.
3065 * gdb.base/reread.exp: Likewise.
3066 * gdb.base/scope.exp: Likewise.
3067 * gdb.base/shlib-call.exp: Likewise.
3068 * gdb.base/term.exp: Likewise.
3069 * gdb.c++/annota2.exp: Likewise.
3070
78b4f468
RE
30712002-02-13 Richard Earnshaw <rearnsha@arm.com>
3072
3073 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3074
9a81ba51
MC
30752002-02-10 Michael Chastain <mec@shout.net>
3076
3077 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3078 (call_after_alloca): Ditto.
3079
004af6c7
DJ
30802002-02-10 Daniel Jacobowitz <drow@mvista.com>
3081
3082 * gdb.base/ending-run.exp: Guard "cont" test with
3083 gdb_skip_stdio_test.
3084
37225f62
JB
30852002-02-06 Jim Blandy <jimb@redhat.com>
3086
3087 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3088 from here...
3089 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3090 To here. Disable this test on non-HP platforms. Add big comment.
3091
fe6fdd96
MS
30922002-02-04 Michael Snyder <msnyder@redhat.com>
3093
3094 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3095 other than d10v and m32r.
3096
036fad3f
RE
30972002-02-02 Richard Earnshaw <rearnsha@arm.com>
3098
3099 * gdb.base/default.exp: Rewrite test patterns to reduce time
3100 taken to match them.
3101
7148ab62
DJ
31022002-01-30 Daniel Jacobowitz <drow@mvista.com>
3103
3104 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3105 Allow a start function above main.
3106 * gdb.threads/linux-dp.exp: Fix copyright date.
3107
396cc255
DJ
31082002-01-30 Daniel Jacobowitz <drow@mvista.com>
3109
3110 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3111 (check_philosopher_stack): Check for manager thread before checking
3112 for a just-starting thread.
3113
f038d31b
DJ
31142002-01-30 Daniel Jacobowitz <drow@mvista.com>
3115
3116 From Neil Booth <neil@daikokuya.demon.co.uk>:
3117 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3118 warnings.
3119
b3ff9d9a
FF
31202002-01-21 Fred Fish <fnf@redhat.com>
3121
3122 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3123 not caller.
3124
39ad761d
JB
31252002-01-21 Jim Blandy <jimb@redhat.com>
3126
3127 * gdb.base/reread.exp: Check that GDB properly re-reads the
3128 executable file when it changes while no inferior is running.
3129
aaf320fa
FF
31302002-01-21 Fred Fish <fnf@redhat.com>
3131
3132 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3133 optionally accept the "shlib events" variation.
3134
808a31f5
JB
31352002-01-21 Jim Blandy <jimb@redhat.com>
3136
3137 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3138 call `fflush' after every `printf', so that the output is produced
3139 at predictable points, regardless of whatever buffering does (or
3140 doesn't) take place.
3141 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3142 at different points.
3143
4420d5e2
DJ
31442002-01-20 Daniel Jacobowitz <drow@mvista.com>
3145
3146 * gdb.c++/inherit.exp: Update copyright years.
3147 * gdb.c++/method.exp: Likewise.
3148
3e36a0f4
DJ
31492002-01-20 Daniel Jacobowitz <drow@mvista.com>
3150
3151 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3152 artificial methods/arguments.
3153 * gdb.c++/derivation.exp: Likewise.
3154 * gdb.c++/inherit.exp: Likewise.
3155 * gdb.c++/method.exp: Likewise.
3156 * gdb.c++/virtfunc.exp: Likewise.
3157
b4ceaee6
AC
31582002-01-18 Andrew Cagney <ac131313@redhat.com>
3159
3160 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3161 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3162 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3163 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3164 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3165 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3166
ecace851
JB
31672002-01-17 Jim Blandy <jimb@redhat.com>
3168
3169 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3170 anchoring the pattern matching the entry point symbol's name.
3171
375fc983
AC
31722002-01-17 Andrew Cagney <ac131313@redhat.com>
3173
3174 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3175 continue/quit query. Update copyright.
3176
fe6fdd96
MS
31772002-01-14 Michael Snyder <msnyder@redhat.com>
3178
3179 * gdb.base/gcore.exp: Remove extra debugging output.
3180
e017c81f
DJ
31812002-01-13 Daniel Jacobowitz <drow@mvista.com>
3182
3183 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3184 for slightly dubious v2 mangled string.
3185
37ab3bf8
DJ
31862002-01-13 Daniel Jacobowitz <drow@mvista.com>
3187
3188 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3189
1bc05c3a 31902002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 3191
1bc05c3a 3192 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 3193
1bc05c3a
JM
3194 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3195 constructors.
3196 * gdb.c++/derivation.exp: Likewise.
3197 * gdb.c++/templates.exp: Likewise.
3198 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 3199
1bc05c3a
JM
32002002-01-10 Michael Snyder <msnyder@redhat.com>
3201
3202 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 3203
a911c360
MS
32042002-01-08 Michael Snyder <msnyder@redhat.com>
3205
3206 * gdb.base/gcore.exp: New test for generate-core-file command.
3207 * gdb.base/gcore.c: Testcase for above.
3208 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3209
ea2119ec
JM
32102002-01-08 Jason Merrill <jason@redhat.com>
3211
3212 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3213
68203136
FF
32142002-01-07 Fred Fish <fnf@redhat.com>
3215
3216 * gdb.c++/overload.exp: Remove unconditional xfails for:
3217 print foo_instance1.overloadargs(1)
3218 print foo_instance1.overloadargs(1, 2)
3219 print foo_instance1.overloadargs(1, 2, 3)
3220 print foo_instance1.overloadargs(1, 2, 3, 4)
3221 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3222 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3223 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3224 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3225 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3226 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3227 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3228 print foo_instance1.overload1arg()
3229 print foo_instance1.overload1arg((char)arg2)
3230 print foo_instance1.overload1arg((signed char)arg3)
3231 print foo_instance1.overload1arg((unsigned char)arg4)
3232 print foo_instance1.overload1arg((int)arg7)
3233 print foo_instance1.overload1arg((unsigned int)arg8)
3234 print foo_instance1.overload1arg((float)arg11)
3235 print foo_instance1.overload1arg((double)arg12)
3236
21b9b5b1
MS
32372002-01-07 Michael Snyder <msnyder@redhat.com>
3238
3239 * gdb.base/huge.exp: New test. Print a very large target data object.
3240 (skip_huge_test): New test variable. Define if you want to skip this
3241 test. The test reads an 8 megabyte data object from the target, so it
3242 might be very time consuming on remote targets with a slow connection.
3243 * gdb.base/huge.c: New file. Test case for above.
3244
725f922e
FF
32452002-01-07 Fred Fish <fnf@redhat.com>
3246
3247 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3248 g_instance.bfoo, and g_instance.cfoo.
3249
634d57ec
JL
3250Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3251
f286b2c3
JL
3252 * gdb.base/break.c (multi_line_if_conditional): New function.
3253 (multi_ilne_while_conditional): Likewise.
3254 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3255 IF or WHILE condition puts the breakpoint at the start of
3256 the condition.
3257
634d57ec
JL
3258 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3259 hppa*-*-hpux* expected failure.
3260 * gdb.base/structs.exp (do_function_calls): Similarly.
3261
3262 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3263 watchpoints.
3264
9fbfe2dc
AC
32652002-01-06 Andrew Cagney <ac131313@redhat.com>
3266
3267 Fix PR gdb/66.
3268 * gdb.base/structs.exp: Replace skip for a29k with skip for
3269 gdb,cannot_call_functions.
3270 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3271 * gdb.base/callfuncs.exp: Ditto.
3272 * gdb.base/call-rt-st.exp: Ditto.
3273 * gdb.base/call-strs.exp: Ditto.
3274 * gdb.base/callfwmall.exp: Ditto.
3275 * gdb.base/scope.exp: Obsolete xfail a29k.
3276 * gdb.c++/misc.exp: Ditto.
3277 * gdb.c++/cplusfuncs.exp: Ditto.
3278 * gdb.base/ptype.exp: Ditto.
3279 * gdb.base/printcmds.exp: Ditto.
3280 * gdb.base/opaque.exp: Ditto.
3281 * gdb.base/list.exp: Ditto.
3282 * gdb.base/funcargs.exp: Ditto.
3283 * gdb.base/default.exp: Ditto.
3284
8ddad156
MS
32852002-01-04 Michael Snyder <msnyder@redhat.com>
3286
ca4976a6 3287 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3288 * gdb.base/maint.exp: Add tests for maint info sections options.
3289
1b074332
JL
3290Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3291
3292 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3293
7d159115
CV
32942001-12-20 Corinna Vinschen <vinschen@redhat.com>
3295
3296 * gdb.asm/arm.inc: New file.
3297 * gdb.asm/asm-source.exp: Add arm targets.
3298 * gdb.asm/configure.in: Ditto.
3299 * gdb.asm/configure: Recreated from configure.in.
3300
8fb87725
JL
3301Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3302
afabe08c
JL
3303 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3304 with HP's compiler.
3305 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3306 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3307 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3308 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3309
3310 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3311 either HP's compilers or GCC.
3312
db521deb
JL
3313 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3314 a SIGBUS or SIGSEGV.
3315
3316 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3317
3318 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3319 can be compiled with either HP's compiler or GCC.
3320
cfa88ab7
JL
3321 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3322 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3323 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3324
ca344dff
JL
3325 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3326 to match current gdb output. Update due to using auto-solib-limit
3327 for limiting instead of overloading auto-solib-add.
3328 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3329 test program.
3330
3f3c6e55 3331 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3332 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3333 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3334 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3335 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3336 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3337 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3338 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3339 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3340 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3341 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3342 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3343 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3344
8fb87725
JL
3345 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3346 a SIGTRAP to the inferior.
3347
cf599fa7
CV
33482001-12-19 Corinna Vinschen <vinschen@redhat.com>
3349
3350 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3351 Substitute call to target_link by call to gdb_compile.
3352
2cd045cd
JL
3353Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3354
3355 * gdb.base/break.exp: Fix HP specific search string when testing
3356 backtracing in a called function.
3357
3358 * gdb.base/constvars.exp: Only set lang to C++ if we're
3359 compiling the test with HP's compilers.
3360 * gdb.base/volatile.exp: Similarly.
3361
99ebe9ac
JB
33622001-12-19 Jim Blandy <jimb@redhat.com>
3363
3364 * gdb.base/printcmds.exp: Expect the null character to be printed
3365 as '\0', and the '\013' to be printed as '\v'.
3366 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3367 * gdb.base/setvar.exp: Same.
3368
b9891b29
JB
33692001-12-17 Jim Blandy <jimb@redhat.com>
3370
0eba65ab
JB
3371 * gdb.base/completion.exp: Rather than completing very long
3372 filenames, which can make the readline library produce output we
3373 don't recognize, cd to the directory first, and then complete
3374 using nice, short relative paths.
3375
6970b5b1
JB
3376 * gdb.base/completion.exp: On some systems, there is, in fact, a
3377 variable named `b' in scope, since GDB treats all static
3378 variables as being in scope. So use `no_var_named_this'
3379 instead of `b'.
3380
b9891b29
JB
3381 * gdb.base/corefile.exp: Recognize the message saying that GDB
3382 can't find the core file's registers as a failure.
3383
e6ccd35f
JSC
33842001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3385
3386 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3387 test expect string more specific.
3388
105ba819
CV
33892001-12-13 Corinna Vinschen <vinschen@redhat.com>
3390
3391 * gdb.asm/asm-source.exp: Add support for xstormy16.
3392 * gdb.asm/configure.in: Ditto.
3393 * gdb.asm/configure: Rebuild.
3394 * gdb.asm/xstormy16.inc: New file.
3395
e9e79dd9
FF
33962001-12-10 Fred Fish <fnf@redhat.com>
3397
3398 * gdb.base/maint.exp: Update to match changes in type dumping code.
3399
347dc97d
JB
34002001-12-10 Jim Blandy <jimb@redhat.com>
3401
3402 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3403 matching the entry point symbol's name at the beginning of the
3404 line.
3405
5178b9d6
DJ
34062001-12-07 Daniel Jacobowitz <drow@mvista.com>
3407
3408 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3409 gdb.c++/inherit.exp, gdb.c++/method.exp,
3410 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3411 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3412 and class layout support.
3413
af890c52
DJ
34142001-12-07 Daniel Jacobowitz <drow@mvista.com>
3415
3416 * gdb.c++/classes.exp: Add test for static member function.
3417 * gdb.c++/misc.cc: Add class with static member function.
3418
7a345fb3
JB
34192001-12-07 Jim Blandy <jimb@redhat.com>
3420
f2e54a80 3421 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3422 those tests as `unsupported'.
3423 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3424 Rewrite subsequent tests to use it.
3425
3426 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3427 those tests as `unsupported'.
3428 * gdb.base/structs.exp (call_struct_func): New function.
3429 (do_function_calls): Use call_struct_func to call the functions
3430 returning structs.
3431
0bc69509
JB
3432 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3433 whether functions are prototyped or not, so we can't possibly pass
3434 arguments to t_float_values2 properly.
3435
7a345fb3
JB
3436 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3437 value of `timeout' for targets other than the mips*tx39-*.
3438
edb6ede1
MS
34392001-12-06 Michael Snyder <msnyder@redhat.com>
3440
3441 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3442 and detect whether the start symbol has a leading underscore.
3443
2d842f13
JB
34442001-12-04 Jim Blandy <jimb@redhat.com>
3445
3446 * gdb.base/completion.exp: Clarify indentation.
3447
68550daf
JB
34482001-12-03 Jim Blandy <jimb@redhat.com>
3449
3450 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3451 variables on the S/390, not `.word'.
3452
cd5195a8
JB
34532001-11-30 Jim Blandy <jimb@redhat.com>
3454
3455 Add assembly-source tests for s390-ibm-linux.
3456 * gdb.asm/s390.inc: New file.
3457 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3458 the S/390 architecture.
3459 * gdb.asm/configure: Regenerated.
3460
ca9efc90
MS
34612001-11-30 Michael Snyder <msnyder@redhat.com>
3462
3463 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3464 next, info source, info sources, info line, global and static
3465 variables, and static functions.
3466 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3467 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3468 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3469 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3470 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3471 (gdbasm_leave): Restore frame pointer.
3472 (gdbasm_startup): Copy stack set-up from crt0.S.
3473
d0e66976
FN
34742001-11-26 Fernando Nasser <fnasser@redhat.com>
3475
3476 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3477 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3478 to a local (non-static) variable. Copy tstruct.a to a static buffer
3479 and return a pointer to that buffer.
3480 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3481
e2334072
MK
34822001-11-24 Mark Kettenis <kettenis@gnu.org>
3483
3484 * gdb.asm/configure.in: Fix recognition of ix86 target.
3485 * gdb.asm/configure: Regenerate.
3486
756caa3d
MS
34872001-11-21 Michael Snyder <msnyder@redhat.com>
3488
3489 * gdb.asm/sparc.inc: New file.
3490 * gdb.asm/asm-source.exp: Recognize sparc target.
3491 * gdb.asm/configure.in: Recognize sparc target.
3492 * gdb.asm/configure: Regenerate.
3493
9a4d72d5
MS
34942001-11-21 Michael Snyder <msnyder@redhat.com>
3495
3496 * gdb.asm/m32r.inc: New file.
3497 * gdb.asm/asm-source.exp: Recognize m32r target.
3498 * gdb.asm/configure.in: Recognize m32r target.
3499 * gdb.asm/configure: Regenerate.
3500
a773d1cd
MS
35012001-11-20 Michael Snyder <msnyder@redhat.com>
3502
017ac23d
MS
3503 * gdb.asm/i386.inc: New file.
3504 * gdb.asm/asm-source.exp: Recognize ix86 target.
3505 * gdb.asm/configure.in: Recognize ix86 target.
3506 * gdb.asm/configure: Regenerate.
3507
a773d1cd
MS
3508 * gdb.c++/namespace.exp: Fix quotes in output messages.
3509
bb632afb
MS
35102001-11-14 Michael Snyder <msnyder@redhat.com>
3511
25d559ca 3512 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3513 qualifier in a type cast expression, to designate an address
3514 in the instruction space (Harvard architecture).
3515
4749e309
MS
35162001-11-13 Michael Snyder <msnyder@redhat.com>
3517
3518 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3519 Tests for expressions using 'const' and 'volatile'.
3520
25050984
CV
35212001-11-13 Corinna Vinschen <vinschen@redhat.com>
3522
3523 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3524
1902c51f
DJ
35252001-11-12 Daniel Jacobowitz <drow@mvista.com>
3526
3527 * lib/mi-support.exp (mi_run_to_helper): Move comments
3528 outside of gdb_expect.
3529
dcf95b47
DJ
35302001-11-11 Daniel Jacobowitz <drow@mvista.com>
3531
3532 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3533 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3534 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3535 mi0_run_to): New functions.
3536 * gdb.mi/mi-simplerun.exp: Use them.
3537 * gdb.mi/mi0-simplerun.exp: Likewise.
3538 * gdb.mi/mi-var-cmd.exp: Likewise.
3539 * gdb.mi/mi0-var-cmd.exp: Likewise.
3540
45b074e1
AC
35412001-11-10 Andrew Cagney <ac131313@redhat.com>
3542
3543 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3544 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3545
bf50d346
AC
35462001-11-09 Andrew Cagney <ac131313@redhat.com>
3547
3548 * gdb.base/restore.exp: Include $expected value in restored test
3549 message.
3550
9383332c
AC
35512001-11-09 Andrew Cagney <ac131313@redhat.com>
3552
3553 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3554 implemented.
3555
db62520a
MS
35562001-11-08 Michael Snyder <msnyder@redhat.com>
3557
3558 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3559 Add pass/fail message for stop at breakpoint in call dummy function.
3560
b5703437
MS
35612001-11-07 Michael Snyder <msnyder@redhat.com>
3562
760f6330
MS
3563 * gdb.c++/templates.exp (test_template_breakpoints):
3564 If we get an overload menu, but it does not match what
3565 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3566 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3567 making the whitespace optional. Argument for "new" may be
3568 "unsigned" as well as "unsigned int/long".
eef747c0
MS
3569 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3570 making the whitespace optional. Also replace "(void) with
3571 "((void|)), making the keyword "void" optional.
63f50499
MS
3572 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3573 making the whitespace optional. Also replace "(void) with
3574 "((void|)), making the keyword "void" optional.
3bf40917
MS
3575 * gdb.base/callfuncs.c (t_float_values): This function must
3576 _not_ be prototyped, and the following function (t_float_values2)
3577 must be prototyped (if the compiler supports it), so that GDB
3578 can be tested against both cases. Usually one case involves
3579 promotion of float to double, while the other does not.
3580 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3581 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3582 includes a stack frame for "start".
3583
c8ab4e6d
JB
35842001-11-05 Jim Blandy <jimb@redhat.com>
3585
3586 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3587 pointers are 32 bits long, and that offsets of relocs are always
3588 stored in the data (REL-style), and not in the reloc entry itself
3589 (RELA-style).
3590 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3591 stabs.
3592
3f08ced9
MS
35932001-11-01 Michael Snyder <msnyder@redhat.com>
3594
3595 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3596 and regular expression operators by using quoting.
3597
cbfa24cd
MS
35982001-10-31 Michael Snyder <msnyder@redhat.com>
3599
3600 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3601 depending on what the symbol table contains.
3602 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3603 the output of the ptype command. Similarly, accept both "const &"
3604 and "const&".
3605
aaa68313
CV
36062001-10-31 Corinna Vinschen <vinschen@redhat.com>
3607
3608 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3609 symbol `STORAGE' to allow to choose the storage class of
3610 the local datastructures.
3611 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3612 compiler directive.
3613
91740388
MS
36142001-10-30 Michael Snyder <msnyder@redhat.com>
3615
3616 * gdb.base/jump.exp: Allow it to run for all targets.
3617
1b7c05e7
CV
36182001-10-29 Corinna Vinschen <vinschen@redhat.com>
3619
3620 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3621 with new double_array size.
3622 (main): Change storage class of all local variables to static.
3623 Reduce size of double_array to 9.
3624 * gdb.base/call-ar-st.exp: Increase timeout value.
3625 Change expected output for double array to match new size in
3626 call-ar-st.c.
3627
36a22261
CV
36282001-10-29 Corinna Vinschen <vinschen@redhat.com>
3629
3630 * gdb.base/ending-run.exp: Create identical output when passing
3631 `step to end of run' case. Add regular expression branch satisfying
3632 Stormy16 target.
3633
92b8ae91
MK
36342001-10-28 Mark Kettenis <kettenis@gnu.org>
3635
3636 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3637 that we catch the expected failure under Linux/x86.
3638
cb135b83
OF
36392001-10-29 Orjan Friberg <orjanf@axis.com>
3640
3641 * gdb.base/setvar.exp: Escape curly braces.
3642 * gdb.stabs/weird.exp: Ditto.
3643
6884aa54
DJ
36442001-10-27 Daniel Jacobowitz <drow@mvista.com>
3645
3646 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3647 * gdm.mi/mi0-hack-cli.exp: Likewise.
3648
0398c9aa
AC
36492001-10-25 Andrew Cagney <ac131313@redhat.com>
3650
3651 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3652 messages.
3653
d20bf2e8
AC
36542001-10-21 Andrew Cagney <ac131313@redhat.com>
3655
3656 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3657 checking MI enabled.
3658
03dd63aa
CV
36592001-10-09 Corinna Vinschen <vinschen@redhat.com>
3660
3661 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3662
1d9d99f3
FCE
36632001-10-04 Frank Ch. Eigler <fche@redhat.com>
3664
3665 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3666 if gdb child process crashes, just signal an error.
3667
838ae6c4
JB
36682001-10-02 Jim Blandy <jimb@redhat.com>
3669
3670 * lib/gdb.exp (test_xfail_format): Simplify.
3671
3672 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3673 front of the variable name `format'. Simplify `if'.
3674
8f0cbc1c
DJ
36752001-10-01 Daniel Jacobowitz <drow@mvista.com>
3676
3677 * gdb.threads/pthreads.exp: Wait for output and delay
3678 before sending ^C.
3679
1f08dafd
DJ
36802001-10-01 Daniel Jacobowitz <drow@mvista.com>
3681
3682 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3683 some incorrect output instead of timing out.
3684 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3685
674f90ff
CV
36862001-09-28 Corinna Vinschen <vinschen@redhat.com>
3687
3688 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3689 check to allow additional `int'.
3690
9b284272
DJ
36912001-09-27 Daniel Jacobowitz <drow@mvista.com>
3692
3693 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3694 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3695
b55a4771
MS
36962001-09-27 Michael Snyder <msnyder@redhat.com>
3697
3698 * lib/gdb.exp (test_debug_format): New proc.
3699 (setup_xfail_format): Use new proc test_debug_format.
3700 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3701 proc; use new service proc test_debug_format.
3702 Replace all other "gcc_compiled" tests with this test.
3703 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3704 proc; use new service proc test_debug_format.
3705 Replace all other "gcc_compiled" tests with this test.
3706
37072001-09-27 Michael Snyder <msnyder@redhat.com>
3708
3709 * gdb.base/cvexpr.exp: New file.
3710 * gdb.base/cvexpr.c: New file
3711 Test for expressions using const and volatile keywords.
3712
4e6667ac
CV
37132001-09-26 Corinna Vinschen <vinschen@redhat.com>
3714
3715 * gdb.base/constvars.exp: Check for different orders of keywords
3716 and additional "int" strings in output.
3717
4f337972
AC
37182001-09-22 Andrew Cagney <ac131313@redhat.com>
3719
3720 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3721 responses from "help maint".
3722
2015650d
FCE
37232001-09-19 Frank Ch. Eigler <fche@redhat.com>
3724
3725 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3726 to localhost:NNN instead of :NNN, in case Xvfb is listening
3727 only on TCP.
3728
f3bcedc1
CV
37292001-09-19 Corinna Vinschen <vinschen@redhat.com>
3730
3731 * gdb.base/recurse.exp: When checking leaving the watchpoint
3732 scope, recognize when gdb is in function's epilogue and pass.
3733
6b819c92
KS
37342001-09-18 Keith Seitz <keiths@redhat.com>
3735
3736 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3737 support for running tests against sid targets.
3738 (gdbtk_done): Ditto.
3739
a10c9419
CV
37402001-09-18 Corinna Vinschen <vinschen@redhat.com>
3741
3742 * gdb.base/ending-run.c (main): Set stdout buffersize
3743 to the same reasonable value for any target.
3744 * gdb.base/ending-run.exp: Add a regular expression
3745 to make testsuite happy on Sanyo Stormy16 target.
3746
739d0d99
CV
37472001-09-17 Corinna Vinschen <vinschen@redhat.com>
3748
3749 * gdb.base/display.c (do_loops): Add float variable `f'.
3750 Increment f in loop.
3751 * gdb.base/display.exp: Increment timeout by 60 seconds.
3752 Change float display test to use variable `f'.
3753
1b8947f0
JB
37542001-09-17 Jim Blandy <jimb@redhat.com>
3755
3756 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3757 overflowing the limited breakpoint tables on some ROM monitors
3758 (like the ROM68K).
3759
9890ac81
FCE
37602001-09-15 Frank Ch. Eigler <fche@redhat.com>
3761
3762 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3763 the "-ac" (disable access control) flag.
3764
6db765ea
JH
37652001-08-30 Jeff Holcomb <jeffh@redhat.com>
3766
3767 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3768 ints.
3769
4c32cc04
KS
37702001-08-30 Keith Seitz <keiths@redhat.com>
3771
3772 * lib/gdb.exp: Move all insight-related functionality into
3773 separate file.
3774 * lib/insight-support.exp: New file.
3775
8d6e6f81
FCE
37762001-08-29 Frank Ch. Eigler <fche@redhat.com>
3777
3778 * config/sid.exp (sid_start): Never set sid verbosity; disable
3779 expect_background {} that consumed its stdout; tolerate </dev/null.
3780 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3781
6a90e1d0
AC
37822001-08-18 Andrew Cagney <ac131313@redhat.com>
3783
3784 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3785 CLI jump command to start it.
3786 (mi_run_to_main): Fail immediatly when unexpected output.
3787
1759b3c3
AC
37882001-08-18 Andrew Cagney <ac131313@redhat.com>
3789
3790 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3791 beginning of function. Fix PR gdb/191.
3792
61d11d80
FCE
37932001-08-16 Frank Ch. Eigler <fche@redhat.com>
3794
3795 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3796 what to force sid endianness to.
3797
942a4df2
KS
37982001-08-15 Keith Seitz <keiths@redhat.com>
3799
3800 * lib/gdb.exp (gdbtk_start): Don't set environment
3801 variables for TCL_LIBRARY and friends. Insight will
3802 now figure these out for itself.
3803
0521c418
MS
38042001-08-02 Michael Snyder <msnyder@redhat.com>
3805
3806 * gdb.base/completion.exp: Remove the symbol "a64l" from
3807 the expect string; this is target-specific, and not related
3808 to what is being tested.
3809
74a9a58a
DB
38102001-08-02 Dave Brolley <brolley@redhat.com>
3811
3812 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3813
c70819fa
MS
38142001-07-25 Michael Snyder <msnyder@redhat.com>
3815
c2b8fa57
MS
3816 * gdb.base/consecutive.exp: New file. Test stepping over
3817 breakpoints on consecutive instructions.
3818 * gdb.base/consecutive.c: New file.
3819
c70819fa
MS
3820 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3821 curly braces in regular expressions.
3822
2b1a1355
MS
38232001-07-25 Michael Snyder <msnyder@redhat.com>
3824
3825 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3826 legitimate output from stepping out of main.
3827
413eca6f
KS
38282001-07-22 Keith Seitz <keiths@redhat.com>
3829
3830 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3831 the empty string, do not run the tests.
3832
7e5a9322
SC
38332001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3834
3835 * gdb.base/long_long.exp: Detect size of pointer. Take into
3836 account 2-byte pointers when testing for p/a results.
3837
de58f10f
SC
38382001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3839
3840 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3841 and defined to 1K for m68hc11.
3842 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3843 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3844 (sizeof_random_data): New variable to tell the size of the data table;
3845 don't test past this size; always run to main.
3846
d6f5fea1
SC
38472001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3848
3849 * gdb.base/return2.exp: return of long long and double fails for
3850 68HC11; don't execute these tests on that platform.
3851 * gdb.base/return.exp: Return of a double fails for 68hc11.
3852
c477543d
SC
38532001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3854
3855 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3856 tests that print a float.
3857 * call-rt-st.exp: Likewise.
3858
63cf1c79
MK
38592001-07-12 Mark Kettenis <kettenis@gnu.org>
3860
3861 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3862 running this test on Linux.
3863
112f9ab5
MC
38642001-06-24 Michael Chastain <chastain@redhat.com>
3865
3866 * gdb.base/arithmet.exp: Remove some tests to make all test names
3867 unique.
3868
4970cb0f
MS
38692001-07-03 Michael Snyder <msnyder@redhat.com>
3870
3871 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3872 the output of the ptype command.
3873
d85da69f
MS
38742001-07-02 Michael Snyder <msnyder@redhat.com>
3875
4c8a82de
MS
3876 * gdb.base/completion.exp: Don't assume that break.c is the only
3877 source file that may contain functions named "marker".
d85da69f
MS
3878 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3879
8afc772b
AC
38802001-06-28 Andrew Cagney <ac131313@redhat.com>
3881
3882 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3883 of files to delete.
3884
3885 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3886 * gdb.disasm/h8300s.exp: New file.
3887 gdb.disasm/h8300s.s: Likewise.
3888
cff22675
AC
38892001-06-27 Andrew Cagney <ac131313@redhat.com>
3890
3891 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3892 empty breakpoint tables.
3893
68c81b54
AC
38942001-06-25 Andrew Cagney <ac131313@redhat.com>
3895
3896 * lib/mi-support.exp: Update args=... part of stop-reason
3897 patterns. Accept either a list or a tuple.
3898
2dd62704
AC
38992001-06-23 Andrew Cagney <ac131313@redhat.com>
3900
3901 * lib/mi-support.exp: Remove local emacs variable defining
3902 change-log-default-name.
3903
b4127474
MC
39042001-06-22 Michael Chastain <chastain@redhat.com>
3905
3906 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3907 This is operationally compatible with the previous version.
3908
8dbfb380
JB
39092001-06-13 Jim Blandy <jimb@redhat.com>
3910
3911 * lib/gdb.exp (gdb_test): Doc fix.
3912
f2d8c86d
MC
39132001-06-10 Michael Chastain <chastain@redhat.com>
3914
3915 * gdb.base/exprs.exp: Remove a duplicate test.
3916
81564d34
JB
39172001-06-06 Jim Blandy <jimb@redhat.com>
3918
3919 * gdb.base/return2.exp (main): Use values to test float and double
3920 returns that are not NaN's, to avoid being confused by IEEE
3921 comparison rules.
3922
da55addb
MS
39232001-06-04 Michael Snyder <msnyder@redhat.com>
3924
3925 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3926 non-zero if control_c fails. Terminate the test on failure,
3927 rather than wait for 12 more tests to time out.
3928
42c65987
JB
39292001-06-06 Jim Blandy <jimb@redhat.com>
3930
b18bced9
JB
3931 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3932 Don't forget to match the GDB prompt.
3933
42c65987
JB
3934 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3935
5b41e5f0
JB
39362001-06-04 Jim Blandy <jimb@redhat.com>
3937
3938 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3939 command.
3940
015e046f
KB
39412001-05-31 Kevin Buettner <kevinb@redhat.com>
3942
3943 * gdb.base/annota1.exp (info break): Match four or more spaces
3944 after "Address".
3945
fb1ffbbe
MC
39462001-05-31 Michael Chastain <chastain@redhat.com>
3947
3948 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3949 (dm_type_int_star): Likewise.
3950 (dm_type_long_star): Likewise.
3951 (dm_type_void_star): Likewise.
3952
5ea2a32c
KB
39532001-05-29 Kevin Buettner <kevinb@redhat.com>
3954
3955 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3956 to a known value in order to get consistent results regardless
3957 of the setting of INPUTRC or the presence or contents of .inputrc.
3958
ae23c492
MS
39592001-05-24 Michael Snyder <msnyder@redhat.com>
3960
ac55707e
MS
3961 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3962 Don't require that the main thread and the manager thread are the
3963 first in the list.
3964
ae23c492
MS
3965 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3966 debugging. If test fails, issue an "unsupported" not a "fail".
3967
400071f1
JB
39682001-05-24 Jim Blandy <jimb@redhat.com>
3969
3970 Don't assume that short is shorter than int.
3971 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3972 assume that shorts are smaller than ints. On a 16-bit machine,
3973 this isn't true.
3974 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3975 an int, is not equal to ~0 stored in an unsigned char. This tests
3976 the same thing that the previous test meant to, but works on
3977 16-bit machines, too.
3978 ("print unsigned char != (~0)"): Same test, complemented.
3979
0816a3e5
MS
39802001-05-24 Michael Snyder <msnyder@redhat.com>
3981
3982 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3983 test for (full_coverage == 0). This makes the test run faster,
3984 and prevents dejagnu getting out of step.
3985
f6dc23a9
KB
39862001-05-23 Kevin Buettner <kevinb@redhat.com>
3987
3988 * gdb.base/finish.exp (finish_void): Revise pattern for
3989 stopping on the call statement to not permit stopping at
3990 the start of the instructions comprising the call sequence.
3991
7dbd117d
MC
39922001-05-19 Michael Chastain <chastain@redhat.com>
3993
3994 * gdb.base/callfuncs.exp: Make all test names unique.
3995 * gdb.base/commands.exp: Make all test names unique.
3996 * gdb.base/condbreak.exp: Make all test names unique.
3997 * gdb.base/dbx.exp: Make all test names unique.
3998 * gdb.base/default.exp: Make all test names unique.
3999 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4000 and TIMEOUT messages to their corresponding PASS message.
4001 * gdb.base/ending-run.exp: Make all test names unique.
4002 * gdb.base/long_long.exp: Remove duplicate test.
4003
6b0b0a9e
KB
40042001-05-21 Kevin Buettner <kevinb@redhat.com>
4005
4006 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4007 stop on the call statement as well as the statement after the
4008 call.
4009
2caa35cb
MS
40102001-05-21 Michael Snyder <msnyder@redhat.com>
4011
4012 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4013
40713331
EZ
40142001-05-10 Elena Zannoni <ezannoni@redhat.com>
4015
4016 * gdb.base/completion.exp: Revamp test. Make it execute on all
4017 platforms.
4018
c2c1be8d
EZ
40192001-05-10 Elena Zannoni <ezannoni@redhat.com>
4020
2c9cd303
EZ
4021 * config/gdbserver.exp (gdb_load): Handle the case
4022 in which the arguments to gdbserver are given in the
4023 baseboard configuration file.
4024 Also handle the case in which the server needs to do a
4025 load.
4026
9671de48
KS
40272001-05-07 Keith Seitz <keiths@cygnus.com>
4028
4029 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4030 set up the display for testing.
4031 (gdbtk_start): Convert all paths to paths that tcl will like.
4032 Export target information to environment.
4033 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4034 necessary.
4035 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4036 (to_tcl_path): New proc to convert a given pathname into
4037 a path acceptible as an argument to a tcl command.
4038 (_gdbtk_export_target_info): New proc to export target info
4039 into the environment for gdbtk testing.
4040 (gdbtk_done): New proc to signal end-of-test.
4041
5a360f47
JB
40422001-05-06 Jim Blandy <jimb@redhat.com>
4043
4044 * restore.c: Make the code of caller0 correspond to its comment.
4045
66c756c6
MS
40462001-05-03 Michael Snyder <msnyder@redhat.com>
4047
4048 * config/sid.exp (gdb_target_sid): Check for error messages.
4049 On error or timeout, don't make expect exit (which will terminate
4050 all subsequent tests); instead just make gdb exit.
4051 (gdb_load): Check for error messages. On error or timeout,
4052 return a negative value.
4053
a966fde5
JB
40542001-04-24 Jim Blandy <jimb@redhat.com>
4055
851c18e0
JB
4056 * gdb.c++/templates.exp: If we see the prompt for the overload
4057 list, but we haven't recognized any of the longer patterns,
4058 arrange for this test to fail, not hang.
4059
a966fde5
JB
4060 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4061 variations.
4062
db144853
MC
40632001-04-22 Michael Chastain <chastain@redhat.com>
4064
4065 * gdb.c++/local.exp: Use the 'runto' library function.
4066 * gdb.c++/namespace.exp: Likewise.
4067 * gdb.c++/overload.exp: Likewise.
4068
3207ec21
KB
40692001-03-26 Kevin Buettner <kevinb@redhat.com>
4070
4071 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4072 * gdb.base/step-line.exp: New file. Test step/next in presence of
4073 #line directives.
4074 * gdb.base/step-line.c: New file. Test program for the above.
4075 * gdb.base/step-line.inp: New file. We pretend that this file has
4076 been transformed by some other tool into step-line.c.
4077
13b57657
JB
40782001-03-21 Jim Blandy <jimb@redhat.com>
4079
4080 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4081 unmangled operator names.
4082
754cbe1c
JB
40832001-03-20 Jim Blandy <jimb@redhat.com>
4084
4085 * gdb.threads/linux-dp.exp: Recognize an additional message
4086 generated by GDB when it doesn't understand how to debug threads
4087 on the target system.
4088
177495c9
AC
40892001-03-19 Andrew Cagney <ac131313@redhat.com>
4090
4091 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4092
f266096b
MC
40932001-03-12 Michael Chastain <chastain@redhat.com>
4094
4095 * gdb.c++/derivation.exp: Use the 'runto' library function.
4096
cac3c2ff
MC
40972001-03-12 Michael Chastain <chastain@redhat.com>
4098
4099 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4100
b6c11a24
MC
41012001-02-24 Michael Chastain <chastain@redhat.com>
4102
4103 * gdb.c++/ref-types.exp: Change handwritten code to library
4104 function 'runto'.
4105
6bae5bce
OF
41062001-03-16 Orjan Friberg <orjanf@axis.com>
4107
4108 * gdb.base/signals.exp: Set count to 0 explicitly.
4109
0015fd9a
MS
41102001-03-15 Mark Salter <msalter@redhat.com>
4111
4112 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4113 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
4114 (gdb_load): Add support for additional target_info: gdb_download_size
4115 and gdb_load_timeout.
0015fd9a 4116
fc33412a
DT
4117Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4118
4119 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4120 file -- to prevent failing when the compile fails but we have no
4121 intention of running the tests anyway.
4122
4123 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4124 tests if set.
4125
4126 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4127 integers.
4128
4129 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4130 * gdb.c++/namespace.exp: Ditto.
4131
115f06de
OF
41322001-03-07 Orjan Friberg <orjanf@axis.com>
4133
4134 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4135 * gdb.base/pointers.exp: Relax pattern match of decimals.
4136
b6ba6518
KB
41372001-03-06 Kevin Buettner <kevinb@redhat.com>
4138
4139 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4140 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4141 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4142 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4143 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4144 config/sh.exp, config/sid.exp, config/slite.exp,
4145 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4146 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4147 config/vxworks.exp, config/vxworks29k.exp,
4148 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4149 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4150 gdb.base/arithmet.exp, gdb.base/assign.exp,
4151 gdb.base/async.exp, gdb.base/attach.exp,
4152 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4153 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4154 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4155 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4156 gdb.base/commands.exp, gdb.base/completion.exp,
4157 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4158 gdb.base/constvars.exp, gdb.base/corefile.exp,
4159 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4160 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4161 gdb.base/ending-run.exp, gdb.base/environ.exp,
4162 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4163 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4164 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4165 gdb.base/funcargs.exp, gdb.base/help.exp,
4166 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4167 gdb.base/logical.exp, gdb.base/long_long.exp,
4168 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4169 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4170 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4171 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4172 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4173 gdb.base/regs.exp, gdb.base/relational.exp,
4174 gdb.base/remote.exp, gdb.base/reread.exp,
4175 gdb.base/restore.exp, gdb.base/return2.exp,
4176 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4177 gdb.base/selftest.exp, gdb.base/setshow.exp,
4178 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4179 gdb.base/sigall.exp, gdb.base/signals.exp,
4180 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4181 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4182 gdb.base/step-test.exp, gdb.base/structs.c,
4183 gdb.base/structs.exp, gdb.base/structs2.exp,
4184 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4185 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4186 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4187 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4188 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4189 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4190 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4191 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4192 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4193 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4194 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4195 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4196 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4197 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4198 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4199 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4200 gdb.trace/circ.exp, gdb.trace/collection.exp,
4201 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4202 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4203 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4204 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4205 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4206 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4207 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4208 notices.
4209
dc96c6c7 42102001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
4211
4212 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4213 first arg is int not float.
4214
dc96c6c7 42152001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
4216
4217 * gdb.base/reread.exp: Unsupported for non-native targets;
4218 doesn't work for remote debugging.
4219
9b0c4aeb
FN
42202001-02-19 Fernando Nasser <fnasser@redhat.com>
4221
4222 From Drew Moseley <dmoseley@redhat.com>
4223 * gdb.base/ending-run.exp: Properly handle the BSP state when
4224 stepping past the end of main.
4225
02aa71d5
MC
42262001-02-19 John Moore <jmoore@redhat.com>
4227
4228 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4229 Converted HPUX fix for non-expected items following multiple
4230 step commands into general solution for all platforms.
4231
1fa449a4
MC
42322001-02-18 Michael Chastain <chastain@redhat.com>
4233
4234 * gdb.c++/classes.exp (do_tests): Change runto statements
4235 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4236 statements demangler agnostic.
4237 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4238 (gdb_virtfunc_restart): Likewise.
4239
b2f9ec70
MC
42402001-02-14 Michael Chastain <chastain@redhat.com>
4241
4242 * gdb.c++/inherit.exp (do_tests): Change runto statements
4243 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4244 statements demangler agnostic.
4245
cf74b8ca
AC
4246Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4247
4248 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4249 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4250 before calling common_routine 15 times'' tests.
4251
99f78f56
MC
42522001-02-11 Michael Chastain <chastain@redhat.com>
4253
4254 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4255 Helps the test script figure out which demangler is in use.
4256 (dm_type_foo_ref): Ditto.
4257 (dm_type_int_star): Ditto.
4258 (dm_type_long_star): Ditto.
4259 (dm_type_unsigned_int): Ditto.
4260 (dm_type_void): Ditto.
4261 (dm_type_void_star): Ditto.
99707966 4262 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4263 Probe the gdb demangler and set variables to accommodate
4264 formatting differences.
4265 (info_func_regexp): New function. Same as info_func, but
4266 matches against a regexp.
4267 (info_func): Match against a literal string.
4268 (print_addr_2): New function. Match against a literal string,
4269 which can be different from the input to gdb.
4270 (print_addr): Simply call print_addr_2 with the same argument twice.
4271 (test_lookup_operator_functions): Use demangler formatting variables.
4272 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4273 the tests in the same order as the C++ class declaration.
4274 (test_paddr_operator_functions): Ditto.
4275 (test_paddr_overloaded_functions): Ditto.
4276 (test_paddr_hairy_functions): Use demangler formatting variables.
4277 Add reference to gdb/19 for related tests.
4278 (do_tests): Call probe_demangler.
4279
1de8f023
KB
42802001-01-30 Kevin Buettner <kevinb@redhat.com>
4281
4282 * gdb.c++/templates.cc (printf): Remove unused function definition.
4283
ca3f91ed
MS
42842001-01-26 Felix Lee <flee@redhat.com>
4285
4286 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4287
42882001-01-25 matthew green <mrg@redhat.com>
4289
4290 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4291 up sid.
4292 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4293
42942001-01-25 matthew green <mrg@redhat.com>
4295
4296 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4297 Deprecate $sid_spawn_id.
4298 (sid_exit): Remove code necessary only for `spawn.'
4299
43002001-01-25 matthew green <mrg@redhat.com>
4301
4302 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4303
fb18ec4a
MC
43042001-01-28 Michael Chastain <chastain@redhat.com>
4305
4306 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4307 to call when tests fail. It takes gdb out of the overloaded
4308 function choice menu back to the main prompt, so that the test
4309 program stays synchronized.
4310 (set_bp_overloaded): New proc to collect all the common
4311 code for setting a breakpoint on an overloaded name. Calls
4312 take_gdb_out_of_choice_menu when needed.
4313 (menu_overload1arg): New variable to collect the repeated
4314 instances of the expected menu for an overloaded name. Change
4315 the regular expression to handle changes in g++ type encoding:
4316 "void" can be either "void" or "", and "unsigned int" can be
4317 either "unsigned int" or "unsigned".
4318 (continue_to_bp_overloaded): Change regular expressions to handle
4319 changes in g++ type encoding.
4320 (no proc): Call take_gdb_out_of_choice_menu when needed.
4321 Remove redundant calls to "info break". Accept either "canceled"
4322 or "cancelled". Change regular expressions in "info break"
4323 calls to handle changes in g++ type encoding. Give all tests
4324 unique strings.
4325
9c646a6e
BE
43262001-01-17 Ben Elliston <bje@redhat.com>
4327
4328 * config/sid.exp: New file.
4329
9549d9c1
AC
4330Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4331
4332 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4333
dc96c6c7 43342000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4335
4336 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4337 Add a RE to accept a non-ascii char if one is ever presented.
4338
b4df4f68
FN
43392000-12-20 Fernando Nasser <fnasser@redhat.com>
4340
297dd0fd 4341 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4342
dc96c6c7 43432000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
4344
4345 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4346 in regexp. One '\' does not suffice on Linux.
4347
4a7bddb6
MC
43482000-12-09 Michael Chastain <chastain@redhat.com>
4349
4350 * gdb.base/break.exp (test_clear_command): Use a marker function
4351 rather than 'main' for the test function. Also move this
4352 test to an execution point where the marker function names are
4353 guaranteed to be bound to functions. (Executing tests after a
4354 'finish' from main runs into name conflicts with local names
4355 in __libc_start_main).
4356
dc96c6c7 43572000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4358
4359 * gdb.base/finish.exp: New test for gdb's "finish" command.
4360 * gdb.base/return2.exp: New test for gdb's "return" command.
4361 * gdb.base/return2.c: New source file for above.
4362
dc96c6c7 43632000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4364
4365 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4366 * gdb.base/miscexprs.exp: Ditto.
4367 * gdb.base/pointers.exp: Ditto.
4368 * gdb.c++/derivation.exp: Ditto.
4369 * gdb.c++/local.exp: Ditto.
4370 * gdb.c++/namespace.exp: Ditto.
4371 * gdb.c++/overload.exp: Ditto.
4372 * gdb.c++/ref-types.exp: Ditto.
4373
dc96c6c7 43742000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4375
4376 * gdb.base/constvars.exp: Test result of "up" command.
4377 * gdb.base/miscexprs.exp: Ditto.
4378 * gdb.base/pointers.exp: Ditto.
4379 * gdb.base/scope.exp: Ditto.
4380 * gdb.c++/derivation.exp: Ditto.
4381 * gdb.c++/local.exp: Ditto.
4382 * gdb.c++/namespace.exp: Ditto.
4383 * gdb.c++/overload.exp: Ditto.
4384 * gdb.c++/ref-types.exp: Ditto.
4385
44097287
FN
43862000-11-22 Michael Chastain <chastain@redhat.com>
4387
4388 * mips_pro.exp: Accept either "middle -> top -> main" or
4389 "middle -> main" in the backtrace, because gcc can optimize
4390 tail calls to jumps. Remove setup_xfail for the hppa case.
4391 Add a comment with the original warning messages from PR 3016,
4392 which was filed in 1993, to preserve them for posterity.
4393
9d2e1bab
ND
43942000-11-17 Nick Duffek <nsd@redhat.com>
4395
4396 * lib/gdb.exp (gdb_test): Override timeout with board info.
4397
1aca8eb7
ND
43982000-11-17 Nick Duffek <nsd@redhat.com>
4399
4400 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4401 the second kill and detach messages.
4402
93076499
ND
44032000-11-17 Nick Duffek <nsd@redhat.com>
4404
4405 * configure.in: Add AC_EXEEXT.
4406 * configure: Regenerate.
4407 * Makefile.in (just-check): Export EXEEXT.
4408 * lib/gdb.exp ($EXEEXT): Import from environment.
4409 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4410 expect "maint dump-me" on Cygwin.
4411 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4412 $EXEEXT.
4413
30e87cd3
ND
44142000-11-17 Nick Duffek <nsd@redhat.com>
4415
4416 * gdb.base/break.exp: Test backtrace and finish from called
4417 function on all platforms, not just HP-UX.
4418
dc96c6c7 44192000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4420
4421 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4422 code from gdb_target_monitor, so it can be used independantly
4423 for gdbserver. Also comment out an unnecessary PUTS.
4424
dc96c6c7 44252000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4426
4427 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4428 * gdb.base/corefile.exp: Expect the message "Program is being
4429 debugged already" when we send the "corefile" command, since
4430 the preceeding gdb_load may have connected gdb to a remote target.
4431 * gdb.base/display.exp: Disable hardware watchpoints if new
4432 board info variable "no_hardware_watchpoints" is true.
4433 Replace single-letter commands with more readable ones.
4434 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4435 if new board info variable "no_hardware_watchpoints" is true.
4436 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4437 to see if stdio (printf) testing is possible.
4438 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4439 board info variable "no_hardware_watchpoints" is true. Use new
4440 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4441
39124dea
FN
44422000-11-13 Fernando Nasser <fnasser@redhat.com>
4443
4444 From Orjan Friberg <orjanf@axis.com>:
4445 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4446 in array print pattern match.
4447
a9e2e984
FN
44482000-11-09 Fernando Nasser <fnasser@redhat.com>
4449
4450 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4451 spelling "cancelled" to U.S. spelling "canceled" to match changes
4452 made to gdb.
4453 * gdb.c++/ovldbreak.exp: Ditto.
4454
c7db355b
PS
44552000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4456
4457 * gdb.base/callfuncs.c (main): Moved to end of file, call
4458 t_double_values to initialize the FPU before inferior calls are made.
4459 * gdb.base/callfuncs.exp: Test for register preservation after calling
4460 inferior functions. Add tests for continuining, finishing and
4461 returning from a stop in a call dummy.
4462
dc96c6c7 44632000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4464
4465 * gdb.base/commands.exp: Break up long lines, and re-indent.
4466
dc96c6c7 44672000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4468
4469 * config/gdbserver.exp: Rewritten from the ground up, to make it
4470 compatible with the current dejagnu tree, and to make it work with
4471 the new "gdbserver" in libremote.
4472
dc96c6c7 44732000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4474
4475 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4476 * gdb.base/varargs.exp: Skip entire test if no printf support.
4477 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4478 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4479
dc96c6c7 44802000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4481
4482 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4483 no floating point support.
4484 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4485 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4486 * gdb.base/call-rt-st.exp: Ditto.
4487 * gdb.base/call-strs.exp: Ditto.
4488
bac5fc66
JG
44892000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4490
4491 * gdb.base/sizeof.c: include <stdio.h>.
4492
4493 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4494 'finish', otherwise uncaptured gdb_prompt would potentially
4495 throw remaining test points out of sync.
4496
b22a6027
SB
44972000-07-26 Scott Bambrough <scottb@netwinder.org>
4498
4499 * gdb.base/recurse.exp: Run tests for all targets.
4500 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4501 gnu-oldld case on ARM.
4502 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4503 for ARM targets.
4504
d8231941
AG
4505Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4506
4507 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4508 * gdb.java/configure: Rebuild.
4509
8caabe69
AG
4510Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4511
4512 * gdb.java/jv-exp.exp: New file.
4513
9d273ca3
AG
4514Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4515
4516 * configure: Rebuilt.
4517 * configure.in (configdirs): Add gdb.java.
4518 * gdb.java/jmisc.java: New file.
4519 * gdb.java/jmisc.exp: New file.
4520 * gdb.java/Makefile.in: New file.
4521 * gdb.java/configure: Rebuilt.
4522 * gdb.java/configure.in: New file.
4523 * lib/java.exp: New file.
4524
4f823a66
AC
4525Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4526
4527 * gdb.base/exprs.exp: Test casts to a pointer including over and
4528 underflow.
4529
2391e11d
AC
4530Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4531
4532 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4533 and the compilers sizes.
4534
54602222
ND
45352000-07-09 Nick Duffek <nsd@redhat.com>
4536
4537 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4538 (use_methods): New function.
4539 (main): Call use_methods().
4540 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4541 (do_tests): Call test_method_param_class.
4542
2bec0572
ND
45432000-07-09 Nick Duffek <nsd@redhat.com>
4544
4545 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4546 spelling.
4547 (test_enums): New procedure. Move enum tests from end of script
4548 to here. Set breakpoint on function name instead of line number.
4549 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4550 (enums2): New marker function.
4551 (enums1): New function.
4552 (main): Call enums1(). Move enum tests to enums1().
4553
78492fde
AC
4554Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4555
4556 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4557 compile/link program. Update line numbers.
4558 * gdb.asm/d10v.inc: Define ``startup''.
4559 * gdb.asm/asmsrc1.s: Add definition of _start.
4560
49a2cef8
AC
4561Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4562
4563 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4564
3e6c8688
EZ
45652000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4566
4567 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4568 of 'help maint print' command.
4569
9ff5cbe9
AC
4570Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4571
4572 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4573 they use gdb_expect_list.
4574
17c579bd
AC
4575Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4576
4577 * gdb.base/commands.exp: Use ``set remote
4578 memory-read-packet-size'' instead of ``set endian big'' to test
4579 long commands.
4580
e6d71bf3
DB
45812000-06-03 Daniel Berlin <dan@cgsoftware.com>
4582
4583 * gdb.c++/templates.exp (do_tests): Make all of these work under
4584 g++, and stop skipping them.
4585
4586 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4587 work under g++.
4588
e5f9ba7b
MS
4589 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4590 initialization.
4591
dc96c6c7 45922000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4593
4594 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4595 the regular expression: accept an (almost) arbitrary sequence of
4596 "frames-invalid" and "breakpoints-invalid" messages both before
4597 and after the "starting" message.
4598
dc96c6c7 45992000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4600
4601 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4602
dc96c6c7 46032000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4604
4605 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4606 Relax the regular expression a little, make it pass on Solaris 8.
4607
8216cda9
KB
46082000-05-12 Kevin Buettner <kevinb@redhat.com>
4609
4610 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4611 a call, do not require that gdb stop on the line after the call.
4612 Instead, it is permissible for gdb to stop on the line of the
4613 call itself.
4614
1a570b2f
MS
46152000-05-12 Michael Snyder <msnyder@.cygnus.com>
4616
4617 * gdb.base/break.exp (bp on small function, optimized file):
4618 Add a second pass pattern. The behavior differs here between stabs
4619 and dwarf for one-line functions. Stabs preserves two line symbols
4620 (one before the prologue and one after) with the same line number,
4621 but dwarf regards these as duplicates and discards one of them.
4622 Therefore the address after the prologue (where the breakpoint is)
4623 has no exactly matching line symbol, and GDB reports the breakpoint
4624 as if it were in the middle of a line rather than at the beginning.
4625
dc96c6c7 46262000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
4627
4628 * gdb.base/interrupt.exp: Make "pass" message say "send"
4629 rather than "send_gdb" (for consistancy).
4630
7d418785
AC
4631Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4632
4633 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4634 * gdb.c++/templates.cc: Properly check for GCC version number.
4635 * lib/compiler.cc: Likewise
4636
dc96c6c7 46372000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
4638
4639 * gdb.base/break.exp: When compiled with -O2 optimization,
4640 gdb may not stop at the first line of main, due to code motion.
4641
dc96c6c7 46422000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4643
4644 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4645 This test depends on parsing the printf output from the target.
4646 Since the sparclet stub doesn't do stdio, this will never work.
4647 * gdb.base/call-rt-st.exp: ditto.
4648 * gdb.base/call-strs: ditto.
4649
dc96c6c7 46502000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4651
4652 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4653
4654 * gdb.base/ending-run.exp: After connecting to a remote target,
4655 but before running, the target will appear to be in a random
4656 location. Specify both a file and a line for breakpoints.
4657 Also, the function that calls main may be called 'init'
4658 rather than 'start'.
4659
a5a51225
EZ
46602000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4661
4662 * gdb.base/help.exp: Update output for add-symbol-file command.
4663
7930cc7c
FN
46642000-04-10 Fernando Nasser <fnasser@cygnus.com>
4665
4666 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4667 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4668
23e37ab1
C
46692000-04-07 J.T. Conklin <jtc@redback.com>
4670
e93c542c
C
4671 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4672
23e37ab1
C
4673 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4674
591b8fa3
PDM
4675Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4676
4677 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4678 values that can be represented exactly.
4679 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4680 above change, and to not check against the directory part of the source
4681 file name.
4682 (step into print_long_arg_list): Likewise.
4683 (print print_small_structs from print_long_arg_list): Likewise.
4684 (print print_long_arg_list): Likewise.
4685
7a495180
EZ
46862000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4687
30b53638 4688 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4689
beb998c6
AC
4690Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4691
4692 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4693
1c689132
DB
46942000-03-25 Daniel Berlin <dan@cgsoftware.com>
4695
4696 * gdb.base/commands.exp (deprecated_command_test): Add test for
4697 deprecate with no arguments.
4698
c1790a9d
JL
46992000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4700
4701 * gdb.base/break.exp: Add new test for setting breakpoints on
4702 optimized code so we can test breakpoints work even when function
4703 prologues may be optimized away
4704
003ba290
FN
47052000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4706
4707 From David Whedon <dwhedon@gordian.com>
4708 * gdb.base/commands.exp : Added command deprecator tests.
4709
6837a0a2
DB
47102000-03-22 Daniel Berlin <dan@cgsoftware.com>
4711
4712 * gdb.base/help.exp: Added test for new apropos command.
4713
b9593231
KB
47142000-03-21 Kevin Buettner <kevinb@redhat.com>
4715
4716 * gdb.base/pointers.c (usevar): New function.
4717 (main): Make sure that global variables v_int_pointer2, rptr,
4718 and y are all referenced someplace in the program by calling
4719 usevar() on them. [Some linkers delete symbols which are
4720 never referenced. The space remains, but there's no way to
4721 get a (symbolic) handle on the variable from the debugger.]
4722
751a959b
EZ
47232000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4724
4725 * gdb.base/printcmds.c: Add typedeffed arrays.
4726
4727 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4728 procedure to test arrays that are typedef'd.
4729
73a93a32
JI
47302000-03-13 James Ingham <jingham@leda.cygnus.com>
4731
4732 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4733 the library directories.
73a93a32 4734
fb40c209
AC
4735Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4736
4737 * configure.in (configdirs): Add sub directory gdb.mi.
4738 * configure: Re-generate.
4739
4740 * gdb.mi: New directory.
beb998c6 4741
ee4dd2c9
AC
47422000-02-25 Scott Bambrough <scottb@netwinder.org>
4743
4744 * gdb.base/long_long.exp: Correct test suite failure when printing
4745 a long long value as a double on ARM platforms.
4746
70f0cc22
JB
47472000-02-16 Jim Blandy <jimb@redhat.com>
4748
4749 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4750 default source file is set properly before running this test.
4751
853819b8
EZ
47522000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4753
4754 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4755 gdbtk/library directory, not in gdbtcl2.
4756
dfcd3bfb
JM
47572000-02-04 Jim Blandy <jimb@redhat.com>
4758
4759 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4760 backslash from regexp pattern.
4761
4762 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4763 procedure. Use it to run all the "continue to bp overloaded"
4764 tests. Note that this changes the names of the tests slightly.
4765 If the breakpoint hit message includes a hex PC value, because
4766 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4767 from the real source code, still consider that a pass.
4768
4769 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4770 XFAIL here if the breakpoint message contains a hex address. Note
4771 similar change on 1999-11-02.
4772
4773 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4774
4775 * gdb.base/ptype.exp: Establish a default source file before
4776 calling get_debug_format.
4777
47782000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4779
4780 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4781
8b93c638
JM
47822000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4783
4784 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4785 of successive stepi commands -- while in the prologue we should see
4786 the function entry bracket.
4787
47882000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4789
4790 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4791 reach __change_mode() when stepping through the end of main().
4792
c5394b80
JM
47932000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4794
4795 * gdb.base/default.exp: Fix expected pattern.
4796 * gdb.base/help.exp: Same.
4797
0d06e24b
JM
47982000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4799
4800 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4801 Don't use xfail's because that affects only the following test.
beb998c6 4802
0d06e24b
JM
4803 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4804 solaris or linux.
4805
4806 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4807
dc96c6c7 48082000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4809
beb998c6 4810 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4811 "A syntax error" rather than "A parse error". Accept both.
4812
48132000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4814
4815 * gdb.base/default.exp: Remove OS dependent string from "target
4816 remote" test.
4817 * gdb.base/help.exp: Same for "help target remote" test.
4818
c3f6f71d
JM
48192000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4820
4821 From Jim Kingdon <kingdon@redhat.com>:
4822
4823 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4824 prompt (cleanup rather than necessity, but still might keep output
4825 from spilling to next test).
4826
48272000-01-02 Fred Fish <fnf@cygnus.com>
4828
4829 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4830 AIX, which defines them in <sys/types.h>.
4831
ed9a39eb 48321999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4833
ed9a39eb
JM
4834 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4835 float" test.
4836
48371999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4838
ed9a39eb 4839 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4840
4841 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4842 outermost frame disallowed".
4843
48441999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4845
4846 * gdb.base/setvar.exp: New tests for setting the value of a struct
4847 with a constant list.
4848
48491999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4850
4851 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4852 require the user to type a cast before setting the value of a struct.
4853
de57eccd
JM
48541999-12-06 Jim Blandy <jimb@cygnus.com>
4855
4856 * gdb.base/default.exp: Expect the new 'info float' command on
4857 all i386 platforms.
4858
4859 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4860 LinuxThreads libraries that don't support debugging.
4861
c2d11a7d
JM
4862Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4863
4864 * gdb.base/remote.c: Fill the buffer with truely random data.
4865 Change the buffer type to ``unsigned char'' to simplify size
4866 arithmetic.
4867
4868 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4869 stub only handles 400-1 byte packets. Verify that the download
4870 worked.
4871
48721999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4873
4874 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4875 tests, using UNRESOLVED for the untested cases. Also, does not wait
4876 for a timeout if the prompt was received before a recognizable pattern.
4877
48781999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4879
4880 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4881
48821999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4883
4884 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4885 watchpoints.
4886
48871999-11-24 Jason Merrill <jason@casey.cygnus.com>
4888
4889 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4890
4891 * gdb.c++/local.exp: Be more flexible in recognizing local class
4892 name mangling. Don't allow horribly truncated method names.
4893 * gdb.c++/derivation.exp: Expect protected inheritance.
4894 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4895 * gdb.c++/virtfunc.exp: Likewise.
4896 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4897 when printing a nested enum.
4898
48991999-11-22 Jim Blandy <jimb@cygnus.com>
4900
4901 * gdb.base/step-test.exp: Properly await GDB's response to setting
4902 a breakpoint on the call to large_struct_by_value.
4903
4904 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4905 just because we have debug info for the `start' function.
4906
49071999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4908
4909 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4910 "Unknown signal" messages, which indicate (on LinuxThreads) that
4911 GDB doesn't know how to debug threads on this system. This is
4912 better than hanging while philosopher 0 dumps chatter into gdb.log.
4913
49141999-11-18 Tom Tromey <tromey@cygnus.com>
4915
4916 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4917
49181999-11-18 Fred Fish <fnf@cygnus.com>
4919
4920 * gdb.base/coremaker2.c: Add sample program for generating
4921 cores that is more self contained than coremaker.c. Eventually
4922 I'll add more code to this and tie it into the testsuite.
4923
4ce44c66
JM
49241999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4925
4926 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4927
49281999-11-10 Jimmy Guo <guo@cup.hp.com>
4929
4930 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4931 from $srcdir/lib/.
4932 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4933 and gdb.c++/.
4934
4935 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4936
beb998c6 4937 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4938 'continue with watch' test point.
4939
49401999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4941
4942 Merged from p2linux-990323-branch:
beb998c6 4943
4ce44c66
JM
4944 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4945
11cf8741
JM
4946Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4947
4948 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4949 {limit,fixed}''. Test ``set download-write-size''.
4950
4951Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4952
4953 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4954 gdb_expect_list.
4955
4956Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4957
4958 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4959
49601999-11-03 Mark Salter <msalter@cygnus.com>
4961
4962 * gdb.base/break.exp: Fix "stub continue" pattern.
4963
49641999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4965
4966 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4967
49681999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4969
4970 * gdb.base/display.exp ("finish"): Add timeout clause.
4971
4972 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4973 plain prompt clause, so this doesn't have to time out in order to
4974 fail.
4975
4976 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4977 breakpoint hit messages include an address.
4978
4979 * gdb.base/display.exp: Don't forget to escape parens in regular
4980 expressions. Unix regexp notatation sucks.
4981
49821999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4983
4984 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4985 order for 'signalled' message.
4986
5c44784c
JM
49871999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4988
4989 From Jimmy Guo <guo@cup.hp.com>:
4990 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4991 * gdb.base/annota1.c: Add code for tests to work with.
4992
49931999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4994
4995 * gdb.base/remote.exp: New test for remote downloading settings.
4996 * gdb.base/remote.c: New file with large .data.
4997
917317f4
JM
49981999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4999
5000 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5001 for LinuxThreads support, merged from the Code Fusion branch.
5002
5003Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5004
5005 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5006 containing exp_continue into a while within an expect. Don't
5007 attempt a start more than three times. Check return value from
5008 gdb_load.
beb998c6 5009
2df3850c
JM
5010Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5011
5012 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5013 a pass case.
5014
2acceee2
JM
50151999-10-01 Kevin Buettner <kevinb@cygnus.com>
5016
5017 * gdb.base/break.c (main): Added a statement that we can step
5018 off of.
5019 * gdb.base/break.exp: Added tests for setting a breakpoint
5020 at an offset and stepping onto a breakpoint.
5021
50221999-10-01 Fred Fish <fnf@cygnus.com>
5023
beb998c6 5024 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
5025 gdb output.
5026
c2c6d25f
JM
50271999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5028
5029 * gdb.base/break.exp: Code locations are in hex, don't forget!
5030 (For HP-UX.)
5031
50321999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5033
5034 * condbreak.exp: Use break.c as test program.
5035 * condbreak.c: Remove, redundant with break.c.
5036
50371999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5038
5039 * config/monitor.exp (gdb_target_monitor): Disable X- and
5040 Z-packets if the target needs it.
5041
50421999-09-13 James Ingham <jingham@leda.cygnus.com>
5043
5044 * gdb.c++/overload.exp: Added tests for listing overloaded
5045 functions with function pointers in the arg, explicitly calling
5046 out the version you want.
5047
cff3e48b
JM
50481999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5049
5050 * long_long.exp: Add variations of test cases that work for
5051 targets with 16-bit ints and 32-bit doubles.
5052
d4f3574e
SS
50531999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5054
5055 * break.c (main): Compare a possibly-uninitialized argc with an
5056 unlikely value that fits in 16 bits.
5057
50581999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5059
5060 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5061 0xfeeb, don't want negative numbers if ints are 16 bits.
5062
5063 * lib/gdb.exp (skip_cplus_tests): New proc.
5064 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5065 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5066 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5067 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5068 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5069 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5070 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5071 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5072
5073 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5074
5075Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5076
5077 * gdb.base/corefile.exp (up): Allow a parameter to appear
5078 in the frame that we're going up to.
5079
5080 From Jim Blandy <jimb@cygnus.com>:
5081
5082 * gdb.base/default.exp (info float): Expect some output now.
5083
5084 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5085 returning floating-point values to fail on the x86.
5086 * gdb.base/callfwmall.exp (do_function_calls): Same.
5087
5088 * gdb.base/list.exp (test_listsize): Correct expectations for
5089 listing line 1 with listsize 2. Also, listing a single line
5090 works now, as does listing three lines. [Kevin's note: There
5091 were a number of other cases fixed too where the expectations
5092 differed...]
5093
50941999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5095
5096 * gdb.base/selftest.exp: Add case for when version prints as
5097 constant string instead of char pointer.
5098
104c1213
JM
50991999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5100
5101 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5102 stepping out of main.
5103
5104 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5105 G++ used.
5106
5107 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5108 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5109
5110 * gdb.c++/ovldbreak.exp: Update match string in test that
5111 includes a warning of multiple breakpoints.
5112
51131999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5114
5115 * gdb.base/display.exp: Improve precision of step-after-finish
5116 added yesterday.
5117
5118 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5119 test.
5120
5121 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5122 configs when using G++, not just hppa*.
5123
51241999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5125
5126 * gdb.base/async.c: New file.
5127 * gdb.base/async.exp: New file.
5128
5129Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5130
5131 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5132 PA64.
5133
53a5351d
JM
5134Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5135
104c1213
JM
5136 * gdb.base/display.exp: "finish" can leave us mid-line on many
5137 targets, deal with it. Add a small constant to main, instead of
5138 1000 since main+1000 may not be a valid address in the target.
5139
53a5351d
JM
5140 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5141 on hpux11.
5142
5143 * gdb.base/attach.exp: Handle another hpux11 error message variant
5144 when attaching to a process that does not exist.
5145
51461999-08-19 J.T. Conklin <jtc@redback.com>
5147
5148 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5149 characters in 'continue to 1241' test.
5150
51511999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5152
5153 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5154 stop in print_long_arg_list, define and use a whitespace
5155 variable in print_small_structs test, add an XFAIL for Solaris.
5156 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5157 interested enough to fix.
5158
7be570e7
JM
51591999-08-13 Keith Seitz <keiths@cygnus.com>
5160
5161 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5162 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5163 proc knows about targets other than the natives.
5164 (test_assign): Use "gdb_run_cmd" to "run" the target.
5165 Check that we've actually hit the breakpoint at main.
5166 When we attempt to assign a value to a local variable, check
5167 that the variable is in the current scope, i.e., don't use
5168 a test with an empty result.
5169
5170Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5171
5172 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5173 command.
5174
51751999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5176
5177 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5178 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5179 gdb.compat, gdb.threads-hp.
5180 gdb.hp/configure, gdb.hp/configure.in: New files.
5181 gdb.hp/Makefile.in: Recurse into new subdirs.
5182 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5183 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5184 in object files.
5185 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5186
96baa820
JM
51871999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5188
5189 * gdb.base/display.exp: Help expect by putting a newline in the
5190 funky printf, remove a bogus p/a test.
5191
51921999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5193
5194 * gdb.base/display.exp: Make sure that when we say 'run', we are
5195 connected to the target. This is necessary when running not
5196 natively.
5197
51981999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5199
5200 * gdb.base/step-test.exp: Removed some extraneous messages.
5201
5202 * gdb.base/long_long.exp: Don't run memory examination tests
5203 on little-endian targets (they will need a different set of
5204 results to match).
5205
52061999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5207
5208 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5209 until somebody decides to fix GDB.
5210
5211 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5212 constant as "ULL".
5213 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5214 matches for a couple x/2 commands.
5215
a0b3c4fd
JM
52161999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5217
5218 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5219 by merging in ref-types2 tests.
5220 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5221
5222 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5223 * gdb.c++/Makefile.in: Add standard actions.
5224 (EXECUTABLES): Rename from PROGS, update list.
5225 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5226 from gdb.hp.
5227 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5228 foo and bar locals.
5229 * gdb.c++/anon-union.exp: Fix tests to match.
5230 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5231 expect matches to handle output variations.
5232 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5233 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5234 output, add HP alternatives for new and delete prints.
5235 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5236 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5237 * gdb.c++/demangle.exp: Use $style when reporting failure.
5238 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5239 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5240 match alternatives.
5241 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5242 compilers.
5243 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5244 * gdb.c++/method.exp: Add match alternatives.
5245 * gdb.c++/misc.cc: Add bool types.
5246 * gdb.c++/misc.exp: Add tests for bool types.
5247 * gdb.c++/overload.exp: Add xfails.
5248 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5249 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5250 add some more template parameter tests (only for HP currently).
5251 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5252 * gdb.c++/virtfunc.cc: Add return type and value for main.
5253 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5254 match alternatives.
beb998c6 5255
a0b3c4fd
JM
52561999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5257
5258 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5259
52601999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5261
5262 * gdb.base/signals.exp: Don't expect getting a backtrace from
5263 within a signal handler to fail on Linux.
5264
52651999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5266
5267 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5268 * lib/gdb.exp: Remove some gratuitious semicolons.
5269 (delete_breakpoints): Increase timeout.
5270 (gdb_expect): Add -notransfer option.
5271 (gdb_test): Use -notransfer option.
5272 (get_compiler_info): Add f77 case.
5273 (get_compiler): New proc, split out from gdb_preprocess, add f77
5274 case.
5275 (gdb_preprocess): Call get_compiler.
5276
5277 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5278 * gdb.base/attach.exp, gdb.base/display.exp,
5279 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5280 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5281 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5282 third arg to gdb_test.
5283 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5284 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5285 HP-UX xfails, add others.
5286 * gdb.base/completion.exp: Reflect name change of self-test.
5287 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5288 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5289 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5290 HP failure number.
5291 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5292 useless HP-UX 10.30 references.
5293 * gdb.base/maint.exp: Loosen matches.
5294 * gdb.base/pointers.c (main): Declare more_code.
5295 * gdb.base/pointers.exp: Match on output of a `next'.
5296 * gdb.base/structs.c: Add prototypes.
5297 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5298 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5299
53001999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5301
5302 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5303 command.
5304
53051999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5306
5307 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5308 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
5309
5310 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5311 debug info. Deal with lack of signal hanlder info in stack.
5312
5313 From Jim Kingdon <kingdon@redhat.com>:
5314 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5315
5a2468f5
JM
53161999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5317
5318 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5319 gdb.base/foll-vfork.exp: Don't run for crosses.
5320
adf40b2e
JM
5321Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5322
5323 * gdb.base/configure.in: Check for gdbvars.exp instead of
5324 a1-selftest.exp.
5325 * gdb.base/configure: Re-generate.
5326
53271999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5328
5329 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5330 in trying to run first and name is too long.
5331
5332 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5333 pointers2.c and pointers2.exp, respectively.
5334 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5335 doschk happier.
5336
43e526b9
JM
53371999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5338
5339 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5340 callfuncs2.c and callfuncs2.exp.
5341
5342 * gdb.base/list.exp: Remove mistaken xfails.
5343 * gdb.base/list0.h: Add optional prototypes.
5344
9846de1b
JM
5345Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5346
5347 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5348 calling malloc.
5349 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5350 * ptype.exp: Move test for get_debug_format to before its first
5351 use.
5352
53531999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5354
5355 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5356 * gdb.base/annota2.cc, annota2.exp: Move from here.
5357 * gdb.c++/annota2.cc, annota2.exp: To here.
5358 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5359
43ff13b4
JM
5360Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5361
5362 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5363 a consistent format.
5364
085dd6e6
JM
53651999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5366
5367 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5368 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5369 HP compilers, also set the globals $true and $false.
5370
5371 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5372 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5373 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5374 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5375 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5376 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5377 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5378 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5379 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5380 whatis.c} Add C++ compatible function definitions and return
5381 types, add includes for library functions.
5382 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5383 * gdb.base/step-test.c (myglob): Rename from glob.
5384 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5385 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5386 files, move here from gdb.hp.
5387 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5388 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5389 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5390 Adjust line numbers in regexps.
5391
5392 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5393 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5394 instead of 0/1.
5395
5396 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5397 foll-vfork.exp: New files, move here from gdb.hp.
5398 * gdb.base/page.exp: New file, test of pagination command.
5399
5400 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5401 recursion test.
5402 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5403
5404 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5405 gdb.base/solib.exp: Fix compiler invocation process.
5406
5407 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5408 HP-UX 11, turn off overload resolution explicitly.
5409 * gdb.base/commands.exp: Set argument list explicitly, add
5410 watchpoint test.
5411 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5412 them work.
5413 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5414 expressions properly.
5415 * gdb.base/corefile.exp: Loosen the match slightly.
5416 * gdb.base/default.exp: Allow "Error accessing memory" message
5417 also.
5418 * gdb.base/display.exp: Skip over x/0 j if PA64.
5419 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5420 * gdb.base/interrupt.exp: Ditto.
5421 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5422 in use.
5423 * gdb.base/list.exp: Add xfails for HP-UX.
5424 * gdb.base/long_long.exp: Refine some of the numeric matches.
5425 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5426 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5427 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5428 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5429 * gdb.base/ptype.exp: Succeed on more varieties of output.
5430 * gdb.base/scope.exp: Add xfails for HP-UX.
5431 * gdb.base/sect-cmd.exp: Add more cases.
5432 * gdb.base/setvar.exp: Add xfails for HP-UX.
5433 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5434 * gdb.base/signals.exp: Match on void symbolically.
5435 * gdb.base/step-test.exp: Add case for PA64.
5436 * gdb.base/term.exp: Add exit and restart.
5437 * gdb.base/twice.exp: Clean up after self.
5438 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5439 * gdb.base/whatis.exp: Allow more ways to pass tests.
5440
5441 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5442 no longer useful.
5443
5444Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5445
5446 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5447 list of patterns.
5448 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5449 print_double_array(double_array)", "continuing to breakpoint
5450 1018", "print print_double_array(array_d)" and "continuing to
5451 1034" tests.
beb998c6 5452
085dd6e6
JM
54531999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5454
5455 * Makefile.in: Add empty html and install-html targets.
5456
54571999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5458
5459 * config/mt-*: Remove, these haven't been used since 1996.
5460
54611999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5462
5463 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5464 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5465 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5466
9e0b60a8
JM
54671999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5468
5469 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5470 simpler match case for the ptype of the big class.
5471
54721999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5473
5474 * gdb.exp: Fix test for gdb_prompt existence.
5475
54761999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5477
5478 * gdb.exp (gdb_test): Add fail after calls to perror.
5479
54801999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5481
5482 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5483
54841999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5485
5486 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5487
0f71a2f6
JM
5488Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5489
5490 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5491 malloc() is linked in.
5492
54931999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5494
5495 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5496 step at end.
5497
5498 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5499
55001999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5501
5502 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5503
cce74817
JM
5504Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5505
5506 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5507 * gdb.base/mips_pro.exp: Likewise.
5508
55091999-06-02 Keith Seitz <keiths@cygnus.com>
5510
5511 * gdb.c++/templates.cc: Change all "new" operators to throw
5512 an exception.
5513 * gdb.c++/cplusfuncs.cc: Likewise.
5514
5515 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5516
5517Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5518
5519 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5520 * gdb.base/ending-run.exp: When stepping out of main, accept a
5521 step into an arbitrary assembler file.
5522
392a587b
JM
55231999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5524
beb998c6 5525 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5526 "breakpoint-invalid" to be printed.
beb998c6 5527 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5528 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5529 * gdb.base/annota2.cc: Initialize a.x to 0.
5530
9e086581
JM
55311999-05-17 Keith Seitz <keiths@cygnus.com>
5532
5533 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5534 when "skip_float_tests" set.
5535 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5536 "print print_ten_doubles", and "step into print_long_arg_list".
5537 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5538 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5539 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5540 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5541 "skip_float_tests" is set.
5542 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5543 when "skip_float_tests" set.
beb998c6 5544
cd0fc7c3
SS
55451999-05-06 Keith Seitz <keiths@cygnus.com>
5546
5547 * gdb.base/annota2.cc: Include stdio.h.
5548
5549Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5550
5551 * gdb.base/crossload.exp: Remove, this has been disabled ever
5552 since BFD stopped including all targets, and cross-GDB gets
5553 plenty of testing anyway.
5554 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5555 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5556 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5557 * gdb.base/README: Remove, was doc for this.
5558 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5559 needed.
5560
b83266a0
SS
55611999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5562
5563 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5564 output.
5565
5566 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5567 * gdb.base/annota2.exp: New file. More annotation tests.
5568 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5569 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5570
55711999-04-23 Angela Marie Thomas <angela@cygnus.com>
5572
5573 * config/cfdbug.exp: New file.
5574
7a292a7a
SS
55751999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5576
5577 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5578 Marcus Daniel's and Dale Hawkins's demangler crashes.
5579
5580 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5581 test_lucid_style_demangling, test_arm_style_demangling,
5582 test_hp_style_demangling): Try Tom Tromey's core-dumping
5583 identifier under each demangling style.
5584
55851999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5586
5587 * gdb.c++/demangle.exp: Include the current demangling style
5588 in all test names.
5589 (current_demangling_style): New global variable.
5590 (set_demangling_style, test_demangling_core, test_demangling,
5591 test_demangling_exact): New functions.
5592 (test_gnu_style_demangling, test_lucid_style_demangling,
5593 test_arm_style_demangling, test_hp_style_demangling): Use those,
5594 instead of calling gdb_test and gdb_test_exact directly.
5595 (catch_demangling_errors): New function, which reports errors
5596 signalled by the demangling test functions in an orderly way.
5597 (do_tests): Use catch_demangling_errors.
5598
55991999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5600
5601 * gdb.base/signals.exp (test_handle_all_print): Use () for
5602 grouping in expressions, not {}.
5603
5604 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5605 initialized yet.
5606
56071999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5608
5609 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5610 are listed.
5611
56121999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5613
5614 * gdb.stabs/weird.exp: Test for CC being defined before
5615 looking at its value.
5616
56171999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5618
5619 * gdb.base/call-ar-st.exp: Remove stray '#'.
5620 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5621 "short int" and "long int".
5622 * gdb.c++/overload.cc: Cast the string added in the previous
5623 change, to mollify finicky HP compiler.
5624 * gdb.hp/reg-test.exp (testfile): Fix file name.
5625 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 5626
7a292a7a
SS
5627 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5628 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5629 alternate form of enum ptype.
5630
c906108c
SS
56311999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5632
7a292a7a
SS
5633 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5634 * gdb.hp/*.exp: Change all to run compiler probe only after
5635 passing skip_hp_tests, so as not to waste time on guaranteed
5636 failure.
5637
c906108c
SS
5638 * gdb.c++/overload.cc: Pass string instead of char addr, always
5639 init ccpfoo.
5640 * gdb.c++/templates.cc: Fix syntax error.
5641
7a292a7a
SS
5642Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5643
5644 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 5645 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5646 command.
5647
56481999-03-18 James Ingham <jingham@cygnus.com>
5649
5650 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5651
5652 * gdb.c++/method.exp: It was testing an uninitialized int on the
5653 stack and assuming it was positive.
5654
5655 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5656
5657 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 5658 keep it from killing the rest of the tests.
7a292a7a
SS
5659 Use gdb_continue_to_end.
5660
5661 * gdb.base/sigall.exp: use gdb_continue_to_end.
5662
5663 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5664
5665 * gdb.base/display.exp: use runto_main, not run.
5666
beb998c6
AC
5667 * gdb.base/default.exp: Check for the current error message in the
5668 r abbreviation test.
7a292a7a
SS
5669 Add strongarm to the targets that know info float.
5670
beb998c6 5671 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5672 run which doesn't work with monitors.
5673
5674 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5675
5676 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5677
5678 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
5679 program. Traps the case (in Cygmon) when the program never really
5680 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5681 more places, so I used my name. Sorry Mark...
5682
5683 * config/monitor.exp (gdb_target_monitor): added another
5684 target_info parameter: remotebinarydownload. This will set the
5685 remotebinarydownload flag if this is causing some boards trouble.
5686
56871999-03-18 Mark Salter <msalter@cygnus.com>
5688
5689 * lib/gdb.exp (continue_to_exit): New function.
5690
5691 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5692 * gdb.base/ending-run.exp: Ditto.
5693 * gdb.base/step-test.exp: Ditto.
5694
56951999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5696
5697 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5698 (suggested by Art Haas <ahaas@neosoft.com>).
5699
57001999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5701
5702 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5703
5704Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5705
5706 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5707 descriptions of types (short unsigned int vs unsigned short, etc).
5708
57091999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5710
5711 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5712 a call to strlen; sometimes we do have sources.
5713
57141999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5715
5716 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5717 character, so GDB won't print garbage after its end.
beb998c6 5718
c906108c
SS
5719 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5720 breakpoint there instead. Sometimes GCC emits memcpy to handle
5721 the large structures being passed by value, so we step into that
5722 instead of sum_array_print, which obscures what we're really testing.
5723 * gdb.base/step-test.exp: However, we do want a test that notices
5724 the bizarre steps into memcpy, so do that here. Add check for
5725 stepping into function calls that pass large structures by value.
5726 ("Is that a noun clause, or are you just happy to see me?")
5727 Remove all references to specific line numbers.
5728 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5729 New type and function.
5730 (main): Call large_struct_by_value, passing it a large struct by value.
5731 * lib/gdb.exp (gdb_get_line_number): New function.
5732
5733 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5734 more portable.
5735
7a292a7a
SS
57361999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5737
c906108c
SS
5738 * lib/gdb.exp: Doc fixes.
5739
7a292a7a
SS
57401999-03-05 Nick Clifton <nickc@cygnus.com>
5741
beb998c6 5742 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5743
57441999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5745
c906108c
SS
5746 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5747 commands. They're not germane to this test, and they don't work
5748 that way on remote targets.
5749
3fc11d3e
JM
57501999-03-01 James Ingham <jingham@cygnus.com>
5751
5752 * Changelog entries merged over from gdb development branch.
5753
3fc11d3e
JM
5754 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5755
5756 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5757 for outputting results of test run.
5758
2d4a1622 5759 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5760
5761 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5762
7a292a7a
SS
57631999-02-25 Felix Lee <flee@cygnus.com>
5764
5765 * lib/gdb.exp (debug_format): initialize
5766
c906108c
SS
57671999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5768
5769 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5770 * gdb.base/call-rt-st.c: Ditto.
5771
c906108c
SS
57721999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5773
5774 * gdb.threads/pthreads.exp (horiz): New variable.
5775 (test_startup): Fix regexps that capture thread numbers.
5776
57771999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5778
5779 * gdb.base/smoke.exp: Disambiguate two test case names (both
5780 called ``print'').
5781
5782Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5783
5784 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5785 compilation.
5786
57871999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5788
5789 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5790 actual output formatting.
5791 * gdb.base/smoke.exp: GDB removes leading 0's.
5792 * gdb.base/volatile.exp: Don't check type of remuneration;
5793 that variable is no longer defined in constvars.c.
5794 * gdb.base/step-test.c (main): Exit with explicit exit code.
5795 * gdb.base/step-test.exp: Remove two nexti checks--they are
5796 not portable.
5797
57981999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5799
5800 * gdb.base/help.exp ("help delete display"): Fix test to match
5801 gdb's output.
5802
5803 * gdb.base/long_long.c (known_types): Initialize values to zero.
5804 * gdb.base/long_long.exp: Step one more line
5805 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5806 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5807 unique test case names.
5808
5809Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5810
beb998c6 5811 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5812
5813 * gdb.c++/method.exp: Add missing close brace.
5814
58151999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5816
5817 * gdb.base/maint.exp: Use 'set height 0' to disable page
5818 prompting, not 'set height 400'.
5819
5820 Fix a bunch of timeouts.
5821 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5822 four separate tests, so expect doesn't take forever to match a ton
5823 of text against a regexp with lots of .* forms.
5824 ("maint print psymbols", "maint print symbols"): Make some of
5825 these greps more selective, so that expect doesn't try to wade
5826 through huge piles of output and time out.
5827
5828 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5829
5830 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5831 tests: one which doesn't expect shlib events to be reported, and
5832 another which does, but is XFAIL for all platforms other than
5833 HP/UX.
5834
5835 * gdb.base/break.exp: Teach the test suite that the `catch
5836 fork', `catch vfork', and `catch exec' commands produce error
5837 messages on platforms that don't provide these features.
5838
5839Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5840
5841 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5842 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5843 (shortening names from solib_threshold.exp etc), won't run on
5844 anything but HP-UX for the foreseeable future.
5845 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5846 reflect move.
5847
5848Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5849
5850 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5851 gdb.trace/Makefile.in (clean): Remove all test executables.
5852
5853Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5854
5855 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5856 successfully re-sets breakpoints in shared libraries.
5857 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5858
5859Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5860
beb998c6
AC
5861 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5862 and compiled w/o GCC.
c906108c
SS
5863
5864 * gdb.hp/watch-cmd.exp: ditto.
5865
5866 * gdb.hp/watch-hp.exp: ditto.
5867
5868 * gdb.hp/xdb1.exp: ditto.
5869
5870 * gdb.hp/xdb2.exp: ditto.
5871
5872 * gdb.hp/dbx.exp: ditto.
5873
5874Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5875
5876 * constvars.c: Remove C++-isms.
5877 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5878 with GCC.
5879
5880Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5881
5882 The following changes are part of the HP merge.
5883
5884 * gdb.base/break.exp: new tests to verify that catchpoints for
5885 fork, vfork, and exec don't trigger inappropriately.
5886
5887 * gdb.base/opaque.exp: compile one file at a time, then link.
5888
5889 * gdb.base/signals.exp: be more restrictive about which hppa
5890 systems receive a setup_xfail. new tests.
5891
5892 * gdb.base/solib_threshold.build: new file.
5893 * gdb.base/solib_threshold.exp: new file.
5894 * gdb.base/solib_threshold.link_opts: new file.
5895 * gdb.base/solib_threshold.mk: new file.
5896 * gdb.base/gen_solib_threshold.c: new file.
5897
5898 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5899 tests. New tests for enums inside classes.
5900
5901 * gdb.c++/compiler.cc: indicate support of template debugging.
5902
5903 * gdb.c++/demangle.exp: run hp style demangling tests.
5904
5905 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5906 tests.
5907
5908 * gdb.c++/misc.cc: changes to support new tests.
5909
5910 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5911 to support new tests.
5912
5913 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5914 gcc, then skip these tests.
5915
5916Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5917
5918 The following files are part of the HP merge; some had longer
5919 names at HP, but have been renamed to be no more than 14
5920 characters in length.
5921
5922 * gdb.hp/ambiguous.cc: new file.
5923 * gdb.hp/ambiguous.exp: new file.
5924 * gdb.hp/attach.exp: new file.
5925 * gdb.hp/attach2.exp: new file.
5926 * gdb.hp/classes-hp.exp: new file.
5927 * gdb.hp/ctti.exp: new file.
5928 * gdb.hp/ctti-add.cc: new file.
5929 * gdb.hp/ctti-add1.cc: new file.
5930 * gdb.hp/ctti-add2.cc: new file.
5931 * gdb.hp/ctti-add3.cc: new file.
5932 * gdb.hp/dbx.exp: new file.
5933 * gdb.hp/exception.cc: new file.
5934 * gdb.hp/exception.exp: new file.
5935 * gdb.hp/foll-exec.c: new file.
5936 * gdb.hp/foll-exec.exp: new file.
5937 * gdb.hp/foll-fork.c: new file.
5938 * gdb.hp/foll-fork.exp: new file.
5939 * gdb.hp/foll-vfork.c: new file.
5940 * gdb.hp/foll-vfork.exp: new file.
5941 * gdb.hp/inherit-hp.exp: new file.
5942 * gdb.hp/more-steps.exp: new file.
5943 * gdb.hp/namespace.cc: new file.
5944 * gdb.hp/namespace.exp: new file.
5945 * gdb.hp/optimize.exp: new file.
5946 * gdb.hp/pxdb.c: new file.
5947 * gdb.hp/pxdb.exp: new file.
5948 * gdb.hp/quicksort.exp: new file.
5949 * gdb.hp/reg-test.exp: new file.
5950 * gdb.hp/reg-test.s: new file.
5951 * gdb.hp/sized-enum.c: new file.
5952 * gdb.hp/sized-enum.exp: new file.
5953 * gdb.hp/start-stop.exp: new file.
5954 * gdb.hp/templ-hp.cc: new file.
5955 * gdb.hp/templ-hp.exp: new file.
5956 * gdb.hp/thr-lib.c: new file.
5957 * gdb.hp/thr-lib.exp: new file.
5958 * gdb.hp/thr-lib.h: new file.
5959 * gdb.hp/thr-liblib.c: new file.
5960 * gdb.hp/virtfun-hp.c: new file.
5961 * gdb.hp/virtfun-hp.exp: new file.
5962 * gdb.hp/watch-cmd.exp: new file.
5963 * gdb.hp/watch-hp.exp: new file.
5964 * gdb.hp/xdb1.exp: new file.
5965 * gdb.hp/xdb2.exp: new file.
5966 * gdb.hp/xdb3.exp: new file.
5967
5968Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5969
5970 The following files are part of the HP merge; some had longer
5971 names at HP, but have been renamed to be no more than 14
5972 characters in length.
5973
5974 * gdb.base/ss.h: new file.
5975 * gdb.base/call-ar-st.c: new file.
5976 * gdb.base/call-ar-st.exp: new file.
5977 * gdb.base/call-rt-st.c: new file.
5978 * gdb.base/call-rt-st-exp: new file.
5979 * gdb.base/call-strs.exp: new file.
5980 * gdb.base/ena-dis-br.exp: new file.
5981 * gdb.base/environ.exp: new file.
5982 * gdb.base/long_long.exp: new file.
5983 * gdb.base/sect-cmd.exp: new file.
5984 * gdb.base/shlib-cl2.exp: new file.
5985 * gdb.base/smoke.exp: new file.
5986 * gdb.base/so-impl-ld.c: new file.
5987 * gdb.base/so-impl-ld.exp: new file.
5988 * gdb.base/so-indr-cl.c: new file.
5989 * gdb.base/so-indr-cl.exp: new file.
5990 * gdb.base/varargs.exp: new file.
5991 * gdb.base/volatile.exp: new file.
5992 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5993 * gdb.base/display.exp: new file.
c906108c
SS
5994 * gdb.c++/derivation.exp: new file.
5995 * gdb.c++/local.exp: new file.
5996 * gdb.c++/member-ptr.exp: new file.
5997 * gdb.c++/overload.exp: new file.
5998 * gdb.c++/ovldbreak.exp: new file.
5999 * gdb.c++/ref-types.exp: new file.
6000 * gdb.c++/ref-types2.exp: new file.
6001 * gdb.c++/userdef.exp: new file.
beb998c6 6002
c906108c
SS
6003Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6004
6005 * gdb.base/default.exp: Reflect wording change in remote.c.
6006
dc96c6c7 6007Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6008
6009 * gdb.base/help.exp: Update to reflect current text.
6010
6011Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6012
6013 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6014 they're stack variables and contain garbage.
6015 * gdb.c++/anon-union.exp: new file.
6016
6017 The following changes were made by David Taylor
6018 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6019 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6020 in changes by HP.
6021
6022 * gdb.base/bitops.exp: new file.
6023 * gdb.base/default.exp: change expected messages for catch and
6024 info catch tests to reflect HP merge changes.
6025 * gdb.base/enable-disable-break.exp
6026 * gdb.base/ending-run.c: new file.
6027 * gdb.base/long_long.c: new file.
6028 * gdb.base/maint.exp: new file.
6029 * gdb.base/pointers2.exp: new file.
6030 * gdb.base/shlib-call2.exp: new file.
6031 * gdb.base/solib.exp: new file.
6032 * gdb.base/step-test.c: new file.
6033 * gdb.c++/anon-union.cc: new file.
6034 * gdb.c++/local.cc: new file.
6035 * gdb.c++/member-pointer.cc: new file.
6036 * gdb.c++/method.cc: new file.
6037 * gdb.c++/ref-types.cc: new file.
6038 * gdb.c++/ref-types2.cc: new file.
6039 * gdb.c++/userdef.cc: new file.
beb998c6 6040
c906108c
SS
6041 * gdb.base/scope.exp: compile one file at a time, then link.
6042 * gdb.base/langs.exp: ditto.
6043 * gdb.base/list.exp: ditto.
beb998c6 6044
c906108c
SS
6045Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6046
6047 The following changes were made by David Taylor
6048 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6049 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6050 in changes by HP.
beb998c6 6051
c906108c
SS
6052 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6053 skip tests. When compiling pass c++ flag to gdb_compile.
6054 * gdb.c++/
beb998c6 6055
c906108c
SS
6056 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6057 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6058 (skip_hp_tests): new function.
6059 (gdb_preprocess): new function.
6060
6061 * configure.in (hpdir): decide whether to configure gdb.hp.
6062 * configure: regenerated.
6063
6064 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6065 to delete on clean.
6066 (EXECUTABLES): update to reflect new additions.
6067 * gdb.base/commands.exp: update message expected.
6068 * gdb.base/default.exp: add copyright notice.
6069 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6070 * gdb.base/help.exp: update messages to reflect current text.
6071 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6072 targets for recurse tests.
6073 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6074 skip this file.
6075
6076 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6077 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6078 compilation.
6079 * gdb.c++/misc.exp: ditto.
6080 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6081 run the tests. tell gdb_compile that it's a c++ compilation.
6082
6083 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 6084
c906108c
SS
6085 * gdb.base/all-bin.exp: new file.
6086 * gdb.base/arithmet.exp: new file.
6087 * gdb.base/assign.exp: new file.
6088 * gdb.base/completion.exp: new file.
6089 * gdb.base/cond-expr.exp: new file.
6090 * gdb.base/condbreak.exp: new file.
6091 * gdb.base/define.exp: new file.
6092 * gdb.base/dollar.exp: new file.
6093 * gdb.base/environment.exp: new file.
6094 * gdb.base/eval-skip.exp: new file.
6095 * gdb.base/jump.exp: new file.
6096 * gdb.base/logical.exp: new file.
6097 * gdb.base/pointers.exp: new file.
6098 * gdb.base/relational.exp: new file.
6099 * gdb.base/section_command.exp: new file.
6100 * gdb.base/whatis-expr.exp: new file.
6101
6102 * gdb.base/all-types.c: new file.
6103 * gdb.base/call-array-struct.c: new file.
6104 * gdb.base/call-return-struct.c: new file.
6105 * gdb.base/call-strings.c: new file.
6106 * gdb.base/callfuncs2.c: new file.
6107 * gdb.base/condbreak.c: new file.
6108 * gdb.base/constvars.c: new file.
6109 * gdb.base/display.c: new file.
6110 * gdb.base/int-type.c: new file.
6111 * gdb.base/jump.c: new file.
6112 * gdb.base/miscexprs.c: new file.
6113 * gdb.base/pointers.c: new file.
6114 * gdb.base/pointers2.c: new file.
6115 * gdb.base/shmain.c: new file.
6116 * gdb.base/shr1.c: new file.
6117 * gdb.base/shr2.c: new file.
6118 * gdb.base/solib.c: new file.
6119 * gdb.base/solib1.c: new file.
6120 * gdb.base/solib2.c: new file.
6121 * gdb.base/varargs.c: new file.
6122 * gdb.c++/derivation.cc: new file.
6123 * gdb.c++/overload.cc: new file.
6124 * gdb.c++/ovldbreak.cc: new file.
6125 * gdb.hp/attach.c: new file.
6126 * gdb.hp/attach2.c: new file.
6127 * gdb.hp/average.c: new file.
6128 * gdb.hp/compiler.c: new file.
6129 * gdb.hp/compiler.cc: new file.
6130 * gdb.hp/execd-program.c: new file.
6131 * gdb.hp/follow-exec.c: new file.
6132 * gdb.hp/follow-fork.c: new file.
6133 * gdb.hp/follow-vfork-and-exec.c: new file.
6134 * gdb.hp/misc-hp.cc: new file.
6135 * gdb.hp/more-steps.c: new file.
6136 * gdb.hp/optimize.c: new file.
6137 * gdb.hp/quicksort.c: new file.
6138 * gdb.hp/run-hp.c: new file.
6139 * gdb.hp/start-stop.c: new file.
6140 * gdb.hp/sum.c: new file.
6141 * gdb.hp/templates-hp.cc: new file.
6142 * gdb.hp/thread-local-in-lib.c: new file.
6143 * gdb.hp/thread-local-in-lib.h: new file.
6144 * gdb.hp/thread-local-in-lib.lib.c: new file.
6145 * gdb.hp/vforked-program.c: new file.
6146 * gdb.hp/virtfunc-hp.cc: new file.
6147 * gdb.hp/watchpoint-hp.c: new file.
6148 * gdb.hp/xdb.c: new file.
6149 * gdb.hp/xdb0.c: new file.
6150 * gdb.hp/xdb0.h: new file.
6151 * gdb.hp/xdb1.c: new file.
6152
6153Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6154
6155 The following change was made by Edith Epstein
6156 <eepstein@cygnus.com> as part of a project to merge in changes
6157 originally made by HP; HP did not create ChangeLog entries.
6158
6159 * gdb.c++/demangle.exp: changed the expected output for some
6160 ARM-style mangling -- removed second reference to datatype.
6161 For example, maint demangle __dt__11T1__pt__2_cFv
6162 T1<char>::~T1<char>(void)
6163 becomes,
6164 maint demangle __dt__11T1__pt__2_cFv
6165 T1<char>::~T1(void)
6166
6167 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 6168
c906108c
SS
6169Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6170
6171 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6172 * gdb.trace/backtrace.exp: Likewise.
6173 * gdb.trace/circ.exp: Likewise.
6174 * gdb.trace/collection.exp: Likewise.
6175 * gdb.trace/deltrace.exp: Likewise.
6176 * gdb.trace/infotrace.exp: Likewise.
6177 * gdb.trace/limits.exp: Likewise.
6178 * gdb.trace/packetlen.exp: Likewise.
6179 * gdb.trace/passc-dyn.exp: Likewise.
6180 * gdb.trace/passcount.exp: Likewise.
6181 * gdb.trace/report.exp: Likewise.
6182 * gdb.trace/save-trace.exp: Likewise.
6183 * gdb.trace/tfind.exp: Likewise.
6184 * gdb.trace/tracecmd.exp: Likewise.
6185 * gdb.trace/while-dyn.exp: Likewise.
6186 * gdb.trace/while-stepping.exp: Likewise.
6187
61881998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6189
6190 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6191
6192Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6193
6194 From Brendan Kehoe:
6195 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6196 int return types.
6197
6198Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6199
6200 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6201 remote dos host testing right.
6202
6203Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6204
6205 * gdb.base/corefile.exp: remove some xfails.
6206
6207Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6208
6209 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6210 have different timestamps.
6211
6212Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6213
6214 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6215 gdb.base/default.exp: Replace "exec" with "executable".
6216
6217Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6218
6219 * gdb.base/default.exp: Change else if to elseif from previous
6220 delta.
6221
6222Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6223
6224 * gdb.base/default.exp: Add brace missing from previous delta.
6225
6226Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6227
6228 * gdb.base/default.exp: Support test for info float for all
6229 varieties of arm toolchain.
6230
dc96c6c7 6231Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6232
6233 * gdb.trace/*.exp: remove "remote_download" command.
6234
dc96c6c7 6235Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6236
6237 * gdb.trace/*.exp: remove -gdwarf from compile.
6238
6239Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6240
6241 * gdb.trace/configure.in(AC_INIT): typo
6242 * gdb.trace/configure: regenerated
6243
dc96c6c7 6244Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6245
6246 * config/m68k-emc.exp: New file.
6247 * lib/<emc-support.exp trace-support.exp}: New files.
6248 * configure.in: add new test directory gdb.trace.
6249 * gdb.trace/{configure configure.in Makefile.in}: New files.
6250 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6251 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6252 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6253 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6254 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6255 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6256 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 6257
dc96c6c7 6258Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6259
6260 * gdb.c++/classes.exp: Change all regular expressions to match
6261 arbitrary combinations of newline/carriage-return, so that they
6262 will work equally well on Unix and Windows.
6263 * gdb.c++/inherit.exp: ditto.
6264 * gdb.c++/virtfunc.exp: ditto.
6265
62661998-08-11 Dawn Perchik <dawn@cygnus.com>
6267
6268 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6269
c2d11a7d
JM
6270Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6271
6272 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6273 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6274 to use a0-a3/d0-d3 as needed.
6275
6276Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6277
6278 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6279 * gdb.disasm/am33.exp: Corresponding changes.
6280
c906108c
SS
62811998-07-11 Felix Lee <flee@cygnus.com>
6282
6283 * gdb.base/callfuncs.exp: add cmp10 test.
6284 * gdb.base/callfuncs.c (cmp10): new function.
6285
6286Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6287
beb998c6 6288 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6289 into two parts to get around a synchronization problem in expect.
6290
3fc11d3e
JM
6291Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6292
6293 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6294
6295 * configure.in: Add options for gdbtk testsuite.
6296
6297 * configure: Regenerate.
6298
6299 * gdb.gdbtk: New directory to hold gdbtk tests.
6300
c906108c
SS
6301Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6302
6303 * gdb.fortran/types.exp: Escape brackets in expect patterns
6304 for test_float_literal_types_accepted tests.
6305 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6306 before run test.
6307
c2d11a7d
JM
6308Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6309
6310 * am33.exp: Just compile, do not link the testcase.
6311 * am33.s: Add ".am33" pseudoop to force am33 mode.
6312
c906108c
SS
63131998-06-25 Felix Lee <flee@cygnus.com>
6314
6315 * gdb.base/setshow.exp: make sure $pc is sane.
6316
6317 * gdb.stabs/weird.exp: split expect patterns properly.
6318
c2d11a7d
JM
6319Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6320
6321 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6322 * gdb.disasm/am33.exp: Run it.
6323
dc96c6c7 6324Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6325
6326 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6327 match processing (and eliminate spurious timeouts when running).
6328
dc96c6c7 6329Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6330
6331 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6332 exception test, but conditionalize it on target [mach | gnu].
6333
dc96c6c7 6334Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6335
6336 * gdb.base/overlays.exp: fixup compile line for linker script.
6337
6338Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6339
6340 * gdb.fortran/types.exp: don't guess at float size.
6341
6342Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6343
6344 * gdb.base/exprs.exp: delete test that depends on int size.
6345
6346Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6347
6348 * config/sim.exp: Removed checks for target triplets.
6349 (gdb_target_sim): Use gdb,target_sim_options.
6350
6351Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6352
6353 * gdb.base/reread.exp: New file.
6354 * gdb.base/reread1.c: New file.
6355 * gdb.base/reread2.c: New file.
6356
6357Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6358
6359 * config/sim.exp: Use 'target sim -sparclite' when running
6360 SPARClite programs.
6361
6362Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6363
6364 * gdb.base/structs2.exp: New file.
6365 * gdb.base/structs2.c: New file.
6366
6367Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6368
6369 * gdb.asm/common.inc: New file.
6370 * gdb.asm/d10v.inc: New file.
6371 * asm-source.exp: Pass -I's to gas to find .inc files.
6372 Update line numbers in expected output.
6373 * asmsrc1.s: Rewrite.
6374 * asmsrc2.s: Rewrite.
6375 * configure.in: Create arch.inc symlink.
6376 * configure: Regenerate.
6377 * Makefile.in (distclean): Delete arch.inc.
6378
6379Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6380
6381 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6382 (t_enum_value2): ditto
6383 (t_enum_value3): ditto
6384 (main): ditto
6385Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6386
6387 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6388 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6389 change.
6390 Use gdb_test instead of send_gdb/gdb_expect sequences.
6391
6392Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6393
6394 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6395 not void.
6396
6397Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6398
6399 * gdb.base/branches.c: Code with lots of loops and
6400 subroutines. Used to test gdbs ability to single step through PC
6401 changes, especially to test mips-tdep.c:mips_next_pc
6402
6403Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6404
6405 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6406 more rigorous EGCS C++ error checking.
6407
6408Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6409
6410 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 6411 tests.
c906108c 6412 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 6413 function when asleep.
c906108c 6414 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
6415 for i*86 Linux and SVR4 signal handling problems.
6416 Remove linux xfail for `next to handler in signals_tests_1', fixed
6417 by recent infrun.c change.
c906108c 6418 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 6419 stack backtraces.
c906108c
SS
6420 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6421 target.[ch] change.
6422
6423Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6424
6425 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6426 for a newline from gdb before continuing.
6427 (default_gdb_exit): Just look for y or n.
6428 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6429 it does, fail the rests of the tests in the file.
6430
6431Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6432
6433 * config/cygmon.exp: New file.
6434
6435Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6436
6437 * gdb.base/list.exp: Fix problem with "list default lines around
6438 main" test on remote targets.
6439
6440 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6441 run test on remote targets.
6442
6443Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6444
6445 * gdb.asm: New directory.
6446 * configure.in: Configure it.
6447 * configure: Regenerate.
6448 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6449 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6450
6451Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6452
6453 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6454
dc96c6c7 6455Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6456
c906108c
SS
6457 * gdb.base/overlays (several files): Merge the two overlay
6458 managers into one. Change variables (foox, barx, bazx, grbxx)
6459 back into ints but force them to load in their proper sections.
6460
6461Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6462
6463 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6464 on-chip insn memory and IMAP1 to upper 128k.
6465 (D10VCopy): Handle memory regions crossing 16k boundaries.
6466 (D10VCopy): Transfer data in 32 bit chunks.
6467
6468Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6469
6470 * gdb.base/overlays.c (main): Exit normally when result is
6471 correct.
6472
6473 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6474 map. Include space for printf in .text segment.
6475
6476 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6477 updated d10v memory VMA/LMA map.
6478 (D10VCopy): Call D10VTranslate.
beb998c6 6479
c906108c
SS
6480Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6481
6482 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6483
6484 * gdb.base/bar.c (barx, bar): Change variable to small array so
6485 that it won't be put into the .sdata - small data -
6486 section. Update reference.
6487 * gdb.base/baz.c (bazx, baz): Ditto.
6488 * gdb.base/foo.c (foox, foo): Ditto.
6489 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6490
6491 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6492 to be arrays.
beb998c6 6493
dc96c6c7 6494Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6495
c906108c
SS
6496 * gdb.base/overlays.exp: fix up and get working again.
6497 Add tests for backtraces from an overlay function.
beb998c6 6498
c906108c
SS
6499Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6500
6501 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6502 "calling function with watchpoint enabled".
6503
6504Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6505
6506 * gdb.base/break.exp (test_next_with_recursion): Remove
6507 gdb_suppress_tests for d10v-*-*.
6508 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6509 pending review of whether it is useful or not.
6510
6511Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6512
6513 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6514
6515Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6516
6517 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6518 * config/dve.exp: New file to support Densan boards.
6519
6520Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6521
6522 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6523 reads and BSD.
6524
6525Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6526
6527 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6528 response.
6529
6530 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6531
6532Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6533
6534 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6535 test.
6536
6537 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6538 target_sizeof_long and target_bigendian_p.
6539 (structs_by_value, structs_by_reference): Check values according
6540 to targets word size and endianess.
beb998c6 6541
c906108c
SS
6542Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6543
6544 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6545 output.
6546
6547Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6548
6549 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6550 Update test of set args help to match source change.
6551
6552Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6553
6554 * gdb.base/default.exp: Expect help system output to be in
6555 alphabetical order.
6556 * gdb.base/help.exp: Ditto.
6557
6558Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6559
6560 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6561 "i*86-pc-linux-gnu*".
6562 * gdb.base/interrupt.exp: Ditto.
6563 * gdb.base/corefile.exp: Ditto.
6564
6565 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6566 define vxworks when building the testcase.
6567
6568 * gdb.base/ptype.exp: Fix testnames to be unique.
6569 * gdb.base/radix.exp: Ditto.
6570 * gdb.base/term.exp: Ditto.
6571 * gdb.base/whatis.exp: Ditto.
6572 * gdb.c++/classes.exp: Ditto.
6573
6574Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6575
6576 * gdb.base/callfuncs.exp: Fix indentation.
6577
6578 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6579 suppress_flag has been set.
6580 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6581 target feature.
6582
6583Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6584
6585 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6586 the testcase.
6587
6588 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6589 set_debug_traps() and breakpoint().
6590 * gdb.c++/misc.cc (main): Ditto.
6591 * gdb.c++/templates.cc (main): Ditto.
6592 * gdb.c++/virtfunc.cc (main): Ditto.
6593
6594Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6595
6596 * lib/gdb.exp(gdb_step_for_stub): New function.
6597 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6598 exists, reload the executable and do a "continue" instead of
6599 doing a jump.
6600 (runto_main): Use gdb_step_for_stub.
beb998c6 6601
c906108c
SS
6602 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6603 tests to have unique names.
6604 * gdb.base/callfuncs.exp: Ditto.
6605 * gdb.base/commands.exp: Ditto.
6606 * gdb.base/default.exp: Ditto.
6607 * gdb.base/help.exp: Ditto.
6608 * gdb.base/list.exp: Ditto.
6609 * gdb.base/opaque.exp: Ditto.
6610 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6611 similar tests.
beb998c6 6612
c906108c
SS
6613 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6614 * gdb.c++/cplusfuncs.cc: Ditto.
6615 * gdb.c++/virtfunc.cc: Ditto.
6616
6617 * config/monitor.exp: Keep track of the last file we saw, rather
6618 than trying to get the info from gdb.
6619
6620 * gdb.fortran/types.exp: Move comment to previous line.
6621
6622Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6623
6624 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6625 target mode.
6626
6627Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6628
6629 From Bob Manson:
6630 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6631 string from GDB when it connects.
6632
6633 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6634
6635Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6636
6637 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6638 if we can't get a debug format from GDB (we may be testing an
6639 older GDB). Use a 10 second timeout when checking for the format.
6640
6641 * gdb.stabs/weird.exp: Fix quoting.
6642
6643 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6644
6645Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6646
6647 * config/arm-ice.exp: New file.
6648
6649Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6650
6651 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6652 until it has been modified to work with the new testsuite.
6653
99707966 6654 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6655 testcase won't compile, cause all of the testcases in the file to
6656 fail instead.
6657
6658 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6659 (gdb_clear_suppressed): New procedure.
6660 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6661 it contains a positive value.
6662
6663Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6664
6665 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6666
6667 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6668
6669Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6670
6671 * lib/gdb.exp (setup_xfail_format): New function.
6672 (get_debug_format): New function to get debug format.
6673 (debug_format): New global variable to hold last value set
6674 by get_debug_format.
6675 * gdb.base/list.exp: Call get_debug_format and expect some
6676 tests to fail for DWARF 1 and COFF formats.
6677 * gdb.c++/ptype.exp: Ditto.
6678 * gdb.c++/classes.exp: Ditto.
6679 * gdb.c++/cplusfuncs.exp: Ditto.
6680 * gdb.c++/inherit.exp: Ditto.
6681 * gdb.c++/templates.exp: Ditto.
6682 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 6683
c906108c
SS
6684Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6685
6686 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6687 host doesn't have a currently-open connection.
6688
6689 * config/sparclet.exp: Cleanups and fixes to make it generic for
6690 any gdb stub target. Handle cases where gdb doesn't respond when
6691 interrupted in a sane fashion.
6692
6693 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6694 same thing in a totally different way.
6695
6696 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6697 setting "timeout".
6698 (gdb_start): We set the global gdb_prompt variable in
6699 default_gdb_init now.
6700
6701Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6702
6703 * gdb.base/printcmds.exp: Fix "check for floating addition"
6704 regexp to accept results within approx +/- .01 of exact value.
6705 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6706
6707Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6708
6709 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6710 properly.
6711 (gdb_expect): Add optional timeout parameter, and add timeout
6712 value to various calls.
6713 (gdb_suppress_tests): Only give one warning message per group.
6714
6715Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6716
6717 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6718 global variables. Handle getting a value for $timeout more
6719 gracefully.
6720
6721Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6722
6723 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6724 initialize.
6725 (default_gdb_init): New procedure; allow gdb_init to be overridden
6726 by a target configuration file.
6727 (gdb_expect): Pass the timeout to remote_expect.
6728
6729 * config/monitor.exp(gdb_load): Fix typo in regexp.
6730
6731Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6732
6733 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6734
6735Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6736
6737 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6738 here. Call gdb_target_exec before rebooting the target, to make
6739 sure the connection to the target is closed.
6740 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6741 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6742 Also detect "Timeout reading from remote" error.
6743
6744 * config/gdbserver.exp: Pass the executable being loaded to
6745 gdb_target_monitor. Don't call gdb_file_cmd here; let
6746 gdb_target_monitor do it.
6747
6748 * gdb.disasm/hppa.exp: Don't use exec_output.
6749
6750Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6751
6752 * gdb.base/list.exp: If we're debugging a non-native target,
6753 try to set the pc register to point to the start of the
6754 program before doing the first list command.
6755
6756 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6757 test_calls after restarting.
6758
6759 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6760 reloading.
6761
6762 * gdb.base/watchpoint.exp: Fix typo.
6763
6764 * gdb.base/setshow.exp: Check for use_gdb_stub.
6765
6766 * gdb.base/break.exp: Fix continue until exit test for the gdb
6767 stub case.
6768 * gdb.base/langs.exp: Ditto.
6769
6770 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6771 gdb_load_offset. If we weren't given a file to load, figure out
6772 what the current file is and use it.
6773
6774 * config/i386-bozo.exp: New file.
6775
6776Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6777
6778 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6779 feature.
6780
6781 * config/proelf.exp: New entry.
6782
6783Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6784
6785 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6786 of regexps.
6787
6788 * gdb.base/watchpoint.exp: Don't run the test_stepping
6789 tests if gdb can't call functions on the target.
6790
6791 * gdb.base/setshow.exp: Don't run the set prompt tests if
6792 the board has gdb_prompt set.
6793
6794Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6795
6796 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6797 * gdb.base/commands.exp: Likewise.
6798 * gdb.base/setshow.exp: Likewise.
6799
6800Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6801
6802 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6803 feature.
6804
6805 * config/i960.exp: New file.
6806
6807Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6808
6809 * gdb.base/funcargs.exp: Check for gdb,short_int target
6810 feature instead of looking for explicit target triplets.
6811
dc96c6c7 6812Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6813
beb998c6 6814 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6815 "p 123DEADBEEF", to check parse_number.
6816 * top.c: change "to enable to enable" to "to enable" in a couple
6817 of help strings.
6818
6819Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6820
6821 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6822 on the mn10300.
beb998c6 6823
c906108c
SS
6824Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6825
6826 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6827 where the test executable is run with explicit args.
6828 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6829
6830Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6831
6832 * gdb.base/run.c: Use FAKEARGV to build test executable that
6833 does not require a command line arg, since most simulators
6834 don't currently support passing such an arg into the simulated
6835 program.
6836 * gdb.base/commands.exp: Change tests to insert the proper
6837 value as the arg to the first recursive factorial call. Change
6838 compilation line to define FAKEARGV at compile time.
6839
6840Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6841
6842 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6843 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6844 function with watchpoint enabled" test.
6845
6846Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6847
6848 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6849 Don't call gdb_test when the command doesn't return to a gdb prompt.
6850
6851 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6852 "Tests restarted" messages.
6853
6854Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6855
6856 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6857
dc96c6c7 6858Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6859
6860 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6861 for INFO SYMBOL; add help tests for OVERLAY commands.
6862 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6863 add tests for OVERLAY commands
6864 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6865 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6866 * gdb.base/sigall.c: add usestubs code frag
6867 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6868
c906108c
SS
6869Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6870
6871 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6872 failures.
6873 (gdb_stop_suppressing_tests): Note that tests have restarted.
6874
6875Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6876
6877 * config/h8300.exp: New file.
6878
6879Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6880
6881 * gdb.base/setshow.exp: Check for the existence of a
6882 feature, not its value.
6883
6884Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6885
6886 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6887
6888 * gdb.base/scope.exp: It's now init0(), not init().
6889
6890 * gdb.base/scope0.c: For now, change init() to be init0().
6891
6892 * config/monitor.exp: Use gdb_serial in preference to serial
6893 or netport.
6894
6895 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6896 and it's not already set.
6897
6898Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6899
6900 * gdb.base/setshow.exp: Only test the run command if the target
6901 isn't using a stub and if it supports argument passing.
6902
6903Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6904
6905 * config/udi.exp(gdb_start): Make sure UDICONF is set
6906 properly before starting gdb.
6907
6908Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6909
6910 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6911 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6912 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6913
6914Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6915
6916 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6917 specialized code to reboot the board, use remote_reboot instead.
6918
6919 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6920
6921 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6922
6923 * config/monitor.exp: Make sure we disconnect from the target.
6924 Also, try a reboot/reload cycle instead of failing if the
6925 load fails.
6926
6927Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6928
6929 * gdb.base/default.exp: Don't set match_max.
6930 * gdb.base/help.exp: Ditto.
6931 * gdb.base/list.exp: Ditto.
6932 * gdb.base/signals.exp: Ditto.
6933
6934 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6935 set, use remote_ld to download the testcase instead of
6936 the GDB loader.
6937
6938Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6939
6940 * config/vr5000.exp: New file.
6941
6942 * config/monitor.exp(gdb_target_monitor): Add pattern for
6943 "Ending remote" to detect errors in connecting.
6944
6945 * gdb.base/setshow.exp: Add .* within auto language test.
6946
6947 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6948 target feature.
6949
6950 * config/monitor.exp(gdb_load): Check for a failure when loading,
6951 and reboot the board if necessary.
6952
6953 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6954 a set of tests. Remove print.* from the patterns being checked.
6955
6956Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6957
6958 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6959 refer to gdb_spawn_id.
6960
6961 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6962 longer used.
6963 * config/sparclet.exp: Ditto.
6964 * config/sparclet-old.exp: Ditto.
6965 * config/slite.exp: Ditto.
6966 * config/sim.exp: Ditto.
6967 * gdb.base/funcargs.exp: Ditto.
6968
6969 * lib/gdb.exp:Remove references to gdb_spawn_id.
6970 (gdb_expect): Move to remote.exp.
6971
6972Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6973
6974 * config/monitor.exp: Detect the "Couldn't establish connection"
6975 message from GDB.
6976
6977Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6978
6979 * gdb.base/bitfields.exp: Use runto instead of explicit
6980 gdb_run_cmd/gdb_expect sequences.
6981
6982 * gdb.base/break.exp(text_next_with_recursion): Add match for
6983 gdb_expect call.
6984
6985 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6986 We also need to handle the "A program is being debugged already"
6987 prompt from gdb. Use gdb_test to set the baud rate.
6988
6989 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6990 to 20000. Really. I mean it.
6991
6992Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6993
6994 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6995 fails. If suppress_flag is set, skip perror message about not
6996 being able to send to GDB.
6997 (send_gdb): If suppress_flag is set, don't try to send commands to
6998 GDB.
6999 (gdb_expect): If suppress_flag is set, always fail immediately.
7000 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7001 (gdb_init): Call gdb_stop_suppressing_tests.
7002 (default_gdb_exit): Ditto.
7003 (default_gdb_start): Ditto.
7004
7005 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7006 gdb_stop_suppressing_tests as appropriate.
7007 * gdb.base/break.exp: Ditto.
7008 * gdb.base/callfuncs.exp: Ditto.
7009 * gdb.base/commands.exp: Ditto.
7010 * gdb.base/exprs.exp: Ditto.
7011 * gdb.base/funcargs.exp: Ditto.
7012 * gdb.base/list.exp: Ditto.
7013 * gdb.base/recurse.exp: Ditto.
7014 * gdb.base/scope.exp: Ditto.
7015 * gdb.base/structs.exp: Ditto.
7016 * gdb.c++/inherit.exp: Ditto.
7017
7018Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7019
7020 * config/vr4300.exp: New file.
7021
99707966
MC
7022 * gdb.*/*.exp: Call gdb_expect instead of expect.
7023
7024 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
7025
7026Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7027
7028 * lib/gdb.exp(gdb_init): New function.
7029
7030 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7031 for each individual variable set.
7032
7033 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7034 name.
7035
7036 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7037
7038 * gdb.base/scope.exp: Use gdb_test.
7039
7040 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7041 aborting; the testsuite driver will do that for us (see
7042 gdb_finish). Also, use gdb_test in a few more places.
7043
7044Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7045
7046 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7047
7048Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7049
7050 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7051 and "add_tests" are not at the same address.
7052
7053Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7054
7055 * gdb.base/ptype.exp: Use gdb_test.
7056
7057Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7058
7059 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7060 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7061 left in. No longer expect them to fail.
7062
7063 * gdb.stabs/*.mt; Deleted, no longer used.
7064 * gdb.stabs/configure.in: Remove references to target makefile
7065 frags.
7066 * gdb.stabs/configure: Rebuilt.
7067
7068 * gdb.disasm/*.mt: Deleted, no longer used.
7069 * gdb.disasm/configure.in: Remove references to target makefile
7070 frags. Use "sh3.s" as the unique filename for this directory.
7071 * gdb.disasm/configure: Rebuilt.
7072
7073 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7074 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7075 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7076
7077Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7078
7079 * config/udi.exp: Use mondfe,name instead of remote_host.
7080
7081Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7082
7083 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7084 a function with a watchpoint enabled on the mn10200.
7085
7086 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7087 before trying to create it!
7088
7089Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7090
7091 * config/vx.exp: Use hostname instead of netport.
7092
7093 * config/vxworks.exp: New file.
7094
7095 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7096
7097 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7098 gdb before assuming everything worked. Send a ^C if a timeout
7099 occurs.
7100
7101 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7102 $gdb_spawn_id directly.
7103 (gdb_run_cmd): Try _start as well as start. Use the target feature
7104 gdb,start_symbol as the symbol to start from when jumping.
7105
7106Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7107
7108 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7109 redundant) test.
7110
7111 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7112 it doesn't lose for 16bit integer systems.
7113
7114Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7115
7116 * gdb.fortran/types.exp: If the target doesn't support "double"
7117 data types, then expect "real" types to only be 4 bytes.
7118
7119 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7120 call tests if the target doesn't support inferior function calls.
7121
7122 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7123 in printf tests.
7124
7125Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7126
7127 * gdb.base/help.exp: Disable "help set", "help show", and
7128 "help support". Simplify regexp for "help stack".
7129
7130 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7131 to 60 seconds. Temporarily set match_max to 15000 around the
7132 "info copying" test.
7133
7134 * gdb.base/nodebug.exp: Don't try to do an inferior function
7135 call if the target doesn't support them.
7136 * gdb.base/printcmds.exp: Likewise.
7137 * gdb.base/setvar.exp: Likewise.
7138 * gdb.base/structs.exp: Likewise.
7139 * gdb.c++/templates.exp: Likewise.
7140 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7141
7142 * gdb.base/recurse.exp: Enable for the mn10200.
7143
7144 * configure.in: Do configure gdb.stabs directory for *-*-elf
7145 targets.
7146 * configure: Rebuilt.
7147
7148 * gdb.base/break.exp: Check for gdb,noresults before testing
7149 exit status and/or results from the target.
7150 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7151 * lib/gdb.exp: Remove old (now bogus) initialization of
7152 noinferior, noargs, noresults and nosignals.
7153
7154Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7155
7156 * config/sh.exp: New file.
7157
7158 * config/slite.exp: Try to connect multiple times to the board
7159 before rebooting. Only send a "monitor run" if need_monitor_run
7160 is set.
7161
7162 * gdb.base/break.exp: Don't do the "stub continue" test if
7163 the target has gdb_stub set.
7164
7165 * gdb.base/callfuncs.exp: Increase the timeout.
7166
7167 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7168 if the target has gdb,noinferiorio set.
7169
7170 * gdb.base/list.exp: Increase match_max to 10000 characters.
7171
7172 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7173
7174 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7175 target.
7176
7177 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7178
7179Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7180
7181 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7182 trying to delete the copy of gdb. Catch the file delete so we
7183 don't die if the delete fails; also, the file should be copied to
7184 the host, not to the build.
7185
7186Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7187
7188 * lib/gdb.exp(gdb_test): Surround the result pattern with
7189 parenthesis in case it contains multiple regexps separated
7190 with |.
7191
7192 * gdb.base/watchpoint.exp: Use gdb_test.
7193 * gdb.base/default.exp: Ditto.
7194
7195Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7196
99707966 7197 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 7198
c906108c
SS
7199 * gdb.base/scope.exp: Use gdb_test.
7200 * gdb.c++/classes.exp: Ditto.
7201 * gdb.c++/inherit.exp: Ditto.
7202
7203Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7204
7205 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7206 remote_exec instead.
7207 * gdb.base/corefile.exp: Don't be ridiculous.
7208 * gdb.base/*.c: Add missing stub invocations.
7209
7210Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7211
7212 * config/slite.exp: Miscellaneous fixes.
7213
7214 * lib/gdb.exp: Fix runto.
7215
7216 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7217 the target.
7218
7219 * gdb.base/watchpoint.exp: Fix regexp.
7220
7221 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7222 close and wait commands, as the descriptor may now be
7223 invalid. Always call "remote_close host".
7224
7225Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7226
7227 Major rewrite for testsuite revision.
beb998c6 7228
c906108c
SS
7229 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7230 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7231 instead of relying on spawn_id to always contain a valid
7232 spawn id.
7233 (get_compiler_info): New procedure to build the ${binfile}.ci
7234 file, instead of replicating this in N different places.
7235 (gdb_compile): New procedure.
beb998c6 7236
c906108c
SS
7237 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7238 appropriate arguments) instead of compile. Use gdb_test in a lot
7239 more places. Use send_gdb instead of send. Always run gdb_start
7240 at the start of a testcase, as this is no longer done magically.
7241
7242 config/*-gdb.exp: Rename without the -gdb suffix.
7243
7244 config/mips.exp: Use remote_close instead of exit_remote_shell.
7245 config/monitor.exp: Use target_info instead of looking at
7246 baud, timeout, etc.
7247 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7248
7249Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7250
7251 * gdb.c++/templates.exp (test_ptype_of_templates),
7252 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7253 Update expect patterns for destructors and assignment operators
7254 to match corresponding c-typeprint.c changes.
7255 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7256 to destructor breakpoint test, GDB should be able to set the
7257 destructor breakpoint without specifying arguments.
7258
7259Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7260
7261 * gdb.threads/pthreads.exp: Change result for failure to compile due
7262 to lack of pthreads runtime support from an error to simply an
7263 unsupported test, per dejagnu standards.
7264
7265Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7266
7267 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7268 where GDB exits to reduce pattern match time.
7269 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7270
7271 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7272
dc96c6c7 7273Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7274
7275 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7276 * gdb.base/default.exp: ditto.
7277 * gdb.base/nodebug.exp: ditto.
7278 * gdb.base/printcmds.exp: ditto.
7279 * gdb.base/ptype.exp: ditto.
7280 * gdb.base/setvar.exp: ditto.
7281 * gdb.base/structs.exp: ditto.
7282 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7283
7284Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7285
7286 * configure, */configure: Rebuild with autoconf 2.12.
7287
7288Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7289
7290 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7291 use new i*86-pc-linux*-gnu quads.
7292 * gdb.base/corefile.exp: Ditto.
7293 * gdb.base/signals.exp: Ditto.
7294 * gdb.base/sigall.exp: Ditto.
7295 * gdb.base/interrupt.exp: Ditto.
7296
7297 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7298 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7299 RedHat 4.0.
beb998c6 7300
c906108c
SS
7301 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7302 linux. This allows the test case to at least compile on latest
7303 linux, but still not run due to missing the threads runtime library.
7304
7305Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7306
7307 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7308 directory to search gdb directory. Accept and step over conditional
7309 stack alignment code. Consume $prompt in failure cases.
7310 Reset timeout to $oldtimeout instead of some arbitrary value.
7311 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7312 timeout problems with infinite stack backtraces.
7313 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7314 Accept function parameters for linkfunc member.
7315
7316Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7317
7318 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7319 (CXXFLAGS): Remove, unreferenced.
7320 (B_OPTIONS): Add for -B options and add code to initialize with
7321 previous -B options and also add -B option to pick up cross compiled
7322 runtime.
7323 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7324 doing cross compiles.
7325 (target_alias): Declare global.
7326 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7327 to verify that gcc exists in build tree, and if so set CC to that
7328 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 7329
c906108c
SS
7330Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7331
7332 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7333 ptype test for anonymous union. Fixup testcase to match
7334 current gcc debug output.
7335
7336Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7337
7338 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7339 force argument to an unsigned long type.
7340
7341Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7342
7343 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7344 tests and anonymous union print/ptype tests.
7345 * gdb.base/list.exp (test_forward-search): Increase timeout by
7346 5 minutes for the "search extremely long line" case.
7347 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7348 completely optional and that the pass/fail messages use the command as
7349 the message if that third arg is a null string.
7350 (gdb_test_exact): Arrange that a null string pattern means match a
7351 null string output rather than any output, which might include random
7352 errors.
7353 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7354 backtrace test.
7355 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7356 always failing and failure is now exposed by gdb.exp changes.
7357
7358Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7359
7360 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7361 weren't being noted.
7362
7363Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7364
7365 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7366 * gdb.stabs/weird.exp: Remove v_comb xfails.
7367
dc96c6c7 7368Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7369
7370 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7371 list.exp scope.exp watchpoint.exp]
7372 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 7373
dc96c6c7 7374Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7375
7376 * config/monitor.exp: Increase download timeout to 1000 seconds.
7377
dc96c6c7 7378Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7379
7380 * config/m32r.exp: Increase timeout to 120 seconds.
7381
7382Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7383
7384 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7385 and accept older ordering as obsolescent gcc or gdb.
7386 * gdb.c++/templates.exp: Ditto.
7387 * gdb.c++/virtfunc.exp: Ditto.
7388
7389Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7390
7391 * gdb.base/coremaker.c: Add code to mmap some data so we
7392 can check that it ends up in the core file.
7393 * gdb.base/corefile.exp: Add test to read mmapped data
7394 from core file.
7395
dc96c6c7 7396Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7397
7398 * config/m32r.exp: New file.
7399
7400Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7401
7402 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7403 that cflags can contains -gstabs, and work correctly for other tests.
7404
dc96c6c7 7405Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7406
7407 * gdb.base/setshow.exp: New file, tests show and set.
7408 * gdb.base/setshow.c: New file, tests show and set.
7409 * gdb.base/help.exp: Add test for help set|show annotate.
7410 * gdb.base/default.exp: Add test for set|show annotate.
7411
7412Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7413
7414 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7415 errors unique.
7416 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7417 explicitly.
7418
7419Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7420
7421 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7422 and width commands. This is done elsewhere.
7423 * (gdb_start): Don't call gdb_start_sim here. That's already
7424 done in gdb_load. This fixes lots of failures in default.exp.
7425
7426Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7427
7428 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7429 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7430 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7431 in the same we we treat other failures (since it may be an expected
7432 condition), rather than as an error.
7433 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7434 old test format.
7435
7436Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7437
7438 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7439 (distclean maintainer-clean realclean): No need to remove files
7440 twice. Nuke the duplicates.
7441 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 7442 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7443 Remove config.h along with other config files.
7444
7445Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7446
7447 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7448 "p func1 ()" and note that rests of tests are skipped.
7449 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7450 setup_xfails for "print func2::coremaker_local".
7451 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7452 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7453 affected by the previous run test.
7454 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7455 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7456 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7457 "pass int powerset tuple" and "pass modeless int powerset tuple".
7458 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7459 "real write 4" and "real write 8".
7460 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7461 setup_xfails for "print vs1 after tuple assign 2",
7462 "print \$i after tuple assign 2", and
7463 "print vs2 after tuple assign 2".
7464 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7465 meaningful error message and return -1 so the caller can
7466 suppress further tests and avoid a cascade of errors.
beb998c6 7467
c906108c
SS
7468Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7469
7470 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7471 format for printing version.
7472 * gdb.base/default.exp: Ditto.
7473 * gdb.base/interrupt.exp: Fix problem with cascade of
7474 errors if child process dies while calling a function.
beb998c6 7475
c906108c
SS
7476Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7477
7478 * Makefile.in (VPATH): Add
7479 * Makefile.in (Makefile, config.status): Fix rules so things get
7480 remade when necessary.
7481
7482Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7483
7484 * Makefile.in (just-check): Add path to sibling expect dir
7485 to environment variable specified by RPATH_ENVVAR.
7486
7487Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7488
7489 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7490 (just-check): Add shared library paths for libstdc++, tk,
7491 tcl, bfd, and opcodes to the environment variable specified
7492 in RPATH_ENVVAR.
7493 * configure.in: Add support to recognize --enable-shared flag
7494 and generate correct value for RPATH_ENVVAR.
7495 * configure: Regenerated with autoconf.
7496
7497Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7498
7499 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7500 include all osf versions.
7501 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7502 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7503 when target is linux. When failing to build pthreads test
7504 executable, give more meaningful message.
7505 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7506 arg for pthread_create.
beb998c6 7507
c906108c
SS
7508Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7509
7510 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7511 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7512 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7513 and -lpthreads (everybody else).
7514 (test_startup): Fail gracefully if threads are not supported.
7515 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7516 "p/c array_index("abcdef",2)" when not gcc compiled.
7517 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7518 "print func2::coremaker_local" when not gcc compiled.
7519 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7520 "ptype on opaque struct tagname (statically)",
7521 "ptype on opaque struct tagname (dynamically) 1", and
7522 "ptype on opaque struct tagname (dynamically) 2"
7523 for not compiled with gcc.
7524 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7525 backtrace when compiled with gcc.
beb998c6 7526 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7527 than always return success.
7528
7529Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7530
7531 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7532
7533Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7534
7535 * gdb.base/structs.exp: Undo last change.
7536
7537Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7538
7539 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7540 encapsulate all the steps/nexts done during self test, starting
7541 at main, and makes them less sensitive to optimization issues.
7542 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7543 signal handler" test.
7544 * gdb.threads/pthreads.exp: Only run this for native configs.
7545 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7546 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7547 tests.
7548 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7549 for "runto test_calls(void)" test.
beb998c6 7550
c906108c
SS
7551Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7552
7553 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7554 and don't expect address info in breakpoint confirmations.
7555
7556Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7557
7558 * gdb.base/list.exp (test_forward_search): Increase timeout
7559 temporarily by 60 seconds for searching extremely long line,
7560 and then reset to old value when done. Increase expect input
7561 buffer to 10000.
7562
7563Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7564
7565 * gdb.base/list.exp (test_forward_search): Fix to handle very
7566 long source line without overflowing expect's input buffer.
7567
7568Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7569
7570 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7571 "buffer_full".
7572
7573 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7574 "buffer_full".
7575
7576 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7577 "buffer_full".
7578
7579 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7580 "buffer_full".
7581
7582Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7583
7584 * configure.in (configdirs): Add gdb.threads.
7585 * configure: Regenerated with autoconf.
7586 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7587 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7588 * gdb.threads/configure: New, generated with autoconf.
beb998c6 7589
c906108c
SS
7590Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7591
7592 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7593
7594Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7595
7596 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7597 each signal's status in the output of "handle all print".
7598 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7599 the \r\n sequence that immediately precedes the gdb prompt.
7600 * gdb.base/a1-selftest.exp: Save original timeout and restore
7601 after test.
7602
7603Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7604
7605 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7606 symbol.
7607
7608Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7609
7610 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7611
7612Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7613
7614 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7615 timeout by 60 seconds.
7616
7617Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7618
7619 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7620 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7621 error return.
7622
7623Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7624
7625 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7626 gdb initialization, also report how long dejagnu waited. Restore
7627 old timeout before doing error return. Temporarily increase timeout
7628 by 3 minutes to allow for slow startups over heavy NFS use.
7629
7630Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7631
7632 * lib/gdb.exp: Report timeout value for verbosity level 2.
7633 * config/gdbserver.exp: Ditto.
7634 * config/hppro.exp: Ditto.
7635 * config/mips-gdb.exp: Ditto.
7636 * config/monitor.exp: Ditto.
7637 * config/netware.exp: Ditto.
7638 * config/sim-gdb.exp: Ditto.
7639 * config/slite-gdb.exp: Ditto.
7640 * config/udi-gdb.exp: Ditto.
7641 * config/unix-gdb.exp: Ditto.
7642 * config/vx-gdb.exp: Ditto.
7643 * gdb.base/a1-selftest.exp: Ditto.
7644 * gdb.base/a2-run.exp: Ditto.
7645 * gdb.base/break.exp: Ditto.
7646 * gdb.base/corefile.exp: Ditto.
7647 * gdb.base/list.exp: Ditto.
7648 * gdb.base/recurse.exp: Ditto.
7649 * gdb.base/scope.exp: Ditto.
7650 * gdb.base/signals.exp: Ditto.
7651
7652Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7653
7654 * gdb.threads/Makefile.in (docdir): Removed.
7655
7656Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7657
7658 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 7659 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7660 @srcdir@.
beb998c6 7661 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7662 autoconf 2.5 or higher.
7663 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7664
7665Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7666
7667 * configure: Regenerated.
7668 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7669 avoid name clashes with SunOS headers.
7670
7671Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7672
7673 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7674
7675Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7676
7677 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7678 prototype information ends up in the compiler info file.
7679
7680Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7681
7682 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7683 attempting to regenerate it. Eliminate use of a temporary file
7684 and just generate the info file directly. Source it immediately,
7685 for consistency of use.
7686 * gdb.base/corefile.exp: Ditto
7687 * gdb.base/exprs.exp: Ditto.
7688 * gdb.base/funcargs.exp: Ditto.
7689 * gdb.base/langs.exp: Ditto.
7690 * gdb.base/list.exp: Ditto.
7691 * gdb.base/mips_pro.exp: Ditto.
7692 * gdb.base/nodebug.exp: Ditto.
7693 * gdb.base/opaque.exp: Ditto.
7694 * gdb.base/ptype.exp: Ditto.
7695 * gdb.base/scope.exp: Ditto.
7696 * gdb.base/setvar.exp: Ditto.
7697 * gdb.base/signals.exp: Ditto.
7698 * gdb.base/whatis.exp: Ditto.
7699 * gdb.c++/templates.exp: Ditto.
7700 * gdb.c++/virtfunc.exp: Ditto.
7701 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7702 whether or not to add -lstdc++ to the compile command line args.
7703
7704Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7705
7706 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7707 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7708 Increase timeout, a lot of single stepping might be needed if the
7709 target has no hardware watchpoints.
7710
7711Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7712
7713 * gdb.base/break.exp: Ignore compiler warnings when compiling
7714 break.c.
7715 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7716 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7717 from remote-sim.
7718 * gdb.base/exprs.exp: Add h8300 xfails.
7719 * gdb.base/funcargs.exp: Likewise.
7720 * gdb.base/nodebug.exp: Likewise.
7721 * gdb.base/printcmds.exp: Likewise.
7722 * gdb.base/ptype.exp: Likewise.
7723 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7724 h8300 xfails.
beb998c6 7725 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7726 on the h8300.
7727 * gdb.base/funcargs.c: Explicitly make last constant argument to
7728 call_after_alloca_subr an unsigned long type.
7729 * gdb.base/return.c: Include stdio.h.
7730
7731Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7732
7733 * config/abug.exp: New file for the older Motorola Bug monitor
7734 that runs on the mvme13x series VME boards.
7735 * config/monitor.exp: Use the new config array for target settings
7736 if they exist.
7737
7738Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7739
7740 * sim-gdb.exp: Make the SH simulator allocate less space when
7741 it is targeted.
7742
7743Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7744
7745 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7746 test.
7747
7748Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7749
7750 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7751 "rs6000-*-*" for "list function in include file" when gcc compiled.
7752 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7753 for "p ctable1[120]".
7754 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7755 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7756 Remove setup_xfail for "rs6000-*-*" for
7757 "print 'scope0.c'::filelocal before run".
7758 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7759 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7760 since some compilers don't allow both options to be given
7761 on the same command line. Create object file and move it.
beb998c6 7762
c906108c
SS
7763Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7764
7765 * gdb.base/corefile.exp: Always regenerate the core file, since
7766 we always regenerate the coremaker program. Detect special case
7767 where registers cannot be read from core file.
beb998c6 7768
c906108c
SS
7769Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7770
7771 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7772 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7773 * gdb.c++/templates.exp: Only match on basename of file since
7774 some formats like xcoff don't encode directory information.
7775 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7776 and rs6000 AIX xcoff targets.
7777 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7778 * configure: Regenerate.
7779 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7780 here, rather than in distclean.
beb998c6 7781
c906108c
SS
7782Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7783
7784 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7785 defined, and use it to compile the test case with -O2. The
7786 native compilation still uses no optimization.
7787 * gdb.base/mips_pro.c: Remove inline assembly code since
7788 it is compiled PIC by default, which results in assembler
7789 warnings that make the testsuite think the compilation
7790 was unsuccessful.
7791
7792Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7793
7794 * gdb.c++/misc.exp: Add note to message for
7795 "print s.a for foo struct" that this is a known gcc 2.7.2
7796 and earlier bug.
7797
7798Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7799
7800 * gdb.base/break.exp: Fix pattern for matching "Delete all
7801 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7802 setup_xfail for deleting all breakpoints test. Fix various
7803 timeout messages to include "(timeout)".
7804 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7805 for "p t_float_values2(3.14159,float_val2)".
7806 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7807 for "continue to call2g" when gcc compiled.
7808 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7809 "up to foo in langs.exp", "show language at foo in langs.exp",
7810 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7811 and "show language at fsub in langs.exp".
7812 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7813 "list line 1 in include file", "list message for lines past EOF",
7814 "list function in include file", "list list0.h:foo", and
7815 "list filename:function; nonexistant function".
7816 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7817 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7818 and "ptype t_char_array" to be for native cc only.
beb998c6 7819
c906108c
SS
7820Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7821
beb998c6 7822 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7823 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7824 "print func2::coremaker_local", and "backtrace in corefile.exp".
7825
7826Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7827
7828 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7829 "bt in signals.exp". This problem only appears when running
7830 the testsuite, and then only intermittently.
7831
7832Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7833
7834 * gdb.base/return.exp (return_tests): Differentiate between
7835 two tests of continuing.
7836
7837Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7838
7839 * */Makefile.in (maintainer-clean): Remove config.log.
7840 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7841 * gdb.c++/Makefile.in (PROGS): Add inherit.
7842 (clean): Remove *.ci.
7843
7844Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7845
7846 * gdb.c++/misc.cc: Add test code from Mike Stump.
7847 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7848
7849Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7850
7851 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7852 to "alpha-*-osf2*" and add comment.
7853 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7854 setup_xfail for "step over execarg initialization" and
7855 "step over corearg initialization".
7856 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7857 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7858 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7859 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7860 "print func2::coremaker_local", and "backtrace in corefile.exp".
7861 * gdb.base/signals.exp: Build and source signals.ci.
7862 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7863 to be for gcc only.
7864 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7865
c906108c
SS
7866Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7867
7868 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7869 Feb 3 procfs.c change.
7870
7871Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7872
7873 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7874
7875Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7876
7877 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7878 from dejagnu's apparent default of 10 seconds, which gives random
7879 results when running the tests over NFS on moderately loaded systems.
7880 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7881
7882Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7883
7884 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7885 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7886 result reports.
7887
7888Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7889
7890 * configure.in (CY_AC_PATH_TCLH): Remove.
7891 * configure: Regenerate.
7892
7893Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7894
7895 * gdb.c++/Makefile.in (clean): Add missing '{'.
7896
7897Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7898
7899 * lib/gdb.exp: Provide a default value for noinferior.
7900
7901 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7902 Load libgloss.exp.
7903
7904Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7905
7906 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7907 the executable, not the .o to run the tests from.
7908
7909Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7910
7911 * gdb.base/break.exp: Don't test for program exit or exit status
7912 if $noresults if nonzero.
7913 * gdb.base/langs.exp: Likewise.
7914 * gdb.base/watchpoint.exp: Likewise.
7915
7916 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7917 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7918 trying to compile the testcase.
7919
7920Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7921
7922 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7923 * gdb.base/signals.exp (continue to handler): Likewise.
7924
7925Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7926
7927 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7928
7929 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7930
7931Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7932
7933 * gdb.base/corefile.exp: Recognize "not found" as failure
7934 when trying to determine if a core file was generated.
7935 If no core file was generate the first time, try again without
7936 the ulimit -c to work around braindamaged shells.
7937
7938Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7939
7940 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7941 [] tests with "test" and enclose string in quotes.
7942 * gdb.stabs/configure: Rebuild
beb998c6 7943
c906108c
SS
7944Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7945
7946 Changes in sync with expect:
7947 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7948 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7949 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7950 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7951 argument to AC_REQUIRE.
7952 * configure: Regenerated.
7953
7954Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7955
7956 * gdb.base/corefile.exp: When generating a core, discard any
7957 error messages about ulimit not found and the "core dumped"
7958 message from the shell that runs the coredumper.
7959
7960Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7961
7962 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7963
7964 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7965 which sed script to run. Expect failure for v_comb test
7966 on PA targets too.
beb998c6 7967
c906108c
SS
7968Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7969
7970 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7971 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7972
7973Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7974
7975 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7976 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7977 "sparc-sun-solaris*" xfails for "p v_comb".
7978 * lib/gdb.exp (default_gdb_start): Fix typo.
7979 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7980 messages to not include the full program name that caused
7981 the core dump since some systems (such as solaris) apparently
7982 truncate this path to about 80 characters.
7983 When generating a core file first try increasing the core file
7984 size limit to unlimited since some systems may default it to
7985 zero, and it is harmless to try it. Move the test for failing
7986 to generate a core file to where it will actually get executed.
7987 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7988 new gdb result from g++ debug info improvements and make old
7989 pattern obsolescent. Also account for size_t differences
7990 (may be int or long).
7991 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7992 initialization before function call is placed in the delay slot
7993 and thus appears to be skipped over by commands such as "next".
7994
7995Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7996
7997 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7998
7999Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8000
8001 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8002 input source file; fix code to compile test to deal with this
8003 convention.
8004 * gdb.c++/*.exp: Likewise.
8005
8006Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8007
8008 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8009 "bt in signals.exp".
8010
8011Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8012
8013 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8014 "step over execarg initialization" and
8015 "step over corearg initialization".
8016
8017Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8018
8019 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8020 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8021
8022Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8023
8024 From Rob Savoye (rob@poseidon.cygnus.com)
8025 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8026 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8027 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8028 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8029 configure.in}: Major reworking for autoconfig.
8030 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8031 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8032 New files.
8033 * config/unix-gdb.exp: Make GDB global.
8034 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8035 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8036 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8037 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8038 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8039 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8040 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8041 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8042 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8043 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8044 pr-8136.exp, result.exp, string.exp, tuples.exp},
8045 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8046 to returns as necessary, arrange for test to compile own testcase
8047 executable.
8048 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 8049
c906108c
SS
8050Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8051
8052 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8053 clear_xfail at end of test which might not call either pass or fail.
8054 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8055 "backtrace through signal handler".
8056
8057Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8058
8059 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8060 continuing from a job control stop signal.
8061 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8062
8063Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8064
8065 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8066 * gdb.base/corefile.exp: Likewise.
8067 * gdb.base/funcargs.exp: Likewise.
8068
8069Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8070
8071 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8072 * config/monitor.exp: Add support for setting baud rate.
8073
8074Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8075
8076 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8077 i*86-*-linux* xfails for "backtrace through signal handler".
8078 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8079 "print func2::coremaker_local".
8080 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8081 alpha-dec-osf2* xfail for
8082 "delete all breakpoints when none".
8083
8084Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8085
8086 * gdb.base/break.exp: Change test that deletes all breakpoints
8087 when no user breakpoints are installed. A post 4.15 change
8088 causes gdb to no longer prompt in this case.
8089
8090Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8091
8092 * gdb.base/return.exp (return_tests): Change xfail for test
8093 "correct value returned double test" to stop xfailing at
8094 Solaris 2.5. Apparently the bug has been fixed.
8095
8096Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8097
8098 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8099 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8100
8101Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8102
8103 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8104 * gdb.disasm/hppa.s: Corresponding changes.
8105
8106Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8107
8108 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8109 makefile fragment.
8110 * config/mt-hpux: Deleted.
8111
8112Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8113
beb998c6 8114 * Many files: When warning about suppressed tests due to a
c906108c
SS
8115 nonexistant test binary, avoid incrementing the warning count.
8116
8117Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8118
8119 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 8120
c906108c
SS
8121Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8122
8123 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8124 "sparc-*-solaris2*".
8125
8126Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8127
8128 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8129 Add global and local variables and initialize them.
8130 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8131 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8132 extracts the file name and terminating signal from the core file.
8133 * TODO: Remove note about tests for correct mapping of corefile.
8134 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8135 from optimizing it away.
8136 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8137 handles common blocks.
8138
8139Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8140
8141 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8142 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8143
8144Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8145
8146 * Makefile.in (maintainer-clean): New target, synonym for
8147 realclean.
8148 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8149 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8150 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8151 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8152 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8153 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8154
8155Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8156
8157 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8158 xfails when not gcc compiled for "print foo::funclocal".
8159 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8160 "print foo::funclocal at foo",
8161 "print 'scope1.c'::foo::funclocal at foo",
8162 "print foo::funclocal_bss at foo",
8163 "print 'scope1.c'::foo::funclocal_bss at foo",
8164 "print foo::funclocal_ro at foo",
8165 "print 'scope1.c'::foo::funclocal_ro at foo",
8166 "print bar::funclocal at foo" and
8167 "print 'scope1.c'::bar::funclocal at foo".
8168 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8169 gcc compiled for "print foo::funclocal at bar".
8170 Expand all messages to ensure that they identify that
8171 the test is at bar().
8172 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8173 gcc compiled for:
8174 "ptype on opaque struct pointer (statically)",
8175 "ptype on opaque struct tagname (statically)",
8176 "ptype on opaque struct pointer (dynamically) 1",
8177 "ptype on opaque struct tagname (dynamically) 1",
8178 "ptype on opaque struct pointer (dynamically) 2" and
8179 "ptype on opaque struct tagname (dynamically) 2
8180 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8181 gcc compiled for:
8182 "p datalocal"
8183 "whatis datalocal",
8184 "ptype datalocal",
8185 "p bsslocal",
8186 "whatis bsslocal", and
8187 "ptype bsslocal".
8188 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8189 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8190 when not gcc compiled.
8191 * gdb.base/funcargs.exp (float_and_integral_args): Add
8192 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8193 compiled.
8194 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8195 "backtrace from call6a" when not gcc compiled.
8196 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8197 "backtrace from call7a" when not gcc compiled.
8198 * gdb.base/callfuncs.exp (do_function_calls):
8199 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8200 "p t_char_array_values(char_array_val2,char_array_val1)",
8201 "p t_char_array_values(char_array_val1,char_array_val2)",
8202 "p t_char_array_values("carray 1","carray 2")",
8203 "p t_char_array_values("carray 1",char_array_val2)",
8204 "p t_char_array_values(char_array_val1,"carray 2")",
8205 "p sum_args(1,{2})",
8206 "p sum_args(2,{2,3})",
8207 "p sum_args(3,{2,3,4})",
8208 "p sum_args(4,{2,3,4,5})"
8209 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8210 "backtrace in corefile.exp" when not gcc compiled.
8211
8212Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8213
8214 * gdb.base/signals.exp: Rewrite `handle all print' test as
8215 a procedure. Accept blanks or TABs as whitespace, increase
8216 timeout and expect input buffer size for the large output
8217 from the command. Remove "i*86-*-bsdi2.0" xfail.
8218
8219Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8220
8221 * gdb.base/setvar.exp: Add new testcases for truncation when
8222 assigning invalid values to bitfields.
8223
8224Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8225
beb998c6 8226 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
8227 mips-sgi-irix* xfail for
8228 "call inferior func with struct - returns char *"
8229 and fix test so that an optional (unsigned char *) cast is
8230 accepted in the result.
8231
8232Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8233
8234 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8235 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8236 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8237 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8238 that accidentally got checked in.
8239
8240Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8241
beb998c6 8242 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8243 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8244 compiled test.
8245 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8246 Add mips-sgi-irix5* xfail for not gcc compiled.
8247 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8248 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8249 "p top", "whatis top", "p middle", and "whatis middle".
8250 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8251 "whatis signed char" for not gcc compiled.
8252 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8253 "set variable signed char=-1 (-1)" and
8254 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8255 * gdb.base/funcargs.exp (float_and_integral_args):
8256 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8257 Add mips-sgi-irix* xfail when not gcc compiled for
8258 "continue to call2b".
8259 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8260 "continue to call2g".
8261 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8262 "backtrace from call6a"
8263 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8264 "backtrace from call7k".
8265 Add mips-sgi-irix5* xfail when not gcc compiled for
8266 "backtrace from call7a".
8267 (localvars_after_alloca): Fix gdb_test cmds for
8268 "print * after runto ...".
8269 Remove rs6000-*-* xfails for
8270 "print i after runto localvars_after_alloca" and
8271 "print l after runto localvars_after_alloca"
8272 for all compilers.
8273 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8274 when not compiled with gcc, for:
8275 "print signed char == (minus)",
8276 "print signed char != (minus)",
8277 "print signed char < (minus)",
8278 "print signed char > (minus)".
8279 * gdb.base/callfuncs.exp (do_function_calls):
8280 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8281 "call inferior func with struct - returns char *".
beb998c6 8282 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8283 "correct value returned double test" to include Solaris 2.4.
8284 * gdb.base/funcargs.exp (float_and_integral_args):
8285 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 8286
c906108c
SS
8287Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8288
8289 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8290 enumeration bitfields if compiling with GNU C.
8291 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8292 to empty' prompt.
8293
8294Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8295
8296 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8297 test for PRO targets.
8298
8299 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8300 breakpoints in the inferior at any given time by making
8301 two groups of breakpoints for call2*, call6* and call7*
8302 tests.
8303
8304Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8305
8306 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8307 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8308 from optimizing it away.
8309 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8310 "call inferior func with struct".
8311
8312Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8313
8314 * configure.in: Only configure gdb.chill for particular targets.
8315
8316Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8317
8318 * gdb.base/Makefile.in: Add action to .c.o transformation
8319 rule that generates a .ci file for each .o file and remove
8320 explicit .c.o rules except for callfuncs.o.
8321 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8322 generates a .ci file for each .o file and remove explicit
8323 .cc.o rules.
8324 (clean): Remove *.tmp *.ci files.
8325 (EXECUTABLES): Remove templ-info.exp.
8326 * gdb.base/compiler.c: New file.
8327 * gdb.c++/compiler.cc: New file
8328 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8329 Change rs6000-*-* xfail for
8330 "print 'scope0.c'::filelocal_ro" and
8331 "print 'scope1.c'::filelocal" and
8332 "print 'scope1.c'::filelocal_bss" and
8333 "print 'scope1.c'::filelocal_ro" and
8334 "print 'scope1.c'::foo::funclocal" and
8335 "print 'scope1.c'::foo::funclocal_ro" and
8336 "print 'scope1.c'::bar::funclocal" and
8337 "print 'scope0.c'::filelocal_ro" and
8338 "print 'scope1.c'::filelocal at foo" and
8339 "print 'scope1.c'::filelocal_bss at foo" and
8340 "print 'scope1.c'::filelocal_ro at foo" and
8341 "print 'scope1.c'::foo::funclocal at foo" and
8342 "print 'scope1.c'::foo::funclocal_bss at foo" and
8343 "print 'scope1.c'::foo::funclocal_ro at foo" and
8344 "print 'scope1.c'::bar::funclocal at foo" and
8345 "print 'scope0.c'::filelocal_ro" and
8346 "print 'scope1.c'::filelocal" and
8347 "print 'scope1.c'::filelocal_bss" and
8348 "print 'scope1.c'::filelocal_ro" and
8349 "print 'scope1.c'::foo::funclocal" and
8350 "print 'scope1.c'::foo::funclocal_bss" and
8351 "print 'scope1.c'::foo::funclocal_ro" and
8352 "print 'scope1.c'::bar::funclocal" and
8353 "print 'scope1.c'::bar::funclocal_bss"
8354 to only be xfail'd when not compiled with gcc.
beb998c6 8355 Add rs6000-*-* xfail for
c906108c
SS
8356 "print 'scope0.c'::filelocal_bss before run"
8357 when compiled with gcc.
8358 (test_at_main): Add rs6000-*-* xfail for
8359 "print filelocal_ro in test_at_main"
8360 when compiled with gcc.
8361 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 8362 Add rs6000-*-aix* xfail for
c906108c
SS
8363 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8364 "ptype t_char_array", not compiled with gcc.
8365 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8366 xfail for "list foo (in include file)" when gcc compiled.
8367 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8368 (integral_args): Add rs6000-*-* xfail for
8369 "run to call0a" if not compiled with gcc.
8370 (unsigned_integral_args): Add rs6000-*-* xfail for
8371 "run to call1a" if not compiled with gcc.
8372 (float_and_integral_args): Add rs6000-*-* xfail for
8373 "run to call2a" if not compiled with gcc and for
8374 "continue to call2b" for any compiler.
8375 Add rs6000-*-* xfail to
8376 "print f1 after run to call2a" for gcc compiled.
8377 (discard_and_shuffle): Add rs6000-*-* xfail for
8378 "run to call6a".
8379 (shuffle_round_robin): Add rs6000-*-* xfail for
8380 "backtrace from call7a" if not compiled with gcc.
8381 Add rs6000-*-* xfail for
8382 "backtrace from call7b" if compiled with gcc.
8383 (call_after_alloca): Add rs6000-*-* xfail for
8384 "print c in call_after_alloca" and
8385 "print s in call_after_alloca" and
8386 "backtrace from call_after_alloca_subr"
8387 if not compiled with gcc.
8388 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8389 "print c in localvars_in_indirect_call" and
8390 "print c in localvars_in_indirect_call" and
8391 "backtrace in indirectly called function" and
8392 "stepping into indirectly called function"
8393 if not compiled with gcc.
8394 (localvars_after_alloca): Add rs6000-*-* xfail for
8395 "print c after runto localvars_after_alloca" and
8396 "print s after runto localvars_after_alloca" and
8397 "print i after runto localvars_after_alloca" and
8398 "print l after runto localvars_after_alloca"
8399 for all compilers.
8400 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8401 than whatis-info.exp.
8402 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8403 than opaque-info.exp.
8404 Setup rs6000-*-* xfail for
beb998c6 8405 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8406 "ptype on opaque struct pointer (dynamically)" when
8407 not compiled with gcc.
8408 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8409 rather than callf-info.exp.
8410 (do_function_calls): Add clear_xfail for rs6000-*-* for
8411 "p t_float_values2(3.14159,float_val2)". Seems to work
8412 fine there, both with xlc and gcc. Need to find out what
8413 it is doing right and fix other platforms.
8414 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8415 "call inferior func with struct - returns int",
8416 "call inferior func with struct - returns long",
8417 "call inferior func with struct - returns float",
8418 "call inferior func with struct - returns double",
8419 "call inferior func with struct - returns char *",
8420 but only if not gcc compiled (presumes xlc compiled).
8421 Change rs6000-*-* xfails for
8422 "call inferior func with struct - returns char" and
8423 " call inferior func with struct - returns short" to only
8424 xfail if not using gcc.
8425 (clean mostlyclean): Remove *.ci and *.tmp files.
8426 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8427 than templ-info.exp.
8428 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8429 Add rs6000-*-* xfail for "up to foo in langs.exp"
8430 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8431 when not gcc compiled.
beb998c6 8432
c906108c
SS
8433Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8434
8435 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8436 * gdb.base/corefile.exp: Likewise.
8437 * gdb.base/list.exp: Likewise.
8438 * gdb.base/scope.exp: Likewise.
8439 * gdb.base/siganls.exp: Likewise.
8440
8441 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8442 compiler output.
8443 * gdb.base/whatis.exp: Likewise.
8444
8445Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8446
8447 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8448 failure (opcode table has been fixed to match reality).
8449
8450Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8451
8452 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8453 "call inferior func with struct - returns char",
8454 "call inferior func with struct - returns short"
8455
8456 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8457 "print 'scope0.c'::filelocal at main",
8458 "print 'scope0.c'::filelocal_bss in test_at_main",
8459 "print 'scope0.c'::filelocal at foo",
8460 "print 'scope0.c'::filelocal_bss in test_at_foo",
8461 "print 'scope0.c'::filelocal at bar",
8462 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 8463
c906108c
SS
8464 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8465 in source file 1". This bug seems to have been fixed with both
8466 gcc and native cc (was native assembler bug?).
8467
8468Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8469
8470 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8471 "backtrace through signal handler" to "i*86-*-sysv4*".
8472 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8473 continue" case. Add "known SVR4 bug" to fail message.
8474 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8475 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8476 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8477 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8478 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8479 "up to foo in langs.exp", "show language at foo in
8480 langs.exp", "up to cppsub_ in langs.exp", "show
8481 language at cppsub_ in langs.exp", "up to fsub in
8482 langs.exp", and "show language at fsub in langs.exp".
8483 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8484 "bactrace in corefile.exp".
8485 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8486 "call inferior function with struct - returns float" and
8487 "call inferior function with struct - returns double".
beb998c6 8488
c906108c
SS
8489Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8490
8491 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8492 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8493 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8494 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8495
8496Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8497
8498 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8499 (or overriden) "CHILL" macro rather then bare "gcc".
8500 Also look for ../../gcc/xgcc since that is what we will
8501 actually need, not "Makefile". Remove following assignment
8502 of CHILL to CHILL_FOR_TARGET because that results in
8503 recursive definition.
8504
8505Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8506
8507 * gdb.base/corefile.exp: Change xfail for backtrace in
8508 corefile.exp from linuxaout to all linux.
8509 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8510 cases where we miss the breakpoint at the signal handler
8511 for some reason. Setup xfail for linuxoldld/linuxaout and
8512 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8513 hitting SIGURG breakpoint.
8514 * gdb.base/signals.exp: Setup xfail for "next" acting like
8515 continue to add linuxoldld. Setup xfail for all linux for
8516 "next to handler in signals_tests_1", "backtrace in
8517 signals_tests_1", "continue to func1", "pass SIGUSR1",
8518 and continue to handler".
8519
8520Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8521
8522 * Update all FSF addresses except those in COPYING* files.
8523
8524Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8525
8526 * gdb.base/a2-run.exp: Change messages to be more explicit about
8527 the status of args, and quote binfile in results.
8528
8529Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8530
8531 * gdb.base/callfuncs.exp: Add tests for passing structs to
8532 inferior functions and return various types.
8533 * gdb.base/callfuncs.c: Add functions to receive a struct
8534 and return a member of the struct, in various types.
8535
8536Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8537
8538 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8539
8540Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8541
8542 * config/vxworks29k.exp: New file, sources vxworks.exp.
8543
8544Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8545
8546 * config/gdbremote.exp: New file. Testing framework using
8547 gdbserver.
8548
8549Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8550
8551 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8552 "call function when asleep" and "send end of file".
8553 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8554 for "backtrace in corefile.exp".
8555 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8556 for "backtrace through signal handler".
8557 * gdb.base/corefile.exp: Make sure we actually generate a core file
8558 before trying the core tests. Some systems allow the user to suppress
8559 generation of core files and default to that (linux for example).
8560 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8561 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8562
8563Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8564
8565 * gdb.threads: New directory with some crude multi-threaded
8566 gdb tests (step.exp and step2.exp).
8567 * config/mt-lynx (STEP_EXECUTABLE): Define.
8568 (THREADFLAGS): Define.
8569
8570Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8571
8572 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8573
8574 * gdb.base/signals.exp: Disable whole file for lynx until
8575 further notice.
8576
8577 * gdb.base/signals.exp: xfail test where "next" acts like
8578 "continue" for lynx.
8579
8580 * gdb.base/interrupt.exp: xfail test for calling function while
8581 inferior is asleep for lynx.
8582
8583 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8584 than one cr-lf after each command.
8585
8586Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8587
8588 * configure.in: Reinstate setting of stabsdirs variable, fix
8589 typo in setting up configdirs for native builds.
8590
8591 * gdb.base/return.exp: Fix typo in return double test.
8592 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8593 compiler from optimizing them away.
8594
8595Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8596
8597 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8598 sequences to be echo'd by gdb when using gdb_test.
8599 * gdb.chill/chexp.exp: Likewise.
8600 * gdb.fortran/exprs.exp: Likewise
8601
8602Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8603
8604 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8605 after the inferior gdb has started.
8606
8607 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8608 after each command.
8609 * gdb.base/funcargs.exp: Likewise.
8610 * gdb.base/gdbvars.exp: Likewise.
8611 * gdb.base/interrupt.exp: Likewise.
8612 * gdb.base/list.exp: Likewise.
8613 * gdb.base/watchpoint.exp: Likewise.
8614 * gdb.c++/demangle.exp: Likewise.
8615 * gdb.c++/inherit.exp: Likewise.
8616 * gdb.chill/chexp.exp: Likewise.
8617 * gdb.fortran/exprs.exp: Likewise.
8618
8619 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8620 test if we can't handle IO to/from the inferior.
8621
8622 * gdb.c++/misc.exp: Always check for a program already being
8623 started after sending a "run" command to gdb.
8624
8625 * gdb.base/twice.exp: Start with a fresh gdb.
8626
8627 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8628 only depend on gdb's expression code, not the chill runtime.
8629
8630 * gdb.base/return.c: Put return values into variables so we
8631 can have gdb print them rather than depending on the program
8632 to print them.
8633 * gdb.base/return.exp: Corresponding changes.
8634
8635 * lib/gdb.exp: Provide default value for noinferiorio.
8636 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8637 the inferior.
8638
8639 * gdb.base/break.exp: Always check for a program already being
8640 started after sending a "run" command to gdb.
8641 (text_next_with_recursion): Don't check the output from the
8642 program's printf statement. Instead just make sure the program
8643 exited.
8644
8645 * gdb.base/commands.exp: Protect tests which need arguments with
8646 $noargs conditionals.
8647
8648Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8649
8650 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8651 of structure member arrays to match gdb/valops.c:value_addr change.
8652
8653Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8654
8655 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8656 cases.
8657
8658Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8659
8660 * configure.in (configdirs): Remove gdb.chill from default list
8661 of subdirs and then add it back in only if doing a native build.
8662 The current chill compiler does not yet work in any cross build.
8663 * Revert all signal changes from Jul 6.
8664 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8665 for sh-hms targets, allowing these tests to link, with no other
8666 changes. Testing is suppressed by setting "nosignals" in site.exp.
8667
8668Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8669
8670 * configure.in (signaldirs): Define and add to configdirs for all
8671 targets except some specific ones that are known to not support signals.
8672 Also clean up formatting.
8673 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8674 (signals, sigall): Remove rules to build.
8675 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8676 Moved to new gdb.signals directory.
8677 * gdb.signals: New test directory.
8678 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8679 signals.c signals.exp}: New or moved files.
8680
8681Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8682
8683 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8684
8685Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8686
8687 * gdb.base/return.exp: Xfail `return double' test failure
8688 on at least Solaris 2.3 and handle future/past versions on
8689 a case by case basis as appropriate. Also update message
8690 to include i*86 failures.
8691
8692Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8693
8694 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8695
8696 * lib/gdb.exp: Fix comment which erroneously identified
8697 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8698 gdb_file_cmd not gdb_load).
8699 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8700
8701 * gdb.base/setvar.exp: Make test names consistent between pass and
8702 fail cases. Use gdb_test more.
8703
8704Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8705
8706 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8707
8708Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8709
8710 * gdb.base/help.exp: Fix expected help string for `show commands'.
8711
8712Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8713
8714 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8715
8716 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8717 of a text section.
8718
8719Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8720
8721 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8722 that loop eventually terminates. Fix Connection refused logic so
8723 that testsuite will expire nicely.
8724
8725Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8726
8727 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8728 config/rom68k.exp: New tcl glue for the appropriate monitors.
8729 These all just end up calling monitor.exp.
8730 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8731 refused' by retrying. Cleanup some timeout issues.
8732 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8733 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8734 callers don't have to set/restore global timeout variable.
8735
8736 * The following set of changes centralizes management of the global
8737 timeout variable. This way, it can be set in one target dependent
8738 place instead of dozens of places scattered throughout the test suite.
8739 If you need to lengthen a timeout, then you should either set timeout
8740 in one of the config/{target}.exp files, or multiply it by a factor.
8741 Setting it to an absolute value is always going to lose for some
8742 targets.
8743 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8744 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8745 * gdb.base/funcargs.exp: Don't set timeout.
8746 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8747 * gdb.base/printcmds.exp (test_print_string_constants
8748 test_print_array_constants): Don't set timeout.
8749 * gdb.base/ptype.exp: Don't set timeout.
8750 * gdb.base/recurse.exp: Don't set timeout.
8751 * gdb.base/return.exp: Don't set timeout.
8752 * gdb.base/watchpoint.exp: Don't set timeout.
8753 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8754 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8755
8756Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8757
8758 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8759
8760Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8761
8762 * lib/gdb.exp: Disable chill tests for irix5.
8763
8764Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8765
8766 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8767 each test pass or fail.
8768
8769Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8770
8771 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8772 xlc not gcc.
8773
8774Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8775
8776 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8777
8778Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8779
8780 * config/est.exp: Fix copyright and comments. Remove dead code.
8781 Use targetname, serialport and baud variables instead of fixed
8782 constants.
8783 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8784 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8785
8786Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8787
8788 * gdb.base/watchpoint.exp: Don't run
8789 test_watchpoint_triggered_in_syscall for sunos.
8790
8791Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8792
8793 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8794 they don't seem to exist. Do include stdio.h.
8795
8796Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8797
8798 * gdb.base/a1-selftest.exp: Add alpha xfail.
8799
8800Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8801
8802 * gdb.base/watchpoint.c (main): Prompt before calling read().
8803 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8804 Revise accordingly. Remove cruft about sending "123" several
8805 times, until it gets noticed. Clean up the "print buf[0]" stuff
8806 so that it passes or fails, and waits for prompts in the usual way.
8807
8808Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8809
8810 * gdb.base/recurse.exp: Fix comment.
8811
8812 * TODO: Remove item about printing variables in nodebug.exp. Add
8813 item about enabling tests which are only run on some targets.
8814
8815 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8816 fail, make test names unique, use new gdb_test convention
8817 regarding pattern, use gdb_test more, etc.).
8818
8819 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8820 fail, make test names unique, etc.).
8821
8822Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8823
8824 * gdb.base/nodebug.c: Change return type of top and middle to
8825 short.
8826 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8827 are fixed by the recent mdebugread.c changes. Allow `short ()'
8828 as type for top and middle.
8829
8830Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8831
8832 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8833 nearly as I can tell, the whole thing was an accident in Stu's
8834 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8835 to replace a send/expect pair with gdb_test, but ended up only
8836 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8837 of 30 Mar 1995 took care of it, but left this vestigial comment
8838 which I am now nuking.
8839
8840Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8841
8842 * gdb.base/break.exp: Look for different line number for
8843 breakpoint at main depending on usestubs.
8844
8845Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8846
8847 * gdb.base/list.exp: Adjust some alternate expect patterns to
8848 match recent list0.c change. Add alternate expect pattern for
8849 output from `list default lines around main' for optimizing
8850 compilers.
8851
8852Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8853
8854 * lib/gdb.exp: If nosignals is not set, set it to 0.
8855
8856Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8857
8858 * config/slite-gdb.exp: Responds to load symbol table prompt.
8859 * gdb.base/break.exp: Adjust line number, fix rerun.
8860 * gdb.base/langs0.c: Add #ifdef usestubs.
8861
8862Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8863
8864 * gdb.base/list.exp: Adjust line contents after adding new lines in
8865 list0.c. Also fix a syntax error.
8866
8867 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8868 * gdb.base/break.exp: ditto.
8869 * gdb.base/list.exp: ditto.
8870 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8871 * gdb.base/run.c: ditto.
8872 * gdb.base/list0.c: ditto.
8873 * gdb.base/funcargs.c: ditto.
8874
8875Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8876
8877 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8878 $targetname, $serialport and $baud instead of hardwired variables.
8879 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8880 target doesn't support signals.
8881
8882Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8883
8884 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8885
8886Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8887
8888 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8889 Don't rely on the value of an auto variable before it has been
8890 initialized. Use gdb_test more.
8891
8892Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8893
8894 * lib/gdb.exp (default_gdb_version): A version number must start
8895 with a digit, but other than that contains all characters up to
8896 the first whitespace character.
8897
8898Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8899
8900 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8901
8902Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8903
8904 * gdb.c++/*.exp: Warn if executable does not exist. The original
8905 reason for skipping the warning was that configure.in sometimes
8906 intentionally skipped building the executables but the tcl code
8907 had no way of knowing. That (a) was always bogus with respect to
8908 error handling, (b) is no longer true (right now there is no way
8909 to skip C++ tests).
8910
8911 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8912
8913Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8914
8915 * gdb.base/list.exp: Add expect patterns for output from
8916 SunPRO compiled executables.
8917 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8918 types.
8919
8920Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8921
8922 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8923 number (we are already testing that the correct source line text
8924 gets printed).
8925
8926 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8927 that is what is intended, but something needed to be done to get
8928 sunos4 native working again.
8929
8930 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8931
8932 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8933 apparently went with a (very) old xfail.
8934
8935Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8936
8937 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8938 runto_main is a proc in gdb.exp that will do 'step' for target use
8939 stubs.
8940 * gdb.base/exprs.exp: ditto.
8941 * gdb.base/interrupt.exp: ditto.
8942 * gdb.base/opaque.exp: ditto.
8943 * gdb.base/printcmds.exp: ditto.
8944 * gdb.base/ptype.exp: ditto.
8945 * gdb.base/scope.exp: ditto.
8946 * gdb.base/setvar.exp: ditto.
8947 * gdb.base/signals.exp: ditto.
8948 * gdb.base/twice.exp: ditto.
8949 * gdb.c++/classes.exp: ditto.
8950 * gdb.c++/inherit.exp: ditto.
8951 * gdb.c++/templates.exp: ditto.
8952 * gdb.base/break.exp: no run and hit main for stubs. Change line
8953 numbers for breakpoints and info breakpoint.
8954 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8955 breakpoint().
8956 * gdb.base/callfuncs.c: ditto.
8957 * gdb.base/exprs: ditto.
8958 * gdb.base/interrupt.c: ditto.
8959 * gdb.base/opaque0.c: ditto.
8960 * gdb.base/printcmds.c: ditto.
8961 * gdb.base/ptype.c: ditto.
8962 * gdb.base/scope0.c: ditto.
8963 * gdb.base/setvar.c: ditto.
8964 * gdb.base/signals.c: ditto.
8965 * gdb.base/twice.c: ditto.
8966 * gdb.c++/misc.cc: ditto.
8967 * gdb.c++/templates.cc: ditto.
8968
8969Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8970
8971 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8972
8973 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8974 somewhere between `read' and `main.c'. I'm pretty sure the
8975 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8976 and it isn't particularly useful.
8977
8978 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8979
8980Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8981
8982 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8983
8984Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8985
8986 * config/mt-slite: add LIBS and -nostdlib.
8987 * config/slite-gdb.exp: add this new file to support sparclite target.
8988
8989Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8990
8991 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8992
8993 * gdb.base/a2-run.exp: Change argument to istarget from
8994 "*-*-vxworks" to "*-*-vxworks*".
8995 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8996
8997Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8998
8999 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9000 will not runto main but do a 'step' to step out of breakpoint().
9001 * config/mt-slite: add -Dusestubs.
9002
9003Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9004
9005 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9006 instead of just @.
9007
9008 * gdb.base/signals.exp: Add test for "handle all print".
9009 * TODO: Remove "handle all print". Also remove item about
9010 checking copyright date (I don't like the idea of a spurious FAIL
9011 based on when we run the tests).
9012
9013 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9014 for SunOS4 (reason for failure not investigated). Remove
9015 redundant test for $binfile.
9016
9017 * gdb.base/nodebug.c (array_index): Call malloc.
9018
9019 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9020
9021Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9022
9023 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9024 conventions and slightly simplify the matching regexp.
9025
9026Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9027
9028 * gdb.base/break.exp: Update gdb_test invocation to use new
9029 convention.
9030
9031 * lib/gdb.exp: If noargs is not set, set it to 0.
9032
9033 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9034 tests unique.
9035
9036 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9037
9038Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9039
9040 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9041 one argument of type "<non-float parameter>".
9042
9043Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9044
9045 * config/rom68k.exp: New file to support Motorola IDP board.
9046 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9047 * gdb.base/break.c: Change things around so that this program
9048 doesn't depend upon args. This is necessary to make remote
9049 targets work (in general, they can't take args).
9050 * gdb.base/break.exp: Don't try to send args to program. Don't
9051 expect output. Also, replace lots of code with gdb_test.
9052
9053Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9054
9055 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9056 printing of '\'' (which is what the comment says we are testing,
9057 even though we were not), not '''.
9058 (test_integer_literals_rejected): Test that printing ''' is an error.
9059
9060 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9061 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9062 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9063 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9064 Use gdb_test not test_print_accept.
9065 * lib/gdb.exp: Remove test_print_accept.
9066
9067 * gdb.base/signals.exp (signal_tests_1): Make pass message
9068 consistent with fail message.
9069
9070 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9071 unsigned char; the bug (PR 1821) is fixed.
9072
9073 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9074
9075 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9076 successful tests--makes xfailing them work right.
9077
9078Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9079
9080 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9081 only \r\n, not .*. The test can pass .* as the last thing in
9082 $pattern if that is what it wants. In addition to providing this
9083 flexibility, this change should speed up pattern matching in cases
9084 where the pattern already ended with .* (there were a number of
9085 them). This change also helps catch bad patterns--in the old
9086 scheme the typo "char \*" instead of "char \\*" would pass. Now
9087 it is caught.
9088 * Many .exp files: Update callers.
9089
9090 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9091 clearer and does not spuriously match multiple ('s. Likewise for
9092 ) and *.
9093
9094 * gdb.base/nodebug.exp: Test ability to call a function and pass
9095 it a string (even with no debugging info).
9096
9097 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9098 "p '\'", which is the same as "p ''" once tcl gets done with
9099 quoting, to "p '\\'", which I suspect is what is intended (one
9100 backslash gets sent to GDB).
9101
9102 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9103
9104Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9105
9106 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9107 1817) was fixed literally years ago.
9108
9109Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9110
9111 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9112 test, it causes stepping out of call_after_alloca_subr with
9113 optimizing compilers.
9114 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9115 fails.
9116
9117 * gdb.c++/templates.exp: Source templ-info.exp only if
9118 the templates executable exists.
9119
9120 * gdb.c++/misc.cc (class Contains_static_instance,
9121 class Contains_nested_static_instance),
9122 gdb.c++/classes.exp (test_static_members): Test printing of
9123 a class that contains a static instance of the class.
9124
9125Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9126
9127 * gdb.base/langs2.c (cppsub_): Don't prototype.
9128 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9129 only, I believe).
9130
9131Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9132
9133 * lib/gdb.exp (skip_chill_tests): New procedure.
9134
9135 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9136
9137Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9138
9139 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9140 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9141
9142Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9143
9144 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9145
9146 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9147 disassemble 8, not 16, instructions for part 4.
9148
9149 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9150 support the latter anymore.
9151
9152 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9153 -DNO_PROTOTYPES.
9154 * gdb.base/callfuncs.c: Control use of prototypes based on
9155 NO_PROTOTYPES, not __STDC__.
9156 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9157 t_float_values2 tests if prototypes in use.
9158
9159 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9160 t_double_values): When checking differences against DELTA, check
9161 that difference is within the range (-DELTA,DELTA), not just
9162 (-infinity,DELTA).
9163
9164Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9165
9166 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9167 'file' command firts, then 'target', then 'load', this is due to gdb
9168 target set up.
9169 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9170
9171Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9172
9173 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9174 FP load/store variants.
9175 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9176
9177Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9178
9179 * gdb.base/term.exp: Do not give a warning if not native, it is
9180 not an abnormal condition.
9181
9182Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9183
9184 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9185 t_char_array".
9186
9187Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9188
9189 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9190 are getting the version number.
9191
9192 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9193 if not native, it is not an abnormal condition.
9194
9195Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9196
9197 * lib/gdb.exp: Just use "file exists", rather than undocumented
9198 dejagnu procedure "findfile".
9199
9200Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9201
9202 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9203 (LDFLAGS): Set to -Xlinker -Ur.
9204
9205 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9206 Removed, these values are set by lib/gdb.exp.
9207
9208 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9209
9210Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9211
9212 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9213 of replicating gdb startup code.
9214
9215 * config/mt-vxworks (LDFLAGS): Set to -r.
9216 (CFLAGS_FOR_TARGET): Removed.
9217
9218 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9219 (gdb) and gdb for vxworks uses (vxgdb).
9220
9221 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9222 executable is not in the tree and host != target, use sed and
9223 program_transform_name to determine the gdb name used by the
9224 target.
9225
9226 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9227 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9228
9229Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9230
9231 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9232 floats, chars, and shorts where there are ANSI-style function
9233 definitions.
9234
9235 * gdb.base/langs.exp, gdb.base/langs*: New test.
9236 * gdb.base/Makefile.in: Build it.
9237 * TODO: Remove item about checking that C names don't get C++
9238 demangling applied; this test tests it.
9239
9240Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9241
9242 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9243 went with the const70 xfail. The xfail went away a year ago.
9244
9245 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9246
9247 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9248 for hp300.
9249
9250 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9251
9252 * gdb.base/a1-selftest.exp: Don't run on hp300.
9253
9254Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9255
9256 * Makefile.in (site.exp): Set host_alias and target_alias as well
9257 as host_triplet and target_triplet.
9258
9259Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9260
9261 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9262
9263 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9264 places as other ecoff systems).
9265
9266 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9267 ultrix.
9268
9269Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9270
9271 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9272 remove them.
9273 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9274 variable and "variable" in addition to "data variable".
9275 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9276
9277 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9278 2.
9279 * gdb.base/list1.c (long_line): Add additional statement at start
9280 of function.
9281 * gdb.base/list.exp (test_forward_search): Update line number to
9282 reflect new statement.
9283
9284Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9285
9286 * gdb.base/signals.exp: Reinitialize searched source directories
9287 after gdb_start call.
9288
9289Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9290
9291 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9292 * gdb.stabs/Makefile.in: Likewise.
9293
9294 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9295 change. Instead split the tests into smaller pieces.
9296 * gdb.disasm/hppa.s: Corresponding changes.
9297
9298Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9299
9300 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9301 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9302
9303 * gdb.base/funcargs.exp: Modify many tests so that every test
9304 either passes or fails. Make some test names unique.
9305
9306Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9307
9308 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9309 Call stty to set interrupt character.
9310
9311 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9312 for HP assembler versus GNU assembler based on actual behavior of
9313 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9314
9315 * TODO: Suggest a few more stepping tests.
9316
9317Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9318
9319 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9320 restart GDB for h8300 after a continue.
9321 (return): Add pattern to match a29k-udi behavior.
9322 * gdb.base/nodebug.exp: Remove obsolete comment.
9323 * gdb.base/regs.exp: New file, testing of register displays.
9324 * gdb.base/return.exp: Fix typo in reference to $objdir.
9325 * gdb.base/whatis.exp: Always start with a fresh GDB.
9326
9327Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9328
9329 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9330 higher, these tests generate a lot of output.
9331
9332Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9333
9334 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9335 code following the catch silently ignored some errors; without the
9336 catch they should be thrown like any other tcl error. Also, the
9337 catch used "" instead of {} which meant all the callers who wanted
9338 to include one of the characters "[]$ had to quote it an extra time.
9339 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9340 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9341 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9342 Remove extra quoting.
9343
9344Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9345
9346 * gdb.base/commands.exp: Make test names unique; every test either
9347 passes or fails. Update some comments.
9348
9349 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9350
9351Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9352
9353 The following fixes a FAIL caused by the fact that the alpha stabs
9354 configuration didn't use the ".if alpha" code in weird.def.
9355 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9356 bit pointer, so the 32 bit version works even on the alpha.
9357 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9358 Remove the stuff which allowed us to have separate versions for
9359 alpha and everything else.
9360
9361 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9362 regexp which "info func operator\[\](" is supposed to match. Fix
9363 string to send to GDB. Note that GDB still doesn't work right. Add a
9364 new test for "info func .perator\[\](" which GDB does handle correctly.
9365
9366 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9367
9368Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9369
9370 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9371 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9372 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9373 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9374 it makes the tests harder to understand and confuses test-o-matic.
9375 The preferred style is that each test provides a PASS or a FAIL,
9376 and has a unique message (e.g. "continue #54" not just "continue")
9377 which is the same for the pass and the fail.
9378 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9379 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9380 to lib/gdb.exp.
9381 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9382 prt_accept which was basically the same thing. Likewise for
9383 test_print_reject and prt_reject.
9384 * lib/gdb.exp (test_print_reject): Add some more error message
9385 patterns to match from the former printcmds.exp (prt_reject).
9386 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9387 One defect of the passcount stuff is that some of it failed to
9388 report XPASS where appropriate.
9389 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9390 stuff before and after arg in expected pattern.
9391 (test_paddr_operator_functions): Re-do test without print_addr_of;
9392 this is the only test which seems to want extra stuff there.
9393
9394Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9395
9396 * gdb.base/nodebug.exp: Update new tests to reflect improved
9397 wording of gdb output.
9398
9399 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9400 and "ptype" work on variables in files compiled without -g.
9401 Replaces commented out "maint print msymbol" tests.
9402
9403Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9404
9405 * gdb.base/setvar.c (dummy): Call malloc.
9406
9407 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9408 losing with the irix4 sed.
9409
9410 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9411 ALRM" on irix4.
9412
9413Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9414
9415 * TODO: Remove items about corefile.exp testing new exec-file and
9416 backtrace; both are now done. Add items about printing enums.
9417
9418Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9419
9420 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9421 "get signal $thissig" test fails.
9422
9423 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9424
9425Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9426
9427 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9428 compiler warning with dec alpha compiler.
9429
9430 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9431 extra \n from gdb_test call (this explains why the prompt test
9432 that I removed yesterday was there).
9433 (user_defined_command_test): Remove extra \n and prompt test.
9434
9435 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9436 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9437 doesn't exist.
9438 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9439 Also remove alpha workaround, which turns out to be because
9440 SIGABRT == SIGLOST.
9441
9442 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9443
9444 * gdb.base/help.exp: Don't test "help show".
9445
9446Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9447
9448 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9449 "set print address" is on.
9450 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9451 pass prompt to gdb_test; gdb_test already looks for the prompt.
9452
9453 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9454
9455 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9456 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9457 was to make sure that gdb can read a core file. But (a) the "read
9458 the corefile" part didn't make it to a1-selftest.exp, we just
9459 delete the corefile after creating it, and (b) we test reading
9460 corefiles in corefile.exp anyway. Also, this test left around a
9461 xgdb process on Solaris.
9462
9463 * gdb.base/corefile.exp: Also test backtrace.
9464
9465Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9466
9467 * gdb.base/commands.exp: Test a simple user defined command with
9468 arguments and if/while statements; verify the full user command is
9469 printed by "show user".
9470
9471 * gdb.base/commands.exp: Test if/while commands as part of a
9472 breakpoint command list; verify they appear in breakpoint
9473 information.
9474
9475Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9476
9477 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9478 than by dividing by zero.
9479
9480Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9481
9482 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9483 performing an inferior call with watchpoints enabled.
9484 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9485 call.
9486
9487Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9488
9489 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9490 of "file" command.
9491
9492 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9493 Add additional pattern for when "int operator int(void);" appears
9494 in a different order.
9495
9496Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9497
9498 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9499
9500 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9501 and "signal" with ".*".
9502
9503Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9504
9505 * TODO: Add note about "handle all nostop".
9506
9507 * gdb.base/{sigall.c, sigall.exp}: New test.
9508 * gdb.base/Makefile.in: Add it.
9509
9510Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9511
9512 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9513 when invoking GDB, suppresses any windowing interface.
9514
9515Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9516
9517 * config/sim-gdb: New file, simulator testing support.
9518
9519Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9520
9521 * gdb.base/interrupt.exp: Test calling func1 twice.
9522
9523Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9524
9525 * gdb.base/list.exp (test_forward_search): Set timeout higher
9526 when we'll be getting lots of output from gdb.
9527
9528 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9529 "init_malloc" to after the expect statement. Run it if that
9530 regexp is taken, but also for two others which happen if source
9531 cannot be found.
9532
9533Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9534
9535 * gdb.base/printcmds.exp: New test, for printing register before
9536 program is running.
9537
9538Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9539
9540 * gdb.base/list.exp: Correct some alternate expect patterns
9541 to reflect changes in list1.c.
9542
9543Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9544
9545 * TODO: Add item regarding large frames.
9546
9547 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9548
9549 * TODO: Remove item about enabling return.exp; it
9550 is enabled. Suggest a few more "return" tests.
9551
9552Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9553
9554 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9555 anonymous unions.
9556
9557Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9558
9559 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9560 and pr-5646.o, so "make" is the same as "make all", not "make
9561 pr-4975.o".
9562
9563Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9564
9565 * gdb.base/list.exp: Adjust expectations to reflect changes in
9566 list1.c.
9567 (test_forward_search): New test proc.
9568 * gdb.base/list1.c (long_line): New function, has long source line.
9569
9570Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9571
9572 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9573 additional line of code that was added.
9574
9575Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9576
9577 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9578 tests so as not to overflow expect's input buffers.
9579 * gdb.disasm/hppa.exp: Corresponding changes.
9580
9581Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9582
9583 Beginnings of template debugging tests.
9584 * gdb.c++/templ-info.cc: New file to test for template
9585 debugging capability of the compiler.
9586 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9587 templ-info.cc.
9588 * gdb.c++/templates.cc: Add explicit template instantiations
9589 to enable compiling with -fno-implicit-templates. Add destructor
9590 and 'value' method to T5 class for template tests.
9591 * gdb.c++/templates.exp: Add testcases for printing of template
9592 types, setting breakpoints on template methods and calling a
beb998c6 9593 template method.
c906108c
SS
9594
9595Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9596
9597 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9598 branch target since some assemblers (gas-2.5) may emit a
9599 relocation for the branch instead of resolving it in the
9600 assembler.
9601
9602Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9603
9604 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9605 through signal handler.
9606
9607Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9608
9609 * configure.in (*-*-netware): Use config/mt-netware.
9610
9611 * config/mt-netware: New file.
9612 * config/mt-i386-netware: Removed, separate configs for different
9613 netware architectures are no longer needed now that we have
9614 --with-headers.
9615
9616Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9617
9618 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9619 by the recent changes to use ANSI C arithmetic conversions.
9620
9621Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9622
9623 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9624 bug involving using inferior_pid to figure out whether to select a
9625 frame.
9626
9627Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9628
9629 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9630 match the current disassembler output.
9631
9632Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9633
9634 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9635 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9636 types, expect "int" as type of integer values (for now).
9637
9638Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9639
9640 * gdb.base/commands.exp: New tests for if/while commands.
9641
9642Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9643
9644 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9645 by .*, since hex values have different syntax in Chill mode.
9646
9647Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9648
9649 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9650 linefeed from expect pattern for repeated types with indices > 9.
9651
9652Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9653
9654 First part of Fortran test suite.
9655 * gdb.fortran: New directory.
9656 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9657
9658Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9659
9660 * gdb.base/default.exp: Update expect pattern for load command
9661 without arguments.
9662
9663Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9664
9665 * configure.in: Change i386 to i[345]86.
9666 * gdb.base/configure.in: Likewise.
9667 * gdb.c++/configure.in: Likewise.
9668 * gdb.chill/configure.in: Likewise.
9669
9670Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9671
9672 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9673 patterns, since that is not a valid context for comments.
9674
9675Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9676
9677 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9678 repeated types and repeated types with indices > 9.
9679
9680Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9681
9682 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9683 2417; old bug has been fixed.
9684
9685Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9686
9687 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9688 send the newline ourselves instead of assuming gdb_test will do
9689 so when passed an empty input string.
9690
9691 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9692 stabs testcode.
9693
9694Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9695
9696 * lib/gdb.exp (gdb_test): Don't send anything if the first
9697 argument is an empty string. This makes cases where we want to
9698 match output that is already in expect's buffers (for example,
9699 matching a breakpoint after gdb_run_cmd has been called) work
9700 reliably.
9701
9702Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9703
9704 * config/netware.exp: New file.
9705
9706Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9707
9708 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9709 the -B and -L prefixes so we can find the debugging stub.
9710
9711 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9712 there and we are using the gcc from the tree.
9713
9714 * gdb.base/types.c: Removed.
9715
9716 * gdb.base/configure.in: Look for makefile fragments in ../config.
9717 Recognize i386-*-netware.
9718 * gdb.c++/configure.in: Likewise.
9719
9720Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9721
9722 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9723 the correct TCL syntax.
9724
9725Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9726
9727 * gdb.base/opaque.exp: use runto instead of messing around with
9728 breakpoints. Simplify by using gdb_test.
9729
9730 * gdb.base/bitfields.exp: restart between tests on netware targets
9731 because breakpoints aren't relocated after target death. Run
9732 processes to completion.
9733
9734 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9735
9736Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9737
9738 * Makefile.in: Remove extra tabs that confuse some versions
9739 of "make". Use the newly built gdb to test with by default,
9740 rather than the first one in the tester's search path.
9741
9742Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9743
9744 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9745
9746 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9747 condition help.
9748
9749Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9750
9751 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9752
9753 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9754 running.
9755 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9756 * gdb.base/funcargs.exp: Likewise.
9757
9758 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9759 * gdb.base/funcargs.exp: Likewise.
9760
9761 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9762 message is "".
9763
9764Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9765
9766 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9767 return,signals,twice}.exp: Handle non-existant binaries
9768 consistantly.
9769
9770 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9771 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9772 might testing a cross development system.
9773
9774Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9775
9776 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9777 runtest script is relative to ${srcdir}, not ${rootdir}.
9778
9779Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9780
9781 * gdb.base/signals.exp: Allow for optionality of breakpoint
9782 address.
9783
9784Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9785
9786 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9787
9788Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9789
9790 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9791 for size_t definition.
9792 * gdb.c++/templates.cc: Likewise
9793
9794 * config/mt-i386-netware: New file.
9795
9796 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9797 defined.
9798
9799 * gdb.base/Makefile.in: Added support for systems that name core
9800 files by appending "core" to the program name.
9801 * gdb.base/a1-selftest.exp: Likewise.
9802
9803Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9804
9805 * gdb.base/return.exp: Add comment and message for `return double'
9806 test failure on Sparc Solaris.
9807
9808Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9809
9810 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9811
9812Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9813
9814 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9815 from optimizing them away.
9816 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9817 patterns to include default constructors and assignment operators,
9818 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9819 character in the output of the virtual base pointer.
9820
9821Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9822
9823 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9824 expression match in print_addr_of to avoid unintented matches.
9825 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9826 versions up to 2.5.8.
9827
9828Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9829
9830 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9831 included file to run under newer versions of expect.
9832 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9833 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9834 Remove xfail for the virtual table of BDDHookV.
9835
9836Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9837
9838 * lib/gdb.exp (string_to_regexp): Set a default result.
9839 (default_gdb_start): Fix misleading message.
9840
9841Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9842
9843 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9844 Remove all CC, etc definitions.
9845 * config/mt-hpux: New file.
9846 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9847 (CFLAGS, LDFLAGS): Define.
9848 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9849
9850 * Makefile.in (site.exp): Don't insert host_os, etc.
9851 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9852 (distclean): Check existence of subdir.
9853 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9854 * gdb.base/Makefile.in: General cleanup and simplification.
9855 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9856 to build executables. Use default rule to build .o files.
9857 (EXPECT, RUNTEST, CC): Fix relative pathname.
9858 (site.exp): Don't insert host_os, etc.
9859 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9860 and/or SIGUSR1 defined.
9861 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9862 * gdb.c++/Makefile.in: General cleanup and simplification.
9863 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9864 (CFLAGS): Remove.
9865 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9866
9867Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9868
9869 * gdb.base/recurse.exp: Misc changes to get tests running again
9870 after Kung's changes to the watchpoint code.
9871 * gdb.base/watchpoint.exp: Likewise.
9872
9873Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9874
9875 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9876
9877Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9878
9879 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9880 * lib/gdb.exp (default_gdb_start): Define.
9881 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9882 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9883 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9884 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9885 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9886 Don't call gdb_target_udi in between tests.
9887
9888Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9889
9890 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9891 (which was basically just a local version of the same thing). In
9892 addition to avoiding duplication, gdb_test_exact is faster.
9893 * lib/gdb.exp (gdb_test_exact): Fix typo.
9894
9895 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9896 don't give an error.
9897
9898 * gdb.base/term.exp: Call delete_breakpoints before starting.
9899
9900 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9901 (t10): Add comment.
9902
9903Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9904
9905 Reorganization of the GDB Test Suite.
9906
9907 * gdb.base: New directory, contains all the basic tests.
9908 * gdb.c++: New directory, tests specific to C++.
9909 * gdb.chill: New directory, tests specific to Chill.
9910 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9911 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9912 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9913 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9914 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9915 t30-31 to chill).
9916 * */gdbme.*: Rename to match appropriate expect scripts.
9917 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9918 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9919 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9920 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9921 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9922 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9923 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9924 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9925 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9926 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9927 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9928 gdb.c++/virtfunc.cc: New names of C++ files.
9929 * gdb.chill/chillvars.ch: New name of Chill file.
9930 * gdb.base/configure.in, gdb.c++/configure.in,
9931 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9932 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9933 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9934 * configure.in (configdirs): Update to reflect directory changes.
9935 (target_abbrev): No longer define for any configuration.
9936 * Makefile.in: Cosmetic improvements to header comments.
9937
9938Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9939
9940 Various changes to gdb.t31:
9941
9942 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9943 * gdbme.ch: Make all key-words and predefineds be upper-case.
9944 * chillvars.exp: Expect key-words and predefinds in upper-case.
9945
9946 * chillvars.exp: Use gdb_test_exact many places.
9947 Change expected output for arrays (which now includes index labels).
9948
9949 * pr-5020.exp, gdme.ch (module PR_5020):
9950 New test, for PR-5020.
9951
9952Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9953
9954 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9955 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9956
9957Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9958
9959 * Makefile.in: Fix bit-rot in definitions of CHILL,
9960 CHILL_FOR_TARGET and Chill_LIB.
9961 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9962 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9963 CHILL, and CHILL_LIB.
9964
9965Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9966
9967 * Revert the previous changes. Please see Rob's directory
9968 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9969
9970Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9971
9972 * Makefile.in, configure.in, config/mips-gdb.exp,
9973 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9974 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9975 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9976 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9977 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9978 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9979 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9980 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9981 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9982 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9983 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9984 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9985 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9986 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9987 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9988 changes from 94Q1.
9989
9990Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9991
9992 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9993 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9994 Rob's new testing fragments.
9995
9996Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9997
9998 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9999 lib/gdb.exp: Replace error proc calls with perror.
10000
10001Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10002
10003 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10004 version also, match on casted version strings, and match on
10005 gdb startup case where the line numbers might be messed up.
10006
10007Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10008
10009 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10010 (CFLAGS): Delete it from here.
10011
10012Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10013
10014 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10015
10016Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10017
10018 * Makefile.in (RUNTEST): Default to just "runtest".
10019
10020Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10021
10022 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10023 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10024 the code has been restructured.
10025
10026Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10027
10028 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10029 \n, not just one of each.
10030
10031 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10032 /bin/cc gives a warning if you do.
10033
10034Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10035
beb998c6 10036 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
10037 __t10ListS_link1ZUiRCUiPT0
10038
10039Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10040
10041 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10042 on local variables in recursive functions.
10043
10044 * gdb.t07/Makefile.in: Build the new test.
10045
10046Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10047
10048 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10049 directly. Instead compare the return values from actual calls.
10050
10051Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10052
10053 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10054
10055Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10056
10057 * From Peter Schauer with minor modifications.
10058 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10059 stops in mid-line in the caller. Add xfail for returning a float
10060 value on X86 targets.
10061
10062Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10063
10064 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10065 to avoid expect lossage.
10066 (fmem_LRbug_tests): Likewise.
10067 * gdb.disasm/hppa.s: Corresponding changes.
10068
10069 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10070 conditions to work with latest dejagnu/expect.
10071
10072 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10073 expected to fail on the PA.
10074 (backtrace in call with trampolines): Explicitly require main
10075 to be frame #1 (no trampolines should show up in backtrace).
10076
10077 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10078 "continue -expect".
10079 * gdb.t06/break.exp: Likewise.
10080 * gdb.t07/watchpoint.exp: Likewise.
10081 * gdb.t13/bitfields.exp: Likewise.
10082 * gdb.t15/{funcargs,return}.exp: Likewise.
10083 * gdb.stabs/weird.exp: Likewise.
10084 * config/{mips,udi}-gdb.exp: Likewise.
10085
10086 * hppa.sed: Enclose comments within a sed command to avoid
10087 losing with the old OSF1 sed.
10088
10089Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10090
10091 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10092 sequent dynix.
10093 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10094 * gdb.t15/funcargs.exp: Conditionally step again to really
10095 finish from marker_call_with_trampolines. Handle the case where
10096 the first step from within call_with_trampolines already steps
10097 us back to main.
10098 * gdb.t15/gdbme.c: Add comment to closing brace of
10099 call_with_trampolines for funcargs.exp.
10100
10101Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10102
beb998c6 10103 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
10104 Fix typo(s).
10105
10106Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10107
10108 * gdb.t07/gdbme.c: More code for watchpoint testing.
10109
10110 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10111 "Hardware watchpoint" throughout file.
10112 (test_watchpoint_triggered_in_syscall): New test.
10113 (test_complex_watchpoint): New test.
10114
10115Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10116
10117 * gdbme.c (call_with_trampolines): New function to try and step
10118 into. Tests trampoline problems on the PA.
10119
10120 * funcargs.exp (localvars_in_indirect_call): No longer expect
10121 stepping into indirect call to fail on PAs.
10122 (test_stepping_over_trampolines): New test.
10123
10124Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10125
10126 * TODO: Add suggestions for static member function tests, and
10127 completion tests.
10128
10129Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10130
10131 * TODO: Add suggestions for "p/a" tests.
10132
10133 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10134 (default_gdb_exit): Replace all the hair with sending "quit" to
10135 the process with a simple close.
10136
10137Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10138
10139 * TODO: Add suggestions for shared library tests.
10140
10141Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10142
10143 * TODO: Add suggestions for x/s tests.
10144
10145Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10146
10147 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10148 "enable once", and "enable breakpoints once" with ".*".
10149
10150Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10151
10152 * TODO: Add suggestions about structure passing tests.
10153
10154Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10155
10156 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10157 the primary1 test, use work around if __GNUC__ < 2.
10158 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10159 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10160 Test for bad output rather than waiting for timeout. Issue
10161 second continue only if first continue failed.
10162
10163Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10164
10165 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10166 operator[] test with gdb_test because the old code didn't seem to
10167 be getting the quoting right with the new dejagnu.
10168
10169Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10170
10171 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10172 one from the path.
10173 * Makefile.in: Use a fresh expect if there is one, use runtest
10174 from the src tree if there is one.
beb998c6 10175
c906108c
SS
10176Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10177
10178 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10179 next over recursive call. Revise the tests from that point on
10180 (which had been skipped) to match GDB's actual (correct) output.
10181
10182 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10183 with next over a breakpoint whose condition is false.
10184
10185 * gdb.t00/help.exp: Comment out "help set print" tests just like
10186 (and for same reason as) "help set" test.
10187
10188Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10189
10190 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10191 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10192
10193Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10194
10195 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10196 necessary gdb_target_udi.
10197
10198 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10199
10200 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10201 1838 and 2417; they are fixed.
10202
10203 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10204 gdb.t03/ptype.exp (ptype structure, ptype union):
10205 Remove xfails; the test is looser than when the xfails were added.
10206
10207 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10208 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10209
10210 * gdb.t01/run.exp: Only run shell test if isnative.
10211
10212 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10213 since "run" automatically loads if necessary. Call gdb_target_udi
10214 after the "file" since "file" kills any execution target.
10215
10216 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10217 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10218 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10219 argument for UDI.
10220
10221Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10222
10223 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10224
10225 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10226
10227Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10228
10229 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10230 properly quoting regexps. This makes the second argument to
10231 demangle a fixed string, which matches the callers, instead of a
10232 shell-style pattern which is what the previous implementation
10233 used. Update some of the callers.
10234
10235Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10236
10237 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10238 (comib_nullified_tests): Fix typo.
10239 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10240 strings. No longer expected to fail.
10241
10242 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10243 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10244 strings. No longer expected to fail.
10245
10246 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10247 string. No longer expected to fail.
10248
10249Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10250
10251 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10252 No longer expected to fail.
10253
10254 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10255 string. No longer expected to fail.
10256
10257Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10258
10259 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10260 only in the names (I probably got most of them). I was even
10261 generous with some which differed in underscores in names, and
10262 probably missed a few, and I *still* was able to remove almost a
10263 third of the file with almost no impact on testsuite coverage.
10264
10265Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10266
10267 * gdb.t00/default.exp: Match udi_attach error message as well as
10268 the one from child_attach.
10269
10270 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10271
10272 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10273
10274 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10275 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10276
10277 * Move test with enums and partial symbols back to
10278 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10279 Reverts the change of 26 May 93. Per today's change to
10280 stabs.texinfo, the behavior that weird.exp was expecting was
10281 unreasonable; what is important is that the compiler+gdb get
10282 things right, which happens with a recent gcc. Also fix the test
10283 to deal with native compilers which put out the stab gdb can't
10284 deal with.
10285
10286Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10287
10288 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10289 in the names. The main thing these accomplish is to slow things down.
10290 Many more such duplicates surely remain.
10291
10292 * gdb.t00/help.exp: Comment out "help support" test just like
10293 (and for same reason as) "help set" test.
10294
10295Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10296
10297 * gdb.t06/break.exp: Remove setup_xfails for
10298 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10299 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10300 about known bug in gcc to include up through 2.5.8.
10301 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10302 well as "_vb$".
10303 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10304 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10305 with latest gcc and gdb.
10306 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10307 well as "_vb$".
10308
10309Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10310
10311 * configure.in (hppa*-*-*): Also configure and build stabs-only
10312 tests.
10313
10314Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10315
10316 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10317 * gdb.t10/configure.in (hppa*-*-*): Use it.
10318
10319Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10320
10321 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10322
10323Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10324
10325 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10326 versions prior to 1.13.5.
10327
10328Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10329
10330 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10331 the prompt is at the start of a line.
10332
10333Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10334
10335 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10336 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10337 in the copr tests now.
10338 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10339 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10340 expected to fail.
10341
10342Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10343
10344 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10345 gdb.t31/chillvars.exp, lib/gdb.exp:
10346 Tweak to run under either version of expect.
10347 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10348 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10349 * gdb.t11/list.exp: Remove extraneous whitespace.
10350
10351Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10352
10353 * gdb.t16/printcmds.exp (test_print_strings): Accept
10354 "(unsigned char *) " before the string.
10355
10356 * TODO: Add notes about printing of fancy types and GDB expressions.
10357
10358Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10359
10360 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10361 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 10362 if doing mips-idt-ecoff.
c906108c
SS
10363
10364Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10365
10366 * Most .exp files: Tweak to run under either version of expect.
10367
10368Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10369
10370 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10371 xfails; I'm not sure why they are failing, but not because of PR 1806.
10372
10373Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10374
10375 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10376 defined in lib/gdb.exp.
10377
10378Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10379
10380 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10381 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10382 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10383 have to be typeless.
10384
10385Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10386
10387 * TODO: Add suggestion for copyright year test.
10388
10389Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10390
10391 * configure.in (*-*-lynxos*): Add stabs tests.
10392
10393Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10394
10395 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10396 so insert a tab before any assembler directive in column zero.
10397
10398 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10399 stores.
10400 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10401 stores.
10402 (fpu_short_memory_tests): Likewise.
10403
10404Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10405
10406 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10407 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10408 .stabs directives in comments.
10409
10410Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10411
10412 * TODO: New file, describing tests we could write.
10413 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10414
10415Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10416
10417 * gdb.t06/signals.exp: Add kludge to force re-sync.
10418
10419 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10420 to xgdb instead of gdb, get out of gdb.
10421
10422Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10423
10424 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10425 for info.
10426
10427Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10428
10429 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10430 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10431 * gdb.stabs/hppa.sed: New sed script for the PA.
10432
10433Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10434
10435 * gdb.stabs: Re-write weird.def and configuration to use sed
10436 instead of cpp. sed is portable and POSIX; cpp is neither.
10437
10438Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10439
10440 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10441
10442Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10443
10444 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10445
10446Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10447
10448 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10449 "_vb$".
10450 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10451 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10452
10453Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10454
10455 * lib/gdb.exp: Comment out code which depends on non-existent
10456 `transform' procedure.
10457
10458Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10459
10460 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10461 * lib/gdb.exp: Transform tool name.
10462 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10463 1.1's new error handling system.
10464
10465Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10466
10467 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10468
10469Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10470
10471 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10472 They made pattern matching so slow that timeouts happened on
10473 heavily loaded systems. Now any output from "show print" which
10474 gets us back to the GDB prompt is a PASS.
10475
10476Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10477
10478 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10479
10480Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10481
10482 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10483
10484 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10485 It is not from PR 3220.
10486
10487Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10488
10489 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10490 just started failing because they depended on the order the
10491 subcommands are presented, or exact docstring text. This kind of
10492 test is a pain and has minimal benefit.
10493
10494Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10495
10496 * gdb.t09/corefile.exp: At end of test, use "core" command with
10497 no arguments.
10498
10499Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10500
10501 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10502 17}/Makefile.in: Make it possible to run the testsuite with Sun
10503 make and CC = cross gcc by adding explicit build rules for .o
10504 files.
10505
10506Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10507
10508 * gdb.t15/funcargs.exp: Don't put comments on same line as
10509 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 10510
c906108c
SS
10511Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10512
10513 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10514
10515Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10516
10517 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10518 * gdb.t20/inherit.exp: remove three dumplicate entries.
10519
10520Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10521
10522 * gdb.t06/break.exp: For "next over recursive call", fail on any
10523 incorrect output, not just on "factorial (value=2)".
10524
10525Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10526
10527 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10528 working now. Add an xfail if accesing a bss variable causes
10529 a memory error if the target is not yet run.
10530
10531Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10532
10533 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10534 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10535 name of __st* demangling (2 strings). Did Kung really get the
10536 more than 95 others right without testing them?
10537
10538Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10539
10540 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10541
10542Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10543
10544 * configure.in (configdirs): Add gdb.disasm
10545 * gdb.disasm: New directory for GDB disassembler tests.
10546 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10547
10548Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10549
10550 * gdb.t00/help.exp: Don't test "help set".
10551
10552 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10553 from within expect statements. None of these happen anymore and
10554 they cause regressions to be silently unnoticed.
10555
10556 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10557 messages) about known failures with gcc cygnus-2.4.5-930417.
10558
10559 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10560 comp-info.exp so it gets built if it doesn't exist.
10561
10562 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10563 it is no longer used.
10564 * gdb.t13/comp-info.c: Removed.
10565
10566Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10567
10568 * gdb.t06/signals.exp: Add xfail for sun3.
10569
10570Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10571
10572 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10573 relevant because ^C doesn't get sent but failure can be reproduced
10574 interactively).
10575
10576Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10577
10578 * gdb.stabs/alpha.mt: New configuration file for alpha.
10579 * gdb.stabs/configure.in: Use it.
10580 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10581 sharing with alpha.mt, redefine long to word via preprocessor.
10582 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10583 for alpha.
10584 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10585 native cc.
10586 * gdb.t00/teststrategy.exp: Change expect string so that we
10587 consume the `(xgdb)' from the command echo and from the gdb prompt.
10588 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10589 gdb currently compares all values as long, so this failure probably
10590 applies to any configuration where LONGEST is bigger than a target int.
10591 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10592 with gcc.
10593 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10594 to handle opaque pointers, gcc is.
10595 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10596 as first argument. Include <sys/types.h> and change all operator
10597 new definitions to use size_t.
10598 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10599 now that we use size_t.
10600
10601Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10602
10603 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10604 a long or float array cast all array members to the same type.
10605 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10606 with 64 bit longs.
10607 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10608 on alpha.
10609 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10610
10611Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10612
10613 * gdb.t24 (demangle.exp): Constructors of templates have names like
10614 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10615 section 14.6 of the ARM.
10616
10617 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10618 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10619 accomplish little and slow down the testsuite.
10620
10621 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10622 Accept spaces various places.
10623
10624Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10625
10626 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10627 with watchpoint enabled.
10628
10629 * Makefile.in: Remove definition of CC and remove the second
10630 definition of CXX (the "CXX = gcc" one remains). These definitions
10631 were causing backquotes to be expanded within backquotes, which
10632 doesn't work.
10633
10634Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10635
10636 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10637
10638Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10639
10640 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10641 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10642 by mips cc and contains no stabs entries.
10643
10644Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10645
10646 * config/vx-gdb.exp: Use fake device to load files rather than
10647 NFS.
10648 * lib/gdb.exp: New proc to do "file" command.
10649 * config/unix-gdb.exp: Use new "file" proc.
10650
10651Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10652
10653 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10654 Rework board rebooting slightly.
10655 (gdb_exit): Don't exit from the remote shell; there isn't one.
10656 * gdb.stabs/weird.exp: If a program is being debugged already,
10657 kill it.
10658 * gdb.t04/setvar.exp: Stop and restart gdb.
10659 * gdb.t05/expr.exp: Likewise.
10660 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10661 restart gdb and reload the program.
10662 * gdb.t08/opaque.exp: Likewise.
10663 * gdb.t12/scope.exp: Likewise.
10664 * gdb.t13/bitfields.exp: Likewise.
10665 * gdb.t15/funcargs.exp: Likewise.
10666 * gdb.t20/classes.exp: Likewise.
10667 * gdb.t03/ptype.exp: Increase timeout.
10668 * gdb.t16/printcmds.exp (test_print_string_constants,
10669 test_print_array_constants): Likewise.
10670 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10671 * gdb.t20/classes.exp (do_tests): Likewise.
10672 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10673
10674Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10675
10676 * gdb.stabs: Renamed *wierd* to *weird*.
10677
10678Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10679
10680 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10681 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10682
10683Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10684
10685 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10686 (do_tests): Remove xfail for whatis on one_var and two_var.
10687
10688Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10689
10690 * Makefile.in: Made cross building work better by adding
10691 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10692
10693Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10694
10695 * gdb.t15/{return.c,return.exp,Makefile.in}:
10696 New test, currently commented out.
10697
10698Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10699
10700 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10701 still running and removes the leftover named socket so GDb can do
10702 clean restarts.
10703
10704Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10705
10706 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10707 console, not GDB.
10708 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10709 cross testing works better with "make check"
10710 * config/unix-gdb: Use default procedures for exit and version.
10711 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10712 with the newest VxWorks.
10713
10714Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10715
10716 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10717 old form.
10718
10719 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10720 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10721
10722 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10723
10724 * config/unix-gdb.exp: Remove this version of gdb_exit
10725 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10726 Rob says he'll look at it when he gets back to testing boards.
10727
10728Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10729
10730 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10731 an expected fail for certain ptype commands.
10732
10733 * gdb.t20/classes.exp: Update expected results of "ptype class
10734 Base1" to account for the constructor that now appears in the type.
10735
10736Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10737
10738 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10739 disappeared from list.
10740 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10741 "alldone" proc with call to cleanup and exit.
10742 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10743 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10744 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10745 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10746 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10747 "alldone" proc with simple returns that suppress remaining
10748 tests. The alldone proc went away many months ago.
10749
10750Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10751
10752 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10753
10754 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10755
10756Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10757
10758 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10759 as vax gdb will display them.
10760
10761Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10762
10763 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10764 optimizers.
10765
10766 * scope.exp: Change "bad value for localval" messages so each one
10767 is unique.
10768
10769 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10770 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10771
10772 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10773
10774Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10775
10776 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10777 doesn't exist (due to optimization).
10778
10779Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10780
10781 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10782 contains \r because the filename is long.
10783
10784 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10785 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10786
10787Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10788
10789 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10790 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10791 Ultrix.
10792 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10793 int tests.
10794 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10795
10796Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10797
10798 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10799
10800 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10801 to match does not match the passing case but still matches the
c906108c
SS
10802 failing case.
10803
10804Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10805
10806 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10807
10808Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10809
10810 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10811 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10812 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10813 Remove various versions of gdb_exit.
10814 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10815 gdb_exit.
10816 * config/unix-gdb.exp: gdb_exit remains here, and should override
10817 the generic version, since it's doing a lot of wierd stuff that
10818 the other versions aren't. FIXME, fold it in, or abandon this
10819 version.
10820
10821Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10822
10823 * gdb.t24/demangle.exp: Add tests for PR 3220.
10824
10825Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10826
10827 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10828
10829Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10830
10831 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10832 "i386-*-*". Works for i486 as well.
10833
10834 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10835 bug, and expand domain of xfail to all SVR4 systems, since the
10836 actual problem is likely to be in generic SVR4 /proc support.
10837
10838Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10839
10840 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10841
10842Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10843
10844 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10845 xfails for other systems. Match a missing 'Continuing.' as an
10846 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10847
10848 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10849 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10850 Only issue warning for missing executables if -all option is used.
10851
10852 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10853 file if -all option is used. It's like an unpredictable XFAIL.
10854
10855Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10856
10857 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10858 for dynamically linked binaries.
10859
10860 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10861
10862Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10863
10864 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10865 to state that this is a known bug in old versions of g++.
10866
10867Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10868
10869 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10870 while waiting for `Continuing'.
10871
10872Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10873
10874 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10875 in text, data, and bss.
10876 * gdb.t10/nodebug.c: Add local and global test variables for
10877 initialized and uninitialized data.
10878
10879Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10880
10881 * config/unix-gdb.exp (gdb_exit): Add "wait".
10882
10883Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10884
10885 * gdb.t06/signals.exp: xfail the continue from the handler for all
10886 targets.
10887
10888 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10889 function with watchpoints enabled, the i386 call dummy starts with
10890 a call.
10891
10892 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10893 386 bsd names its corefiles.
10894
10895Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10896
10897 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10898 compilers don't grok it.
10899 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10900 with small octal ints rather than character constants, which
10901 are signed and might not fit if first promoted to int.
10902
10903Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10904
10905 * gdb.t09/Makefile.in (clean): Remove corefile.
10906
10907Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10908
10909 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10910
10911Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10912 and Jim Kingdon (kingdon@cygnus.com)
10913
10914 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10915 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10916 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10917
10918Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10919
10920 * gdb.t17/interrupt.exp: Add xfail for hppa.
10921
10922Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10923
10924 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10925 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10926 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10927 to determine signed-ness of bitfields and use the result to setup
10928 the xfail.
10929 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10930 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10931 call line is reached if necessary.
10932
10933Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10934
10935 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10936
10937Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10938
10939 * gdb.t06/break.exp: Also test `clear' command.
10940
10941Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10942
10943 * gdb.t00/teststrategy.exp: Remove extra quote.
10944
10945 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10946 watchpoint enabled to be for all non-68k machines.
10947
10948 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10949
10950Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10951
10952 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10953 targets use aout.mt instead of ecoff.mt as gas understands
10954 standard aout format.
10955
10956Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10957
10958 * lib/gdb.exp (runto): Don't insist that function we are running to
10959 was compiled with -g.
10960
10961 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10962
10963 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10964 to get back into the read system call.
10965 Accept leading newline in case where we woke it up.
10966
10967Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10968
10969 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10970 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10971 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10972 enable ecoff configuration.
10973
10974Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10975
10976 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10977
10978Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10979
10980 * gdb.t16/printcmds.exp: Add another printf test.
10981
10982Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10983
10984 * configure.in: If configured -with-stabs on any target, add
10985 stabsdirs to configdirs.
10986
10987Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10988
10989 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10990 fun" so pattern does not match the command itself.
10991
10992Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10993
10994 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10995
10996Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10997
10998 * gdb.t17/interrupt.exp: Test for more things.
10999
11000Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11001
11002 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11003 compiler arranges the code and line numbers.
11004
11005 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11006
11007Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11008
11009 * gdb.t00/help.exp: Increase expect input buffer size.
11010
11011Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11012
11013 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11014
11015 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11016
11017 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11018
11019 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11020 [0-9]*, not just [0-9].
11021
11022Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11023
11024 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11025
11026 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11027
11028Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11029
11030 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11031
11032Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11033
11034 * gdb.t06/signals.c: Add xfails for sun3.
11035
11036 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11037
11038 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11039 test_stepping tests.
11040
11041Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11042
11043 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11044
11045 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11046
11047 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11048 rather than actually putting it through cpp twice.
11049
11050 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11051
11052Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11053
11054 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11055 no longer needed.
11056
11057Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11058
11059 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11060
11061 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11062 C++ features prints as "struct", make it a pass, not an xfail.
11063
11064Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11065
11066 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11067 Don't require VA to print as "class" rather than "struct".
11068
11069Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11070
11071 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11072
11073Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11074
11075 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11076
11077Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11078
11079 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11080 order.
11081
11082Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11083
11084 * gdb.t16/printcmds.exp: Add printf tests.
11085
11086 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11087
11088 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11089
11090Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11091
11092 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11093 pass counts, to counteract any existing or future setup_xfails.
11094
11095Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11096
11097 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11098 {BEGIN,END}_COMMON for common block instead of STAB.
11099 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11100
11101 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11102 intp_var should be N_GSYM not N_LSYM.
11103 wierd-aout.S: Use a label for the value of the N_SO.
11104 wierd.def: Remove all backslashes.
11105 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11106
11107Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11108
11109 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11110 get the expected next to inheritance3.
11111
11112Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11113
11114 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11115 now that gcc-2.4 gets it right.
11116
11117Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11118
11119 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11120
11121 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11122 generating comp-info.exp which works for cross-compilation.
11123
11124Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11125
11126 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11127 "*-*-sysv4.*".
11128
11129Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11130
11131 * gdb.t01/run.exp: Start with a fresh gdb.
11132 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11133 SVR4.x.
11134
11135Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11136
11137 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11138 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11139 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11140 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11141 things to remove.
11142
11143Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11144
11145 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11146 test cases from bug reports.
11147
11148Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11149
11150 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11151 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11152 avoid spurious xfails.
11153 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11154 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11155 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11156
11157Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11158
11159 * gdb.t00/teststrategy.exp: Rework to provide more useful
11160 description of each test, fix problem with systems that define
11161 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11162 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11163 results for "next over recursive call" so timeouts aren't taken
11164 by error.
11165
11166Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11167
11168 * gdb.t12/scope.exp: Test printing of variables before run.
11169
11170 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11171 printed in wrong order due to sorting.
11172
11173Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11174
11175 * gdb.t00/teststrategy.exp: Fix expected results for printing
11176 user entered string constant. Is array of char, prints with no
11177 address.
11178
11179 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11180 commands.
11181 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11182 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11183 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11184 of struct of char arrays.
11185 * gdb.t00/radix.exp: New tests for radix commands.
11186
11187Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11188
11189 * gdb.t16/printcmd.exp: Print a variable before running program
11190 (with xfail for AIX).
11191
11192Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11193
11194 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11195
11196 * gdb.t16/printcmd.exp: Don't print variables before running program.
11197
11198 * gdb.t06/break.exp: Don't require envp argument to main.
11199
11200 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11201
11202 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11203 Add xfails for rs6000.
11204
11205 * gdb.t02/whatis.exp: Change other tests not to re-test something
11206 we already tested.
11207
11208 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11209 each type used has a variable of that type.
11210
11211Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11212
11213 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11214
11215Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11216
11217 * configure.in: change srctrigger to be a file, not a directory
11218
11219Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11220
11221 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11222
11223 * gdb.t11/list.exp: Fixed a couple of typos.
11224
11225Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11226
11227 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11228 is fixed and PR is closed.
11229 * gdb.t16 (gdbme.c): Add simple test string variable.
11230 * gdb.t16 (printcmds.exp): Add tests with simple test string
11231 variable, primarily for boundaries on "set print elements".
11232
11233Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11234
11235 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11236 Make leading 0's optional and don't expect a tab in the middle
11237 of the number.
11238
11239 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11240
11241 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11242 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11243 don't end command passed to gdb_test with newline.
11244
11245 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11246 signed keyword away, don't expect signed bitfields to be signed.
11247
11248 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11249 printing with only as many 1's as are in the field as well as printing
11250 with 32 1's (see comment).
11251
11252Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11253
11254 * gdb.t00/default.exp: Start with a fresh gdb.
11255 * configure.in (configdirs): Remove gdb.t31 until the chill
11256 compiler works again. It no longer is able to find chillrt0
11257 since it isn't in libchill.a anymore.
11258 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11259 wierd.o, make more modular.
11260 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11261 spurious newlines that caused problems.
11262
11263Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11264
11265 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11266 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11267 gdb.stabs/wierd.{exp,def}: Many new tests.
11268
11269 * gdb.t00/default.exp: update info line for new message.
11270
11271 * gdb.t02/{whatis.exp,gdbme.c}:
11272 Test that "char *" doesn't print as "caddr_t".
11273
11274Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11275
11276 * gdb.t00/help.exp: Use .* in place of some help messages which
11277 just changed.
11278 gdb.t00/default.exp: Update "info frame" test for new message.
11279 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11280 Remove some xfails
11281
11282Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11283
11284 * gdb.t03/{gdbme.c,ptype.exp}:
11285 Add tests for typedef'd struct and union without tags.
11286 Also check "whatis" on a variable of a typedef'd enum without a tag.
11287
11288 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11289 PRMS 1823; the bug still exists but isn't reproduced by this test
11290 anymore), and remove rs6000 XFAIL (the bug is fixed).
11291
11292 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11293 duplicated from whatis.exp. For those that are left, accept
11294 "long", "long int", or "int" for long variables (whatis.exp already
11295 has an XFAIL for "int", so no need to fail it here).
11296
11297 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11298 Deal with GCC's names for types now that GDB uses the compiler's names.
11299
11300 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11301 setup_xfail's for sunos4. If we #defined the signed keyword away,
11302 don't expect GDB to know that char it is signed.
11303
11304 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11305
11306Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11307
11308 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11309 should work on any system, regardless of debugging format.
11310 * gdb.t21/demangle.exp: Move to gdb.t24.
11311 * gdb.t24/demangle.exp: Move from gdb.t21.
11312 * gdb.t24/{Makefile.in, configure.in}: New files.
11313
11314Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11315
11316 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11317 * gdb.stabs: New directory.
11318
11319Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11320
11321 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11322 not just "Quit anyway?".
11323
11324Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11325
11326 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11327 that all setup_xfails are immediately followed by clear_xfails.
11328
11329Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11330
11331 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11332 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11333 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11334 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11335 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11336 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11337 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11338 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11339 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11340 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11341 gdb.t31/chillvars.exp, lib/gdb.exp:
11342 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11343 bug-gdb@prep.ai.mit.edu.
11344
11345Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11346
11347 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11348 with 0.0, not integer 0.
11349
11350Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11351
11352 * gdb.t06/break.exp: Update for "Kill the program" message change.
11353
11354Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11355
11356 * Makefile.in (GDBFLAGS): Set to -nx.
11357 * Makefile.in (site.exp): Use GDBFLAGS.
11358
11359Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11360
11361 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11362 Makefiles.
11363 (check): depend on just-check.
11364 (just-check): added so that tests can be run without a noop
11365 build pass.
11366
11367Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11368
11369 Switch to using configure's configdirs.
11370 * Makefile.in (Makefile): add configure.in dependency.
11371 (SUBDIRS): removed redundant assignment.
11372 * configure.in: switch subdirs assignment to configdirs.
11373 * gdb.t*/configure.in: new files.
11374
11375Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11376
11377 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11378 works.
11379
11380Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11381
11382 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11383 in explicit rules. Apparently this is not supported by some makes.
11384
11385Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11386
11387 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11388
11389Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11390
11391 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11392 disappeared.
11393
11394Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11395
11396 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11397
11398Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11399
11400 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11401 watchpoint problem that is now fixed.
11402 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11403 uninitialized convenience variables.
11404 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11405 structures.
11406
11407Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11408
11409 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11410 which causes expect to get out of sync with gdb on long output
11411 from help set.
11412 * gdb.t09/corefile.exp: Make expected pattern for core file
11413 failing signal and frame output format less sun specific.
11414
11415Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11416
11417 * gdb.t31/chillvars.exp: Add and remove initial dummy
11418 breakpoint, so that symbol table is forced in.
11419 (Needed at least on Sunos4, though it seems not SVR4.)
11420 * gdb.t31/chillvars.exp: Update for changed output format.
11421
11422Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11423
11424 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11425
11426Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11427
11428 * Makefile.in: Added --srcdir when invoking runtest, removed the
11429 need for a local config file. (optional now)
11430
11431Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11432
11433 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11434 failure count used to force early termination. Add some more
11435 expected failures for gnu style demangling.
11436
11437Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11438
11439 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11440 pmi variable from gdb.t20/gdbme to get optimized away.
11441 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11442 Check for written corefile upon timeout _and_ eof.
11443
11444Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11445
11446 * config/unix-gdb.exp: Add missing return 0.
11447
11448Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11449
11450 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11451 test termination.
11452
11453Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11454
11455 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11456 disappeared.
11457
11458Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11459
11460 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11461 time as i860 support works.
11462
beb998c6 11463 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11464 "backtrace 100\r" rather than just "backtrace\r", to match last
11465 change.
11466
11467Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11468
11469 * config/udi-gdb.exp (gdb_exit): Remove close command.
11470 (gdb_target_udi): New procedure to set the UDI target.
11471 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11472 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11473 Added waits for prompts after several question responses. Added
11474 some more responses used by a29k-amd-udi-gdb.
11475 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11476 pass different arguments, restart UDI connection after program
11477 completion.
11478 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11479 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11480 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11481 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11482 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11483 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11484 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11485 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11486 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11487 after program completion.
11488 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11489 compiled with a SELECT_VECS setting.
11490 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11491 infinite recursion.
11492
11493 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11494 Added checks for COFF results, and made them expected failures for
11495 all targets. It would be better to make them expected failures
11496 for COFF targets only.
11497
11498Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11499
11500 * Makefile.in: add null dvi target, don't bother to recurse
11501 through test directories for info and install-info; rename
11502 $(datadir) to be dejagnu instead of deja-gnu
11503
11504Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11505
11506 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11507 compiler to coredump.
11508 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11509 code.
11510
11511Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11512
11513 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11514 coredump.
11515 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11516 code.
11517
11518Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11519
11520 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11521 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11522 which in a shell. Deletes xgdb when done.
11523 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11524 Tests the return from the "set height" or "set width" commands.
11525 Added a few return codes where needed.
11526
11527Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11528
11529 * Makefile.in (SUBDIRS): Add gdb.t17.
11530 * configure.in (subdirs): Add gdb.t17.
11531 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11532 files to test gdb's calling of functions in the inferior with
11533 the correct arguments and gdb's ability to retrieve any
11534 result returned.
11535
11536Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11537
11538 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11539 may be called after gdb goes away. Previous versions of expect
11540 needed these to avoid file descriptor leaks, but they cause
11541 errors with the current revision of expect.
11542 * gdb.t00/gdbvars.exp: Use -re on expected output after
11543 setting sevenbit-strings.
11544 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11545 to set sevenbit-strings consistent across tests.
11546 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11547 set sevenbit-strings consistent across tests.
11548
11549Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11550
11551 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11552 expected output to match current "expect" expectations.
11553
11554Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11555
11556 * gdb.t00/default.exp: Change expected output for default "source"
11557 command, to match new gdb behavior which requires a filename to
11558 source.
11559
11560Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11561
11562 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11563 expected fail for i486-*-* that misses the marker2 function.
11564 * gdb.t10/crossload.exp (bfddefault): Allow successful
11565 recognition of a format to pass even if no symbols are found.
11566 Explicitly catch failures where the format is not recognized
11567 or is ambiguous, and add the reason to the fail message.
11568 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11569 the cause is and invalid target and add reason to failure message.
11570 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11571 elf32-i386, elf32-sparc, and elf32-i860.
11572 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11573 Set up expected failure for 'filename'::variable scope resolution,
11574 which is now apparently broken on all targets.
11575 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11576 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11577 gdb.t23/templates.exp: Change failure for missing binfile into
11578 just a warning.
11579 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11580 references.
11581
11582Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11583
11584 * gdb.t00/default.exp: Add expected output for default "source"
11585 command, to match new gdb behavior.
11586 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11587
11588Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11589
11590 * config/*-gdb.exp: returns an error, rather than exiting on
11591 internal errors.
11592
11593Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11594
11595 * gdb.t03/gdbme.c: Add pointer to struct variable.
11596 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11597 referencing struct members.
11598
11599Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11600
11601 * configure.in (mips-idt-ecoff): New target.
11602 * config/mips-gdb.exp: New file for remote board using MIPS remote
11603 debugging protocol.
11604
11605 * Redid configuration scheme. Removed gdb.t*/configure.in.
11606 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11607 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11608 distclean targets. Built executables via .o files. Adjusted
11609 tests to account for source files in $(srcdir) rather than
11610 $(objdir).
11611 * lib/gdb.exp (runto): Don't expect () after the function name,
11612 because it may have arguments.
11613
11614Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11615
11616 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11617 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11618 expected failures for mips-idt-* and mips-sgi-*.
11619 * gdb.t00/default.exp (attach): Kill process if requested.
11620 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11621 that does not read core files.
11622 * gdb.t01/run.exp: Removed checks for exit status code.
11623 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11624 it is linked in.
11625 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11626 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11627 appropriate, rather than doing it by hand.
11628 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11629 execution.
11630 * gdb.t10/crossload.exp: Kill existing program if needed.
11631 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11632 appropriate, rather than doing it by hand. Always increase
11633 timeout for this test, not just for VxWorks.
11634
11635Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11636
11637 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11638 of Chill STRUCT types and STRUCT values.
11639 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11640 than "char".
11641 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 11642 struct2): New struct definitions and initializations to test
c906108c
SS
11643 simple Chill STRUCT types.
11644
11645Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11646
11647 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11648 the null byte at the end of strings.
11649 * gdb.t00/default.exp: Make show version insensitive to copyright
11650 date.
11651 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11652 to avoid dependencies on target char signedness.
11653 * gdb.t16/printcmds.exp: Update expected results for explicitly
11654 unsigned char.
11655 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11656 now work.
11657 * gdb.t21/demangle.exp: Add many more patterns for template
11658 demangling, most of them being expected failures.
11659 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11660 string we are matching for, to match on the whole string.
11661 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11662 and fix a whole bunch that had incorrect expected output but were
11663 passing anyway because of the bug in "proc demangle".
11664 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11665 type.
11666 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11667
11668Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11669
11670 * gdb/testsuite: made modifications to testcases, etc., to allow
11671 them to work properly given the reorganization of deja-gnu and the
11672 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11673
11674Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11675
11676 * gdb/testsuite: Initial creation of gdb/testsuite.
11677 Migrated dejagnu testcases and support files for testing nm to
11678 gdb/testsuite from deja-gnu. These files were moved "as is"
11679 with no modifications. This migration is part of a major overhaul
11680 of dejagnu. The modifications to these testcases, etc., which
11681 will allow them to work with the new version of dejagnu will be
11682 made in a future update.
48efe704
AC
11683
11684For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
11685\f
11686Local Variables:
ef043731 11687mode: change-log
c906108c
SS
11688left-margin: 8
11689fill-column: 74
11690version-control: never
11691End: