]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ed69573c
MC
12004-03-09 Michael Chastain <mec.gnu@mindspring.com>
2
3 * gdb.cp/classes.cc: New file, copied from misc.cc.
4 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
5
28301461
MC
62004-03-09 Michael Chastain <mec.gnu@mindspring.com>
7
8 * gdb.cp/misc.cc: Add copyright notice.
9
1198ecbe
DC
102004-03-05 David Carlton <carlton@kealia.com>
11
12 * gdb.cp/rtti.exp: Add 'print *obj3' test.
13 * gdb.cp/rtti.h: Update copyright.
14 (namespace n2::n3): New.
15 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
16 (n2::n3::func3): New.
17 (main): Call n2::n3::func3.
18 * gdb.cp/rtti2.cc: Update copyright.
19 (n2::create3): New.
20
9e08c470
MK
212004-03-04 Mark Kettenis <kettenis@gnu.org>
22
23 * gdb.asm/openbsd.inc: Fix typo.
24
4bebc3aa
FF
252004-03-03 Fred Fish <fnf@redhat.com>
26
27 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
28 "val" instead of unused "size". Update copyright year.
29
6ea9fb37
DJ
302004-02-29 Daniel Jacobowitz <drow@mvista.com>
31
32 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
33 to use unsigned char.
34 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
35 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
36
23b23974
DJ
372004-02-29 Daniel Jacobowitz <drow@mvista.com>
38
39 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
40 line of output.
41
7574fd53
DJ
422004-02-28 Daniel Jacobowitz <drow@mvista.com>
43
44 * gdb.base/relocate.c (dummy): Initialize.
45
a195357f
DJ
462004-02-28 Daniel Jacobowitz <drow@mvista.com>
47
48 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
49 a breakpoint at exit.
50
72fd54a9
FF
512004-02-27 Fred Fish <fnf@redhat.com>
52
53 * gdb.base/chng-syms.exp: Add expect condition to match failing
54 case that isn't a timeout.
55
b9d23137
AC
562004-02-27 Andrew Cagney <cagney@redhat.com>
57
58 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
59 support.
60
15d208f6
FF
612004-02-26 Fred Fish <fnf@redhat.com>
62
63 * gdb.arch/gdb1431.c: Remove.
64 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
65 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
66 of "until" incorrectly.
67
98f9cd2d
JB
682004-02-26 J. Brobecker <brobecker@gnat.com>
69
70 * gdb.cp/class2.cc (empty): New class.
71 (refer): New function.
72 (main): Declare an object of type empty and use it.
73 * gdb.cp/class2.exp: Print the value of an object of type empty.
74
9b50c11b
JJ
752004-02-26 Jeff Johnston <jjohnstn@redhat.com>
76
77 * gdb.base/langs.exp: Update query string to match the
78 new nquery format used for pending breakpoints.
79
0dcd613f
AC
802004-02-26 Andrew Cagney <cagney@redhat.com>
81
82 Fix PR i18n/1570.
83 * gdb.base/charset.c: Update copyright notice.
84 (main, init_string): Remove the escape character '\e' tests.
85 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
86 * gdb.base/charset.exp (valid_host_charset): Ditto.
87 * gdb.base/setvar.exp: Ditto.
88
b8a56647
AC
892004-02-24 Andrew Cagney <cagney@redhat.com>
90
90d59e34
AC
91 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
92 mmapped data in core file" PASS and FAIL messages consistent.
93
b8a56647
AC
94 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
95 setting a breakpoint. Work around PR java/1565.
96
9f27c604
JJ
972004-02-23 Jeff Johnston <jjohnstn@redhat.com>
98
99 * lib/gdb.exp (gdb_breakpoint): Update query string to match
100 new nquery format.
101 * gdb.base/pending.exp: Ditto.
102
3224a706
MK
1032004-02-22 Mark Kettenis <kettenis@gnu.org>
104
105 * configure.in: Run stabs tests on *BSD.
106 * configure: Regenerated.
107
41e0a9ca
MK
1082004-02-21 Mark Kettenis <kettenis@gnu.org>
109
110 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
111
1e1b3428
FF
1122004-02-20 Fred Fish <fnf@redhat.com>
113
114 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
115 blank in test for "returns short", for consistency with other
116 "returns xxx" tests. Update copyright year.
117
f9a7572a
FF
1182004-02-19 Fred Fish <fnf@redhat.com>
119
120 New testcase for PR breakpoint/1558.
121 * gdb.arch/gdb1558.exp: New file.
122 * gdb.arch/gdb1558.c: New file.
123
b2ce2854
EZ
1242004-02-19 Elena Zannoni <ezannoni@redhat.com>
125
126 * gdb.base/nodebug.exp: Fix typo.
127
e7c9ff01
JB
1282004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
129
130 Committed by Jim Blandy <jimb@redhat.com>.
131
62f4b920
JB
132 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
133
2db536a1
JB
134 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
135
e7c9ff01
JB
136 * gdb.base/float.exp: Support s390*-*-* targets.
137
f3205b34
AF
1382004-02-17 Adam Fedor <fedor@gnu.org>
139
140 * gdb.base/gdb1555.exp: New file.
141 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
142
9d62932d
EZ
1432004-02-17 Elena Zannoni <ezannoni@redhat.com>
144
145 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
146
344c9711
FF
1472004-02-16 Fred Fish <fnf@redhat.com>
148
149 * gdb.arch/gdb1291.c: Remove
150 * gdb.arch/gdb1291.s: New test input file.
151 * gdb.arch/gdb1291.exp: Expand test to check case that should not
152 fail. Test for correct result, known incorrect result, other
153 failures and timeouts.
154
2d822687
AC
1552004-02-16 Andrew Cagney <cagney@redhat.com>
156
157 * gdb.base/bigcore.exp: New file.
158 * gdb.base/bigcore.c: New file.
159
dac15b66
AC
1602004-02-13 Andrew Cagney <cagney@redhat.com>
161
162 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
163 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
164 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
165 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
166 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
167 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
168 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
169 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
170 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
171 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
172
6bdfc2c4
JJ
1732004-02-11 Jeff Johnston <jjohnstn@redhat.com>
174
175 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
176 executed is an alloc instruction.
177
87b3ede8
DC
1782004-02-11 David Carlton <carlton@kealia.com>
179
180 * gdb.cp/breakpoint.exp: New.
181 * gdb.cp/breakpoint.cc: New.
182
6e19e2bf
MC
1832004-02-11 Michael Chastain <mec.gnu@mindspring.com>
184
185 Partial fix for PR gdb/1543.
186 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
187 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
188 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
189 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
190 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
191 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
192 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
193 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
194 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
195 to bug-gdb@prep.ai.mit.edu .
196 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
197 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
198 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
199 Likewise.
200
5c5455dc
AC
2012004-02-10 Andrew Cagney <cagney@redhat.com>
202
203 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
204 using gdb_internal_error_resync.
205
9cf689d7
DJ
2062004-02-09 Daniel Jacobowitz <drow@mvista.com>
207
208 * gdb.threads/thread-specific.exp: Stop early if no threads are
209 found.
210
d2dc51db
MC
2112004-02-09 Michael Chastain <mec.gnu@mindspring.com>
212
213 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
214
14b1a056
DJ
2152004-02-08 Daniel Jacobowitz <drow@mvista.com>
216
217 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
218 breakpoints.
219
83f66e8f
DJ
2202004-02-07 Daniel Jacobowitz <drow@mvista.com>
221
222 * config/sim.exp (gdb_load): Handle $arg == "".
223 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
224 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
225
30fc0091
EZ
2262004-02-07 Elena Zannoni <ezannoni@redhat.com>
227
228 * gdb.base/maint.exp: Update test to reflect
229 obstack changes.
230
4d806929
JJ
2312004-02-04 Jeff Johnston <jjohnstn@redhat.com>
232
233 * gdb.base/pendshr.c (pendfunc): New function that calls
234 pendfunc1.
235 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
236
7bfdd688
FF
2372004-02-04 Fred Fish <fnf@redhat.com>
238
239 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
240 function symbols and update copyright years.
241 * gdb.arch/gdb1291.c: Ditto.
242
aaa08ee4
MC
2432004-02-03 Michael Chastain <mec.gnu@mindspring.com>
244
245 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
246
dbad7755
MC
2472004-02-03 Michael Chastain <mec.gnu@mindspring.com>
248
249 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
250
ec4646ef
MC
2512004-02-03 Michael Chastain <mec.gnu@mindspring.com>
252
253 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
254
1b802196
FF
2552004-02-02 Fred Fish <fnf@redhat.com>
256
257 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
258 remote targets. Update copyright years.
259
18fe2033
JJ
2602004-02-02 Jeff Johnston <jjohnstn@redhat.com>
261
262 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
263 support.
264 * gdb.base/langs.exp: Fix test which attempts to create
265 breakpoint on non-existent function to handle new pending
266 support.
267 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
268 a breakpoint.
269 * gdb.base/pending.exp: New test.
270 * gdb.base/pending.c: New file.
271 * gdb.base/pendshr.c: Ditto.
272
8d577d32
DC
2732004-02-02 David Carlton <carlton@kealia.com>
274
275 * gdb.cp/overload.exp: Add overloadNamespace tests.
276 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
277 (overloadNamespace, XXX): New.
278 (main): Call XXX::marker2.
279
3ad13771
FF
2802004-02-01 Fred Fish <fnf@redhat.com>
281
282 * gdb.base/dump.exp: Use runto_main instead of "runto main".
283 * gdb.base/finish.exp: Ditto.
284 * gdb.base/gcore.exp: Ditto.
285 * gdb.base/huge.exp: Ditto.
286 * gdb.base/info-proc.exp: Ditto.
287 * gdb.base/return2.exp: Ditto.
288 * gdb.threads/gcore-thread.exp: Ditto.
289
44c75849
DJ
2902004-02-01 Daniel Jacobowitz <drow@mvista.com>
291
292 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
293
005bc093
MK
2942004-02-01 Mark Kettenis <kettenis@gnu.org>
295
296 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
297 that opening the file succeeds on OpenBSD.
298
c47cebdb
DJ
2992004-02-01 Daniel Jacobowitz <drow@mvista.com>
300
301 * gdb.threads/thread-specific.c: New file.
302 * gdb.threads/threads-specific.exp: New test script.
303 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
304 to expect_out.
305
5a01311c
MK
3062004-02-01 Mark Kettenis <kettenis@gnu.org>
307
308 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
309 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
310 only on the "print_small_structs from print_long_arg_list" test.
311
ce22a4f1
DJ
3122004-02-01 Daniel Jacobowitz <drow@mvista.com>
313
314 * gdb.base/completion.exp: Kill a stray backslash.
315
316 From Jim Ingham <jingham@apple.com>:
317 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
318 agrees with the result from sending a tab.
319
abbab9d3
DJ
3202004-01-31 Daniel Jacobowitz <drow@mvista.com>
321
322 * gdb.base/chng-syms.exp: Remove stray newline.
323
53904d1e
MK
3242004-01-31 Mark Kettenis <kettenis@gnu.org>
325
326 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
327 *-*-openbsd*.
328 * gdb.asm/openbsd.inc: New file.
329
3a4b3aac
MK
3302004-01-30 Mark Kettenis <kettenis@gnu.org>
331
332 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
333 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
334 *-*solaris2*. Remove commented out default settings for
335 asm-flags. Replace gdb_compile with target_link.
336
ebac27b4
MC
3372004-01-29 Michael Chastain <mec.gnu@mindspring.com>
338
339 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
340 for all tests. Remove old hp-ux and cygnus xfail cases.
341
d8679d84
PH
3422004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
343
344 * gdb.base/chng-syms.exp: New file.
345 * gdb.base/chng-syms.c: New file.
346
0a55bc22
MC
3472004-01-24 Michael Chastain <mec.gnu@mindspring.com>
348
349 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
350 Provide arms for current output in all my configurations.
351
94b8e876
MC
3522004-01-24 Michael Chastain <mec.gnu@mindspring.com>
353
354 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
355 * lib/compiler.cc: Likewise.
356 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
357 get the right preprocessor. Eval the output directly. Remove
358 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
359 hp_f77_compiler and hp_f90_compiler completely.
360 (gdb_preprocess): Delete.
361 (get_compiler): Delete.
362
7cf03d44
MK
3632004-01-24 Mark Kettenis <kettenis@gnu.org>
364
365 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
366 <string.h>.
367
68b6dce9
NR
3682004-01-24 Nick Roberts <nick@nick.uklinux.net>
369
370 * gdb.mi/mi-stack.exp: Update copyright.
371
b368761e
DC
3722004-01-23 David Carlton <carlton@kealia.com>
373
374 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
375 test for cp_lookup_transparent_type.
376 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
377 call them.
378
f2061b53
DJ
3792004-01-23 Daniel Jacobowitz <drow@mvista.com>
380
381 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
382 after -var-update.
383
37fc574a
DC
3842004-01-23 David Carlton <carlton@kealia.com>
385
386 * gdb.cp/namespace.cc (C::ensureRefs): New.
387 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
388
8e94b928
NR
3892004-01-20 Nick Roberts <nick@nick.uklinux.net>
390
391 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
392 case "-stack-list-locals 2".
393 * gdb.mi/mi-var-child.exp: Test for case
394 "-var-list-children --all-values NAME".
395
997b0952
MC
3962004-01-18 Michael Chastain <mec.gnu@mindspring.com>
397
398 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
399
52470da3
MK
4002004-01-18 Mark Kettenis <kettenis@gnu.org>
401
7049b4b8
MK
402 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
403 used with gdb_test_multiple.
404
52470da3
MK
405 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
406 read at address 0. This fixes PR testsuite/1504.
407
da6012e5
DJ
4082004-01-18 Daniel Jacobowitz <drow@mvista.com>
409
410 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
411 Remove downloading, guessing the host executable, the calls to
412 gdb_file_cmd and gdb_target_cmd, and "load" support.
413 (infer_host_exec): New function broken out from gdb_load.
414 (gdb_load): New wrapper for gdbserver_gdb_load.
415 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
416 gdb_target_cmd. Use -target-select.
417 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
418 Download binaries to the host. Clear last_mi_remote_file when
419 we load a new binary.
420 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
421 call gdbserver_gdb_load and mi_gdb_target_cmd.
422
32c70722
MC
4232004-01-17 Michael Chastain <mec.gnu@mindspring.com>
424
425 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
426 type patterns.
427
b0cecf36
MC
4282004-01-17 Michael Chastain <mec.gnu@mindspring.com>
429
430 * gdb.cp/templates.exp: Fix typo in test name of
431 "print Foo<volatile char*>::foo".
432
4120d7e6
MC
4332004-01-15 Michael Chastain <mec.gnu@mindspring.com>
434
435 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
436
f679e530
BE
4372004-01-16 Ben Elliston <bje@wasabisystems.com>
438
439 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
440 (clean mostlyclean): Remove empty rm.
441
091c48f6
MC
4422004-01-15 Michael Chastain <mec.gnu@mindspring.com>
443
444 * gdb.base/setvar.exp: Add copyright years.
445
3e5fc8d2
DC
4462004-01-14 David Carlton <carlton@bactrian.org>
447
448 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
449 PR c++/1511 and update coment.
450 * gdb.cp/templates.exp: Update patterns to match current output.
451 If changes involve something other than whitespace, KFAIL
452 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
453
63d06c5c
DC
4542004-01-14 David Carlton <carlton@kealia.com>
455
456 * gdb.cp/namespace.exp: Add tests involving classes defined within
457 namespaces.
458 * gdb.cp/namespace.cc (C::CClass): New.
459 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
460
a51dab88
EZ
4612004-01-14 Elena Zannoni <ezannoni@redhat.com>
462
463 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
464 what debug info we have. Print a better message if something goes
465 wrong while producing the separate debug info file.
466
a476ccc9
MC
4672004-01-14 Michael Chastain <mec.gnu@mindspring.com>
468
469 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
470
f453692c
MC
4712004-01-14 Michael Chastain <mec.gnu@mindspring.com>
472
473 * gdb.base/callfuncs.c: Add copyright notice.
474
f40063a5
MC
4752004-01-13 Michael Chastain <mec.gnu@mindspring.com>
476
477 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
478 inheritance. PR gdb/1498, PR gcc/13539.
479
19ac3974
EZ
4802004-01-13 Elena Zannoni <ezannoni@redhat.com>
481
482 * gdb.threads/gcore-thread.exp: Prefix name of binary with
483 test specific name.
484 * gdb.mi/gdb669.exp: Ditto.
485 * gdb.mi/mi-pthreads.exp: Ditto.
486 * gdb.mi/mi1-pthreads.exp: Ditto.
487 * gdb.mi/mi2-pthreads.exp: Ditto.
488
56c97c6e
MC
4892004-01-12 Michael Chastain <mec.gnu@mindspring.com>
490
491 * gdb.cp/member-ptr.cc: Add copyright notice.
492
a0644324
MC
4932004-01-12 Michael Chastain <mec.gnu@mindspring.com>
494
495 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
496 some patterns for recent versions of gcc and hpacc. Delete
497 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
498 Delete tests that access a NULL pointer-to-member-data. This
499 script is still disabled for gcc.
500
32fabe09
EZ
5012004-01-12 Elena Zannoni <ezannoni@redhat.com>
502
503 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
504 escaped correctly.
505
1f8a6abb
EZ
5062004-01-12 Elena Zannoni <ezannoni@redhat.com>
507
508 * gdb.base/sepdebug.exp: New file.
509 * gdb.base/sepdebug.c: New file.
510 * lib/gdb.exp (separate_debug_filename): New procedure.
511 (gdb_gnu_strip_debug): New procedure.
512
48efe704
AC
5132004-01-12 Andrew Cagney <cagney@redhat.com>
514
515 * gdb.mi/ChangeLog: Delete file. Renamed to ...
516 * gdb.mi/ChangeLog-1999-2003: New file.
517
a9415475
AC
5182004-01-12 Andrew Cagney <cagney@redhat.com>
519
520 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
521 "Renaming a directory to a non-empty directory returns ENOTEMPTY
522 or EEXIST", treat EBUSY as an XFAIL.
523
83b8cf9d
MC
5242004-01-11 Michael Chastain <mec.gnu@mindspring.com>
525
526 * gdb.base/scope.exp: Remove obsolete setup_xfail for
527 hp_cc_compiler.
528
9939d2a8
MC
5292004-01-10 Michael Chastain <mec.gnu@mindspring.com>
530
531 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
532 decorations.
533
1ff8cadf
MC
5342004-01-10 Michael Chastain <mec.gnu@mindspring.com>
535
536 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
537 and "(aCC)" decorations. Remove obsolete doco about old
538 test results.
539
6fa9022e
MC
5402004-01-09 Michael Chastain <mec.gnu@mindspring.com>
541
542 * gdb.cp/exception.exp: Fix typo in doco.
543
209721fe
MK
5442004-01-09 Mark Kettenis <kettenis@gnu.org>
545
546 * gdb.base/gdb1476.exp: Fix typo.
547
ef11303e
MC
5482004-01-09 Michael Chastain <mec.gnu@mindspring.com>
549
550 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
551 file.
552
041ab88c
MC
5532004-01-09 Michael Chastain <mec.gnu@mindspring.com>
554
555 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
556 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
557 Use gdb_compile. Remove restriction on gcc. Add some patterns
558 for recent version of gdb. Delete second half, which was a copy
559 of the first half with different build flags. This test is
560 still disabled because it is still not ready for production.
561
e36d075a
MC
5622004-01-08 Michael Chastain <mec.gnu@mindspring.com>
563
564 * gdb.cp/exception.cc: Add copyright notice.
565 * gdb.cp/exception.exp: Add a notice that this file is broken
566 because of line number changes caused by addition of copyright
567 notice.
568
42b190ad
MC
5692004-01-08 Michael Chastain <mec.gnu@mindspring.com>
570
571 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
572 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
573
8f25f06b
MC
5742004-01-08 Michael Chastain <mec.gnu@mindspring.com>
575
576 * gdb.cp/classes.exp: Accept gnu abi 2.
577 * gdb.cp/derivation.exp: Likewise.
578 * gdb.cp/overload.exp: Likewise.
579 * gdb.cp/virtfunc.exp: Likewise.
580
06ded8b8
MC
5812004-01-08 Michael Chastain <mec.gnu@mindspring.com>
582
583 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
584 semicolon after end of function.
585
77c26ae3
MC
5862004-01-07 Michael Chastain <mec.gnu@mindspring.com>
587
588 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
589 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
590 boilerplate code for compiling and running the program under
591 test. Add some string method tests.
592
20757486
MC
5932004-01-07 Michael Chastain <mec.gnu@mindspring.com>
594
595 * gdb.cp/bs15503.cc: Add copyright notice.
596 * gdb.cp/bs15503.exp: Adjust line number.
597
0fd3b503
MC
5982004-01-07 Michael Chastain <mec.gnu@mindspring.com>
599
600 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
601 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
602
10d1bea8
MC
6032004-01-07 Michael Chastain <mec.gnu@mindspring.com>
604
605 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
606 hp_cc_compiler.
607
2789202a
MC
6082004-01-07 Michael Chastain <mec.gnu@mindspring.com>
609
610 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
611 * gdb.cp/ctti.exp: Use the marker instead of "next".
612 With gcc, run further before bailing.
613
b862f14c
MC
6142004-01-07 Michael Chastain <mec.gnu@mindspring.com>
615
616 * gdb.cp/cttiadd.cc: Add copyright notice.
617 * gdb.cp/cttiadd1.cc: Likewise.
618 * gdb.cp/cttiadd2.cc: Likewise.
619 * gdb.cp/cttiadd3.cc: Likewise.
620
96da2469
MC
6212004-01-07 Michael Chastain <mec.gnu@mindspring.com>
622
623 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
624 Use gdb_test, gdb_test_multiple. Use floating-point values that
625 have exact representations in IEEE-ish formats.
626
053248ff
MC
6272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
628
629 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
630 compilers. Delete duplicate call to get_compiler_info.
631 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
632 * gdb.base/volatile.exp: Likewise.
633
84acecdd
MK
6342004-01-07 Mark Kettenis <kettenis@gnu.org>
635
636 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
637 memory at address 0.
638
fe11a27f
MC
6392004-01-07 Michael Chastain <mec.gnu@mindspring.com>
640
641 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
642 to test for hp-ux assembler. Fix copyright years.
643
60ad077b
AC
6442004-01-07 Andrew Cagney <cagney@redhat.com>
645
646 * gdb.base/fileio.c (strerrno): Add "EBUSY".
647
1c9b8f33
AC
6482004-01-07 Andrew Cagney <cagney@redhat.com>
649
650 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
651 when creating the read-only file. From analysis by Roland McGrath
652 and Elena Zannoni.
653
753ccc7a
MC
6542004-01-06 Michael Chastain <mec.gnu@mindspring.com>
655
656 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
657
eca3e36b
MC
6582004-01-06 Michael Chastain <mec.gnu@mindspring.com>
659
660 * gdb.base/cvexpr.c: Be type-safe with function pointers and
661 data pointers.
662
f8d4bac4
MC
6632004-01-06 Michael Chastain <mec.gnu@mindspring.com>
664
665 * gdb.cp/m-static.exp: Compile one source file at a time.
666 Delete unused call to get_compiler_info.
667
9b4e0f94
MC
6682004-01-06 Michael Chastain <mec.gnu@mindspring.com>
669
670 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
671 * gdb.base/call-rt-st.exp: Likewise.
672 * gdb.base/nodebug.exp: Likewise.
673 * gdb.base/volatile.exp: Likewise.
674 * gdb.cp/ref-types.exp: Likewise.
675 * gdb.cp/templates.exp: Likewise.
676
023c1024
MK
6772004-01-05 Mark Kettenis <kettenis@gnu.org>
678
679 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
680
19703c4a
MC
6812004-01-05 Michael Chastain <mec.gnu@mindspring.com>
682
683 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
684 hppa*-hp-hpux*.
685
18b67037
MK
6862004-01-04 Mark Kettenis <kettenis@gnu.org>
687
ba6219c8
MK
688 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
689 x86_64-*-*.
690
18b67037
MK
691 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
692 sparc64-*-* and sparc*-solaris2*.
693
1bfbbb9d
MK
6942004-01-04 Mark Kettenis <kettenis@gnu.org>
695
696 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
697 return ${tests}" test. The ${tests} already mentions the
698 filename.
699
06846494
MC
7002004-01-02 Michael Chastain <mec.gnu@mindspring.com>
701
702 * gdb.cp/local.exp: Accept gcc abi 2.
703
3b0cb202
MC
7042004-01-02 Michael Chastain <mec.gnu@mindspring.com>
705
706 * gdb.cp/templates.exp: Accept gcc abi 2.
707
0643ec3f
MC
7082004-01-02 Michael Chastain <mec.gnu@mindspring.com>
709
710 * lib/compiler.cc: Remove supports_template_debugging.
711 * gdb.cp/templates.exp: Do not test supports_template_debugging.
712
d231d0b1
MC
7132004-01-01 Michael Chastain <mec.gnu@mindspring.com>
714
715 * gdb.cp/namespace.exp: Accept gcc abi 2.
716
44ffb27c
MC
7172004-01-01 Michael Chastain <mec.gnu@mindspring.com>
718
719 * gdb.cp/method.exp: Accept gcc abi 2.
720
184ad485
MC
7212004-01-01 Michael Chastain <mec.gnu@mindspring.com>
722
723 * gdb.cp/classes.exp: Generate identical results as old version.
724 * gdb.cp/derivation.exp: Likewise.
725 * gdb.cp/overload.exp: Likewise.
726 * gdb.cp/virtfunc.exp: Likewise.
727
116f09e7
MC
7282004-01-01 Michael Chastain <mec.gnu@mindspring.com>
729
730 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
731 mysterious bug with sourceware version of expect.
732
b1379776
MC
7332004-01-01 Michael Chastain <mec.gnu@mindspring.com>
734
735 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
736 current versions of gcc, including gcc abi 2. Remove gratuitous
737 restart of test program. Use gdb_test_multiple and gdb_test for
738 all tests. Add patterns to xfail missing "const" in "const char *"
739 and kfail PR gdb/1155.
740
6b7a4c0e
MC
7412004-01-01 Michael Chastain <mec.gnu@mindspring.com>
742
743 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
744 current versions of gcc, including gcc abi 2. Remove gratuitous
745 restart of test program. Use gdb_test_multiple and gdb_test for
746 all tests. Add patterns to kfail PR gdb/1498.
747
51615d72
MC
7482003-12-31 Michael Chastain <mec.gnu@mindspring.com>
749
750 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
751 current versions of gcc, including gcc abi 2. Use "breakpoint"
752 and "continue" instead of restarting the target program. Use
753 gdb_test_multiple and gdb_test for all tests.
754
7b79a9d7
MK
7552004-01-01 Mark Kettenis <kettenis@gnu.org>
756
757 * gdb.asm/asm-source.exp: Update copyright year. Link statically
758 for *-*-solaris2*.
759
1cd3489f
MC
7602003-12-31 Michael Chastain <mec.gnu@mindspring.com>
761
762 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
763 current versions of gcc, including gcc abi 2. Use "breakpoint"
764 and "continue" instead of restarting the target program several
765 times. Use gdb_test_multiple and gdb_test for all tests.
766
850742db
MC
7672003-12-18 Michael Chastain <mec.gnu@mindspring.com>
768
769 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
770 source files.
771
eb4bbda8
MC
7722003-12-16 Michael Chastain <mec.gnu@mindspring.com>
773
774 * gdb.base/environ.exp: Handle compiling test case from multiple
775 source files.
776
e42c7771
MC
7772003-12-16 Michael Chastain <mec.gnu@mindspring.com>
778
779 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
780
80e4b428
JB
7812003-12-17 Jim Blandy <jimb@redhat.com>
782
5f06973a
JB
783 * gdb.base/freebpcmd.c: Add copyright notice.
784
80e4b428
JB
785 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
786
0ab84fb7
MC
7872003-12-16 Michael Chastain <mec.gnu@mindspring.com>
788
789 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
790
1b3bb3d0
JB
7912003-12-13 Jim Blandy <jimb@redhat.com>
792
793 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
794
3a4c9371
KB
7952003-12-12 Kevin Buettner <kevinb@redhat.com>
796
797 * gdb.asm/frv.inc: New file.
798 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
799
a1dea79a
FF
8002003-12-09 Fred Fish <fnf@redhat.com>
801
802 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
803 functions to break1.c and leave prototypes behind. Add more
804 "set breakpoint NN here" comments.
805 * gdb.base/break1.c: New file.
806
807 * gdb.base/break.exp: Handle compiling test case from multiple
808 source files and change source file references as needed.
809 * gdb.base/completion.exp: Ditto.
810 * gdb.base/condbreak.exp: Ditto.
811 * gdb.base/define.exp: Ditto.
812 * gdb.base/ena-dis-br.exp: Ditto.
813 * gdb.base/info-proc.exp: Ditto.
814 * gdb.base/maint.exp: Ditto.
815 * gdb.base/until.exp: Ditto.
816
817 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
818 hardcoded line numbers.
819 * gdb.base/define.exp: Ditto.
820 * gdb.base/ena-dis-br.exp: Ditto.
821 * gdb.base/maint.exp: Ditto.
822 * gdb.base/until.exp: Ditto.
823
824 * gdb.base/completion.exp: Use "break1" for completion tests since
825 "break" is no longer a unique prefix.
826
5266b69c
AC
8272003-12-06 Andrew Cagney <cagney@redhat.com>
828
829 * gdb.base/structs.exp (test_struct_returns): When applicable, set
830 "return_value_unimplemented". When an unimplemented struct return
831 architecture, report incorrect values as a KFAIL
832
374451f0
MC
8332003-12-05 Michael Chastain <mec.gnu@mindspring.com>
834
835 * gdb.cp/rtti.exp: Accept new wording of warning from
836 cp_lookup_rtti_type.
837
ba9b20a7
MC
8382003-12-05 Michael Chastain <mec.gnu@mindspring.com>
839
840 Partial fix for PR testsuite/1456.
841 * gdb.base/scope.exp (test_at_main): Replace references to
842 gcc_compiled with calls to test_compiler_info.
843 (test_at_foo): Likewise.
844 (test_at_bar): Likewise.
845
b74b6d0b
MC
8462003-12-04 Michael Chastain <mec.gnu@mindspring.com>
847
848 Partial fix for PR testsuite/1456.
849 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
850 to test_compiler_info.
851
ccfa3402
MC
8522003-12-03 Michael Chastain <mec.gnu@mindspring.com>
853
854 * gdb.base/so-impl-ld.exp: Update copyright notice.
855
f6246aba
MC
8562003-12-02 Michael Chastain <mec.gnu@mindspring.com>
857
858 Partial fix for PR testsuite/1456.
859 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
860 to test_compiler_info.
861
13ae734a
MC
8622003-11-28 Michael Chastain <mec.gnu@mindspring.com>
863
864 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
865 from current versions of gdb. Clean up regular expressions.
866 Delete redundant timeout case.
867
d8e1cdee
MC
8682003-11-28 Michael Chastain <mec.gnu@mindspring.com>
869
870 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
871 from current versions of gdb. Clean up regular expressions.
872 Delete redundant timeout case.
873
96457b64
MC
8742003-12-01 Michael Chastain <mec.gnu@mindspring.com>
875
876 Partial fix for PR testsuite/1456.
877 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
878 gcc_compiled with call to test_compiler_info.
879
f35309fc
MC
8802003-11-30 Michael Chastain <mec.gnu@mindspring.com>
881
882 Partial fix for PR testsuite/1456.
883 * gdb.base/list.exp (test_list_function): Delete unused declaration
884 of gcc_compiled.
885
d7afdf9b
MC
8862003-11-29 Michael Chastain <mec.gnu@mindspring.com>
887
888 Partial fix for PR testsuite/1456.
889 * gdb.base/complex.exp: Replace reference to gcc_compiled with
890 call to test_compiler_info.
891
71507b56
MK
8922003-11-29 Mark Kettenis <kettenis@gnu.org>
893
894 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
895 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
896 it to create the appropriate note.inc.
897 * gdb.asm/asmsrc1.s: Include "note.inc".
898 * gdb.asm/netbsd.inc: New file.
899 * gdb.asm/empty.inc: New file.
900
f81f93f7
MC
9012003-11-28 Michael Chastain <mec.gnu@mindspring.com>
902
903 Partial fix for PR testsuite/1456.
904 * gdb.base/constvars.exp: Replace references to gcc_compiled with
905 calls to test_compiler_info.
906
9a77938e
MC
9072003-11-27 Michael Chastain <mec.gnu@mindspring.com>
908
909 Partial fix for PR testsuite/1456.
910 * gdb.base/volatile.exp: Replace references to gcc_compiled with
911 calls to test_compiler_info.
912
e8367dc7
MK
9132003-11-27 Mark Kettenis <kettenis@gnu.org>
914
915 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
916 pattern for the KFAILs.
917
526c61ee
AF
9182003-11-25 Adam Fedor <fedor@gnu.org>
919
920 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
921 * gdb.objc/objcdecode.m: New file.
922
28f2d600
AF
9232003-11-25 Adam Fedor <fedor@gnu.org>
924
925 * gdb.objc/nondebug.exp: Test for PR objc/1236.
926 * gdb.objc/nondebug.m: New file.
927
a3895cee
BE
9282003-11-26 Ben Elliston <bje@wasabisystems.com>
929
930 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
931 NetBSD as it does on FreeBSD. Modelled on a similar change by
932 Mark Kettenis on 2003-05-30.
933 (link-flags): Set to "--entry _start" regardless of target.
934 Special linker flags are to be appended to $link-flags.
935 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
936
c9f2c8a3
MC
9372003-11-25 Michael Chastain <mec.gnu@mindspring.com>
938
939 * gdb.cp/method.exp: Accept output of new demangler.
940
15a0587a 9412003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
942
943 * gdb/class2.exp: New file.
944 * gdb/class2.cc: New file.
945
3c00b570
MC
9462003-11-25 Michael Chastain <mec.gnu@mindspring.com>
947
948 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
949 of new demangler.
950
7027acc7
MK
9512003-11-23 Mark Kettenis <kettenis@gnu.org>
952
953 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
954 of gdb_test "run".
955
b0e1598a
MK
9562003-11-23 Mark Kettenis <kettenis@gnu.org>
957
958 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
959 "continue" into "run".
960
4d9eda44
MC
9612003-11-23 Michael Chastain <mec.gnu@mindspring.com>
962
963 Partial fix for PR testsuite/1456.
964 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
965 call to test_compiler_info.
966 * gdb.cp/ctti.exp: Likewise.
967 * gdb.cp/derivation.exp: Likewise.
968 * gdb.cp/member-ptr.exp: Likewise.
969 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
970 reference to gcc_compiled.
971
9722003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
973
974 Fix PR testsuite/1463.
975 * gdb.base/structs.exp (start_structs_test): Call
976 get_debug_format before using the debug format.
977
d422fe19
AC
9782003-11-22 Andrew Cagney <cagney@redhat.com>
979
980 * lib/gdb.exp (gdb_test_multiple): Add simple example.
981 * gdb.base/structs.exp: Use gdb_test_multiple.
982
039cf96d
AC
9832003-11-20 Andrew Cagney <cagney@redhat.com>
984
6882279b
AC
985 * gdb.base/structs.exp: Handle and recover from internal errors.
986 Replace "foo${n}" with "foo<n>" in test messages.
987
e53890ae
AC
988 * gdb.base/structs.exp: Update copyright. Rewrite.
989 * gdb.base/structs.c: Update copyright. Rewrite.
990
2b211c59
AC
991 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
992 resync count exceeded.
993
039cf96d
AC
994 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
995 from the internal error.
996 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
997 Original from Jim Blandy.
998 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 999
eac98b22
AC
10002003-11-19 Andrew Cagney <cagney@redhat.com>
1001
1002 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
1003 KFAIL.
1004
67455b2a
MK
10052003-11-17 Mark Kettenis <kettenis@gnu.org>
1006
1007 New testcase for PR backtrace/1435.
1008 * gdb.arch/i386-unwind.exp: New file.
1009 * gdb.arch/i386-unwind.c: New file.
1010
853d6e5b
AC
10112003-11-17 Andrew Cagney <cagney@redhat.com>
1012
1013 * lib/gdb.exp (compiler_info): New global.
1014 (test_compiler_info): New function.
1015 (get_compiler_info): Set compiler_info.
1016 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
1017 "compiler_info" to gcc-<major>-<minor>.
1018
38cf6e11
MC
10192003-11-15 Michael Chastain <mec.gnu@mindspring.com>
1020
1021 * gdb.trace/configure: Remove.
1022
a50d3602
EZ
10232003-11-13 Elena Zannoni <ezannoni@redhat.com>
1024
1025 * gdb.base/break.c: Add comments to aid finding line numbers for
1026 breakpoints.
1027 * gdb.base/break.exp: Remove all references to explicit line
1028 numbers.
1029
d9407aaa
NC
10302003-11-11 Nick Clifton <nickc@redhat.com>
1031
1032 * gdb.base/shreloc.exp: Do not run for targets which do not
1033 support shared objects.
1034
db488fc1
CV
10352003-11-10 Corinna Vinschen <vinschen@redhat.com>
1036
1037 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
1038 Don't run tests if nofileio flag is given.
1039
6a90a18e
EZ
10402003-11-07 Elena Zannoni <ezannoni@redhat.com>
1041
1042 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
1043 as well as 'Watchpoint'.
1044
0b915e9c
EZ
10452003-11-06 Elena Zannoni <ezannoni@redhat.com>
1046
1047 Reported by Jim Ingham <jingham@apple.com>:
1048 * gdb.base/annota1.exp: Match at least one occurrence of the
1049 signal handler annotation.
1050
d7e4b55f
EZ
10512003-11-06 Elena Zannoni <ezannoni@redhat.com>
1052
1053 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
1054 as well as 'Watchpoint'.
1055
2fe4e8d0
MC
10562003-11-05 Michael Chastain <mec@shout.net>
1057
1058 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1059
6ef88553
KW
10602003-11-03 Kris Warkentin <kewarken@qnx.com>
1061
1062 * gdb.arch/gdb1291.c: New test file.
1063 * gdb.arch/gdb1291.exp: New test script.
1064 * gdb.arch/gdb1431.c: New test file.
1065 * gdb.arch/gdb1431.exp: New test script.
1066
ae7dc4d8
MC
10672003-10-22 Michael Chastain <mec@shout.net>
1068
1069 * gdb.mi/pthreads.c: Add copyright notice.
1070
c39d7427
MC
10712003-10-22 Michael Chastain <mec@shout.net>
1072
1073 * gdb.threads/pthreads.c: Add copyright notice.
1074
8b7d96c1
MC
10752003-10-20 Michael Chastain <mec@shout.net>
1076
1077 * gdb.base/gdb1056.exp: New test script.
1078
d1d69fdd
DJ
10792003-10-13 Daniel Jacobowitz <drow@mvista.com>
1080
1081 * gdb.threads/killed.exp: Use gdb_run_cmd.
1082
7d605576
DJ
10832003-10-13 Daniel Jacobowitz <drow@mvista.com>
1084
1085 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1086 create a core file.
1087 * gdb.threads/gcore-thread.exp: Likewise.
1088
618ec112
CV
10892003-10-13 Corinna Vinschen <vinschen@redhat.com>
1090
1091 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1092 type, based on char type.
1093 (struct bit_flags_short_t): New bitfield type, based on short type.
1094 (init_bit_flags_char): New fuction.
1095 (init_bit_flags_short): Ditto.
1096 (print_bit_flags_char): Ditto.
1097 (print_bit_flags_short): Ditto.
1098 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1099
9367a73c
MC
11002003-10-11 Michael Chastain <mec@shout.net>
1101
1102 * gdb.base/call-rt-st.exp: Update copyright year.
1103
1decf120
KI
11042003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1105
1106 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1107 * gdb.disasm/sh3.s: Ditto.
1108
5445b2ae
DJ
11092003-10-07 Daniel Jacobowitz <drow@mvista.com>
1110
1111 * gdb.threads/switch-threads.exp: New test.
1112 * gdb.threads/switch-threads.c: New source file.
1113
aec24853
CV
11142003-10-07 Corinna Vinschen <vinschen@redhat.com>
1115
1116 * gdb.base/ending-run.exp: Add sh specific case.
1117
adc7428d
AC
11182003-10-06 Andrew Cagney <cagney@redhat.com>
1119
1120 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1121 * gdb.disasm/mn10200.exp: Delete obsolete file.
1122
c9d37158
DJ
11232003-09-29 Daniel Jacobowitz <drow@mvista.com>
1124
1125 * ChangeLog: Correct an entry command.exp -> commands.exp.
1126 * gdb.base/commands.exp (bp_deleted_in_command_test)
1127 (temporary_breakpoint_commands): Check noargs.
1128
79c2c32d
DC
11292003-09-25 David Carlton <carlton@kealia.com>
1130
1131 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1132 of some print tests, where appropriate. Add tests for C::D::cd,
1133 E::ce, F::cXfX, G::XgX.
1134 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1135
594e6d67
RE
11362003-09-25 Richard Earnshaw <rearnsha@arm.com>
1137
1138 * lib/java.exp (java_init): Import target_alias before using it.
1139
10f0d451
DC
11402003-09-25 David Carlton <carlton@kealia.com>
1141
1142 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1143
274bcba0
EZ
11442003-09-23 Elena Zannoni <ezannoni@redhat.com>
1145
1146 * gdb.base/selftest.exp: Accomodate more instruction reordering
1147 weirdness.
1148
cdbf20f7
MC
11492003-09-17 Michael Chastain <mec@shout.net>
1150
1151 * gdb.cp/gdb1355.exp: New file.
1152 * gdb.cp/gdb1355.c: New file.
1153
71e06f80
CV
11542003-09-15 Corinna Vinschen <vinschen@redhat.com>
1155
1156 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1157 * gdb.asm/sh.inc: New file.
1158
5c4e30ca
DC
11592003-09-11 David Carlton <carlton@kealia.com>
1160
bd45b7af
DC
1161 * gdb.cp/namespace.exp: Add tests for namespace types.
1162 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
1163 (test_namespace): New.
1164
1c199746
EZ
11652003-09-11 Elena Zannoni <ezannoni@redhat.com>
1166
1167 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 1168 * gdb.stabs/weird.exp: Ditto.
1c199746 1169
04ed252f
MC
11702003-09-08 Michael Chastain <mec@shout.net>
1171
1172 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1173
d8a2d9e7
MC
11742003-09-07 Michael Chastain <mec@shout.net>
1175
1176 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1177 'parse error'.
1178
161afb24
MK
11792003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1180
1181 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1182
49f2741a
MC
11832003-08-30 Michael Chastain <mec@shout.net>
1184
1185 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1186 * gdb.gdb/observer.exp: Ditto.
1187 * gdb.gdb/xfullpath.exp: Ditto.
1188
8afa723e
MK
11892003-08-29 Mark Kettenis <kettenis@gnu.org>
1190
1191 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1192 *-*-*bsd*.
1193
f31dfe3b
JJ
11942003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1195
1196 * gdb.base/dump.exp: Skip for ia64.
1197
4630e498
JJ
11982003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1199
1200 * gdb.asm/asm-source.exp: Add ia64 support.
1201 * gdb.asm/ia64.inc: New file.
1202
1105b7ef
MC
12032003-08-22 Michael Chastain <mec@shout.net>
1204
1205 * gdb.cp: New directory.
1206 * gdb.cp/*: Copy from gdb.c++/*.
1207 * gdb.c++/*: Remove.
1208 * Makefile.in: Change gdb.c++ to gdb.cp.
1209 * configure.in: Ditto.
1210 * configure: Regnerate.
1211
c945b932
MK
12122003-08-18 Mark Kettenis <kettenis@gnu.org>
1213
1214 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1215 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1216
2b66634b
DJ
12172003-08-17 Daniel Jacobowitz <drow@mvista.com>
1218
1219 * mi-var-display.exp (-var-list-children weird): Accept function
1220 pointers with argument types.
1221 * mi1-var-display.exp (-var-list-children weird): Likewise.
1222 * mi2-var-display.exp (-var-list-children weird): Likewise.
1223
a356f73b
DJ
12242003-08-17 Daniel Jacobowitz <drow@mvista.com>
1225
1226 * gdb.base/annota3.exp: Add missing newline.
1227
483417b8
MC
12282003-08-06 Michael Chastain <mec@shout.net>
1229
1230 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1231
c99c59c3
MS
12322003-08-12 Michael Snyder <msnyder@redhat.com>
1233
1234 * gdb.base/float.exp: Add test for SH.
1235
55ed7501
MK
12362003-08-10 Mark Kettenis <kettenis@gnu.org>
1237
1238 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1239
1a371f2e
EZ
12402003-08-07 Elena Zannoni <ezannoni@redhat.com>
1241
1242 * gdb.base/completion.exp: Remove reduntant completion test
1243 on filename.
1244
e0f353ce
EZ
12452003-08-07 Elena Zannoni <ezannoni@redhat.com>
1246
1247 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1248 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1249 gdb.trace/save-trace.exp: Make sure that full pathnames are
1250 escaped correctly.
1251
5710a1af
EZ
12522003-08-07 Elena Zannoni <ezannoni@redhat.com>
1253
1254 * configure.in: Don't generate config.h from config.hin.
1255 * configure: Regenerate.
1256 * config.hin: Remove file.
1257 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1258 * gdb.threads/pthreads.c: Ditto.
1259
dcd81ce9
DJ
12602003-08-07 Daniel Jacobowitz <drow@mvista.com>
1261
1262 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1263 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1264 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1265 Replace ld24 with seth/add3.
1266
6009d884
AC
12672003-08-02 Andrew Cagney <cagney@redhat.com>
1268
1269 * gdb.base/annota3.exp: New file.
1270 * gdb.base/annota3.c: New file.
1271 * gdb.c++/annota3.exp: New file.
1272 * gdb.c++/annota3.cc: New file.
1273
51514e06
MC
12742003-07-29 Michael Chastain <mec@shout.net>
1275
1276 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1277 actually failed.
1278 (do_pass): Likewise.
1279 * gdb.threads/tls.exp: Always initialize no_of_threads.
1280
4ee6625b
DJ
12812003-07-27 Daniel Jacobowitz <drow@mvista.com>
1282
1283 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1284 pattern.
1285 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1286 * gdb.threads/tls.exp: Recognize one case of the host library not
1287 supporting TLS.
1288
225f2bf6
AC
12892003-07-27 Andrew Cagney <cagney@redhat.com>
1290
1291 * gdb.base/fileio.exp: Use SH when running commands using
1292 remote_exec.
1293
bcb27c9f
DJ
12942003-07-24 Daniel Jacobowitz <drow@mvista.com>
1295
1296 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1297 * gdb.base/relocate.c (dummy): New padding array.
1298
3d67be83
MS
12992003-07-22 Michael Snyder <msnyder@redhat.com>
1300
1301 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
1302
1303 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1304 patterns to be more general, accepting old and new output.
1305 Some output chars (such as '+') also must be quoted.
1306 Some addresses are displayed numerically instead of
1307 symbolically.
1308
57ba3b85
MS
13092003-07-23 Michael Snyder <msnyder@redhat.com>
1310
686d097c
MS
1311 * gdb.base/return2.exp: Don't test long-long return.
1312
57ba3b85
MS
1313 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1314 * gdb.disasm/t01_mov.exp: Ditto.
1315 * gdb.disasm/t02_mova.s: Ditto.
1316 * gdb.disasm/t02_mova.exp: Ditto.
1317 * gdb.disasm/t03_add.s: Ditto.
1318 * gdb.disasm/t03_add.exp: Ditto.
1319 * gdb.disasm/t04_sub.s: Ditto.
1320 * gdb.disasm/t04_sub.exp: Ditto.
1321 * gdb.disasm/t05_cmp.s: Ditto.
1322 * gdb.disasm/t05_cmp.exp: Ditto.
1323 * gdb.disasm/t06_ari2.s: Ditto.
1324 * gdb.disasm/t06_ari2.exp: Ditto.
1325 * gdb.disasm/t07_ari3.s: Ditto.
1326 * gdb.disasm/t07_ari3.exp: Ditto.
1327 * gdb.disasm/t08_or.s: Ditto.
1328 * gdb.disasm/t08_or.exp: Ditto.
1329 * gdb.disasm/t09_xor.s: Ditto.
1330 * gdb.disasm/t09_xor.exp: Ditto.
1331 * gdb.disasm/t10_and.s: Ditto.
1332 * gdb.disasm/t10_and.exp: Ditto.
1333 * gdb.disasm/t11_logs.s: Ditto.
1334 * gdb.disasm/t11_logs.exp: Ditto.
1335 * gdb.disasm/t12_bit.s: Ditto.
1336 * gdb.disasm/t12_bit.exp: Ditto.
1337 * gdb.disasm/t13_otr.s: Ditto.
1338 * gdb.disasm/t13_otr.exp: Ditto.
1339
e00759ef
EZ
13402003-07-22 Elena Zannoni <ezannoni@redhat.com>
1341
1342 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1343
8bc2021f
EZ
13442003-07-22 Elena Zannoni <ezannoni@redhat.com>
1345
1346 * gdb.threads/tls.c : New file.
1347 * gdb.threads/tls.exp : New file.
1348 * gdb.threads/tls-main.c : New file.
1349 * gdb.threads/tls-shared.c : New file.
1350 * gdb.threads/tls-shared.exp : New file.
1351
89320c4c
AS
13522003-07-22 Andreas Schwab <schwab@suse.de>
1353
1354 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1355
180dea7c
AS
13562003-07-20 Andreas Schwab <schwab@suse.de>
1357
1358 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1359 due to insn reordering.
1360
0714963c
AC
13612003-07-15 Andrew Cagney <cagney@redhat.com>
1362
1363 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1364
98a23b3f
MC
13652003-07-15 Michael Chastain <mec@shout.net>
1366
1367 * gdb.base/gdb1250.exp: New file.
1368 * gdb.base/gdb1250.c: New file.
1369
27e417a2
ML
13702003-07-09 Michal Ludvig <mludvig@suse.cz>
1371
1372 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1373 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1374
8bc2021f
EZ
13752003-07-09 Elena Zannoni <ezannoni@redhat.com>
1376
1377 * gdb.threads/tls.c: New file.
1378 * gdb.threads/tls.exp: New file.
1379 * gdb.threads/tls-main.c: New file.
1380 * gdb.threads/tls-shared.c: New file.
1381 * gdb.threads/tls-shared.exp: New file.
1382
d99968dc
EZ
13832003-07-09 Elena Zannoni <ezannoni@redhat.com>
1384
1385 * gdb.base/annota1.exp: Make sure that we properly escape the
1386 full path of the source file. Xfail more permissive patterns,
1387 due to a compiler debug info problem.
1388
83876b3b
AS
13892003-07-07 Andreas Schwab <schwab@suse.de>
1390
2705e972
AS
1391 * gdb.asm/m68k.inc: New file.
1392 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1393
83876b3b
AS
1394 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1395 arguments"): Also match negative number.
1396
1397 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1398
3a871b37
DJ
13992003-07-03 Daniel Jacobowitz <drow@mvista.com>
1400
1401 * gdb.base/store.c (charest): New typedef.
1402 (add_char): Rename to add_charest, update.
1403 (wack_char): Rename to wack_charest, update types. Return l + r
1404 to keep r live across the call.
1405 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1406 (wack_double, wack_doublest): Return l + r to keep r live across
1407 the call.
1408 * gdb.base/store.exp: Accomodate store.c changes.
1409
b2a7f303
DC
14102003-06-30 David Carlton <carlton@kealia.com>
1411
1412 * gdb.c++/maint.exp (test_invalid_name): New.
1413 (test_first_component): Add tests for invalid names.
1414
3c6cb4a1
MC
14152003-06-29 Michael Chastain <mec@shout.net>
1416
1417 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1418 output of '<VTT for class>' for virtual base classes.
1419
f1c2644b
DJ
14202003-06-29 Daniel Jacobowitz <drow@mvista.com>
1421
1422 * gdb.base/completion.exp: Tab-complete "complet" instead of
1423 "compl".
1424 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1425
18080350
DJ
14262003-06-29 Daniel Jacobowitz <drow@mvista.com>
1427
1428 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1429 * gdb.base/volatile.exp: Likewise.
1430
f56973f8
DJ
14312003-06-29 Daniel Jacobowitz <drow@mvista.com>
1432
1433 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1434 gdb/1265.
1435
14362003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1437 Daniel Jacobowitz <drow@mvista.com>
1438
1439 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1440 initial line count of 'captured_main' from 26 to 32.
1441 (test_with_self): Allow xmalloc call to be interleaved with the
1442 preceding two lines.
1443
e766d4d6
JB
14442003-06-24 Joel Brobecker <brobecker@gnat.com>
1445
1446 * gdb.base/bang.exp: New testcase.
1447
f125c9a4
JB
14482003-06-23 Joel Brobecker <brobecker@gnat.com>
1449
1450 * gdb.base/langs.exp: Add some tests for the "minimal" language
1451 support.
1452
6e25beaf
EZ
14532003-06-23 Elena Zannoni <ezannoni@redhat.com>
1454
1455 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1456 the testcase.
1457
2f816dda
DJ
14582003-06-22 Daniel Jacobowitz <drow@mvista.com>
1459
1460 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1461 offset.
1462
db5a5748
DJ
14632003-06-22 Daniel Jacobowitz <drow@mvista.com>
1464
1465 * gdb.c++/pr-1210.cc: New file.
1466 * gdb.c++/pr-1210.exp: New file.
1467
1df0c130
DJ
14682003-06-21 Daniel Jacobowitz <drow@mvista.com>
1469
1470 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1471 000-exec-continue.
1472
a92feac0
MK
14732003-06-15 Mark Kettenis <kettenis@gnu.org>
1474
1475 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1476 on *-*-*bsd* instead of *-*-freebsd*.
1477
81a58f5b
AC
14782003-06-14 Andrew Cagney <cagney@redhat.com>
1479
1480 * gdb.base/store.exp: Test longest and doublest. Test all
1481 parameters. Weaken return statement match.
1482 * gdb.base/store.c: Add longest and doublest - aka long long and
1483 long double functions. Put all parameters into local register
1484 variables. Use negative values.
1485
b257a0d3
AC
14862003-06-14 Andrew Cagney <cagney@redhat.com>
1487
1488 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1489 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1490 exit status.
1491 * gdb.base/fileio.exp: Disable target when nointerrupts and
1492 noinferiorio, instead of limiting it to remote. Use remote_exec
1493 instead of system.
1494
21c38304
JJ
14952003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1496
1497 * gdb.base/float.exp: Add ia64 support.
1498
1bcdb424
CV
14992003-06-12 Corinna Vinschen <vinschen@redhat.com>
1500
1501 * gdb.base/fileio.exp: Run only on remote targets.
1502
6aeb981f
CV
15032003-06-10 Corinna Vinschen <vinschen@redhat.com>
1504
1505 * gdb.base/fileio.c: New file, testing File-I/O.
1506 * gdb.base/fileio.exp: Ditto.
1507
53df362e
RG
15082003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1509
1510 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1511 shared objects after relocation at load time (gdb PR/1132).
1512 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1513 as above, part of the shared object relocation test.
1514
ffee1b46
MK
15152003-06-08 Mark Kettenis <kettenis@gnu.org>
1516
b5ca3722
MK
1517 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1518 fully filled history list.
1519 * gdb.base/gdb_history: New file.
1520
03ed860d
MK
1521 * gdb.base/signals.exp: XFAIL "continue to func1" on
1522 i*86-*-freebsd*.
1523
ffee1b46
MK
1524 * gdb.base/attach.exp: When trying to attach to a nonexistent
1525 process, make it possible to specify the PID based on the target,
1526 and do so for *-*-freebsd*.
1527
d80dbb52
RH
15282003-06-02 Richard Henderson <rth@redhat.com>
1529
1530 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1531
6dd77b81
RH
15322003-06-02 Richard Henderson <rth@redhat.com>
1533
1534 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1535
f6347e16
RH
15362003-06-02 Richard Henderson <rth@redhat.com>
1537
1538 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1539
2c161407
DJ
15402003-06-01 Daniel Jacobowitz <drow@mvista.com>
1541
1542 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1543 of globalvar.
1544
572eb746
MK
15452003-06-01 Mark Kettenis <kettenis@gnu.org>
1546
1547 * gdb.asm/asm-source.exp: Check for memory read errors in
1548 disassembler test on *BSD too.
1549
9e9617a5
RH
15502003-06-01 Richard Henderson <rth@redhat.com>
1551
1552 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1553 for .frame.
1554 (gdbasm_call): Lose ldgp.
1555 (gdbasm_startup): Add frame information.
1556 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1557
7b34ad4e
MK
15582003-05-31 Mark Kettenis <kettenis@gnu.org>
1559
1560 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1561 i?86-*-*.
1562
10059fdf
MK
15632003-05-30 Mark Kettenis <kettenis@gnu.org>
1564
1565 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1566 FreeBSD.
1567
acf4b816
RH
15682003-05-29 Richard Henderson <rth@redhat.com>
1569
1570 * gdb.asm/alpha.inc: New file.
1571 * gdb.asm/asm-source.exp: Use it.
1572
e9ecd949
JB
15732003-05-29 Jim Blandy <jimb@redhat.com>
1574
1575 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1576 'core.PID'.
1577
e3e5a4f3
JB
15782003-05-22 Jim Blandy <jimb@redhat.com>
1579
1580 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1581 backtrace.
1582
72fe3d25
DC
15832003-05-20 David Carlton <carlton@math.stanford.edu>
1584
1585 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1586 this time.
1587
58da2eb2
DC
15882003-05-19 David Carlton <carlton@bactrian.org>
1589
1590 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1591 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1592
1fcb5155
DC
15932003-05-19 David Carlton <carlton@bactrian.org>
1594
1595 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1596 namespace tests.
1597 Bump copyright date.
1598 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1599 (main): Call C::D::marker2.
1600 * gdb.c++/namespace1.cc: New file.
1601
85e85163
JJ
16022003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1603
1604 Roland McGrath <roland@redhat.com>
1605 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1606 there is no manager thread.
1607
a25fbfec
JJ
16082003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1609
1610 * gdb.threads/schedlock.exp: Remove assumption that all threads
1611 will run in a particular small time slice. Also ensure we break
1612 in one of the child threads rather than the main thread.
1613
be375bae
JB
16142003-05-07 Jim Blandy <jimb@redhat.com>
1615
09bf6082
JB
1616 Add support for assembly source testing on the s390x.
1617 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1618 architecture.
1619 * gdb.asm/s390x.inc: New file.
1620
be375bae
JB
1621 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1622 succession of 'if' statements.
1623
00905d52
AC
16242003-05-05 Andrew Cagney <cagney@redhat.com>
1625
1626 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1627
b1e29e33
AC
16282003-05-05 Andrew Cagney <cagney@redhat.com>
1629
1630 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1631 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1632
e33d66ec
EZ
16332003-05-02 Elena Zannoni <ezannoni@redhat.com>
1634
1635 * gdb.base/charset.exp: Update based on new behavior of set/show
1636 charset commands.
1637
2b6fd0d8
AC
16382003-05-01 Andrew Cagney <cagney@redhat.com>
1639
1640 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1641 variable do not give memory errors.
1642
130cacce
AF
16432003-04-30 Adam Fedor <fedor@gnu.org>
1644
1645 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1646 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1647 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1648 gdb.objc/basicclass.m: : New files
1649
1650 * lib/gdb.exp (gdb_compile_objc): New procedure.
1651
bea71854
DJ
16522003-04-27 Daniel Jacobowitz <drow@mvista.com>
1653
1654 * gdb.base/signals.exp: Make backtrace tests more specific.
1655
0f20eeea
DC
16562003-04-23 David Carlton <carlton@bactrian.org>
1657
1658 * gdb.c++/maint.exp (test_first_component): Add tests for
1659 'operator' in more locations.
1660
c8c4d8dc
KB
16612003-04-16 Kevin Buettner <kevinb@redhat.com>
1662
1663 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1664
3fe60e3c
EZ
16652003-04-16 Elena Zannoni <ezannoni@redhat.com>
1666
1667 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1668 func marke' instead. Update test name.
1669
9219021c
DC
16702003-04-15 David Carlton <carlton@math.stanford.edu>
1671
1672 * gdb.c++/maint.exp: New file.
1673
5dd55bdd
EZ
16742003-04-14 Elena Zannoni <ezannoni@redhat.com>
1675
1676 * gdb.threads/schedlock.c: Change type of thread function argument
1677 to long, to avoid warnings on 64-bit platforms.
1678
00890572
EZ
16792003-04-14 Elena Zannoni <ezannoni@redhat.com>
1680
1681 * gdb.base/attach.exp: Add new message from ptrace in case of
1682 attaching to nonexistent process.
1683
93201743
JB
16842003-04-11 Jim Blandy <jimb@redhat.com>
1685
1686 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1687 gdb.c++/userdef.cc: Place comments on the lines to which the
1688 marker function might return.
1689 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1690 gdb.c++/userdef.exp: Look for those comments to check that we've
1691 returned to the right place, instead of checking line numbers.
1692
2a11c64d
EZ
16932003-04-11 Elena Zannoni <ezannoni@redhat.com>
1694
1695 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1696 match on sourcefile name, instead of directory name.
1697
68ab8fc5
EZ
16982003-04-10 Elena Zannoni <ezannoni@redhat.com>
1699
1700 * gdb.base/completion.exp: Use string_to_regexp to match the
1701 working directory name.
1702
5624293a
JB
17032003-04-09 Jim Blandy <jimb@redhat.com>
1704
1705 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1706 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1707 after an inferior function call, report the failure, but allow the
1708 test to continue.
1709
f1f02ee4
SC
17102003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1711
1712 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1713 with -DPROTOTYPES.
1714
6eb79af0
SC
17152003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1716
1717 * gdb.base/break.exp: Revert last patch.
1718
8dfb4cf0
SC
17192003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1720
1721 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1722 with -DPROTOTYPES.
1723
ed4c619a
AC
17242003-04-02 Andrew Cagney <cagney@redhat.com>
1725
1726 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1727 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1728 matching directories by the name breakpoint.
1729 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1730 Make "continue to marker1" consistent.
1731 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1732 message consistent.
1733 * lib/gdb.exp: Put "the program is no longer running", and "the
1734 program exited" in parenthesis.
1735 * lib/mi-support.exp: Ditto.
1736
4e35d5f0
BR
17372003-04-02 Bob Rossi <bob_rossi@cox.net>
1738
1739 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1740
71900fe8
AC
17412003-03-29 Andrew Cagney <cagney@redhat.com>
1742
1743 * gdb.base/sizeof.c (main): Print the value of '\377'.
1744 * gdb.base/sizeof.exp: Check the sign of '\377'.
1745
c0655a16
MC
17462003-03-27 Michael Chastain <mec@shout.net>
1747
1748 * gdb.base/gdb1090.exp: New file.
1749 * gdb.base/gdb1090.cc: New file.
1750
5b2a3989
JB
17512003-03-27 J. Brobecker <brobecker@gnat.com>
1752
1753 * gdb.gdb/observer.exp: New regression test.
1754
79876890
MC
17552003-03-27 Michael Chastain <mec@shout.net>
1756
1757 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1758 * gdb.base/ptype.exp: Likewise.
1759
6eac95e3
CV
17602003-03-27 Corinna Vinschen <vinschen@redhat.com>
1761
1762 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1763
e8c71839
MC
17642003-03-26 Michael Chastain <mec@shout.net>
1765
1766 * gdb.base/ptype.exp: Actually use some typedef'd types.
1767
71b10041
SC
17682003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1769
1770 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1771 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1772
2512cf80
CV
17732003-03-20 Corinna Vinschen <vinschen@redhat.com>
1774
1775 * gdb.base/default.exp: Fix regular expression.
1776
0d195a4f
CV
17772003-03-20 Corinna Vinschen <vinschen@redhat.com>
1778
1779 * gdb.base/args.exp: Fix regular expression.
1780
8a2dbca8
CV
17812003-03-20 Corinna Vinschen <vinschen@redhat.com>
1782
1783 * gdb.base/help.exp: Allow Win32 child process.
1784
bf028682
CV
17852003-03-20 Corinna Vinschen <vinschen@redhat.com>
1786
1787 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1788 when stepping out of main().
1789
182dbe85
CV
17902003-03-20 Corinna Vinschen <vinschen@redhat.com>
1791
1792 * gdb.base/default.exp: Check for win32 specific message when calling
1793 "run" without executable.
1794
d67a6ba5
CV
17952003-03-20 Corinna Vinschen <vinschen@redhat.com>
1796
1797 * gdb.base/args.exp: Expect .exe in output.
1798
a955b5bb
CV
17992003-03-20 Corinna Vinschen <vinschen@redhat.com>
1800
1801 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1802 Cygwin native.
1803
bf6bad4b
AC
18042003-03-17 Andrew Cagney <cagney@redhat.com>
1805
1806 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1807 vector registes.
1808 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1809 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1810
293e9a31
DC
18112003-03-17 David Carlton <carlton@math.stanford.edu>
1812
1813 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1814 test, for PR breakpoints/38.
1815 Call test_watchpoint_and_breakpoint.
1816 * gdb.base/watchpoint.c (func3): New function.
1817 (main): Call func3.
1818
5330f2db
DC
18192003-03-04 David Carlton <carlton@math.stanford.edu>
1820
1821 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1822 Garply<Garply<char> >:: garply".
1823 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1824 with respect to PR c++/1111; note also PR c++/1113.
1825 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1826 respect to PR c++/1062.
1827 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1828
6ece72da
DC
18292003-03-03 David Carlton <carlton@math.stanford.edu>
1830
1831 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1832 with respect to PR c++/57.
1833 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1834 c++/826.
1835 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1836 respect to PR c++/57.
1837
85ca1584
DC
18382003-03-03 David Carlton <carlton@math.stanford.edu>
1839
1840 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1841 respect to PR c++/33 into FAILs.
1842
98e9c5b8
MC
18432003-03-03 Michael Chastain <mec@shout.net>
1844
7bedbf27
MC
1845 * configure.in: Update copyright years.
1846
18472003-03-03 Michael Chastain <mec@shout.net>
1848
1849 * Makefile.in: Update copyright years.
98e9c5b8 1850
f683e100
DC
18512003-02-28 David Carlton <carlton@math.stanford.edu>
1852
1853 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1854 print class instead of struct and/or superfluous protection
1855 specifiers, as long as the resulting output is equivalent to the
1856 source code.
1857 Delete FIXME from end of messages on tests that don't need
1858 fixing.
1859
a9e0cf2c
DC
18602003-02-28 David Carlton <carlton@math.stanford.edu>
1861
1862 * gdb.c++/templates.exp (do_tests): Allow const in the two
1863 Foo<volatile char *>::foo tests.
1864
e8d359df
MS
18652003-02-27 Michael Snyder <msnyder@redhat.com>
1866
1867 * gdb.base/restore.c (main): Return zero, so exit code
1868 will be consistant.
1869
0b71dc91
DC
18702003-02-26 David Carlton <carlton@math.stanford.edu>
1871
1872 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1873 char *>::foo" test with respect to PR c++/33. Create a new test
1874 which is identical to that one except that it doesn't put the
1875 space between the "char" and the "*"; KFAIL it, too.
1876
dd14ab43
DC
18772003-02-26 David Carlton <carlton@math.stanford.edu>
1878
1879 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1880 template types into either PASSes or KFAILs (corresponding to PR
1881 c++/57). Tweak indentation. Update copyright.
1882
1146c7f1
SC
18832003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1884
1885 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1886
74641dfb
MC
18872003-02-13 Michael Chastain <mec@shout.net>
1888
1889 * gdb.base/exprs.exp: Remove i960 remnants.
1890 * gdb.base/funcargs.exp: Likewise.
1891 * gdb.base/list.exp: Likewise.
1892 * gdb.base/ptype.exp: Likewise.
1893
559cd2d0
DC
18942003-02-14 David Carlton <carlton@math.stanford.edu>
1895
1896 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1897 pEe->D::vg()" from XFAIL to KFAIL.
1898
c4f90d87
JM
18992003-02-13 Jason Molenda (jmolenda@apple.com)
1900
1901 * gdb.base/maint.exp: Update maint print statistics regexp to include
1902 new entries.
1903
cbc4d97c
MC
19042003-02-13 Michael Chastain <mec@shout.net>
1905
1906 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1907
40f235b7
MC
19082003-02-12 Michael Chastain <mec@shout.net>
1909
1910 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1911 * gdb.c++/inherit.exp: Likewise.
1912 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1913 * gdb.c++/templates.exp: Likewise.
1914 * gdb.c++/virtfunc.exp: Likewise.
1915
c56716b0
JM
19162003-02-06 Jason Molenda (jason-cl@molenda.com)
1917
1918 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1919 why the code is written that way.
1920
070afcf8
MC
19212003-02-05 Michael Chastain <mec@shout.net>
1922
1923 * gdb.base/dump.exp: Add missing copyright line.
1924
5d0331e5
JM
19252003-02-05 Jason Molenda (jason-cl@molenda.com)
1926
f7ae6d3e 1927 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1928 at the beginning so the breakpoint doesn't get set on the loop.
1929
92851186
MC
19302003-02-05 Michael Chastain <mec@shout.net>
1931
1932 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1933 output for configurations with gcc 2.95.3.
1934
cbf1e085
AC
19352003-02-05 Keith Seitz <keiths@redhat.com>
1936 Andrew Cagney <ac131313@redhat.com>
1937
1938 * gdb.mi/mi-cli.exp: New file.
1939
29518e1e
MC
19402003-02-04 Michael Chastain <mec@shout.net>
1941
1942 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1943 Call perror and then continue.
1944
5af1d5f3
MC
19452003-02-03 Michael Chastain <mec@shout.net>
1946
1947 * gdb.c++/pr-1023.cc: New file.
1948 * gdb.c++/pr-1023.exp: New file.
1949
6b549786
JB
19502003-02-05 Jim Blandy <jimb@redhat.com>
1951
1952 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1953 it's local to foobar. Check for it there, and check that it's not
1954 present in main.
1955 * gdb.c++/local.cc (marker2): New function.
1956 (foobar): Call marker1.
1957 (main): Call marker2 instead of marker1.
1958
67f16606
AC
19592003-02-04 Andrew Cagney <ac131313@redhat.com>
1960
1961 * gdb.disasm/mn10200.exp: Obsolete file.
1962 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1963 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1964 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1965
1c5cb38e
DC
19662003-02-04 David Carlton <carlton@math.stanford.edu>
1967
1968 * gdb.c++/overload.exp: Test intToChar(1).
1969 * gdb.c++/overload.cc (intToChar): New.
1970 (main): Call intToChar.
1971
d1fe6965
DC
19722003-02-03 David Carlton <carlton@math.stanford.edu>
1973
1974 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1975 'might_kfail' arg.
1976 KFAIL some of the continue_to_bp_overloaded calls, according to
1977 PR c++/1025.
1978
9ba61c5d
MC
19792003-02-01 Michael Chastain <mec@shout.net>
1980
1981 * gdb.base/advance.c (marker1): New marker function.
1982 * gdb.base/advance.exp: When the 'advance' command lands on the
1983 return breakpoint, it can legitimately stop on either the
1984 current line or the next line. Accommodate both outcomes.
1985 * gdb.base/until.exp: Likewise.
1986
e7494ffb
AC
19872003-02-02 Andrew Cagney <ac131313@redhat.com>
1988
1989 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1990 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1991 now a list, not a tuple.
1992 * gdb.mi/mi-var-display.exp: Ditto.
1993 * gdb.mi/gdb792.exp: Ditto.
1994
075559bc
AC
19952003-02-01 Andrew Cagney <ac131313@redhat.com>
1996
1997 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1998 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1999 stack backtraces.
2000 * gdb.mi/mi-syn-frame.c: Part of same.
2001
2bd4c7b1
MK
20022003-02-01 Mark Kettenis <kettenis@gnu.org>
2003
2004 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2005 gdb.mi/mi1-pthreads.exp: Return instead of calling
2006 gdb_suppress_entire_file.
2007
eabd8992
MS
20082003-02-01 Mark Salter <msalter@redhat.com>
2009
2010 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
2011
71469e2f
MS
20122003-01-31 Mark Salter <msalter@redhat.com>
2013
2014 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
2015 Support empty arg.
2016
38a94d44
MC
20172003-01-30 Michael Chastain <mec@shout.net>
2018
2019 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
2020 This was a workaround for a UTF-8 bug in readline 4.3. The bug
2021 has been fixed in gdb/readline on 2003-01-09.
2022
19ea9e73
MS
20232003-01-29 Michael Snyder <msnyder@redhat.com>
2024
e8d359df
MS
2025 * gdb.base/maint.exp: Allow for leading underscore in symbol.
2026 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
2027 * gdb.base/args.exp: Skip if target does not support args passing.
2028
2307bd6a
DJ
20292003-01-22 Daniel Jacobowitz <drow@mvista.com>
2030
19ea9e73 2031 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
2032 gdb_test. Accept a list of expect arguments as the third
2033 parameter.
2034 (gdb_test): Use it.
2035
f2dd3617
EZ
20362003-01-20 Elena Zannoni <ezannoni@redhat.com>
2037
2038 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
2039 allow for different test tree configurations. Update some
2040 tescases accordingly.
2041 * gdb.arch/altivec-regs.exp: Ditto.
2042 * gdb.asm/asm-source.exp: Ditto.
2043 * gdb.base/advance.exp: Ditto.
2044 * gdb.base/display.exp: Ditto.
2045 * gdb.base/long_long.exp: Ditto.
2046 * gdb.base/mips_pro.exp: Ditto.
2047 * gdb.base/overlays.exp: Ditto.
2048 * gdb.base/relocate.exp: Ditto.
2049 * gdb.base/setshow.exp: Ditto.
2050 * gdb.base/step-line.exp: Ditto.
2051 * gdb.base/step-test.exp: Ditto.
2052 * gdb.base/until.exp: Ditto.
2053 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2054
c71cdefd
DC
20552003-01-17 David Carlton <carlton@math.stanford.edu>
2056
2057 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2058 corresponding to PR c++/945.
2059 Update copyright.
2060
fdba05d7
DC
20612003-01-17 David Carlton <carlton@math.stanford.edu>
2062
2063 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2064 corresponding to PR c++/68.
2065
20662003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
2067
2068 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2069 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2070 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2071
c362c33a
EZ
20722003-01-15 Elena Zannoni <ezannoni@redhat.com>
2073
0fbc361c
EZ
2074 * gdb.base/break.exp: Fix change of default location, because of
2075 removal of until tests.
2076 * gdb.base/help.exp: Update test for new 'until' help message.
2077 Add test for help on 'advance'.
c362c33a
EZ
2078 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2079
dabf8a35
MK
20802003-01-15 Mark Kettenis <kettenis@gnu.org>
2081
2082 * gdb.base/default.exp: Adapt "info float" test for recent changes
2083 to that command. Add test for "info vector".
2084 * gdb.base/float.exp: New file. Add test for "info float" that
2085 resembles the old test in gdb.base/default.exp.
2086
a1769aca
DC
20872003-01-15 David Carlton <carlton@math.stanford.edu>
2088
2089 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2090
82025e13
EZ
20912003-01-15 Elena Zannoni <ezannoni@redhat.com>
2092
2093 * gdb.base/break.exp: Move the tests of until command from here...
2094 * gdb.base/until.exp: ... to here. New file. Add other tests.
2095 * gdb.base/advance.c: New file.
2096 * gdb.base/advance.exp: New file.
2097
8f9ab801
EZ
20982003-01-14 Elena Zannoni <ezannoni@redhat.com>
2099
2100 * gdb.base/args.c: New file.
2101 * gdb.base/args.exp: New file.
2102
9ae66589
DJ
21032003-01-14 Daniel Jacobowitz <drow@mvista.com>
2104
2105 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2106
8d77e5c3
DJ
21072003-01-14 Daniel Jacobowitz <drow@mvista.com>
2108
2109 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2110
12d2f0a1
DJ
21112003-01-14 Daniel Jacobowitz <drow@mvista.com>
2112
2113 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2114 dates.
2115
6ca37014
DJ
21162003-01-13 Daniel Jacobowitz <drow@mvista.com>
2117
2118 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2119
b0023472
DJ
21202003-01-13 Daniel Jacobowitz <drow@mvista.com>
2121
2122 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2123 (ptype &*"foo").
2124 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2125
d6abaea5
DJ
21262002-01-13 Daniel Jacobowitz <drow@mvista.com>
2127
2128 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2129 * gdb.mi/mi1-console.exp: Likewise.
2130
dfd536a7
DJ
21312002-01-13 Daniel Jacobowitz <drow@mvista.com>
2132
2133 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2134 * gdb.mi/mi1-console.exp: Likewise.
2135
a1fb14a2
DJ
21362003-01-13 Daniel Jacobowitz <drow@mvista.com>
2137
2138 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2139
c4cf40b7
DJ
21402003-01-09 Daniel Jacobowitz <drow@mvista.com>
2141
2142 * gdb.base/detach.exp: New test.
2143
696d5a5b
DJ
21442003-01-09 Daniel Jacobowitz <drow@mvista.com>
2145
2146 * Makefile.in (ALL_SUBDIRS): New variable.
2147 (subdirs, clean, distclean): Use it.
2148 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2149 regenerating Makefile, since it is generated from the top level.
2150 * gdb.asm/Makefile.in: Likewise.
2151 * gdb.base/Makefile.in: Likewise.
2152 * gdb.c++/Makefile.in: Likewise.
2153 * gdb.disasm/Makefile.in: Likewise.
2154 * gdb.java/Makefile.in: Likewise.
2155 * gdb.mi/Makefile.in: Likewise.
2156 * gdb.threads/Makefile.in: Likewise.
2157 * gdb.trace/Makefile.in: Likewise.
2158
754533e4
DC
21592003-01-09 David Carlton <carlton@math.stanford.edu>
2160
2161 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2162 Add copyright year 2003.
2163
d8b3e9ee
MC
21642003-01-06 Michael Chastain <mec@shout.net>
2165
2166 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2167 When selecting a thread, 'line' and 'file' are optional.
2168 * gdb.mi/mi1-pthreads.exp: Likewise.
2169
8e9e0fe6
AS
21702003-01-06 Andreas Schwab <schwab@suse.de>
2171
2172 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2173 failures.
2174
b5ab8ff3
DJ
21752003-01-04 Daniel Jacobowitz <drow@mvista.com>
2176
2177 Fix PR gdb/844
2178 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2179 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2180
2181 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2182 instead of calling gdb_suppress_entire_file.
2183 * gdb.threads/print-threads.exp: Likewise.
2184 * gdb.threads/schedlock.exp: Likewise.
2185
2186 * gdb.threads/killed.exp: Return instead of calling
2187 gdb_suppress_entire_file.
2188 * gdb.threads/linux-dp.exp: Likewise.
2189 * gdb.threads/pthreads.exp: Likewise.
2190
1e698235
DJ
21912003-01-04 Daniel Jacobowitz <drow@mvista.com>
2192
2193 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2194 stabs.
2195 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2196 * gdb.base/whatis.exp: Always allow (void) after function names.
2197
147ff08c
DJ
21982003-01-04 Daniel Jacobowitz <drow@mvista.com>
2199
2200 * gdb.c++/casts.exp: Correct regexp.
2201
dc62bfc2
MK
22022003-01-04 Mark Kettenis <kettenis@gnu.org>
2203
2204 * configure.in: Call AC_CONFIG_HEADER. Don't call
2205 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2206 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2207 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2208 aforementioned directories in the AC_OUPUT call.
2209 * config.hin: New file.
2210 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2211 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2212 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2213 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2214 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2215 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2216 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2217 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2218 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2219 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2220 gdb.threads/configure.in, gdb.threads/configure,
2221 gdb.threads/config.in, gdb.trace/configure.in,
2222 gdb.trace/configure: Removed.
2223
77afa639
MC
22242003-01-03 Michael Chastain <mec@shout.net>
2225
2226 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2227 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2228
7634bb6e
DJ
22292003-01-03 Daniel Jacobowitz <drow@mvista.com>
2230
2231 * gdb.base/store.exp: Fix regular expressions.
2232
b39c905e
MK
22332002-12-28 Mark Kettenis <kettenis@gnu.org>
2234
2235 * configure.in: Rewrite.
2236 * configure: Regenerated.
2237
0a8551dd
DC
22382003-01-03 David Carlton <carlton@math.stanford.edu>
2239
2240 * gdb.base/psymtab.exp: New file.
2241 * gdb.base/psymtab1.c: Ditto.
2242 * gdb.base/psymtab2.c: Ditto.
2243
c60b7188
AF
22442002-12-23 Adam Fedor <fedor@gnu.org>
2245
2246 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2247
ee73db83
DC
22482002-12-23 David Carlton <carlton@math.stanford.edu>
2249
2250 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2251 and current_directory initialization.
2252
d6c1774e
JB
22532002-12-22 Jim Blandy <jimb@redhat.com>
2254
f0a847b8
JB
2255 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2256 rather than as part of the output file name.
2257
d6c1774e
JB
2258 * gdb.base/attach.exp: There's no need to copy the test program to
2259 /tmp; that was only ever necessary on HP/UX, and this test is
2260 entirely disabled there anyway.
2261
f0708dbb
JB
22622002-12-21 Jim Blandy <jimb@redhat.com>
2263
4c2acfea
JB
2264 * gdb.c++/psmang.exp: Doc fix.
2265
f0708dbb
JB
2266 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2267 test.
2268
9579e000
DC
22692002-12-20 David Carlton <carlton@math.stanford.edu>
2270
2271 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2272
d1810171
MC
22732002-12-18 Michael Chastain <mec@shout.net>
2274
2275 * gdb.c++/annota2.exp: Add copyright year 2002.
2276
76565097
DC
22772002-12-17 David Carlton <carlton@math.stanford.edu>
2278
2279 * gdb.c++/try_catch.cc: Add marker comments.
2280 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2281 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2282 * gdb.c++/m-static.cc: Ditto.
2283 * gdb.c++/m-static1.cc: Ditto.
2284 * gdb.c++/try_catch.cc: Ditto.
2285
da81390b
JJ
22862002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2287
2288 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2289 to see whether we are using the new -environment-directory
2290 command which resets via -r or the old version of the command
2291 which may prompt the user. Part of fix for gdb/741.
2292
b304d130
AC
22932002-12-13 Andrew Cagney <ac131313@redhat.com>
2294
2295 * gdb.fortran/types.exp: Update obsolete comment.
2296 * gdb.fortran/exprs.exp: Ditto.
2297 * lib/gdb.exp: Delete obsolete code.
2298 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2299 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2300 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2301 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2302 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2303 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2304 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2305 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2306 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2307 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2308 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2309 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2310 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2311 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2312 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2313 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2314 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2315 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2316 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2317 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2318 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2319 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2320 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2321 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2322 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2323 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2324 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2325 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2326 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2327 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2328 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2329 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2330 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2331 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2332 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2333 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2334 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2335
a23b6e6a
DC
23362002-12-11 David Carlton <carlton@math.stanford.edu>
2337
2338 * gdb.c++/m-data.exp: Add test for members that shadow global
2339 variables: see PR gdb/804.
2340 * gdb.c++/m-data.cc: Ditto.
2341
6604731b
DJ
23422002-12-10 Daniel Jacobowitz <drow@mvista.com>
2343
2344 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2345
de46ecd7
DC
23462002-12-06 David Carlton <carlton@math.stanford.edu>
2347
2348 * gdb.base/store.c: Don't declare functions static.
2349
27e829d0
AC
23502002-12-04 Andrew Cagney <ac131313@redhat.com>
2351
2352 * gdb.base/store.exp, gdb.base/store.c: New files.
2353
92806416
DJ
23542002-12-03 Daniel Jacobowitz <drow@mvista.com>
2355
2356 * gdb.base/selftest.exp: Update for current gdb.
2357
3bcbaac5
DJ
23582002-12-03 Daniel Jacobowitz <drow@mvista.com>
2359
2360 * gdb.base/maint.exp: Only dump symbols from one source file
2361 or objfile.
2362
f4f00b1f
DJ
23632002-12-03 Daniel Jacobowitz <drow@mvista.com>
2364
2365 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2366 function call.
2367
f1c8a949
JB
23682002-11-25 Jim Blandy <jimb@redhat.com>
2369
2370 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2371 function appearing in error message.
2372
9e297a97
DJ
23732002-11-21 Daniel Jacobowitz <drow@mvista.com>
2374
2375 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2376
1f312e79
JJ
23772002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2378
2379 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2380 for mi1 and current mi is in correct format. New mi startup message
2381 should be in mi console format. This is part of fix for PR gdb/604.
2382
83c31e7d
FN
23832002-09-18 Fernando Nasser <fnasser@redhat.com>
2384
2385 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2386 which explicitly prints the zero offset as "+0".
2387
322b3f65
DJ
23882002-10-22 Daniel Jacobowitz <drow@mvista.com>
2389
2390 * gdb.threads/schedlock.c (args): Make unsigned.
2391
23922002-10-21 Daniel Jacobowitz <drow@mvista.com>
2393
2394 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2395 numbers. Allow "foo2|selected stack frame".
2396 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2397 * gdb.asm/asmsrc2.s: Likewise.
2398 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2399 comments.
2400 * gdb.asm/mips.inc: New file.
2401
5e2fe5b8
AF
24022002-10-18 Adam Fedor <fedor@gnu.org>
2403
2404 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2405 * gdb.base/help.exp: Likewise.
2406
abe1a5d0
KB
24072002-10-17 Kevin Buettner <kevinb@redhat.com>
2408
2409 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2410 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2411
10abb1d4
JB
24122002-10-02 Jim Blandy <jimb@redhat.com>
2413
2414 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2415
1f609b42
AC
24162002-10-01 Andrew Cagney <ac131313@redhat.com>
2417
2418 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2419 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2420 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2421 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2422 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2423 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2424 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2425
0aee02e4
AC
24262002-09-29 Andrew Cagney <ac131313@redhat.com>
2427
2428 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2429 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2430 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2431 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2432 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2433 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2434 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2435
6fde09ad
KB
24362002-09-27 Kevin Buettner <kevinb@redhat.com>
2437
2438 * gdb.base/annota1.exp (info break): Make directory components of
2439 path optional since not all compilers emit this debug information.
2440
2441 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2442 step ends up stepping out of the function instead of stopping on
2443 the epilogue.
2444
9e8aab75
KS
24452002-09-26 Keith Seitz <keiths@redhat.com>
2446
2447 * lib/insight-support.exp (gdbtk_start): Figure out where
2448 the insight executable is based on where gdb is. Use this
2449 executable to start insight instead of gdb.
2450
e36180d7
AC
24512002-09-25 Andrew Cagney <cagney@redhat.com>
2452
2453 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2454
9dd34b2b
AC
24552002-09-24 Andrew Cagney <ac131313@redhat.com>
2456
2457 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2458 test_isolated_complaints.
2459 (test_empty_complaint): New function.
2460 (test_empty_complaints): New function. Check no output when no
2461 complaints.
2462
dea97812
KB
24632002-09-19 Jim Blandy <jimb@redhat.com>
2464
2465 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2466
54951bd7
AC
24672002-09-19 Andrew Cagney <ac131313@redhat.com>
2468
2469 * gdb.gdb/complaints.exp: New file.
2470
dec43320
AC
24712002-09-18 Andrew Cagney <ac131313@redhat.com>
2472
2473 * gdb.base/maint.exp: Check `help maint internal-warning'.
2474
e70d6e3f
DC
24752002-09-18 David Carlton <carlton@math.stanford.edu>
2476
2477 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2478 numbers, and replace them by a single breakpoint after the
2479 constructors are all finished.
2480 Add test 4.
2481 * gdb.c++/m-static.cc: Add test 4.
2482 * gdb.c++/m-static.h: New file.
2483 * gdb.c++/m-static1.cc: New file.
2484
2485 * gdb.c++/printmethod.exp: New file.
2486 * gdb.c++/printmethod.cc: New file.
2487
2488 * gdb.c++/pr-574.exp: New file.
2489 * gdb.c++/pr-574.cc: New file.
2490
afb5c968
CV
24912002-09-18 Corinna Vinschen <vinschen@redhat.com>
2492
2493 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2494 embedded targets which never actually exit.
2495
31e45dee
FN
24962002-09-18 Fernando Nasser <fnasser@redhat.com>
2497
2498 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2499 "don't step after run" as unresolved or unsupported, instead of xfail.
2500
a283c5a1
CV
25012002-09-18 Corinna Vinschen <vinschen@redhat.com>
2502
2503 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2504 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2505 Add newline to expected string in "step out of main (status wrapper)"
2506 case.
2507
11350d2a
CV
25082002-09-18 Corinna Vinschen <vinschen@redhat.com>
2509
2510 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2511 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2512
0deec7d6
TT
25132002-09-17 Tom Tromey <tromey@redhat.com>
2514
2515 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2516 \000, not \0, in double-quoted string.
2517
b2b4a1b5
CV
25182002-09-14 Corinna Vinschen <vinschen@redhat.com>
2519
c9d37158 2520 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2521 string after running the commands execution on breakpoint tests.
2522
1c56143a
CV
25232002-09-13 Corinna Vinschen <vinschen@redhat.com>
2524
2525 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2526
37f8da45
JB
25272002-09-12 Joel Brobecker <brobecker@gnat.com>
2528
2529 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2530
08b468e0
KS
25312002-09-10 Keith Seitz <keiths@redhat.com>
2532
2533 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2534 runto proc.
2535 (mi_run_to_main): Use mi_runto.
2536 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2537
dc360f58
KS
25382002-09-10 Keith Seitz <keiths@redhat.com>
2539
2540 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2541 regexp for stopping at main. Could have multiple event notifications.
2542 Don't assume that main was declared with no parameters.
2543 (mi_next): Use mi_step_to.
2544 (mi_step): Use mi_next_to.
2545
ce3abcfb
CV
25462002-09-09 Corinna Vinschen <vinschen@redhat.com>
2547
2548 * gdb.base/default.exp: Fix expected string in `info float' test.
2549
d1f5b980
BE
25502002-09-09 Ben Elliston <bje@redhat.com>
2551
2552 * config/mips.exp: Update comments.
2553 * config/mips-idt.exp: Likewise.
2554 * config/nind.exp: Likewise.
2555 * config/slite.exp: Likewise.
2556 * config/sparclet.exp: Likewise.
2557 * config/udi.exp: Likewise.
2558 * config/vx.exp: Likewise.
2559 * config/vxworks29k.exp: Likewise.
2560
2f71430b
JB
25612002-09-05 Jim Blandy <jimb@redhat.com>
2562
2563 * gdb.threads/killed.exp: Fix test failure message.
2564
7ddebc7e
KS
25652002-09-04 Keith Seitz <keiths@redhat.com>
2566
2567 * lib/mi-support.exp: Update copyright.
2568 (mi_gdb_test): Increase the priority of the expected pattern
2569 so that it matches gdb_test.
2570
0ae67eb3
KS
25712002-09-03 Keith Seitz <keiths@redhat.com>
2572
2573 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2574 Use integer comparison instead of string comparison for testing
2575 whether binary was built.
2576
38fc42c8
JB
25772002-09-03 Jim Blandy <jimb@redhat.com>
2578
2579 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2580
b6ff0e81
JB
25812002-08-29 Jim Blandy <jimb@redhat.com>
2582
2583 * gdb.threads/pthreads.exp: Move the portable thread compilation
2584 code into a function in lib/gdb.exp, and call that from here.
2585 * lib/gdb.exp (gdb_compile_pthreads): New function.
2586
07c98896
KS
25872002-08-29 Keith Seitz <keiths@redhat.com>
2588
2589 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2590 expect_out so that callers can get at it.
2591
0312286c
DJ
25922002-08-23 Daniel Jacobowitz <drow@mvista.com>
2593
2594 * gdb.threads/print-threads.c: New file.
2595 * gdb.threads/print-threads.exp: New file.
2596 * gdb.threads/schedlock.c: New file.
2597 * gdb.threads/schedlock.exp: New file.
2598
dd039bc4
EZ
25992002-08-22 Elena Zannoni <ezannoni@redhat.com>
2600
2601 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2602 not altivec.c.
2603
1f36144c
MK
26042002-08-17 Mark Kettenis <kettenis@gnu.org>
2605
2606 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2607 targets. The problem should be fixed now.
2608
16057ec7 26092002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2610
2611 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2612 2002-07-24 change that removes final dots from error messages.
2613
3c1499ad
TT
26142002-08-13 Tom Tromey <tromey@redhat.com>
2615
2616 * gdb.base/readline.exp: New file.
2617
a20ce2c3
AC
26182002-08-01 Andrew Cagney <ac131313@redhat.com>
2619
2620 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2621 supress message.
2622
db034ac5
AC
26232002-08-01 Andrew Cagney <cagney@redhat.com>
2624
2625 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2626 CHILL_FOR_TARGET and CHILL_LIB.
2627 * configure.in (configdirs): Remove gdb.chill.
2628 * configure: Regenerate.
2629 * lib/gdb.exp: Obsolete references to chill.
2630 * gdb.fortran/types.exp: Ditto.
2631 * gdb.fortran/exprs.exp: Ditto.
2632
3e000b18
KB
26332002-07-30 Kevin Buettner <kevinb@redhat.com>
2634
2635 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2636 set Irix-specific compile and link flags.
2637
28f4966b
KB
26382002-07-29 Kevin Buettner <kevinb@redhat.com>
2639
2640 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2641 source files. The ``-o'' option doesn't work with the ``-E'' option
2642 when using the Irix compiler.
2643
46c0d5a6
DJ
26442002-07-19 Daniel Jacobowitz <drow@mvista.com>
2645
2646 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2647 Improve support for reusing an exec file. Copy exec file
2648 to target, and run gdbserver on the target instead of on the host.
2649
eecf4bed
JB
26502002-07-18 Jim Blandy <jimb@redhat.com>
2651
0f815cdf
JB
2652 * gdb.base/ending-run.exp: Don't expect to see the program end in
2653 some orderly fashion when we're running on a real stand-alone
2654 board.
2655
eecf4bed
JB
2656 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2657 targets that don't support interrupts.
2658
52d309e4
JB
26592002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2660
2661 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2662 systems.
2663 Move comments in expect statements to inside the actions, so that they
2664 don't get matched against.
2665
ff683d9e
MK
26662002-07-10 Mark Kettenis <kettenis@gnu.org>
2667
2668 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2669 function when asleep" test.
2670
b5356753
AC
26712002-07-10 Andrew Cagney <ac131313@redhat.com>
2672
2673 * gdb.base/page.exp: Rewrite to handle problems with very long
2674 `info set' output. Update copyright.
2675
6aa4d13a
AC
26762002-06-26 Andrew Cagney <ac131313@redhat.com>
2677
2678 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2679 gdb.threads-hp.
2680 * gdb.hp/configure: Regenerate.
2681 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2682 * gdb.hp/gdb.threads-hp/configure: Delete file.
2683 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2684
8cf8c2b8
AC
26852002-06-22 Andrew Cagney <ac131313@redhat.com>
2686
2687 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2688 setlocale, bindtextdomain and textdomain.
2689
6827a8f8
JB
26902002-06-11 Jim Blandy <jimb@redhat.com>
2691
919d772c
JB
2692 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2693 preprocessor macro information is present.
2694
6827a8f8
JB
2695 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2696 tests.
2697
c15b0d21
MS
26982002-06-06 Michael Snyder <msnyder@redhat.com>
2699
c5984d70
MS
2700 * gdb.base/overlays.exp: Record addresses of overlay
2701 functions in TCL variables rather than in GDB variables,
2702 to avoid having GDB convert them to pointers (with loss
2703 of information).
2704
99a8512b
MS
2705 * gdb.base/d10v.ld: Merge in several years worth of
2706 default linker script changes.
c15b0d21
MS
2707 * gdb.base/long_long.exp: Add check for sizeof (long double).
2708
be26fe0d
ML
27092002-06-06 Michal Ludvig <mludvig@suse.cz>
2710
2711 * gdb.asm/asm-source.exp: Add x86-64 target.
2712 * gdb.asm/x86_64.inc: New.
2713
258093ca 27142002-05-30 Michael Chastain <mec@shout.net>
258093ca 2715
4b3153f1 2716 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2717 * gdb.c++/m-static.cc: New file.
2718 * gdb.c++/m-static.exp: New file.
2719
241264c6
MS
27202002-05-28 Michael Snyder <msnyder@redhat.com>
2721
2722 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2723 precision.
2724
9bba8c8f 27252002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2726
4b3153f1 2727 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2728 * gdb.c++/m-data.cc: New file.
2729 * gdb.c++/m-data.exp: New file.
2730
27312002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2732
4b3153f1 2733 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
2734 * gdb.c++/try_catch.cc: New file.
2735 * gdb.c++/try_catch.exp: New file.
2736
def1b996
MC
27372002-05-27 Michael Chastain <mec@shout.net>
2738
2739 * gdb.c++/local.exp: Accept more nested types in output.
2740
522ba268
MC
27412002-05-26 Michael Chastain <mec@shout.net>
2742
2743 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2744
277254ba
MS
27452002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2746
2747 * lib/gdb.exp (gdb_wrapper_init): Just because
2748 gdb_wrapper_file exists, this does not mean that the file
2749 should not be rebuilt. That is what gdb_wrapper_initialized
2750 is for.
2751 (default_gdb_init): Reset gdb_wrapper_initialized.
2752
b61a8733
MS
27532002-05-23 Michael Snyder <msnyder@redhat.com>
2754
5bdb6d01
MS
2755 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2756 the precision of the floating point test results.
2757 * gdb.base/call-rt-st.exp: Ditto.
2758
b61a8733
MS
2759 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2760 * gdb.base/call-rt-st.exp: Ditto.
2761
56f6e910
MC
27622002-05-19 Michael Chastain <mec@shout.net>
2763
2764 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2765
ad0b0016
EZ
27662002-05-19 Elena Zannoni <ezannoni@redhat.com>
2767
2768 * configure.in (configdirs): Add gdb.arch.
2769 * configure: Regenerate.
2770
f617d2b6
JB
27712002-05-17 Jim Blandy <jimb@redhat.com>
2772
2773 * gdb.base/completion.exp: Recognize the more detailed error
2774 messages produced by the macro expander's lexical analyzer.
2775
eac2a696
EZ
27762002-05-14 Elena Zannoni <ezannoni@redhat.com>
2777
2778 * gdb.arch/altivec-abi.c: New file.
2779 * gdb.arch/altivec-abi.exp: New file.
2780 * gdb.arch/altivec-regs.c: New file.
2781 * gdb.arch/altivec-regs.exp: New file.
2782
2fdde8f8
DJ
27832002-05-14 Daniel Jacobowitz <drow@mvista.com>
2784
2785 * gdb.base/maint.exp (maint print type): Update for new type
2786 structure.
eac2a696 2787
e31f1a7c
EZ
27882002-05-14 Elena Zannoni <ezannoni@redhat.com>
2789
2790 * gdb.arch: New directory.
2791 * gdb.arch/configure.in: New file.
2792 * gdb.arch/configure: New file.
2793 * gdb.arch/Makefile.in: New file.
2794
db589741
CV
27952002-05-13 Corinna Vinschen <vinschen@redhat.com>
2796
2797 * gdb.asm/asm-source.exp: Add v850 as supported target.
2798 * gdb.asm/v850.inc: New file.
2799
8ce2a7dc
DJ
28002002-05-13 Daniel Jacobowitz <drow@mvista.com>
2801
2802 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2803
df763c7f
DJ
28042002-05-12 Daniel Jacobowitz <drow@mvista.com>
2805
2806 * gdb.base/break.exp: Check 'break "marker2"'.
2807
377daeed
MS
28082002-05-10 Michael Snyder <msnyder@redhat.com>
2809
2810 * gdb.base/long_long.exp: Fix typo.
2811
c4b7bc2b
JB
28122002-05-10 Jim Blandy <jimb@redhat.com>
2813
ecac9a4e
JB
2814 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2815 a bug.
2816
c4b7bc2b
JB
2817 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2818 Recognize more detailed error message produced by the macro
2819 expander's lexical analyzer.
2820 * lib/gdb.exp (test_print_reject): Same.
2821
e71019a1
MK
28222002-05-09 Mark Kettenis <kettenis@gnu.org>
2823
2824 * gdb.c++/method.exp: Fix typo.
2825
fedfc8e6
MS
28262002-05-08 Michael Snyder <msnyder@redhat.com>
2827
166a1957
MS
2828 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2829 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2830 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2831 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2832 Add iftarget clause for strongarm.
2833
f1c47eb2
MS
28342002-05-06 Michael Snyder <msnyder@redhat.com>
2835
cb9a9d3e
MS
2836 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2837 (gdb_continue_to_end): Accept output from status wrapper.
2838 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2839 Clean up fail messages to match pass messages.
2840
f1c47eb2
MS
2841 Enable the "needs_status_wrapper" testsuite feature.
2842 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2843 (gdb_compile): Conditionally call gdb_wrapper_init.
2844 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2845 * gdb.c++/method.exp: Recognize output from status wrapper.
2846
6079c749
BE
28472002-05-06 Ben Elliston <bje@redhat.com>
2848From Graydon Hoare <graydon@redhat.com>
2849
2850 * config/sid.exp: Include support for "rawsid" protocol.
2851
188baff3
JB
28522002-05-03 Jim Blandy <jimb@redhat.com>
2853
2854 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2855 * gdb.c++/hang3.C: New file.
2856
b9c07f0f
AC
28572002-05-04 Andrew Cagney <ac131313@redhat.com>
2858
2859 * gdb.base/default.exp: Remove obsolete code.
2860 * gdb.c++/misc.exp: Ditto. Update copyright.
2861 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2862 * gdb.base/whatis.exp: Ditto. Update copyright.
2863 * gdb.base/scope.exp: Ditto. Update copyright.
2864 * gdb.base/ptype.exp: Ditto. Update copyright.
2865 * gdb.base/printcmds.exp: Ditto. Update copyright.
2866 * gdb.base/opaque.exp: Ditto. Update copyright.
2867 * gdb.base/list.exp: Ditto.
2868 * gdb.base/funcargs.exp: Ditto. Update copyright.
2869 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2870 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2871 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2872 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2873 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2874 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2875
5c7a0397
MS
28762002-05-02 Michael Snyder <msnyder@redhat.com>
2877
d6dcc264 2878 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2879 * gdb.base/long_long.exp: Add xscale target.
2880 * gdb.base/default.exp: Add xscale target.
2881
eb7f1c48
JB
28822002-05-01 Jim Blandy <jimb@redhat.com>
2883
2884 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2885 gdb.c++/hang.exp: New test.
2886
a6befae8
FF
28872002-05-01 Fred Fish <fnf@redhat.com>
2888
2889 * gdb.base/completion.exp: Handle completions of "./Make" for
2890 more than one completion possibility, as is the case when we
2891 build and test in the source tree.
2892
0a310277
AG
28932002-04-29 Anthony Green <green@redhat.com>
2894
2895 * gdb.java/jmisc1.exp: New file.
2896 * gdb.java/jmisc2.exp: New file.
2897
6ff9af88
DJ
28982002-04-24 Daniel Jacobowitz <drow@mvista.com>
2899
2900 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2901
96b3d632
EZ
29022002-04-23 Elena Zannoni <ezannoni@redhat.com>
2903
2904 * gdb.base/help.exp: Change 'help status' to allow for target
2905 dependent output differences.
2906
5019bb54
MC
29072002-04-22 Michael Chastain <mec@shout.net>
2908
2909 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2910
a805a116
MC
29112002-04-22 Michael Chastain <mec@shout.net>
2912
2913 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2914
a1706bfd
DM
29152002-04-17 David S. Miller <davem@redhat.com>
2916
2917 * gdb.asm/sparc64.inc: New file.
2918 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2919
a73a20a2
EZ
29202002-04-19 Elena Zannoni <ezannoni@redhat.com>
2921
2922 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2923 instruction file directly into the build tree. Clean up at end of
2924 test.
2925
ba678339
DM
29262002-04-18 David S. Miller <davem@redhat.com>
2927
2928 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2929 handle 64-bit platforms correctly.
2930 * gdb.base/maint.exp: Likewise.
2931
b03399da
KB
29322002-04-18 Kevin Buettner <kevinb@redhat.com>
2933
2934 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2935 ``-fpic'' when compiling files comprising a shared library, but
2936 it does need additional linker flags in order to find shared
2937 libraries at run time.
2938
e2004992
KB
29392002-04-18 Kevin Buettner <kevinb@redhat.com>
2940
2941 * gdb.base/cvexpr.c (use): New function.
2942 (main): Invoke use() on all global variables to prevent
2943 some linkers from deleting these otherwise unused symbols.
2944
d8937120
MC
29452002-04-17 Michael Chastain <mec@shout.net>
2946From David S. Miller <davem@redhat.com>
2947
2948 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2949 handle 64-bit platforms correctly.
2950
ffd61a58
MS
29512002-04-12 Michael Snyder <msnyder@redhat.com>
2952From Jim Blandy <jimb@redhat.com>
2953 * gdb.base/foo.c (foox): Remove section attribute; the linker
2954 script can handle this instead.
2955 * gdb.base/bar.c (barx): Same.
2956 * gdb.base/baz.c (bazx): Same.
2957 * gdb.base/grbx.c (grbxx): Same.
2958
2959 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2960 manager doesn't automatically unmap overlays unnecessarily.
2961
6b8426a6
MH
29622002-04-10 Martin M. Hunt <hunt@redhat.com>
2963
2964 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2965 stepping out of main.
2966
34af4875
MC
29672002-04-09 Michael Chastain <mec@shout.net>
2968
2969 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2970 scope so that the nested scope tests will make sense.
2971 * gdb.c++/local.exp: Write patterns that actually work with gcc
2972 (the HP patterns "were never known to work with gcc").
2973 Keep the old aCC patterns too.
2974
2d1676a0
DJ
29752002-04-09 Daniel Jacobowitz <drow@mvista.com>
2976
2977 * gdb.base/attach.exp: Correct target board test.
2978
3a63e3f9
MC
29792002-04-08 Michael Chastain <mec@shout.net>
2980
2981 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2982 in a const method. Add some xfail and fail cases for configurations
2983 that do not emit the "const ...".
2984
f18dabd2
MC
29852002-04-07 Michael Chastain <mec@shout.net>
2986
2987 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2988 Accept "A * const" and "const A * const" as type of "this".
2989 Fix spelling of getFunky throughout. Make messages uniform.
2990
0fcddd82
EZ
29912002-04-07 Elena Zannoni <ezannoni@redhat.com>
2992
2993 Work around for PR gdb/285:
2994 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2995
16a8534a
EZ
29962002-04-07 Elena Zannoni <ezannoni@redhat.com>
2997
2998 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2999 instructions file at run time instead of configure time.
3000 Sometimes we run the test in a directory that is not the one we
3001 configured in.
3002 * gdb.asm/configure.in: Delete creation of symlink.
3003 * gdb.asm/configure: Regenerate.
3004
24181d81
JB
30052002-04-05 J. Brobecker <brobecker@gnat.com>
3006
3007 * gdb.gdb/xfullpath.exp: New test, to exercise the new
3008 xfullpath () function.
3009
7cdb7107
DJ
30102002-04-04 Daniel Jacobowitz <drow@mvista.com>
3011
3012 * gdb.asm/Makefile.in: Correct dependencies.
3013
3014 * gdb.asm/powerpc.inc: New file.
3015 * gdb.asm/asm-source.exp: Add PowerPC.
3016 * gdb.asm/configure.in: Likewise.
3017 * gdb.asm/configure: Regenerated.
3018
a7d17088
DJ
30192002-04-04 Daniel Jacobowitz <drow@mvista.com>
3020
3021 * gdb.base/relocate.exp: New file.
3022 * gdb.base/relocate.c: New file.
3023
cd721503
FF
30242002-04-04 Fred Fish <fnf@redhat.com>
3025
3026 * gdb.base/step-test.exp: Update comment regarding stopping in
3027 memcpy/bcopy calls inserted as part of the compiler runtime.
3028
b22ad7a7
MS
30292002-04-04 Michael Snyder <msnyder@redhat.com>
3030
3031 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
3032
5f279fa6
DJ
30332002-04-03 Daniel Jacobowitz <drow@mvista.com>
3034
3035 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
3036 (gdb_expect): Remove $notransfer hack.
3037
dd0fd3ce
DJ
30382002-04-02 Daniel Jacobowitz <drow@mvista.com>
3039
3040 * gdb.c++/classes.exp ("calling method for small class"): Match
3041 updated register output.
3042
1e50cda1
DJ
30432002-03-30 Daniel Jacobowitz <drow@mvista.com>
3044
3045 Fix PR gdb/452
3046 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
3047 when finished. Make gdb_file_cmd send "exec-file" when
3048 appropriate.
3049
24015922
DJ
30502002-03-30 Daniel Jacobowitz <drow@mvista.com>
3051
3052 * gdb.base/attach.exp: Remove extra setup_xfail.
3053
dd7dfd64
MS
30542002-03-26 Michael Snyder <msnyder@redhat.com>
3055
3056 * gdb.base/default.exp: Add tests for dump, append, and restore.
3057 * gdb.base/help.exp: Add tests for dump, append, and restore.
3058 * gdb.base/dump.exp: New file, test dump, append and restore.
3059 * gdb.base/dump.c: New file.
3060
48b2f8d7
MS
30612002-03-27 Michael Snyder <msnyder@redhat.com>
3062
3063 * gdb.base/help.exp: Modify expect strings to reflect
3064 clean-ups in help messages.
3065
05b4d525
FF
30662002-03-26 Fred Fish <fnf@redhat.com>
3067
3068 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3069 have debugging info for those functions and the compiler uses them
3070 internally to copy structs around.
3071
d7679631
FF
30722002-03-26 Fred Fish <fnf@redhat.com>
3073
3074 * gdb.base/list.exp: Revert the change made yesterday and add note
3075 about why we don't list the default lines for remote targets.
3076
523ac3f9
MS
30772002-03-25 Michael Snyder <msnyder@redhat.com>
3078
3079 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3080
754b2b8d
FF
30812002-03-25 Fred Fish <fnf@redhat.com>
3082
3083 * gdb.base/list.exp: This test works on remote targets so remove
3084 the short circuit for remote targets. Update copyright.
3085
33c3e192
FF
30862002-03-25 Fred Fish <fnf@redhat.com>
3087
3088 * gdb.base/attach.exp: Fix logic error that was suppressing this
3089 test for all non hppa*-*-hpux* targets, instead of the hp target.
3090 Move comments closer to the suppression point. Also now need to
3091 check that we are running natively.
3092
d43e73ee
MS
30932002-03-22 Michael Snyder <msnyder@redhat.com>
3094
882c8f02
MS
3095 * gdb.base/default.exp: Add test for gcore. Update copyright.
3096 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 3097
04c12f60
FF
30982002-03-06 Fred Fish <fnf@redhat.com>
3099
3100 * gdb.base/funcargs.c: Remove extraneous ';' character.
3101 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3102
b43df995
MC
31032002-03-04 Michael Chastain <mec@shout.net>
3104
3105 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3106 accommodate gcc v3 function signature.
3107 * gdb.mi/mi0-var-cmd-exp: Ditto.
3108
92362027
AC
31092002-02-24 Andrew Cagney <ac131313@redhat.com>
3110
3111 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3112 ``GNU/Linux'' or ``Linux kernel''
3113 * testsuite/gdb.threads/pthreads.c: Ditto.
3114
258ad32d
MC
31152002-02-24 Michael Chastain <mec@shout.net>
3116
3117 * gdb.threads/pthreads.c (thread1): Add a return statement.
3118 (thread2): Likewise.
3119 (foo): Likewise.
3120
04c3b3d4
MC
31212002-02-23 Michael Chastain <mec@shout.net>
3122
3123 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3124 to placate gcc.
3125
5a2a0a20
MC
31262002-02-23 Michael Chastain <mec@shout.net>
3127
3128 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3129 test "ptype bint". The test passes on all my stabs configurations.
3130
a640f7fc
JB
31312002-02-21 Jim Blandy <jimb@redhat.com>
3132
27924826
JB
3133 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3134 filename at a time, and watch for the ones we want to see.
3135
a640f7fc
JB
3136 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3137 types of pointers to prototyped functions.
3138
edcc8c75
AC
31392002-02-20 Andrew Cagney <ac131313@redhat.com>
3140
3141 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3142 signed, unsigned and straight char.
3143 (padding_char, padding_short, padding_int, padding_long,
3144 padding_long_long, padding_float, padding_double,
3145 padding_long_double): New global variables.
3146 (fill, fill_structs): New functions.
3147
3148 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3149 for correctly sized writes. Update copyright.
3150 (get_valueof): New procedure.
3151 (get_sizeof): Call get_valueof.
3152 (check_valueof): New procedure.
3153 (check_padding): New procedure.
3154
ac57ea44
MC
31552002-02-20 Michael Chastain <mec@shout.net>
3156
3157 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3158 to setup_xfail. Document some of the remaining calls.
3159
7a10c941
MC
31602002-02-18 Michael Chastain <mec@shout.net>
3161
3162 * gdb.c++/userdef.exp: Update copyright year.
3163
fb8acdcc
DJ
31642002-02-18 Daniel Jacobowitz <drow@mvista.com>
3165
3166 * gdb.c++/userdef.exp: Test overloaded operators properly.
3167 Remove xfails.
3168
fda6ae12
MS
31692002-02-14 Michael Snyder <msnyder@redhat.com>
3170
3171 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3172
676a0442
DJ
31732002-02-14 Daniel Jacobowitz <drow@mvista.com>
3174
3175 * gdb.base/a2-run.exp: Check for a remote target properly.
3176 * gdb.base/annota1.exp: Likewise.
3177 * gdb.base/list.exp: Likewise.
3178 * gdb.base/reread.exp: Likewise.
3179 * gdb.base/scope.exp: Likewise.
3180 * gdb.base/shlib-call.exp: Likewise.
3181 * gdb.base/term.exp: Likewise.
3182 * gdb.c++/annota2.exp: Likewise.
3183
78b4f468
RE
31842002-02-13 Richard Earnshaw <rearnsha@arm.com>
3185
3186 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3187
9a81ba51
MC
31882002-02-10 Michael Chastain <mec@shout.net>
3189
3190 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3191 (call_after_alloca): Ditto.
3192
004af6c7
DJ
31932002-02-10 Daniel Jacobowitz <drow@mvista.com>
3194
3195 * gdb.base/ending-run.exp: Guard "cont" test with
3196 gdb_skip_stdio_test.
3197
37225f62
JB
31982002-02-06 Jim Blandy <jimb@redhat.com>
3199
3200 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3201 from here...
3202 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3203 To here. Disable this test on non-HP platforms. Add big comment.
3204
fe6fdd96
MS
32052002-02-04 Michael Snyder <msnyder@redhat.com>
3206
3207 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3208 other than d10v and m32r.
3209
036fad3f
RE
32102002-02-02 Richard Earnshaw <rearnsha@arm.com>
3211
3212 * gdb.base/default.exp: Rewrite test patterns to reduce time
3213 taken to match them.
3214
7148ab62
DJ
32152002-01-30 Daniel Jacobowitz <drow@mvista.com>
3216
3217 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3218 Allow a start function above main.
3219 * gdb.threads/linux-dp.exp: Fix copyright date.
3220
396cc255
DJ
32212002-01-30 Daniel Jacobowitz <drow@mvista.com>
3222
3223 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3224 (check_philosopher_stack): Check for manager thread before checking
3225 for a just-starting thread.
3226
f038d31b
DJ
32272002-01-30 Daniel Jacobowitz <drow@mvista.com>
3228
3229 From Neil Booth <neil@daikokuya.demon.co.uk>:
3230 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3231 warnings.
3232
b3ff9d9a
FF
32332002-01-21 Fred Fish <fnf@redhat.com>
3234
3235 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3236 not caller.
3237
39ad761d
JB
32382002-01-21 Jim Blandy <jimb@redhat.com>
3239
3240 * gdb.base/reread.exp: Check that GDB properly re-reads the
3241 executable file when it changes while no inferior is running.
3242
aaf320fa
FF
32432002-01-21 Fred Fish <fnf@redhat.com>
3244
3245 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3246 optionally accept the "shlib events" variation.
3247
808a31f5
JB
32482002-01-21 Jim Blandy <jimb@redhat.com>
3249
3250 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3251 call `fflush' after every `printf', so that the output is produced
3252 at predictable points, regardless of whatever buffering does (or
3253 doesn't) take place.
3254 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3255 at different points.
3256
4420d5e2
DJ
32572002-01-20 Daniel Jacobowitz <drow@mvista.com>
3258
3259 * gdb.c++/inherit.exp: Update copyright years.
3260 * gdb.c++/method.exp: Likewise.
3261
3e36a0f4
DJ
32622002-01-20 Daniel Jacobowitz <drow@mvista.com>
3263
3264 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3265 artificial methods/arguments.
3266 * gdb.c++/derivation.exp: Likewise.
3267 * gdb.c++/inherit.exp: Likewise.
3268 * gdb.c++/method.exp: Likewise.
3269 * gdb.c++/virtfunc.exp: Likewise.
3270
b4ceaee6
AC
32712002-01-18 Andrew Cagney <ac131313@redhat.com>
3272
3273 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3274 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3275 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3276 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3277 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3278 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3279
ecace851
JB
32802002-01-17 Jim Blandy <jimb@redhat.com>
3281
3282 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3283 anchoring the pattern matching the entry point symbol's name.
3284
375fc983
AC
32852002-01-17 Andrew Cagney <ac131313@redhat.com>
3286
3287 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3288 continue/quit query. Update copyright.
3289
fe6fdd96
MS
32902002-01-14 Michael Snyder <msnyder@redhat.com>
3291
3292 * gdb.base/gcore.exp: Remove extra debugging output.
3293
e017c81f
DJ
32942002-01-13 Daniel Jacobowitz <drow@mvista.com>
3295
3296 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3297 for slightly dubious v2 mangled string.
3298
37ab3bf8
DJ
32992002-01-13 Daniel Jacobowitz <drow@mvista.com>
3300
3301 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3302
1bc05c3a 33032002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 3304
1bc05c3a 3305 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 3306
1bc05c3a
JM
3307 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3308 constructors.
3309 * gdb.c++/derivation.exp: Likewise.
3310 * gdb.c++/templates.exp: Likewise.
3311 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 3312
1bc05c3a
JM
33132002-01-10 Michael Snyder <msnyder@redhat.com>
3314
3315 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 3316
a911c360
MS
33172002-01-08 Michael Snyder <msnyder@redhat.com>
3318
3319 * gdb.base/gcore.exp: New test for generate-core-file command.
3320 * gdb.base/gcore.c: Testcase for above.
3321 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3322
ea2119ec
JM
33232002-01-08 Jason Merrill <jason@redhat.com>
3324
3325 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3326
68203136
FF
33272002-01-07 Fred Fish <fnf@redhat.com>
3328
3329 * gdb.c++/overload.exp: Remove unconditional xfails for:
3330 print foo_instance1.overloadargs(1)
3331 print foo_instance1.overloadargs(1, 2)
3332 print foo_instance1.overloadargs(1, 2, 3)
3333 print foo_instance1.overloadargs(1, 2, 3, 4)
3334 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3335 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3336 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3337 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3338 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3339 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3340 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3341 print foo_instance1.overload1arg()
3342 print foo_instance1.overload1arg((char)arg2)
3343 print foo_instance1.overload1arg((signed char)arg3)
3344 print foo_instance1.overload1arg((unsigned char)arg4)
3345 print foo_instance1.overload1arg((int)arg7)
3346 print foo_instance1.overload1arg((unsigned int)arg8)
3347 print foo_instance1.overload1arg((float)arg11)
3348 print foo_instance1.overload1arg((double)arg12)
3349
21b9b5b1
MS
33502002-01-07 Michael Snyder <msnyder@redhat.com>
3351
3352 * gdb.base/huge.exp: New test. Print a very large target data object.
3353 (skip_huge_test): New test variable. Define if you want to skip this
3354 test. The test reads an 8 megabyte data object from the target, so it
3355 might be very time consuming on remote targets with a slow connection.
3356 * gdb.base/huge.c: New file. Test case for above.
3357
725f922e
FF
33582002-01-07 Fred Fish <fnf@redhat.com>
3359
3360 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3361 g_instance.bfoo, and g_instance.cfoo.
3362
634d57ec
JL
3363Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3364
f286b2c3
JL
3365 * gdb.base/break.c (multi_line_if_conditional): New function.
3366 (multi_ilne_while_conditional): Likewise.
3367 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3368 IF or WHILE condition puts the breakpoint at the start of
3369 the condition.
3370
634d57ec
JL
3371 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3372 hppa*-*-hpux* expected failure.
3373 * gdb.base/structs.exp (do_function_calls): Similarly.
3374
3375 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3376 watchpoints.
3377
9fbfe2dc
AC
33782002-01-06 Andrew Cagney <ac131313@redhat.com>
3379
3380 Fix PR gdb/66.
3381 * gdb.base/structs.exp: Replace skip for a29k with skip for
3382 gdb,cannot_call_functions.
3383 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3384 * gdb.base/callfuncs.exp: Ditto.
3385 * gdb.base/call-rt-st.exp: Ditto.
3386 * gdb.base/call-strs.exp: Ditto.
3387 * gdb.base/callfwmall.exp: Ditto.
3388 * gdb.base/scope.exp: Obsolete xfail a29k.
3389 * gdb.c++/misc.exp: Ditto.
3390 * gdb.c++/cplusfuncs.exp: Ditto.
3391 * gdb.base/ptype.exp: Ditto.
3392 * gdb.base/printcmds.exp: Ditto.
3393 * gdb.base/opaque.exp: Ditto.
3394 * gdb.base/list.exp: Ditto.
3395 * gdb.base/funcargs.exp: Ditto.
3396 * gdb.base/default.exp: Ditto.
3397
8ddad156
MS
33982002-01-04 Michael Snyder <msnyder@redhat.com>
3399
ca4976a6 3400 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3401 * gdb.base/maint.exp: Add tests for maint info sections options.
3402
1b074332
JL
3403Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3404
3405 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3406
7d159115
CV
34072001-12-20 Corinna Vinschen <vinschen@redhat.com>
3408
3409 * gdb.asm/arm.inc: New file.
3410 * gdb.asm/asm-source.exp: Add arm targets.
3411 * gdb.asm/configure.in: Ditto.
3412 * gdb.asm/configure: Recreated from configure.in.
3413
8fb87725
JL
3414Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3415
afabe08c
JL
3416 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3417 with HP's compiler.
3418 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3419 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3420 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3421 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3422
3423 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3424 either HP's compilers or GCC.
3425
db521deb
JL
3426 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3427 a SIGBUS or SIGSEGV.
3428
3429 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3430
3431 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3432 can be compiled with either HP's compiler or GCC.
3433
cfa88ab7
JL
3434 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3435 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3436 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3437
ca344dff
JL
3438 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3439 to match current gdb output. Update due to using auto-solib-limit
3440 for limiting instead of overloading auto-solib-add.
3441 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3442 test program.
3443
3f3c6e55 3444 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3445 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3446 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3447 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3448 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3449 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3450 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3451 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3452 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3453 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3454 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3455 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3456 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3457
8fb87725
JL
3458 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3459 a SIGTRAP to the inferior.
3460
cf599fa7
CV
34612001-12-19 Corinna Vinschen <vinschen@redhat.com>
3462
3463 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3464 Substitute call to target_link by call to gdb_compile.
3465
2cd045cd
JL
3466Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3467
3468 * gdb.base/break.exp: Fix HP specific search string when testing
3469 backtracing in a called function.
3470
3471 * gdb.base/constvars.exp: Only set lang to C++ if we're
3472 compiling the test with HP's compilers.
3473 * gdb.base/volatile.exp: Similarly.
3474
99ebe9ac
JB
34752001-12-19 Jim Blandy <jimb@redhat.com>
3476
3477 * gdb.base/printcmds.exp: Expect the null character to be printed
3478 as '\0', and the '\013' to be printed as '\v'.
3479 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3480 * gdb.base/setvar.exp: Same.
3481
b9891b29
JB
34822001-12-17 Jim Blandy <jimb@redhat.com>
3483
0eba65ab
JB
3484 * gdb.base/completion.exp: Rather than completing very long
3485 filenames, which can make the readline library produce output we
3486 don't recognize, cd to the directory first, and then complete
3487 using nice, short relative paths.
3488
6970b5b1
JB
3489 * gdb.base/completion.exp: On some systems, there is, in fact, a
3490 variable named `b' in scope, since GDB treats all static
3491 variables as being in scope. So use `no_var_named_this'
3492 instead of `b'.
3493
b9891b29
JB
3494 * gdb.base/corefile.exp: Recognize the message saying that GDB
3495 can't find the core file's registers as a failure.
3496
e6ccd35f
JSC
34972001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3498
3499 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3500 test expect string more specific.
3501
105ba819
CV
35022001-12-13 Corinna Vinschen <vinschen@redhat.com>
3503
3504 * gdb.asm/asm-source.exp: Add support for xstormy16.
3505 * gdb.asm/configure.in: Ditto.
3506 * gdb.asm/configure: Rebuild.
3507 * gdb.asm/xstormy16.inc: New file.
3508
e9e79dd9
FF
35092001-12-10 Fred Fish <fnf@redhat.com>
3510
3511 * gdb.base/maint.exp: Update to match changes in type dumping code.
3512
347dc97d
JB
35132001-12-10 Jim Blandy <jimb@redhat.com>
3514
3515 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3516 matching the entry point symbol's name at the beginning of the
3517 line.
3518
5178b9d6
DJ
35192001-12-07 Daniel Jacobowitz <drow@mvista.com>
3520
3521 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3522 gdb.c++/inherit.exp, gdb.c++/method.exp,
3523 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3524 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3525 and class layout support.
3526
af890c52
DJ
35272001-12-07 Daniel Jacobowitz <drow@mvista.com>
3528
3529 * gdb.c++/classes.exp: Add test for static member function.
3530 * gdb.c++/misc.cc: Add class with static member function.
3531
7a345fb3
JB
35322001-12-07 Jim Blandy <jimb@redhat.com>
3533
f2e54a80 3534 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3535 those tests as `unsupported'.
3536 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3537 Rewrite subsequent tests to use it.
3538
3539 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3540 those tests as `unsupported'.
3541 * gdb.base/structs.exp (call_struct_func): New function.
3542 (do_function_calls): Use call_struct_func to call the functions
3543 returning structs.
3544
0bc69509
JB
3545 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3546 whether functions are prototyped or not, so we can't possibly pass
3547 arguments to t_float_values2 properly.
3548
7a345fb3
JB
3549 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3550 value of `timeout' for targets other than the mips*tx39-*.
3551
edb6ede1
MS
35522001-12-06 Michael Snyder <msnyder@redhat.com>
3553
3554 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3555 and detect whether the start symbol has a leading underscore.
3556
2d842f13
JB
35572001-12-04 Jim Blandy <jimb@redhat.com>
3558
3559 * gdb.base/completion.exp: Clarify indentation.
3560
68550daf
JB
35612001-12-03 Jim Blandy <jimb@redhat.com>
3562
3563 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3564 variables on the S/390, not `.word'.
3565
cd5195a8
JB
35662001-11-30 Jim Blandy <jimb@redhat.com>
3567
3568 Add assembly-source tests for s390-ibm-linux.
3569 * gdb.asm/s390.inc: New file.
3570 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3571 the S/390 architecture.
3572 * gdb.asm/configure: Regenerated.
3573
ca9efc90
MS
35742001-11-30 Michael Snyder <msnyder@redhat.com>
3575
3576 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3577 next, info source, info sources, info line, global and static
3578 variables, and static functions.
3579 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3580 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3581 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3582 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3583 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3584 (gdbasm_leave): Restore frame pointer.
3585 (gdbasm_startup): Copy stack set-up from crt0.S.
3586
d0e66976
FN
35872001-11-26 Fernando Nasser <fnasser@redhat.com>
3588
3589 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3590 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3591 to a local (non-static) variable. Copy tstruct.a to a static buffer
3592 and return a pointer to that buffer.
3593 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3594
e2334072
MK
35952001-11-24 Mark Kettenis <kettenis@gnu.org>
3596
3597 * gdb.asm/configure.in: Fix recognition of ix86 target.
3598 * gdb.asm/configure: Regenerate.
3599
756caa3d
MS
36002001-11-21 Michael Snyder <msnyder@redhat.com>
3601
3602 * gdb.asm/sparc.inc: New file.
3603 * gdb.asm/asm-source.exp: Recognize sparc target.
3604 * gdb.asm/configure.in: Recognize sparc target.
3605 * gdb.asm/configure: Regenerate.
3606
9a4d72d5
MS
36072001-11-21 Michael Snyder <msnyder@redhat.com>
3608
3609 * gdb.asm/m32r.inc: New file.
3610 * gdb.asm/asm-source.exp: Recognize m32r target.
3611 * gdb.asm/configure.in: Recognize m32r target.
3612 * gdb.asm/configure: Regenerate.
3613
a773d1cd
MS
36142001-11-20 Michael Snyder <msnyder@redhat.com>
3615
017ac23d
MS
3616 * gdb.asm/i386.inc: New file.
3617 * gdb.asm/asm-source.exp: Recognize ix86 target.
3618 * gdb.asm/configure.in: Recognize ix86 target.
3619 * gdb.asm/configure: Regenerate.
3620
a773d1cd
MS
3621 * gdb.c++/namespace.exp: Fix quotes in output messages.
3622
bb632afb
MS
36232001-11-14 Michael Snyder <msnyder@redhat.com>
3624
25d559ca 3625 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3626 qualifier in a type cast expression, to designate an address
3627 in the instruction space (Harvard architecture).
3628
4749e309
MS
36292001-11-13 Michael Snyder <msnyder@redhat.com>
3630
3631 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3632 Tests for expressions using 'const' and 'volatile'.
3633
25050984
CV
36342001-11-13 Corinna Vinschen <vinschen@redhat.com>
3635
3636 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3637
1902c51f
DJ
36382001-11-12 Daniel Jacobowitz <drow@mvista.com>
3639
3640 * lib/mi-support.exp (mi_run_to_helper): Move comments
3641 outside of gdb_expect.
3642
dcf95b47
DJ
36432001-11-11 Daniel Jacobowitz <drow@mvista.com>
3644
3645 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3646 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3647 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3648 mi0_run_to): New functions.
3649 * gdb.mi/mi-simplerun.exp: Use them.
3650 * gdb.mi/mi0-simplerun.exp: Likewise.
3651 * gdb.mi/mi-var-cmd.exp: Likewise.
3652 * gdb.mi/mi0-var-cmd.exp: Likewise.
3653
45b074e1
AC
36542001-11-10 Andrew Cagney <ac131313@redhat.com>
3655
3656 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3657 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3658
bf50d346
AC
36592001-11-09 Andrew Cagney <ac131313@redhat.com>
3660
3661 * gdb.base/restore.exp: Include $expected value in restored test
3662 message.
3663
9383332c
AC
36642001-11-09 Andrew Cagney <ac131313@redhat.com>
3665
3666 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3667 implemented.
3668
db62520a
MS
36692001-11-08 Michael Snyder <msnyder@redhat.com>
3670
3671 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3672 Add pass/fail message for stop at breakpoint in call dummy function.
3673
b5703437
MS
36742001-11-07 Michael Snyder <msnyder@redhat.com>
3675
760f6330
MS
3676 * gdb.c++/templates.exp (test_template_breakpoints):
3677 If we get an overload menu, but it does not match what
3678 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3679 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3680 making the whitespace optional. Argument for "new" may be
3681 "unsigned" as well as "unsigned int/long".
eef747c0
MS
3682 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3683 making the whitespace optional. Also replace "(void) with
3684 "((void|)), making the keyword "void" optional.
63f50499
MS
3685 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3686 making the whitespace optional. Also replace "(void) with
3687 "((void|)), making the keyword "void" optional.
3bf40917
MS
3688 * gdb.base/callfuncs.c (t_float_values): This function must
3689 _not_ be prototyped, and the following function (t_float_values2)
3690 must be prototyped (if the compiler supports it), so that GDB
3691 can be tested against both cases. Usually one case involves
3692 promotion of float to double, while the other does not.
3693 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3694 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3695 includes a stack frame for "start".
3696
c8ab4e6d
JB
36972001-11-05 Jim Blandy <jimb@redhat.com>
3698
3699 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3700 pointers are 32 bits long, and that offsets of relocs are always
3701 stored in the data (REL-style), and not in the reloc entry itself
3702 (RELA-style).
3703 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3704 stabs.
3705
3f08ced9
MS
37062001-11-01 Michael Snyder <msnyder@redhat.com>
3707
3708 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3709 and regular expression operators by using quoting.
3710
cbfa24cd
MS
37112001-10-31 Michael Snyder <msnyder@redhat.com>
3712
3713 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3714 depending on what the symbol table contains.
3715 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3716 the output of the ptype command. Similarly, accept both "const &"
3717 and "const&".
3718
aaa68313
CV
37192001-10-31 Corinna Vinschen <vinschen@redhat.com>
3720
3721 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3722 symbol `STORAGE' to allow to choose the storage class of
3723 the local datastructures.
3724 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3725 compiler directive.
3726
91740388
MS
37272001-10-30 Michael Snyder <msnyder@redhat.com>
3728
3729 * gdb.base/jump.exp: Allow it to run for all targets.
3730
1b7c05e7
CV
37312001-10-29 Corinna Vinschen <vinschen@redhat.com>
3732
3733 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3734 with new double_array size.
3735 (main): Change storage class of all local variables to static.
3736 Reduce size of double_array to 9.
3737 * gdb.base/call-ar-st.exp: Increase timeout value.
3738 Change expected output for double array to match new size in
3739 call-ar-st.c.
3740
36a22261
CV
37412001-10-29 Corinna Vinschen <vinschen@redhat.com>
3742
3743 * gdb.base/ending-run.exp: Create identical output when passing
3744 `step to end of run' case. Add regular expression branch satisfying
3745 Stormy16 target.
3746
92b8ae91
MK
37472001-10-28 Mark Kettenis <kettenis@gnu.org>
3748
3749 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3750 that we catch the expected failure under Linux/x86.
3751
cb135b83
OF
37522001-10-29 Orjan Friberg <orjanf@axis.com>
3753
3754 * gdb.base/setvar.exp: Escape curly braces.
3755 * gdb.stabs/weird.exp: Ditto.
3756
6884aa54
DJ
37572001-10-27 Daniel Jacobowitz <drow@mvista.com>
3758
3759 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3760 * gdm.mi/mi0-hack-cli.exp: Likewise.
3761
0398c9aa
AC
37622001-10-25 Andrew Cagney <ac131313@redhat.com>
3763
3764 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3765 messages.
3766
d20bf2e8
AC
37672001-10-21 Andrew Cagney <ac131313@redhat.com>
3768
3769 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3770 checking MI enabled.
3771
03dd63aa
CV
37722001-10-09 Corinna Vinschen <vinschen@redhat.com>
3773
3774 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3775
1d9d99f3
FCE
37762001-10-04 Frank Ch. Eigler <fche@redhat.com>
3777
3778 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3779 if gdb child process crashes, just signal an error.
3780
838ae6c4
JB
37812001-10-02 Jim Blandy <jimb@redhat.com>
3782
3783 * lib/gdb.exp (test_xfail_format): Simplify.
3784
3785 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3786 front of the variable name `format'. Simplify `if'.
3787
8f0cbc1c
DJ
37882001-10-01 Daniel Jacobowitz <drow@mvista.com>
3789
3790 * gdb.threads/pthreads.exp: Wait for output and delay
3791 before sending ^C.
3792
1f08dafd
DJ
37932001-10-01 Daniel Jacobowitz <drow@mvista.com>
3794
3795 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3796 some incorrect output instead of timing out.
3797 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3798
674f90ff
CV
37992001-09-28 Corinna Vinschen <vinschen@redhat.com>
3800
3801 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3802 check to allow additional `int'.
3803
9b284272
DJ
38042001-09-27 Daniel Jacobowitz <drow@mvista.com>
3805
3806 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3807 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3808
b55a4771
MS
38092001-09-27 Michael Snyder <msnyder@redhat.com>
3810
3811 * lib/gdb.exp (test_debug_format): New proc.
3812 (setup_xfail_format): Use new proc test_debug_format.
3813 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3814 proc; use new service proc test_debug_format.
3815 Replace all other "gcc_compiled" tests with this test.
3816 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3817 proc; use new service proc test_debug_format.
3818 Replace all other "gcc_compiled" tests with this test.
3819
38202001-09-27 Michael Snyder <msnyder@redhat.com>
3821
3822 * gdb.base/cvexpr.exp: New file.
3823 * gdb.base/cvexpr.c: New file
3824 Test for expressions using const and volatile keywords.
3825
4e6667ac
CV
38262001-09-26 Corinna Vinschen <vinschen@redhat.com>
3827
3828 * gdb.base/constvars.exp: Check for different orders of keywords
3829 and additional "int" strings in output.
3830
4f337972
AC
38312001-09-22 Andrew Cagney <ac131313@redhat.com>
3832
3833 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3834 responses from "help maint".
3835
2015650d
FCE
38362001-09-19 Frank Ch. Eigler <fche@redhat.com>
3837
3838 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3839 to localhost:NNN instead of :NNN, in case Xvfb is listening
3840 only on TCP.
3841
f3bcedc1
CV
38422001-09-19 Corinna Vinschen <vinschen@redhat.com>
3843
3844 * gdb.base/recurse.exp: When checking leaving the watchpoint
3845 scope, recognize when gdb is in function's epilogue and pass.
3846
6b819c92
KS
38472001-09-18 Keith Seitz <keiths@redhat.com>
3848
3849 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3850 support for running tests against sid targets.
3851 (gdbtk_done): Ditto.
3852
a10c9419
CV
38532001-09-18 Corinna Vinschen <vinschen@redhat.com>
3854
3855 * gdb.base/ending-run.c (main): Set stdout buffersize
3856 to the same reasonable value for any target.
3857 * gdb.base/ending-run.exp: Add a regular expression
3858 to make testsuite happy on Sanyo Stormy16 target.
3859
739d0d99
CV
38602001-09-17 Corinna Vinschen <vinschen@redhat.com>
3861
3862 * gdb.base/display.c (do_loops): Add float variable `f'.
3863 Increment f in loop.
3864 * gdb.base/display.exp: Increment timeout by 60 seconds.
3865 Change float display test to use variable `f'.
3866
1b8947f0
JB
38672001-09-17 Jim Blandy <jimb@redhat.com>
3868
3869 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3870 overflowing the limited breakpoint tables on some ROM monitors
3871 (like the ROM68K).
3872
9890ac81
FCE
38732001-09-15 Frank Ch. Eigler <fche@redhat.com>
3874
3875 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3876 the "-ac" (disable access control) flag.
3877
6db765ea
JH
38782001-08-30 Jeff Holcomb <jeffh@redhat.com>
3879
3880 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3881 ints.
3882
4c32cc04
KS
38832001-08-30 Keith Seitz <keiths@redhat.com>
3884
3885 * lib/gdb.exp: Move all insight-related functionality into
3886 separate file.
3887 * lib/insight-support.exp: New file.
3888
8d6e6f81
FCE
38892001-08-29 Frank Ch. Eigler <fche@redhat.com>
3890
3891 * config/sid.exp (sid_start): Never set sid verbosity; disable
3892 expect_background {} that consumed its stdout; tolerate </dev/null.
3893 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3894
6a90e1d0
AC
38952001-08-18 Andrew Cagney <ac131313@redhat.com>
3896
3897 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3898 CLI jump command to start it.
3899 (mi_run_to_main): Fail immediatly when unexpected output.
3900
1759b3c3
AC
39012001-08-18 Andrew Cagney <ac131313@redhat.com>
3902
3903 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3904 beginning of function. Fix PR gdb/191.
3905
61d11d80
FCE
39062001-08-16 Frank Ch. Eigler <fche@redhat.com>
3907
3908 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3909 what to force sid endianness to.
3910
942a4df2
KS
39112001-08-15 Keith Seitz <keiths@redhat.com>
3912
3913 * lib/gdb.exp (gdbtk_start): Don't set environment
3914 variables for TCL_LIBRARY and friends. Insight will
3915 now figure these out for itself.
3916
0521c418
MS
39172001-08-02 Michael Snyder <msnyder@redhat.com>
3918
3919 * gdb.base/completion.exp: Remove the symbol "a64l" from
3920 the expect string; this is target-specific, and not related
3921 to what is being tested.
3922
74a9a58a
DB
39232001-08-02 Dave Brolley <brolley@redhat.com>
3924
3925 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3926
c70819fa
MS
39272001-07-25 Michael Snyder <msnyder@redhat.com>
3928
c2b8fa57
MS
3929 * gdb.base/consecutive.exp: New file. Test stepping over
3930 breakpoints on consecutive instructions.
3931 * gdb.base/consecutive.c: New file.
3932
c70819fa
MS
3933 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3934 curly braces in regular expressions.
3935
2b1a1355
MS
39362001-07-25 Michael Snyder <msnyder@redhat.com>
3937
3938 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3939 legitimate output from stepping out of main.
3940
413eca6f
KS
39412001-07-22 Keith Seitz <keiths@redhat.com>
3942
3943 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3944 the empty string, do not run the tests.
3945
7e5a9322
SC
39462001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3947
3948 * gdb.base/long_long.exp: Detect size of pointer. Take into
3949 account 2-byte pointers when testing for p/a results.
3950
de58f10f
SC
39512001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3952
3953 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3954 and defined to 1K for m68hc11.
3955 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3956 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3957 (sizeof_random_data): New variable to tell the size of the data table;
3958 don't test past this size; always run to main.
3959
d6f5fea1
SC
39602001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3961
3962 * gdb.base/return2.exp: return of long long and double fails for
3963 68HC11; don't execute these tests on that platform.
3964 * gdb.base/return.exp: Return of a double fails for 68hc11.
3965
c477543d
SC
39662001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3967
3968 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3969 tests that print a float.
3970 * call-rt-st.exp: Likewise.
3971
63cf1c79
MK
39722001-07-12 Mark Kettenis <kettenis@gnu.org>
3973
3974 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3975 running this test on Linux.
3976
112f9ab5
MC
39772001-06-24 Michael Chastain <chastain@redhat.com>
3978
3979 * gdb.base/arithmet.exp: Remove some tests to make all test names
3980 unique.
3981
4970cb0f
MS
39822001-07-03 Michael Snyder <msnyder@redhat.com>
3983
3984 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3985 the output of the ptype command.
3986
d85da69f
MS
39872001-07-02 Michael Snyder <msnyder@redhat.com>
3988
4c8a82de
MS
3989 * gdb.base/completion.exp: Don't assume that break.c is the only
3990 source file that may contain functions named "marker".
d85da69f
MS
3991 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3992
8afc772b
AC
39932001-06-28 Andrew Cagney <ac131313@redhat.com>
3994
3995 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3996 of files to delete.
3997
3998 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3999 * gdb.disasm/h8300s.exp: New file.
4000 gdb.disasm/h8300s.s: Likewise.
4001
cff22675
AC
40022001-06-27 Andrew Cagney <ac131313@redhat.com>
4003
4004 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
4005 empty breakpoint tables.
4006
68c81b54
AC
40072001-06-25 Andrew Cagney <ac131313@redhat.com>
4008
4009 * lib/mi-support.exp: Update args=... part of stop-reason
4010 patterns. Accept either a list or a tuple.
4011
2dd62704
AC
40122001-06-23 Andrew Cagney <ac131313@redhat.com>
4013
4014 * lib/mi-support.exp: Remove local emacs variable defining
4015 change-log-default-name.
4016
b4127474
MC
40172001-06-22 Michael Chastain <chastain@redhat.com>
4018
4019 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
4020 This is operationally compatible with the previous version.
4021
8dbfb380
JB
40222001-06-13 Jim Blandy <jimb@redhat.com>
4023
4024 * lib/gdb.exp (gdb_test): Doc fix.
4025
f2d8c86d
MC
40262001-06-10 Michael Chastain <chastain@redhat.com>
4027
4028 * gdb.base/exprs.exp: Remove a duplicate test.
4029
81564d34
JB
40302001-06-06 Jim Blandy <jimb@redhat.com>
4031
4032 * gdb.base/return2.exp (main): Use values to test float and double
4033 returns that are not NaN's, to avoid being confused by IEEE
4034 comparison rules.
4035
da55addb
MS
40362001-06-04 Michael Snyder <msnyder@redhat.com>
4037
4038 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
4039 non-zero if control_c fails. Terminate the test on failure,
4040 rather than wait for 12 more tests to time out.
4041
42c65987
JB
40422001-06-06 Jim Blandy <jimb@redhat.com>
4043
b18bced9
JB
4044 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
4045 Don't forget to match the GDB prompt.
4046
42c65987
JB
4047 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
4048
5b41e5f0
JB
40492001-06-04 Jim Blandy <jimb@redhat.com>
4050
4051 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
4052 command.
4053
015e046f
KB
40542001-05-31 Kevin Buettner <kevinb@redhat.com>
4055
4056 * gdb.base/annota1.exp (info break): Match four or more spaces
4057 after "Address".
4058
fb1ffbbe
MC
40592001-05-31 Michael Chastain <chastain@redhat.com>
4060
4061 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4062 (dm_type_int_star): Likewise.
4063 (dm_type_long_star): Likewise.
4064 (dm_type_void_star): Likewise.
4065
5ea2a32c
KB
40662001-05-29 Kevin Buettner <kevinb@redhat.com>
4067
4068 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4069 to a known value in order to get consistent results regardless
4070 of the setting of INPUTRC or the presence or contents of .inputrc.
4071
ae23c492
MS
40722001-05-24 Michael Snyder <msnyder@redhat.com>
4073
ac55707e
MS
4074 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4075 Don't require that the main thread and the manager thread are the
4076 first in the list.
4077
ae23c492
MS
4078 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4079 debugging. If test fails, issue an "unsupported" not a "fail".
4080
400071f1
JB
40812001-05-24 Jim Blandy <jimb@redhat.com>
4082
4083 Don't assume that short is shorter than int.
4084 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4085 assume that shorts are smaller than ints. On a 16-bit machine,
4086 this isn't true.
4087 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4088 an int, is not equal to ~0 stored in an unsigned char. This tests
4089 the same thing that the previous test meant to, but works on
4090 16-bit machines, too.
4091 ("print unsigned char != (~0)"): Same test, complemented.
4092
0816a3e5
MS
40932001-05-24 Michael Snyder <msnyder@redhat.com>
4094
4095 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
4096 test for (full_coverage == 0). This makes the test run faster,
4097 and prevents dejagnu getting out of step.
4098
f6dc23a9
KB
40992001-05-23 Kevin Buettner <kevinb@redhat.com>
4100
4101 * gdb.base/finish.exp (finish_void): Revise pattern for
4102 stopping on the call statement to not permit stopping at
4103 the start of the instructions comprising the call sequence.
4104
7dbd117d
MC
41052001-05-19 Michael Chastain <chastain@redhat.com>
4106
4107 * gdb.base/callfuncs.exp: Make all test names unique.
4108 * gdb.base/commands.exp: Make all test names unique.
4109 * gdb.base/condbreak.exp: Make all test names unique.
4110 * gdb.base/dbx.exp: Make all test names unique.
4111 * gdb.base/default.exp: Make all test names unique.
4112 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4113 and TIMEOUT messages to their corresponding PASS message.
4114 * gdb.base/ending-run.exp: Make all test names unique.
4115 * gdb.base/long_long.exp: Remove duplicate test.
4116
6b0b0a9e
KB
41172001-05-21 Kevin Buettner <kevinb@redhat.com>
4118
4119 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4120 stop on the call statement as well as the statement after the
4121 call.
4122
2caa35cb
MS
41232001-05-21 Michael Snyder <msnyder@redhat.com>
4124
4125 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4126
40713331
EZ
41272001-05-10 Elena Zannoni <ezannoni@redhat.com>
4128
4129 * gdb.base/completion.exp: Revamp test. Make it execute on all
4130 platforms.
4131
c2c1be8d
EZ
41322001-05-10 Elena Zannoni <ezannoni@redhat.com>
4133
2c9cd303
EZ
4134 * config/gdbserver.exp (gdb_load): Handle the case
4135 in which the arguments to gdbserver are given in the
4136 baseboard configuration file.
4137 Also handle the case in which the server needs to do a
4138 load.
4139
9671de48
KS
41402001-05-07 Keith Seitz <keiths@cygnus.com>
4141
4142 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4143 set up the display for testing.
4144 (gdbtk_start): Convert all paths to paths that tcl will like.
4145 Export target information to environment.
4146 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4147 necessary.
4148 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4149 (to_tcl_path): New proc to convert a given pathname into
4150 a path acceptible as an argument to a tcl command.
4151 (_gdbtk_export_target_info): New proc to export target info
4152 into the environment for gdbtk testing.
4153 (gdbtk_done): New proc to signal end-of-test.
4154
5a360f47
JB
41552001-05-06 Jim Blandy <jimb@redhat.com>
4156
4157 * restore.c: Make the code of caller0 correspond to its comment.
4158
66c756c6
MS
41592001-05-03 Michael Snyder <msnyder@redhat.com>
4160
4161 * config/sid.exp (gdb_target_sid): Check for error messages.
4162 On error or timeout, don't make expect exit (which will terminate
4163 all subsequent tests); instead just make gdb exit.
4164 (gdb_load): Check for error messages. On error or timeout,
4165 return a negative value.
4166
a966fde5
JB
41672001-04-24 Jim Blandy <jimb@redhat.com>
4168
851c18e0
JB
4169 * gdb.c++/templates.exp: If we see the prompt for the overload
4170 list, but we haven't recognized any of the longer patterns,
4171 arrange for this test to fail, not hang.
4172
a966fde5
JB
4173 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4174 variations.
4175
db144853
MC
41762001-04-22 Michael Chastain <chastain@redhat.com>
4177
4178 * gdb.c++/local.exp: Use the 'runto' library function.
4179 * gdb.c++/namespace.exp: Likewise.
4180 * gdb.c++/overload.exp: Likewise.
4181
3207ec21
KB
41822001-03-26 Kevin Buettner <kevinb@redhat.com>
4183
4184 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4185 * gdb.base/step-line.exp: New file. Test step/next in presence of
4186 #line directives.
4187 * gdb.base/step-line.c: New file. Test program for the above.
4188 * gdb.base/step-line.inp: New file. We pretend that this file has
4189 been transformed by some other tool into step-line.c.
4190
13b57657
JB
41912001-03-21 Jim Blandy <jimb@redhat.com>
4192
4193 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4194 unmangled operator names.
4195
754cbe1c
JB
41962001-03-20 Jim Blandy <jimb@redhat.com>
4197
4198 * gdb.threads/linux-dp.exp: Recognize an additional message
4199 generated by GDB when it doesn't understand how to debug threads
4200 on the target system.
4201
177495c9
AC
42022001-03-19 Andrew Cagney <ac131313@redhat.com>
4203
4204 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4205
f266096b
MC
42062001-03-12 Michael Chastain <chastain@redhat.com>
4207
4208 * gdb.c++/derivation.exp: Use the 'runto' library function.
4209
cac3c2ff
MC
42102001-03-12 Michael Chastain <chastain@redhat.com>
4211
4212 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4213
b6c11a24
MC
42142001-02-24 Michael Chastain <chastain@redhat.com>
4215
4216 * gdb.c++/ref-types.exp: Change handwritten code to library
4217 function 'runto'.
4218
6bae5bce
OF
42192001-03-16 Orjan Friberg <orjanf@axis.com>
4220
4221 * gdb.base/signals.exp: Set count to 0 explicitly.
4222
0015fd9a
MS
42232001-03-15 Mark Salter <msalter@redhat.com>
4224
4225 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4226 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
4227 (gdb_load): Add support for additional target_info: gdb_download_size
4228 and gdb_load_timeout.
0015fd9a 4229
fc33412a
DT
4230Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4231
4232 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4233 file -- to prevent failing when the compile fails but we have no
4234 intention of running the tests anyway.
4235
4236 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4237 tests if set.
4238
4239 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4240 integers.
4241
4242 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4243 * gdb.c++/namespace.exp: Ditto.
4244
115f06de
OF
42452001-03-07 Orjan Friberg <orjanf@axis.com>
4246
4247 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4248 * gdb.base/pointers.exp: Relax pattern match of decimals.
4249
b6ba6518
KB
42502001-03-06 Kevin Buettner <kevinb@redhat.com>
4251
4252 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4253 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4254 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4255 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4256 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4257 config/sh.exp, config/sid.exp, config/slite.exp,
4258 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4259 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4260 config/vxworks.exp, config/vxworks29k.exp,
4261 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4262 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4263 gdb.base/arithmet.exp, gdb.base/assign.exp,
4264 gdb.base/async.exp, gdb.base/attach.exp,
4265 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4266 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4267 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4268 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4269 gdb.base/commands.exp, gdb.base/completion.exp,
4270 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4271 gdb.base/constvars.exp, gdb.base/corefile.exp,
4272 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4273 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4274 gdb.base/ending-run.exp, gdb.base/environ.exp,
4275 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4276 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4277 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4278 gdb.base/funcargs.exp, gdb.base/help.exp,
4279 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4280 gdb.base/logical.exp, gdb.base/long_long.exp,
4281 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4282 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4283 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4284 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4285 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4286 gdb.base/regs.exp, gdb.base/relational.exp,
4287 gdb.base/remote.exp, gdb.base/reread.exp,
4288 gdb.base/restore.exp, gdb.base/return2.exp,
4289 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4290 gdb.base/selftest.exp, gdb.base/setshow.exp,
4291 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4292 gdb.base/sigall.exp, gdb.base/signals.exp,
4293 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4294 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4295 gdb.base/step-test.exp, gdb.base/structs.c,
4296 gdb.base/structs.exp, gdb.base/structs2.exp,
4297 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4298 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4299 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4300 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4301 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4302 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4303 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4304 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4305 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4306 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4307 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4308 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4309 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4310 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4311 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4312 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4313 gdb.trace/circ.exp, gdb.trace/collection.exp,
4314 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4315 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4316 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4317 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4318 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4319 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4320 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4321 notices.
4322
dc96c6c7 43232001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
4324
4325 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4326 first arg is int not float.
4327
dc96c6c7 43282001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
4329
4330 * gdb.base/reread.exp: Unsupported for non-native targets;
4331 doesn't work for remote debugging.
4332
9b0c4aeb
FN
43332001-02-19 Fernando Nasser <fnasser@redhat.com>
4334
4335 From Drew Moseley <dmoseley@redhat.com>
4336 * gdb.base/ending-run.exp: Properly handle the BSP state when
4337 stepping past the end of main.
4338
02aa71d5
MC
43392001-02-19 John Moore <jmoore@redhat.com>
4340
4341 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4342 Converted HPUX fix for non-expected items following multiple
4343 step commands into general solution for all platforms.
4344
1fa449a4
MC
43452001-02-18 Michael Chastain <chastain@redhat.com>
4346
4347 * gdb.c++/classes.exp (do_tests): Change runto statements
4348 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4349 statements demangler agnostic.
4350 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4351 (gdb_virtfunc_restart): Likewise.
4352
b2f9ec70
MC
43532001-02-14 Michael Chastain <chastain@redhat.com>
4354
4355 * gdb.c++/inherit.exp (do_tests): Change runto statements
4356 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4357 statements demangler agnostic.
4358
cf74b8ca
AC
4359Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4360
4361 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4362 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4363 before calling common_routine 15 times'' tests.
4364
99f78f56
MC
43652001-02-11 Michael Chastain <chastain@redhat.com>
4366
4367 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4368 Helps the test script figure out which demangler is in use.
4369 (dm_type_foo_ref): Ditto.
4370 (dm_type_int_star): Ditto.
4371 (dm_type_long_star): Ditto.
4372 (dm_type_unsigned_int): Ditto.
4373 (dm_type_void): Ditto.
4374 (dm_type_void_star): Ditto.
99707966 4375 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4376 Probe the gdb demangler and set variables to accommodate
4377 formatting differences.
4378 (info_func_regexp): New function. Same as info_func, but
4379 matches against a regexp.
4380 (info_func): Match against a literal string.
4381 (print_addr_2): New function. Match against a literal string,
4382 which can be different from the input to gdb.
4383 (print_addr): Simply call print_addr_2 with the same argument twice.
4384 (test_lookup_operator_functions): Use demangler formatting variables.
4385 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4386 the tests in the same order as the C++ class declaration.
4387 (test_paddr_operator_functions): Ditto.
4388 (test_paddr_overloaded_functions): Ditto.
4389 (test_paddr_hairy_functions): Use demangler formatting variables.
4390 Add reference to gdb/19 for related tests.
4391 (do_tests): Call probe_demangler.
4392
1de8f023
KB
43932001-01-30 Kevin Buettner <kevinb@redhat.com>
4394
4395 * gdb.c++/templates.cc (printf): Remove unused function definition.
4396
ca3f91ed
MS
43972001-01-26 Felix Lee <flee@redhat.com>
4398
4399 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4400
44012001-01-25 matthew green <mrg@redhat.com>
4402
4403 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4404 up sid.
4405 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4406
44072001-01-25 matthew green <mrg@redhat.com>
4408
4409 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4410 Deprecate $sid_spawn_id.
4411 (sid_exit): Remove code necessary only for `spawn.'
4412
44132001-01-25 matthew green <mrg@redhat.com>
4414
4415 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4416
fb18ec4a
MC
44172001-01-28 Michael Chastain <chastain@redhat.com>
4418
4419 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4420 to call when tests fail. It takes gdb out of the overloaded
4421 function choice menu back to the main prompt, so that the test
4422 program stays synchronized.
4423 (set_bp_overloaded): New proc to collect all the common
4424 code for setting a breakpoint on an overloaded name. Calls
4425 take_gdb_out_of_choice_menu when needed.
4426 (menu_overload1arg): New variable to collect the repeated
4427 instances of the expected menu for an overloaded name. Change
4428 the regular expression to handle changes in g++ type encoding:
4429 "void" can be either "void" or "", and "unsigned int" can be
4430 either "unsigned int" or "unsigned".
4431 (continue_to_bp_overloaded): Change regular expressions to handle
4432 changes in g++ type encoding.
4433 (no proc): Call take_gdb_out_of_choice_menu when needed.
4434 Remove redundant calls to "info break". Accept either "canceled"
4435 or "cancelled". Change regular expressions in "info break"
4436 calls to handle changes in g++ type encoding. Give all tests
4437 unique strings.
4438
9c646a6e
BE
44392001-01-17 Ben Elliston <bje@redhat.com>
4440
4441 * config/sid.exp: New file.
4442
9549d9c1
AC
4443Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4444
4445 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4446
dc96c6c7 44472000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4448
4449 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4450 Add a RE to accept a non-ascii char if one is ever presented.
4451
b4df4f68
FN
44522000-12-20 Fernando Nasser <fnasser@redhat.com>
4453
297dd0fd 4454 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4455
dc96c6c7 44562000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
4457
4458 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4459 in regexp. One '\' does not suffice on Linux.
4460
4a7bddb6
MC
44612000-12-09 Michael Chastain <chastain@redhat.com>
4462
4463 * gdb.base/break.exp (test_clear_command): Use a marker function
4464 rather than 'main' for the test function. Also move this
4465 test to an execution point where the marker function names are
4466 guaranteed to be bound to functions. (Executing tests after a
4467 'finish' from main runs into name conflicts with local names
4468 in __libc_start_main).
4469
dc96c6c7 44702000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4471
4472 * gdb.base/finish.exp: New test for gdb's "finish" command.
4473 * gdb.base/return2.exp: New test for gdb's "return" command.
4474 * gdb.base/return2.c: New source file for above.
4475
dc96c6c7 44762000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4477
4478 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4479 * gdb.base/miscexprs.exp: Ditto.
4480 * gdb.base/pointers.exp: Ditto.
4481 * gdb.c++/derivation.exp: Ditto.
4482 * gdb.c++/local.exp: Ditto.
4483 * gdb.c++/namespace.exp: Ditto.
4484 * gdb.c++/overload.exp: Ditto.
4485 * gdb.c++/ref-types.exp: Ditto.
4486
dc96c6c7 44872000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4488
4489 * gdb.base/constvars.exp: Test result of "up" command.
4490 * gdb.base/miscexprs.exp: Ditto.
4491 * gdb.base/pointers.exp: Ditto.
4492 * gdb.base/scope.exp: Ditto.
4493 * gdb.c++/derivation.exp: Ditto.
4494 * gdb.c++/local.exp: Ditto.
4495 * gdb.c++/namespace.exp: Ditto.
4496 * gdb.c++/overload.exp: Ditto.
4497 * gdb.c++/ref-types.exp: Ditto.
4498
44097287
FN
44992000-11-22 Michael Chastain <chastain@redhat.com>
4500
4501 * mips_pro.exp: Accept either "middle -> top -> main" or
4502 "middle -> main" in the backtrace, because gcc can optimize
4503 tail calls to jumps. Remove setup_xfail for the hppa case.
4504 Add a comment with the original warning messages from PR 3016,
4505 which was filed in 1993, to preserve them for posterity.
4506
9d2e1bab
ND
45072000-11-17 Nick Duffek <nsd@redhat.com>
4508
4509 * lib/gdb.exp (gdb_test): Override timeout with board info.
4510
1aca8eb7
ND
45112000-11-17 Nick Duffek <nsd@redhat.com>
4512
4513 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4514 the second kill and detach messages.
4515
93076499
ND
45162000-11-17 Nick Duffek <nsd@redhat.com>
4517
4518 * configure.in: Add AC_EXEEXT.
4519 * configure: Regenerate.
4520 * Makefile.in (just-check): Export EXEEXT.
4521 * lib/gdb.exp ($EXEEXT): Import from environment.
4522 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4523 expect "maint dump-me" on Cygwin.
4524 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4525 $EXEEXT.
4526
30e87cd3
ND
45272000-11-17 Nick Duffek <nsd@redhat.com>
4528
4529 * gdb.base/break.exp: Test backtrace and finish from called
4530 function on all platforms, not just HP-UX.
4531
dc96c6c7 45322000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4533
4534 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4535 code from gdb_target_monitor, so it can be used independantly
4536 for gdbserver. Also comment out an unnecessary PUTS.
4537
dc96c6c7 45382000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4539
4540 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4541 * gdb.base/corefile.exp: Expect the message "Program is being
4542 debugged already" when we send the "corefile" command, since
4543 the preceeding gdb_load may have connected gdb to a remote target.
4544 * gdb.base/display.exp: Disable hardware watchpoints if new
4545 board info variable "no_hardware_watchpoints" is true.
4546 Replace single-letter commands with more readable ones.
4547 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4548 if new board info variable "no_hardware_watchpoints" is true.
4549 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4550 to see if stdio (printf) testing is possible.
4551 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4552 board info variable "no_hardware_watchpoints" is true. Use new
4553 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4554
39124dea
FN
45552000-11-13 Fernando Nasser <fnasser@redhat.com>
4556
4557 From Orjan Friberg <orjanf@axis.com>:
4558 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4559 in array print pattern match.
4560
a9e2e984
FN
45612000-11-09 Fernando Nasser <fnasser@redhat.com>
4562
4563 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4564 spelling "cancelled" to U.S. spelling "canceled" to match changes
4565 made to gdb.
4566 * gdb.c++/ovldbreak.exp: Ditto.
4567
c7db355b
PS
45682000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4569
4570 * gdb.base/callfuncs.c (main): Moved to end of file, call
4571 t_double_values to initialize the FPU before inferior calls are made.
4572 * gdb.base/callfuncs.exp: Test for register preservation after calling
4573 inferior functions. Add tests for continuining, finishing and
4574 returning from a stop in a call dummy.
4575
dc96c6c7 45762000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4577
4578 * gdb.base/commands.exp: Break up long lines, and re-indent.
4579
dc96c6c7 45802000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4581
4582 * config/gdbserver.exp: Rewritten from the ground up, to make it
4583 compatible with the current dejagnu tree, and to make it work with
4584 the new "gdbserver" in libremote.
4585
dc96c6c7 45862000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4587
4588 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4589 * gdb.base/varargs.exp: Skip entire test if no printf support.
4590 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4591 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4592
dc96c6c7 45932000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4594
4595 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4596 no floating point support.
4597 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4598 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4599 * gdb.base/call-rt-st.exp: Ditto.
4600 * gdb.base/call-strs.exp: Ditto.
4601
bac5fc66
JG
46022000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4603
4604 * gdb.base/sizeof.c: include <stdio.h>.
4605
4606 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4607 'finish', otherwise uncaptured gdb_prompt would potentially
4608 throw remaining test points out of sync.
4609
b22a6027
SB
46102000-07-26 Scott Bambrough <scottb@netwinder.org>
4611
4612 * gdb.base/recurse.exp: Run tests for all targets.
4613 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4614 gnu-oldld case on ARM.
4615 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4616 for ARM targets.
4617
d8231941
AG
4618Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4619
4620 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4621 * gdb.java/configure: Rebuild.
4622
8caabe69
AG
4623Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4624
4625 * gdb.java/jv-exp.exp: New file.
4626
9d273ca3
AG
4627Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4628
4629 * configure: Rebuilt.
4630 * configure.in (configdirs): Add gdb.java.
4631 * gdb.java/jmisc.java: New file.
4632 * gdb.java/jmisc.exp: New file.
4633 * gdb.java/Makefile.in: New file.
4634 * gdb.java/configure: Rebuilt.
4635 * gdb.java/configure.in: New file.
4636 * lib/java.exp: New file.
4637
4f823a66
AC
4638Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4639
4640 * gdb.base/exprs.exp: Test casts to a pointer including over and
4641 underflow.
4642
2391e11d
AC
4643Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4644
4645 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4646 and the compilers sizes.
4647
54602222
ND
46482000-07-09 Nick Duffek <nsd@redhat.com>
4649
4650 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4651 (use_methods): New function.
4652 (main): Call use_methods().
4653 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4654 (do_tests): Call test_method_param_class.
4655
2bec0572
ND
46562000-07-09 Nick Duffek <nsd@redhat.com>
4657
4658 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4659 spelling.
4660 (test_enums): New procedure. Move enum tests from end of script
4661 to here. Set breakpoint on function name instead of line number.
4662 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4663 (enums2): New marker function.
4664 (enums1): New function.
4665 (main): Call enums1(). Move enum tests to enums1().
4666
78492fde
AC
4667Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4668
4669 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4670 compile/link program. Update line numbers.
4671 * gdb.asm/d10v.inc: Define ``startup''.
4672 * gdb.asm/asmsrc1.s: Add definition of _start.
4673
49a2cef8
AC
4674Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4675
4676 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4677
3e6c8688
EZ
46782000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4679
4680 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4681 of 'help maint print' command.
4682
9ff5cbe9
AC
4683Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4684
4685 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4686 they use gdb_expect_list.
4687
17c579bd
AC
4688Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4689
4690 * gdb.base/commands.exp: Use ``set remote
4691 memory-read-packet-size'' instead of ``set endian big'' to test
4692 long commands.
4693
e6d71bf3
DB
46942000-06-03 Daniel Berlin <dan@cgsoftware.com>
4695
4696 * gdb.c++/templates.exp (do_tests): Make all of these work under
4697 g++, and stop skipping them.
4698
4699 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4700 work under g++.
4701
e5f9ba7b
MS
4702 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4703 initialization.
4704
dc96c6c7 47052000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4706
4707 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4708 the regular expression: accept an (almost) arbitrary sequence of
4709 "frames-invalid" and "breakpoints-invalid" messages both before
4710 and after the "starting" message.
4711
dc96c6c7 47122000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4713
4714 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4715
dc96c6c7 47162000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4717
4718 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4719 Relax the regular expression a little, make it pass on Solaris 8.
4720
8216cda9
KB
47212000-05-12 Kevin Buettner <kevinb@redhat.com>
4722
4723 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4724 a call, do not require that gdb stop on the line after the call.
4725 Instead, it is permissible for gdb to stop on the line of the
4726 call itself.
4727
1a570b2f
MS
47282000-05-12 Michael Snyder <msnyder@.cygnus.com>
4729
4730 * gdb.base/break.exp (bp on small function, optimized file):
4731 Add a second pass pattern. The behavior differs here between stabs
4732 and dwarf for one-line functions. Stabs preserves two line symbols
4733 (one before the prologue and one after) with the same line number,
4734 but dwarf regards these as duplicates and discards one of them.
4735 Therefore the address after the prologue (where the breakpoint is)
4736 has no exactly matching line symbol, and GDB reports the breakpoint
4737 as if it were in the middle of a line rather than at the beginning.
4738
dc96c6c7 47392000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
4740
4741 * gdb.base/interrupt.exp: Make "pass" message say "send"
4742 rather than "send_gdb" (for consistancy).
4743
7d418785
AC
4744Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4745
4746 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4747 * gdb.c++/templates.cc: Properly check for GCC version number.
4748 * lib/compiler.cc: Likewise
4749
dc96c6c7 47502000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
4751
4752 * gdb.base/break.exp: When compiled with -O2 optimization,
4753 gdb may not stop at the first line of main, due to code motion.
4754
dc96c6c7 47552000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4756
4757 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4758 This test depends on parsing the printf output from the target.
4759 Since the sparclet stub doesn't do stdio, this will never work.
4760 * gdb.base/call-rt-st.exp: ditto.
4761 * gdb.base/call-strs: ditto.
4762
dc96c6c7 47632000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4764
4765 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4766
4767 * gdb.base/ending-run.exp: After connecting to a remote target,
4768 but before running, the target will appear to be in a random
4769 location. Specify both a file and a line for breakpoints.
4770 Also, the function that calls main may be called 'init'
4771 rather than 'start'.
4772
a5a51225
EZ
47732000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4774
4775 * gdb.base/help.exp: Update output for add-symbol-file command.
4776
7930cc7c
FN
47772000-04-10 Fernando Nasser <fnasser@cygnus.com>
4778
4779 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4780 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4781
23e37ab1
C
47822000-04-07 J.T. Conklin <jtc@redback.com>
4783
e93c542c
C
4784 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4785
23e37ab1
C
4786 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4787
591b8fa3
PDM
4788Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4789
4790 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4791 values that can be represented exactly.
4792 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4793 above change, and to not check against the directory part of the source
4794 file name.
4795 (step into print_long_arg_list): Likewise.
4796 (print print_small_structs from print_long_arg_list): Likewise.
4797 (print print_long_arg_list): Likewise.
4798
7a495180
EZ
47992000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4800
30b53638 4801 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4802
beb998c6
AC
4803Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4804
4805 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4806
1c689132
DB
48072000-03-25 Daniel Berlin <dan@cgsoftware.com>
4808
4809 * gdb.base/commands.exp (deprecated_command_test): Add test for
4810 deprecate with no arguments.
4811
c1790a9d
JL
48122000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4813
4814 * gdb.base/break.exp: Add new test for setting breakpoints on
4815 optimized code so we can test breakpoints work even when function
4816 prologues may be optimized away
4817
003ba290
FN
48182000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4819
4820 From David Whedon <dwhedon@gordian.com>
4821 * gdb.base/commands.exp : Added command deprecator tests.
4822
6837a0a2
DB
48232000-03-22 Daniel Berlin <dan@cgsoftware.com>
4824
4825 * gdb.base/help.exp: Added test for new apropos command.
4826
b9593231
KB
48272000-03-21 Kevin Buettner <kevinb@redhat.com>
4828
4829 * gdb.base/pointers.c (usevar): New function.
4830 (main): Make sure that global variables v_int_pointer2, rptr,
4831 and y are all referenced someplace in the program by calling
4832 usevar() on them. [Some linkers delete symbols which are
4833 never referenced. The space remains, but there's no way to
4834 get a (symbolic) handle on the variable from the debugger.]
4835
751a959b
EZ
48362000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4837
4838 * gdb.base/printcmds.c: Add typedeffed arrays.
4839
4840 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4841 procedure to test arrays that are typedef'd.
4842
73a93a32
JI
48432000-03-13 James Ingham <jingham@leda.cygnus.com>
4844
4845 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4846 the library directories.
73a93a32 4847
fb40c209
AC
4848Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4849
4850 * configure.in (configdirs): Add sub directory gdb.mi.
4851 * configure: Re-generate.
4852
4853 * gdb.mi: New directory.
beb998c6 4854
ee4dd2c9
AC
48552000-02-25 Scott Bambrough <scottb@netwinder.org>
4856
4857 * gdb.base/long_long.exp: Correct test suite failure when printing
4858 a long long value as a double on ARM platforms.
4859
70f0cc22
JB
48602000-02-16 Jim Blandy <jimb@redhat.com>
4861
4862 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4863 default source file is set properly before running this test.
4864
853819b8
EZ
48652000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4866
4867 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4868 gdbtk/library directory, not in gdbtcl2.
4869
dfcd3bfb
JM
48702000-02-04 Jim Blandy <jimb@redhat.com>
4871
4872 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4873 backslash from regexp pattern.
4874
4875 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4876 procedure. Use it to run all the "continue to bp overloaded"
4877 tests. Note that this changes the names of the tests slightly.
4878 If the breakpoint hit message includes a hex PC value, because
4879 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4880 from the real source code, still consider that a pass.
4881
4882 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4883 XFAIL here if the breakpoint message contains a hex address. Note
4884 similar change on 1999-11-02.
4885
4886 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4887
4888 * gdb.base/ptype.exp: Establish a default source file before
4889 calling get_debug_format.
4890
48912000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4892
4893 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4894
8b93c638
JM
48952000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4896
4897 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4898 of successive stepi commands -- while in the prologue we should see
4899 the function entry bracket.
4900
49012000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4902
4903 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4904 reach __change_mode() when stepping through the end of main().
4905
c5394b80
JM
49062000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4907
4908 * gdb.base/default.exp: Fix expected pattern.
4909 * gdb.base/help.exp: Same.
4910
0d06e24b
JM
49112000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4912
4913 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4914 Don't use xfail's because that affects only the following test.
beb998c6 4915
0d06e24b
JM
4916 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4917 solaris or linux.
4918
4919 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4920
dc96c6c7 49212000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4922
beb998c6 4923 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4924 "A syntax error" rather than "A parse error". Accept both.
4925
49262000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4927
4928 * gdb.base/default.exp: Remove OS dependent string from "target
4929 remote" test.
4930 * gdb.base/help.exp: Same for "help target remote" test.
4931
c3f6f71d
JM
49322000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4933
4934 From Jim Kingdon <kingdon@redhat.com>:
4935
4936 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4937 prompt (cleanup rather than necessity, but still might keep output
4938 from spilling to next test).
4939
49402000-01-02 Fred Fish <fnf@cygnus.com>
4941
4942 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4943 AIX, which defines them in <sys/types.h>.
4944
ed9a39eb 49451999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4946
ed9a39eb
JM
4947 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4948 float" test.
4949
49501999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4951
ed9a39eb 4952 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4953
4954 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4955 outermost frame disallowed".
4956
49571999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4958
4959 * gdb.base/setvar.exp: New tests for setting the value of a struct
4960 with a constant list.
4961
49621999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4963
4964 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4965 require the user to type a cast before setting the value of a struct.
4966
de57eccd
JM
49671999-12-06 Jim Blandy <jimb@cygnus.com>
4968
4969 * gdb.base/default.exp: Expect the new 'info float' command on
4970 all i386 platforms.
4971
4972 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4973 LinuxThreads libraries that don't support debugging.
4974
c2d11a7d
JM
4975Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4976
4977 * gdb.base/remote.c: Fill the buffer with truely random data.
4978 Change the buffer type to ``unsigned char'' to simplify size
4979 arithmetic.
4980
4981 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4982 stub only handles 400-1 byte packets. Verify that the download
4983 worked.
4984
49851999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4986
4987 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4988 tests, using UNRESOLVED for the untested cases. Also, does not wait
4989 for a timeout if the prompt was received before a recognizable pattern.
4990
49911999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4992
4993 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4994
49951999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4996
4997 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4998 watchpoints.
4999
50001999-11-24 Jason Merrill <jason@casey.cygnus.com>
5001
5002 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
5003
5004 * gdb.c++/local.exp: Be more flexible in recognizing local class
5005 name mangling. Don't allow horribly truncated method names.
5006 * gdb.c++/derivation.exp: Expect protected inheritance.
5007 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
5008 * gdb.c++/virtfunc.exp: Likewise.
5009 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
5010 when printing a nested enum.
5011
50121999-11-22 Jim Blandy <jimb@cygnus.com>
5013
5014 * gdb.base/step-test.exp: Properly await GDB's response to setting
5015 a breakpoint on the call to large_struct_by_value.
5016
5017 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
5018 just because we have debug info for the `start' function.
5019
50201999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
5021
5022 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
5023 "Unknown signal" messages, which indicate (on LinuxThreads) that
5024 GDB doesn't know how to debug threads on this system. This is
5025 better than hanging while philosopher 0 dumps chatter into gdb.log.
5026
50271999-11-18 Tom Tromey <tromey@cygnus.com>
5028
5029 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
5030
50311999-11-18 Fred Fish <fnf@cygnus.com>
5032
5033 * gdb.base/coremaker2.c: Add sample program for generating
5034 cores that is more self contained than coremaker.c. Eventually
5035 I'll add more code to this and tie it into the testsuite.
5036
4ce44c66
JM
50371999-11-12 Stan Shebs <shebs@andros.cygnus.com>
5038
5039 * gdb.base/dollar.exp: Remove, now in gdb.hp.
5040
50411999-11-10 Jimmy Guo <guo@cup.hp.com>
5042
5043 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
5044 from $srcdir/lib/.
5045 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
5046 and gdb.c++/.
5047
5048 * gdb.c++/derivation.exp: remove redundant get compiler info code.
5049
beb998c6 5050 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
5051 'continue with watch' test point.
5052
50531999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
5054
5055 Merged from p2linux-990323-branch:
beb998c6 5056
4ce44c66
JM
5057 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5058
11cf8741
JM
5059Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5060
5061 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5062 {limit,fixed}''. Test ``set download-write-size''.
5063
5064Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5065
5066 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5067 gdb_expect_list.
5068
5069Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5070
5071 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5072
50731999-11-03 Mark Salter <msalter@cygnus.com>
5074
5075 * gdb.base/break.exp: Fix "stub continue" pattern.
5076
50771999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5078
5079 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5080
50811999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5082
5083 * gdb.base/display.exp ("finish"): Add timeout clause.
5084
5085 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5086 plain prompt clause, so this doesn't have to time out in order to
5087 fail.
5088
5089 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5090 breakpoint hit messages include an address.
5091
5092 * gdb.base/display.exp: Don't forget to escape parens in regular
5093 expressions. Unix regexp notatation sucks.
5094
50951999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5096
5097 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5098 order for 'signalled' message.
5099
5c44784c
JM
51001999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5101
5102 From Jimmy Guo <guo@cup.hp.com>:
5103 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5104 * gdb.base/annota1.c: Add code for tests to work with.
5105
51061999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5107
5108 * gdb.base/remote.exp: New test for remote downloading settings.
5109 * gdb.base/remote.c: New file with large .data.
5110
917317f4
JM
51111999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5112
5113 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5114 for LinuxThreads support, merged from the Code Fusion branch.
5115
5116Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5117
5118 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5119 containing exp_continue into a while within an expect. Don't
5120 attempt a start more than three times. Check return value from
5121 gdb_load.
beb998c6 5122
2df3850c
JM
5123Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5124
5125 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5126 a pass case.
5127
2acceee2
JM
51281999-10-01 Kevin Buettner <kevinb@cygnus.com>
5129
5130 * gdb.base/break.c (main): Added a statement that we can step
5131 off of.
5132 * gdb.base/break.exp: Added tests for setting a breakpoint
5133 at an offset and stepping onto a breakpoint.
5134
51351999-10-01 Fred Fish <fnf@cygnus.com>
5136
beb998c6 5137 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
5138 gdb output.
5139
c2c6d25f
JM
51401999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5141
5142 * gdb.base/break.exp: Code locations are in hex, don't forget!
5143 (For HP-UX.)
5144
51451999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5146
5147 * condbreak.exp: Use break.c as test program.
5148 * condbreak.c: Remove, redundant with break.c.
5149
51501999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5151
5152 * config/monitor.exp (gdb_target_monitor): Disable X- and
5153 Z-packets if the target needs it.
5154
51551999-09-13 James Ingham <jingham@leda.cygnus.com>
5156
5157 * gdb.c++/overload.exp: Added tests for listing overloaded
5158 functions with function pointers in the arg, explicitly calling
5159 out the version you want.
5160
cff3e48b
JM
51611999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5162
5163 * long_long.exp: Add variations of test cases that work for
5164 targets with 16-bit ints and 32-bit doubles.
5165
d4f3574e
SS
51661999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5167
5168 * break.c (main): Compare a possibly-uninitialized argc with an
5169 unlikely value that fits in 16 bits.
5170
51711999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5172
5173 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5174 0xfeeb, don't want negative numbers if ints are 16 bits.
5175
5176 * lib/gdb.exp (skip_cplus_tests): New proc.
5177 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5178 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5179 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5180 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5181 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5182 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5183 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5184 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5185
5186 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5187
5188Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5189
5190 * gdb.base/corefile.exp (up): Allow a parameter to appear
5191 in the frame that we're going up to.
5192
5193 From Jim Blandy <jimb@cygnus.com>:
5194
5195 * gdb.base/default.exp (info float): Expect some output now.
5196
5197 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5198 returning floating-point values to fail on the x86.
5199 * gdb.base/callfwmall.exp (do_function_calls): Same.
5200
5201 * gdb.base/list.exp (test_listsize): Correct expectations for
5202 listing line 1 with listsize 2. Also, listing a single line
5203 works now, as does listing three lines. [Kevin's note: There
5204 were a number of other cases fixed too where the expectations
5205 differed...]
5206
52071999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5208
5209 * gdb.base/selftest.exp: Add case for when version prints as
5210 constant string instead of char pointer.
5211
104c1213
JM
52121999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5213
5214 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5215 stepping out of main.
5216
5217 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5218 G++ used.
5219
5220 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5221 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5222
5223 * gdb.c++/ovldbreak.exp: Update match string in test that
5224 includes a warning of multiple breakpoints.
5225
52261999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5227
5228 * gdb.base/display.exp: Improve precision of step-after-finish
5229 added yesterday.
5230
5231 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5232 test.
5233
5234 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5235 configs when using G++, not just hppa*.
5236
52371999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5238
5239 * gdb.base/async.c: New file.
5240 * gdb.base/async.exp: New file.
5241
5242Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5243
5244 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5245 PA64.
5246
53a5351d
JM
5247Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5248
104c1213
JM
5249 * gdb.base/display.exp: "finish" can leave us mid-line on many
5250 targets, deal with it. Add a small constant to main, instead of
5251 1000 since main+1000 may not be a valid address in the target.
5252
53a5351d
JM
5253 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5254 on hpux11.
5255
5256 * gdb.base/attach.exp: Handle another hpux11 error message variant
5257 when attaching to a process that does not exist.
5258
52591999-08-19 J.T. Conklin <jtc@redback.com>
5260
5261 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5262 characters in 'continue to 1241' test.
5263
52641999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5265
5266 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5267 stop in print_long_arg_list, define and use a whitespace
5268 variable in print_small_structs test, add an XFAIL for Solaris.
5269 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5270 interested enough to fix.
5271
7be570e7
JM
52721999-08-13 Keith Seitz <keiths@cygnus.com>
5273
5274 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5275 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5276 proc knows about targets other than the natives.
5277 (test_assign): Use "gdb_run_cmd" to "run" the target.
5278 Check that we've actually hit the breakpoint at main.
5279 When we attempt to assign a value to a local variable, check
5280 that the variable is in the current scope, i.e., don't use
5281 a test with an empty result.
5282
5283Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5284
5285 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5286 command.
5287
52881999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5289
5290 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5291 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5292 gdb.compat, gdb.threads-hp.
5293 gdb.hp/configure, gdb.hp/configure.in: New files.
5294 gdb.hp/Makefile.in: Recurse into new subdirs.
5295 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5296 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5297 in object files.
5298 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5299
96baa820
JM
53001999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5301
5302 * gdb.base/display.exp: Help expect by putting a newline in the
5303 funky printf, remove a bogus p/a test.
5304
53051999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5306
5307 * gdb.base/display.exp: Make sure that when we say 'run', we are
5308 connected to the target. This is necessary when running not
5309 natively.
5310
53111999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5312
5313 * gdb.base/step-test.exp: Removed some extraneous messages.
5314
5315 * gdb.base/long_long.exp: Don't run memory examination tests
5316 on little-endian targets (they will need a different set of
5317 results to match).
5318
53191999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5320
5321 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5322 until somebody decides to fix GDB.
5323
5324 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5325 constant as "ULL".
5326 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5327 matches for a couple x/2 commands.
5328
a0b3c4fd
JM
53291999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5330
5331 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5332 by merging in ref-types2 tests.
5333 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5334
5335 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5336 * gdb.c++/Makefile.in: Add standard actions.
5337 (EXECUTABLES): Rename from PROGS, update list.
5338 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5339 from gdb.hp.
5340 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5341 foo and bar locals.
5342 * gdb.c++/anon-union.exp: Fix tests to match.
5343 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5344 expect matches to handle output variations.
5345 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5346 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5347 output, add HP alternatives for new and delete prints.
5348 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5349 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5350 * gdb.c++/demangle.exp: Use $style when reporting failure.
5351 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5352 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5353 match alternatives.
5354 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5355 compilers.
5356 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5357 * gdb.c++/method.exp: Add match alternatives.
5358 * gdb.c++/misc.cc: Add bool types.
5359 * gdb.c++/misc.exp: Add tests for bool types.
5360 * gdb.c++/overload.exp: Add xfails.
5361 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5362 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5363 add some more template parameter tests (only for HP currently).
5364 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5365 * gdb.c++/virtfunc.cc: Add return type and value for main.
5366 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5367 match alternatives.
beb998c6 5368
a0b3c4fd
JM
53691999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5370
5371 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5372
53731999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5374
5375 * gdb.base/signals.exp: Don't expect getting a backtrace from
5376 within a signal handler to fail on Linux.
5377
53781999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5379
5380 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5381 * lib/gdb.exp: Remove some gratuitious semicolons.
5382 (delete_breakpoints): Increase timeout.
5383 (gdb_expect): Add -notransfer option.
5384 (gdb_test): Use -notransfer option.
5385 (get_compiler_info): Add f77 case.
5386 (get_compiler): New proc, split out from gdb_preprocess, add f77
5387 case.
5388 (gdb_preprocess): Call get_compiler.
5389
5390 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5391 * gdb.base/attach.exp, gdb.base/display.exp,
5392 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5393 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5394 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5395 third arg to gdb_test.
5396 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5397 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5398 HP-UX xfails, add others.
5399 * gdb.base/completion.exp: Reflect name change of self-test.
5400 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5401 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5402 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5403 HP failure number.
5404 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5405 useless HP-UX 10.30 references.
5406 * gdb.base/maint.exp: Loosen matches.
5407 * gdb.base/pointers.c (main): Declare more_code.
5408 * gdb.base/pointers.exp: Match on output of a `next'.
5409 * gdb.base/structs.c: Add prototypes.
5410 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5411 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5412
54131999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5414
5415 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5416 command.
5417
54181999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5419
5420 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5421 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
5422
5423 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5424 debug info. Deal with lack of signal hanlder info in stack.
5425
5426 From Jim Kingdon <kingdon@redhat.com>:
5427 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5428
5a2468f5
JM
54291999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5430
5431 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5432 gdb.base/foll-vfork.exp: Don't run for crosses.
5433
adf40b2e
JM
5434Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5435
5436 * gdb.base/configure.in: Check for gdbvars.exp instead of
5437 a1-selftest.exp.
5438 * gdb.base/configure: Re-generate.
5439
54401999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5441
5442 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5443 in trying to run first and name is too long.
5444
5445 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5446 pointers2.c and pointers2.exp, respectively.
5447 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5448 doschk happier.
5449
43e526b9
JM
54501999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5451
5452 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5453 callfuncs2.c and callfuncs2.exp.
5454
5455 * gdb.base/list.exp: Remove mistaken xfails.
5456 * gdb.base/list0.h: Add optional prototypes.
5457
9846de1b
JM
5458Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5459
5460 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5461 calling malloc.
5462 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5463 * ptype.exp: Move test for get_debug_format to before its first
5464 use.
5465
54661999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5467
5468 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5469 * gdb.base/annota2.cc, annota2.exp: Move from here.
5470 * gdb.c++/annota2.cc, annota2.exp: To here.
5471 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5472
43ff13b4
JM
5473Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5474
5475 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5476 a consistent format.
5477
085dd6e6
JM
54781999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5479
5480 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5481 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5482 HP compilers, also set the globals $true and $false.
5483
5484 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5485 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5486 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5487 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5488 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5489 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5490 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5491 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5492 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5493 whatis.c} Add C++ compatible function definitions and return
5494 types, add includes for library functions.
5495 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5496 * gdb.base/step-test.c (myglob): Rename from glob.
5497 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5498 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5499 files, move here from gdb.hp.
5500 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5501 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5502 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5503 Adjust line numbers in regexps.
5504
5505 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5506 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5507 instead of 0/1.
5508
5509 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5510 foll-vfork.exp: New files, move here from gdb.hp.
5511 * gdb.base/page.exp: New file, test of pagination command.
5512
5513 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5514 recursion test.
5515 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5516
5517 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5518 gdb.base/solib.exp: Fix compiler invocation process.
5519
5520 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5521 HP-UX 11, turn off overload resolution explicitly.
5522 * gdb.base/commands.exp: Set argument list explicitly, add
5523 watchpoint test.
5524 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5525 them work.
5526 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5527 expressions properly.
5528 * gdb.base/corefile.exp: Loosen the match slightly.
5529 * gdb.base/default.exp: Allow "Error accessing memory" message
5530 also.
5531 * gdb.base/display.exp: Skip over x/0 j if PA64.
5532 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5533 * gdb.base/interrupt.exp: Ditto.
5534 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5535 in use.
5536 * gdb.base/list.exp: Add xfails for HP-UX.
5537 * gdb.base/long_long.exp: Refine some of the numeric matches.
5538 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5539 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5540 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5541 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5542 * gdb.base/ptype.exp: Succeed on more varieties of output.
5543 * gdb.base/scope.exp: Add xfails for HP-UX.
5544 * gdb.base/sect-cmd.exp: Add more cases.
5545 * gdb.base/setvar.exp: Add xfails for HP-UX.
5546 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5547 * gdb.base/signals.exp: Match on void symbolically.
5548 * gdb.base/step-test.exp: Add case for PA64.
5549 * gdb.base/term.exp: Add exit and restart.
5550 * gdb.base/twice.exp: Clean up after self.
5551 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5552 * gdb.base/whatis.exp: Allow more ways to pass tests.
5553
5554 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5555 no longer useful.
5556
5557Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5558
5559 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5560 list of patterns.
5561 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5562 print_double_array(double_array)", "continuing to breakpoint
5563 1018", "print print_double_array(array_d)" and "continuing to
5564 1034" tests.
beb998c6 5565
085dd6e6
JM
55661999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5567
5568 * Makefile.in: Add empty html and install-html targets.
5569
55701999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5571
5572 * config/mt-*: Remove, these haven't been used since 1996.
5573
55741999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5575
5576 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5577 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5578 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5579
9e0b60a8
JM
55801999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5581
5582 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5583 simpler match case for the ptype of the big class.
5584
55851999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5586
5587 * gdb.exp: Fix test for gdb_prompt existence.
5588
55891999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5590
5591 * gdb.exp (gdb_test): Add fail after calls to perror.
5592
55931999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5594
5595 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5596
55971999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5598
5599 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5600
0f71a2f6
JM
5601Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5602
5603 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5604 malloc() is linked in.
5605
56061999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5607
5608 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5609 step at end.
5610
5611 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5612
56131999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5614
5615 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5616
cce74817
JM
5617Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5618
5619 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5620 * gdb.base/mips_pro.exp: Likewise.
5621
56221999-06-02 Keith Seitz <keiths@cygnus.com>
5623
5624 * gdb.c++/templates.cc: Change all "new" operators to throw
5625 an exception.
5626 * gdb.c++/cplusfuncs.cc: Likewise.
5627
5628 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5629
5630Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5631
5632 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5633 * gdb.base/ending-run.exp: When stepping out of main, accept a
5634 step into an arbitrary assembler file.
5635
392a587b
JM
56361999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5637
beb998c6 5638 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5639 "breakpoint-invalid" to be printed.
beb998c6 5640 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5641 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5642 * gdb.base/annota2.cc: Initialize a.x to 0.
5643
9e086581
JM
56441999-05-17 Keith Seitz <keiths@cygnus.com>
5645
5646 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5647 when "skip_float_tests" set.
5648 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5649 "print print_ten_doubles", and "step into print_long_arg_list".
5650 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5651 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5652 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5653 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5654 "skip_float_tests" is set.
5655 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5656 when "skip_float_tests" set.
beb998c6 5657
cd0fc7c3
SS
56581999-05-06 Keith Seitz <keiths@cygnus.com>
5659
5660 * gdb.base/annota2.cc: Include stdio.h.
5661
5662Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5663
5664 * gdb.base/crossload.exp: Remove, this has been disabled ever
5665 since BFD stopped including all targets, and cross-GDB gets
5666 plenty of testing anyway.
5667 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5668 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5669 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5670 * gdb.base/README: Remove, was doc for this.
5671 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5672 needed.
5673
b83266a0
SS
56741999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5675
5676 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5677 output.
5678
5679 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5680 * gdb.base/annota2.exp: New file. More annotation tests.
5681 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5682 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5683
56841999-04-23 Angela Marie Thomas <angela@cygnus.com>
5685
5686 * config/cfdbug.exp: New file.
5687
7a292a7a
SS
56881999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5689
5690 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5691 Marcus Daniel's and Dale Hawkins's demangler crashes.
5692
5693 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5694 test_lucid_style_demangling, test_arm_style_demangling,
5695 test_hp_style_demangling): Try Tom Tromey's core-dumping
5696 identifier under each demangling style.
5697
56981999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5699
5700 * gdb.c++/demangle.exp: Include the current demangling style
5701 in all test names.
5702 (current_demangling_style): New global variable.
5703 (set_demangling_style, test_demangling_core, test_demangling,
5704 test_demangling_exact): New functions.
5705 (test_gnu_style_demangling, test_lucid_style_demangling,
5706 test_arm_style_demangling, test_hp_style_demangling): Use those,
5707 instead of calling gdb_test and gdb_test_exact directly.
5708 (catch_demangling_errors): New function, which reports errors
5709 signalled by the demangling test functions in an orderly way.
5710 (do_tests): Use catch_demangling_errors.
5711
57121999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5713
5714 * gdb.base/signals.exp (test_handle_all_print): Use () for
5715 grouping in expressions, not {}.
5716
5717 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5718 initialized yet.
5719
57201999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5721
5722 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5723 are listed.
5724
57251999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5726
5727 * gdb.stabs/weird.exp: Test for CC being defined before
5728 looking at its value.
5729
57301999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5731
5732 * gdb.base/call-ar-st.exp: Remove stray '#'.
5733 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5734 "short int" and "long int".
5735 * gdb.c++/overload.cc: Cast the string added in the previous
5736 change, to mollify finicky HP compiler.
5737 * gdb.hp/reg-test.exp (testfile): Fix file name.
5738 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 5739
7a292a7a
SS
5740 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5741 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5742 alternate form of enum ptype.
5743
c906108c
SS
57441999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5745
7a292a7a
SS
5746 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5747 * gdb.hp/*.exp: Change all to run compiler probe only after
5748 passing skip_hp_tests, so as not to waste time on guaranteed
5749 failure.
5750
c906108c
SS
5751 * gdb.c++/overload.cc: Pass string instead of char addr, always
5752 init ccpfoo.
5753 * gdb.c++/templates.cc: Fix syntax error.
5754
7a292a7a
SS
5755Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5756
5757 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 5758 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5759 command.
5760
57611999-03-18 James Ingham <jingham@cygnus.com>
5762
5763 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5764
5765 * gdb.c++/method.exp: It was testing an uninitialized int on the
5766 stack and assuming it was positive.
5767
5768 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5769
5770 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 5771 keep it from killing the rest of the tests.
7a292a7a
SS
5772 Use gdb_continue_to_end.
5773
5774 * gdb.base/sigall.exp: use gdb_continue_to_end.
5775
5776 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5777
5778 * gdb.base/display.exp: use runto_main, not run.
5779
beb998c6
AC
5780 * gdb.base/default.exp: Check for the current error message in the
5781 r abbreviation test.
7a292a7a
SS
5782 Add strongarm to the targets that know info float.
5783
beb998c6 5784 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5785 run which doesn't work with monitors.
5786
5787 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5788
5789 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5790
5791 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
5792 program. Traps the case (in Cygmon) when the program never really
5793 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5794 more places, so I used my name. Sorry Mark...
5795
5796 * config/monitor.exp (gdb_target_monitor): added another
5797 target_info parameter: remotebinarydownload. This will set the
5798 remotebinarydownload flag if this is causing some boards trouble.
5799
58001999-03-18 Mark Salter <msalter@cygnus.com>
5801
5802 * lib/gdb.exp (continue_to_exit): New function.
5803
5804 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5805 * gdb.base/ending-run.exp: Ditto.
5806 * gdb.base/step-test.exp: Ditto.
5807
58081999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5809
5810 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5811 (suggested by Art Haas <ahaas@neosoft.com>).
5812
58131999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5814
5815 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5816
5817Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5818
5819 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5820 descriptions of types (short unsigned int vs unsigned short, etc).
5821
58221999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5823
5824 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5825 a call to strlen; sometimes we do have sources.
5826
58271999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5828
5829 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5830 character, so GDB won't print garbage after its end.
beb998c6 5831
c906108c
SS
5832 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5833 breakpoint there instead. Sometimes GCC emits memcpy to handle
5834 the large structures being passed by value, so we step into that
5835 instead of sum_array_print, which obscures what we're really testing.
5836 * gdb.base/step-test.exp: However, we do want a test that notices
5837 the bizarre steps into memcpy, so do that here. Add check for
5838 stepping into function calls that pass large structures by value.
5839 ("Is that a noun clause, or are you just happy to see me?")
5840 Remove all references to specific line numbers.
5841 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5842 New type and function.
5843 (main): Call large_struct_by_value, passing it a large struct by value.
5844 * lib/gdb.exp (gdb_get_line_number): New function.
5845
5846 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5847 more portable.
5848
7a292a7a
SS
58491999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5850
c906108c
SS
5851 * lib/gdb.exp: Doc fixes.
5852
7a292a7a
SS
58531999-03-05 Nick Clifton <nickc@cygnus.com>
5854
beb998c6 5855 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5856
58571999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5858
c906108c
SS
5859 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5860 commands. They're not germane to this test, and they don't work
5861 that way on remote targets.
5862
3fc11d3e
JM
58631999-03-01 James Ingham <jingham@cygnus.com>
5864
5865 * Changelog entries merged over from gdb development branch.
5866
3fc11d3e
JM
5867 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5868
5869 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5870 for outputting results of test run.
5871
2d4a1622 5872 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5873
5874 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5875
7a292a7a
SS
58761999-02-25 Felix Lee <flee@cygnus.com>
5877
5878 * lib/gdb.exp (debug_format): initialize
5879
c906108c
SS
58801999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5881
5882 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5883 * gdb.base/call-rt-st.c: Ditto.
5884
c906108c
SS
58851999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5886
5887 * gdb.threads/pthreads.exp (horiz): New variable.
5888 (test_startup): Fix regexps that capture thread numbers.
5889
58901999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5891
5892 * gdb.base/smoke.exp: Disambiguate two test case names (both
5893 called ``print'').
5894
5895Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5896
5897 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5898 compilation.
5899
59001999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5901
5902 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5903 actual output formatting.
5904 * gdb.base/smoke.exp: GDB removes leading 0's.
5905 * gdb.base/volatile.exp: Don't check type of remuneration;
5906 that variable is no longer defined in constvars.c.
5907 * gdb.base/step-test.c (main): Exit with explicit exit code.
5908 * gdb.base/step-test.exp: Remove two nexti checks--they are
5909 not portable.
5910
59111999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5912
5913 * gdb.base/help.exp ("help delete display"): Fix test to match
5914 gdb's output.
5915
5916 * gdb.base/long_long.c (known_types): Initialize values to zero.
5917 * gdb.base/long_long.exp: Step one more line
5918 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5919 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5920 unique test case names.
5921
5922Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5923
beb998c6 5924 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5925
5926 * gdb.c++/method.exp: Add missing close brace.
5927
59281999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5929
5930 * gdb.base/maint.exp: Use 'set height 0' to disable page
5931 prompting, not 'set height 400'.
5932
5933 Fix a bunch of timeouts.
5934 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5935 four separate tests, so expect doesn't take forever to match a ton
5936 of text against a regexp with lots of .* forms.
5937 ("maint print psymbols", "maint print symbols"): Make some of
5938 these greps more selective, so that expect doesn't try to wade
5939 through huge piles of output and time out.
5940
5941 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5942
5943 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5944 tests: one which doesn't expect shlib events to be reported, and
5945 another which does, but is XFAIL for all platforms other than
5946 HP/UX.
5947
5948 * gdb.base/break.exp: Teach the test suite that the `catch
5949 fork', `catch vfork', and `catch exec' commands produce error
5950 messages on platforms that don't provide these features.
5951
5952Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5953
5954 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5955 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5956 (shortening names from solib_threshold.exp etc), won't run on
5957 anything but HP-UX for the foreseeable future.
5958 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5959 reflect move.
5960
5961Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5962
5963 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5964 gdb.trace/Makefile.in (clean): Remove all test executables.
5965
5966Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5967
5968 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5969 successfully re-sets breakpoints in shared libraries.
5970 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5971
5972Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5973
beb998c6
AC
5974 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5975 and compiled w/o GCC.
c906108c
SS
5976
5977 * gdb.hp/watch-cmd.exp: ditto.
5978
5979 * gdb.hp/watch-hp.exp: ditto.
5980
5981 * gdb.hp/xdb1.exp: ditto.
5982
5983 * gdb.hp/xdb2.exp: ditto.
5984
5985 * gdb.hp/dbx.exp: ditto.
5986
5987Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5988
5989 * constvars.c: Remove C++-isms.
5990 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5991 with GCC.
5992
5993Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5994
5995 The following changes are part of the HP merge.
5996
5997 * gdb.base/break.exp: new tests to verify that catchpoints for
5998 fork, vfork, and exec don't trigger inappropriately.
5999
6000 * gdb.base/opaque.exp: compile one file at a time, then link.
6001
6002 * gdb.base/signals.exp: be more restrictive about which hppa
6003 systems receive a setup_xfail. new tests.
6004
6005 * gdb.base/solib_threshold.build: new file.
6006 * gdb.base/solib_threshold.exp: new file.
6007 * gdb.base/solib_threshold.link_opts: new file.
6008 * gdb.base/solib_threshold.mk: new file.
6009 * gdb.base/gen_solib_threshold.c: new file.
6010
6011 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
6012 tests. New tests for enums inside classes.
6013
6014 * gdb.c++/compiler.cc: indicate support of template debugging.
6015
6016 * gdb.c++/demangle.exp: run hp style demangling tests.
6017
6018 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
6019 tests.
6020
6021 * gdb.c++/misc.cc: changes to support new tests.
6022
6023 * gdb.c++/templates.cc: changes to support HP's compiler; changes
6024 to support new tests.
6025
6026 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
6027 gcc, then skip these tests.
6028
6029Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
6030
6031 The following files are part of the HP merge; some had longer
6032 names at HP, but have been renamed to be no more than 14
6033 characters in length.
6034
6035 * gdb.hp/ambiguous.cc: new file.
6036 * gdb.hp/ambiguous.exp: new file.
6037 * gdb.hp/attach.exp: new file.
6038 * gdb.hp/attach2.exp: new file.
6039 * gdb.hp/classes-hp.exp: new file.
6040 * gdb.hp/ctti.exp: new file.
6041 * gdb.hp/ctti-add.cc: new file.
6042 * gdb.hp/ctti-add1.cc: new file.
6043 * gdb.hp/ctti-add2.cc: new file.
6044 * gdb.hp/ctti-add3.cc: new file.
6045 * gdb.hp/dbx.exp: new file.
6046 * gdb.hp/exception.cc: new file.
6047 * gdb.hp/exception.exp: new file.
6048 * gdb.hp/foll-exec.c: new file.
6049 * gdb.hp/foll-exec.exp: new file.
6050 * gdb.hp/foll-fork.c: new file.
6051 * gdb.hp/foll-fork.exp: new file.
6052 * gdb.hp/foll-vfork.c: new file.
6053 * gdb.hp/foll-vfork.exp: new file.
6054 * gdb.hp/inherit-hp.exp: new file.
6055 * gdb.hp/more-steps.exp: new file.
6056 * gdb.hp/namespace.cc: new file.
6057 * gdb.hp/namespace.exp: new file.
6058 * gdb.hp/optimize.exp: new file.
6059 * gdb.hp/pxdb.c: new file.
6060 * gdb.hp/pxdb.exp: new file.
6061 * gdb.hp/quicksort.exp: new file.
6062 * gdb.hp/reg-test.exp: new file.
6063 * gdb.hp/reg-test.s: new file.
6064 * gdb.hp/sized-enum.c: new file.
6065 * gdb.hp/sized-enum.exp: new file.
6066 * gdb.hp/start-stop.exp: new file.
6067 * gdb.hp/templ-hp.cc: new file.
6068 * gdb.hp/templ-hp.exp: new file.
6069 * gdb.hp/thr-lib.c: new file.
6070 * gdb.hp/thr-lib.exp: new file.
6071 * gdb.hp/thr-lib.h: new file.
6072 * gdb.hp/thr-liblib.c: new file.
6073 * gdb.hp/virtfun-hp.c: new file.
6074 * gdb.hp/virtfun-hp.exp: new file.
6075 * gdb.hp/watch-cmd.exp: new file.
6076 * gdb.hp/watch-hp.exp: new file.
6077 * gdb.hp/xdb1.exp: new file.
6078 * gdb.hp/xdb2.exp: new file.
6079 * gdb.hp/xdb3.exp: new file.
6080
6081Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6082
6083 The following files are part of the HP merge; some had longer
6084 names at HP, but have been renamed to be no more than 14
6085 characters in length.
6086
6087 * gdb.base/ss.h: new file.
6088 * gdb.base/call-ar-st.c: new file.
6089 * gdb.base/call-ar-st.exp: new file.
6090 * gdb.base/call-rt-st.c: new file.
6091 * gdb.base/call-rt-st-exp: new file.
6092 * gdb.base/call-strs.exp: new file.
6093 * gdb.base/ena-dis-br.exp: new file.
6094 * gdb.base/environ.exp: new file.
6095 * gdb.base/long_long.exp: new file.
6096 * gdb.base/sect-cmd.exp: new file.
6097 * gdb.base/shlib-cl2.exp: new file.
6098 * gdb.base/smoke.exp: new file.
6099 * gdb.base/so-impl-ld.c: new file.
6100 * gdb.base/so-impl-ld.exp: new file.
6101 * gdb.base/so-indr-cl.c: new file.
6102 * gdb.base/so-indr-cl.exp: new file.
6103 * gdb.base/varargs.exp: new file.
6104 * gdb.base/volatile.exp: new file.
6105 * gdb.base/whatis-exp.exp: new file.
7a292a7a 6106 * gdb.base/display.exp: new file.
c906108c
SS
6107 * gdb.c++/derivation.exp: new file.
6108 * gdb.c++/local.exp: new file.
6109 * gdb.c++/member-ptr.exp: new file.
6110 * gdb.c++/overload.exp: new file.
6111 * gdb.c++/ovldbreak.exp: new file.
6112 * gdb.c++/ref-types.exp: new file.
6113 * gdb.c++/ref-types2.exp: new file.
6114 * gdb.c++/userdef.exp: new file.
beb998c6 6115
c906108c
SS
6116Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6117
6118 * gdb.base/default.exp: Reflect wording change in remote.c.
6119
dc96c6c7 6120Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6121
6122 * gdb.base/help.exp: Update to reflect current text.
6123
6124Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6125
6126 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6127 they're stack variables and contain garbage.
6128 * gdb.c++/anon-union.exp: new file.
6129
6130 The following changes were made by David Taylor
6131 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6132 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6133 in changes by HP.
6134
6135 * gdb.base/bitops.exp: new file.
6136 * gdb.base/default.exp: change expected messages for catch and
6137 info catch tests to reflect HP merge changes.
6138 * gdb.base/enable-disable-break.exp
6139 * gdb.base/ending-run.c: new file.
6140 * gdb.base/long_long.c: new file.
6141 * gdb.base/maint.exp: new file.
6142 * gdb.base/pointers2.exp: new file.
6143 * gdb.base/shlib-call2.exp: new file.
6144 * gdb.base/solib.exp: new file.
6145 * gdb.base/step-test.c: new file.
6146 * gdb.c++/anon-union.cc: new file.
6147 * gdb.c++/local.cc: new file.
6148 * gdb.c++/member-pointer.cc: new file.
6149 * gdb.c++/method.cc: new file.
6150 * gdb.c++/ref-types.cc: new file.
6151 * gdb.c++/ref-types2.cc: new file.
6152 * gdb.c++/userdef.cc: new file.
beb998c6 6153
c906108c
SS
6154 * gdb.base/scope.exp: compile one file at a time, then link.
6155 * gdb.base/langs.exp: ditto.
6156 * gdb.base/list.exp: ditto.
beb998c6 6157
c906108c
SS
6158Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6159
6160 The following changes were made by David Taylor
6161 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6162 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6163 in changes by HP.
beb998c6 6164
c906108c
SS
6165 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6166 skip tests. When compiling pass c++ flag to gdb_compile.
6167 * gdb.c++/
beb998c6 6168
c906108c
SS
6169 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6170 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6171 (skip_hp_tests): new function.
6172 (gdb_preprocess): new function.
6173
6174 * configure.in (hpdir): decide whether to configure gdb.hp.
6175 * configure: regenerated.
6176
6177 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6178 to delete on clean.
6179 (EXECUTABLES): update to reflect new additions.
6180 * gdb.base/commands.exp: update message expected.
6181 * gdb.base/default.exp: add copyright notice.
6182 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6183 * gdb.base/help.exp: update messages to reflect current text.
6184 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6185 targets for recurse tests.
6186 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6187 skip this file.
6188
6189 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6190 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6191 compilation.
6192 * gdb.c++/misc.exp: ditto.
6193 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6194 run the tests. tell gdb_compile that it's a c++ compilation.
6195
6196 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 6197
c906108c
SS
6198 * gdb.base/all-bin.exp: new file.
6199 * gdb.base/arithmet.exp: new file.
6200 * gdb.base/assign.exp: new file.
6201 * gdb.base/completion.exp: new file.
6202 * gdb.base/cond-expr.exp: new file.
6203 * gdb.base/condbreak.exp: new file.
6204 * gdb.base/define.exp: new file.
6205 * gdb.base/dollar.exp: new file.
6206 * gdb.base/environment.exp: new file.
6207 * gdb.base/eval-skip.exp: new file.
6208 * gdb.base/jump.exp: new file.
6209 * gdb.base/logical.exp: new file.
6210 * gdb.base/pointers.exp: new file.
6211 * gdb.base/relational.exp: new file.
6212 * gdb.base/section_command.exp: new file.
6213 * gdb.base/whatis-expr.exp: new file.
6214
6215 * gdb.base/all-types.c: new file.
6216 * gdb.base/call-array-struct.c: new file.
6217 * gdb.base/call-return-struct.c: new file.
6218 * gdb.base/call-strings.c: new file.
6219 * gdb.base/callfuncs2.c: new file.
6220 * gdb.base/condbreak.c: new file.
6221 * gdb.base/constvars.c: new file.
6222 * gdb.base/display.c: new file.
6223 * gdb.base/int-type.c: new file.
6224 * gdb.base/jump.c: new file.
6225 * gdb.base/miscexprs.c: new file.
6226 * gdb.base/pointers.c: new file.
6227 * gdb.base/pointers2.c: new file.
6228 * gdb.base/shmain.c: new file.
6229 * gdb.base/shr1.c: new file.
6230 * gdb.base/shr2.c: new file.
6231 * gdb.base/solib.c: new file.
6232 * gdb.base/solib1.c: new file.
6233 * gdb.base/solib2.c: new file.
6234 * gdb.base/varargs.c: new file.
6235 * gdb.c++/derivation.cc: new file.
6236 * gdb.c++/overload.cc: new file.
6237 * gdb.c++/ovldbreak.cc: new file.
6238 * gdb.hp/attach.c: new file.
6239 * gdb.hp/attach2.c: new file.
6240 * gdb.hp/average.c: new file.
6241 * gdb.hp/compiler.c: new file.
6242 * gdb.hp/compiler.cc: new file.
6243 * gdb.hp/execd-program.c: new file.
6244 * gdb.hp/follow-exec.c: new file.
6245 * gdb.hp/follow-fork.c: new file.
6246 * gdb.hp/follow-vfork-and-exec.c: new file.
6247 * gdb.hp/misc-hp.cc: new file.
6248 * gdb.hp/more-steps.c: new file.
6249 * gdb.hp/optimize.c: new file.
6250 * gdb.hp/quicksort.c: new file.
6251 * gdb.hp/run-hp.c: new file.
6252 * gdb.hp/start-stop.c: new file.
6253 * gdb.hp/sum.c: new file.
6254 * gdb.hp/templates-hp.cc: new file.
6255 * gdb.hp/thread-local-in-lib.c: new file.
6256 * gdb.hp/thread-local-in-lib.h: new file.
6257 * gdb.hp/thread-local-in-lib.lib.c: new file.
6258 * gdb.hp/vforked-program.c: new file.
6259 * gdb.hp/virtfunc-hp.cc: new file.
6260 * gdb.hp/watchpoint-hp.c: new file.
6261 * gdb.hp/xdb.c: new file.
6262 * gdb.hp/xdb0.c: new file.
6263 * gdb.hp/xdb0.h: new file.
6264 * gdb.hp/xdb1.c: new file.
6265
6266Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6267
6268 The following change was made by Edith Epstein
6269 <eepstein@cygnus.com> as part of a project to merge in changes
6270 originally made by HP; HP did not create ChangeLog entries.
6271
6272 * gdb.c++/demangle.exp: changed the expected output for some
6273 ARM-style mangling -- removed second reference to datatype.
6274 For example, maint demangle __dt__11T1__pt__2_cFv
6275 T1<char>::~T1<char>(void)
6276 becomes,
6277 maint demangle __dt__11T1__pt__2_cFv
6278 T1<char>::~T1(void)
6279
6280 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 6281
c906108c
SS
6282Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6283
6284 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6285 * gdb.trace/backtrace.exp: Likewise.
6286 * gdb.trace/circ.exp: Likewise.
6287 * gdb.trace/collection.exp: Likewise.
6288 * gdb.trace/deltrace.exp: Likewise.
6289 * gdb.trace/infotrace.exp: Likewise.
6290 * gdb.trace/limits.exp: Likewise.
6291 * gdb.trace/packetlen.exp: Likewise.
6292 * gdb.trace/passc-dyn.exp: Likewise.
6293 * gdb.trace/passcount.exp: Likewise.
6294 * gdb.trace/report.exp: Likewise.
6295 * gdb.trace/save-trace.exp: Likewise.
6296 * gdb.trace/tfind.exp: Likewise.
6297 * gdb.trace/tracecmd.exp: Likewise.
6298 * gdb.trace/while-dyn.exp: Likewise.
6299 * gdb.trace/while-stepping.exp: Likewise.
6300
63011998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6302
6303 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6304
6305Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6306
6307 From Brendan Kehoe:
6308 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6309 int return types.
6310
6311Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6312
6313 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6314 remote dos host testing right.
6315
6316Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6317
6318 * gdb.base/corefile.exp: remove some xfails.
6319
6320Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6321
6322 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6323 have different timestamps.
6324
6325Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6326
6327 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6328 gdb.base/default.exp: Replace "exec" with "executable".
6329
6330Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6331
6332 * gdb.base/default.exp: Change else if to elseif from previous
6333 delta.
6334
6335Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6336
6337 * gdb.base/default.exp: Add brace missing from previous delta.
6338
6339Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6340
6341 * gdb.base/default.exp: Support test for info float for all
6342 varieties of arm toolchain.
6343
dc96c6c7 6344Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6345
6346 * gdb.trace/*.exp: remove "remote_download" command.
6347
dc96c6c7 6348Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6349
6350 * gdb.trace/*.exp: remove -gdwarf from compile.
6351
6352Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6353
6354 * gdb.trace/configure.in(AC_INIT): typo
6355 * gdb.trace/configure: regenerated
6356
dc96c6c7 6357Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6358
6359 * config/m68k-emc.exp: New file.
6360 * lib/<emc-support.exp trace-support.exp}: New files.
6361 * configure.in: add new test directory gdb.trace.
6362 * gdb.trace/{configure configure.in Makefile.in}: New files.
6363 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6364 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6365 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6366 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6367 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6368 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6369 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 6370
dc96c6c7 6371Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6372
6373 * gdb.c++/classes.exp: Change all regular expressions to match
6374 arbitrary combinations of newline/carriage-return, so that they
6375 will work equally well on Unix and Windows.
6376 * gdb.c++/inherit.exp: ditto.
6377 * gdb.c++/virtfunc.exp: ditto.
6378
63791998-08-11 Dawn Perchik <dawn@cygnus.com>
6380
6381 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6382
c2d11a7d
JM
6383Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6384
6385 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6386 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6387 to use a0-a3/d0-d3 as needed.
6388
6389Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6390
6391 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6392 * gdb.disasm/am33.exp: Corresponding changes.
6393
c906108c
SS
63941998-07-11 Felix Lee <flee@cygnus.com>
6395
6396 * gdb.base/callfuncs.exp: add cmp10 test.
6397 * gdb.base/callfuncs.c (cmp10): new function.
6398
6399Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6400
beb998c6 6401 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6402 into two parts to get around a synchronization problem in expect.
6403
3fc11d3e
JM
6404Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6405
6406 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6407
6408 * configure.in: Add options for gdbtk testsuite.
6409
6410 * configure: Regenerate.
6411
6412 * gdb.gdbtk: New directory to hold gdbtk tests.
6413
c906108c
SS
6414Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6415
6416 * gdb.fortran/types.exp: Escape brackets in expect patterns
6417 for test_float_literal_types_accepted tests.
6418 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6419 before run test.
6420
c2d11a7d
JM
6421Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6422
6423 * am33.exp: Just compile, do not link the testcase.
6424 * am33.s: Add ".am33" pseudoop to force am33 mode.
6425
c906108c
SS
64261998-06-25 Felix Lee <flee@cygnus.com>
6427
6428 * gdb.base/setshow.exp: make sure $pc is sane.
6429
6430 * gdb.stabs/weird.exp: split expect patterns properly.
6431
c2d11a7d
JM
6432Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6433
6434 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6435 * gdb.disasm/am33.exp: Run it.
6436
dc96c6c7 6437Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6438
6439 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6440 match processing (and eliminate spurious timeouts when running).
6441
dc96c6c7 6442Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6443
6444 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6445 exception test, but conditionalize it on target [mach | gnu].
6446
dc96c6c7 6447Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6448
6449 * gdb.base/overlays.exp: fixup compile line for linker script.
6450
6451Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6452
6453 * gdb.fortran/types.exp: don't guess at float size.
6454
6455Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6456
6457 * gdb.base/exprs.exp: delete test that depends on int size.
6458
6459Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6460
6461 * config/sim.exp: Removed checks for target triplets.
6462 (gdb_target_sim): Use gdb,target_sim_options.
6463
6464Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6465
6466 * gdb.base/reread.exp: New file.
6467 * gdb.base/reread1.c: New file.
6468 * gdb.base/reread2.c: New file.
6469
6470Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6471
6472 * config/sim.exp: Use 'target sim -sparclite' when running
6473 SPARClite programs.
6474
6475Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6476
6477 * gdb.base/structs2.exp: New file.
6478 * gdb.base/structs2.c: New file.
6479
6480Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6481
6482 * gdb.asm/common.inc: New file.
6483 * gdb.asm/d10v.inc: New file.
6484 * asm-source.exp: Pass -I's to gas to find .inc files.
6485 Update line numbers in expected output.
6486 * asmsrc1.s: Rewrite.
6487 * asmsrc2.s: Rewrite.
6488 * configure.in: Create arch.inc symlink.
6489 * configure: Regenerate.
6490 * Makefile.in (distclean): Delete arch.inc.
6491
6492Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6493
6494 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6495 (t_enum_value2): ditto
6496 (t_enum_value3): ditto
6497 (main): ditto
6498Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6499
6500 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6501 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6502 change.
6503 Use gdb_test instead of send_gdb/gdb_expect sequences.
6504
6505Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6506
6507 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6508 not void.
6509
6510Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6511
6512 * gdb.base/branches.c: Code with lots of loops and
6513 subroutines. Used to test gdbs ability to single step through PC
6514 changes, especially to test mips-tdep.c:mips_next_pc
6515
6516Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6517
6518 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6519 more rigorous EGCS C++ error checking.
6520
6521Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6522
6523 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 6524 tests.
c906108c 6525 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 6526 function when asleep.
c906108c 6527 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
6528 for i*86 Linux and SVR4 signal handling problems.
6529 Remove linux xfail for `next to handler in signals_tests_1', fixed
6530 by recent infrun.c change.
c906108c 6531 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 6532 stack backtraces.
c906108c
SS
6533 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6534 target.[ch] change.
6535
6536Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6537
6538 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6539 for a newline from gdb before continuing.
6540 (default_gdb_exit): Just look for y or n.
6541 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6542 it does, fail the rests of the tests in the file.
6543
6544Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6545
6546 * config/cygmon.exp: New file.
6547
6548Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6549
6550 * gdb.base/list.exp: Fix problem with "list default lines around
6551 main" test on remote targets.
6552
6553 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6554 run test on remote targets.
6555
6556Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6557
6558 * gdb.asm: New directory.
6559 * configure.in: Configure it.
6560 * configure: Regenerate.
6561 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6562 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6563
6564Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6565
6566 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6567
dc96c6c7 6568Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6569
c906108c
SS
6570 * gdb.base/overlays (several files): Merge the two overlay
6571 managers into one. Change variables (foox, barx, bazx, grbxx)
6572 back into ints but force them to load in their proper sections.
6573
6574Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6575
6576 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6577 on-chip insn memory and IMAP1 to upper 128k.
6578 (D10VCopy): Handle memory regions crossing 16k boundaries.
6579 (D10VCopy): Transfer data in 32 bit chunks.
6580
6581Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6582
6583 * gdb.base/overlays.c (main): Exit normally when result is
6584 correct.
6585
6586 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6587 map. Include space for printf in .text segment.
6588
6589 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6590 updated d10v memory VMA/LMA map.
6591 (D10VCopy): Call D10VTranslate.
beb998c6 6592
c906108c
SS
6593Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6594
6595 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6596
6597 * gdb.base/bar.c (barx, bar): Change variable to small array so
6598 that it won't be put into the .sdata - small data -
6599 section. Update reference.
6600 * gdb.base/baz.c (bazx, baz): Ditto.
6601 * gdb.base/foo.c (foox, foo): Ditto.
6602 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6603
6604 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6605 to be arrays.
beb998c6 6606
dc96c6c7 6607Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6608
c906108c
SS
6609 * gdb.base/overlays.exp: fix up and get working again.
6610 Add tests for backtraces from an overlay function.
beb998c6 6611
c906108c
SS
6612Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6613
6614 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6615 "calling function with watchpoint enabled".
6616
6617Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6618
6619 * gdb.base/break.exp (test_next_with_recursion): Remove
6620 gdb_suppress_tests for d10v-*-*.
6621 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6622 pending review of whether it is useful or not.
6623
6624Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6625
6626 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6627
6628Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6629
6630 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6631 * config/dve.exp: New file to support Densan boards.
6632
6633Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6634
6635 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6636 reads and BSD.
6637
6638Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6639
6640 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6641 response.
6642
6643 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6644
6645Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6646
6647 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6648 test.
6649
6650 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6651 target_sizeof_long and target_bigendian_p.
6652 (structs_by_value, structs_by_reference): Check values according
6653 to targets word size and endianess.
beb998c6 6654
c906108c
SS
6655Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6656
6657 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6658 output.
6659
6660Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6661
6662 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6663 Update test of set args help to match source change.
6664
6665Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6666
6667 * gdb.base/default.exp: Expect help system output to be in
6668 alphabetical order.
6669 * gdb.base/help.exp: Ditto.
6670
6671Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6672
6673 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6674 "i*86-pc-linux-gnu*".
6675 * gdb.base/interrupt.exp: Ditto.
6676 * gdb.base/corefile.exp: Ditto.
6677
6678 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6679 define vxworks when building the testcase.
6680
6681 * gdb.base/ptype.exp: Fix testnames to be unique.
6682 * gdb.base/radix.exp: Ditto.
6683 * gdb.base/term.exp: Ditto.
6684 * gdb.base/whatis.exp: Ditto.
6685 * gdb.c++/classes.exp: Ditto.
6686
6687Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6688
6689 * gdb.base/callfuncs.exp: Fix indentation.
6690
6691 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6692 suppress_flag has been set.
6693 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6694 target feature.
6695
6696Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6697
6698 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6699 the testcase.
6700
6701 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6702 set_debug_traps() and breakpoint().
6703 * gdb.c++/misc.cc (main): Ditto.
6704 * gdb.c++/templates.cc (main): Ditto.
6705 * gdb.c++/virtfunc.cc (main): Ditto.
6706
6707Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6708
6709 * lib/gdb.exp(gdb_step_for_stub): New function.
6710 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6711 exists, reload the executable and do a "continue" instead of
6712 doing a jump.
6713 (runto_main): Use gdb_step_for_stub.
beb998c6 6714
c906108c
SS
6715 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6716 tests to have unique names.
6717 * gdb.base/callfuncs.exp: Ditto.
6718 * gdb.base/commands.exp: Ditto.
6719 * gdb.base/default.exp: Ditto.
6720 * gdb.base/help.exp: Ditto.
6721 * gdb.base/list.exp: Ditto.
6722 * gdb.base/opaque.exp: Ditto.
6723 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6724 similar tests.
beb998c6 6725
c906108c
SS
6726 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6727 * gdb.c++/cplusfuncs.cc: Ditto.
6728 * gdb.c++/virtfunc.cc: Ditto.
6729
6730 * config/monitor.exp: Keep track of the last file we saw, rather
6731 than trying to get the info from gdb.
6732
6733 * gdb.fortran/types.exp: Move comment to previous line.
6734
6735Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6736
6737 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6738 target mode.
6739
6740Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6741
6742 From Bob Manson:
6743 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6744 string from GDB when it connects.
6745
6746 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6747
6748Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6749
6750 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6751 if we can't get a debug format from GDB (we may be testing an
6752 older GDB). Use a 10 second timeout when checking for the format.
6753
6754 * gdb.stabs/weird.exp: Fix quoting.
6755
6756 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6757
6758Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6759
6760 * config/arm-ice.exp: New file.
6761
6762Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6763
6764 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6765 until it has been modified to work with the new testsuite.
6766
99707966 6767 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6768 testcase won't compile, cause all of the testcases in the file to
6769 fail instead.
6770
6771 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6772 (gdb_clear_suppressed): New procedure.
6773 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6774 it contains a positive value.
6775
6776Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6777
6778 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6779
6780 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6781
6782Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6783
6784 * lib/gdb.exp (setup_xfail_format): New function.
6785 (get_debug_format): New function to get debug format.
6786 (debug_format): New global variable to hold last value set
6787 by get_debug_format.
6788 * gdb.base/list.exp: Call get_debug_format and expect some
6789 tests to fail for DWARF 1 and COFF formats.
6790 * gdb.c++/ptype.exp: Ditto.
6791 * gdb.c++/classes.exp: Ditto.
6792 * gdb.c++/cplusfuncs.exp: Ditto.
6793 * gdb.c++/inherit.exp: Ditto.
6794 * gdb.c++/templates.exp: Ditto.
6795 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 6796
c906108c
SS
6797Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6798
6799 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6800 host doesn't have a currently-open connection.
6801
6802 * config/sparclet.exp: Cleanups and fixes to make it generic for
6803 any gdb stub target. Handle cases where gdb doesn't respond when
6804 interrupted in a sane fashion.
6805
6806 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6807 same thing in a totally different way.
6808
6809 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6810 setting "timeout".
6811 (gdb_start): We set the global gdb_prompt variable in
6812 default_gdb_init now.
6813
6814Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6815
6816 * gdb.base/printcmds.exp: Fix "check for floating addition"
6817 regexp to accept results within approx +/- .01 of exact value.
6818 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6819
6820Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6821
6822 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6823 properly.
6824 (gdb_expect): Add optional timeout parameter, and add timeout
6825 value to various calls.
6826 (gdb_suppress_tests): Only give one warning message per group.
6827
6828Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6829
6830 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6831 global variables. Handle getting a value for $timeout more
6832 gracefully.
6833
6834Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6835
6836 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6837 initialize.
6838 (default_gdb_init): New procedure; allow gdb_init to be overridden
6839 by a target configuration file.
6840 (gdb_expect): Pass the timeout to remote_expect.
6841
6842 * config/monitor.exp(gdb_load): Fix typo in regexp.
6843
6844Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6845
6846 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6847
6848Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6849
6850 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6851 here. Call gdb_target_exec before rebooting the target, to make
6852 sure the connection to the target is closed.
6853 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6854 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6855 Also detect "Timeout reading from remote" error.
6856
6857 * config/gdbserver.exp: Pass the executable being loaded to
6858 gdb_target_monitor. Don't call gdb_file_cmd here; let
6859 gdb_target_monitor do it.
6860
6861 * gdb.disasm/hppa.exp: Don't use exec_output.
6862
6863Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6864
6865 * gdb.base/list.exp: If we're debugging a non-native target,
6866 try to set the pc register to point to the start of the
6867 program before doing the first list command.
6868
6869 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6870 test_calls after restarting.
6871
6872 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6873 reloading.
6874
6875 * gdb.base/watchpoint.exp: Fix typo.
6876
6877 * gdb.base/setshow.exp: Check for use_gdb_stub.
6878
6879 * gdb.base/break.exp: Fix continue until exit test for the gdb
6880 stub case.
6881 * gdb.base/langs.exp: Ditto.
6882
6883 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6884 gdb_load_offset. If we weren't given a file to load, figure out
6885 what the current file is and use it.
6886
6887 * config/i386-bozo.exp: New file.
6888
6889Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6890
6891 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6892 feature.
6893
6894 * config/proelf.exp: New entry.
6895
6896Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6897
6898 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6899 of regexps.
6900
6901 * gdb.base/watchpoint.exp: Don't run the test_stepping
6902 tests if gdb can't call functions on the target.
6903
6904 * gdb.base/setshow.exp: Don't run the set prompt tests if
6905 the board has gdb_prompt set.
6906
6907Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6908
6909 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6910 * gdb.base/commands.exp: Likewise.
6911 * gdb.base/setshow.exp: Likewise.
6912
6913Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6914
6915 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6916 feature.
6917
6918 * config/i960.exp: New file.
6919
6920Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6921
6922 * gdb.base/funcargs.exp: Check for gdb,short_int target
6923 feature instead of looking for explicit target triplets.
6924
dc96c6c7 6925Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6926
beb998c6 6927 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6928 "p 123DEADBEEF", to check parse_number.
6929 * top.c: change "to enable to enable" to "to enable" in a couple
6930 of help strings.
6931
6932Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6933
6934 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6935 on the mn10300.
beb998c6 6936
c906108c
SS
6937Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6938
6939 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6940 where the test executable is run with explicit args.
6941 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6942
6943Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6944
6945 * gdb.base/run.c: Use FAKEARGV to build test executable that
6946 does not require a command line arg, since most simulators
6947 don't currently support passing such an arg into the simulated
6948 program.
6949 * gdb.base/commands.exp: Change tests to insert the proper
6950 value as the arg to the first recursive factorial call. Change
6951 compilation line to define FAKEARGV at compile time.
6952
6953Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6954
6955 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6956 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6957 function with watchpoint enabled" test.
6958
6959Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6960
6961 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6962 Don't call gdb_test when the command doesn't return to a gdb prompt.
6963
6964 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6965 "Tests restarted" messages.
6966
6967Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6968
6969 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6970
dc96c6c7 6971Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6972
6973 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6974 for INFO SYMBOL; add help tests for OVERLAY commands.
6975 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6976 add tests for OVERLAY commands
6977 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6978 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6979 * gdb.base/sigall.c: add usestubs code frag
6980 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6981
c906108c
SS
6982Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6983
6984 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6985 failures.
6986 (gdb_stop_suppressing_tests): Note that tests have restarted.
6987
6988Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6989
6990 * config/h8300.exp: New file.
6991
6992Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6993
6994 * gdb.base/setshow.exp: Check for the existence of a
6995 feature, not its value.
6996
6997Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6998
6999 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
7000
7001 * gdb.base/scope.exp: It's now init0(), not init().
7002
7003 * gdb.base/scope0.c: For now, change init() to be init0().
7004
7005 * config/monitor.exp: Use gdb_serial in preference to serial
7006 or netport.
7007
7008 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
7009 and it's not already set.
7010
7011Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
7012
7013 * gdb.base/setshow.exp: Only test the run command if the target
7014 isn't using a stub and if it supports argument passing.
7015
7016Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
7017
7018 * config/udi.exp(gdb_start): Make sure UDICONF is set
7019 properly before starting gdb.
7020
7021Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
7022
7023 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
7024 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
7025 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
7026
7027Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
7028
7029 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
7030 specialized code to reboot the board, use remote_reboot instead.
7031
7032 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
7033
7034 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
7035
7036 * config/monitor.exp: Make sure we disconnect from the target.
7037 Also, try a reboot/reload cycle instead of failing if the
7038 load fails.
7039
7040Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
7041
7042 * gdb.base/default.exp: Don't set match_max.
7043 * gdb.base/help.exp: Ditto.
7044 * gdb.base/list.exp: Ditto.
7045 * gdb.base/signals.exp: Ditto.
7046
7047 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
7048 set, use remote_ld to download the testcase instead of
7049 the GDB loader.
7050
7051Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
7052
7053 * config/vr5000.exp: New file.
7054
7055 * config/monitor.exp(gdb_target_monitor): Add pattern for
7056 "Ending remote" to detect errors in connecting.
7057
7058 * gdb.base/setshow.exp: Add .* within auto language test.
7059
7060 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7061 target feature.
7062
7063 * config/monitor.exp(gdb_load): Check for a failure when loading,
7064 and reboot the board if necessary.
7065
7066 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7067 a set of tests. Remove print.* from the patterns being checked.
7068
7069Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7070
7071 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7072 refer to gdb_spawn_id.
7073
7074 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7075 longer used.
7076 * config/sparclet.exp: Ditto.
7077 * config/sparclet-old.exp: Ditto.
7078 * config/slite.exp: Ditto.
7079 * config/sim.exp: Ditto.
7080 * gdb.base/funcargs.exp: Ditto.
7081
7082 * lib/gdb.exp:Remove references to gdb_spawn_id.
7083 (gdb_expect): Move to remote.exp.
7084
7085Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7086
7087 * config/monitor.exp: Detect the "Couldn't establish connection"
7088 message from GDB.
7089
7090Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7091
7092 * gdb.base/bitfields.exp: Use runto instead of explicit
7093 gdb_run_cmd/gdb_expect sequences.
7094
7095 * gdb.base/break.exp(text_next_with_recursion): Add match for
7096 gdb_expect call.
7097
7098 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7099 We also need to handle the "A program is being debugged already"
7100 prompt from gdb. Use gdb_test to set the baud rate.
7101
7102 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7103 to 20000. Really. I mean it.
7104
7105Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7106
7107 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7108 fails. If suppress_flag is set, skip perror message about not
7109 being able to send to GDB.
7110 (send_gdb): If suppress_flag is set, don't try to send commands to
7111 GDB.
7112 (gdb_expect): If suppress_flag is set, always fail immediately.
7113 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7114 (gdb_init): Call gdb_stop_suppressing_tests.
7115 (default_gdb_exit): Ditto.
7116 (default_gdb_start): Ditto.
7117
7118 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7119 gdb_stop_suppressing_tests as appropriate.
7120 * gdb.base/break.exp: Ditto.
7121 * gdb.base/callfuncs.exp: Ditto.
7122 * gdb.base/commands.exp: Ditto.
7123 * gdb.base/exprs.exp: Ditto.
7124 * gdb.base/funcargs.exp: Ditto.
7125 * gdb.base/list.exp: Ditto.
7126 * gdb.base/recurse.exp: Ditto.
7127 * gdb.base/scope.exp: Ditto.
7128 * gdb.base/structs.exp: Ditto.
7129 * gdb.c++/inherit.exp: Ditto.
7130
7131Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7132
7133 * config/vr4300.exp: New file.
7134
99707966
MC
7135 * gdb.*/*.exp: Call gdb_expect instead of expect.
7136
7137 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
7138
7139Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7140
7141 * lib/gdb.exp(gdb_init): New function.
7142
7143 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7144 for each individual variable set.
7145
7146 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7147 name.
7148
7149 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7150
7151 * gdb.base/scope.exp: Use gdb_test.
7152
7153 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7154 aborting; the testsuite driver will do that for us (see
7155 gdb_finish). Also, use gdb_test in a few more places.
7156
7157Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7158
7159 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7160
7161Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7162
7163 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7164 and "add_tests" are not at the same address.
7165
7166Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7167
7168 * gdb.base/ptype.exp: Use gdb_test.
7169
7170Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7171
7172 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7173 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7174 left in. No longer expect them to fail.
7175
7176 * gdb.stabs/*.mt; Deleted, no longer used.
7177 * gdb.stabs/configure.in: Remove references to target makefile
7178 frags.
7179 * gdb.stabs/configure: Rebuilt.
7180
7181 * gdb.disasm/*.mt: Deleted, no longer used.
7182 * gdb.disasm/configure.in: Remove references to target makefile
7183 frags. Use "sh3.s" as the unique filename for this directory.
7184 * gdb.disasm/configure: Rebuilt.
7185
7186 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7187 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7188 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7189
7190Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7191
7192 * config/udi.exp: Use mondfe,name instead of remote_host.
7193
7194Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7195
7196 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7197 a function with a watchpoint enabled on the mn10200.
7198
7199 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7200 before trying to create it!
7201
7202Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7203
7204 * config/vx.exp: Use hostname instead of netport.
7205
7206 * config/vxworks.exp: New file.
7207
7208 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7209
7210 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7211 gdb before assuming everything worked. Send a ^C if a timeout
7212 occurs.
7213
7214 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7215 $gdb_spawn_id directly.
7216 (gdb_run_cmd): Try _start as well as start. Use the target feature
7217 gdb,start_symbol as the symbol to start from when jumping.
7218
7219Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7220
7221 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7222 redundant) test.
7223
7224 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7225 it doesn't lose for 16bit integer systems.
7226
7227Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7228
7229 * gdb.fortran/types.exp: If the target doesn't support "double"
7230 data types, then expect "real" types to only be 4 bytes.
7231
7232 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7233 call tests if the target doesn't support inferior function calls.
7234
7235 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7236 in printf tests.
7237
7238Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7239
7240 * gdb.base/help.exp: Disable "help set", "help show", and
7241 "help support". Simplify regexp for "help stack".
7242
7243 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7244 to 60 seconds. Temporarily set match_max to 15000 around the
7245 "info copying" test.
7246
7247 * gdb.base/nodebug.exp: Don't try to do an inferior function
7248 call if the target doesn't support them.
7249 * gdb.base/printcmds.exp: Likewise.
7250 * gdb.base/setvar.exp: Likewise.
7251 * gdb.base/structs.exp: Likewise.
7252 * gdb.c++/templates.exp: Likewise.
7253 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7254
7255 * gdb.base/recurse.exp: Enable for the mn10200.
7256
7257 * configure.in: Do configure gdb.stabs directory for *-*-elf
7258 targets.
7259 * configure: Rebuilt.
7260
7261 * gdb.base/break.exp: Check for gdb,noresults before testing
7262 exit status and/or results from the target.
7263 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7264 * lib/gdb.exp: Remove old (now bogus) initialization of
7265 noinferior, noargs, noresults and nosignals.
7266
7267Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7268
7269 * config/sh.exp: New file.
7270
7271 * config/slite.exp: Try to connect multiple times to the board
7272 before rebooting. Only send a "monitor run" if need_monitor_run
7273 is set.
7274
7275 * gdb.base/break.exp: Don't do the "stub continue" test if
7276 the target has gdb_stub set.
7277
7278 * gdb.base/callfuncs.exp: Increase the timeout.
7279
7280 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7281 if the target has gdb,noinferiorio set.
7282
7283 * gdb.base/list.exp: Increase match_max to 10000 characters.
7284
7285 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7286
7287 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7288 target.
7289
7290 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7291
7292Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7293
7294 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7295 trying to delete the copy of gdb. Catch the file delete so we
7296 don't die if the delete fails; also, the file should be copied to
7297 the host, not to the build.
7298
7299Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7300
7301 * lib/gdb.exp(gdb_test): Surround the result pattern with
7302 parenthesis in case it contains multiple regexps separated
7303 with |.
7304
7305 * gdb.base/watchpoint.exp: Use gdb_test.
7306 * gdb.base/default.exp: Ditto.
7307
7308Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7309
99707966 7310 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 7311
c906108c
SS
7312 * gdb.base/scope.exp: Use gdb_test.
7313 * gdb.c++/classes.exp: Ditto.
7314 * gdb.c++/inherit.exp: Ditto.
7315
7316Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7317
7318 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7319 remote_exec instead.
7320 * gdb.base/corefile.exp: Don't be ridiculous.
7321 * gdb.base/*.c: Add missing stub invocations.
7322
7323Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7324
7325 * config/slite.exp: Miscellaneous fixes.
7326
7327 * lib/gdb.exp: Fix runto.
7328
7329 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7330 the target.
7331
7332 * gdb.base/watchpoint.exp: Fix regexp.
7333
7334 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7335 close and wait commands, as the descriptor may now be
7336 invalid. Always call "remote_close host".
7337
7338Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7339
7340 Major rewrite for testsuite revision.
beb998c6 7341
c906108c
SS
7342 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7343 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7344 instead of relying on spawn_id to always contain a valid
7345 spawn id.
7346 (get_compiler_info): New procedure to build the ${binfile}.ci
7347 file, instead of replicating this in N different places.
7348 (gdb_compile): New procedure.
beb998c6 7349
c906108c
SS
7350 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7351 appropriate arguments) instead of compile. Use gdb_test in a lot
7352 more places. Use send_gdb instead of send. Always run gdb_start
7353 at the start of a testcase, as this is no longer done magically.
7354
7355 config/*-gdb.exp: Rename without the -gdb suffix.
7356
7357 config/mips.exp: Use remote_close instead of exit_remote_shell.
7358 config/monitor.exp: Use target_info instead of looking at
7359 baud, timeout, etc.
7360 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7361
7362Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7363
7364 * gdb.c++/templates.exp (test_ptype_of_templates),
7365 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7366 Update expect patterns for destructors and assignment operators
7367 to match corresponding c-typeprint.c changes.
7368 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7369 to destructor breakpoint test, GDB should be able to set the
7370 destructor breakpoint without specifying arguments.
7371
7372Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7373
7374 * gdb.threads/pthreads.exp: Change result for failure to compile due
7375 to lack of pthreads runtime support from an error to simply an
7376 unsupported test, per dejagnu standards.
7377
7378Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7379
7380 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7381 where GDB exits to reduce pattern match time.
7382 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7383
7384 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7385
dc96c6c7 7386Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7387
7388 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7389 * gdb.base/default.exp: ditto.
7390 * gdb.base/nodebug.exp: ditto.
7391 * gdb.base/printcmds.exp: ditto.
7392 * gdb.base/ptype.exp: ditto.
7393 * gdb.base/setvar.exp: ditto.
7394 * gdb.base/structs.exp: ditto.
7395 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7396
7397Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7398
7399 * configure, */configure: Rebuild with autoconf 2.12.
7400
7401Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7402
7403 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7404 use new i*86-pc-linux*-gnu quads.
7405 * gdb.base/corefile.exp: Ditto.
7406 * gdb.base/signals.exp: Ditto.
7407 * gdb.base/sigall.exp: Ditto.
7408 * gdb.base/interrupt.exp: Ditto.
7409
7410 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7411 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7412 RedHat 4.0.
beb998c6 7413
c906108c
SS
7414 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7415 linux. This allows the test case to at least compile on latest
7416 linux, but still not run due to missing the threads runtime library.
7417
7418Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7419
7420 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7421 directory to search gdb directory. Accept and step over conditional
7422 stack alignment code. Consume $prompt in failure cases.
7423 Reset timeout to $oldtimeout instead of some arbitrary value.
7424 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7425 timeout problems with infinite stack backtraces.
7426 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7427 Accept function parameters for linkfunc member.
7428
7429Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7430
7431 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7432 (CXXFLAGS): Remove, unreferenced.
7433 (B_OPTIONS): Add for -B options and add code to initialize with
7434 previous -B options and also add -B option to pick up cross compiled
7435 runtime.
7436 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7437 doing cross compiles.
7438 (target_alias): Declare global.
7439 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7440 to verify that gcc exists in build tree, and if so set CC to that
7441 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 7442
c906108c
SS
7443Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7444
7445 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7446 ptype test for anonymous union. Fixup testcase to match
7447 current gcc debug output.
7448
7449Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7450
7451 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7452 force argument to an unsigned long type.
7453
7454Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7455
7456 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7457 tests and anonymous union print/ptype tests.
7458 * gdb.base/list.exp (test_forward-search): Increase timeout by
7459 5 minutes for the "search extremely long line" case.
7460 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7461 completely optional and that the pass/fail messages use the command as
7462 the message if that third arg is a null string.
7463 (gdb_test_exact): Arrange that a null string pattern means match a
7464 null string output rather than any output, which might include random
7465 errors.
7466 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7467 backtrace test.
7468 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7469 always failing and failure is now exposed by gdb.exp changes.
7470
7471Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7472
7473 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7474 weren't being noted.
7475
7476Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7477
7478 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7479 * gdb.stabs/weird.exp: Remove v_comb xfails.
7480
dc96c6c7 7481Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7482
7483 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7484 list.exp scope.exp watchpoint.exp]
7485 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 7486
dc96c6c7 7487Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7488
7489 * config/monitor.exp: Increase download timeout to 1000 seconds.
7490
dc96c6c7 7491Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7492
7493 * config/m32r.exp: Increase timeout to 120 seconds.
7494
7495Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7496
7497 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7498 and accept older ordering as obsolescent gcc or gdb.
7499 * gdb.c++/templates.exp: Ditto.
7500 * gdb.c++/virtfunc.exp: Ditto.
7501
7502Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7503
7504 * gdb.base/coremaker.c: Add code to mmap some data so we
7505 can check that it ends up in the core file.
7506 * gdb.base/corefile.exp: Add test to read mmapped data
7507 from core file.
7508
dc96c6c7 7509Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7510
7511 * config/m32r.exp: New file.
7512
7513Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7514
7515 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7516 that cflags can contains -gstabs, and work correctly for other tests.
7517
dc96c6c7 7518Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7519
7520 * gdb.base/setshow.exp: New file, tests show and set.
7521 * gdb.base/setshow.c: New file, tests show and set.
7522 * gdb.base/help.exp: Add test for help set|show annotate.
7523 * gdb.base/default.exp: Add test for set|show annotate.
7524
7525Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7526
7527 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7528 errors unique.
7529 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7530 explicitly.
7531
7532Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7533
7534 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7535 and width commands. This is done elsewhere.
7536 * (gdb_start): Don't call gdb_start_sim here. That's already
7537 done in gdb_load. This fixes lots of failures in default.exp.
7538
7539Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7540
7541 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7542 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7543 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7544 in the same we we treat other failures (since it may be an expected
7545 condition), rather than as an error.
7546 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7547 old test format.
7548
7549Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7550
7551 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7552 (distclean maintainer-clean realclean): No need to remove files
7553 twice. Nuke the duplicates.
7554 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 7555 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7556 Remove config.h along with other config files.
7557
7558Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7559
7560 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7561 "p func1 ()" and note that rests of tests are skipped.
7562 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7563 setup_xfails for "print func2::coremaker_local".
7564 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7565 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7566 affected by the previous run test.
7567 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7568 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7569 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7570 "pass int powerset tuple" and "pass modeless int powerset tuple".
7571 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7572 "real write 4" and "real write 8".
7573 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7574 setup_xfails for "print vs1 after tuple assign 2",
7575 "print \$i after tuple assign 2", and
7576 "print vs2 after tuple assign 2".
7577 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7578 meaningful error message and return -1 so the caller can
7579 suppress further tests and avoid a cascade of errors.
beb998c6 7580
c906108c
SS
7581Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7582
7583 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7584 format for printing version.
7585 * gdb.base/default.exp: Ditto.
7586 * gdb.base/interrupt.exp: Fix problem with cascade of
7587 errors if child process dies while calling a function.
beb998c6 7588
c906108c
SS
7589Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7590
7591 * Makefile.in (VPATH): Add
7592 * Makefile.in (Makefile, config.status): Fix rules so things get
7593 remade when necessary.
7594
7595Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7596
7597 * Makefile.in (just-check): Add path to sibling expect dir
7598 to environment variable specified by RPATH_ENVVAR.
7599
7600Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7601
7602 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7603 (just-check): Add shared library paths for libstdc++, tk,
7604 tcl, bfd, and opcodes to the environment variable specified
7605 in RPATH_ENVVAR.
7606 * configure.in: Add support to recognize --enable-shared flag
7607 and generate correct value for RPATH_ENVVAR.
7608 * configure: Regenerated with autoconf.
7609
7610Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7611
7612 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7613 include all osf versions.
7614 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7615 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7616 when target is linux. When failing to build pthreads test
7617 executable, give more meaningful message.
7618 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7619 arg for pthread_create.
beb998c6 7620
c906108c
SS
7621Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7622
7623 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7624 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7625 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7626 and -lpthreads (everybody else).
7627 (test_startup): Fail gracefully if threads are not supported.
7628 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7629 "p/c array_index("abcdef",2)" when not gcc compiled.
7630 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7631 "print func2::coremaker_local" when not gcc compiled.
7632 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7633 "ptype on opaque struct tagname (statically)",
7634 "ptype on opaque struct tagname (dynamically) 1", and
7635 "ptype on opaque struct tagname (dynamically) 2"
7636 for not compiled with gcc.
7637 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7638 backtrace when compiled with gcc.
beb998c6 7639 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7640 than always return success.
7641
7642Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7643
7644 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7645
7646Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7647
7648 * gdb.base/structs.exp: Undo last change.
7649
7650Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7651
7652 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7653 encapsulate all the steps/nexts done during self test, starting
7654 at main, and makes them less sensitive to optimization issues.
7655 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7656 signal handler" test.
7657 * gdb.threads/pthreads.exp: Only run this for native configs.
7658 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7659 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7660 tests.
7661 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7662 for "runto test_calls(void)" test.
beb998c6 7663
c906108c
SS
7664Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7665
7666 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7667 and don't expect address info in breakpoint confirmations.
7668
7669Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7670
7671 * gdb.base/list.exp (test_forward_search): Increase timeout
7672 temporarily by 60 seconds for searching extremely long line,
7673 and then reset to old value when done. Increase expect input
7674 buffer to 10000.
7675
7676Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7677
7678 * gdb.base/list.exp (test_forward_search): Fix to handle very
7679 long source line without overflowing expect's input buffer.
7680
7681Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7682
7683 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7684 "buffer_full".
7685
7686 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7687 "buffer_full".
7688
7689 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7690 "buffer_full".
7691
7692 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7693 "buffer_full".
7694
7695Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7696
7697 * configure.in (configdirs): Add gdb.threads.
7698 * configure: Regenerated with autoconf.
7699 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7700 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7701 * gdb.threads/configure: New, generated with autoconf.
beb998c6 7702
c906108c
SS
7703Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7704
7705 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7706
7707Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7708
7709 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7710 each signal's status in the output of "handle all print".
7711 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7712 the \r\n sequence that immediately precedes the gdb prompt.
7713 * gdb.base/a1-selftest.exp: Save original timeout and restore
7714 after test.
7715
7716Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7717
7718 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7719 symbol.
7720
7721Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7722
7723 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7724
7725Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7726
7727 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7728 timeout by 60 seconds.
7729
7730Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7731
7732 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7733 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7734 error return.
7735
7736Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7737
7738 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7739 gdb initialization, also report how long dejagnu waited. Restore
7740 old timeout before doing error return. Temporarily increase timeout
7741 by 3 minutes to allow for slow startups over heavy NFS use.
7742
7743Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7744
7745 * lib/gdb.exp: Report timeout value for verbosity level 2.
7746 * config/gdbserver.exp: Ditto.
7747 * config/hppro.exp: Ditto.
7748 * config/mips-gdb.exp: Ditto.
7749 * config/monitor.exp: Ditto.
7750 * config/netware.exp: Ditto.
7751 * config/sim-gdb.exp: Ditto.
7752 * config/slite-gdb.exp: Ditto.
7753 * config/udi-gdb.exp: Ditto.
7754 * config/unix-gdb.exp: Ditto.
7755 * config/vx-gdb.exp: Ditto.
7756 * gdb.base/a1-selftest.exp: Ditto.
7757 * gdb.base/a2-run.exp: Ditto.
7758 * gdb.base/break.exp: Ditto.
7759 * gdb.base/corefile.exp: Ditto.
7760 * gdb.base/list.exp: Ditto.
7761 * gdb.base/recurse.exp: Ditto.
7762 * gdb.base/scope.exp: Ditto.
7763 * gdb.base/signals.exp: Ditto.
7764
7765Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7766
7767 * gdb.threads/Makefile.in (docdir): Removed.
7768
7769Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7770
7771 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 7772 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7773 @srcdir@.
beb998c6 7774 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7775 autoconf 2.5 or higher.
7776 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7777
7778Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7779
7780 * configure: Regenerated.
7781 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7782 avoid name clashes with SunOS headers.
7783
7784Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7785
7786 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7787
7788Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7789
7790 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7791 prototype information ends up in the compiler info file.
7792
7793Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7794
7795 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7796 attempting to regenerate it. Eliminate use of a temporary file
7797 and just generate the info file directly. Source it immediately,
7798 for consistency of use.
7799 * gdb.base/corefile.exp: Ditto
7800 * gdb.base/exprs.exp: Ditto.
7801 * gdb.base/funcargs.exp: Ditto.
7802 * gdb.base/langs.exp: Ditto.
7803 * gdb.base/list.exp: Ditto.
7804 * gdb.base/mips_pro.exp: Ditto.
7805 * gdb.base/nodebug.exp: Ditto.
7806 * gdb.base/opaque.exp: Ditto.
7807 * gdb.base/ptype.exp: Ditto.
7808 * gdb.base/scope.exp: Ditto.
7809 * gdb.base/setvar.exp: Ditto.
7810 * gdb.base/signals.exp: Ditto.
7811 * gdb.base/whatis.exp: Ditto.
7812 * gdb.c++/templates.exp: Ditto.
7813 * gdb.c++/virtfunc.exp: Ditto.
7814 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7815 whether or not to add -lstdc++ to the compile command line args.
7816
7817Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7818
7819 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7820 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7821 Increase timeout, a lot of single stepping might be needed if the
7822 target has no hardware watchpoints.
7823
7824Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7825
7826 * gdb.base/break.exp: Ignore compiler warnings when compiling
7827 break.c.
7828 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7829 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7830 from remote-sim.
7831 * gdb.base/exprs.exp: Add h8300 xfails.
7832 * gdb.base/funcargs.exp: Likewise.
7833 * gdb.base/nodebug.exp: Likewise.
7834 * gdb.base/printcmds.exp: Likewise.
7835 * gdb.base/ptype.exp: Likewise.
7836 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7837 h8300 xfails.
beb998c6 7838 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7839 on the h8300.
7840 * gdb.base/funcargs.c: Explicitly make last constant argument to
7841 call_after_alloca_subr an unsigned long type.
7842 * gdb.base/return.c: Include stdio.h.
7843
7844Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7845
7846 * config/abug.exp: New file for the older Motorola Bug monitor
7847 that runs on the mvme13x series VME boards.
7848 * config/monitor.exp: Use the new config array for target settings
7849 if they exist.
7850
7851Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7852
7853 * sim-gdb.exp: Make the SH simulator allocate less space when
7854 it is targeted.
7855
7856Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7857
7858 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7859 test.
7860
7861Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7862
7863 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7864 "rs6000-*-*" for "list function in include file" when gcc compiled.
7865 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7866 for "p ctable1[120]".
7867 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7868 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7869 Remove setup_xfail for "rs6000-*-*" for
7870 "print 'scope0.c'::filelocal before run".
7871 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7872 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7873 since some compilers don't allow both options to be given
7874 on the same command line. Create object file and move it.
beb998c6 7875
c906108c
SS
7876Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7877
7878 * gdb.base/corefile.exp: Always regenerate the core file, since
7879 we always regenerate the coremaker program. Detect special case
7880 where registers cannot be read from core file.
beb998c6 7881
c906108c
SS
7882Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7883
7884 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7885 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7886 * gdb.c++/templates.exp: Only match on basename of file since
7887 some formats like xcoff don't encode directory information.
7888 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7889 and rs6000 AIX xcoff targets.
7890 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7891 * configure: Regenerate.
7892 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7893 here, rather than in distclean.
beb998c6 7894
c906108c
SS
7895Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7896
7897 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7898 defined, and use it to compile the test case with -O2. The
7899 native compilation still uses no optimization.
7900 * gdb.base/mips_pro.c: Remove inline assembly code since
7901 it is compiled PIC by default, which results in assembler
7902 warnings that make the testsuite think the compilation
7903 was unsuccessful.
7904
7905Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7906
7907 * gdb.c++/misc.exp: Add note to message for
7908 "print s.a for foo struct" that this is a known gcc 2.7.2
7909 and earlier bug.
7910
7911Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7912
7913 * gdb.base/break.exp: Fix pattern for matching "Delete all
7914 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7915 setup_xfail for deleting all breakpoints test. Fix various
7916 timeout messages to include "(timeout)".
7917 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7918 for "p t_float_values2(3.14159,float_val2)".
7919 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7920 for "continue to call2g" when gcc compiled.
7921 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7922 "up to foo in langs.exp", "show language at foo in langs.exp",
7923 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7924 and "show language at fsub in langs.exp".
7925 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7926 "list line 1 in include file", "list message for lines past EOF",
7927 "list function in include file", "list list0.h:foo", and
7928 "list filename:function; nonexistant function".
7929 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7930 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7931 and "ptype t_char_array" to be for native cc only.
beb998c6 7932
c906108c
SS
7933Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7934
beb998c6 7935 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7936 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7937 "print func2::coremaker_local", and "backtrace in corefile.exp".
7938
7939Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7940
7941 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7942 "bt in signals.exp". This problem only appears when running
7943 the testsuite, and then only intermittently.
7944
7945Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7946
7947 * gdb.base/return.exp (return_tests): Differentiate between
7948 two tests of continuing.
7949
7950Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7951
7952 * */Makefile.in (maintainer-clean): Remove config.log.
7953 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7954 * gdb.c++/Makefile.in (PROGS): Add inherit.
7955 (clean): Remove *.ci.
7956
7957Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7958
7959 * gdb.c++/misc.cc: Add test code from Mike Stump.
7960 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7961
7962Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7963
7964 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7965 to "alpha-*-osf2*" and add comment.
7966 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7967 setup_xfail for "step over execarg initialization" and
7968 "step over corearg initialization".
7969 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7970 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7971 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7972 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7973 "print func2::coremaker_local", and "backtrace in corefile.exp".
7974 * gdb.base/signals.exp: Build and source signals.ci.
7975 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7976 to be for gcc only.
7977 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7978
c906108c
SS
7979Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7980
7981 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7982 Feb 3 procfs.c change.
7983
7984Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7985
7986 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7987
7988Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7989
7990 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7991 from dejagnu's apparent default of 10 seconds, which gives random
7992 results when running the tests over NFS on moderately loaded systems.
7993 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7994
7995Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7996
7997 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7998 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7999 result reports.
8000
8001Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
8002
8003 * configure.in (CY_AC_PATH_TCLH): Remove.
8004 * configure: Regenerate.
8005
8006Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
8007
8008 * gdb.c++/Makefile.in (clean): Add missing '{'.
8009
8010Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
8011
8012 * lib/gdb.exp: Provide a default value for noinferior.
8013
8014 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
8015 Load libgloss.exp.
8016
8017Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
8018
8019 * gdb.disasm/hppa.exp: Compile directly into an executable, use
8020 the executable, not the .o to run the tests from.
8021
8022Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
8023
8024 * gdb.base/break.exp: Don't test for program exit or exit status
8025 if $noresults if nonzero.
8026 * gdb.base/langs.exp: Likewise.
8027 * gdb.base/watchpoint.exp: Likewise.
8028
8029 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
8030 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
8031 trying to compile the testcase.
8032
8033Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
8034
8035 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
8036 * gdb.base/signals.exp (continue to handler): Likewise.
8037
8038Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
8039
8040 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
8041
8042 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
8043
8044Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
8045
8046 * gdb.base/corefile.exp: Recognize "not found" as failure
8047 when trying to determine if a core file was generated.
8048 If no core file was generate the first time, try again without
8049 the ulimit -c to work around braindamaged shells.
8050
8051Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
8052
8053 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
8054 [] tests with "test" and enclose string in quotes.
8055 * gdb.stabs/configure: Rebuild
beb998c6 8056
c906108c
SS
8057Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
8058
8059 Changes in sync with expect:
8060 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8061 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8062 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8063 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8064 argument to AC_REQUIRE.
8065 * configure: Regenerated.
8066
8067Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8068
8069 * gdb.base/corefile.exp: When generating a core, discard any
8070 error messages about ulimit not found and the "core dumped"
8071 message from the shell that runs the coredumper.
8072
8073Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8074
8075 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8076
8077 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8078 which sed script to run. Expect failure for v_comb test
8079 on PA targets too.
beb998c6 8080
c906108c
SS
8081Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8082
8083 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8084 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8085
8086Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8087
8088 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8089 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8090 "sparc-sun-solaris*" xfails for "p v_comb".
8091 * lib/gdb.exp (default_gdb_start): Fix typo.
8092 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8093 messages to not include the full program name that caused
8094 the core dump since some systems (such as solaris) apparently
8095 truncate this path to about 80 characters.
8096 When generating a core file first try increasing the core file
8097 size limit to unlimited since some systems may default it to
8098 zero, and it is harmless to try it. Move the test for failing
8099 to generate a core file to where it will actually get executed.
8100 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8101 new gdb result from g++ debug info improvements and make old
8102 pattern obsolescent. Also account for size_t differences
8103 (may be int or long).
8104 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8105 initialization before function call is placed in the delay slot
8106 and thus appears to be skipped over by commands such as "next".
8107
8108Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8109
8110 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8111
8112Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8113
8114 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8115 input source file; fix code to compile test to deal with this
8116 convention.
8117 * gdb.c++/*.exp: Likewise.
8118
8119Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8120
8121 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8122 "bt in signals.exp".
8123
8124Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8125
8126 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8127 "step over execarg initialization" and
8128 "step over corearg initialization".
8129
8130Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8131
8132 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8133 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8134
8135Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8136
8137 From Rob Savoye (rob@poseidon.cygnus.com)
8138 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8139 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8140 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8141 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8142 configure.in}: Major reworking for autoconfig.
8143 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8144 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8145 New files.
8146 * config/unix-gdb.exp: Make GDB global.
8147 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8148 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8149 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8150 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8151 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8152 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8153 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8154 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8155 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8156 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8157 pr-8136.exp, result.exp, string.exp, tuples.exp},
8158 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8159 to returns as necessary, arrange for test to compile own testcase
8160 executable.
8161 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 8162
c906108c
SS
8163Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8164
8165 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8166 clear_xfail at end of test which might not call either pass or fail.
8167 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8168 "backtrace through signal handler".
8169
8170Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8171
8172 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8173 continuing from a job control stop signal.
8174 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8175
8176Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8177
8178 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8179 * gdb.base/corefile.exp: Likewise.
8180 * gdb.base/funcargs.exp: Likewise.
8181
8182Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8183
8184 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8185 * config/monitor.exp: Add support for setting baud rate.
8186
8187Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8188
8189 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8190 i*86-*-linux* xfails for "backtrace through signal handler".
8191 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8192 "print func2::coremaker_local".
8193 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8194 alpha-dec-osf2* xfail for
8195 "delete all breakpoints when none".
8196
8197Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8198
8199 * gdb.base/break.exp: Change test that deletes all breakpoints
8200 when no user breakpoints are installed. A post 4.15 change
8201 causes gdb to no longer prompt in this case.
8202
8203Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8204
8205 * gdb.base/return.exp (return_tests): Change xfail for test
8206 "correct value returned double test" to stop xfailing at
8207 Solaris 2.5. Apparently the bug has been fixed.
8208
8209Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8210
8211 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8212 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8213
8214Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8215
8216 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8217 * gdb.disasm/hppa.s: Corresponding changes.
8218
8219Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8220
8221 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8222 makefile fragment.
8223 * config/mt-hpux: Deleted.
8224
8225Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8226
beb998c6 8227 * Many files: When warning about suppressed tests due to a
c906108c
SS
8228 nonexistant test binary, avoid incrementing the warning count.
8229
8230Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8231
8232 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 8233
c906108c
SS
8234Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8235
8236 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8237 "sparc-*-solaris2*".
8238
8239Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8240
8241 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8242 Add global and local variables and initialize them.
8243 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8244 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8245 extracts the file name and terminating signal from the core file.
8246 * TODO: Remove note about tests for correct mapping of corefile.
8247 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8248 from optimizing it away.
8249 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8250 handles common blocks.
8251
8252Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8253
8254 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8255 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8256
8257Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8258
8259 * Makefile.in (maintainer-clean): New target, synonym for
8260 realclean.
8261 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8262 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8263 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8264 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8265 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8266 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8267
8268Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8269
8270 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8271 xfails when not gcc compiled for "print foo::funclocal".
8272 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8273 "print foo::funclocal at foo",
8274 "print 'scope1.c'::foo::funclocal at foo",
8275 "print foo::funclocal_bss at foo",
8276 "print 'scope1.c'::foo::funclocal_bss at foo",
8277 "print foo::funclocal_ro at foo",
8278 "print 'scope1.c'::foo::funclocal_ro at foo",
8279 "print bar::funclocal at foo" and
8280 "print 'scope1.c'::bar::funclocal at foo".
8281 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8282 gcc compiled for "print foo::funclocal at bar".
8283 Expand all messages to ensure that they identify that
8284 the test is at bar().
8285 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8286 gcc compiled for:
8287 "ptype on opaque struct pointer (statically)",
8288 "ptype on opaque struct tagname (statically)",
8289 "ptype on opaque struct pointer (dynamically) 1",
8290 "ptype on opaque struct tagname (dynamically) 1",
8291 "ptype on opaque struct pointer (dynamically) 2" and
8292 "ptype on opaque struct tagname (dynamically) 2
8293 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8294 gcc compiled for:
8295 "p datalocal"
8296 "whatis datalocal",
8297 "ptype datalocal",
8298 "p bsslocal",
8299 "whatis bsslocal", and
8300 "ptype bsslocal".
8301 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8302 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8303 when not gcc compiled.
8304 * gdb.base/funcargs.exp (float_and_integral_args): Add
8305 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8306 compiled.
8307 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8308 "backtrace from call6a" when not gcc compiled.
8309 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8310 "backtrace from call7a" when not gcc compiled.
8311 * gdb.base/callfuncs.exp (do_function_calls):
8312 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8313 "p t_char_array_values(char_array_val2,char_array_val1)",
8314 "p t_char_array_values(char_array_val1,char_array_val2)",
8315 "p t_char_array_values("carray 1","carray 2")",
8316 "p t_char_array_values("carray 1",char_array_val2)",
8317 "p t_char_array_values(char_array_val1,"carray 2")",
8318 "p sum_args(1,{2})",
8319 "p sum_args(2,{2,3})",
8320 "p sum_args(3,{2,3,4})",
8321 "p sum_args(4,{2,3,4,5})"
8322 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8323 "backtrace in corefile.exp" when not gcc compiled.
8324
8325Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8326
8327 * gdb.base/signals.exp: Rewrite `handle all print' test as
8328 a procedure. Accept blanks or TABs as whitespace, increase
8329 timeout and expect input buffer size for the large output
8330 from the command. Remove "i*86-*-bsdi2.0" xfail.
8331
8332Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8333
8334 * gdb.base/setvar.exp: Add new testcases for truncation when
8335 assigning invalid values to bitfields.
8336
8337Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8338
beb998c6 8339 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
8340 mips-sgi-irix* xfail for
8341 "call inferior func with struct - returns char *"
8342 and fix test so that an optional (unsigned char *) cast is
8343 accepted in the result.
8344
8345Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8346
8347 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8348 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8349 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8350 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8351 that accidentally got checked in.
8352
8353Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8354
beb998c6 8355 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8356 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8357 compiled test.
8358 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8359 Add mips-sgi-irix5* xfail for not gcc compiled.
8360 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8361 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8362 "p top", "whatis top", "p middle", and "whatis middle".
8363 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8364 "whatis signed char" for not gcc compiled.
8365 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8366 "set variable signed char=-1 (-1)" and
8367 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8368 * gdb.base/funcargs.exp (float_and_integral_args):
8369 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8370 Add mips-sgi-irix* xfail when not gcc compiled for
8371 "continue to call2b".
8372 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8373 "continue to call2g".
8374 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8375 "backtrace from call6a"
8376 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8377 "backtrace from call7k".
8378 Add mips-sgi-irix5* xfail when not gcc compiled for
8379 "backtrace from call7a".
8380 (localvars_after_alloca): Fix gdb_test cmds for
8381 "print * after runto ...".
8382 Remove rs6000-*-* xfails for
8383 "print i after runto localvars_after_alloca" and
8384 "print l after runto localvars_after_alloca"
8385 for all compilers.
8386 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8387 when not compiled with gcc, for:
8388 "print signed char == (minus)",
8389 "print signed char != (minus)",
8390 "print signed char < (minus)",
8391 "print signed char > (minus)".
8392 * gdb.base/callfuncs.exp (do_function_calls):
8393 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8394 "call inferior func with struct - returns char *".
beb998c6 8395 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8396 "correct value returned double test" to include Solaris 2.4.
8397 * gdb.base/funcargs.exp (float_and_integral_args):
8398 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 8399
c906108c
SS
8400Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8401
8402 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8403 enumeration bitfields if compiling with GNU C.
8404 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8405 to empty' prompt.
8406
8407Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8408
8409 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8410 test for PRO targets.
8411
8412 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8413 breakpoints in the inferior at any given time by making
8414 two groups of breakpoints for call2*, call6* and call7*
8415 tests.
8416
8417Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8418
8419 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8420 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8421 from optimizing it away.
8422 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8423 "call inferior func with struct".
8424
8425Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8426
8427 * configure.in: Only configure gdb.chill for particular targets.
8428
8429Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8430
8431 * gdb.base/Makefile.in: Add action to .c.o transformation
8432 rule that generates a .ci file for each .o file and remove
8433 explicit .c.o rules except for callfuncs.o.
8434 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8435 generates a .ci file for each .o file and remove explicit
8436 .cc.o rules.
8437 (clean): Remove *.tmp *.ci files.
8438 (EXECUTABLES): Remove templ-info.exp.
8439 * gdb.base/compiler.c: New file.
8440 * gdb.c++/compiler.cc: New file
8441 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8442 Change rs6000-*-* xfail for
8443 "print 'scope0.c'::filelocal_ro" and
8444 "print 'scope1.c'::filelocal" and
8445 "print 'scope1.c'::filelocal_bss" and
8446 "print 'scope1.c'::filelocal_ro" and
8447 "print 'scope1.c'::foo::funclocal" and
8448 "print 'scope1.c'::foo::funclocal_ro" and
8449 "print 'scope1.c'::bar::funclocal" and
8450 "print 'scope0.c'::filelocal_ro" and
8451 "print 'scope1.c'::filelocal at foo" and
8452 "print 'scope1.c'::filelocal_bss at foo" and
8453 "print 'scope1.c'::filelocal_ro at foo" and
8454 "print 'scope1.c'::foo::funclocal at foo" and
8455 "print 'scope1.c'::foo::funclocal_bss at foo" and
8456 "print 'scope1.c'::foo::funclocal_ro at foo" and
8457 "print 'scope1.c'::bar::funclocal at foo" and
8458 "print 'scope0.c'::filelocal_ro" and
8459 "print 'scope1.c'::filelocal" and
8460 "print 'scope1.c'::filelocal_bss" and
8461 "print 'scope1.c'::filelocal_ro" and
8462 "print 'scope1.c'::foo::funclocal" and
8463 "print 'scope1.c'::foo::funclocal_bss" and
8464 "print 'scope1.c'::foo::funclocal_ro" and
8465 "print 'scope1.c'::bar::funclocal" and
8466 "print 'scope1.c'::bar::funclocal_bss"
8467 to only be xfail'd when not compiled with gcc.
beb998c6 8468 Add rs6000-*-* xfail for
c906108c
SS
8469 "print 'scope0.c'::filelocal_bss before run"
8470 when compiled with gcc.
8471 (test_at_main): Add rs6000-*-* xfail for
8472 "print filelocal_ro in test_at_main"
8473 when compiled with gcc.
8474 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 8475 Add rs6000-*-aix* xfail for
c906108c
SS
8476 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8477 "ptype t_char_array", not compiled with gcc.
8478 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8479 xfail for "list foo (in include file)" when gcc compiled.
8480 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8481 (integral_args): Add rs6000-*-* xfail for
8482 "run to call0a" if not compiled with gcc.
8483 (unsigned_integral_args): Add rs6000-*-* xfail for
8484 "run to call1a" if not compiled with gcc.
8485 (float_and_integral_args): Add rs6000-*-* xfail for
8486 "run to call2a" if not compiled with gcc and for
8487 "continue to call2b" for any compiler.
8488 Add rs6000-*-* xfail to
8489 "print f1 after run to call2a" for gcc compiled.
8490 (discard_and_shuffle): Add rs6000-*-* xfail for
8491 "run to call6a".
8492 (shuffle_round_robin): Add rs6000-*-* xfail for
8493 "backtrace from call7a" if not compiled with gcc.
8494 Add rs6000-*-* xfail for
8495 "backtrace from call7b" if compiled with gcc.
8496 (call_after_alloca): Add rs6000-*-* xfail for
8497 "print c in call_after_alloca" and
8498 "print s in call_after_alloca" and
8499 "backtrace from call_after_alloca_subr"
8500 if not compiled with gcc.
8501 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8502 "print c in localvars_in_indirect_call" and
8503 "print c in localvars_in_indirect_call" and
8504 "backtrace in indirectly called function" and
8505 "stepping into indirectly called function"
8506 if not compiled with gcc.
8507 (localvars_after_alloca): Add rs6000-*-* xfail for
8508 "print c after runto localvars_after_alloca" and
8509 "print s after runto localvars_after_alloca" and
8510 "print i after runto localvars_after_alloca" and
8511 "print l after runto localvars_after_alloca"
8512 for all compilers.
8513 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8514 than whatis-info.exp.
8515 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8516 than opaque-info.exp.
8517 Setup rs6000-*-* xfail for
beb998c6 8518 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8519 "ptype on opaque struct pointer (dynamically)" when
8520 not compiled with gcc.
8521 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8522 rather than callf-info.exp.
8523 (do_function_calls): Add clear_xfail for rs6000-*-* for
8524 "p t_float_values2(3.14159,float_val2)". Seems to work
8525 fine there, both with xlc and gcc. Need to find out what
8526 it is doing right and fix other platforms.
8527 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8528 "call inferior func with struct - returns int",
8529 "call inferior func with struct - returns long",
8530 "call inferior func with struct - returns float",
8531 "call inferior func with struct - returns double",
8532 "call inferior func with struct - returns char *",
8533 but only if not gcc compiled (presumes xlc compiled).
8534 Change rs6000-*-* xfails for
8535 "call inferior func with struct - returns char" and
8536 " call inferior func with struct - returns short" to only
8537 xfail if not using gcc.
8538 (clean mostlyclean): Remove *.ci and *.tmp files.
8539 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8540 than templ-info.exp.
8541 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8542 Add rs6000-*-* xfail for "up to foo in langs.exp"
8543 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8544 when not gcc compiled.
beb998c6 8545
c906108c
SS
8546Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8547
8548 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8549 * gdb.base/corefile.exp: Likewise.
8550 * gdb.base/list.exp: Likewise.
8551 * gdb.base/scope.exp: Likewise.
8552 * gdb.base/siganls.exp: Likewise.
8553
8554 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8555 compiler output.
8556 * gdb.base/whatis.exp: Likewise.
8557
8558Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8559
8560 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8561 failure (opcode table has been fixed to match reality).
8562
8563Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8564
8565 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8566 "call inferior func with struct - returns char",
8567 "call inferior func with struct - returns short"
8568
8569 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8570 "print 'scope0.c'::filelocal at main",
8571 "print 'scope0.c'::filelocal_bss in test_at_main",
8572 "print 'scope0.c'::filelocal at foo",
8573 "print 'scope0.c'::filelocal_bss in test_at_foo",
8574 "print 'scope0.c'::filelocal at bar",
8575 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 8576
c906108c
SS
8577 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8578 in source file 1". This bug seems to have been fixed with both
8579 gcc and native cc (was native assembler bug?).
8580
8581Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8582
8583 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8584 "backtrace through signal handler" to "i*86-*-sysv4*".
8585 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8586 continue" case. Add "known SVR4 bug" to fail message.
8587 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8588 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8589 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8590 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8591 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8592 "up to foo in langs.exp", "show language at foo in
8593 langs.exp", "up to cppsub_ in langs.exp", "show
8594 language at cppsub_ in langs.exp", "up to fsub in
8595 langs.exp", and "show language at fsub in langs.exp".
8596 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8597 "bactrace in corefile.exp".
8598 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8599 "call inferior function with struct - returns float" and
8600 "call inferior function with struct - returns double".
beb998c6 8601
c906108c
SS
8602Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8603
8604 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8605 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8606 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8607 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8608
8609Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8610
8611 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8612 (or overriden) "CHILL" macro rather then bare "gcc".
8613 Also look for ../../gcc/xgcc since that is what we will
8614 actually need, not "Makefile". Remove following assignment
8615 of CHILL to CHILL_FOR_TARGET because that results in
8616 recursive definition.
8617
8618Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8619
8620 * gdb.base/corefile.exp: Change xfail for backtrace in
8621 corefile.exp from linuxaout to all linux.
8622 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8623 cases where we miss the breakpoint at the signal handler
8624 for some reason. Setup xfail for linuxoldld/linuxaout and
8625 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8626 hitting SIGURG breakpoint.
8627 * gdb.base/signals.exp: Setup xfail for "next" acting like
8628 continue to add linuxoldld. Setup xfail for all linux for
8629 "next to handler in signals_tests_1", "backtrace in
8630 signals_tests_1", "continue to func1", "pass SIGUSR1",
8631 and continue to handler".
8632
8633Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8634
8635 * Update all FSF addresses except those in COPYING* files.
8636
8637Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8638
8639 * gdb.base/a2-run.exp: Change messages to be more explicit about
8640 the status of args, and quote binfile in results.
8641
8642Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8643
8644 * gdb.base/callfuncs.exp: Add tests for passing structs to
8645 inferior functions and return various types.
8646 * gdb.base/callfuncs.c: Add functions to receive a struct
8647 and return a member of the struct, in various types.
8648
8649Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8650
8651 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8652
8653Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8654
8655 * config/vxworks29k.exp: New file, sources vxworks.exp.
8656
8657Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8658
8659 * config/gdbremote.exp: New file. Testing framework using
8660 gdbserver.
8661
8662Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8663
8664 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8665 "call function when asleep" and "send end of file".
8666 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8667 for "backtrace in corefile.exp".
8668 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8669 for "backtrace through signal handler".
8670 * gdb.base/corefile.exp: Make sure we actually generate a core file
8671 before trying the core tests. Some systems allow the user to suppress
8672 generation of core files and default to that (linux for example).
8673 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8674 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8675
8676Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8677
8678 * gdb.threads: New directory with some crude multi-threaded
8679 gdb tests (step.exp and step2.exp).
8680 * config/mt-lynx (STEP_EXECUTABLE): Define.
8681 (THREADFLAGS): Define.
8682
8683Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8684
8685 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8686
8687 * gdb.base/signals.exp: Disable whole file for lynx until
8688 further notice.
8689
8690 * gdb.base/signals.exp: xfail test where "next" acts like
8691 "continue" for lynx.
8692
8693 * gdb.base/interrupt.exp: xfail test for calling function while
8694 inferior is asleep for lynx.
8695
8696 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8697 than one cr-lf after each command.
8698
8699Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8700
8701 * configure.in: Reinstate setting of stabsdirs variable, fix
8702 typo in setting up configdirs for native builds.
8703
8704 * gdb.base/return.exp: Fix typo in return double test.
8705 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8706 compiler from optimizing them away.
8707
8708Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8709
8710 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8711 sequences to be echo'd by gdb when using gdb_test.
8712 * gdb.chill/chexp.exp: Likewise.
8713 * gdb.fortran/exprs.exp: Likewise
8714
8715Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8716
8717 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8718 after the inferior gdb has started.
8719
8720 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8721 after each command.
8722 * gdb.base/funcargs.exp: Likewise.
8723 * gdb.base/gdbvars.exp: Likewise.
8724 * gdb.base/interrupt.exp: Likewise.
8725 * gdb.base/list.exp: Likewise.
8726 * gdb.base/watchpoint.exp: Likewise.
8727 * gdb.c++/demangle.exp: Likewise.
8728 * gdb.c++/inherit.exp: Likewise.
8729 * gdb.chill/chexp.exp: Likewise.
8730 * gdb.fortran/exprs.exp: Likewise.
8731
8732 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8733 test if we can't handle IO to/from the inferior.
8734
8735 * gdb.c++/misc.exp: Always check for a program already being
8736 started after sending a "run" command to gdb.
8737
8738 * gdb.base/twice.exp: Start with a fresh gdb.
8739
8740 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8741 only depend on gdb's expression code, not the chill runtime.
8742
8743 * gdb.base/return.c: Put return values into variables so we
8744 can have gdb print them rather than depending on the program
8745 to print them.
8746 * gdb.base/return.exp: Corresponding changes.
8747
8748 * lib/gdb.exp: Provide default value for noinferiorio.
8749 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8750 the inferior.
8751
8752 * gdb.base/break.exp: Always check for a program already being
8753 started after sending a "run" command to gdb.
8754 (text_next_with_recursion): Don't check the output from the
8755 program's printf statement. Instead just make sure the program
8756 exited.
8757
8758 * gdb.base/commands.exp: Protect tests which need arguments with
8759 $noargs conditionals.
8760
8761Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8762
8763 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8764 of structure member arrays to match gdb/valops.c:value_addr change.
8765
8766Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8767
8768 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8769 cases.
8770
8771Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8772
8773 * configure.in (configdirs): Remove gdb.chill from default list
8774 of subdirs and then add it back in only if doing a native build.
8775 The current chill compiler does not yet work in any cross build.
8776 * Revert all signal changes from Jul 6.
8777 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8778 for sh-hms targets, allowing these tests to link, with no other
8779 changes. Testing is suppressed by setting "nosignals" in site.exp.
8780
8781Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8782
8783 * configure.in (signaldirs): Define and add to configdirs for all
8784 targets except some specific ones that are known to not support signals.
8785 Also clean up formatting.
8786 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8787 (signals, sigall): Remove rules to build.
8788 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8789 Moved to new gdb.signals directory.
8790 * gdb.signals: New test directory.
8791 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8792 signals.c signals.exp}: New or moved files.
8793
8794Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8795
8796 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8797
8798Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8799
8800 * gdb.base/return.exp: Xfail `return double' test failure
8801 on at least Solaris 2.3 and handle future/past versions on
8802 a case by case basis as appropriate. Also update message
8803 to include i*86 failures.
8804
8805Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8806
8807 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8808
8809 * lib/gdb.exp: Fix comment which erroneously identified
8810 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8811 gdb_file_cmd not gdb_load).
8812 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8813
8814 * gdb.base/setvar.exp: Make test names consistent between pass and
8815 fail cases. Use gdb_test more.
8816
8817Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8818
8819 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8820
8821Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8822
8823 * gdb.base/help.exp: Fix expected help string for `show commands'.
8824
8825Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8826
8827 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8828
8829 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8830 of a text section.
8831
8832Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8833
8834 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8835 that loop eventually terminates. Fix Connection refused logic so
8836 that testsuite will expire nicely.
8837
8838Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8839
8840 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8841 config/rom68k.exp: New tcl glue for the appropriate monitors.
8842 These all just end up calling monitor.exp.
8843 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8844 refused' by retrying. Cleanup some timeout issues.
8845 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8846 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8847 callers don't have to set/restore global timeout variable.
8848
8849 * The following set of changes centralizes management of the global
8850 timeout variable. This way, it can be set in one target dependent
8851 place instead of dozens of places scattered throughout the test suite.
8852 If you need to lengthen a timeout, then you should either set timeout
8853 in one of the config/{target}.exp files, or multiply it by a factor.
8854 Setting it to an absolute value is always going to lose for some
8855 targets.
8856 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8857 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8858 * gdb.base/funcargs.exp: Don't set timeout.
8859 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8860 * gdb.base/printcmds.exp (test_print_string_constants
8861 test_print_array_constants): Don't set timeout.
8862 * gdb.base/ptype.exp: Don't set timeout.
8863 * gdb.base/recurse.exp: Don't set timeout.
8864 * gdb.base/return.exp: Don't set timeout.
8865 * gdb.base/watchpoint.exp: Don't set timeout.
8866 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8867 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8868
8869Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8870
8871 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8872
8873Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8874
8875 * lib/gdb.exp: Disable chill tests for irix5.
8876
8877Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8878
8879 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8880 each test pass or fail.
8881
8882Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8883
8884 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8885 xlc not gcc.
8886
8887Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8888
8889 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8890
8891Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8892
8893 * config/est.exp: Fix copyright and comments. Remove dead code.
8894 Use targetname, serialport and baud variables instead of fixed
8895 constants.
8896 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8897 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8898
8899Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8900
8901 * gdb.base/watchpoint.exp: Don't run
8902 test_watchpoint_triggered_in_syscall for sunos.
8903
8904Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8905
8906 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8907 they don't seem to exist. Do include stdio.h.
8908
8909Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8910
8911 * gdb.base/a1-selftest.exp: Add alpha xfail.
8912
8913Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8914
8915 * gdb.base/watchpoint.c (main): Prompt before calling read().
8916 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8917 Revise accordingly. Remove cruft about sending "123" several
8918 times, until it gets noticed. Clean up the "print buf[0]" stuff
8919 so that it passes or fails, and waits for prompts in the usual way.
8920
8921Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8922
8923 * gdb.base/recurse.exp: Fix comment.
8924
8925 * TODO: Remove item about printing variables in nodebug.exp. Add
8926 item about enabling tests which are only run on some targets.
8927
8928 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8929 fail, make test names unique, use new gdb_test convention
8930 regarding pattern, use gdb_test more, etc.).
8931
8932 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8933 fail, make test names unique, etc.).
8934
8935Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8936
8937 * gdb.base/nodebug.c: Change return type of top and middle to
8938 short.
8939 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8940 are fixed by the recent mdebugread.c changes. Allow `short ()'
8941 as type for top and middle.
8942
8943Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8944
8945 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8946 nearly as I can tell, the whole thing was an accident in Stu's
8947 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8948 to replace a send/expect pair with gdb_test, but ended up only
8949 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8950 of 30 Mar 1995 took care of it, but left this vestigial comment
8951 which I am now nuking.
8952
8953Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8954
8955 * gdb.base/break.exp: Look for different line number for
8956 breakpoint at main depending on usestubs.
8957
8958Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8959
8960 * gdb.base/list.exp: Adjust some alternate expect patterns to
8961 match recent list0.c change. Add alternate expect pattern for
8962 output from `list default lines around main' for optimizing
8963 compilers.
8964
8965Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8966
8967 * lib/gdb.exp: If nosignals is not set, set it to 0.
8968
8969Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8970
8971 * config/slite-gdb.exp: Responds to load symbol table prompt.
8972 * gdb.base/break.exp: Adjust line number, fix rerun.
8973 * gdb.base/langs0.c: Add #ifdef usestubs.
8974
8975Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8976
8977 * gdb.base/list.exp: Adjust line contents after adding new lines in
8978 list0.c. Also fix a syntax error.
8979
8980 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8981 * gdb.base/break.exp: ditto.
8982 * gdb.base/list.exp: ditto.
8983 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8984 * gdb.base/run.c: ditto.
8985 * gdb.base/list0.c: ditto.
8986 * gdb.base/funcargs.c: ditto.
8987
8988Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8989
8990 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8991 $targetname, $serialport and $baud instead of hardwired variables.
8992 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8993 target doesn't support signals.
8994
8995Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8996
8997 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8998
8999Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9000
9001 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
9002 Don't rely on the value of an auto variable before it has been
9003 initialized. Use gdb_test more.
9004
9005Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9006
9007 * lib/gdb.exp (default_gdb_version): A version number must start
9008 with a digit, but other than that contains all characters up to
9009 the first whitespace character.
9010
9011Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9012
9013 * gdb.base/commands.exp (breakpoint_command_test): New tests.
9014
9015Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9016
9017 * gdb.c++/*.exp: Warn if executable does not exist. The original
9018 reason for skipping the warning was that configure.in sometimes
9019 intentionally skipped building the executables but the tcl code
9020 had no way of knowing. That (a) was always bogus with respect to
9021 error handling, (b) is no longer true (right now there is no way
9022 to skip C++ tests).
9023
9024 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
9025
9026Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9027
9028 * gdb.base/list.exp: Add expect patterns for output from
9029 SunPRO compiled executables.
9030 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
9031 types.
9032
9033Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9034
9035 * gdb.base/break.exp (test_next_with_recursion): Accept any line
9036 number (we are already testing that the correct source line text
9037 gets printed).
9038
9039 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
9040 that is what is intended, but something needed to be done to get
9041 sunos4 native working again.
9042
9043 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
9044
9045 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
9046 apparently went with a (very) old xfail.
9047
9048Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
9049
9050 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
9051 runto_main is a proc in gdb.exp that will do 'step' for target use
9052 stubs.
9053 * gdb.base/exprs.exp: ditto.
9054 * gdb.base/interrupt.exp: ditto.
9055 * gdb.base/opaque.exp: ditto.
9056 * gdb.base/printcmds.exp: ditto.
9057 * gdb.base/ptype.exp: ditto.
9058 * gdb.base/scope.exp: ditto.
9059 * gdb.base/setvar.exp: ditto.
9060 * gdb.base/signals.exp: ditto.
9061 * gdb.base/twice.exp: ditto.
9062 * gdb.c++/classes.exp: ditto.
9063 * gdb.c++/inherit.exp: ditto.
9064 * gdb.c++/templates.exp: ditto.
9065 * gdb.base/break.exp: no run and hit main for stubs. Change line
9066 numbers for breakpoints and info breakpoint.
9067 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9068 breakpoint().
9069 * gdb.base/callfuncs.c: ditto.
9070 * gdb.base/exprs: ditto.
9071 * gdb.base/interrupt.c: ditto.
9072 * gdb.base/opaque0.c: ditto.
9073 * gdb.base/printcmds.c: ditto.
9074 * gdb.base/ptype.c: ditto.
9075 * gdb.base/scope0.c: ditto.
9076 * gdb.base/setvar.c: ditto.
9077 * gdb.base/signals.c: ditto.
9078 * gdb.base/twice.c: ditto.
9079 * gdb.c++/misc.cc: ditto.
9080 * gdb.c++/templates.cc: ditto.
9081
9082Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9083
9084 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9085
9086 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9087 somewhere between `read' and `main.c'. I'm pretty sure the
9088 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9089 and it isn't particularly useful.
9090
9091 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9092
9093Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9094
9095 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9096
9097Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9098
9099 * config/mt-slite: add LIBS and -nostdlib.
9100 * config/slite-gdb.exp: add this new file to support sparclite target.
9101
9102Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9103
9104 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9105
9106 * gdb.base/a2-run.exp: Change argument to istarget from
9107 "*-*-vxworks" to "*-*-vxworks*".
9108 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9109
9110Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9111
9112 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9113 will not runto main but do a 'step' to step out of breakpoint().
9114 * config/mt-slite: add -Dusestubs.
9115
9116Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9117
9118 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9119 instead of just @.
9120
9121 * gdb.base/signals.exp: Add test for "handle all print".
9122 * TODO: Remove "handle all print". Also remove item about
9123 checking copyright date (I don't like the idea of a spurious FAIL
9124 based on when we run the tests).
9125
9126 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9127 for SunOS4 (reason for failure not investigated). Remove
9128 redundant test for $binfile.
9129
9130 * gdb.base/nodebug.c (array_index): Call malloc.
9131
9132 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9133
9134Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9135
9136 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9137 conventions and slightly simplify the matching regexp.
9138
9139Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9140
9141 * gdb.base/break.exp: Update gdb_test invocation to use new
9142 convention.
9143
9144 * lib/gdb.exp: If noargs is not set, set it to 0.
9145
9146 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9147 tests unique.
9148
9149 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9150
9151Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9152
9153 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9154 one argument of type "<non-float parameter>".
9155
9156Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9157
9158 * config/rom68k.exp: New file to support Motorola IDP board.
9159 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9160 * gdb.base/break.c: Change things around so that this program
9161 doesn't depend upon args. This is necessary to make remote
9162 targets work (in general, they can't take args).
9163 * gdb.base/break.exp: Don't try to send args to program. Don't
9164 expect output. Also, replace lots of code with gdb_test.
9165
9166Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9167
9168 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9169 printing of '\'' (which is what the comment says we are testing,
9170 even though we were not), not '''.
9171 (test_integer_literals_rejected): Test that printing ''' is an error.
9172
9173 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9174 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9175 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9176 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9177 Use gdb_test not test_print_accept.
9178 * lib/gdb.exp: Remove test_print_accept.
9179
9180 * gdb.base/signals.exp (signal_tests_1): Make pass message
9181 consistent with fail message.
9182
9183 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9184 unsigned char; the bug (PR 1821) is fixed.
9185
9186 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9187
9188 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9189 successful tests--makes xfailing them work right.
9190
9191Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9192
9193 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9194 only \r\n, not .*. The test can pass .* as the last thing in
9195 $pattern if that is what it wants. In addition to providing this
9196 flexibility, this change should speed up pattern matching in cases
9197 where the pattern already ended with .* (there were a number of
9198 them). This change also helps catch bad patterns--in the old
9199 scheme the typo "char \*" instead of "char \\*" would pass. Now
9200 it is caught.
9201 * Many .exp files: Update callers.
9202
9203 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9204 clearer and does not spuriously match multiple ('s. Likewise for
9205 ) and *.
9206
9207 * gdb.base/nodebug.exp: Test ability to call a function and pass
9208 it a string (even with no debugging info).
9209
9210 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9211 "p '\'", which is the same as "p ''" once tcl gets done with
9212 quoting, to "p '\\'", which I suspect is what is intended (one
9213 backslash gets sent to GDB).
9214
9215 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9216
9217Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9218
9219 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9220 1817) was fixed literally years ago.
9221
9222Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9223
9224 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9225 test, it causes stepping out of call_after_alloca_subr with
9226 optimizing compilers.
9227 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9228 fails.
9229
9230 * gdb.c++/templates.exp: Source templ-info.exp only if
9231 the templates executable exists.
9232
9233 * gdb.c++/misc.cc (class Contains_static_instance,
9234 class Contains_nested_static_instance),
9235 gdb.c++/classes.exp (test_static_members): Test printing of
9236 a class that contains a static instance of the class.
9237
9238Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9239
9240 * gdb.base/langs2.c (cppsub_): Don't prototype.
9241 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9242 only, I believe).
9243
9244Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9245
9246 * lib/gdb.exp (skip_chill_tests): New procedure.
9247
9248 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9249
9250Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9251
9252 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9253 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9254
9255Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9256
9257 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9258
9259 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9260 disassemble 8, not 16, instructions for part 4.
9261
9262 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9263 support the latter anymore.
9264
9265 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9266 -DNO_PROTOTYPES.
9267 * gdb.base/callfuncs.c: Control use of prototypes based on
9268 NO_PROTOTYPES, not __STDC__.
9269 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9270 t_float_values2 tests if prototypes in use.
9271
9272 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9273 t_double_values): When checking differences against DELTA, check
9274 that difference is within the range (-DELTA,DELTA), not just
9275 (-infinity,DELTA).
9276
9277Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9278
9279 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9280 'file' command firts, then 'target', then 'load', this is due to gdb
9281 target set up.
9282 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9283
9284Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9285
9286 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9287 FP load/store variants.
9288 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9289
9290Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9291
9292 * gdb.base/term.exp: Do not give a warning if not native, it is
9293 not an abnormal condition.
9294
9295Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9296
9297 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9298 t_char_array".
9299
9300Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9301
9302 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9303 are getting the version number.
9304
9305 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9306 if not native, it is not an abnormal condition.
9307
9308Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9309
9310 * lib/gdb.exp: Just use "file exists", rather than undocumented
9311 dejagnu procedure "findfile".
9312
9313Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9314
9315 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9316 (LDFLAGS): Set to -Xlinker -Ur.
9317
9318 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9319 Removed, these values are set by lib/gdb.exp.
9320
9321 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9322
9323Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9324
9325 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9326 of replicating gdb startup code.
9327
9328 * config/mt-vxworks (LDFLAGS): Set to -r.
9329 (CFLAGS_FOR_TARGET): Removed.
9330
9331 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9332 (gdb) and gdb for vxworks uses (vxgdb).
9333
9334 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9335 executable is not in the tree and host != target, use sed and
9336 program_transform_name to determine the gdb name used by the
9337 target.
9338
9339 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9340 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9341
9342Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9343
9344 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9345 floats, chars, and shorts where there are ANSI-style function
9346 definitions.
9347
9348 * gdb.base/langs.exp, gdb.base/langs*: New test.
9349 * gdb.base/Makefile.in: Build it.
9350 * TODO: Remove item about checking that C names don't get C++
9351 demangling applied; this test tests it.
9352
9353Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9354
9355 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9356 went with the const70 xfail. The xfail went away a year ago.
9357
9358 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9359
9360 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9361 for hp300.
9362
9363 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9364
9365 * gdb.base/a1-selftest.exp: Don't run on hp300.
9366
9367Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9368
9369 * Makefile.in (site.exp): Set host_alias and target_alias as well
9370 as host_triplet and target_triplet.
9371
9372Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9373
9374 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9375
9376 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9377 places as other ecoff systems).
9378
9379 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9380 ultrix.
9381
9382Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9383
9384 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9385 remove them.
9386 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9387 variable and "variable" in addition to "data variable".
9388 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9389
9390 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9391 2.
9392 * gdb.base/list1.c (long_line): Add additional statement at start
9393 of function.
9394 * gdb.base/list.exp (test_forward_search): Update line number to
9395 reflect new statement.
9396
9397Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9398
9399 * gdb.base/signals.exp: Reinitialize searched source directories
9400 after gdb_start call.
9401
9402Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9403
9404 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9405 * gdb.stabs/Makefile.in: Likewise.
9406
9407 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9408 change. Instead split the tests into smaller pieces.
9409 * gdb.disasm/hppa.s: Corresponding changes.
9410
9411Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9412
9413 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9414 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9415
9416 * gdb.base/funcargs.exp: Modify many tests so that every test
9417 either passes or fails. Make some test names unique.
9418
9419Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9420
9421 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9422 Call stty to set interrupt character.
9423
9424 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9425 for HP assembler versus GNU assembler based on actual behavior of
9426 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9427
9428 * TODO: Suggest a few more stepping tests.
9429
9430Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9431
9432 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9433 restart GDB for h8300 after a continue.
9434 (return): Add pattern to match a29k-udi behavior.
9435 * gdb.base/nodebug.exp: Remove obsolete comment.
9436 * gdb.base/regs.exp: New file, testing of register displays.
9437 * gdb.base/return.exp: Fix typo in reference to $objdir.
9438 * gdb.base/whatis.exp: Always start with a fresh GDB.
9439
9440Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9441
9442 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9443 higher, these tests generate a lot of output.
9444
9445Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9446
9447 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9448 code following the catch silently ignored some errors; without the
9449 catch they should be thrown like any other tcl error. Also, the
9450 catch used "" instead of {} which meant all the callers who wanted
9451 to include one of the characters "[]$ had to quote it an extra time.
9452 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9453 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9454 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9455 Remove extra quoting.
9456
9457Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9458
9459 * gdb.base/commands.exp: Make test names unique; every test either
9460 passes or fails. Update some comments.
9461
9462 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9463
9464Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9465
9466 The following fixes a FAIL caused by the fact that the alpha stabs
9467 configuration didn't use the ".if alpha" code in weird.def.
9468 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9469 bit pointer, so the 32 bit version works even on the alpha.
9470 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9471 Remove the stuff which allowed us to have separate versions for
9472 alpha and everything else.
9473
9474 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9475 regexp which "info func operator\[\](" is supposed to match. Fix
9476 string to send to GDB. Note that GDB still doesn't work right. Add a
9477 new test for "info func .perator\[\](" which GDB does handle correctly.
9478
9479 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9480
9481Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9482
9483 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9484 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9485 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9486 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9487 it makes the tests harder to understand and confuses test-o-matic.
9488 The preferred style is that each test provides a PASS or a FAIL,
9489 and has a unique message (e.g. "continue #54" not just "continue")
9490 which is the same for the pass and the fail.
9491 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9492 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9493 to lib/gdb.exp.
9494 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9495 prt_accept which was basically the same thing. Likewise for
9496 test_print_reject and prt_reject.
9497 * lib/gdb.exp (test_print_reject): Add some more error message
9498 patterns to match from the former printcmds.exp (prt_reject).
9499 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9500 One defect of the passcount stuff is that some of it failed to
9501 report XPASS where appropriate.
9502 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9503 stuff before and after arg in expected pattern.
9504 (test_paddr_operator_functions): Re-do test without print_addr_of;
9505 this is the only test which seems to want extra stuff there.
9506
9507Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9508
9509 * gdb.base/nodebug.exp: Update new tests to reflect improved
9510 wording of gdb output.
9511
9512 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9513 and "ptype" work on variables in files compiled without -g.
9514 Replaces commented out "maint print msymbol" tests.
9515
9516Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9517
9518 * gdb.base/setvar.c (dummy): Call malloc.
9519
9520 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9521 losing with the irix4 sed.
9522
9523 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9524 ALRM" on irix4.
9525
9526Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9527
9528 * TODO: Remove items about corefile.exp testing new exec-file and
9529 backtrace; both are now done. Add items about printing enums.
9530
9531Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9532
9533 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9534 "get signal $thissig" test fails.
9535
9536 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9537
9538Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9539
9540 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9541 compiler warning with dec alpha compiler.
9542
9543 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9544 extra \n from gdb_test call (this explains why the prompt test
9545 that I removed yesterday was there).
9546 (user_defined_command_test): Remove extra \n and prompt test.
9547
9548 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9549 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9550 doesn't exist.
9551 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9552 Also remove alpha workaround, which turns out to be because
9553 SIGABRT == SIGLOST.
9554
9555 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9556
9557 * gdb.base/help.exp: Don't test "help show".
9558
9559Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9560
9561 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9562 "set print address" is on.
9563 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9564 pass prompt to gdb_test; gdb_test already looks for the prompt.
9565
9566 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9567
9568 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9569 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9570 was to make sure that gdb can read a core file. But (a) the "read
9571 the corefile" part didn't make it to a1-selftest.exp, we just
9572 delete the corefile after creating it, and (b) we test reading
9573 corefiles in corefile.exp anyway. Also, this test left around a
9574 xgdb process on Solaris.
9575
9576 * gdb.base/corefile.exp: Also test backtrace.
9577
9578Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9579
9580 * gdb.base/commands.exp: Test a simple user defined command with
9581 arguments and if/while statements; verify the full user command is
9582 printed by "show user".
9583
9584 * gdb.base/commands.exp: Test if/while commands as part of a
9585 breakpoint command list; verify they appear in breakpoint
9586 information.
9587
9588Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9589
9590 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9591 than by dividing by zero.
9592
9593Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9594
9595 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9596 performing an inferior call with watchpoints enabled.
9597 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9598 call.
9599
9600Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9601
9602 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9603 of "file" command.
9604
9605 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9606 Add additional pattern for when "int operator int(void);" appears
9607 in a different order.
9608
9609Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9610
9611 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9612
9613 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9614 and "signal" with ".*".
9615
9616Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9617
9618 * TODO: Add note about "handle all nostop".
9619
9620 * gdb.base/{sigall.c, sigall.exp}: New test.
9621 * gdb.base/Makefile.in: Add it.
9622
9623Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9624
9625 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9626 when invoking GDB, suppresses any windowing interface.
9627
9628Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9629
9630 * config/sim-gdb: New file, simulator testing support.
9631
9632Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9633
9634 * gdb.base/interrupt.exp: Test calling func1 twice.
9635
9636Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9637
9638 * gdb.base/list.exp (test_forward_search): Set timeout higher
9639 when we'll be getting lots of output from gdb.
9640
9641 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9642 "init_malloc" to after the expect statement. Run it if that
9643 regexp is taken, but also for two others which happen if source
9644 cannot be found.
9645
9646Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9647
9648 * gdb.base/printcmds.exp: New test, for printing register before
9649 program is running.
9650
9651Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9652
9653 * gdb.base/list.exp: Correct some alternate expect patterns
9654 to reflect changes in list1.c.
9655
9656Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9657
9658 * TODO: Add item regarding large frames.
9659
9660 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9661
9662 * TODO: Remove item about enabling return.exp; it
9663 is enabled. Suggest a few more "return" tests.
9664
9665Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9666
9667 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9668 anonymous unions.
9669
9670Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9671
9672 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9673 and pr-5646.o, so "make" is the same as "make all", not "make
9674 pr-4975.o".
9675
9676Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9677
9678 * gdb.base/list.exp: Adjust expectations to reflect changes in
9679 list1.c.
9680 (test_forward_search): New test proc.
9681 * gdb.base/list1.c (long_line): New function, has long source line.
9682
9683Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9684
9685 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9686 additional line of code that was added.
9687
9688Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9689
9690 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9691 tests so as not to overflow expect's input buffers.
9692 * gdb.disasm/hppa.exp: Corresponding changes.
9693
9694Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9695
9696 Beginnings of template debugging tests.
9697 * gdb.c++/templ-info.cc: New file to test for template
9698 debugging capability of the compiler.
9699 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9700 templ-info.cc.
9701 * gdb.c++/templates.cc: Add explicit template instantiations
9702 to enable compiling with -fno-implicit-templates. Add destructor
9703 and 'value' method to T5 class for template tests.
9704 * gdb.c++/templates.exp: Add testcases for printing of template
9705 types, setting breakpoints on template methods and calling a
beb998c6 9706 template method.
c906108c
SS
9707
9708Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9709
9710 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9711 branch target since some assemblers (gas-2.5) may emit a
9712 relocation for the branch instead of resolving it in the
9713 assembler.
9714
9715Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9716
9717 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9718 through signal handler.
9719
9720Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9721
9722 * configure.in (*-*-netware): Use config/mt-netware.
9723
9724 * config/mt-netware: New file.
9725 * config/mt-i386-netware: Removed, separate configs for different
9726 netware architectures are no longer needed now that we have
9727 --with-headers.
9728
9729Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9730
9731 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9732 by the recent changes to use ANSI C arithmetic conversions.
9733
9734Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9735
9736 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9737 bug involving using inferior_pid to figure out whether to select a
9738 frame.
9739
9740Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9741
9742 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9743 match the current disassembler output.
9744
9745Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9746
9747 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9748 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9749 types, expect "int" as type of integer values (for now).
9750
9751Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9752
9753 * gdb.base/commands.exp: New tests for if/while commands.
9754
9755Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9756
9757 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9758 by .*, since hex values have different syntax in Chill mode.
9759
9760Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9761
9762 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9763 linefeed from expect pattern for repeated types with indices > 9.
9764
9765Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9766
9767 First part of Fortran test suite.
9768 * gdb.fortran: New directory.
9769 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9770
9771Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9772
9773 * gdb.base/default.exp: Update expect pattern for load command
9774 without arguments.
9775
9776Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9777
9778 * configure.in: Change i386 to i[345]86.
9779 * gdb.base/configure.in: Likewise.
9780 * gdb.c++/configure.in: Likewise.
9781 * gdb.chill/configure.in: Likewise.
9782
9783Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9784
9785 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9786 patterns, since that is not a valid context for comments.
9787
9788Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9789
9790 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9791 repeated types and repeated types with indices > 9.
9792
9793Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9794
9795 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9796 2417; old bug has been fixed.
9797
9798Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9799
9800 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9801 send the newline ourselves instead of assuming gdb_test will do
9802 so when passed an empty input string.
9803
9804 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9805 stabs testcode.
9806
9807Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9808
9809 * lib/gdb.exp (gdb_test): Don't send anything if the first
9810 argument is an empty string. This makes cases where we want to
9811 match output that is already in expect's buffers (for example,
9812 matching a breakpoint after gdb_run_cmd has been called) work
9813 reliably.
9814
9815Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9816
9817 * config/netware.exp: New file.
9818
9819Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9820
9821 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9822 the -B and -L prefixes so we can find the debugging stub.
9823
9824 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9825 there and we are using the gcc from the tree.
9826
9827 * gdb.base/types.c: Removed.
9828
9829 * gdb.base/configure.in: Look for makefile fragments in ../config.
9830 Recognize i386-*-netware.
9831 * gdb.c++/configure.in: Likewise.
9832
9833Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9834
9835 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9836 the correct TCL syntax.
9837
9838Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9839
9840 * gdb.base/opaque.exp: use runto instead of messing around with
9841 breakpoints. Simplify by using gdb_test.
9842
9843 * gdb.base/bitfields.exp: restart between tests on netware targets
9844 because breakpoints aren't relocated after target death. Run
9845 processes to completion.
9846
9847 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9848
9849Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9850
9851 * Makefile.in: Remove extra tabs that confuse some versions
9852 of "make". Use the newly built gdb to test with by default,
9853 rather than the first one in the tester's search path.
9854
9855Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9856
9857 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9858
9859 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9860 condition help.
9861
9862Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9863
9864 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9865
9866 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9867 running.
9868 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9869 * gdb.base/funcargs.exp: Likewise.
9870
9871 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9872 * gdb.base/funcargs.exp: Likewise.
9873
9874 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9875 message is "".
9876
9877Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9878
9879 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9880 return,signals,twice}.exp: Handle non-existant binaries
9881 consistantly.
9882
9883 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9884 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9885 might testing a cross development system.
9886
9887Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9888
9889 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9890 runtest script is relative to ${srcdir}, not ${rootdir}.
9891
9892Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9893
9894 * gdb.base/signals.exp: Allow for optionality of breakpoint
9895 address.
9896
9897Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9898
9899 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9900
9901Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9902
9903 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9904 for size_t definition.
9905 * gdb.c++/templates.cc: Likewise
9906
9907 * config/mt-i386-netware: New file.
9908
9909 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9910 defined.
9911
9912 * gdb.base/Makefile.in: Added support for systems that name core
9913 files by appending "core" to the program name.
9914 * gdb.base/a1-selftest.exp: Likewise.
9915
9916Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9917
9918 * gdb.base/return.exp: Add comment and message for `return double'
9919 test failure on Sparc Solaris.
9920
9921Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9922
9923 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9924
9925Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9926
9927 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9928 from optimizing them away.
9929 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9930 patterns to include default constructors and assignment operators,
9931 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9932 character in the output of the virtual base pointer.
9933
9934Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9935
9936 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9937 expression match in print_addr_of to avoid unintented matches.
9938 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9939 versions up to 2.5.8.
9940
9941Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9942
9943 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9944 included file to run under newer versions of expect.
9945 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9946 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9947 Remove xfail for the virtual table of BDDHookV.
9948
9949Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9950
9951 * lib/gdb.exp (string_to_regexp): Set a default result.
9952 (default_gdb_start): Fix misleading message.
9953
9954Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9955
9956 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9957 Remove all CC, etc definitions.
9958 * config/mt-hpux: New file.
9959 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9960 (CFLAGS, LDFLAGS): Define.
9961 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9962
9963 * Makefile.in (site.exp): Don't insert host_os, etc.
9964 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9965 (distclean): Check existence of subdir.
9966 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9967 * gdb.base/Makefile.in: General cleanup and simplification.
9968 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9969 to build executables. Use default rule to build .o files.
9970 (EXPECT, RUNTEST, CC): Fix relative pathname.
9971 (site.exp): Don't insert host_os, etc.
9972 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9973 and/or SIGUSR1 defined.
9974 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9975 * gdb.c++/Makefile.in: General cleanup and simplification.
9976 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9977 (CFLAGS): Remove.
9978 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9979
9980Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9981
9982 * gdb.base/recurse.exp: Misc changes to get tests running again
9983 after Kung's changes to the watchpoint code.
9984 * gdb.base/watchpoint.exp: Likewise.
9985
9986Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9987
9988 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9989
9990Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9991
9992 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9993 * lib/gdb.exp (default_gdb_start): Define.
9994 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9995 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9996 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9997 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9998 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9999 Don't call gdb_target_udi in between tests.
10000
10001Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10002
10003 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
10004 (which was basically just a local version of the same thing). In
10005 addition to avoiding duplication, gdb_test_exact is faster.
10006 * lib/gdb.exp (gdb_test_exact): Fix typo.
10007
10008 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
10009 don't give an error.
10010
10011 * gdb.base/term.exp: Call delete_breakpoints before starting.
10012
10013 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
10014 (t10): Add comment.
10015
10016Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10017
10018 Reorganization of the GDB Test Suite.
10019
10020 * gdb.base: New directory, contains all the basic tests.
10021 * gdb.c++: New directory, tests specific to C++.
10022 * gdb.chill: New directory, tests specific to Chill.
10023 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
10024 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
10025 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
10026 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
10027 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
10028 t30-31 to chill).
10029 * */gdbme.*: Rename to match appropriate expect scripts.
10030 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
10031 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
10032 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
10033 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
10034 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
10035 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
10036 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
10037 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
10038 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
10039 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
10040 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
10041 gdb.c++/virtfunc.cc: New names of C++ files.
10042 * gdb.chill/chillvars.ch: New name of Chill file.
10043 * gdb.base/configure.in, gdb.c++/configure.in,
10044 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
10045 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10046 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
10047 * configure.in (configdirs): Update to reflect directory changes.
10048 (target_abbrev): No longer define for any configuration.
10049 * Makefile.in: Cosmetic improvements to header comments.
10050
10051Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
10052
10053 Various changes to gdb.t31:
10054
10055 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
10056 * gdbme.ch: Make all key-words and predefineds be upper-case.
10057 * chillvars.exp: Expect key-words and predefinds in upper-case.
10058
10059 * chillvars.exp: Use gdb_test_exact many places.
10060 Change expected output for arrays (which now includes index labels).
10061
10062 * pr-5020.exp, gdme.ch (module PR_5020):
10063 New test, for PR-5020.
10064
10065Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10066
10067 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10068 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10069
10070Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10071
10072 * Makefile.in: Fix bit-rot in definitions of CHILL,
10073 CHILL_FOR_TARGET and Chill_LIB.
10074 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10075 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10076 CHILL, and CHILL_LIB.
10077
10078Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10079
10080 * Revert the previous changes. Please see Rob's directory
10081 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10082
10083Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10084
10085 * Makefile.in, configure.in, config/mips-gdb.exp,
10086 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10087 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10088 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10089 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10090 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10091 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10092 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10093 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10094 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10095 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10096 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10097 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10098 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10099 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10100 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10101 changes from 94Q1.
10102
10103Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10104
10105 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10106 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10107 Rob's new testing fragments.
10108
10109Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10110
10111 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10112 lib/gdb.exp: Replace error proc calls with perror.
10113
10114Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10115
10116 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10117 version also, match on casted version strings, and match on
10118 gdb startup case where the line numbers might be messed up.
10119
10120Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10121
10122 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10123 (CFLAGS): Delete it from here.
10124
10125Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10126
10127 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10128
10129Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10130
10131 * Makefile.in (RUNTEST): Default to just "runtest".
10132
10133Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10134
10135 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10136 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10137 the code has been restructured.
10138
10139Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10140
10141 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10142 \n, not just one of each.
10143
10144 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10145 /bin/cc gives a warning if you do.
10146
10147Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10148
beb998c6 10149 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
10150 __t10ListS_link1ZUiRCUiPT0
10151
10152Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10153
10154 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10155 on local variables in recursive functions.
10156
10157 * gdb.t07/Makefile.in: Build the new test.
10158
10159Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10160
10161 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10162 directly. Instead compare the return values from actual calls.
10163
10164Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10165
10166 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10167
10168Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10169
10170 * From Peter Schauer with minor modifications.
10171 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10172 stops in mid-line in the caller. Add xfail for returning a float
10173 value on X86 targets.
10174
10175Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10176
10177 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10178 to avoid expect lossage.
10179 (fmem_LRbug_tests): Likewise.
10180 * gdb.disasm/hppa.s: Corresponding changes.
10181
10182 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10183 conditions to work with latest dejagnu/expect.
10184
10185 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10186 expected to fail on the PA.
10187 (backtrace in call with trampolines): Explicitly require main
10188 to be frame #1 (no trampolines should show up in backtrace).
10189
10190 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10191 "continue -expect".
10192 * gdb.t06/break.exp: Likewise.
10193 * gdb.t07/watchpoint.exp: Likewise.
10194 * gdb.t13/bitfields.exp: Likewise.
10195 * gdb.t15/{funcargs,return}.exp: Likewise.
10196 * gdb.stabs/weird.exp: Likewise.
10197 * config/{mips,udi}-gdb.exp: Likewise.
10198
10199 * hppa.sed: Enclose comments within a sed command to avoid
10200 losing with the old OSF1 sed.
10201
10202Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10203
10204 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10205 sequent dynix.
10206 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10207 * gdb.t15/funcargs.exp: Conditionally step again to really
10208 finish from marker_call_with_trampolines. Handle the case where
10209 the first step from within call_with_trampolines already steps
10210 us back to main.
10211 * gdb.t15/gdbme.c: Add comment to closing brace of
10212 call_with_trampolines for funcargs.exp.
10213
10214Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10215
beb998c6 10216 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
10217 Fix typo(s).
10218
10219Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10220
10221 * gdb.t07/gdbme.c: More code for watchpoint testing.
10222
10223 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10224 "Hardware watchpoint" throughout file.
10225 (test_watchpoint_triggered_in_syscall): New test.
10226 (test_complex_watchpoint): New test.
10227
10228Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10229
10230 * gdbme.c (call_with_trampolines): New function to try and step
10231 into. Tests trampoline problems on the PA.
10232
10233 * funcargs.exp (localvars_in_indirect_call): No longer expect
10234 stepping into indirect call to fail on PAs.
10235 (test_stepping_over_trampolines): New test.
10236
10237Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10238
10239 * TODO: Add suggestions for static member function tests, and
10240 completion tests.
10241
10242Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10243
10244 * TODO: Add suggestions for "p/a" tests.
10245
10246 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10247 (default_gdb_exit): Replace all the hair with sending "quit" to
10248 the process with a simple close.
10249
10250Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10251
10252 * TODO: Add suggestions for shared library tests.
10253
10254Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10255
10256 * TODO: Add suggestions for x/s tests.
10257
10258Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10259
10260 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10261 "enable once", and "enable breakpoints once" with ".*".
10262
10263Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10264
10265 * TODO: Add suggestions about structure passing tests.
10266
10267Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10268
10269 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10270 the primary1 test, use work around if __GNUC__ < 2.
10271 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10272 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10273 Test for bad output rather than waiting for timeout. Issue
10274 second continue only if first continue failed.
10275
10276Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10277
10278 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10279 operator[] test with gdb_test because the old code didn't seem to
10280 be getting the quoting right with the new dejagnu.
10281
10282Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10283
10284 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10285 one from the path.
10286 * Makefile.in: Use a fresh expect if there is one, use runtest
10287 from the src tree if there is one.
beb998c6 10288
c906108c
SS
10289Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10290
10291 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10292 next over recursive call. Revise the tests from that point on
10293 (which had been skipped) to match GDB's actual (correct) output.
10294
10295 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10296 with next over a breakpoint whose condition is false.
10297
10298 * gdb.t00/help.exp: Comment out "help set print" tests just like
10299 (and for same reason as) "help set" test.
10300
10301Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10302
10303 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10304 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10305
10306Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10307
10308 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10309 necessary gdb_target_udi.
10310
10311 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10312
10313 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10314 1838 and 2417; they are fixed.
10315
10316 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10317 gdb.t03/ptype.exp (ptype structure, ptype union):
10318 Remove xfails; the test is looser than when the xfails were added.
10319
10320 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10321 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10322
10323 * gdb.t01/run.exp: Only run shell test if isnative.
10324
10325 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10326 since "run" automatically loads if necessary. Call gdb_target_udi
10327 after the "file" since "file" kills any execution target.
10328
10329 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10330 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10331 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10332 argument for UDI.
10333
10334Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10335
10336 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10337
10338 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10339
10340Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10341
10342 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10343 properly quoting regexps. This makes the second argument to
10344 demangle a fixed string, which matches the callers, instead of a
10345 shell-style pattern which is what the previous implementation
10346 used. Update some of the callers.
10347
10348Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10349
10350 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10351 (comib_nullified_tests): Fix typo.
10352 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10353 strings. No longer expected to fail.
10354
10355 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10356 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10357 strings. No longer expected to fail.
10358
10359 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10360 string. No longer expected to fail.
10361
10362Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10363
10364 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10365 No longer expected to fail.
10366
10367 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10368 string. No longer expected to fail.
10369
10370Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10371
10372 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10373 only in the names (I probably got most of them). I was even
10374 generous with some which differed in underscores in names, and
10375 probably missed a few, and I *still* was able to remove almost a
10376 third of the file with almost no impact on testsuite coverage.
10377
10378Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10379
10380 * gdb.t00/default.exp: Match udi_attach error message as well as
10381 the one from child_attach.
10382
10383 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10384
10385 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10386
10387 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10388 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10389
10390 * Move test with enums and partial symbols back to
10391 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10392 Reverts the change of 26 May 93. Per today's change to
10393 stabs.texinfo, the behavior that weird.exp was expecting was
10394 unreasonable; what is important is that the compiler+gdb get
10395 things right, which happens with a recent gcc. Also fix the test
10396 to deal with native compilers which put out the stab gdb can't
10397 deal with.
10398
10399Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10400
10401 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10402 in the names. The main thing these accomplish is to slow things down.
10403 Many more such duplicates surely remain.
10404
10405 * gdb.t00/help.exp: Comment out "help support" test just like
10406 (and for same reason as) "help set" test.
10407
10408Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10409
10410 * gdb.t06/break.exp: Remove setup_xfails for
10411 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10412 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10413 about known bug in gcc to include up through 2.5.8.
10414 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10415 well as "_vb$".
10416 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10417 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10418 with latest gcc and gdb.
10419 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10420 well as "_vb$".
10421
10422Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10423
10424 * configure.in (hppa*-*-*): Also configure and build stabs-only
10425 tests.
10426
10427Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10428
10429 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10430 * gdb.t10/configure.in (hppa*-*-*): Use it.
10431
10432Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10433
10434 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10435
10436Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10437
10438 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10439 versions prior to 1.13.5.
10440
10441Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10442
10443 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10444 the prompt is at the start of a line.
10445
10446Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10447
10448 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10449 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10450 in the copr tests now.
10451 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10452 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10453 expected to fail.
10454
10455Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10456
10457 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10458 gdb.t31/chillvars.exp, lib/gdb.exp:
10459 Tweak to run under either version of expect.
10460 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10461 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10462 * gdb.t11/list.exp: Remove extraneous whitespace.
10463
10464Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10465
10466 * gdb.t16/printcmds.exp (test_print_strings): Accept
10467 "(unsigned char *) " before the string.
10468
10469 * TODO: Add notes about printing of fancy types and GDB expressions.
10470
10471Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10472
10473 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10474 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 10475 if doing mips-idt-ecoff.
c906108c
SS
10476
10477Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10478
10479 * Most .exp files: Tweak to run under either version of expect.
10480
10481Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10482
10483 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10484 xfails; I'm not sure why they are failing, but not because of PR 1806.
10485
10486Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10487
10488 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10489 defined in lib/gdb.exp.
10490
10491Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10492
10493 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10494 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10495 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10496 have to be typeless.
10497
10498Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10499
10500 * TODO: Add suggestion for copyright year test.
10501
10502Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10503
10504 * configure.in (*-*-lynxos*): Add stabs tests.
10505
10506Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10507
10508 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10509 so insert a tab before any assembler directive in column zero.
10510
10511 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10512 stores.
10513 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10514 stores.
10515 (fpu_short_memory_tests): Likewise.
10516
10517Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10518
10519 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10520 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10521 .stabs directives in comments.
10522
10523Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10524
10525 * TODO: New file, describing tests we could write.
10526 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10527
10528Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10529
10530 * gdb.t06/signals.exp: Add kludge to force re-sync.
10531
10532 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10533 to xgdb instead of gdb, get out of gdb.
10534
10535Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10536
10537 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10538 for info.
10539
10540Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10541
10542 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10543 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10544 * gdb.stabs/hppa.sed: New sed script for the PA.
10545
10546Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10547
10548 * gdb.stabs: Re-write weird.def and configuration to use sed
10549 instead of cpp. sed is portable and POSIX; cpp is neither.
10550
10551Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10552
10553 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10554
10555Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10556
10557 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10558
10559Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10560
10561 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10562 "_vb$".
10563 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10564 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10565
10566Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10567
10568 * lib/gdb.exp: Comment out code which depends on non-existent
10569 `transform' procedure.
10570
10571Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10572
10573 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10574 * lib/gdb.exp: Transform tool name.
10575 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10576 1.1's new error handling system.
10577
10578Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10579
10580 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10581
10582Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10583
10584 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10585 They made pattern matching so slow that timeouts happened on
10586 heavily loaded systems. Now any output from "show print" which
10587 gets us back to the GDB prompt is a PASS.
10588
10589Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10590
10591 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10592
10593Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10594
10595 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10596
10597 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10598 It is not from PR 3220.
10599
10600Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10601
10602 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10603 just started failing because they depended on the order the
10604 subcommands are presented, or exact docstring text. This kind of
10605 test is a pain and has minimal benefit.
10606
10607Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10608
10609 * gdb.t09/corefile.exp: At end of test, use "core" command with
10610 no arguments.
10611
10612Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10613
10614 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10615 17}/Makefile.in: Make it possible to run the testsuite with Sun
10616 make and CC = cross gcc by adding explicit build rules for .o
10617 files.
10618
10619Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10620
10621 * gdb.t15/funcargs.exp: Don't put comments on same line as
10622 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 10623
c906108c
SS
10624Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10625
10626 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10627
10628Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10629
10630 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10631 * gdb.t20/inherit.exp: remove three dumplicate entries.
10632
10633Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10634
10635 * gdb.t06/break.exp: For "next over recursive call", fail on any
10636 incorrect output, not just on "factorial (value=2)".
10637
10638Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10639
10640 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10641 working now. Add an xfail if accesing a bss variable causes
10642 a memory error if the target is not yet run.
10643
10644Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10645
10646 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10647 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10648 name of __st* demangling (2 strings). Did Kung really get the
10649 more than 95 others right without testing them?
10650
10651Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10652
10653 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10654
10655Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10656
10657 * configure.in (configdirs): Add gdb.disasm
10658 * gdb.disasm: New directory for GDB disassembler tests.
10659 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10660
10661Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10662
10663 * gdb.t00/help.exp: Don't test "help set".
10664
10665 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10666 from within expect statements. None of these happen anymore and
10667 they cause regressions to be silently unnoticed.
10668
10669 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10670 messages) about known failures with gcc cygnus-2.4.5-930417.
10671
10672 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10673 comp-info.exp so it gets built if it doesn't exist.
10674
10675 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10676 it is no longer used.
10677 * gdb.t13/comp-info.c: Removed.
10678
10679Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10680
10681 * gdb.t06/signals.exp: Add xfail for sun3.
10682
10683Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10684
10685 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10686 relevant because ^C doesn't get sent but failure can be reproduced
10687 interactively).
10688
10689Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10690
10691 * gdb.stabs/alpha.mt: New configuration file for alpha.
10692 * gdb.stabs/configure.in: Use it.
10693 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10694 sharing with alpha.mt, redefine long to word via preprocessor.
10695 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10696 for alpha.
10697 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10698 native cc.
10699 * gdb.t00/teststrategy.exp: Change expect string so that we
10700 consume the `(xgdb)' from the command echo and from the gdb prompt.
10701 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10702 gdb currently compares all values as long, so this failure probably
10703 applies to any configuration where LONGEST is bigger than a target int.
10704 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10705 with gcc.
10706 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10707 to handle opaque pointers, gcc is.
10708 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10709 as first argument. Include <sys/types.h> and change all operator
10710 new definitions to use size_t.
10711 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10712 now that we use size_t.
10713
10714Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10715
10716 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10717 a long or float array cast all array members to the same type.
10718 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10719 with 64 bit longs.
10720 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10721 on alpha.
10722 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10723
10724Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10725
10726 * gdb.t24 (demangle.exp): Constructors of templates have names like
10727 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10728 section 14.6 of the ARM.
10729
10730 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10731 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10732 accomplish little and slow down the testsuite.
10733
10734 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10735 Accept spaces various places.
10736
10737Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10738
10739 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10740 with watchpoint enabled.
10741
10742 * Makefile.in: Remove definition of CC and remove the second
10743 definition of CXX (the "CXX = gcc" one remains). These definitions
10744 were causing backquotes to be expanded within backquotes, which
10745 doesn't work.
10746
10747Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10748
10749 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10750
10751Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10752
10753 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10754 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10755 by mips cc and contains no stabs entries.
10756
10757Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10758
10759 * config/vx-gdb.exp: Use fake device to load files rather than
10760 NFS.
10761 * lib/gdb.exp: New proc to do "file" command.
10762 * config/unix-gdb.exp: Use new "file" proc.
10763
10764Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10765
10766 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10767 Rework board rebooting slightly.
10768 (gdb_exit): Don't exit from the remote shell; there isn't one.
10769 * gdb.stabs/weird.exp: If a program is being debugged already,
10770 kill it.
10771 * gdb.t04/setvar.exp: Stop and restart gdb.
10772 * gdb.t05/expr.exp: Likewise.
10773 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10774 restart gdb and reload the program.
10775 * gdb.t08/opaque.exp: Likewise.
10776 * gdb.t12/scope.exp: Likewise.
10777 * gdb.t13/bitfields.exp: Likewise.
10778 * gdb.t15/funcargs.exp: Likewise.
10779 * gdb.t20/classes.exp: Likewise.
10780 * gdb.t03/ptype.exp: Increase timeout.
10781 * gdb.t16/printcmds.exp (test_print_string_constants,
10782 test_print_array_constants): Likewise.
10783 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10784 * gdb.t20/classes.exp (do_tests): Likewise.
10785 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10786
10787Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10788
10789 * gdb.stabs: Renamed *wierd* to *weird*.
10790
10791Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10792
10793 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10794 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10795
10796Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10797
10798 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10799 (do_tests): Remove xfail for whatis on one_var and two_var.
10800
10801Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10802
10803 * Makefile.in: Made cross building work better by adding
10804 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10805
10806Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10807
10808 * gdb.t15/{return.c,return.exp,Makefile.in}:
10809 New test, currently commented out.
10810
10811Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10812
10813 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10814 still running and removes the leftover named socket so GDb can do
10815 clean restarts.
10816
10817Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10818
10819 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10820 console, not GDB.
10821 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10822 cross testing works better with "make check"
10823 * config/unix-gdb: Use default procedures for exit and version.
10824 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10825 with the newest VxWorks.
10826
10827Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10828
10829 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10830 old form.
10831
10832 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10833 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10834
10835 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10836
10837 * config/unix-gdb.exp: Remove this version of gdb_exit
10838 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10839 Rob says he'll look at it when he gets back to testing boards.
10840
10841Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10842
10843 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10844 an expected fail for certain ptype commands.
10845
10846 * gdb.t20/classes.exp: Update expected results of "ptype class
10847 Base1" to account for the constructor that now appears in the type.
10848
10849Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10850
10851 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10852 disappeared from list.
10853 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10854 "alldone" proc with call to cleanup and exit.
10855 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10856 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10857 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10858 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10859 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10860 "alldone" proc with simple returns that suppress remaining
10861 tests. The alldone proc went away many months ago.
10862
10863Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10864
10865 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10866
10867 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10868
10869Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10870
10871 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10872 as vax gdb will display them.
10873
10874Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10875
10876 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10877 optimizers.
10878
10879 * scope.exp: Change "bad value for localval" messages so each one
10880 is unique.
10881
10882 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10883 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10884
10885 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10886
10887Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10888
10889 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10890 doesn't exist (due to optimization).
10891
10892Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10893
10894 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10895 contains \r because the filename is long.
10896
10897 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10898 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10899
10900Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10901
10902 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10903 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10904 Ultrix.
10905 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10906 int tests.
10907 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10908
10909Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10910
10911 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10912
10913 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10914 to match does not match the passing case but still matches the
c906108c
SS
10915 failing case.
10916
10917Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10918
10919 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10920
10921Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10922
10923 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10924 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10925 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10926 Remove various versions of gdb_exit.
10927 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10928 gdb_exit.
10929 * config/unix-gdb.exp: gdb_exit remains here, and should override
10930 the generic version, since it's doing a lot of wierd stuff that
10931 the other versions aren't. FIXME, fold it in, or abandon this
10932 version.
10933
10934Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10935
10936 * gdb.t24/demangle.exp: Add tests for PR 3220.
10937
10938Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10939
10940 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10941
10942Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10943
10944 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10945 "i386-*-*". Works for i486 as well.
10946
10947 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10948 bug, and expand domain of xfail to all SVR4 systems, since the
10949 actual problem is likely to be in generic SVR4 /proc support.
10950
10951Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10952
10953 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10954
10955Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10956
10957 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10958 xfails for other systems. Match a missing 'Continuing.' as an
10959 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10960
10961 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10962 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10963 Only issue warning for missing executables if -all option is used.
10964
10965 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10966 file if -all option is used. It's like an unpredictable XFAIL.
10967
10968Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10969
10970 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10971 for dynamically linked binaries.
10972
10973 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10974
10975Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10976
10977 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10978 to state that this is a known bug in old versions of g++.
10979
10980Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10981
10982 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10983 while waiting for `Continuing'.
10984
10985Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10986
10987 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10988 in text, data, and bss.
10989 * gdb.t10/nodebug.c: Add local and global test variables for
10990 initialized and uninitialized data.
10991
10992Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10993
10994 * config/unix-gdb.exp (gdb_exit): Add "wait".
10995
10996Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10997
10998 * gdb.t06/signals.exp: xfail the continue from the handler for all
10999 targets.
11000
11001 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
11002 function with watchpoints enabled, the i386 call dummy starts with
11003 a call.
11004
11005 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
11006 386 bsd names its corefiles.
11007
11008Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
11009
11010 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
11011 compilers don't grok it.
11012 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
11013 with small octal ints rather than character constants, which
11014 are signed and might not fit if first promoted to int.
11015
11016Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
11017
11018 * gdb.t09/Makefile.in (clean): Remove corefile.
11019
11020Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11021
11022 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
11023
11024Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11025 and Jim Kingdon (kingdon@cygnus.com)
11026
11027 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
11028 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
11029 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
11030
11031Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11032
11033 * gdb.t17/interrupt.exp: Add xfail for hppa.
11034
11035Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11036
11037 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
11038 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
11039 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
11040 to determine signed-ness of bitfields and use the result to setup
11041 the xfail.
11042 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
11043 * gdb.t15/funcargs.exp: Use them to step until the second indirect
11044 call line is reached if necessary.
11045
11046Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11047
11048 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
11049
11050Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11051
11052 * gdb.t06/break.exp: Also test `clear' command.
11053
11054Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11055
11056 * gdb.t00/teststrategy.exp: Remove extra quote.
11057
11058 * gdb.t07/watchpoint.exp: Change xfail for calling function with
11059 watchpoint enabled to be for all non-68k machines.
11060
11061 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11062
11063Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11064
11065 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11066 targets use aout.mt instead of ecoff.mt as gas understands
11067 standard aout format.
11068
11069Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11070
11071 * lib/gdb.exp (runto): Don't insist that function we are running to
11072 was compiled with -g.
11073
11074 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11075
11076 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11077 to get back into the read system call.
11078 Accept leading newline in case where we woke it up.
11079
11080Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11081
11082 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11083 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11084 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11085 enable ecoff configuration.
11086
11087Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11088
11089 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11090
11091Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11092
11093 * gdb.t16/printcmds.exp: Add another printf test.
11094
11095Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11096
11097 * configure.in: If configured -with-stabs on any target, add
11098 stabsdirs to configdirs.
11099
11100Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11101
11102 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11103 fun" so pattern does not match the command itself.
11104
11105Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11106
11107 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11108
11109Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11110
11111 * gdb.t17/interrupt.exp: Test for more things.
11112
11113Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11114
11115 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11116 compiler arranges the code and line numbers.
11117
11118 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11119
11120Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11121
11122 * gdb.t00/help.exp: Increase expect input buffer size.
11123
11124Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11125
11126 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11127
11128 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11129
11130 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11131
11132 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11133 [0-9]*, not just [0-9].
11134
11135Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11136
11137 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11138
11139 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11140
11141Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11142
11143 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11144
11145Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11146
11147 * gdb.t06/signals.c: Add xfails for sun3.
11148
11149 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11150
11151 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11152 test_stepping tests.
11153
11154Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11155
11156 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11157
11158 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11159
11160 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11161 rather than actually putting it through cpp twice.
11162
11163 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11164
11165Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11166
11167 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11168 no longer needed.
11169
11170Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11171
11172 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11173
11174 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11175 C++ features prints as "struct", make it a pass, not an xfail.
11176
11177Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11178
11179 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11180 Don't require VA to print as "class" rather than "struct".
11181
11182Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11183
11184 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11185
11186Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11187
11188 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11189
11190Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11191
11192 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11193 order.
11194
11195Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11196
11197 * gdb.t16/printcmds.exp: Add printf tests.
11198
11199 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11200
11201 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11202
11203Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11204
11205 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11206 pass counts, to counteract any existing or future setup_xfails.
11207
11208Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11209
11210 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11211 {BEGIN,END}_COMMON for common block instead of STAB.
11212 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11213
11214 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11215 intp_var should be N_GSYM not N_LSYM.
11216 wierd-aout.S: Use a label for the value of the N_SO.
11217 wierd.def: Remove all backslashes.
11218 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11219
11220Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11221
11222 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11223 get the expected next to inheritance3.
11224
11225Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11226
11227 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11228 now that gcc-2.4 gets it right.
11229
11230Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11231
11232 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11233
11234 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11235 generating comp-info.exp which works for cross-compilation.
11236
11237Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11238
11239 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11240 "*-*-sysv4.*".
11241
11242Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11243
11244 * gdb.t01/run.exp: Start with a fresh gdb.
11245 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11246 SVR4.x.
11247
11248Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11249
11250 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11251 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11252 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11253 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11254 things to remove.
11255
11256Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11257
11258 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11259 test cases from bug reports.
11260
11261Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11262
11263 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11264 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11265 avoid spurious xfails.
11266 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11267 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11268 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11269
11270Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11271
11272 * gdb.t00/teststrategy.exp: Rework to provide more useful
11273 description of each test, fix problem with systems that define
11274 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11275 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11276 results for "next over recursive call" so timeouts aren't taken
11277 by error.
11278
11279Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11280
11281 * gdb.t12/scope.exp: Test printing of variables before run.
11282
11283 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11284 printed in wrong order due to sorting.
11285
11286Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11287
11288 * gdb.t00/teststrategy.exp: Fix expected results for printing
11289 user entered string constant. Is array of char, prints with no
11290 address.
11291
11292 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11293 commands.
11294 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11295 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11296 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11297 of struct of char arrays.
11298 * gdb.t00/radix.exp: New tests for radix commands.
11299
11300Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11301
11302 * gdb.t16/printcmd.exp: Print a variable before running program
11303 (with xfail for AIX).
11304
11305Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11306
11307 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11308
11309 * gdb.t16/printcmd.exp: Don't print variables before running program.
11310
11311 * gdb.t06/break.exp: Don't require envp argument to main.
11312
11313 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11314
11315 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11316 Add xfails for rs6000.
11317
11318 * gdb.t02/whatis.exp: Change other tests not to re-test something
11319 we already tested.
11320
11321 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11322 each type used has a variable of that type.
11323
11324Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11325
11326 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11327
11328Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11329
11330 * configure.in: change srctrigger to be a file, not a directory
11331
11332Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11333
11334 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11335
11336 * gdb.t11/list.exp: Fixed a couple of typos.
11337
11338Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11339
11340 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11341 is fixed and PR is closed.
11342 * gdb.t16 (gdbme.c): Add simple test string variable.
11343 * gdb.t16 (printcmds.exp): Add tests with simple test string
11344 variable, primarily for boundaries on "set print elements".
11345
11346Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11347
11348 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11349 Make leading 0's optional and don't expect a tab in the middle
11350 of the number.
11351
11352 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11353
11354 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11355 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11356 don't end command passed to gdb_test with newline.
11357
11358 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11359 signed keyword away, don't expect signed bitfields to be signed.
11360
11361 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11362 printing with only as many 1's as are in the field as well as printing
11363 with 32 1's (see comment).
11364
11365Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11366
11367 * gdb.t00/default.exp: Start with a fresh gdb.
11368 * configure.in (configdirs): Remove gdb.t31 until the chill
11369 compiler works again. It no longer is able to find chillrt0
11370 since it isn't in libchill.a anymore.
11371 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11372 wierd.o, make more modular.
11373 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11374 spurious newlines that caused problems.
11375
11376Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11377
11378 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11379 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11380 gdb.stabs/wierd.{exp,def}: Many new tests.
11381
11382 * gdb.t00/default.exp: update info line for new message.
11383
11384 * gdb.t02/{whatis.exp,gdbme.c}:
11385 Test that "char *" doesn't print as "caddr_t".
11386
11387Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11388
11389 * gdb.t00/help.exp: Use .* in place of some help messages which
11390 just changed.
11391 gdb.t00/default.exp: Update "info frame" test for new message.
11392 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11393 Remove some xfails
11394
11395Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11396
11397 * gdb.t03/{gdbme.c,ptype.exp}:
11398 Add tests for typedef'd struct and union without tags.
11399 Also check "whatis" on a variable of a typedef'd enum without a tag.
11400
11401 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11402 PRMS 1823; the bug still exists but isn't reproduced by this test
11403 anymore), and remove rs6000 XFAIL (the bug is fixed).
11404
11405 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11406 duplicated from whatis.exp. For those that are left, accept
11407 "long", "long int", or "int" for long variables (whatis.exp already
11408 has an XFAIL for "int", so no need to fail it here).
11409
11410 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11411 Deal with GCC's names for types now that GDB uses the compiler's names.
11412
11413 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11414 setup_xfail's for sunos4. If we #defined the signed keyword away,
11415 don't expect GDB to know that char it is signed.
11416
11417 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11418
11419Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11420
11421 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11422 should work on any system, regardless of debugging format.
11423 * gdb.t21/demangle.exp: Move to gdb.t24.
11424 * gdb.t24/demangle.exp: Move from gdb.t21.
11425 * gdb.t24/{Makefile.in, configure.in}: New files.
11426
11427Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11428
11429 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11430 * gdb.stabs: New directory.
11431
11432Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11433
11434 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11435 not just "Quit anyway?".
11436
11437Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11438
11439 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11440 that all setup_xfails are immediately followed by clear_xfails.
11441
11442Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11443
11444 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11445 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11446 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11447 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11448 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11449 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11450 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11451 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11452 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11453 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11454 gdb.t31/chillvars.exp, lib/gdb.exp:
11455 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11456 bug-gdb@prep.ai.mit.edu.
11457
11458Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11459
11460 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11461 with 0.0, not integer 0.
11462
11463Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11464
11465 * gdb.t06/break.exp: Update for "Kill the program" message change.
11466
11467Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11468
11469 * Makefile.in (GDBFLAGS): Set to -nx.
11470 * Makefile.in (site.exp): Use GDBFLAGS.
11471
11472Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11473
11474 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11475 Makefiles.
11476 (check): depend on just-check.
11477 (just-check): added so that tests can be run without a noop
11478 build pass.
11479
11480Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11481
11482 Switch to using configure's configdirs.
11483 * Makefile.in (Makefile): add configure.in dependency.
11484 (SUBDIRS): removed redundant assignment.
11485 * configure.in: switch subdirs assignment to configdirs.
11486 * gdb.t*/configure.in: new files.
11487
11488Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11489
11490 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11491 works.
11492
11493Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11494
11495 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11496 in explicit rules. Apparently this is not supported by some makes.
11497
11498Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11499
11500 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11501
11502Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11503
11504 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11505 disappeared.
11506
11507Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11508
11509 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11510
11511Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11512
11513 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11514 watchpoint problem that is now fixed.
11515 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11516 uninitialized convenience variables.
11517 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11518 structures.
11519
11520Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11521
11522 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11523 which causes expect to get out of sync with gdb on long output
11524 from help set.
11525 * gdb.t09/corefile.exp: Make expected pattern for core file
11526 failing signal and frame output format less sun specific.
11527
11528Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11529
11530 * gdb.t31/chillvars.exp: Add and remove initial dummy
11531 breakpoint, so that symbol table is forced in.
11532 (Needed at least on Sunos4, though it seems not SVR4.)
11533 * gdb.t31/chillvars.exp: Update for changed output format.
11534
11535Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11536
11537 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11538
11539Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11540
11541 * Makefile.in: Added --srcdir when invoking runtest, removed the
11542 need for a local config file. (optional now)
11543
11544Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11545
11546 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11547 failure count used to force early termination. Add some more
11548 expected failures for gnu style demangling.
11549
11550Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11551
11552 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11553 pmi variable from gdb.t20/gdbme to get optimized away.
11554 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11555 Check for written corefile upon timeout _and_ eof.
11556
11557Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11558
11559 * config/unix-gdb.exp: Add missing return 0.
11560
11561Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11562
11563 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11564 test termination.
11565
11566Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11567
11568 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11569 disappeared.
11570
11571Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11572
11573 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11574 time as i860 support works.
11575
beb998c6 11576 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11577 "backtrace 100\r" rather than just "backtrace\r", to match last
11578 change.
11579
11580Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11581
11582 * config/udi-gdb.exp (gdb_exit): Remove close command.
11583 (gdb_target_udi): New procedure to set the UDI target.
11584 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11585 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11586 Added waits for prompts after several question responses. Added
11587 some more responses used by a29k-amd-udi-gdb.
11588 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11589 pass different arguments, restart UDI connection after program
11590 completion.
11591 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11592 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11593 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11594 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11595 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11596 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11597 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11598 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11599 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11600 after program completion.
11601 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11602 compiled with a SELECT_VECS setting.
11603 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11604 infinite recursion.
11605
11606 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11607 Added checks for COFF results, and made them expected failures for
11608 all targets. It would be better to make them expected failures
11609 for COFF targets only.
11610
11611Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11612
11613 * Makefile.in: add null dvi target, don't bother to recurse
11614 through test directories for info and install-info; rename
11615 $(datadir) to be dejagnu instead of deja-gnu
11616
11617Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11618
11619 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11620 compiler to coredump.
11621 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11622 code.
11623
11624Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11625
11626 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11627 coredump.
11628 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11629 code.
11630
11631Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11632
11633 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11634 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11635 which in a shell. Deletes xgdb when done.
11636 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11637 Tests the return from the "set height" or "set width" commands.
11638 Added a few return codes where needed.
11639
11640Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11641
11642 * Makefile.in (SUBDIRS): Add gdb.t17.
11643 * configure.in (subdirs): Add gdb.t17.
11644 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11645 files to test gdb's calling of functions in the inferior with
11646 the correct arguments and gdb's ability to retrieve any
11647 result returned.
11648
11649Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11650
11651 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11652 may be called after gdb goes away. Previous versions of expect
11653 needed these to avoid file descriptor leaks, but they cause
11654 errors with the current revision of expect.
11655 * gdb.t00/gdbvars.exp: Use -re on expected output after
11656 setting sevenbit-strings.
11657 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11658 to set sevenbit-strings consistent across tests.
11659 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11660 set sevenbit-strings consistent across tests.
11661
11662Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11663
11664 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11665 expected output to match current "expect" expectations.
11666
11667Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11668
11669 * gdb.t00/default.exp: Change expected output for default "source"
11670 command, to match new gdb behavior which requires a filename to
11671 source.
11672
11673Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11674
11675 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11676 expected fail for i486-*-* that misses the marker2 function.
11677 * gdb.t10/crossload.exp (bfddefault): Allow successful
11678 recognition of a format to pass even if no symbols are found.
11679 Explicitly catch failures where the format is not recognized
11680 or is ambiguous, and add the reason to the fail message.
11681 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11682 the cause is and invalid target and add reason to failure message.
11683 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11684 elf32-i386, elf32-sparc, and elf32-i860.
11685 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11686 Set up expected failure for 'filename'::variable scope resolution,
11687 which is now apparently broken on all targets.
11688 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11689 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11690 gdb.t23/templates.exp: Change failure for missing binfile into
11691 just a warning.
11692 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11693 references.
11694
11695Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11696
11697 * gdb.t00/default.exp: Add expected output for default "source"
11698 command, to match new gdb behavior.
11699 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11700
11701Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11702
11703 * config/*-gdb.exp: returns an error, rather than exiting on
11704 internal errors.
11705
11706Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11707
11708 * gdb.t03/gdbme.c: Add pointer to struct variable.
11709 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11710 referencing struct members.
11711
11712Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11713
11714 * configure.in (mips-idt-ecoff): New target.
11715 * config/mips-gdb.exp: New file for remote board using MIPS remote
11716 debugging protocol.
11717
11718 * Redid configuration scheme. Removed gdb.t*/configure.in.
11719 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11720 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11721 distclean targets. Built executables via .o files. Adjusted
11722 tests to account for source files in $(srcdir) rather than
11723 $(objdir).
11724 * lib/gdb.exp (runto): Don't expect () after the function name,
11725 because it may have arguments.
11726
11727Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11728
11729 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11730 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11731 expected failures for mips-idt-* and mips-sgi-*.
11732 * gdb.t00/default.exp (attach): Kill process if requested.
11733 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11734 that does not read core files.
11735 * gdb.t01/run.exp: Removed checks for exit status code.
11736 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11737 it is linked in.
11738 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11739 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11740 appropriate, rather than doing it by hand.
11741 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11742 execution.
11743 * gdb.t10/crossload.exp: Kill existing program if needed.
11744 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11745 appropriate, rather than doing it by hand. Always increase
11746 timeout for this test, not just for VxWorks.
11747
11748Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11749
11750 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11751 of Chill STRUCT types and STRUCT values.
11752 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11753 than "char".
11754 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 11755 struct2): New struct definitions and initializations to test
c906108c
SS
11756 simple Chill STRUCT types.
11757
11758Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11759
11760 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11761 the null byte at the end of strings.
11762 * gdb.t00/default.exp: Make show version insensitive to copyright
11763 date.
11764 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11765 to avoid dependencies on target char signedness.
11766 * gdb.t16/printcmds.exp: Update expected results for explicitly
11767 unsigned char.
11768 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11769 now work.
11770 * gdb.t21/demangle.exp: Add many more patterns for template
11771 demangling, most of them being expected failures.
11772 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11773 string we are matching for, to match on the whole string.
11774 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11775 and fix a whole bunch that had incorrect expected output but were
11776 passing anyway because of the bug in "proc demangle".
11777 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11778 type.
11779 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11780
11781Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11782
11783 * gdb/testsuite: made modifications to testcases, etc., to allow
11784 them to work properly given the reorganization of deja-gnu and the
11785 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11786
11787Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11788
11789 * gdb/testsuite: Initial creation of gdb/testsuite.
11790 Migrated dejagnu testcases and support files for testing nm to
11791 gdb/testsuite from deja-gnu. These files were moved "as is"
11792 with no modifications. This migration is part of a major overhaul
11793 of dejagnu. The modifications to these testcases, etc., which
11794 will allow them to work with the new version of dejagnu will be
11795 made in a future update.
48efe704
AC
11796
11797For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
11798\f
11799Local Variables:
ef043731 11800mode: change-log
c906108c
SS
11801left-margin: 8
11802fill-column: 74
11803version-control: never
11804End: