]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
* i386-tdep.c: Add FIXME regarding STABS vs. Dwarf 2 register
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f86ef5a3
JB
12004-04-01 Joel Brobecker <brobecker@gnat.com>
2
3 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
4 * configure: Regenerate.
5
414e70e3
JB
62004-04-01 Joel Brobecker <brobecker@gnat.com>
7
8 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
9 to build the application. Remove the message printed when in
10 verbose mode, redundant with the UNSUPPORTED message above.
11
f0aaee49
JB
122004-03-31 Joel Brobecker <brobecker@gnat.com>
13
14 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
15 * gdb.ada (null_record.exp): New testcase.
16
ac81cb54
JB
172004-03-31 Joel Brobecker <brobecker@gnat.com>
18
19 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
20
854af2f7
JB
212004-03-31 Joel Brobecker <brobecker@gnat.com>
22
23 * gdb.ada: New subdirectory.
24 * gdb.ada/Makefile.in: New file.
25 * gdb.ada/gnat_ada.gpr.in: New file.
26
034cb681
JB
272004-03-31 Joel Brobecker <brobecker@gnat.com>
28
29 * lib/ada.exp: New file.
30
78a1a894
DJ
312004-03-24 Daniel Jacobowitz <drow@mvista.com>
32
33 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
34 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
35
4b2b3b3e
AC
362004-03-22 Andrew Cagney <cagney@redhat.com>
37
38 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
39 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
40 Problem identified by Ulrich Weigand.
41
23c73aa3
DC
422004-03-17 David Carlton <carlton@kealia.com>
43
44 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
45 PR c++/826.
46
d63a86f8
RM
472004-03-16 Roland McGrath <roland@redhat.com>
48
49 * gdb.base/auxv.exp: New file.
50 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
51
0e02aa50
DC
522004-03-12 David Carlton <carlton@kealia.com>
53
54 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
55 * gdb.cp/pr-1553.cc: Ditto.
56 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
57 pass branch.
58
c20b71be
MC
592004-03-12 Michael Chastain <mec.gnu@mindspring.com>
60
61 * gdb.cp/templates.exp: Accept more template types.
62
c7414a01
MC
632004-03-09 Michael Chastain <mec.gnu@mindspring.com>
64
65 From Corinna Vinschen with modifications.
66 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
67 local variable obj_with_enum.
68 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
69 results with obj_with_enum.
70
ed69573c
MC
712004-03-09 Michael Chastain <mec.gnu@mindspring.com>
72
73 * gdb.cp/classes.cc: New file, copied from misc.cc.
74 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
75
28301461
MC
762004-03-09 Michael Chastain <mec.gnu@mindspring.com>
77
78 * gdb.cp/misc.cc: Add copyright notice.
79
1198ecbe
DC
802004-03-05 David Carlton <carlton@kealia.com>
81
82 * gdb.cp/rtti.exp: Add 'print *obj3' test.
83 * gdb.cp/rtti.h: Update copyright.
84 (namespace n2::n3): New.
85 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
86 (n2::n3::func3): New.
87 (main): Call n2::n3::func3.
88 * gdb.cp/rtti2.cc: Update copyright.
89 (n2::create3): New.
90
9e08c470
MK
912004-03-04 Mark Kettenis <kettenis@gnu.org>
92
93 * gdb.asm/openbsd.inc: Fix typo.
94
4bebc3aa
FF
952004-03-03 Fred Fish <fnf@redhat.com>
96
97 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
98 "val" instead of unused "size". Update copyright year.
99
6ea9fb37
DJ
1002004-02-29 Daniel Jacobowitz <drow@mvista.com>
101
102 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
103 to use unsigned char.
104 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
105 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
106
23b23974
DJ
1072004-02-29 Daniel Jacobowitz <drow@mvista.com>
108
109 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
110 line of output.
111
7574fd53
DJ
1122004-02-28 Daniel Jacobowitz <drow@mvista.com>
113
114 * gdb.base/relocate.c (dummy): Initialize.
115
a195357f
DJ
1162004-02-28 Daniel Jacobowitz <drow@mvista.com>
117
118 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
119 a breakpoint at exit.
120
72fd54a9
FF
1212004-02-27 Fred Fish <fnf@redhat.com>
122
123 * gdb.base/chng-syms.exp: Add expect condition to match failing
124 case that isn't a timeout.
125
b9d23137
AC
1262004-02-27 Andrew Cagney <cagney@redhat.com>
127
128 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
129 support.
130
15d208f6 1312004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 132
15d208f6
FF
133 * gdb.arch/gdb1431.c: Remove.
134 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
135 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
136 of "until" incorrectly.
137
98f9cd2d
JB
1382004-02-26 J. Brobecker <brobecker@gnat.com>
139
140 * gdb.cp/class2.cc (empty): New class.
141 (refer): New function.
142 (main): Declare an object of type empty and use it.
143 * gdb.cp/class2.exp: Print the value of an object of type empty.
144
9b50c11b
JJ
1452004-02-26 Jeff Johnston <jjohnstn@redhat.com>
146
147 * gdb.base/langs.exp: Update query string to match the
148 new nquery format used for pending breakpoints.
149
0dcd613f
AC
1502004-02-26 Andrew Cagney <cagney@redhat.com>
151
152 Fix PR i18n/1570.
153 * gdb.base/charset.c: Update copyright notice.
154 (main, init_string): Remove the escape character '\e' tests.
155 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
156 * gdb.base/charset.exp (valid_host_charset): Ditto.
157 * gdb.base/setvar.exp: Ditto.
158
b8a56647
AC
1592004-02-24 Andrew Cagney <cagney@redhat.com>
160
90d59e34
AC
161 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
162 mmapped data in core file" PASS and FAIL messages consistent.
163
b8a56647
AC
164 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
165 setting a breakpoint. Work around PR java/1565.
166
9f27c604
JJ
1672004-02-23 Jeff Johnston <jjohnstn@redhat.com>
168
169 * lib/gdb.exp (gdb_breakpoint): Update query string to match
170 new nquery format.
171 * gdb.base/pending.exp: Ditto.
172
3224a706
MK
1732004-02-22 Mark Kettenis <kettenis@gnu.org>
174
175 * configure.in: Run stabs tests on *BSD.
176 * configure: Regenerated.
177
41e0a9ca
MK
1782004-02-21 Mark Kettenis <kettenis@gnu.org>
179
180 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
181
1e1b3428
FF
1822004-02-20 Fred Fish <fnf@redhat.com>
183
184 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
185 blank in test for "returns short", for consistency with other
186 "returns xxx" tests. Update copyright year.
187
f9a7572a
FF
1882004-02-19 Fred Fish <fnf@redhat.com>
189
190 New testcase for PR breakpoint/1558.
191 * gdb.arch/gdb1558.exp: New file.
192 * gdb.arch/gdb1558.c: New file.
193
b2ce2854
EZ
1942004-02-19 Elena Zannoni <ezannoni@redhat.com>
195
196 * gdb.base/nodebug.exp: Fix typo.
197
e7c9ff01
JB
1982004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
199
200 Committed by Jim Blandy <jimb@redhat.com>.
201
62f4b920
JB
202 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
203
2db536a1
JB
204 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
205
e7c9ff01
JB
206 * gdb.base/float.exp: Support s390*-*-* targets.
207
f3205b34
AF
2082004-02-17 Adam Fedor <fedor@gnu.org>
209
210 * gdb.base/gdb1555.exp: New file.
211 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
212
9d62932d
EZ
2132004-02-17 Elena Zannoni <ezannoni@redhat.com>
214
215 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
216
344c9711
FF
2172004-02-16 Fred Fish <fnf@redhat.com>
218
219 * gdb.arch/gdb1291.c: Remove
220 * gdb.arch/gdb1291.s: New test input file.
221 * gdb.arch/gdb1291.exp: Expand test to check case that should not
222 fail. Test for correct result, known incorrect result, other
223 failures and timeouts.
224
2d822687
AC
2252004-02-16 Andrew Cagney <cagney@redhat.com>
226
227 * gdb.base/bigcore.exp: New file.
228 * gdb.base/bigcore.c: New file.
229
dac15b66
AC
2302004-02-13 Andrew Cagney <cagney@redhat.com>
231
232 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
233 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
234 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
235 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
236 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
237 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
238 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
239 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
240 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
241 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
242
6bdfc2c4
JJ
2432004-02-11 Jeff Johnston <jjohnstn@redhat.com>
244
245 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
246 executed is an alloc instruction.
247
87b3ede8
DC
2482004-02-11 David Carlton <carlton@kealia.com>
249
250 * gdb.cp/breakpoint.exp: New.
251 * gdb.cp/breakpoint.cc: New.
252
6e19e2bf
MC
2532004-02-11 Michael Chastain <mec.gnu@mindspring.com>
254
255 Partial fix for PR gdb/1543.
256 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
257 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
258 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
259 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
260 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
261 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
262 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
263 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
264 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
265 to bug-gdb@prep.ai.mit.edu .
266 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
267 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
268 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
269 Likewise.
270
5c5455dc
AC
2712004-02-10 Andrew Cagney <cagney@redhat.com>
272
273 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
274 using gdb_internal_error_resync.
275
9cf689d7
DJ
2762004-02-09 Daniel Jacobowitz <drow@mvista.com>
277
278 * gdb.threads/thread-specific.exp: Stop early if no threads are
279 found.
280
d2dc51db
MC
2812004-02-09 Michael Chastain <mec.gnu@mindspring.com>
282
283 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
284
14b1a056
DJ
2852004-02-08 Daniel Jacobowitz <drow@mvista.com>
286
287 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
288 breakpoints.
289
83f66e8f
DJ
2902004-02-07 Daniel Jacobowitz <drow@mvista.com>
291
292 * config/sim.exp (gdb_load): Handle $arg == "".
293 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
294 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
295
30fc0091
EZ
2962004-02-07 Elena Zannoni <ezannoni@redhat.com>
297
298 * gdb.base/maint.exp: Update test to reflect
299 obstack changes.
300
4d806929
JJ
3012004-02-04 Jeff Johnston <jjohnstn@redhat.com>
302
303 * gdb.base/pendshr.c (pendfunc): New function that calls
304 pendfunc1.
305 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
306
7bfdd688
FF
3072004-02-04 Fred Fish <fnf@redhat.com>
308
309 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
310 function symbols and update copyright years.
311 * gdb.arch/gdb1291.c: Ditto.
312
aaa08ee4
MC
3132004-02-03 Michael Chastain <mec.gnu@mindspring.com>
314
315 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
316
dbad7755
MC
3172004-02-03 Michael Chastain <mec.gnu@mindspring.com>
318
319 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
320
ec4646ef
MC
3212004-02-03 Michael Chastain <mec.gnu@mindspring.com>
322
323 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
324
1b802196
FF
3252004-02-02 Fred Fish <fnf@redhat.com>
326
327 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
328 remote targets. Update copyright years.
329
18fe2033
JJ
3302004-02-02 Jeff Johnston <jjohnstn@redhat.com>
331
332 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
333 support.
334 * gdb.base/langs.exp: Fix test which attempts to create
335 breakpoint on non-existent function to handle new pending
336 support.
337 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
338 a breakpoint.
339 * gdb.base/pending.exp: New test.
340 * gdb.base/pending.c: New file.
341 * gdb.base/pendshr.c: Ditto.
342
8d577d32
DC
3432004-02-02 David Carlton <carlton@kealia.com>
344
345 * gdb.cp/overload.exp: Add overloadNamespace tests.
346 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
347 (overloadNamespace, XXX): New.
348 (main): Call XXX::marker2.
349
3ad13771
FF
3502004-02-01 Fred Fish <fnf@redhat.com>
351
352 * gdb.base/dump.exp: Use runto_main instead of "runto main".
353 * gdb.base/finish.exp: Ditto.
354 * gdb.base/gcore.exp: Ditto.
355 * gdb.base/huge.exp: Ditto.
356 * gdb.base/info-proc.exp: Ditto.
357 * gdb.base/return2.exp: Ditto.
358 * gdb.threads/gcore-thread.exp: Ditto.
359
44c75849
DJ
3602004-02-01 Daniel Jacobowitz <drow@mvista.com>
361
362 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
363
005bc093
MK
3642004-02-01 Mark Kettenis <kettenis@gnu.org>
365
366 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
367 that opening the file succeeds on OpenBSD.
368
c47cebdb
DJ
3692004-02-01 Daniel Jacobowitz <drow@mvista.com>
370
371 * gdb.threads/thread-specific.c: New file.
372 * gdb.threads/threads-specific.exp: New test script.
373 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
374 to expect_out.
375
5a01311c
MK
3762004-02-01 Mark Kettenis <kettenis@gnu.org>
377
378 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
379 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
380 only on the "print_small_structs from print_long_arg_list" test.
381
ce22a4f1
DJ
3822004-02-01 Daniel Jacobowitz <drow@mvista.com>
383
384 * gdb.base/completion.exp: Kill a stray backslash.
385
386 From Jim Ingham <jingham@apple.com>:
387 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
388 agrees with the result from sending a tab.
389
abbab9d3
DJ
3902004-01-31 Daniel Jacobowitz <drow@mvista.com>
391
392 * gdb.base/chng-syms.exp: Remove stray newline.
393
53904d1e
MK
3942004-01-31 Mark Kettenis <kettenis@gnu.org>
395
396 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
397 *-*-openbsd*.
398 * gdb.asm/openbsd.inc: New file.
399
3a4b3aac
MK
4002004-01-30 Mark Kettenis <kettenis@gnu.org>
401
402 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
403 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
404 *-*solaris2*. Remove commented out default settings for
405 asm-flags. Replace gdb_compile with target_link.
406
ebac27b4
MC
4072004-01-29 Michael Chastain <mec.gnu@mindspring.com>
408
409 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
410 for all tests. Remove old hp-ux and cygnus xfail cases.
411
d8679d84
PH
4122004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
413
414 * gdb.base/chng-syms.exp: New file.
415 * gdb.base/chng-syms.c: New file.
416
0a55bc22
MC
4172004-01-24 Michael Chastain <mec.gnu@mindspring.com>
418
419 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
420 Provide arms for current output in all my configurations.
421
94b8e876
MC
4222004-01-24 Michael Chastain <mec.gnu@mindspring.com>
423
424 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
425 * lib/compiler.cc: Likewise.
426 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
427 get the right preprocessor. Eval the output directly. Remove
428 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
429 hp_f77_compiler and hp_f90_compiler completely.
430 (gdb_preprocess): Delete.
431 (get_compiler): Delete.
432
7cf03d44
MK
4332004-01-24 Mark Kettenis <kettenis@gnu.org>
434
435 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
436 <string.h>.
437
68b6dce9
NR
4382004-01-24 Nick Roberts <nick@nick.uklinux.net>
439
440 * gdb.mi/mi-stack.exp: Update copyright.
441
b368761e
DC
4422004-01-23 David Carlton <carlton@kealia.com>
443
444 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
445 test for cp_lookup_transparent_type.
446 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
447 call them.
448
f2061b53
DJ
4492004-01-23 Daniel Jacobowitz <drow@mvista.com>
450
451 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
452 after -var-update.
453
37fc574a
DC
4542004-01-23 David Carlton <carlton@kealia.com>
455
456 * gdb.cp/namespace.cc (C::ensureRefs): New.
457 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
458
8e94b928
NR
4592004-01-20 Nick Roberts <nick@nick.uklinux.net>
460
461 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
462 case "-stack-list-locals 2".
463 * gdb.mi/mi-var-child.exp: Test for case
464 "-var-list-children --all-values NAME".
465
997b0952
MC
4662004-01-18 Michael Chastain <mec.gnu@mindspring.com>
467
468 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
469
52470da3
MK
4702004-01-18 Mark Kettenis <kettenis@gnu.org>
471
7049b4b8
MK
472 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
473 used with gdb_test_multiple.
474
52470da3
MK
475 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
476 read at address 0. This fixes PR testsuite/1504.
477
da6012e5
DJ
4782004-01-18 Daniel Jacobowitz <drow@mvista.com>
479
480 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
481 Remove downloading, guessing the host executable, the calls to
482 gdb_file_cmd and gdb_target_cmd, and "load" support.
483 (infer_host_exec): New function broken out from gdb_load.
484 (gdb_load): New wrapper for gdbserver_gdb_load.
485 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
486 gdb_target_cmd. Use -target-select.
487 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
488 Download binaries to the host. Clear last_mi_remote_file when
489 we load a new binary.
490 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
491 call gdbserver_gdb_load and mi_gdb_target_cmd.
492
32c70722
MC
4932004-01-17 Michael Chastain <mec.gnu@mindspring.com>
494
495 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
496 type patterns.
497
b0cecf36
MC
4982004-01-17 Michael Chastain <mec.gnu@mindspring.com>
499
500 * gdb.cp/templates.exp: Fix typo in test name of
501 "print Foo<volatile char*>::foo".
502
4120d7e6
MC
5032004-01-15 Michael Chastain <mec.gnu@mindspring.com>
504
505 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
506
f679e530
BE
5072004-01-16 Ben Elliston <bje@wasabisystems.com>
508
509 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
510 (clean mostlyclean): Remove empty rm.
511
091c48f6
MC
5122004-01-15 Michael Chastain <mec.gnu@mindspring.com>
513
514 * gdb.base/setvar.exp: Add copyright years.
515
3e5fc8d2
DC
5162004-01-14 David Carlton <carlton@bactrian.org>
517
518 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
519 PR c++/1511 and update coment.
520 * gdb.cp/templates.exp: Update patterns to match current output.
521 If changes involve something other than whitespace, KFAIL
522 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
523
63d06c5c
DC
5242004-01-14 David Carlton <carlton@kealia.com>
525
526 * gdb.cp/namespace.exp: Add tests involving classes defined within
527 namespaces.
528 * gdb.cp/namespace.cc (C::CClass): New.
529 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
530
a51dab88
EZ
5312004-01-14 Elena Zannoni <ezannoni@redhat.com>
532
533 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
534 what debug info we have. Print a better message if something goes
535 wrong while producing the separate debug info file.
536
a476ccc9
MC
5372004-01-14 Michael Chastain <mec.gnu@mindspring.com>
538
539 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
540
f453692c
MC
5412004-01-14 Michael Chastain <mec.gnu@mindspring.com>
542
543 * gdb.base/callfuncs.c: Add copyright notice.
544
f40063a5
MC
5452004-01-13 Michael Chastain <mec.gnu@mindspring.com>
546
547 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
548 inheritance. PR gdb/1498, PR gcc/13539.
549
19ac3974
EZ
5502004-01-13 Elena Zannoni <ezannoni@redhat.com>
551
552 * gdb.threads/gcore-thread.exp: Prefix name of binary with
553 test specific name.
554 * gdb.mi/gdb669.exp: Ditto.
555 * gdb.mi/mi-pthreads.exp: Ditto.
556 * gdb.mi/mi1-pthreads.exp: Ditto.
557 * gdb.mi/mi2-pthreads.exp: Ditto.
558
56c97c6e
MC
5592004-01-12 Michael Chastain <mec.gnu@mindspring.com>
560
561 * gdb.cp/member-ptr.cc: Add copyright notice.
562
a0644324
MC
5632004-01-12 Michael Chastain <mec.gnu@mindspring.com>
564
565 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
566 some patterns for recent versions of gcc and hpacc. Delete
567 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
568 Delete tests that access a NULL pointer-to-member-data. This
569 script is still disabled for gcc.
570
32fabe09
EZ
5712004-01-12 Elena Zannoni <ezannoni@redhat.com>
572
573 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
574 escaped correctly.
575
1f8a6abb
EZ
5762004-01-12 Elena Zannoni <ezannoni@redhat.com>
577
578 * gdb.base/sepdebug.exp: New file.
579 * gdb.base/sepdebug.c: New file.
580 * lib/gdb.exp (separate_debug_filename): New procedure.
581 (gdb_gnu_strip_debug): New procedure.
582
48efe704
AC
5832004-01-12 Andrew Cagney <cagney@redhat.com>
584
585 * gdb.mi/ChangeLog: Delete file. Renamed to ...
586 * gdb.mi/ChangeLog-1999-2003: New file.
587
a9415475
AC
5882004-01-12 Andrew Cagney <cagney@redhat.com>
589
590 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
591 "Renaming a directory to a non-empty directory returns ENOTEMPTY
592 or EEXIST", treat EBUSY as an XFAIL.
593
83b8cf9d
MC
5942004-01-11 Michael Chastain <mec.gnu@mindspring.com>
595
596 * gdb.base/scope.exp: Remove obsolete setup_xfail for
597 hp_cc_compiler.
598
9939d2a8
MC
5992004-01-10 Michael Chastain <mec.gnu@mindspring.com>
600
601 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
602 decorations.
603
1ff8cadf
MC
6042004-01-10 Michael Chastain <mec.gnu@mindspring.com>
605
606 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
607 and "(aCC)" decorations. Remove obsolete doco about old
608 test results.
609
6fa9022e
MC
6102004-01-09 Michael Chastain <mec.gnu@mindspring.com>
611
612 * gdb.cp/exception.exp: Fix typo in doco.
613
209721fe
MK
6142004-01-09 Mark Kettenis <kettenis@gnu.org>
615
616 * gdb.base/gdb1476.exp: Fix typo.
617
ef11303e
MC
6182004-01-09 Michael Chastain <mec.gnu@mindspring.com>
619
620 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
621 file.
622
041ab88c
MC
6232004-01-09 Michael Chastain <mec.gnu@mindspring.com>
624
625 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
626 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
627 Use gdb_compile. Remove restriction on gcc. Add some patterns
628 for recent version of gdb. Delete second half, which was a copy
629 of the first half with different build flags. This test is
630 still disabled because it is still not ready for production.
631
e36d075a
MC
6322004-01-08 Michael Chastain <mec.gnu@mindspring.com>
633
634 * gdb.cp/exception.cc: Add copyright notice.
635 * gdb.cp/exception.exp: Add a notice that this file is broken
636 because of line number changes caused by addition of copyright
637 notice.
638
42b190ad
MC
6392004-01-08 Michael Chastain <mec.gnu@mindspring.com>
640
641 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
642 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
643
8f25f06b
MC
6442004-01-08 Michael Chastain <mec.gnu@mindspring.com>
645
646 * gdb.cp/classes.exp: Accept gnu abi 2.
647 * gdb.cp/derivation.exp: Likewise.
648 * gdb.cp/overload.exp: Likewise.
649 * gdb.cp/virtfunc.exp: Likewise.
650
06ded8b8
MC
6512004-01-08 Michael Chastain <mec.gnu@mindspring.com>
652
653 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
654 semicolon after end of function.
655
77c26ae3
MC
6562004-01-07 Michael Chastain <mec.gnu@mindspring.com>
657
658 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
659 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
660 boilerplate code for compiling and running the program under
661 test. Add some string method tests.
662
20757486
MC
6632004-01-07 Michael Chastain <mec.gnu@mindspring.com>
664
665 * gdb.cp/bs15503.cc: Add copyright notice.
666 * gdb.cp/bs15503.exp: Adjust line number.
667
0fd3b503
MC
6682004-01-07 Michael Chastain <mec.gnu@mindspring.com>
669
670 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
671 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
672
10d1bea8
MC
6732004-01-07 Michael Chastain <mec.gnu@mindspring.com>
674
675 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
676 hp_cc_compiler.
677
2789202a
MC
6782004-01-07 Michael Chastain <mec.gnu@mindspring.com>
679
680 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
681 * gdb.cp/ctti.exp: Use the marker instead of "next".
682 With gcc, run further before bailing.
683
b862f14c
MC
6842004-01-07 Michael Chastain <mec.gnu@mindspring.com>
685
686 * gdb.cp/cttiadd.cc: Add copyright notice.
687 * gdb.cp/cttiadd1.cc: Likewise.
688 * gdb.cp/cttiadd2.cc: Likewise.
689 * gdb.cp/cttiadd3.cc: Likewise.
690
96da2469
MC
6912004-01-07 Michael Chastain <mec.gnu@mindspring.com>
692
693 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
694 Use gdb_test, gdb_test_multiple. Use floating-point values that
695 have exact representations in IEEE-ish formats.
696
053248ff
MC
6972004-01-07 Michael Chastain <mec.gnu@mindspring.com>
698
699 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
700 compilers. Delete duplicate call to get_compiler_info.
701 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
702 * gdb.base/volatile.exp: Likewise.
703
84acecdd
MK
7042004-01-07 Mark Kettenis <kettenis@gnu.org>
705
706 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
707 memory at address 0.
708
fe11a27f
MC
7092004-01-07 Michael Chastain <mec.gnu@mindspring.com>
710
711 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
712 to test for hp-ux assembler. Fix copyright years.
713
60ad077b
AC
7142004-01-07 Andrew Cagney <cagney@redhat.com>
715
716 * gdb.base/fileio.c (strerrno): Add "EBUSY".
717
1c9b8f33
AC
7182004-01-07 Andrew Cagney <cagney@redhat.com>
719
720 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
721 when creating the read-only file. From analysis by Roland McGrath
722 and Elena Zannoni.
723
753ccc7a
MC
7242004-01-06 Michael Chastain <mec.gnu@mindspring.com>
725
726 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
727
eca3e36b
MC
7282004-01-06 Michael Chastain <mec.gnu@mindspring.com>
729
730 * gdb.base/cvexpr.c: Be type-safe with function pointers and
731 data pointers.
732
f8d4bac4
MC
7332004-01-06 Michael Chastain <mec.gnu@mindspring.com>
734
735 * gdb.cp/m-static.exp: Compile one source file at a time.
736 Delete unused call to get_compiler_info.
737
9b4e0f94
MC
7382004-01-06 Michael Chastain <mec.gnu@mindspring.com>
739
740 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
741 * gdb.base/call-rt-st.exp: Likewise.
742 * gdb.base/nodebug.exp: Likewise.
743 * gdb.base/volatile.exp: Likewise.
744 * gdb.cp/ref-types.exp: Likewise.
745 * gdb.cp/templates.exp: Likewise.
746
023c1024
MK
7472004-01-05 Mark Kettenis <kettenis@gnu.org>
748
749 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
750
19703c4a
MC
7512004-01-05 Michael Chastain <mec.gnu@mindspring.com>
752
753 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
754 hppa*-hp-hpux*.
755
18b67037
MK
7562004-01-04 Mark Kettenis <kettenis@gnu.org>
757
ba6219c8
MK
758 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
759 x86_64-*-*.
760
18b67037
MK
761 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
762 sparc64-*-* and sparc*-solaris2*.
763
1bfbbb9d
MK
7642004-01-04 Mark Kettenis <kettenis@gnu.org>
765
766 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
767 return ${tests}" test. The ${tests} already mentions the
768 filename.
769
06846494
MC
7702004-01-02 Michael Chastain <mec.gnu@mindspring.com>
771
772 * gdb.cp/local.exp: Accept gcc abi 2.
773
3b0cb202
MC
7742004-01-02 Michael Chastain <mec.gnu@mindspring.com>
775
776 * gdb.cp/templates.exp: Accept gcc abi 2.
777
0643ec3f
MC
7782004-01-02 Michael Chastain <mec.gnu@mindspring.com>
779
780 * lib/compiler.cc: Remove supports_template_debugging.
781 * gdb.cp/templates.exp: Do not test supports_template_debugging.
782
d231d0b1
MC
7832004-01-01 Michael Chastain <mec.gnu@mindspring.com>
784
785 * gdb.cp/namespace.exp: Accept gcc abi 2.
786
44ffb27c
MC
7872004-01-01 Michael Chastain <mec.gnu@mindspring.com>
788
789 * gdb.cp/method.exp: Accept gcc abi 2.
790
184ad485
MC
7912004-01-01 Michael Chastain <mec.gnu@mindspring.com>
792
793 * gdb.cp/classes.exp: Generate identical results as old version.
794 * gdb.cp/derivation.exp: Likewise.
795 * gdb.cp/overload.exp: Likewise.
796 * gdb.cp/virtfunc.exp: Likewise.
797
116f09e7
MC
7982004-01-01 Michael Chastain <mec.gnu@mindspring.com>
799
800 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
801 mysterious bug with sourceware version of expect.
802
b1379776
MC
8032004-01-01 Michael Chastain <mec.gnu@mindspring.com>
804
805 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
806 current versions of gcc, including gcc abi 2. Remove gratuitous
807 restart of test program. Use gdb_test_multiple and gdb_test for
808 all tests. Add patterns to xfail missing "const" in "const char *"
809 and kfail PR gdb/1155.
810
6b7a4c0e
MC
8112004-01-01 Michael Chastain <mec.gnu@mindspring.com>
812
813 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
814 current versions of gcc, including gcc abi 2. Remove gratuitous
815 restart of test program. Use gdb_test_multiple and gdb_test for
816 all tests. Add patterns to kfail PR gdb/1498.
817
51615d72
MC
8182003-12-31 Michael Chastain <mec.gnu@mindspring.com>
819
820 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
821 current versions of gcc, including gcc abi 2. Use "breakpoint"
822 and "continue" instead of restarting the target program. Use
823 gdb_test_multiple and gdb_test for all tests.
824
7b79a9d7
MK
8252004-01-01 Mark Kettenis <kettenis@gnu.org>
826
827 * gdb.asm/asm-source.exp: Update copyright year. Link statically
828 for *-*-solaris2*.
829
1cd3489f
MC
8302003-12-31 Michael Chastain <mec.gnu@mindspring.com>
831
832 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
833 current versions of gcc, including gcc abi 2. Use "breakpoint"
834 and "continue" instead of restarting the target program several
835 times. Use gdb_test_multiple and gdb_test for all tests.
836
850742db
MC
8372003-12-18 Michael Chastain <mec.gnu@mindspring.com>
838
839 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
840 source files.
841
eb4bbda8
MC
8422003-12-16 Michael Chastain <mec.gnu@mindspring.com>
843
844 * gdb.base/environ.exp: Handle compiling test case from multiple
845 source files.
846
e42c7771
MC
8472003-12-16 Michael Chastain <mec.gnu@mindspring.com>
848
849 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
850
80e4b428
JB
8512003-12-17 Jim Blandy <jimb@redhat.com>
852
5f06973a
JB
853 * gdb.base/freebpcmd.c: Add copyright notice.
854
80e4b428
JB
855 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
856
0ab84fb7
MC
8572003-12-16 Michael Chastain <mec.gnu@mindspring.com>
858
859 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
860
1b3bb3d0
JB
8612003-12-13 Jim Blandy <jimb@redhat.com>
862
863 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
864
3a4c9371
KB
8652003-12-12 Kevin Buettner <kevinb@redhat.com>
866
867 * gdb.asm/frv.inc: New file.
868 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
869
a1dea79a
FF
8702003-12-09 Fred Fish <fnf@redhat.com>
871
872 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
873 functions to break1.c and leave prototypes behind. Add more
874 "set breakpoint NN here" comments.
875 * gdb.base/break1.c: New file.
876
877 * gdb.base/break.exp: Handle compiling test case from multiple
878 source files and change source file references as needed.
879 * gdb.base/completion.exp: Ditto.
880 * gdb.base/condbreak.exp: Ditto.
881 * gdb.base/define.exp: Ditto.
882 * gdb.base/ena-dis-br.exp: Ditto.
883 * gdb.base/info-proc.exp: Ditto.
884 * gdb.base/maint.exp: Ditto.
885 * gdb.base/until.exp: Ditto.
886
887 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
888 hardcoded line numbers.
889 * gdb.base/define.exp: Ditto.
890 * gdb.base/ena-dis-br.exp: Ditto.
891 * gdb.base/maint.exp: Ditto.
892 * gdb.base/until.exp: Ditto.
893
894 * gdb.base/completion.exp: Use "break1" for completion tests since
895 "break" is no longer a unique prefix.
896
5266b69c
AC
8972003-12-06 Andrew Cagney <cagney@redhat.com>
898
899 * gdb.base/structs.exp (test_struct_returns): When applicable, set
900 "return_value_unimplemented". When an unimplemented struct return
901 architecture, report incorrect values as a KFAIL
902
374451f0
MC
9032003-12-05 Michael Chastain <mec.gnu@mindspring.com>
904
905 * gdb.cp/rtti.exp: Accept new wording of warning from
906 cp_lookup_rtti_type.
907
ba9b20a7
MC
9082003-12-05 Michael Chastain <mec.gnu@mindspring.com>
909
910 Partial fix for PR testsuite/1456.
911 * gdb.base/scope.exp (test_at_main): Replace references to
912 gcc_compiled with calls to test_compiler_info.
913 (test_at_foo): Likewise.
914 (test_at_bar): Likewise.
915
b74b6d0b
MC
9162003-12-04 Michael Chastain <mec.gnu@mindspring.com>
917
918 Partial fix for PR testsuite/1456.
919 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
920 to test_compiler_info.
921
ccfa3402
MC
9222003-12-03 Michael Chastain <mec.gnu@mindspring.com>
923
924 * gdb.base/so-impl-ld.exp: Update copyright notice.
925
f6246aba
MC
9262003-12-02 Michael Chastain <mec.gnu@mindspring.com>
927
928 Partial fix for PR testsuite/1456.
929 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
930 to test_compiler_info.
931
13ae734a
MC
9322003-11-28 Michael Chastain <mec.gnu@mindspring.com>
933
934 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
935 from current versions of gdb. Clean up regular expressions.
936 Delete redundant timeout case.
937
d8e1cdee
MC
9382003-11-28 Michael Chastain <mec.gnu@mindspring.com>
939
940 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
941 from current versions of gdb. Clean up regular expressions.
942 Delete redundant timeout case.
943
96457b64
MC
9442003-12-01 Michael Chastain <mec.gnu@mindspring.com>
945
946 Partial fix for PR testsuite/1456.
947 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
948 gcc_compiled with call to test_compiler_info.
949
f35309fc
MC
9502003-11-30 Michael Chastain <mec.gnu@mindspring.com>
951
952 Partial fix for PR testsuite/1456.
953 * gdb.base/list.exp (test_list_function): Delete unused declaration
954 of gcc_compiled.
955
d7afdf9b
MC
9562003-11-29 Michael Chastain <mec.gnu@mindspring.com>
957
958 Partial fix for PR testsuite/1456.
959 * gdb.base/complex.exp: Replace reference to gcc_compiled with
960 call to test_compiler_info.
961
71507b56
MK
9622003-11-29 Mark Kettenis <kettenis@gnu.org>
963
964 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
965 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
966 it to create the appropriate note.inc.
967 * gdb.asm/asmsrc1.s: Include "note.inc".
968 * gdb.asm/netbsd.inc: New file.
969 * gdb.asm/empty.inc: New file.
970
f81f93f7
MC
9712003-11-28 Michael Chastain <mec.gnu@mindspring.com>
972
973 Partial fix for PR testsuite/1456.
974 * gdb.base/constvars.exp: Replace references to gcc_compiled with
975 calls to test_compiler_info.
976
9a77938e
MC
9772003-11-27 Michael Chastain <mec.gnu@mindspring.com>
978
979 Partial fix for PR testsuite/1456.
980 * gdb.base/volatile.exp: Replace references to gcc_compiled with
981 calls to test_compiler_info.
982
e8367dc7
MK
9832003-11-27 Mark Kettenis <kettenis@gnu.org>
984
985 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
986 pattern for the KFAILs.
987
526c61ee
AF
9882003-11-25 Adam Fedor <fedor@gnu.org>
989
990 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
991 * gdb.objc/objcdecode.m: New file.
992
28f2d600
AF
9932003-11-25 Adam Fedor <fedor@gnu.org>
994
995 * gdb.objc/nondebug.exp: Test for PR objc/1236.
996 * gdb.objc/nondebug.m: New file.
997
a3895cee
BE
9982003-11-26 Ben Elliston <bje@wasabisystems.com>
999
1000 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1001 NetBSD as it does on FreeBSD. Modelled on a similar change by
1002 Mark Kettenis on 2003-05-30.
1003 (link-flags): Set to "--entry _start" regardless of target.
1004 Special linker flags are to be appended to $link-flags.
1005 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
1006
c9f2c8a3
MC
10072003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1008
1009 * gdb.cp/method.exp: Accept output of new demangler.
1010
15a0587a 10112003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
1012
1013 * gdb/class2.exp: New file.
1014 * gdb/class2.cc: New file.
1015
3c00b570
MC
10162003-11-25 Michael Chastain <mec.gnu@mindspring.com>
1017
1018 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
1019 of new demangler.
1020
7027acc7
MK
10212003-11-23 Mark Kettenis <kettenis@gnu.org>
1022
1023 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
1024 of gdb_test "run".
1025
b0e1598a
MK
10262003-11-23 Mark Kettenis <kettenis@gnu.org>
1027
1028 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
1029 "continue" into "run".
1030
4d9eda44
MC
10312003-11-23 Michael Chastain <mec.gnu@mindspring.com>
1032
1033 Partial fix for PR testsuite/1456.
1034 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
1035 call to test_compiler_info.
1036 * gdb.cp/ctti.exp: Likewise.
1037 * gdb.cp/derivation.exp: Likewise.
1038 * gdb.cp/member-ptr.exp: Likewise.
1039 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
1040 reference to gcc_compiled.
1041
10422003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
1043
1044 Fix PR testsuite/1463.
1045 * gdb.base/structs.exp (start_structs_test): Call
1046 get_debug_format before using the debug format.
1047
d422fe19
AC
10482003-11-22 Andrew Cagney <cagney@redhat.com>
1049
1050 * lib/gdb.exp (gdb_test_multiple): Add simple example.
1051 * gdb.base/structs.exp: Use gdb_test_multiple.
1052
039cf96d
AC
10532003-11-20 Andrew Cagney <cagney@redhat.com>
1054
6882279b
AC
1055 * gdb.base/structs.exp: Handle and recover from internal errors.
1056 Replace "foo${n}" with "foo<n>" in test messages.
1057
e53890ae
AC
1058 * gdb.base/structs.exp: Update copyright. Rewrite.
1059 * gdb.base/structs.c: Update copyright. Rewrite.
1060
2b211c59
AC
1061 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
1062 resync count exceeded.
d63a86f8 1063
039cf96d
AC
1064 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
1065 from the internal error.
1066 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
1067 Original from Jim Blandy.
1068 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 1069
eac98b22
AC
10702003-11-19 Andrew Cagney <cagney@redhat.com>
1071
1072 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
1073 KFAIL.
1074
67455b2a
MK
10752003-11-17 Mark Kettenis <kettenis@gnu.org>
1076
1077 New testcase for PR backtrace/1435.
1078 * gdb.arch/i386-unwind.exp: New file.
1079 * gdb.arch/i386-unwind.c: New file.
1080
853d6e5b
AC
10812003-11-17 Andrew Cagney <cagney@redhat.com>
1082
1083 * lib/gdb.exp (compiler_info): New global.
1084 (test_compiler_info): New function.
1085 (get_compiler_info): Set compiler_info.
1086 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
1087 "compiler_info" to gcc-<major>-<minor>.
1088
38cf6e11
MC
10892003-11-15 Michael Chastain <mec.gnu@mindspring.com>
1090
1091 * gdb.trace/configure: Remove.
1092
a50d3602
EZ
10932003-11-13 Elena Zannoni <ezannoni@redhat.com>
1094
1095 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 1096 breakpoints.
a50d3602
EZ
1097 * gdb.base/break.exp: Remove all references to explicit line
1098 numbers.
1099
d9407aaa
NC
11002003-11-11 Nick Clifton <nickc@redhat.com>
1101
1102 * gdb.base/shreloc.exp: Do not run for targets which do not
1103 support shared objects.
1104
db488fc1
CV
11052003-11-10 Corinna Vinschen <vinschen@redhat.com>
1106
1107 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
1108 Don't run tests if nofileio flag is given.
1109
6a90a18e
EZ
11102003-11-07 Elena Zannoni <ezannoni@redhat.com>
1111
1112 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
1113 as well as 'Watchpoint'.
1114
0b915e9c
EZ
11152003-11-06 Elena Zannoni <ezannoni@redhat.com>
1116
1117 Reported by Jim Ingham <jingham@apple.com>:
1118 * gdb.base/annota1.exp: Match at least one occurrence of the
1119 signal handler annotation.
1120
d7e4b55f
EZ
11212003-11-06 Elena Zannoni <ezannoni@redhat.com>
1122
1123 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
1124 as well as 'Watchpoint'.
1125
2fe4e8d0
MC
11262003-11-05 Michael Chastain <mec@shout.net>
1127
1128 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
1129
6ef88553
KW
11302003-11-03 Kris Warkentin <kewarken@qnx.com>
1131
1132 * gdb.arch/gdb1291.c: New test file.
1133 * gdb.arch/gdb1291.exp: New test script.
1134 * gdb.arch/gdb1431.c: New test file.
1135 * gdb.arch/gdb1431.exp: New test script.
1136
ae7dc4d8
MC
11372003-10-22 Michael Chastain <mec@shout.net>
1138
1139 * gdb.mi/pthreads.c: Add copyright notice.
1140
c39d7427
MC
11412003-10-22 Michael Chastain <mec@shout.net>
1142
1143 * gdb.threads/pthreads.c: Add copyright notice.
1144
8b7d96c1
MC
11452003-10-20 Michael Chastain <mec@shout.net>
1146
1147 * gdb.base/gdb1056.exp: New test script.
1148
d1d69fdd
DJ
11492003-10-13 Daniel Jacobowitz <drow@mvista.com>
1150
1151 * gdb.threads/killed.exp: Use gdb_run_cmd.
1152
7d605576
DJ
11532003-10-13 Daniel Jacobowitz <drow@mvista.com>
1154
1155 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
1156 create a core file.
1157 * gdb.threads/gcore-thread.exp: Likewise.
1158
618ec112
CV
11592003-10-13 Corinna Vinschen <vinschen@redhat.com>
1160
1161 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
1162 type, based on char type.
1163 (struct bit_flags_short_t): New bitfield type, based on short type.
1164 (init_bit_flags_char): New fuction.
1165 (init_bit_flags_short): Ditto.
1166 (print_bit_flags_char): Ditto.
1167 (print_bit_flags_short): Ditto.
1168 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
1169
9367a73c
MC
11702003-10-11 Michael Chastain <mec@shout.net>
1171
1172 * gdb.base/call-rt-st.exp: Update copyright year.
1173
1decf120
KI
11742003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
1175
1176 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
1177 * gdb.disasm/sh3.s: Ditto.
1178
5445b2ae
DJ
11792003-10-07 Daniel Jacobowitz <drow@mvista.com>
1180
1181 * gdb.threads/switch-threads.exp: New test.
1182 * gdb.threads/switch-threads.c: New source file.
1183
aec24853
CV
11842003-10-07 Corinna Vinschen <vinschen@redhat.com>
1185
1186 * gdb.base/ending-run.exp: Add sh specific case.
1187
adc7428d
AC
11882003-10-06 Andrew Cagney <cagney@redhat.com>
1189
1190 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
1191 * gdb.disasm/mn10200.exp: Delete obsolete file.
1192
c9d37158
DJ
11932003-09-29 Daniel Jacobowitz <drow@mvista.com>
1194
1195 * ChangeLog: Correct an entry command.exp -> commands.exp.
1196 * gdb.base/commands.exp (bp_deleted_in_command_test)
1197 (temporary_breakpoint_commands): Check noargs.
1198
79c2c32d
DC
11992003-09-25 David Carlton <carlton@kealia.com>
1200
1201 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
1202 of some print tests, where appropriate. Add tests for C::D::cd,
1203 E::ce, F::cXfX, G::XgX.
1204 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
1205
594e6d67
RE
12062003-09-25 Richard Earnshaw <rearnsha@arm.com>
1207
1208 * lib/java.exp (java_init): Import target_alias before using it.
1209
10f0d451
DC
12102003-09-25 David Carlton <carlton@kealia.com>
1211
1212 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
1213
274bcba0
EZ
12142003-09-23 Elena Zannoni <ezannoni@redhat.com>
1215
d63a86f8 1216 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
1217 weirdness.
1218
cdbf20f7
MC
12192003-09-17 Michael Chastain <mec@shout.net>
1220
1221 * gdb.cp/gdb1355.exp: New file.
1222 * gdb.cp/gdb1355.c: New file.
1223
71e06f80
CV
12242003-09-15 Corinna Vinschen <vinschen@redhat.com>
1225
1226 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
1227 * gdb.asm/sh.inc: New file.
1228
5c4e30ca
DC
12292003-09-11 David Carlton <carlton@kealia.com>
1230
bd45b7af
DC
1231 * gdb.cp/namespace.exp: Add tests for namespace types.
1232 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
1233 (test_namespace): New.
1234
1c199746
EZ
12352003-09-11 Elena Zannoni <ezannoni@redhat.com>
1236
1237 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 1238 * gdb.stabs/weird.exp: Ditto.
1c199746 1239
04ed252f
MC
12402003-09-08 Michael Chastain <mec@shout.net>
1241
1242 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
1243
d8a2d9e7
MC
12442003-09-07 Michael Chastain <mec@shout.net>
1245
1246 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
1247 'parse error'.
1248
161afb24
MK
12492003-09-07 Mark Kettenis <m.kettenis@osp.nl>
1250
1251 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
1252
49f2741a
MC
12532003-08-30 Michael Chastain <mec@shout.net>
1254
1255 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
1256 * gdb.gdb/observer.exp: Ditto.
1257 * gdb.gdb/xfullpath.exp: Ditto.
1258
8afa723e
MK
12592003-08-29 Mark Kettenis <kettenis@gnu.org>
1260
1261 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
1262 *-*-*bsd*.
1263
f31dfe3b
JJ
12642003-08-28 Jeff Johnston <jjohnstn@redhat.com>
1265
1266 * gdb.base/dump.exp: Skip for ia64.
1267
4630e498
JJ
12682003-08-25 Jeff Johnston <jjohnstn@redhat.com>
1269
1270 * gdb.asm/asm-source.exp: Add ia64 support.
1271 * gdb.asm/ia64.inc: New file.
1272
1105b7ef
MC
12732003-08-22 Michael Chastain <mec@shout.net>
1274
1275 * gdb.cp: New directory.
1276 * gdb.cp/*: Copy from gdb.c++/*.
1277 * gdb.c++/*: Remove.
1278 * Makefile.in: Change gdb.c++ to gdb.cp.
1279 * configure.in: Ditto.
1280 * configure: Regnerate.
1281
c945b932
MK
12822003-08-18 Mark Kettenis <kettenis@gnu.org>
1283
1284 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1285 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1286
2b66634b
DJ
12872003-08-17 Daniel Jacobowitz <drow@mvista.com>
1288
1289 * mi-var-display.exp (-var-list-children weird): Accept function
1290 pointers with argument types.
1291 * mi1-var-display.exp (-var-list-children weird): Likewise.
1292 * mi2-var-display.exp (-var-list-children weird): Likewise.
1293
a356f73b
DJ
12942003-08-17 Daniel Jacobowitz <drow@mvista.com>
1295
1296 * gdb.base/annota3.exp: Add missing newline.
1297
483417b8
MC
12982003-08-06 Michael Chastain <mec@shout.net>
1299
1300 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1301
c99c59c3
MS
13022003-08-12 Michael Snyder <msnyder@redhat.com>
1303
1304 * gdb.base/float.exp: Add test for SH.
1305
55ed7501
MK
13062003-08-10 Mark Kettenis <kettenis@gnu.org>
1307
1308 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1309
1a371f2e
EZ
13102003-08-07 Elena Zannoni <ezannoni@redhat.com>
1311
1312 * gdb.base/completion.exp: Remove reduntant completion test
1313 on filename.
1314
e0f353ce
EZ
13152003-08-07 Elena Zannoni <ezannoni@redhat.com>
1316
1317 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1318 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1319 gdb.trace/save-trace.exp: Make sure that full pathnames are
1320 escaped correctly.
1321
5710a1af 13222003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 1323
5710a1af
EZ
1324 * configure.in: Don't generate config.h from config.hin.
1325 * configure: Regenerate.
1326 * config.hin: Remove file.
1327 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1328 * gdb.threads/pthreads.c: Ditto.
1329
dcd81ce9
DJ
13302003-08-07 Daniel Jacobowitz <drow@mvista.com>
1331
1332 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1333 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1334 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1335 Replace ld24 with seth/add3.
1336
6009d884
AC
13372003-08-02 Andrew Cagney <cagney@redhat.com>
1338
1339 * gdb.base/annota3.exp: New file.
1340 * gdb.base/annota3.c: New file.
1341 * gdb.c++/annota3.exp: New file.
1342 * gdb.c++/annota3.cc: New file.
1343
51514e06
MC
13442003-07-29 Michael Chastain <mec@shout.net>
1345
1346 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1347 actually failed.
1348 (do_pass): Likewise.
1349 * gdb.threads/tls.exp: Always initialize no_of_threads.
1350
4ee6625b
DJ
13512003-07-27 Daniel Jacobowitz <drow@mvista.com>
1352
1353 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1354 pattern.
1355 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1356 * gdb.threads/tls.exp: Recognize one case of the host library not
1357 supporting TLS.
1358
225f2bf6
AC
13592003-07-27 Andrew Cagney <cagney@redhat.com>
1360
1361 * gdb.base/fileio.exp: Use SH when running commands using
1362 remote_exec.
1363
bcb27c9f
DJ
13642003-07-24 Daniel Jacobowitz <drow@mvista.com>
1365
1366 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1367 * gdb.base/relocate.c (dummy): New padding array.
1368
3d67be83
MS
13692003-07-22 Michael Snyder <msnyder@redhat.com>
1370
d63a86f8 1371 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
1372
1373 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1374 patterns to be more general, accepting old and new output.
1375 Some output chars (such as '+') also must be quoted.
d63a86f8 1376 Some addresses are displayed numerically instead of
3d67be83
MS
1377 symbolically.
1378
57ba3b85
MS
13792003-07-23 Michael Snyder <msnyder@redhat.com>
1380
686d097c
MS
1381 * gdb.base/return2.exp: Don't test long-long return.
1382
57ba3b85
MS
1383 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1384 * gdb.disasm/t01_mov.exp: Ditto.
1385 * gdb.disasm/t02_mova.s: Ditto.
1386 * gdb.disasm/t02_mova.exp: Ditto.
1387 * gdb.disasm/t03_add.s: Ditto.
1388 * gdb.disasm/t03_add.exp: Ditto.
1389 * gdb.disasm/t04_sub.s: Ditto.
1390 * gdb.disasm/t04_sub.exp: Ditto.
1391 * gdb.disasm/t05_cmp.s: Ditto.
1392 * gdb.disasm/t05_cmp.exp: Ditto.
1393 * gdb.disasm/t06_ari2.s: Ditto.
1394 * gdb.disasm/t06_ari2.exp: Ditto.
1395 * gdb.disasm/t07_ari3.s: Ditto.
1396 * gdb.disasm/t07_ari3.exp: Ditto.
1397 * gdb.disasm/t08_or.s: Ditto.
1398 * gdb.disasm/t08_or.exp: Ditto.
1399 * gdb.disasm/t09_xor.s: Ditto.
1400 * gdb.disasm/t09_xor.exp: Ditto.
1401 * gdb.disasm/t10_and.s: Ditto.
1402 * gdb.disasm/t10_and.exp: Ditto.
1403 * gdb.disasm/t11_logs.s: Ditto.
1404 * gdb.disasm/t11_logs.exp: Ditto.
1405 * gdb.disasm/t12_bit.s: Ditto.
1406 * gdb.disasm/t12_bit.exp: Ditto.
1407 * gdb.disasm/t13_otr.s: Ditto.
1408 * gdb.disasm/t13_otr.exp: Ditto.
1409
e00759ef
EZ
14102003-07-22 Elena Zannoni <ezannoni@redhat.com>
1411
1412 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1413
8bc2021f
EZ
14142003-07-22 Elena Zannoni <ezannoni@redhat.com>
1415
1416 * gdb.threads/tls.c : New file.
1417 * gdb.threads/tls.exp : New file.
1418 * gdb.threads/tls-main.c : New file.
1419 * gdb.threads/tls-shared.c : New file.
1420 * gdb.threads/tls-shared.exp : New file.
1421
89320c4c
AS
14222003-07-22 Andreas Schwab <schwab@suse.de>
1423
1424 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1425
180dea7c
AS
14262003-07-20 Andreas Schwab <schwab@suse.de>
1427
1428 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1429 due to insn reordering.
1430
0714963c
AC
14312003-07-15 Andrew Cagney <cagney@redhat.com>
1432
1433 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1434
98a23b3f
MC
14352003-07-15 Michael Chastain <mec@shout.net>
1436
1437 * gdb.base/gdb1250.exp: New file.
1438 * gdb.base/gdb1250.c: New file.
1439
27e417a2
ML
14402003-07-09 Michal Ludvig <mludvig@suse.cz>
1441
1442 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1443 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1444
8bc2021f
EZ
14452003-07-09 Elena Zannoni <ezannoni@redhat.com>
1446
1447 * gdb.threads/tls.c: New file.
1448 * gdb.threads/tls.exp: New file.
1449 * gdb.threads/tls-main.c: New file.
1450 * gdb.threads/tls-shared.c: New file.
1451 * gdb.threads/tls-shared.exp: New file.
1452
d99968dc
EZ
14532003-07-09 Elena Zannoni <ezannoni@redhat.com>
1454
1455 * gdb.base/annota1.exp: Make sure that we properly escape the
1456 full path of the source file. Xfail more permissive patterns,
d63a86f8 1457 due to a compiler debug info problem.
d99968dc 1458
83876b3b
AS
14592003-07-07 Andreas Schwab <schwab@suse.de>
1460
2705e972
AS
1461 * gdb.asm/m68k.inc: New file.
1462 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1463
83876b3b
AS
1464 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1465 arguments"): Also match negative number.
1466
1467 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1468
3a871b37
DJ
14692003-07-03 Daniel Jacobowitz <drow@mvista.com>
1470
1471 * gdb.base/store.c (charest): New typedef.
1472 (add_char): Rename to add_charest, update.
1473 (wack_char): Rename to wack_charest, update types. Return l + r
1474 to keep r live across the call.
1475 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1476 (wack_double, wack_doublest): Return l + r to keep r live across
1477 the call.
1478 * gdb.base/store.exp: Accomodate store.c changes.
1479
b2a7f303
DC
14802003-06-30 David Carlton <carlton@kealia.com>
1481
1482 * gdb.c++/maint.exp (test_invalid_name): New.
1483 (test_first_component): Add tests for invalid names.
1484
3c6cb4a1
MC
14852003-06-29 Michael Chastain <mec@shout.net>
1486
1487 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1488 output of '<VTT for class>' for virtual base classes.
1489
f1c2644b
DJ
14902003-06-29 Daniel Jacobowitz <drow@mvista.com>
1491
1492 * gdb.base/completion.exp: Tab-complete "complet" instead of
1493 "compl".
1494 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1495
18080350
DJ
14962003-06-29 Daniel Jacobowitz <drow@mvista.com>
1497
1498 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1499 * gdb.base/volatile.exp: Likewise.
1500
f56973f8
DJ
15012003-06-29 Daniel Jacobowitz <drow@mvista.com>
1502
1503 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1504 gdb/1265.
1505
15062003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1507 Daniel Jacobowitz <drow@mvista.com>
1508
1509 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1510 initial line count of 'captured_main' from 26 to 32.
1511 (test_with_self): Allow xmalloc call to be interleaved with the
1512 preceding two lines.
1513
e766d4d6
JB
15142003-06-24 Joel Brobecker <brobecker@gnat.com>
1515
1516 * gdb.base/bang.exp: New testcase.
1517
f125c9a4
JB
15182003-06-23 Joel Brobecker <brobecker@gnat.com>
1519
1520 * gdb.base/langs.exp: Add some tests for the "minimal" language
1521 support.
1522
6e25beaf
EZ
15232003-06-23 Elena Zannoni <ezannoni@redhat.com>
1524
1525 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1526 the testcase.
1527
2f816dda
DJ
15282003-06-22 Daniel Jacobowitz <drow@mvista.com>
1529
1530 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1531 offset.
1532
db5a5748
DJ
15332003-06-22 Daniel Jacobowitz <drow@mvista.com>
1534
1535 * gdb.c++/pr-1210.cc: New file.
1536 * gdb.c++/pr-1210.exp: New file.
1537
1df0c130
DJ
15382003-06-21 Daniel Jacobowitz <drow@mvista.com>
1539
1540 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1541 000-exec-continue.
1542
a92feac0
MK
15432003-06-15 Mark Kettenis <kettenis@gnu.org>
1544
1545 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1546 on *-*-*bsd* instead of *-*-freebsd*.
1547
81a58f5b
AC
15482003-06-14 Andrew Cagney <cagney@redhat.com>
1549
1550 * gdb.base/store.exp: Test longest and doublest. Test all
1551 parameters. Weaken return statement match.
1552 * gdb.base/store.c: Add longest and doublest - aka long long and
1553 long double functions. Put all parameters into local register
1554 variables. Use negative values.
1555
b257a0d3
AC
15562003-06-14 Andrew Cagney <cagney@redhat.com>
1557
1558 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1559 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1560 exit status.
1561 * gdb.base/fileio.exp: Disable target when nointerrupts and
1562 noinferiorio, instead of limiting it to remote. Use remote_exec
1563 instead of system.
d63a86f8 1564
21c38304
JJ
15652003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1566
1567 * gdb.base/float.exp: Add ia64 support.
1568
1bcdb424
CV
15692003-06-12 Corinna Vinschen <vinschen@redhat.com>
1570
1571 * gdb.base/fileio.exp: Run only on remote targets.
1572
6aeb981f
CV
15732003-06-10 Corinna Vinschen <vinschen@redhat.com>
1574
1575 * gdb.base/fileio.c: New file, testing File-I/O.
1576 * gdb.base/fileio.exp: Ditto.
1577
53df362e
RG
15782003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1579
1580 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1581 shared objects after relocation at load time (gdb PR/1132).
1582 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1583 as above, part of the shared object relocation test.
1584
ffee1b46
MK
15852003-06-08 Mark Kettenis <kettenis@gnu.org>
1586
b5ca3722
MK
1587 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1588 fully filled history list.
1589 * gdb.base/gdb_history: New file.
1590
03ed860d
MK
1591 * gdb.base/signals.exp: XFAIL "continue to func1" on
1592 i*86-*-freebsd*.
1593
ffee1b46
MK
1594 * gdb.base/attach.exp: When trying to attach to a nonexistent
1595 process, make it possible to specify the PID based on the target,
1596 and do so for *-*-freebsd*.
1597
d80dbb52
RH
15982003-06-02 Richard Henderson <rth@redhat.com>
1599
1600 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1601
6dd77b81
RH
16022003-06-02 Richard Henderson <rth@redhat.com>
1603
1604 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1605
f6347e16
RH
16062003-06-02 Richard Henderson <rth@redhat.com>
1607
1608 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1609
2c161407
DJ
16102003-06-01 Daniel Jacobowitz <drow@mvista.com>
1611
1612 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1613 of globalvar.
1614
572eb746
MK
16152003-06-01 Mark Kettenis <kettenis@gnu.org>
1616
1617 * gdb.asm/asm-source.exp: Check for memory read errors in
1618 disassembler test on *BSD too.
1619
9e9617a5
RH
16202003-06-01 Richard Henderson <rth@redhat.com>
1621
1622 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1623 for .frame.
1624 (gdbasm_call): Lose ldgp.
1625 (gdbasm_startup): Add frame information.
1626 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1627
7b34ad4e
MK
16282003-05-31 Mark Kettenis <kettenis@gnu.org>
1629
1630 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1631 i?86-*-*.
1632
10059fdf
MK
16332003-05-30 Mark Kettenis <kettenis@gnu.org>
1634
1635 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1636 FreeBSD.
1637
acf4b816
RH
16382003-05-29 Richard Henderson <rth@redhat.com>
1639
1640 * gdb.asm/alpha.inc: New file.
1641 * gdb.asm/asm-source.exp: Use it.
1642
e9ecd949
JB
16432003-05-29 Jim Blandy <jimb@redhat.com>
1644
1645 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1646 'core.PID'.
1647
e3e5a4f3
JB
16482003-05-22 Jim Blandy <jimb@redhat.com>
1649
1650 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1651 backtrace.
d63a86f8 1652
72fe3d25
DC
16532003-05-20 David Carlton <carlton@math.stanford.edu>
1654
1655 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1656 this time.
1657
58da2eb2
DC
16582003-05-19 David Carlton <carlton@bactrian.org>
1659
1660 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1661 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1662
1fcb5155
DC
16632003-05-19 David Carlton <carlton@bactrian.org>
1664
1665 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1666 namespace tests.
1667 Bump copyright date.
1668 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1669 (main): Call C::D::marker2.
1670 * gdb.c++/namespace1.cc: New file.
1671
85e85163
JJ
16722003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1673
1674 Roland McGrath <roland@redhat.com>
d63a86f8 1675 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
1676 there is no manager thread.
1677
a25fbfec
JJ
16782003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1679
d63a86f8
RM
1680 * gdb.threads/schedlock.exp: Remove assumption that all threads
1681 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
1682 in one of the child threads rather than the main thread.
1683
be375bae
JB
16842003-05-07 Jim Blandy <jimb@redhat.com>
1685
09bf6082
JB
1686 Add support for assembly source testing on the s390x.
1687 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1688 architecture.
1689 * gdb.asm/s390x.inc: New file.
1690
be375bae
JB
1691 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1692 succession of 'if' statements.
1693
00905d52
AC
16942003-05-05 Andrew Cagney <cagney@redhat.com>
1695
1696 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1697
b1e29e33
AC
16982003-05-05 Andrew Cagney <cagney@redhat.com>
1699
1700 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1701 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1702
e33d66ec
EZ
17032003-05-02 Elena Zannoni <ezannoni@redhat.com>
1704
1705 * gdb.base/charset.exp: Update based on new behavior of set/show
1706 charset commands.
1707
2b6fd0d8
AC
17082003-05-01 Andrew Cagney <cagney@redhat.com>
1709
1710 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1711 variable do not give memory errors.
1712
130cacce
AF
17132003-04-30 Adam Fedor <fedor@gnu.org>
1714
1715 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1716 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1717 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1718 gdb.objc/basicclass.m: : New files
1719
1720 * lib/gdb.exp (gdb_compile_objc): New procedure.
1721
bea71854
DJ
17222003-04-27 Daniel Jacobowitz <drow@mvista.com>
1723
1724 * gdb.base/signals.exp: Make backtrace tests more specific.
1725
0f20eeea
DC
17262003-04-23 David Carlton <carlton@bactrian.org>
1727
1728 * gdb.c++/maint.exp (test_first_component): Add tests for
1729 'operator' in more locations.
1730
c8c4d8dc
KB
17312003-04-16 Kevin Buettner <kevinb@redhat.com>
1732
1733 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1734
3fe60e3c
EZ
17352003-04-16 Elena Zannoni <ezannoni@redhat.com>
1736
1737 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1738 func marke' instead. Update test name.
1739
9219021c
DC
17402003-04-15 David Carlton <carlton@math.stanford.edu>
1741
1742 * gdb.c++/maint.exp: New file.
1743
5dd55bdd
EZ
17442003-04-14 Elena Zannoni <ezannoni@redhat.com>
1745
1746 * gdb.threads/schedlock.c: Change type of thread function argument
1747 to long, to avoid warnings on 64-bit platforms.
1748
00890572
EZ
17492003-04-14 Elena Zannoni <ezannoni@redhat.com>
1750
1751 * gdb.base/attach.exp: Add new message from ptrace in case of
1752 attaching to nonexistent process.
d63a86f8 1753
93201743
JB
17542003-04-11 Jim Blandy <jimb@redhat.com>
1755
1756 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1757 gdb.c++/userdef.cc: Place comments on the lines to which the
1758 marker function might return.
1759 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1760 gdb.c++/userdef.exp: Look for those comments to check that we've
1761 returned to the right place, instead of checking line numbers.
1762
2a11c64d
EZ
17632003-04-11 Elena Zannoni <ezannoni@redhat.com>
1764
1765 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1766 match on sourcefile name, instead of directory name.
1767
68ab8fc5
EZ
17682003-04-10 Elena Zannoni <ezannoni@redhat.com>
1769
d63a86f8 1770 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
1771 working directory name.
1772
5624293a
JB
17732003-04-09 Jim Blandy <jimb@redhat.com>
1774
1775 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1776 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1777 after an inferior function call, report the failure, but allow the
1778 test to continue.
1779
f1f02ee4
SC
17802003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1781
1782 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1783 with -DPROTOTYPES.
1784
6eb79af0
SC
17852003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1786
1787 * gdb.base/break.exp: Revert last patch.
1788
8dfb4cf0
SC
17892003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1790
1791 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1792 with -DPROTOTYPES.
1793
ed4c619a
AC
17942003-04-02 Andrew Cagney <cagney@redhat.com>
1795
1796 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1797 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1798 matching directories by the name breakpoint.
1799 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1800 Make "continue to marker1" consistent.
1801 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1802 message consistent.
1803 * lib/gdb.exp: Put "the program is no longer running", and "the
1804 program exited" in parenthesis.
1805 * lib/mi-support.exp: Ditto.
d63a86f8 1806
4e35d5f0 18072003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 1808
4e35d5f0
BR
1809 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1810
71900fe8
AC
18112003-03-29 Andrew Cagney <cagney@redhat.com>
1812
1813 * gdb.base/sizeof.c (main): Print the value of '\377'.
1814 * gdb.base/sizeof.exp: Check the sign of '\377'.
1815
c0655a16
MC
18162003-03-27 Michael Chastain <mec@shout.net>
1817
1818 * gdb.base/gdb1090.exp: New file.
1819 * gdb.base/gdb1090.cc: New file.
1820
5b2a3989
JB
18212003-03-27 J. Brobecker <brobecker@gnat.com>
1822
1823 * gdb.gdb/observer.exp: New regression test.
1824
79876890
MC
18252003-03-27 Michael Chastain <mec@shout.net>
1826
1827 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1828 * gdb.base/ptype.exp: Likewise.
1829
6eac95e3
CV
18302003-03-27 Corinna Vinschen <vinschen@redhat.com>
1831
1832 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1833
e8c71839
MC
18342003-03-26 Michael Chastain <mec@shout.net>
1835
1836 * gdb.base/ptype.exp: Actually use some typedef'd types.
1837
71b10041
SC
18382003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1839
1840 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1841 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1842
2512cf80
CV
18432003-03-20 Corinna Vinschen <vinschen@redhat.com>
1844
1845 * gdb.base/default.exp: Fix regular expression.
1846
0d195a4f
CV
18472003-03-20 Corinna Vinschen <vinschen@redhat.com>
1848
1849 * gdb.base/args.exp: Fix regular expression.
1850
8a2dbca8
CV
18512003-03-20 Corinna Vinschen <vinschen@redhat.com>
1852
1853 * gdb.base/help.exp: Allow Win32 child process.
1854
bf028682
CV
18552003-03-20 Corinna Vinschen <vinschen@redhat.com>
1856
1857 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1858 when stepping out of main().
1859
182dbe85
CV
18602003-03-20 Corinna Vinschen <vinschen@redhat.com>
1861
1862 * gdb.base/default.exp: Check for win32 specific message when calling
1863 "run" without executable.
1864
d67a6ba5
CV
18652003-03-20 Corinna Vinschen <vinschen@redhat.com>
1866
1867 * gdb.base/args.exp: Expect .exe in output.
1868
a955b5bb
CV
18692003-03-20 Corinna Vinschen <vinschen@redhat.com>
1870
1871 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1872 Cygwin native.
1873
bf6bad4b
AC
18742003-03-17 Andrew Cagney <cagney@redhat.com>
1875
1876 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1877 vector registes.
1878 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1879 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1880
293e9a31
DC
18812003-03-17 David Carlton <carlton@math.stanford.edu>
1882
1883 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1884 test, for PR breakpoints/38.
1885 Call test_watchpoint_and_breakpoint.
1886 * gdb.base/watchpoint.c (func3): New function.
1887 (main): Call func3.
1888
5330f2db
DC
18892003-03-04 David Carlton <carlton@math.stanford.edu>
1890
1891 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1892 Garply<Garply<char> >:: garply".
1893 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1894 with respect to PR c++/1111; note also PR c++/1113.
1895 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1896 respect to PR c++/1062.
1897 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1898
6ece72da
DC
18992003-03-03 David Carlton <carlton@math.stanford.edu>
1900
1901 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1902 with respect to PR c++/57.
1903 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1904 c++/826.
1905 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1906 respect to PR c++/57.
1907
85ca1584
DC
19082003-03-03 David Carlton <carlton@math.stanford.edu>
1909
1910 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1911 respect to PR c++/33 into FAILs.
1912
98e9c5b8
MC
19132003-03-03 Michael Chastain <mec@shout.net>
1914
7bedbf27
MC
1915 * configure.in: Update copyright years.
1916
19172003-03-03 Michael Chastain <mec@shout.net>
1918
1919 * Makefile.in: Update copyright years.
98e9c5b8 1920
f683e100
DC
19212003-02-28 David Carlton <carlton@math.stanford.edu>
1922
1923 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1924 print class instead of struct and/or superfluous protection
1925 specifiers, as long as the resulting output is equivalent to the
1926 source code.
1927 Delete FIXME from end of messages on tests that don't need
1928 fixing.
1929
a9e0cf2c
DC
19302003-02-28 David Carlton <carlton@math.stanford.edu>
1931
1932 * gdb.c++/templates.exp (do_tests): Allow const in the two
1933 Foo<volatile char *>::foo tests.
1934
e8d359df
MS
19352003-02-27 Michael Snyder <msnyder@redhat.com>
1936
d63a86f8 1937 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
1938 will be consistant.
1939
0b71dc91
DC
19402003-02-26 David Carlton <carlton@math.stanford.edu>
1941
1942 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1943 char *>::foo" test with respect to PR c++/33. Create a new test
1944 which is identical to that one except that it doesn't put the
1945 space between the "char" and the "*"; KFAIL it, too.
1946
dd14ab43
DC
19472003-02-26 David Carlton <carlton@math.stanford.edu>
1948
1949 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1950 template types into either PASSes or KFAILs (corresponding to PR
1951 c++/57). Tweak indentation. Update copyright.
1952
1146c7f1
SC
19532003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1954
1955 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1956
74641dfb
MC
19572003-02-13 Michael Chastain <mec@shout.net>
1958
1959 * gdb.base/exprs.exp: Remove i960 remnants.
1960 * gdb.base/funcargs.exp: Likewise.
1961 * gdb.base/list.exp: Likewise.
1962 * gdb.base/ptype.exp: Likewise.
1963
559cd2d0
DC
19642003-02-14 David Carlton <carlton@math.stanford.edu>
1965
1966 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1967 pEe->D::vg()" from XFAIL to KFAIL.
1968
c4f90d87
JM
19692003-02-13 Jason Molenda (jmolenda@apple.com)
1970
1971 * gdb.base/maint.exp: Update maint print statistics regexp to include
1972 new entries.
1973
cbc4d97c
MC
19742003-02-13 Michael Chastain <mec@shout.net>
1975
1976 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1977
40f235b7
MC
19782003-02-12 Michael Chastain <mec@shout.net>
1979
1980 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1981 * gdb.c++/inherit.exp: Likewise.
1982 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1983 * gdb.c++/templates.exp: Likewise.
1984 * gdb.c++/virtfunc.exp: Likewise.
1985
c56716b0
JM
19862003-02-06 Jason Molenda (jason-cl@molenda.com)
1987
1988 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1989 why the code is written that way.
1990
070afcf8
MC
19912003-02-05 Michael Chastain <mec@shout.net>
1992
1993 * gdb.base/dump.exp: Add missing copyright line.
1994
5d0331e5
JM
19952003-02-05 Jason Molenda (jason-cl@molenda.com)
1996
f7ae6d3e 1997 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1998 at the beginning so the breakpoint doesn't get set on the loop.
1999
92851186
MC
20002003-02-05 Michael Chastain <mec@shout.net>
2001
2002 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
2003 output for configurations with gcc 2.95.3.
2004
cbf1e085
AC
20052003-02-05 Keith Seitz <keiths@redhat.com>
2006 Andrew Cagney <ac131313@redhat.com>
2007
2008 * gdb.mi/mi-cli.exp: New file.
d63a86f8 2009
29518e1e
MC
20102003-02-04 Michael Chastain <mec@shout.net>
2011
2012 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
2013 Call perror and then continue.
2014
5af1d5f3
MC
20152003-02-03 Michael Chastain <mec@shout.net>
2016
2017 * gdb.c++/pr-1023.cc: New file.
2018 * gdb.c++/pr-1023.exp: New file.
2019
6b549786
JB
20202003-02-05 Jim Blandy <jimb@redhat.com>
2021
2022 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
2023 it's local to foobar. Check for it there, and check that it's not
2024 present in main.
2025 * gdb.c++/local.cc (marker2): New function.
2026 (foobar): Call marker1.
2027 (main): Call marker2 instead of marker1.
2028
67f16606
AC
20292003-02-04 Andrew Cagney <ac131313@redhat.com>
2030
2031 * gdb.disasm/mn10200.exp: Obsolete file.
2032 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
2033 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
2034 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2035
1c5cb38e
DC
20362003-02-04 David Carlton <carlton@math.stanford.edu>
2037
2038 * gdb.c++/overload.exp: Test intToChar(1).
2039 * gdb.c++/overload.cc (intToChar): New.
2040 (main): Call intToChar.
2041
d1fe6965
DC
20422003-02-03 David Carlton <carlton@math.stanford.edu>
2043
2044 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
2045 'might_kfail' arg.
2046 KFAIL some of the continue_to_bp_overloaded calls, according to
2047 PR c++/1025.
2048
9ba61c5d
MC
20492003-02-01 Michael Chastain <mec@shout.net>
2050
2051 * gdb.base/advance.c (marker1): New marker function.
2052 * gdb.base/advance.exp: When the 'advance' command lands on the
2053 return breakpoint, it can legitimately stop on either the
2054 current line or the next line. Accommodate both outcomes.
2055 * gdb.base/until.exp: Likewise.
2056
e7494ffb
AC
20572003-02-02 Andrew Cagney <ac131313@redhat.com>
2058
2059 2002-11-10 Jason Molenda (jason-cl@molenda.com):
2060 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
2061 now a list, not a tuple.
2062 * gdb.mi/mi-var-display.exp: Ditto.
2063 * gdb.mi/gdb792.exp: Ditto.
2064
075559bc
AC
20652003-02-01 Andrew Cagney <ac131313@redhat.com>
2066
2067 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
2068 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
2069 stack backtraces.
2070 * gdb.mi/mi-syn-frame.c: Part of same.
2071
2bd4c7b1
MK
20722003-02-01 Mark Kettenis <kettenis@gnu.org>
2073
2074 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2075 gdb.mi/mi1-pthreads.exp: Return instead of calling
2076 gdb_suppress_entire_file.
2077
eabd8992
MS
20782003-02-01 Mark Salter <msalter@redhat.com>
2079
2080 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
2081
71469e2f
MS
20822003-01-31 Mark Salter <msalter@redhat.com>
2083
2084 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
2085 Support empty arg.
2086
38a94d44
MC
20872003-01-30 Michael Chastain <mec@shout.net>
2088
2089 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
2090 This was a workaround for a UTF-8 bug in readline 4.3. The bug
2091 has been fixed in gdb/readline on 2003-01-09.
2092
19ea9e73
MS
20932003-01-29 Michael Snyder <msnyder@redhat.com>
2094
e8d359df
MS
2095 * gdb.base/maint.exp: Allow for leading underscore in symbol.
2096 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
2097 * gdb.base/args.exp: Skip if target does not support args passing.
2098
2307bd6a
DJ
20992003-01-22 Daniel Jacobowitz <drow@mvista.com>
2100
19ea9e73 2101 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
2102 gdb_test. Accept a list of expect arguments as the third
2103 parameter.
2104 (gdb_test): Use it.
2105
f2dd3617
EZ
21062003-01-20 Elena Zannoni <ezannoni@redhat.com>
2107
2108 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
2109 allow for different test tree configurations. Update some
2110 tescases accordingly.
2111 * gdb.arch/altivec-regs.exp: Ditto.
2112 * gdb.asm/asm-source.exp: Ditto.
2113 * gdb.base/advance.exp: Ditto.
2114 * gdb.base/display.exp: Ditto.
d63a86f8 2115 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
2116 * gdb.base/mips_pro.exp: Ditto.
2117 * gdb.base/overlays.exp: Ditto.
2118 * gdb.base/relocate.exp: Ditto.
2119 * gdb.base/setshow.exp: Ditto.
2120 * gdb.base/step-line.exp: Ditto.
2121 * gdb.base/step-test.exp: Ditto.
2122 * gdb.base/until.exp: Ditto.
2123 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2124
c71cdefd
DC
21252003-01-17 David Carlton <carlton@math.stanford.edu>
2126
2127 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
2128 corresponding to PR c++/945.
2129 Update copyright.
2130
fdba05d7
DC
21312003-01-17 David Carlton <carlton@math.stanford.edu>
2132
2133 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
2134 corresponding to PR c++/68.
2135
21362003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
2137
2138 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
2139 (test_paddr_hairy_functions): Call print_addr_2_kfail for
2140 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2141
c362c33a
EZ
21422003-01-15 Elena Zannoni <ezannoni@redhat.com>
2143
0fbc361c
EZ
2144 * gdb.base/break.exp: Fix change of default location, because of
2145 removal of until tests.
2146 * gdb.base/help.exp: Update test for new 'until' help message.
2147 Add test for help on 'advance'.
c362c33a
EZ
2148 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2149
dabf8a35
MK
21502003-01-15 Mark Kettenis <kettenis@gnu.org>
2151
2152 * gdb.base/default.exp: Adapt "info float" test for recent changes
2153 to that command. Add test for "info vector".
2154 * gdb.base/float.exp: New file. Add test for "info float" that
2155 resembles the old test in gdb.base/default.exp.
2156
a1769aca
DC
21572003-01-15 David Carlton <carlton@math.stanford.edu>
2158
2159 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2160
82025e13
EZ
21612003-01-15 Elena Zannoni <ezannoni@redhat.com>
2162
2163 * gdb.base/break.exp: Move the tests of until command from here...
2164 * gdb.base/until.exp: ... to here. New file. Add other tests.
2165 * gdb.base/advance.c: New file.
2166 * gdb.base/advance.exp: New file.
2167
8f9ab801
EZ
21682003-01-14 Elena Zannoni <ezannoni@redhat.com>
2169
2170 * gdb.base/args.c: New file.
2171 * gdb.base/args.exp: New file.
2172
9ae66589
DJ
21732003-01-14 Daniel Jacobowitz <drow@mvista.com>
2174
2175 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2176
8d77e5c3
DJ
21772003-01-14 Daniel Jacobowitz <drow@mvista.com>
2178
2179 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
2180
12d2f0a1
DJ
21812003-01-14 Daniel Jacobowitz <drow@mvista.com>
2182
2183 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
2184 dates.
2185
6ca37014
DJ
21862003-01-13 Daniel Jacobowitz <drow@mvista.com>
2187
2188 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2189
b0023472
DJ
21902003-01-13 Daniel Jacobowitz <drow@mvista.com>
2191
2192 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
2193 (ptype &*"foo").
2194 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2195
d6abaea5
DJ
21962002-01-13 Daniel Jacobowitz <drow@mvista.com>
2197
2198 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
2199 * gdb.mi/mi1-console.exp: Likewise.
2200
dfd536a7
DJ
22012002-01-13 Daniel Jacobowitz <drow@mvista.com>
2202
2203 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
2204 * gdb.mi/mi1-console.exp: Likewise.
2205
a1fb14a2
DJ
22062003-01-13 Daniel Jacobowitz <drow@mvista.com>
2207
2208 * gdb.c++/overload.exp: Remove some fixed XFAILs.
2209
c4cf40b7
DJ
22102003-01-09 Daniel Jacobowitz <drow@mvista.com>
2211
2212 * gdb.base/detach.exp: New test.
2213
696d5a5b
DJ
22142003-01-09 Daniel Jacobowitz <drow@mvista.com>
2215
2216 * Makefile.in (ALL_SUBDIRS): New variable.
2217 (subdirs, clean, distclean): Use it.
2218 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
2219 regenerating Makefile, since it is generated from the top level.
2220 * gdb.asm/Makefile.in: Likewise.
2221 * gdb.base/Makefile.in: Likewise.
2222 * gdb.c++/Makefile.in: Likewise.
2223 * gdb.disasm/Makefile.in: Likewise.
2224 * gdb.java/Makefile.in: Likewise.
2225 * gdb.mi/Makefile.in: Likewise.
2226 * gdb.threads/Makefile.in: Likewise.
2227 * gdb.trace/Makefile.in: Likewise.
2228
754533e4
DC
22292003-01-09 David Carlton <carlton@math.stanford.edu>
2230
2231 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
2232 Add copyright year 2003.
2233
d8b3e9ee
MC
22342003-01-06 Michael Chastain <mec@shout.net>
2235
2236 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
2237 When selecting a thread, 'line' and 'file' are optional.
2238 * gdb.mi/mi1-pthreads.exp: Likewise.
2239
8e9e0fe6
AS
22402003-01-06 Andreas Schwab <schwab@suse.de>
2241
2242 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
2243 failures.
2244
b5ab8ff3
DJ
22452003-01-04 Daniel Jacobowitz <drow@mvista.com>
2246
2247 Fix PR gdb/844
2248 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
2249 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
2250
2251 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
2252 instead of calling gdb_suppress_entire_file.
2253 * gdb.threads/print-threads.exp: Likewise.
2254 * gdb.threads/schedlock.exp: Likewise.
2255
2256 * gdb.threads/killed.exp: Return instead of calling
2257 gdb_suppress_entire_file.
2258 * gdb.threads/linux-dp.exp: Likewise.
2259 * gdb.threads/pthreads.exp: Likewise.
2260
1e698235
DJ
22612003-01-04 Daniel Jacobowitz <drow@mvista.com>
2262
2263 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
2264 stabs.
2265 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
2266 * gdb.base/whatis.exp: Always allow (void) after function names.
2267
147ff08c
DJ
22682003-01-04 Daniel Jacobowitz <drow@mvista.com>
2269
2270 * gdb.c++/casts.exp: Correct regexp.
2271
dc62bfc2
MK
22722003-01-04 Mark Kettenis <kettenis@gnu.org>
2273
2274 * configure.in: Call AC_CONFIG_HEADER. Don't call
2275 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2276 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2277 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2278 aforementioned directories in the AC_OUPUT call.
2279 * config.hin: New file.
2280 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2281 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2282 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2283 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2284 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2285 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2286 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2287 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2288 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2289 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2290 gdb.threads/configure.in, gdb.threads/configure,
2291 gdb.threads/config.in, gdb.trace/configure.in,
2292 gdb.trace/configure: Removed.
2293
77afa639
MC
22942003-01-03 Michael Chastain <mec@shout.net>
2295
2296 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2297 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2298
7634bb6e
DJ
22992003-01-03 Daniel Jacobowitz <drow@mvista.com>
2300
2301 * gdb.base/store.exp: Fix regular expressions.
2302
b39c905e
MK
23032002-12-28 Mark Kettenis <kettenis@gnu.org>
2304
2305 * configure.in: Rewrite.
2306 * configure: Regenerated.
2307
0a8551dd
DC
23082003-01-03 David Carlton <carlton@math.stanford.edu>
2309
2310 * gdb.base/psymtab.exp: New file.
2311 * gdb.base/psymtab1.c: Ditto.
2312 * gdb.base/psymtab2.c: Ditto.
2313
c60b7188
AF
23142002-12-23 Adam Fedor <fedor@gnu.org>
2315
2316 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2317
ee73db83
DC
23182002-12-23 David Carlton <carlton@math.stanford.edu>
2319
2320 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2321 and current_directory initialization.
2322
d6c1774e
JB
23232002-12-22 Jim Blandy <jimb@redhat.com>
2324
f0a847b8
JB
2325 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2326 rather than as part of the output file name.
2327
d6c1774e
JB
2328 * gdb.base/attach.exp: There's no need to copy the test program to
2329 /tmp; that was only ever necessary on HP/UX, and this test is
2330 entirely disabled there anyway.
2331
f0708dbb
JB
23322002-12-21 Jim Blandy <jimb@redhat.com>
2333
4c2acfea
JB
2334 * gdb.c++/psmang.exp: Doc fix.
2335
f0708dbb
JB
2336 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2337 test.
2338
9579e000
DC
23392002-12-20 David Carlton <carlton@math.stanford.edu>
2340
2341 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2342
d1810171
MC
23432002-12-18 Michael Chastain <mec@shout.net>
2344
2345 * gdb.c++/annota2.exp: Add copyright year 2002.
2346
76565097
DC
23472002-12-17 David Carlton <carlton@math.stanford.edu>
2348
2349 * gdb.c++/try_catch.cc: Add marker comments.
2350 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2351 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2352 * gdb.c++/m-static.cc: Ditto.
2353 * gdb.c++/m-static1.cc: Ditto.
2354 * gdb.c++/try_catch.cc: Ditto.
2355
da81390b
JJ
23562002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2357
2358 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2359 to see whether we are using the new -environment-directory
2360 command which resets via -r or the old version of the command
2361 which may prompt the user. Part of fix for gdb/741.
2362
b304d130
AC
23632002-12-13 Andrew Cagney <ac131313@redhat.com>
2364
2365 * gdb.fortran/types.exp: Update obsolete comment.
2366 * gdb.fortran/exprs.exp: Ditto.
2367 * lib/gdb.exp: Delete obsolete code.
2368 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2369 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2370 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2371 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2372 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2373 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2374 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2375 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2376 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2377 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2378 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2379 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2380 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2381 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2382 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2383 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2384 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2385 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2386 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2387 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2388 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2389 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2390 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2391 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2392 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2393 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2394 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2395 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2396 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2397 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2398 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2399 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2400 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2401 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2402 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2403 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2404 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2405
a23b6e6a
DC
24062002-12-11 David Carlton <carlton@math.stanford.edu>
2407
2408 * gdb.c++/m-data.exp: Add test for members that shadow global
2409 variables: see PR gdb/804.
2410 * gdb.c++/m-data.cc: Ditto.
2411
6604731b
DJ
24122002-12-10 Daniel Jacobowitz <drow@mvista.com>
2413
2414 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2415
de46ecd7
DC
24162002-12-06 David Carlton <carlton@math.stanford.edu>
2417
2418 * gdb.base/store.c: Don't declare functions static.
2419
27e829d0
AC
24202002-12-04 Andrew Cagney <ac131313@redhat.com>
2421
2422 * gdb.base/store.exp, gdb.base/store.c: New files.
2423
92806416
DJ
24242002-12-03 Daniel Jacobowitz <drow@mvista.com>
2425
2426 * gdb.base/selftest.exp: Update for current gdb.
2427
3bcbaac5
DJ
24282002-12-03 Daniel Jacobowitz <drow@mvista.com>
2429
2430 * gdb.base/maint.exp: Only dump symbols from one source file
2431 or objfile.
2432
f4f00b1f
DJ
24332002-12-03 Daniel Jacobowitz <drow@mvista.com>
2434
2435 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2436 function call.
2437
f1c8a949
JB
24382002-11-25 Jim Blandy <jimb@redhat.com>
2439
2440 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2441 function appearing in error message.
2442
9e297a97
DJ
24432002-11-21 Daniel Jacobowitz <drow@mvista.com>
2444
2445 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2446
1f312e79
JJ
24472002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2448
d63a86f8
RM
2449 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2450 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
2451 should be in mi console format. This is part of fix for PR gdb/604.
2452
83c31e7d
FN
24532002-09-18 Fernando Nasser <fnasser@redhat.com>
2454
2455 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2456 which explicitly prints the zero offset as "+0".
2457
322b3f65
DJ
24582002-10-22 Daniel Jacobowitz <drow@mvista.com>
2459
2460 * gdb.threads/schedlock.c (args): Make unsigned.
2461
24622002-10-21 Daniel Jacobowitz <drow@mvista.com>
2463
2464 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2465 numbers. Allow "foo2|selected stack frame".
2466 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2467 * gdb.asm/asmsrc2.s: Likewise.
2468 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2469 comments.
2470 * gdb.asm/mips.inc: New file.
2471
5e2fe5b8
AF
24722002-10-18 Adam Fedor <fedor@gnu.org>
2473
2474 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2475 * gdb.base/help.exp: Likewise.
2476
abe1a5d0
KB
24772002-10-17 Kevin Buettner <kevinb@redhat.com>
2478
2479 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2480 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2481
10abb1d4
JB
24822002-10-02 Jim Blandy <jimb@redhat.com>
2483
2484 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2485
1f609b42
AC
24862002-10-01 Andrew Cagney <ac131313@redhat.com>
2487
2488 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2489 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2490 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2491 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2492 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2493 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2494 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2495
0aee02e4
AC
24962002-09-29 Andrew Cagney <ac131313@redhat.com>
2497
2498 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2499 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2500 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2501 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2502 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2503 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2504 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 2505
6fde09ad
KB
25062002-09-27 Kevin Buettner <kevinb@redhat.com>
2507
2508 * gdb.base/annota1.exp (info break): Make directory components of
2509 path optional since not all compilers emit this debug information.
2510
2511 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2512 step ends up stepping out of the function instead of stopping on
2513 the epilogue.
2514
9e8aab75
KS
25152002-09-26 Keith Seitz <keiths@redhat.com>
2516
2517 * lib/insight-support.exp (gdbtk_start): Figure out where
2518 the insight executable is based on where gdb is. Use this
2519 executable to start insight instead of gdb.
2520
e36180d7
AC
25212002-09-25 Andrew Cagney <cagney@redhat.com>
2522
2523 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2524
9dd34b2b
AC
25252002-09-24 Andrew Cagney <ac131313@redhat.com>
2526
2527 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2528 test_isolated_complaints.
2529 (test_empty_complaint): New function.
2530 (test_empty_complaints): New function. Check no output when no
2531 complaints.
d63a86f8 2532
dea97812
KB
25332002-09-19 Jim Blandy <jimb@redhat.com>
2534
2535 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2536
54951bd7
AC
25372002-09-19 Andrew Cagney <ac131313@redhat.com>
2538
2539 * gdb.gdb/complaints.exp: New file.
2540
dec43320
AC
25412002-09-18 Andrew Cagney <ac131313@redhat.com>
2542
2543 * gdb.base/maint.exp: Check `help maint internal-warning'.
2544
e70d6e3f
DC
25452002-09-18 David Carlton <carlton@math.stanford.edu>
2546
2547 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2548 numbers, and replace them by a single breakpoint after the
2549 constructors are all finished.
2550 Add test 4.
2551 * gdb.c++/m-static.cc: Add test 4.
2552 * gdb.c++/m-static.h: New file.
2553 * gdb.c++/m-static1.cc: New file.
2554
2555 * gdb.c++/printmethod.exp: New file.
2556 * gdb.c++/printmethod.cc: New file.
2557
2558 * gdb.c++/pr-574.exp: New file.
2559 * gdb.c++/pr-574.cc: New file.
2560
afb5c968
CV
25612002-09-18 Corinna Vinschen <vinschen@redhat.com>
2562
2563 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2564 embedded targets which never actually exit.
2565
31e45dee
FN
25662002-09-18 Fernando Nasser <fnasser@redhat.com>
2567
2568 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2569 "don't step after run" as unresolved or unsupported, instead of xfail.
2570
a283c5a1
CV
25712002-09-18 Corinna Vinschen <vinschen@redhat.com>
2572
2573 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2574 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2575 Add newline to expected string in "step out of main (status wrapper)"
2576 case.
2577
11350d2a
CV
25782002-09-18 Corinna Vinschen <vinschen@redhat.com>
2579
2580 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2581 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2582
0deec7d6
TT
25832002-09-17 Tom Tromey <tromey@redhat.com>
2584
2585 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2586 \000, not \0, in double-quoted string.
2587
b2b4a1b5
CV
25882002-09-14 Corinna Vinschen <vinschen@redhat.com>
2589
c9d37158 2590 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2591 string after running the commands execution on breakpoint tests.
2592
1c56143a
CV
25932002-09-13 Corinna Vinschen <vinschen@redhat.com>
2594
2595 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2596
37f8da45
JB
25972002-09-12 Joel Brobecker <brobecker@gnat.com>
2598
2599 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2600
08b468e0
KS
26012002-09-10 Keith Seitz <keiths@redhat.com>
2602
2603 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2604 runto proc.
2605 (mi_run_to_main): Use mi_runto.
2606 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2607
dc360f58
KS
26082002-09-10 Keith Seitz <keiths@redhat.com>
2609
2610 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2611 regexp for stopping at main. Could have multiple event notifications.
2612 Don't assume that main was declared with no parameters.
2613 (mi_next): Use mi_step_to.
2614 (mi_step): Use mi_next_to.
2615
ce3abcfb
CV
26162002-09-09 Corinna Vinschen <vinschen@redhat.com>
2617
2618 * gdb.base/default.exp: Fix expected string in `info float' test.
2619
d1f5b980
BE
26202002-09-09 Ben Elliston <bje@redhat.com>
2621
2622 * config/mips.exp: Update comments.
2623 * config/mips-idt.exp: Likewise.
2624 * config/nind.exp: Likewise.
2625 * config/slite.exp: Likewise.
2626 * config/sparclet.exp: Likewise.
2627 * config/udi.exp: Likewise.
2628 * config/vx.exp: Likewise.
2629 * config/vxworks29k.exp: Likewise.
2630
2f71430b
JB
26312002-09-05 Jim Blandy <jimb@redhat.com>
2632
2633 * gdb.threads/killed.exp: Fix test failure message.
2634
7ddebc7e
KS
26352002-09-04 Keith Seitz <keiths@redhat.com>
2636
2637 * lib/mi-support.exp: Update copyright.
2638 (mi_gdb_test): Increase the priority of the expected pattern
2639 so that it matches gdb_test.
2640
0ae67eb3
KS
26412002-09-03 Keith Seitz <keiths@redhat.com>
2642
2643 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2644 Use integer comparison instead of string comparison for testing
2645 whether binary was built.
2646
38fc42c8
JB
26472002-09-03 Jim Blandy <jimb@redhat.com>
2648
2649 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2650
b6ff0e81
JB
26512002-08-29 Jim Blandy <jimb@redhat.com>
2652
2653 * gdb.threads/pthreads.exp: Move the portable thread compilation
2654 code into a function in lib/gdb.exp, and call that from here.
2655 * lib/gdb.exp (gdb_compile_pthreads): New function.
2656
07c98896
KS
26572002-08-29 Keith Seitz <keiths@redhat.com>
2658
2659 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2660 expect_out so that callers can get at it.
2661
0312286c
DJ
26622002-08-23 Daniel Jacobowitz <drow@mvista.com>
2663
2664 * gdb.threads/print-threads.c: New file.
2665 * gdb.threads/print-threads.exp: New file.
2666 * gdb.threads/schedlock.c: New file.
2667 * gdb.threads/schedlock.exp: New file.
2668
dd039bc4
EZ
26692002-08-22 Elena Zannoni <ezannoni@redhat.com>
2670
2671 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2672 not altivec.c.
2673
1f36144c
MK
26742002-08-17 Mark Kettenis <kettenis@gnu.org>
2675
2676 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2677 targets. The problem should be fixed now.
2678
16057ec7 26792002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2680
2681 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2682 2002-07-24 change that removes final dots from error messages.
2683
3c1499ad
TT
26842002-08-13 Tom Tromey <tromey@redhat.com>
2685
2686 * gdb.base/readline.exp: New file.
2687
a20ce2c3
AC
26882002-08-01 Andrew Cagney <ac131313@redhat.com>
2689
2690 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2691 supress message.
2692
db034ac5
AC
26932002-08-01 Andrew Cagney <cagney@redhat.com>
2694
2695 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2696 CHILL_FOR_TARGET and CHILL_LIB.
2697 * configure.in (configdirs): Remove gdb.chill.
2698 * configure: Regenerate.
2699 * lib/gdb.exp: Obsolete references to chill.
2700 * gdb.fortran/types.exp: Ditto.
2701 * gdb.fortran/exprs.exp: Ditto.
2702
3e000b18
KB
27032002-07-30 Kevin Buettner <kevinb@redhat.com>
2704
2705 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2706 set Irix-specific compile and link flags.
2707
28f4966b
KB
27082002-07-29 Kevin Buettner <kevinb@redhat.com>
2709
2710 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2711 source files. The ``-o'' option doesn't work with the ``-E'' option
2712 when using the Irix compiler.
2713
46c0d5a6
DJ
27142002-07-19 Daniel Jacobowitz <drow@mvista.com>
2715
2716 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2717 Improve support for reusing an exec file. Copy exec file
2718 to target, and run gdbserver on the target instead of on the host.
2719
eecf4bed
JB
27202002-07-18 Jim Blandy <jimb@redhat.com>
2721
0f815cdf
JB
2722 * gdb.base/ending-run.exp: Don't expect to see the program end in
2723 some orderly fashion when we're running on a real stand-alone
2724 board.
2725
eecf4bed
JB
2726 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2727 targets that don't support interrupts.
2728
52d309e4
JB
27292002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2730
2731 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2732 systems.
2733 Move comments in expect statements to inside the actions, so that they
2734 don't get matched against.
2735
ff683d9e
MK
27362002-07-10 Mark Kettenis <kettenis@gnu.org>
2737
2738 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2739 function when asleep" test.
2740
b5356753
AC
27412002-07-10 Andrew Cagney <ac131313@redhat.com>
2742
2743 * gdb.base/page.exp: Rewrite to handle problems with very long
2744 `info set' output. Update copyright.
2745
6aa4d13a
AC
27462002-06-26 Andrew Cagney <ac131313@redhat.com>
2747
2748 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2749 gdb.threads-hp.
2750 * gdb.hp/configure: Regenerate.
2751 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2752 * gdb.hp/gdb.threads-hp/configure: Delete file.
2753 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2754
8cf8c2b8
AC
27552002-06-22 Andrew Cagney <ac131313@redhat.com>
2756
2757 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2758 setlocale, bindtextdomain and textdomain.
2759
6827a8f8
JB
27602002-06-11 Jim Blandy <jimb@redhat.com>
2761
919d772c
JB
2762 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2763 preprocessor macro information is present.
2764
6827a8f8
JB
2765 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2766 tests.
2767
c15b0d21
MS
27682002-06-06 Michael Snyder <msnyder@redhat.com>
2769
c5984d70
MS
2770 * gdb.base/overlays.exp: Record addresses of overlay
2771 functions in TCL variables rather than in GDB variables,
2772 to avoid having GDB convert them to pointers (with loss
2773 of information).
2774
d63a86f8 2775 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 2776 default linker script changes.
c15b0d21
MS
2777 * gdb.base/long_long.exp: Add check for sizeof (long double).
2778
be26fe0d
ML
27792002-06-06 Michal Ludvig <mludvig@suse.cz>
2780
2781 * gdb.asm/asm-source.exp: Add x86-64 target.
2782 * gdb.asm/x86_64.inc: New.
d63a86f8 2783
258093ca 27842002-05-30 Michael Chastain <mec@shout.net>
258093ca 2785
4b3153f1 2786 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2787 * gdb.c++/m-static.cc: New file.
2788 * gdb.c++/m-static.exp: New file.
2789
241264c6
MS
27902002-05-28 Michael Snyder <msnyder@redhat.com>
2791
2792 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2793 precision.
2794
9bba8c8f 27952002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2796
4b3153f1 2797 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2798 * gdb.c++/m-data.cc: New file.
2799 * gdb.c++/m-data.exp: New file.
2800
28012002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2802
4b3153f1 2803 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 2804 * gdb.c++/try_catch.cc: New file.
d63a86f8 2805 * gdb.c++/try_catch.exp: New file.
9bba8c8f 2806
def1b996
MC
28072002-05-27 Michael Chastain <mec@shout.net>
2808
2809 * gdb.c++/local.exp: Accept more nested types in output.
2810
522ba268
MC
28112002-05-26 Michael Chastain <mec@shout.net>
2812
2813 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2814
277254ba
MS
28152002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2816
2817 * lib/gdb.exp (gdb_wrapper_init): Just because
2818 gdb_wrapper_file exists, this does not mean that the file
2819 should not be rebuilt. That is what gdb_wrapper_initialized
2820 is for.
2821 (default_gdb_init): Reset gdb_wrapper_initialized.
2822
b61a8733
MS
28232002-05-23 Michael Snyder <msnyder@redhat.com>
2824
d63a86f8 2825 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
2826 the precision of the floating point test results.
2827 * gdb.base/call-rt-st.exp: Ditto.
2828
b61a8733
MS
2829 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2830 * gdb.base/call-rt-st.exp: Ditto.
2831
56f6e910
MC
28322002-05-19 Michael Chastain <mec@shout.net>
2833
2834 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2835
ad0b0016
EZ
28362002-05-19 Elena Zannoni <ezannoni@redhat.com>
2837
2838 * configure.in (configdirs): Add gdb.arch.
2839 * configure: Regenerate.
2840
f617d2b6
JB
28412002-05-17 Jim Blandy <jimb@redhat.com>
2842
2843 * gdb.base/completion.exp: Recognize the more detailed error
2844 messages produced by the macro expander's lexical analyzer.
2845
eac2a696
EZ
28462002-05-14 Elena Zannoni <ezannoni@redhat.com>
2847
2848 * gdb.arch/altivec-abi.c: New file.
2849 * gdb.arch/altivec-abi.exp: New file.
2850 * gdb.arch/altivec-regs.c: New file.
2851 * gdb.arch/altivec-regs.exp: New file.
2852
2fdde8f8
DJ
28532002-05-14 Daniel Jacobowitz <drow@mvista.com>
2854
2855 * gdb.base/maint.exp (maint print type): Update for new type
2856 structure.
d63a86f8 2857
e31f1a7c
EZ
28582002-05-14 Elena Zannoni <ezannoni@redhat.com>
2859
2860 * gdb.arch: New directory.
2861 * gdb.arch/configure.in: New file.
2862 * gdb.arch/configure: New file.
2863 * gdb.arch/Makefile.in: New file.
2864
db589741
CV
28652002-05-13 Corinna Vinschen <vinschen@redhat.com>
2866
2867 * gdb.asm/asm-source.exp: Add v850 as supported target.
2868 * gdb.asm/v850.inc: New file.
2869
8ce2a7dc
DJ
28702002-05-13 Daniel Jacobowitz <drow@mvista.com>
2871
2872 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2873
df763c7f
DJ
28742002-05-12 Daniel Jacobowitz <drow@mvista.com>
2875
2876 * gdb.base/break.exp: Check 'break "marker2"'.
2877
377daeed
MS
28782002-05-10 Michael Snyder <msnyder@redhat.com>
2879
2880 * gdb.base/long_long.exp: Fix typo.
2881
c4b7bc2b
JB
28822002-05-10 Jim Blandy <jimb@redhat.com>
2883
ecac9a4e
JB
2884 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2885 a bug.
2886
c4b7bc2b
JB
2887 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2888 Recognize more detailed error message produced by the macro
2889 expander's lexical analyzer.
2890 * lib/gdb.exp (test_print_reject): Same.
2891
e71019a1
MK
28922002-05-09 Mark Kettenis <kettenis@gnu.org>
2893
2894 * gdb.c++/method.exp: Fix typo.
2895
fedfc8e6
MS
28962002-05-08 Michael Snyder <msnyder@redhat.com>
2897
166a1957
MS
2898 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2899 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2900 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2901 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2902 Add iftarget clause for strongarm.
d63a86f8 2903
f1c47eb2
MS
29042002-05-06 Michael Snyder <msnyder@redhat.com>
2905
cb9a9d3e
MS
2906 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2907 (gdb_continue_to_end): Accept output from status wrapper.
2908 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2909 Clean up fail messages to match pass messages.
2910
f1c47eb2
MS
2911 Enable the "needs_status_wrapper" testsuite feature.
2912 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2913 (gdb_compile): Conditionally call gdb_wrapper_init.
2914 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2915 * gdb.c++/method.exp: Recognize output from status wrapper.
2916
6079c749
BE
29172002-05-06 Ben Elliston <bje@redhat.com>
2918From Graydon Hoare <graydon@redhat.com>
2919
2920 * config/sid.exp: Include support for "rawsid" protocol.
2921
188baff3
JB
29222002-05-03 Jim Blandy <jimb@redhat.com>
2923
2924 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2925 * gdb.c++/hang3.C: New file.
2926
b9c07f0f
AC
29272002-05-04 Andrew Cagney <ac131313@redhat.com>
2928
2929 * gdb.base/default.exp: Remove obsolete code.
2930 * gdb.c++/misc.exp: Ditto. Update copyright.
2931 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2932 * gdb.base/whatis.exp: Ditto. Update copyright.
2933 * gdb.base/scope.exp: Ditto. Update copyright.
2934 * gdb.base/ptype.exp: Ditto. Update copyright.
2935 * gdb.base/printcmds.exp: Ditto. Update copyright.
2936 * gdb.base/opaque.exp: Ditto. Update copyright.
2937 * gdb.base/list.exp: Ditto.
2938 * gdb.base/funcargs.exp: Ditto. Update copyright.
2939 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2940 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2941 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2942 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2943 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2944 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2945
5c7a0397
MS
29462002-05-02 Michael Snyder <msnyder@redhat.com>
2947
d6dcc264 2948 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2949 * gdb.base/long_long.exp: Add xscale target.
2950 * gdb.base/default.exp: Add xscale target.
2951
eb7f1c48
JB
29522002-05-01 Jim Blandy <jimb@redhat.com>
2953
2954 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2955 gdb.c++/hang.exp: New test.
2956
a6befae8
FF
29572002-05-01 Fred Fish <fnf@redhat.com>
2958
2959 * gdb.base/completion.exp: Handle completions of "./Make" for
2960 more than one completion possibility, as is the case when we
2961 build and test in the source tree.
2962
0a310277
AG
29632002-04-29 Anthony Green <green@redhat.com>
2964
2965 * gdb.java/jmisc1.exp: New file.
2966 * gdb.java/jmisc2.exp: New file.
2967
6ff9af88
DJ
29682002-04-24 Daniel Jacobowitz <drow@mvista.com>
2969
2970 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2971
96b3d632
EZ
29722002-04-23 Elena Zannoni <ezannoni@redhat.com>
2973
2974 * gdb.base/help.exp: Change 'help status' to allow for target
2975 dependent output differences.
2976
5019bb54
MC
29772002-04-22 Michael Chastain <mec@shout.net>
2978
2979 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2980
a805a116
MC
29812002-04-22 Michael Chastain <mec@shout.net>
2982
2983 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2984
a1706bfd
DM
29852002-04-17 David S. Miller <davem@redhat.com>
2986
2987 * gdb.asm/sparc64.inc: New file.
2988 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2989
a73a20a2
EZ
29902002-04-19 Elena Zannoni <ezannoni@redhat.com>
2991
2992 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2993 instruction file directly into the build tree. Clean up at end of
2994 test.
2995
ba678339
DM
29962002-04-18 David S. Miller <davem@redhat.com>
2997
2998 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2999 handle 64-bit platforms correctly.
3000 * gdb.base/maint.exp: Likewise.
3001
b03399da
KB
30022002-04-18 Kevin Buettner <kevinb@redhat.com>
3003
3004 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
3005 ``-fpic'' when compiling files comprising a shared library, but
3006 it does need additional linker flags in order to find shared
3007 libraries at run time.
3008
e2004992
KB
30092002-04-18 Kevin Buettner <kevinb@redhat.com>
3010
3011 * gdb.base/cvexpr.c (use): New function.
3012 (main): Invoke use() on all global variables to prevent
3013 some linkers from deleting these otherwise unused symbols.
3014
d8937120
MC
30152002-04-17 Michael Chastain <mec@shout.net>
3016From David S. Miller <davem@redhat.com>
3017
3018 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
3019 handle 64-bit platforms correctly.
3020
ffd61a58
MS
30212002-04-12 Michael Snyder <msnyder@redhat.com>
3022From Jim Blandy <jimb@redhat.com>
3023 * gdb.base/foo.c (foox): Remove section attribute; the linker
3024 script can handle this instead.
3025 * gdb.base/bar.c (barx): Same.
3026 * gdb.base/baz.c (bazx): Same.
3027 * gdb.base/grbx.c (grbxx): Same.
3028
3029 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
3030 manager doesn't automatically unmap overlays unnecessarily.
3031
6b8426a6
MH
30322002-04-10 Martin M. Hunt <hunt@redhat.com>
3033
3034 * gdb.base/ending-run.exp: Fix pattern for Mips targets
3035 stepping out of main.
3036
34af4875
MC
30372002-04-09 Michael Chastain <mec@shout.net>
3038
3039 * gdb.c++/local.cc (main): Move call to marker1() inside nested
3040 scope so that the nested scope tests will make sense.
3041 * gdb.c++/local.exp: Write patterns that actually work with gcc
3042 (the HP patterns "were never known to work with gcc").
3043 Keep the old aCC patterns too.
3044
2d1676a0
DJ
30452002-04-09 Daniel Jacobowitz <drow@mvista.com>
3046
3047 * gdb.base/attach.exp: Correct target board test.
3048
3a63e3f9
MC
30492002-04-08 Michael Chastain <mec@shout.net>
3050
3051 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
3052 in a const method. Add some xfail and fail cases for configurations
3053 that do not emit the "const ...".
3054
f18dabd2
MC
30552002-04-07 Michael Chastain <mec@shout.net>
3056
3057 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
3058 Accept "A * const" and "const A * const" as type of "this".
3059 Fix spelling of getFunky throughout. Make messages uniform.
3060
0fcddd82
EZ
30612002-04-07 Elena Zannoni <ezannoni@redhat.com>
3062
3063 Work around for PR gdb/285:
3064 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
3065
16a8534a
EZ
30662002-04-07 Elena Zannoni <ezannoni@redhat.com>
3067
3068 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
3069 instructions file at run time instead of configure time.
3070 Sometimes we run the test in a directory that is not the one we
3071 configured in.
3072 * gdb.asm/configure.in: Delete creation of symlink.
3073 * gdb.asm/configure: Regenerate.
3074
24181d81
JB
30752002-04-05 J. Brobecker <brobecker@gnat.com>
3076
3077 * gdb.gdb/xfullpath.exp: New test, to exercise the new
3078 xfullpath () function.
3079
7cdb7107
DJ
30802002-04-04 Daniel Jacobowitz <drow@mvista.com>
3081
3082 * gdb.asm/Makefile.in: Correct dependencies.
3083
3084 * gdb.asm/powerpc.inc: New file.
3085 * gdb.asm/asm-source.exp: Add PowerPC.
3086 * gdb.asm/configure.in: Likewise.
3087 * gdb.asm/configure: Regenerated.
3088
a7d17088
DJ
30892002-04-04 Daniel Jacobowitz <drow@mvista.com>
3090
3091 * gdb.base/relocate.exp: New file.
3092 * gdb.base/relocate.c: New file.
3093
cd721503
FF
30942002-04-04 Fred Fish <fnf@redhat.com>
3095
3096 * gdb.base/step-test.exp: Update comment regarding stopping in
3097 memcpy/bcopy calls inserted as part of the compiler runtime.
3098
b22ad7a7
MS
30992002-04-04 Michael Snyder <msnyder@redhat.com>
3100
3101 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
3102
5f279fa6
DJ
31032002-04-03 Daniel Jacobowitz <drow@mvista.com>
3104
3105 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
3106 (gdb_expect): Remove $notransfer hack.
3107
dd0fd3ce
DJ
31082002-04-02 Daniel Jacobowitz <drow@mvista.com>
3109
3110 * gdb.c++/classes.exp ("calling method for small class"): Match
3111 updated register output.
3112
1e50cda1
DJ
31132002-03-30 Daniel Jacobowitz <drow@mvista.com>
3114
3115 Fix PR gdb/452
3116 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
3117 when finished. Make gdb_file_cmd send "exec-file" when
3118 appropriate.
3119
24015922
DJ
31202002-03-30 Daniel Jacobowitz <drow@mvista.com>
3121
3122 * gdb.base/attach.exp: Remove extra setup_xfail.
3123
dd7dfd64
MS
31242002-03-26 Michael Snyder <msnyder@redhat.com>
3125
3126 * gdb.base/default.exp: Add tests for dump, append, and restore.
3127 * gdb.base/help.exp: Add tests for dump, append, and restore.
3128 * gdb.base/dump.exp: New file, test dump, append and restore.
3129 * gdb.base/dump.c: New file.
3130
48b2f8d7
MS
31312002-03-27 Michael Snyder <msnyder@redhat.com>
3132
d63a86f8 3133 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
3134 clean-ups in help messages.
3135
05b4d525
FF
31362002-03-26 Fred Fish <fnf@redhat.com>
3137
3138 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
3139 have debugging info for those functions and the compiler uses them
3140 internally to copy structs around.
3141
d7679631
FF
31422002-03-26 Fred Fish <fnf@redhat.com>
3143
3144 * gdb.base/list.exp: Revert the change made yesterday and add note
3145 about why we don't list the default lines for remote targets.
3146
523ac3f9
MS
31472002-03-25 Michael Snyder <msnyder@redhat.com>
3148
3149 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
3150
754b2b8d
FF
31512002-03-25 Fred Fish <fnf@redhat.com>
3152
3153 * gdb.base/list.exp: This test works on remote targets so remove
3154 the short circuit for remote targets. Update copyright.
3155
33c3e192
FF
31562002-03-25 Fred Fish <fnf@redhat.com>
3157
3158 * gdb.base/attach.exp: Fix logic error that was suppressing this
3159 test for all non hppa*-*-hpux* targets, instead of the hp target.
3160 Move comments closer to the suppression point. Also now need to
3161 check that we are running natively.
3162
d43e73ee
MS
31632002-03-22 Michael Snyder <msnyder@redhat.com>
3164
882c8f02
MS
3165 * gdb.base/default.exp: Add test for gcore. Update copyright.
3166 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 3167
04c12f60
FF
31682002-03-06 Fred Fish <fnf@redhat.com>
3169
3170 * gdb.base/funcargs.c: Remove extraneous ';' character.
3171 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
3172
b43df995
MC
31732002-03-04 Michael Chastain <mec@shout.net>
3174
3175 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
3176 accommodate gcc v3 function signature.
3177 * gdb.mi/mi0-var-cmd-exp: Ditto.
3178
92362027
AC
31792002-02-24 Andrew Cagney <ac131313@redhat.com>
3180
3181 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
3182 ``GNU/Linux'' or ``Linux kernel''
3183 * testsuite/gdb.threads/pthreads.c: Ditto.
3184
258ad32d
MC
31852002-02-24 Michael Chastain <mec@shout.net>
3186
3187 * gdb.threads/pthreads.c (thread1): Add a return statement.
3188 (thread2): Likewise.
3189 (foo): Likewise.
3190
04c3b3d4
MC
31912002-02-23 Michael Chastain <mec@shout.net>
3192
3193 * gdb.threads/linux-dp.c (philosopher): Add a return statement
3194 to placate gcc.
3195
5a2a0a20
MC
31962002-02-23 Michael Chastain <mec@shout.net>
3197
3198 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
3199 test "ptype bint". The test passes on all my stabs configurations.
3200
a640f7fc
JB
32012002-02-21 Jim Blandy <jimb@redhat.com>
3202
27924826
JB
3203 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
3204 filename at a time, and watch for the ones we want to see.
3205
a640f7fc
JB
3206 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
3207 types of pointers to prototyped functions.
3208
edcc8c75
AC
32092002-02-20 Andrew Cagney <ac131313@redhat.com>
3210
3211 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
3212 signed, unsigned and straight char.
3213 (padding_char, padding_short, padding_int, padding_long,
3214 padding_long_long, padding_float, padding_double,
3215 padding_long_double): New global variables.
3216 (fill, fill_structs): New functions.
3217
3218 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
3219 for correctly sized writes. Update copyright.
3220 (get_valueof): New procedure.
3221 (get_sizeof): Call get_valueof.
3222 (check_valueof): New procedure.
3223 (check_padding): New procedure.
3224
ac57ea44
MC
32252002-02-20 Michael Chastain <mec@shout.net>
3226
3227 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
3228 to setup_xfail. Document some of the remaining calls.
3229
7a10c941
MC
32302002-02-18 Michael Chastain <mec@shout.net>
3231
3232 * gdb.c++/userdef.exp: Update copyright year.
3233
fb8acdcc
DJ
32342002-02-18 Daniel Jacobowitz <drow@mvista.com>
3235
3236 * gdb.c++/userdef.exp: Test overloaded operators properly.
3237 Remove xfails.
3238
fda6ae12
MS
32392002-02-14 Michael Snyder <msnyder@redhat.com>
3240
3241 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
3242
676a0442
DJ
32432002-02-14 Daniel Jacobowitz <drow@mvista.com>
3244
3245 * gdb.base/a2-run.exp: Check for a remote target properly.
3246 * gdb.base/annota1.exp: Likewise.
3247 * gdb.base/list.exp: Likewise.
3248 * gdb.base/reread.exp: Likewise.
3249 * gdb.base/scope.exp: Likewise.
3250 * gdb.base/shlib-call.exp: Likewise.
3251 * gdb.base/term.exp: Likewise.
3252 * gdb.c++/annota2.exp: Likewise.
3253
78b4f468
RE
32542002-02-13 Richard Earnshaw <rearnsha@arm.com>
3255
3256 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
3257
9a81ba51
MC
32582002-02-10 Michael Chastain <mec@shout.net>
3259
3260 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
3261 (call_after_alloca): Ditto.
3262
004af6c7
DJ
32632002-02-10 Daniel Jacobowitz <drow@mvista.com>
3264
3265 * gdb.base/ending-run.exp: Guard "cont" test with
3266 gdb_skip_stdio_test.
3267
37225f62
JB
32682002-02-06 Jim Blandy <jimb@redhat.com>
3269
3270 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3271 from here...
3272 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3273 To here. Disable this test on non-HP platforms. Add big comment.
3274
fe6fdd96
MS
32752002-02-04 Michael Snyder <msnyder@redhat.com>
3276
3277 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3278 other than d10v and m32r.
3279
036fad3f
RE
32802002-02-02 Richard Earnshaw <rearnsha@arm.com>
3281
3282 * gdb.base/default.exp: Rewrite test patterns to reduce time
3283 taken to match them.
3284
7148ab62
DJ
32852002-01-30 Daniel Jacobowitz <drow@mvista.com>
3286
3287 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3288 Allow a start function above main.
3289 * gdb.threads/linux-dp.exp: Fix copyright date.
3290
396cc255
DJ
32912002-01-30 Daniel Jacobowitz <drow@mvista.com>
3292
3293 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3294 (check_philosopher_stack): Check for manager thread before checking
3295 for a just-starting thread.
3296
f038d31b
DJ
32972002-01-30 Daniel Jacobowitz <drow@mvista.com>
3298
3299 From Neil Booth <neil@daikokuya.demon.co.uk>:
3300 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3301 warnings.
3302
b3ff9d9a
FF
33032002-01-21 Fred Fish <fnf@redhat.com>
3304
3305 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3306 not caller.
3307
39ad761d
JB
33082002-01-21 Jim Blandy <jimb@redhat.com>
3309
3310 * gdb.base/reread.exp: Check that GDB properly re-reads the
3311 executable file when it changes while no inferior is running.
3312
aaf320fa
FF
33132002-01-21 Fred Fish <fnf@redhat.com>
3314
3315 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3316 optionally accept the "shlib events" variation.
3317
808a31f5
JB
33182002-01-21 Jim Blandy <jimb@redhat.com>
3319
3320 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3321 call `fflush' after every `printf', so that the output is produced
3322 at predictable points, regardless of whatever buffering does (or
3323 doesn't) take place.
3324 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3325 at different points.
3326
4420d5e2
DJ
33272002-01-20 Daniel Jacobowitz <drow@mvista.com>
3328
3329 * gdb.c++/inherit.exp: Update copyright years.
3330 * gdb.c++/method.exp: Likewise.
3331
3e36a0f4
DJ
33322002-01-20 Daniel Jacobowitz <drow@mvista.com>
3333
3334 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3335 artificial methods/arguments.
3336 * gdb.c++/derivation.exp: Likewise.
3337 * gdb.c++/inherit.exp: Likewise.
3338 * gdb.c++/method.exp: Likewise.
3339 * gdb.c++/virtfunc.exp: Likewise.
3340
b4ceaee6
AC
33412002-01-18 Andrew Cagney <ac131313@redhat.com>
3342
3343 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3344 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3345 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3346 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3347 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3348 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3349
ecace851
JB
33502002-01-17 Jim Blandy <jimb@redhat.com>
3351
3352 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3353 anchoring the pattern matching the entry point symbol's name.
3354
375fc983
AC
33552002-01-17 Andrew Cagney <ac131313@redhat.com>
3356
3357 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3358 continue/quit query. Update copyright.
3359
fe6fdd96
MS
33602002-01-14 Michael Snyder <msnyder@redhat.com>
3361
3362 * gdb.base/gcore.exp: Remove extra debugging output.
3363
e017c81f
DJ
33642002-01-13 Daniel Jacobowitz <drow@mvista.com>
3365
3366 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3367 for slightly dubious v2 mangled string.
3368
37ab3bf8
DJ
33692002-01-13 Daniel Jacobowitz <drow@mvista.com>
3370
3371 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3372
1bc05c3a 33732002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 3374
1bc05c3a 3375 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 3376
1bc05c3a
JM
3377 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3378 constructors.
3379 * gdb.c++/derivation.exp: Likewise.
3380 * gdb.c++/templates.exp: Likewise.
3381 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 3382
1bc05c3a
JM
33832002-01-10 Michael Snyder <msnyder@redhat.com>
3384
3385 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 3386
a911c360
MS
33872002-01-08 Michael Snyder <msnyder@redhat.com>
3388
3389 * gdb.base/gcore.exp: New test for generate-core-file command.
3390 * gdb.base/gcore.c: Testcase for above.
3391 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3392
ea2119ec
JM
33932002-01-08 Jason Merrill <jason@redhat.com>
3394
3395 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3396
68203136
FF
33972002-01-07 Fred Fish <fnf@redhat.com>
3398
3399 * gdb.c++/overload.exp: Remove unconditional xfails for:
3400 print foo_instance1.overloadargs(1)
3401 print foo_instance1.overloadargs(1, 2)
3402 print foo_instance1.overloadargs(1, 2, 3)
3403 print foo_instance1.overloadargs(1, 2, 3, 4)
3404 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3405 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3406 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3407 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3408 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3409 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3410 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3411 print foo_instance1.overload1arg()
3412 print foo_instance1.overload1arg((char)arg2)
3413 print foo_instance1.overload1arg((signed char)arg3)
3414 print foo_instance1.overload1arg((unsigned char)arg4)
3415 print foo_instance1.overload1arg((int)arg7)
3416 print foo_instance1.overload1arg((unsigned int)arg8)
3417 print foo_instance1.overload1arg((float)arg11)
3418 print foo_instance1.overload1arg((double)arg12)
d63a86f8 3419
21b9b5b1
MS
34202002-01-07 Michael Snyder <msnyder@redhat.com>
3421
3422 * gdb.base/huge.exp: New test. Print a very large target data object.
3423 (skip_huge_test): New test variable. Define if you want to skip this
3424 test. The test reads an 8 megabyte data object from the target, so it
3425 might be very time consuming on remote targets with a slow connection.
3426 * gdb.base/huge.c: New file. Test case for above.
3427
725f922e
FF
34282002-01-07 Fred Fish <fnf@redhat.com>
3429
3430 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3431 g_instance.bfoo, and g_instance.cfoo.
3432
634d57ec
JL
3433Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3434
f286b2c3
JL
3435 * gdb.base/break.c (multi_line_if_conditional): New function.
3436 (multi_ilne_while_conditional): Likewise.
3437 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3438 IF or WHILE condition puts the breakpoint at the start of
3439 the condition.
3440
634d57ec
JL
3441 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3442 hppa*-*-hpux* expected failure.
3443 * gdb.base/structs.exp (do_function_calls): Similarly.
3444
3445 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3446 watchpoints.
3447
9fbfe2dc
AC
34482002-01-06 Andrew Cagney <ac131313@redhat.com>
3449
3450 Fix PR gdb/66.
3451 * gdb.base/structs.exp: Replace skip for a29k with skip for
3452 gdb,cannot_call_functions.
3453 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3454 * gdb.base/callfuncs.exp: Ditto.
3455 * gdb.base/call-rt-st.exp: Ditto.
3456 * gdb.base/call-strs.exp: Ditto.
3457 * gdb.base/callfwmall.exp: Ditto.
3458 * gdb.base/scope.exp: Obsolete xfail a29k.
3459 * gdb.c++/misc.exp: Ditto.
3460 * gdb.c++/cplusfuncs.exp: Ditto.
3461 * gdb.base/ptype.exp: Ditto.
3462 * gdb.base/printcmds.exp: Ditto.
3463 * gdb.base/opaque.exp: Ditto.
3464 * gdb.base/list.exp: Ditto.
3465 * gdb.base/funcargs.exp: Ditto.
3466 * gdb.base/default.exp: Ditto.
3467
8ddad156
MS
34682002-01-04 Michael Snyder <msnyder@redhat.com>
3469
ca4976a6 3470 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3471 * gdb.base/maint.exp: Add tests for maint info sections options.
3472
1b074332
JL
3473Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3474
3475 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3476
7d159115
CV
34772001-12-20 Corinna Vinschen <vinschen@redhat.com>
3478
3479 * gdb.asm/arm.inc: New file.
3480 * gdb.asm/asm-source.exp: Add arm targets.
3481 * gdb.asm/configure.in: Ditto.
3482 * gdb.asm/configure: Recreated from configure.in.
3483
8fb87725
JL
3484Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3485
afabe08c
JL
3486 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3487 with HP's compiler.
3488 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3489 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3490 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3491 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3492
3493 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3494 either HP's compilers or GCC.
3495
db521deb
JL
3496 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3497 a SIGBUS or SIGSEGV.
3498
3499 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3500
3501 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3502 can be compiled with either HP's compiler or GCC.
3503
cfa88ab7
JL
3504 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3505 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3506 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3507
ca344dff
JL
3508 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3509 to match current gdb output. Update due to using auto-solib-limit
3510 for limiting instead of overloading auto-solib-add.
3511 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3512 test program.
3513
3f3c6e55 3514 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3515 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3516 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3517 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3518 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3519 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3520 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3521 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3522 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3523 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3524 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3525 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3526 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3527
8fb87725
JL
3528 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3529 a SIGTRAP to the inferior.
3530
cf599fa7
CV
35312001-12-19 Corinna Vinschen <vinschen@redhat.com>
3532
3533 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3534 Substitute call to target_link by call to gdb_compile.
3535
2cd045cd
JL
3536Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3537
3538 * gdb.base/break.exp: Fix HP specific search string when testing
3539 backtracing in a called function.
3540
d63a86f8 3541 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
3542 compiling the test with HP's compilers.
3543 * gdb.base/volatile.exp: Similarly.
3544
99ebe9ac
JB
35452001-12-19 Jim Blandy <jimb@redhat.com>
3546
3547 * gdb.base/printcmds.exp: Expect the null character to be printed
3548 as '\0', and the '\013' to be printed as '\v'.
3549 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3550 * gdb.base/setvar.exp: Same.
3551
b9891b29
JB
35522001-12-17 Jim Blandy <jimb@redhat.com>
3553
0eba65ab
JB
3554 * gdb.base/completion.exp: Rather than completing very long
3555 filenames, which can make the readline library produce output we
3556 don't recognize, cd to the directory first, and then complete
3557 using nice, short relative paths.
3558
6970b5b1
JB
3559 * gdb.base/completion.exp: On some systems, there is, in fact, a
3560 variable named `b' in scope, since GDB treats all static
3561 variables as being in scope. So use `no_var_named_this'
3562 instead of `b'.
3563
b9891b29
JB
3564 * gdb.base/corefile.exp: Recognize the message saying that GDB
3565 can't find the core file's registers as a failure.
3566
e6ccd35f
JSC
35672001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3568
3569 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3570 test expect string more specific.
3571
105ba819
CV
35722001-12-13 Corinna Vinschen <vinschen@redhat.com>
3573
3574 * gdb.asm/asm-source.exp: Add support for xstormy16.
3575 * gdb.asm/configure.in: Ditto.
3576 * gdb.asm/configure: Rebuild.
3577 * gdb.asm/xstormy16.inc: New file.
3578
e9e79dd9
FF
35792001-12-10 Fred Fish <fnf@redhat.com>
3580
3581 * gdb.base/maint.exp: Update to match changes in type dumping code.
3582
347dc97d
JB
35832001-12-10 Jim Blandy <jimb@redhat.com>
3584
3585 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3586 matching the entry point symbol's name at the beginning of the
3587 line.
3588
5178b9d6
DJ
35892001-12-07 Daniel Jacobowitz <drow@mvista.com>
3590
3591 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3592 gdb.c++/inherit.exp, gdb.c++/method.exp,
3593 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3594 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3595 and class layout support.
3596
af890c52
DJ
35972001-12-07 Daniel Jacobowitz <drow@mvista.com>
3598
3599 * gdb.c++/classes.exp: Add test for static member function.
3600 * gdb.c++/misc.cc: Add class with static member function.
3601
7a345fb3
JB
36022001-12-07 Jim Blandy <jimb@redhat.com>
3603
f2e54a80 3604 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3605 those tests as `unsupported'.
3606 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3607 Rewrite subsequent tests to use it.
3608
3609 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3610 those tests as `unsupported'.
3611 * gdb.base/structs.exp (call_struct_func): New function.
3612 (do_function_calls): Use call_struct_func to call the functions
3613 returning structs.
3614
0bc69509
JB
3615 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3616 whether functions are prototyped or not, so we can't possibly pass
3617 arguments to t_float_values2 properly.
3618
7a345fb3
JB
3619 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3620 value of `timeout' for targets other than the mips*tx39-*.
3621
edb6ede1
MS
36222001-12-06 Michael Snyder <msnyder@redhat.com>
3623
d63a86f8 3624 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
3625 and detect whether the start symbol has a leading underscore.
3626
2d842f13
JB
36272001-12-04 Jim Blandy <jimb@redhat.com>
3628
3629 * gdb.base/completion.exp: Clarify indentation.
3630
68550daf
JB
36312001-12-03 Jim Blandy <jimb@redhat.com>
3632
3633 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3634 variables on the S/390, not `.word'.
3635
cd5195a8
JB
36362001-11-30 Jim Blandy <jimb@redhat.com>
3637
3638 Add assembly-source tests for s390-ibm-linux.
3639 * gdb.asm/s390.inc: New file.
3640 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3641 the S/390 architecture.
3642 * gdb.asm/configure: Regenerated.
3643
ca9efc90
MS
36442001-11-30 Michael Snyder <msnyder@redhat.com>
3645
3646 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3647 next, info source, info sources, info line, global and static
3648 variables, and static functions.
3649 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3650 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3651 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3652 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3653 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3654 (gdbasm_leave): Restore frame pointer.
3655 (gdbasm_startup): Copy stack set-up from crt0.S.
3656
d0e66976
FN
36572001-11-26 Fernando Nasser <fnasser@redhat.com>
3658
3659 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3660 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3661 to a local (non-static) variable. Copy tstruct.a to a static buffer
3662 and return a pointer to that buffer.
3663 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3664
e2334072
MK
36652001-11-24 Mark Kettenis <kettenis@gnu.org>
3666
3667 * gdb.asm/configure.in: Fix recognition of ix86 target.
3668 * gdb.asm/configure: Regenerate.
3669
756caa3d
MS
36702001-11-21 Michael Snyder <msnyder@redhat.com>
3671
3672 * gdb.asm/sparc.inc: New file.
3673 * gdb.asm/asm-source.exp: Recognize sparc target.
3674 * gdb.asm/configure.in: Recognize sparc target.
3675 * gdb.asm/configure: Regenerate.
d63a86f8 3676
9a4d72d5
MS
36772001-11-21 Michael Snyder <msnyder@redhat.com>
3678
3679 * gdb.asm/m32r.inc: New file.
3680 * gdb.asm/asm-source.exp: Recognize m32r target.
3681 * gdb.asm/configure.in: Recognize m32r target.
3682 * gdb.asm/configure: Regenerate.
3683
a773d1cd
MS
36842001-11-20 Michael Snyder <msnyder@redhat.com>
3685
017ac23d
MS
3686 * gdb.asm/i386.inc: New file.
3687 * gdb.asm/asm-source.exp: Recognize ix86 target.
3688 * gdb.asm/configure.in: Recognize ix86 target.
3689 * gdb.asm/configure: Regenerate.
3690
a773d1cd
MS
3691 * gdb.c++/namespace.exp: Fix quotes in output messages.
3692
bb632afb
MS
36932001-11-14 Michael Snyder <msnyder@redhat.com>
3694
25d559ca 3695 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3696 qualifier in a type cast expression, to designate an address
3697 in the instruction space (Harvard architecture).
3698
4749e309
MS
36992001-11-13 Michael Snyder <msnyder@redhat.com>
3700
3701 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3702 Tests for expressions using 'const' and 'volatile'.
3703
25050984
CV
37042001-11-13 Corinna Vinschen <vinschen@redhat.com>
3705
3706 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3707
1902c51f
DJ
37082001-11-12 Daniel Jacobowitz <drow@mvista.com>
3709
3710 * lib/mi-support.exp (mi_run_to_helper): Move comments
3711 outside of gdb_expect.
3712
dcf95b47
DJ
37132001-11-11 Daniel Jacobowitz <drow@mvista.com>
3714
3715 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3716 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3717 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3718 mi0_run_to): New functions.
3719 * gdb.mi/mi-simplerun.exp: Use them.
3720 * gdb.mi/mi0-simplerun.exp: Likewise.
3721 * gdb.mi/mi-var-cmd.exp: Likewise.
3722 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 3723
45b074e1
AC
37242001-11-10 Andrew Cagney <ac131313@redhat.com>
3725
3726 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3727 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3728
bf50d346
AC
37292001-11-09 Andrew Cagney <ac131313@redhat.com>
3730
3731 * gdb.base/restore.exp: Include $expected value in restored test
3732 message.
3733
9383332c
AC
37342001-11-09 Andrew Cagney <ac131313@redhat.com>
3735
3736 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3737 implemented.
3738
db62520a
MS
37392001-11-08 Michael Snyder <msnyder@redhat.com>
3740
3741 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3742 Add pass/fail message for stop at breakpoint in call dummy function.
3743
b5703437
MS
37442001-11-07 Michael Snyder <msnyder@redhat.com>
3745
d63a86f8
RM
3746 * gdb.c++/templates.exp (test_template_breakpoints):
3747 If we get an overload menu, but it does not match what
760f6330 3748 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3749 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3750 making the whitespace optional. Argument for "new" may be
3751 "unsigned" as well as "unsigned int/long".
d63a86f8 3752 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
3753 making the whitespace optional. Also replace "(void) with
3754 "((void|)), making the keyword "void" optional.
d63a86f8 3755 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
3756 making the whitespace optional. Also replace "(void) with
3757 "((void|)), making the keyword "void" optional.
3bf40917
MS
3758 * gdb.base/callfuncs.c (t_float_values): This function must
3759 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 3760 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
3761 can be tested against both cases. Usually one case involves
3762 promotion of float to double, while the other does not.
3763 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3764 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3765 includes a stack frame for "start".
3766
c8ab4e6d
JB
37672001-11-05 Jim Blandy <jimb@redhat.com>
3768
3769 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3770 pointers are 32 bits long, and that offsets of relocs are always
3771 stored in the data (REL-style), and not in the reloc entry itself
3772 (RELA-style).
3773 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3774 stabs.
3775
3f08ced9
MS
37762001-11-01 Michael Snyder <msnyder@redhat.com>
3777
3778 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3779 and regular expression operators by using quoting.
3780
cbfa24cd
MS
37812001-10-31 Michael Snyder <msnyder@redhat.com>
3782
3783 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3784 depending on what the symbol table contains.
3785 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3786 the output of the ptype command. Similarly, accept both "const &"
3787 and "const&".
3788
aaa68313
CV
37892001-10-31 Corinna Vinschen <vinschen@redhat.com>
3790
3791 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3792 symbol `STORAGE' to allow to choose the storage class of
3793 the local datastructures.
3794 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3795 compiler directive.
3796
91740388
MS
37972001-10-30 Michael Snyder <msnyder@redhat.com>
3798
3799 * gdb.base/jump.exp: Allow it to run for all targets.
3800
1b7c05e7
CV
38012001-10-29 Corinna Vinschen <vinschen@redhat.com>
3802
3803 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3804 with new double_array size.
3805 (main): Change storage class of all local variables to static.
3806 Reduce size of double_array to 9.
3807 * gdb.base/call-ar-st.exp: Increase timeout value.
3808 Change expected output for double array to match new size in
3809 call-ar-st.c.
3810
36a22261
CV
38112001-10-29 Corinna Vinschen <vinschen@redhat.com>
3812
3813 * gdb.base/ending-run.exp: Create identical output when passing
3814 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 3815 Stormy16 target.
36a22261 3816
92b8ae91
MK
38172001-10-28 Mark Kettenis <kettenis@gnu.org>
3818
3819 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3820 that we catch the expected failure under Linux/x86.
3821
cb135b83
OF
38222001-10-29 Orjan Friberg <orjanf@axis.com>
3823
3824 * gdb.base/setvar.exp: Escape curly braces.
3825 * gdb.stabs/weird.exp: Ditto.
3826
6884aa54
DJ
38272001-10-27 Daniel Jacobowitz <drow@mvista.com>
3828
3829 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3830 * gdm.mi/mi0-hack-cli.exp: Likewise.
3831
0398c9aa
AC
38322001-10-25 Andrew Cagney <ac131313@redhat.com>
3833
3834 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3835 messages.
3836
d20bf2e8
AC
38372001-10-21 Andrew Cagney <ac131313@redhat.com>
3838
3839 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3840 checking MI enabled.
3841
03dd63aa
CV
38422001-10-09 Corinna Vinschen <vinschen@redhat.com>
3843
3844 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3845
1d9d99f3
FCE
38462001-10-04 Frank Ch. Eigler <fche@redhat.com>
3847
3848 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3849 if gdb child process crashes, just signal an error.
3850
838ae6c4
JB
38512001-10-02 Jim Blandy <jimb@redhat.com>
3852
3853 * lib/gdb.exp (test_xfail_format): Simplify.
3854
3855 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3856 front of the variable name `format'. Simplify `if'.
3857
8f0cbc1c
DJ
38582001-10-01 Daniel Jacobowitz <drow@mvista.com>
3859
3860 * gdb.threads/pthreads.exp: Wait for output and delay
3861 before sending ^C.
3862
1f08dafd
DJ
38632001-10-01 Daniel Jacobowitz <drow@mvista.com>
3864
3865 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3866 some incorrect output instead of timing out.
3867 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3868
674f90ff
CV
38692001-09-28 Corinna Vinschen <vinschen@redhat.com>
3870
3871 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3872 check to allow additional `int'.
3873
9b284272
DJ
38742001-09-27 Daniel Jacobowitz <drow@mvista.com>
3875
3876 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3877 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3878
b55a4771
MS
38792001-09-27 Michael Snyder <msnyder@redhat.com>
3880
3881 * lib/gdb.exp (test_debug_format): New proc.
3882 (setup_xfail_format): Use new proc test_debug_format.
3883 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3884 proc; use new service proc test_debug_format.
3885 Replace all other "gcc_compiled" tests with this test.
3886 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3887 proc; use new service proc test_debug_format.
3888 Replace all other "gcc_compiled" tests with this test.
3889
38902001-09-27 Michael Snyder <msnyder@redhat.com>
3891
3892 * gdb.base/cvexpr.exp: New file.
3893 * gdb.base/cvexpr.c: New file
3894 Test for expressions using const and volatile keywords.
3895
4e6667ac
CV
38962001-09-26 Corinna Vinschen <vinschen@redhat.com>
3897
3898 * gdb.base/constvars.exp: Check for different orders of keywords
3899 and additional "int" strings in output.
3900
4f337972
AC
39012001-09-22 Andrew Cagney <ac131313@redhat.com>
3902
3903 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3904 responses from "help maint".
3905
2015650d
FCE
39062001-09-19 Frank Ch. Eigler <fche@redhat.com>
3907
3908 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3909 to localhost:NNN instead of :NNN, in case Xvfb is listening
3910 only on TCP.
3911
f3bcedc1
CV
39122001-09-19 Corinna Vinschen <vinschen@redhat.com>
3913
3914 * gdb.base/recurse.exp: When checking leaving the watchpoint
3915 scope, recognize when gdb is in function's epilogue and pass.
3916
6b819c92
KS
39172001-09-18 Keith Seitz <keiths@redhat.com>
3918
3919 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3920 support for running tests against sid targets.
3921 (gdbtk_done): Ditto.
3922
a10c9419
CV
39232001-09-18 Corinna Vinschen <vinschen@redhat.com>
3924
3925 * gdb.base/ending-run.c (main): Set stdout buffersize
3926 to the same reasonable value for any target.
3927 * gdb.base/ending-run.exp: Add a regular expression
3928 to make testsuite happy on Sanyo Stormy16 target.
3929
739d0d99
CV
39302001-09-17 Corinna Vinschen <vinschen@redhat.com>
3931
3932 * gdb.base/display.c (do_loops): Add float variable `f'.
3933 Increment f in loop.
3934 * gdb.base/display.exp: Increment timeout by 60 seconds.
3935 Change float display test to use variable `f'.
3936
1b8947f0
JB
39372001-09-17 Jim Blandy <jimb@redhat.com>
3938
3939 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3940 overflowing the limited breakpoint tables on some ROM monitors
3941 (like the ROM68K).
3942
9890ac81
FCE
39432001-09-15 Frank Ch. Eigler <fche@redhat.com>
3944
3945 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3946 the "-ac" (disable access control) flag.
3947
6db765ea
JH
39482001-08-30 Jeff Holcomb <jeffh@redhat.com>
3949
3950 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3951 ints.
3952
4c32cc04
KS
39532001-08-30 Keith Seitz <keiths@redhat.com>
3954
3955 * lib/gdb.exp: Move all insight-related functionality into
3956 separate file.
3957 * lib/insight-support.exp: New file.
3958
8d6e6f81
FCE
39592001-08-29 Frank Ch. Eigler <fche@redhat.com>
3960
3961 * config/sid.exp (sid_start): Never set sid verbosity; disable
3962 expect_background {} that consumed its stdout; tolerate </dev/null.
3963 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3964
6a90e1d0
AC
39652001-08-18 Andrew Cagney <ac131313@redhat.com>
3966
3967 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3968 CLI jump command to start it.
3969 (mi_run_to_main): Fail immediatly when unexpected output.
3970
1759b3c3
AC
39712001-08-18 Andrew Cagney <ac131313@redhat.com>
3972
3973 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3974 beginning of function. Fix PR gdb/191.
3975
61d11d80
FCE
39762001-08-16 Frank Ch. Eigler <fche@redhat.com>
3977
3978 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3979 what to force sid endianness to.
3980
942a4df2
KS
39812001-08-15 Keith Seitz <keiths@redhat.com>
3982
3983 * lib/gdb.exp (gdbtk_start): Don't set environment
3984 variables for TCL_LIBRARY and friends. Insight will
3985 now figure these out for itself.
3986
0521c418
MS
39872001-08-02 Michael Snyder <msnyder@redhat.com>
3988
3989 * gdb.base/completion.exp: Remove the symbol "a64l" from
3990 the expect string; this is target-specific, and not related
3991 to what is being tested.
3992
74a9a58a
DB
39932001-08-02 Dave Brolley <brolley@redhat.com>
3994
3995 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3996
c70819fa
MS
39972001-07-25 Michael Snyder <msnyder@redhat.com>
3998
c2b8fa57
MS
3999 * gdb.base/consecutive.exp: New file. Test stepping over
4000 breakpoints on consecutive instructions.
4001 * gdb.base/consecutive.c: New file.
4002
c70819fa
MS
4003 * gdb.base/call-rt-st.exp: Use double-backslash to quote
4004 curly braces in regular expressions.
4005
2b1a1355
MS
40062001-07-25 Michael Snyder <msnyder@redhat.com>
4007
4008 * gdb.base/ending-run.exp: Accept "Program exited normally" as
4009 legitimate output from stepping out of main.
4010
413eca6f
KS
40112001-07-22 Keith Seitz <keiths@redhat.com>
4012
4013 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
4014 the empty string, do not run the tests.
4015
7e5a9322
SC
40162001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4017
4018 * gdb.base/long_long.exp: Detect size of pointer. Take into
4019 account 2-byte pointers when testing for p/a results.
4020
de58f10f
SC
40212001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4022
d63a86f8 4023 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
4024 and defined to 1K for m68hc11.
4025 (random_data): Reduce table to 1K for embedded platforms (68hc11).
4026 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
4027 (sizeof_random_data): New variable to tell the size of the data table;
4028 don't test past this size; always run to main.
4029
d6f5fea1
SC
40302001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4031
4032 * gdb.base/return2.exp: return of long long and double fails for
4033 68HC11; don't execute these tests on that platform.
4034 * gdb.base/return.exp: Return of a double fails for 68hc11.
4035
c477543d
SC
40362001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4037
4038 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
4039 tests that print a float.
4040 * call-rt-st.exp: Likewise.
4041
63cf1c79
MK
40422001-07-12 Mark Kettenis <kettenis@gnu.org>
4043
4044 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
4045 running this test on Linux.
4046
112f9ab5
MC
40472001-06-24 Michael Chastain <chastain@redhat.com>
4048
4049 * gdb.base/arithmet.exp: Remove some tests to make all test names
4050 unique.
4051
4970cb0f
MS
40522001-07-03 Michael Snyder <msnyder@redhat.com>
4053
4054 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
4055 the output of the ptype command.
4056
d85da69f
MS
40572001-07-02 Michael Snyder <msnyder@redhat.com>
4058
4c8a82de
MS
4059 * gdb.base/completion.exp: Don't assume that break.c is the only
4060 source file that may contain functions named "marker".
d85da69f
MS
4061 * gdb.base/corefile.exp: Quote the curly braces in regexp.
4062
8afc772b
AC
40632001-06-28 Andrew Cagney <ac131313@redhat.com>
4064
4065 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
4066 of files to delete.
4067
4068 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
4069 * gdb.disasm/h8300s.exp: New file.
4070 gdb.disasm/h8300s.s: Likewise.
4071
cff22675
AC
40722001-06-27 Andrew Cagney <ac131313@redhat.com>
4073
4074 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
4075 empty breakpoint tables.
4076
68c81b54
AC
40772001-06-25 Andrew Cagney <ac131313@redhat.com>
4078
4079 * lib/mi-support.exp: Update args=... part of stop-reason
4080 patterns. Accept either a list or a tuple.
4081
2dd62704
AC
40822001-06-23 Andrew Cagney <ac131313@redhat.com>
4083
4084 * lib/mi-support.exp: Remove local emacs variable defining
4085 change-log-default-name.
4086
b4127474
MC
40872001-06-22 Michael Chastain <chastain@redhat.com>
4088
4089 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
4090 This is operationally compatible with the previous version.
4091
8dbfb380
JB
40922001-06-13 Jim Blandy <jimb@redhat.com>
4093
4094 * lib/gdb.exp (gdb_test): Doc fix.
4095
f2d8c86d
MC
40962001-06-10 Michael Chastain <chastain@redhat.com>
4097
4098 * gdb.base/exprs.exp: Remove a duplicate test.
4099
81564d34
JB
41002001-06-06 Jim Blandy <jimb@redhat.com>
4101
4102 * gdb.base/return2.exp (main): Use values to test float and double
4103 returns that are not NaN's, to avoid being confused by IEEE
4104 comparison rules.
4105
da55addb
MS
41062001-06-04 Michael Snyder <msnyder@redhat.com>
4107
4108 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 4109 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
4110 rather than wait for 12 more tests to time out.
4111
42c65987
JB
41122001-06-06 Jim Blandy <jimb@redhat.com>
4113
b18bced9 4114 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 4115 Don't forget to match the GDB prompt.
b18bced9 4116
42c65987
JB
4117 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
4118
5b41e5f0
JB
41192001-06-04 Jim Blandy <jimb@redhat.com>
4120
4121 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
4122 command.
4123
015e046f
KB
41242001-05-31 Kevin Buettner <kevinb@redhat.com>
4125
4126 * gdb.base/annota1.exp (info break): Match four or more spaces
4127 after "Address".
4128
fb1ffbbe
MC
41292001-05-31 Michael Chastain <chastain@redhat.com>
4130
4131 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
4132 (dm_type_int_star): Likewise.
4133 (dm_type_long_star): Likewise.
4134 (dm_type_void_star): Likewise.
4135
5ea2a32c
KB
41362001-05-29 Kevin Buettner <kevinb@redhat.com>
4137
4138 * gdb.base/completion.exp (INPUTRC): Set this environment variable
4139 to a known value in order to get consistent results regardless
4140 of the setting of INPUTRC or the presence or contents of .inputrc.
4141
ae23c492
MS
41422001-05-24 Michael Snyder <msnyder@redhat.com>
4143
ac55707e
MS
4144 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
4145 Don't require that the main thread and the manager thread are the
4146 first in the list.
4147
ae23c492
MS
4148 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
4149 debugging. If test fails, issue an "unsupported" not a "fail".
4150
400071f1
JB
41512001-05-24 Jim Blandy <jimb@redhat.com>
4152
4153 Don't assume that short is shorter than int.
4154 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
4155 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 4156 this isn't true.
400071f1
JB
4157 ("print unsigned char == (~0)"): Add test that verifies that ~0,
4158 an int, is not equal to ~0 stored in an unsigned char. This tests
4159 the same thing that the previous test meant to, but works on
4160 16-bit machines, too.
4161 ("print unsigned char != (~0)"): Same test, complemented.
4162
0816a3e5
MS
41632001-05-24 Michael Snyder <msnyder@redhat.com>
4164
4165 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 4166 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
4167 and prevents dejagnu getting out of step.
4168
f6dc23a9
KB
41692001-05-23 Kevin Buettner <kevinb@redhat.com>
4170
4171 * gdb.base/finish.exp (finish_void): Revise pattern for
4172 stopping on the call statement to not permit stopping at
4173 the start of the instructions comprising the call sequence.
4174
7dbd117d
MC
41752001-05-19 Michael Chastain <chastain@redhat.com>
4176
4177 * gdb.base/callfuncs.exp: Make all test names unique.
4178 * gdb.base/commands.exp: Make all test names unique.
4179 * gdb.base/condbreak.exp: Make all test names unique.
4180 * gdb.base/dbx.exp: Make all test names unique.
4181 * gdb.base/default.exp: Make all test names unique.
4182 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
4183 and TIMEOUT messages to their corresponding PASS message.
4184 * gdb.base/ending-run.exp: Make all test names unique.
4185 * gdb.base/long_long.exp: Remove duplicate test.
4186
6b0b0a9e
KB
41872001-05-21 Kevin Buettner <kevinb@redhat.com>
4188
4189 * gdb.base/finish.exp (finish_void): Allow "finish" command to
4190 stop on the call statement as well as the statement after the
4191 call.
4192
2caa35cb
MS
41932001-05-21 Michael Snyder <msnyder@redhat.com>
4194
4195 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
4196
40713331
EZ
41972001-05-10 Elena Zannoni <ezannoni@redhat.com>
4198
4199 * gdb.base/completion.exp: Revamp test. Make it execute on all
4200 platforms.
4201
c2c1be8d
EZ
42022001-05-10 Elena Zannoni <ezannoni@redhat.com>
4203
2c9cd303
EZ
4204 * config/gdbserver.exp (gdb_load): Handle the case
4205 in which the arguments to gdbserver are given in the
4206 baseboard configuration file.
4207 Also handle the case in which the server needs to do a
4208 load.
4209
9671de48
KS
42102001-05-07 Keith Seitz <keiths@cygnus.com>
4211
4212 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
4213 set up the display for testing.
4214 (gdbtk_start): Convert all paths to paths that tcl will like.
4215 Export target information to environment.
4216 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
4217 necessary.
4218 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
4219 (to_tcl_path): New proc to convert a given pathname into
4220 a path acceptible as an argument to a tcl command.
4221 (_gdbtk_export_target_info): New proc to export target info
4222 into the environment for gdbtk testing.
4223 (gdbtk_done): New proc to signal end-of-test.
4224
5a360f47
JB
42252001-05-06 Jim Blandy <jimb@redhat.com>
4226
4227 * restore.c: Make the code of caller0 correspond to its comment.
4228
66c756c6
MS
42292001-05-03 Michael Snyder <msnyder@redhat.com>
4230
4231 * config/sid.exp (gdb_target_sid): Check for error messages.
4232 On error or timeout, don't make expect exit (which will terminate
4233 all subsequent tests); instead just make gdb exit.
d63a86f8 4234 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
4235 return a negative value.
4236
a966fde5
JB
42372001-04-24 Jim Blandy <jimb@redhat.com>
4238
851c18e0
JB
4239 * gdb.c++/templates.exp: If we see the prompt for the overload
4240 list, but we haven't recognized any of the longer patterns,
4241 arrange for this test to fail, not hang.
4242
a966fde5
JB
4243 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
4244 variations.
4245
db144853
MC
42462001-04-22 Michael Chastain <chastain@redhat.com>
4247
4248 * gdb.c++/local.exp: Use the 'runto' library function.
4249 * gdb.c++/namespace.exp: Likewise.
4250 * gdb.c++/overload.exp: Likewise.
4251
3207ec21
KB
42522001-03-26 Kevin Buettner <kevinb@redhat.com>
4253
4254 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
4255 * gdb.base/step-line.exp: New file. Test step/next in presence of
4256 #line directives.
4257 * gdb.base/step-line.c: New file. Test program for the above.
4258 * gdb.base/step-line.inp: New file. We pretend that this file has
4259 been transformed by some other tool into step-line.c.
4260
13b57657
JB
42612001-03-21 Jim Blandy <jimb@redhat.com>
4262
4263 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
4264 unmangled operator names.
4265
754cbe1c
JB
42662001-03-20 Jim Blandy <jimb@redhat.com>
4267
4268 * gdb.threads/linux-dp.exp: Recognize an additional message
4269 generated by GDB when it doesn't understand how to debug threads
4270 on the target system.
4271
177495c9
AC
42722001-03-19 Andrew Cagney <ac131313@redhat.com>
4273
4274 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4275
f266096b
MC
42762001-03-12 Michael Chastain <chastain@redhat.com>
4277
4278 * gdb.c++/derivation.exp: Use the 'runto' library function.
4279
cac3c2ff
MC
42802001-03-12 Michael Chastain <chastain@redhat.com>
4281
4282 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4283
b6c11a24
MC
42842001-02-24 Michael Chastain <chastain@redhat.com>
4285
4286 * gdb.c++/ref-types.exp: Change handwritten code to library
4287 function 'runto'.
4288
6bae5bce
OF
42892001-03-16 Orjan Friberg <orjanf@axis.com>
4290
4291 * gdb.base/signals.exp: Set count to 0 explicitly.
4292
0015fd9a
MS
42932001-03-15 Mark Salter <msalter@redhat.com>
4294
4295 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4296 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
4297 (gdb_load): Add support for additional target_info: gdb_download_size
4298 and gdb_load_timeout.
0015fd9a 4299
fc33412a
DT
4300Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4301
4302 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4303 file -- to prevent failing when the compile fails but we have no
4304 intention of running the tests anyway.
4305
4306 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4307 tests if set.
4308
4309 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4310 integers.
4311
4312 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4313 * gdb.c++/namespace.exp: Ditto.
4314
115f06de
OF
43152001-03-07 Orjan Friberg <orjanf@axis.com>
4316
4317 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4318 * gdb.base/pointers.exp: Relax pattern match of decimals.
4319
b6ba6518
KB
43202001-03-06 Kevin Buettner <kevinb@redhat.com>
4321
4322 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4323 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4324 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4325 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4326 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4327 config/sh.exp, config/sid.exp, config/slite.exp,
4328 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4329 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4330 config/vxworks.exp, config/vxworks29k.exp,
4331 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4332 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4333 gdb.base/arithmet.exp, gdb.base/assign.exp,
4334 gdb.base/async.exp, gdb.base/attach.exp,
4335 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4336 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4337 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4338 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4339 gdb.base/commands.exp, gdb.base/completion.exp,
4340 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4341 gdb.base/constvars.exp, gdb.base/corefile.exp,
4342 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4343 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4344 gdb.base/ending-run.exp, gdb.base/environ.exp,
4345 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4346 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4347 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4348 gdb.base/funcargs.exp, gdb.base/help.exp,
4349 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4350 gdb.base/logical.exp, gdb.base/long_long.exp,
4351 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4352 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4353 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4354 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4355 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4356 gdb.base/regs.exp, gdb.base/relational.exp,
4357 gdb.base/remote.exp, gdb.base/reread.exp,
4358 gdb.base/restore.exp, gdb.base/return2.exp,
4359 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4360 gdb.base/selftest.exp, gdb.base/setshow.exp,
4361 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4362 gdb.base/sigall.exp, gdb.base/signals.exp,
4363 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4364 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4365 gdb.base/step-test.exp, gdb.base/structs.c,
4366 gdb.base/structs.exp, gdb.base/structs2.exp,
4367 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4368 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4369 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4370 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4371 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4372 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4373 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4374 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4375 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4376 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4377 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4378 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4379 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4380 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4381 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4382 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4383 gdb.trace/circ.exp, gdb.trace/collection.exp,
4384 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4385 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4386 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4387 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4388 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4389 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4390 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4391 notices.
4392
dc96c6c7 43932001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
4394
4395 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4396 first arg is int not float.
4397
dc96c6c7 43982001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
4399
4400 * gdb.base/reread.exp: Unsupported for non-native targets;
4401 doesn't work for remote debugging.
4402
9b0c4aeb
FN
44032001-02-19 Fernando Nasser <fnasser@redhat.com>
4404
4405 From Drew Moseley <dmoseley@redhat.com>
4406 * gdb.base/ending-run.exp: Properly handle the BSP state when
4407 stepping past the end of main.
4408
02aa71d5
MC
44092001-02-19 John Moore <jmoore@redhat.com>
4410
4411 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4412 Converted HPUX fix for non-expected items following multiple
4413 step commands into general solution for all platforms.
4414
1fa449a4
MC
44152001-02-18 Michael Chastain <chastain@redhat.com>
4416
4417 * gdb.c++/classes.exp (do_tests): Change runto statements
4418 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4419 statements demangler agnostic.
4420 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4421 (gdb_virtfunc_restart): Likewise.
4422
b2f9ec70
MC
44232001-02-14 Michael Chastain <chastain@redhat.com>
4424
4425 * gdb.c++/inherit.exp (do_tests): Change runto statements
4426 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4427 statements demangler agnostic.
4428
cf74b8ca
AC
4429Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4430
4431 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4432 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4433 before calling common_routine 15 times'' tests.
4434
99f78f56
MC
44352001-02-11 Michael Chastain <chastain@redhat.com>
4436
4437 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4438 Helps the test script figure out which demangler is in use.
4439 (dm_type_foo_ref): Ditto.
4440 (dm_type_int_star): Ditto.
4441 (dm_type_long_star): Ditto.
4442 (dm_type_unsigned_int): Ditto.
4443 (dm_type_void): Ditto.
4444 (dm_type_void_star): Ditto.
99707966 4445 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4446 Probe the gdb demangler and set variables to accommodate
4447 formatting differences.
4448 (info_func_regexp): New function. Same as info_func, but
4449 matches against a regexp.
4450 (info_func): Match against a literal string.
4451 (print_addr_2): New function. Match against a literal string,
4452 which can be different from the input to gdb.
4453 (print_addr): Simply call print_addr_2 with the same argument twice.
4454 (test_lookup_operator_functions): Use demangler formatting variables.
4455 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4456 the tests in the same order as the C++ class declaration.
4457 (test_paddr_operator_functions): Ditto.
4458 (test_paddr_overloaded_functions): Ditto.
4459 (test_paddr_hairy_functions): Use demangler formatting variables.
4460 Add reference to gdb/19 for related tests.
4461 (do_tests): Call probe_demangler.
4462
1de8f023
KB
44632001-01-30 Kevin Buettner <kevinb@redhat.com>
4464
4465 * gdb.c++/templates.cc (printf): Remove unused function definition.
4466
ca3f91ed
MS
44672001-01-26 Felix Lee <flee@redhat.com>
4468
4469 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4470
44712001-01-25 matthew green <mrg@redhat.com>
4472
4473 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4474 up sid.
4475 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4476
44772001-01-25 matthew green <mrg@redhat.com>
4478
4479 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 4480 Deprecate $sid_spawn_id.
ca3f91ed
MS
4481 (sid_exit): Remove code necessary only for `spawn.'
4482
44832001-01-25 matthew green <mrg@redhat.com>
4484
4485 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4486
fb18ec4a
MC
44872001-01-28 Michael Chastain <chastain@redhat.com>
4488
4489 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4490 to call when tests fail. It takes gdb out of the overloaded
4491 function choice menu back to the main prompt, so that the test
4492 program stays synchronized.
4493 (set_bp_overloaded): New proc to collect all the common
4494 code for setting a breakpoint on an overloaded name. Calls
4495 take_gdb_out_of_choice_menu when needed.
4496 (menu_overload1arg): New variable to collect the repeated
4497 instances of the expected menu for an overloaded name. Change
4498 the regular expression to handle changes in g++ type encoding:
4499 "void" can be either "void" or "", and "unsigned int" can be
4500 either "unsigned int" or "unsigned".
4501 (continue_to_bp_overloaded): Change regular expressions to handle
4502 changes in g++ type encoding.
4503 (no proc): Call take_gdb_out_of_choice_menu when needed.
4504 Remove redundant calls to "info break". Accept either "canceled"
4505 or "cancelled". Change regular expressions in "info break"
4506 calls to handle changes in g++ type encoding. Give all tests
4507 unique strings.
4508
9c646a6e
BE
45092001-01-17 Ben Elliston <bje@redhat.com>
4510
4511 * config/sid.exp: New file.
4512
9549d9c1
AC
4513Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4514
4515 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4516
dc96c6c7 45172000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4518
4519 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4520 Add a RE to accept a non-ascii char if one is ever presented.
4521
b4df4f68
FN
45222000-12-20 Fernando Nasser <fnasser@redhat.com>
4523
297dd0fd 4524 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4525
dc96c6c7 45262000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 4527
d63a86f8 4528 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
4529 in regexp. One '\' does not suffice on Linux.
4530
4a7bddb6
MC
45312000-12-09 Michael Chastain <chastain@redhat.com>
4532
4533 * gdb.base/break.exp (test_clear_command): Use a marker function
4534 rather than 'main' for the test function. Also move this
4535 test to an execution point where the marker function names are
4536 guaranteed to be bound to functions. (Executing tests after a
4537 'finish' from main runs into name conflicts with local names
4538 in __libc_start_main).
4539
dc96c6c7 45402000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4541
4542 * gdb.base/finish.exp: New test for gdb's "finish" command.
4543 * gdb.base/return2.exp: New test for gdb's "return" command.
4544 * gdb.base/return2.c: New source file for above.
4545
dc96c6c7 45462000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4547
4548 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4549 * gdb.base/miscexprs.exp: Ditto.
4550 * gdb.base/pointers.exp: Ditto.
4551 * gdb.c++/derivation.exp: Ditto.
4552 * gdb.c++/local.exp: Ditto.
4553 * gdb.c++/namespace.exp: Ditto.
4554 * gdb.c++/overload.exp: Ditto.
4555 * gdb.c++/ref-types.exp: Ditto.
4556
dc96c6c7 45572000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4558
4559 * gdb.base/constvars.exp: Test result of "up" command.
4560 * gdb.base/miscexprs.exp: Ditto.
4561 * gdb.base/pointers.exp: Ditto.
4562 * gdb.base/scope.exp: Ditto.
4563 * gdb.c++/derivation.exp: Ditto.
4564 * gdb.c++/local.exp: Ditto.
4565 * gdb.c++/namespace.exp: Ditto.
4566 * gdb.c++/overload.exp: Ditto.
4567 * gdb.c++/ref-types.exp: Ditto.
4568
44097287
FN
45692000-11-22 Michael Chastain <chastain@redhat.com>
4570
4571 * mips_pro.exp: Accept either "middle -> top -> main" or
4572 "middle -> main" in the backtrace, because gcc can optimize
4573 tail calls to jumps. Remove setup_xfail for the hppa case.
4574 Add a comment with the original warning messages from PR 3016,
4575 which was filed in 1993, to preserve them for posterity.
4576
9d2e1bab
ND
45772000-11-17 Nick Duffek <nsd@redhat.com>
4578
4579 * lib/gdb.exp (gdb_test): Override timeout with board info.
4580
1aca8eb7
ND
45812000-11-17 Nick Duffek <nsd@redhat.com>
4582
4583 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4584 the second kill and detach messages.
4585
93076499
ND
45862000-11-17 Nick Duffek <nsd@redhat.com>
4587
4588 * configure.in: Add AC_EXEEXT.
4589 * configure: Regenerate.
4590 * Makefile.in (just-check): Export EXEEXT.
4591 * lib/gdb.exp ($EXEEXT): Import from environment.
4592 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4593 expect "maint dump-me" on Cygwin.
4594 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4595 $EXEEXT.
4596
30e87cd3
ND
45972000-11-17 Nick Duffek <nsd@redhat.com>
4598
4599 * gdb.base/break.exp: Test backtrace and finish from called
4600 function on all platforms, not just HP-UX.
4601
dc96c6c7 46022000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4603
4604 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4605 code from gdb_target_monitor, so it can be used independantly
4606 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 4607
dc96c6c7 46082000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4609
4610 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4611 * gdb.base/corefile.exp: Expect the message "Program is being
4612 debugged already" when we send the "corefile" command, since
4613 the preceeding gdb_load may have connected gdb to a remote target.
4614 * gdb.base/display.exp: Disable hardware watchpoints if new
4615 board info variable "no_hardware_watchpoints" is true.
4616 Replace single-letter commands with more readable ones.
4617 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4618 if new board info variable "no_hardware_watchpoints" is true.
4619 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4620 to see if stdio (printf) testing is possible.
4621 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4622 board info variable "no_hardware_watchpoints" is true. Use new
4623 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4624
39124dea
FN
46252000-11-13 Fernando Nasser <fnasser@redhat.com>
4626
4627 From Orjan Friberg <orjanf@axis.com>:
4628 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4629 in array print pattern match.
4630
a9e2e984
FN
46312000-11-09 Fernando Nasser <fnasser@redhat.com>
4632
4633 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4634 spelling "cancelled" to U.S. spelling "canceled" to match changes
4635 made to gdb.
4636 * gdb.c++/ovldbreak.exp: Ditto.
4637
c7db355b
PS
46382000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4639
4640 * gdb.base/callfuncs.c (main): Moved to end of file, call
4641 t_double_values to initialize the FPU before inferior calls are made.
4642 * gdb.base/callfuncs.exp: Test for register preservation after calling
4643 inferior functions. Add tests for continuining, finishing and
4644 returning from a stop in a call dummy.
4645
dc96c6c7 46462000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4647
4648 * gdb.base/commands.exp: Break up long lines, and re-indent.
4649
dc96c6c7 46502000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4651
4652 * config/gdbserver.exp: Rewritten from the ground up, to make it
4653 compatible with the current dejagnu tree, and to make it work with
4654 the new "gdbserver" in libremote.
4655
dc96c6c7 46562000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4657
4658 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4659 * gdb.base/varargs.exp: Skip entire test if no printf support.
4660 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4661 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4662
dc96c6c7 46632000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4664
4665 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4666 no floating point support.
4667 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4668 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4669 * gdb.base/call-rt-st.exp: Ditto.
4670 * gdb.base/call-strs.exp: Ditto.
4671
bac5fc66
JG
46722000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4673
4674 * gdb.base/sizeof.c: include <stdio.h>.
4675
4676 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4677 'finish', otherwise uncaptured gdb_prompt would potentially
4678 throw remaining test points out of sync.
4679
b22a6027
SB
46802000-07-26 Scott Bambrough <scottb@netwinder.org>
4681
4682 * gdb.base/recurse.exp: Run tests for all targets.
4683 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4684 gnu-oldld case on ARM.
4685 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4686 for ARM targets.
d63a86f8 4687
d8231941
AG
4688Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4689
4690 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4691 * gdb.java/configure: Rebuild.
4692
8caabe69
AG
4693Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4694
4695 * gdb.java/jv-exp.exp: New file.
4696
9d273ca3
AG
4697Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4698
4699 * configure: Rebuilt.
4700 * configure.in (configdirs): Add gdb.java.
4701 * gdb.java/jmisc.java: New file.
4702 * gdb.java/jmisc.exp: New file.
4703 * gdb.java/Makefile.in: New file.
4704 * gdb.java/configure: Rebuilt.
4705 * gdb.java/configure.in: New file.
4706 * lib/java.exp: New file.
4707
4f823a66
AC
4708Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4709
4710 * gdb.base/exprs.exp: Test casts to a pointer including over and
4711 underflow.
4712
2391e11d
AC
4713Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4714
4715 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4716 and the compilers sizes.
4717
54602222
ND
47182000-07-09 Nick Duffek <nsd@redhat.com>
4719
4720 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4721 (use_methods): New function.
4722 (main): Call use_methods().
4723 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4724 (do_tests): Call test_method_param_class.
4725
2bec0572
ND
47262000-07-09 Nick Duffek <nsd@redhat.com>
4727
4728 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4729 spelling.
4730 (test_enums): New procedure. Move enum tests from end of script
4731 to here. Set breakpoint on function name instead of line number.
4732 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4733 (enums2): New marker function.
4734 (enums1): New function.
4735 (main): Call enums1(). Move enum tests to enums1().
4736
78492fde
AC
4737Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4738
4739 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4740 compile/link program. Update line numbers.
4741 * gdb.asm/d10v.inc: Define ``startup''.
4742 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 4743
49a2cef8
AC
4744Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4745
4746 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4747
3e6c8688
EZ
47482000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4749
4750 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4751 of 'help maint print' command.
4752
9ff5cbe9
AC
4753Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4754
4755 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4756 they use gdb_expect_list.
4757
17c579bd
AC
4758Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4759
4760 * gdb.base/commands.exp: Use ``set remote
4761 memory-read-packet-size'' instead of ``set endian big'' to test
4762 long commands.
4763
e6d71bf3
DB
47642000-06-03 Daniel Berlin <dan@cgsoftware.com>
4765
4766 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 4767 g++, and stop skipping them.
e6d71bf3
DB
4768
4769 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4770 work under g++.
4771
d63a86f8 4772 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
4773 initialization.
4774
dc96c6c7 47752000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4776
4777 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4778 the regular expression: accept an (almost) arbitrary sequence of
4779 "frames-invalid" and "breakpoints-invalid" messages both before
4780 and after the "starting" message.
4781
dc96c6c7 47822000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4783
4784 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4785
dc96c6c7 47862000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4787
4788 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4789 Relax the regular expression a little, make it pass on Solaris 8.
4790
8216cda9
KB
47912000-05-12 Kevin Buettner <kevinb@redhat.com>
4792
4793 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 4794 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
4795 Instead, it is permissible for gdb to stop on the line of the
4796 call itself.
4797
1a570b2f
MS
47982000-05-12 Michael Snyder <msnyder@.cygnus.com>
4799
4800 * gdb.base/break.exp (bp on small function, optimized file):
4801 Add a second pass pattern. The behavior differs here between stabs
4802 and dwarf for one-line functions. Stabs preserves two line symbols
4803 (one before the prologue and one after) with the same line number,
4804 but dwarf regards these as duplicates and discards one of them.
4805 Therefore the address after the prologue (where the breakpoint is)
4806 has no exactly matching line symbol, and GDB reports the breakpoint
4807 as if it were in the middle of a line rather than at the beginning.
4808
dc96c6c7 48092000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 4810
d63a86f8 4811 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
4812 rather than "send_gdb" (for consistancy).
4813
7d418785
AC
4814Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4815
4816 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4817 * gdb.c++/templates.cc: Properly check for GCC version number.
4818 * lib/compiler.cc: Likewise
4819
dc96c6c7 48202000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 4821
d63a86f8 4822 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
4823 gdb may not stop at the first line of main, due to code motion.
4824
dc96c6c7 48252000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4826
4827 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4828 This test depends on parsing the printf output from the target.
4829 Since the sparclet stub doesn't do stdio, this will never work.
4830 * gdb.base/call-rt-st.exp: ditto.
4831 * gdb.base/call-strs: ditto.
4832
dc96c6c7 48332000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4834
4835 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4836
4837 * gdb.base/ending-run.exp: After connecting to a remote target,
4838 but before running, the target will appear to be in a random
4839 location. Specify both a file and a line for breakpoints.
4840 Also, the function that calls main may be called 'init'
4841 rather than 'start'.
4842
a5a51225
EZ
48432000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4844
4845 * gdb.base/help.exp: Update output for add-symbol-file command.
4846
7930cc7c
FN
48472000-04-10 Fernando Nasser <fnasser@cygnus.com>
4848
4849 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4850 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4851
23e37ab1
C
48522000-04-07 J.T. Conklin <jtc@redback.com>
4853
e93c542c
C
4854 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4855
23e37ab1
C
4856 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4857
591b8fa3
PDM
4858Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4859
4860 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4861 values that can be represented exactly.
4862 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4863 above change, and to not check against the directory part of the source
4864 file name.
4865 (step into print_long_arg_list): Likewise.
4866 (print print_small_structs from print_long_arg_list): Likewise.
4867 (print print_long_arg_list): Likewise.
4868
7a495180
EZ
48692000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4870
30b53638 4871 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4872
beb998c6
AC
4873Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4874
4875 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4876
1c689132
DB
48772000-03-25 Daniel Berlin <dan@cgsoftware.com>
4878
4879 * gdb.base/commands.exp (deprecated_command_test): Add test for
4880 deprecate with no arguments.
4881
c1790a9d
JL
48822000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4883
4884 * gdb.base/break.exp: Add new test for setting breakpoints on
4885 optimized code so we can test breakpoints work even when function
4886 prologues may be optimized away
4887
003ba290
FN
48882000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4889
4890 From David Whedon <dwhedon@gordian.com>
4891 * gdb.base/commands.exp : Added command deprecator tests.
4892
6837a0a2
DB
48932000-03-22 Daniel Berlin <dan@cgsoftware.com>
4894
4895 * gdb.base/help.exp: Added test for new apropos command.
4896
b9593231
KB
48972000-03-21 Kevin Buettner <kevinb@redhat.com>
4898
4899 * gdb.base/pointers.c (usevar): New function.
4900 (main): Make sure that global variables v_int_pointer2, rptr,
4901 and y are all referenced someplace in the program by calling
4902 usevar() on them. [Some linkers delete symbols which are
4903 never referenced. The space remains, but there's no way to
4904 get a (symbolic) handle on the variable from the debugger.]
4905
751a959b
EZ
49062000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4907
4908 * gdb.base/printcmds.c: Add typedeffed arrays.
4909
4910 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4911 procedure to test arrays that are typedef'd.
4912
73a93a32
JI
49132000-03-13 James Ingham <jingham@leda.cygnus.com>
4914
4915 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 4916 the library directories.
73a93a32 4917
fb40c209
AC
4918Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4919
4920 * configure.in (configdirs): Add sub directory gdb.mi.
4921 * configure: Re-generate.
4922
4923 * gdb.mi: New directory.
d63a86f8 4924
ee4dd2c9
AC
49252000-02-25 Scott Bambrough <scottb@netwinder.org>
4926
4927 * gdb.base/long_long.exp: Correct test suite failure when printing
4928 a long long value as a double on ARM platforms.
4929
70f0cc22
JB
49302000-02-16 Jim Blandy <jimb@redhat.com>
4931
4932 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4933 default source file is set properly before running this test.
4934
853819b8
EZ
49352000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4936
4937 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4938 gdbtk/library directory, not in gdbtcl2.
4939
dfcd3bfb
JM
49402000-02-04 Jim Blandy <jimb@redhat.com>
4941
4942 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4943 backslash from regexp pattern.
4944
4945 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4946 procedure. Use it to run all the "continue to bp overloaded"
4947 tests. Note that this changes the names of the tests slightly.
4948 If the breakpoint hit message includes a hex PC value, because
4949 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4950 from the real source code, still consider that a pass.
4951
4952 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4953 XFAIL here if the breakpoint message contains a hex address. Note
4954 similar change on 1999-11-02.
4955
4956 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4957
4958 * gdb.base/ptype.exp: Establish a default source file before
4959 calling get_debug_format.
4960
49612000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4962
4963 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4964
8b93c638
JM
49652000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4966
4967 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4968 of successive stepi commands -- while in the prologue we should see
4969 the function entry bracket.
4970
49712000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4972
4973 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4974 reach __change_mode() when stepping through the end of main().
4975
c5394b80
JM
49762000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4977
4978 * gdb.base/default.exp: Fix expected pattern.
4979 * gdb.base/help.exp: Same.
4980
0d06e24b
JM
49812000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4982
4983 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4984 Don't use xfail's because that affects only the following test.
d63a86f8 4985
0d06e24b
JM
4986 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4987 solaris or linux.
4988
4989 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4990
dc96c6c7 49912000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4992
d63a86f8 4993 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4994 "A syntax error" rather than "A parse error". Accept both.
4995
49962000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4997
4998 * gdb.base/default.exp: Remove OS dependent string from "target
4999 remote" test.
5000 * gdb.base/help.exp: Same for "help target remote" test.
5001
c3f6f71d
JM
50022000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5003
5004 From Jim Kingdon <kingdon@redhat.com>:
5005
5006 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
5007 prompt (cleanup rather than necessity, but still might keep output
5008 from spilling to next test).
5009
50102000-01-02 Fred Fish <fnf@cygnus.com>
5011
5012 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
5013 AIX, which defines them in <sys/types.h>.
5014
ed9a39eb 50151999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 5016
ed9a39eb
JM
5017 * gdb.base/default.exp: Match arm* etc instead of arm in "info
5018 float" test.
5019
50201999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 5021
ed9a39eb 5022 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
5023
5024 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
5025 outermost frame disallowed".
5026
50271999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
5028
5029 * gdb.base/setvar.exp: New tests for setting the value of a struct
5030 with a constant list.
5031
50321999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5033
5034 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
5035 require the user to type a cast before setting the value of a struct.
5036
de57eccd
JM
50371999-12-06 Jim Blandy <jimb@cygnus.com>
5038
5039 * gdb.base/default.exp: Expect the new 'info float' command on
5040 all i386 platforms.
5041
5042 * gdb.threads/linux-dp.exp: Expand our ability to recognize
5043 LinuxThreads libraries that don't support debugging.
5044
c2d11a7d
JM
5045Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5046
5047 * gdb.base/remote.c: Fill the buffer with truely random data.
5048 Change the buffer type to ``unsigned char'' to simplify size
5049 arithmetic.
5050
5051 * gdb.base/remote.exp: Reduce download numbers by one. Typical
5052 stub only handles 400-1 byte packets. Verify that the download
5053 worked.
5054
50551999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
5056
5057 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
5058 tests, using UNRESOLVED for the untested cases. Also, does not wait
5059 for a timeout if the prompt was received before a recognizable pattern.
5060
50611999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
5062
5063 * lib/gdb.exp (gdb_expect_list): Fix spelling.
5064
50651999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5066
5067 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
5068 watchpoints.
5069
50701999-11-24 Jason Merrill <jason@casey.cygnus.com>
5071
5072 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
5073
5074 * gdb.c++/local.exp: Be more flexible in recognizing local class
5075 name mangling. Don't allow horribly truncated method names.
5076 * gdb.c++/derivation.exp: Expect protected inheritance.
5077 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
5078 * gdb.c++/virtfunc.exp: Likewise.
5079 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
5080 when printing a nested enum.
5081
50821999-11-22 Jim Blandy <jimb@cygnus.com>
5083
5084 * gdb.base/step-test.exp: Properly await GDB's response to setting
5085 a breakpoint on the call to large_struct_by_value.
5086
5087 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
5088 just because we have debug info for the `start' function.
5089
50901999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
5091
5092 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
5093 "Unknown signal" messages, which indicate (on LinuxThreads) that
5094 GDB doesn't know how to debug threads on this system. This is
5095 better than hanging while philosopher 0 dumps chatter into gdb.log.
5096
50971999-11-18 Tom Tromey <tromey@cygnus.com>
5098
5099 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
5100
51011999-11-18 Fred Fish <fnf@cygnus.com>
5102
5103 * gdb.base/coremaker2.c: Add sample program for generating
5104 cores that is more self contained than coremaker.c. Eventually
5105 I'll add more code to this and tie it into the testsuite.
5106
4ce44c66
JM
51071999-11-12 Stan Shebs <shebs@andros.cygnus.com>
5108
5109 * gdb.base/dollar.exp: Remove, now in gdb.hp.
5110
51111999-11-10 Jimmy Guo <guo@cup.hp.com>
5112
5113 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
5114 from $srcdir/lib/.
5115 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
5116 and gdb.c++/.
5117
5118 * gdb.c++/derivation.exp: remove redundant get compiler info code.
5119
d63a86f8 5120 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
5121 'continue with watch' test point.
5122
51231999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
5124
5125 Merged from p2linux-990323-branch:
d63a86f8 5126
4ce44c66
JM
5127 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
5128
11cf8741
JM
5129Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
5130
5131 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
5132 {limit,fixed}''. Test ``set download-write-size''.
5133
5134Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
5135
5136 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
5137 gdb_expect_list.
5138
5139Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
5140
5141 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
5142
51431999-11-03 Mark Salter <msalter@cygnus.com>
5144
5145 * gdb.base/break.exp: Fix "stub continue" pattern.
5146
51471999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
5148
5149 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
5150
51511999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
5152
5153 * gdb.base/display.exp ("finish"): Add timeout clause.
5154
5155 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
5156 plain prompt clause, so this doesn't have to time out in order to
5157 fail.
5158
5159 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
5160 breakpoint hit messages include an address.
5161
5162 * gdb.base/display.exp: Don't forget to escape parens in regular
5163 expressions. Unix regexp notatation sucks.
5164
51651999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5166
5167 * gdb.base/annota1.exp: Test for annotate-signalled: change output
5168 order for 'signalled' message.
5169
5c44784c
JM
51701999-11-01 Stan Shebs <shebs@andros.cygnus.com>
5171
5172 From Jimmy Guo <guo@cup.hp.com>:
5173 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
5174 * gdb.base/annota1.c: Add code for tests to work with.
5175
51761999-10-26 Frank Ch. Eigler <fche@cygnus.com>
5177
5178 * gdb.base/remote.exp: New test for remote downloading settings.
5179 * gdb.base/remote.c: New file with large .data.
5180
917317f4
JM
51811999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
5182
5183 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
5184 for LinuxThreads support, merged from the Code Fusion branch.
5185
5186Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
5187
5188 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
5189 containing exp_continue into a while within an expect. Don't
5190 attempt a start more than three times. Check return value from
5191 gdb_load.
d63a86f8 5192
2df3850c
JM
5193Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
5194
5195 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
5196 a pass case.
5197
2acceee2
JM
51981999-10-01 Kevin Buettner <kevinb@cygnus.com>
5199
5200 * gdb.base/break.c (main): Added a statement that we can step
5201 off of.
5202 * gdb.base/break.exp: Added tests for setting a breakpoint
5203 at an offset and stepping onto a breakpoint.
5204
52051999-10-01 Fred Fish <fnf@cygnus.com>
5206
d63a86f8 5207 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
5208 gdb output.
5209
c2c6d25f
JM
52101999-09-18 Jim Blandy <jimb@cris.red-bean.com>
5211
5212 * gdb.base/break.exp: Code locations are in hex, don't forget!
5213 (For HP-UX.)
5214
52151999-09-17 Stan Shebs <shebs@andros.cygnus.com>
5216
5217 * condbreak.exp: Use break.c as test program.
5218 * condbreak.c: Remove, redundant with break.c.
5219
52201999-09-15 Stan Shebs <shebs@andros.cygnus.com>
5221
5222 * config/monitor.exp (gdb_target_monitor): Disable X- and
5223 Z-packets if the target needs it.
5224
52251999-09-13 James Ingham <jingham@leda.cygnus.com>
5226
5227 * gdb.c++/overload.exp: Added tests for listing overloaded
5228 functions with function pointers in the arg, explicitly calling
5229 out the version you want.
5230
cff3e48b
JM
52311999-09-09 Stan Shebs <shebs@andros.cygnus.com>
5232
5233 * long_long.exp: Add variations of test cases that work for
5234 targets with 16-bit ints and 32-bit doubles.
5235
d4f3574e
SS
52361999-09-08 Stan Shebs <shebs@andros.cygnus.com>
5237
5238 * break.c (main): Compare a possibly-uninitialized argc with an
5239 unlikely value that fits in 16 bits.
5240
52411999-09-07 Stan Shebs <shebs@andros.cygnus.com>
5242
5243 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
5244 0xfeeb, don't want negative numbers if ints are 16 bits.
5245
5246 * lib/gdb.exp (skip_cplus_tests): New proc.
5247 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5248 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
5249 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
5250 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
5251 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
5252 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
5253 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
5254 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
5255
5256 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
5257
5258Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
5259
5260 * gdb.base/corefile.exp (up): Allow a parameter to appear
5261 in the frame that we're going up to.
5262
5263 From Jim Blandy <jimb@cygnus.com>:
5264
5265 * gdb.base/default.exp (info float): Expect some output now.
5266
5267 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
5268 returning floating-point values to fail on the x86.
5269 * gdb.base/callfwmall.exp (do_function_calls): Same.
5270
5271 * gdb.base/list.exp (test_listsize): Correct expectations for
5272 listing line 1 with listsize 2. Also, listing a single line
5273 works now, as does listing three lines. [Kevin's note: There
5274 were a number of other cases fixed too where the expectations
5275 differed...]
5276
52771999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5278
5279 * gdb.base/selftest.exp: Add case for when version prints as
5280 constant string instead of char pointer.
5281
104c1213
JM
52821999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5283
5284 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5285 stepping out of main.
5286
5287 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5288 G++ used.
5289
5290 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5291 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5292
5293 * gdb.c++/ovldbreak.exp: Update match string in test that
5294 includes a warning of multiple breakpoints.
5295
52961999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5297
5298 * gdb.base/display.exp: Improve precision of step-after-finish
5299 added yesterday.
5300
5301 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5302 test.
5303
5304 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5305 configs when using G++, not just hppa*.
5306
53071999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5308
5309 * gdb.base/async.c: New file.
5310 * gdb.base/async.exp: New file.
5311
5312Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5313
5314 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5315 PA64.
5316
53a5351d
JM
5317Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5318
104c1213
JM
5319 * gdb.base/display.exp: "finish" can leave us mid-line on many
5320 targets, deal with it. Add a small constant to main, instead of
5321 1000 since main+1000 may not be a valid address in the target.
5322
53a5351d
JM
5323 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5324 on hpux11.
5325
5326 * gdb.base/attach.exp: Handle another hpux11 error message variant
5327 when attaching to a process that does not exist.
5328
53291999-08-19 J.T. Conklin <jtc@redback.com>
5330
5331 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5332 characters in 'continue to 1241' test.
5333
53341999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5335
5336 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5337 stop in print_long_arg_list, define and use a whitespace
5338 variable in print_small_structs test, add an XFAIL for Solaris.
5339 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5340 interested enough to fix.
5341
7be570e7
JM
53421999-08-13 Keith Seitz <keiths@cygnus.com>
5343
5344 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5345 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5346 proc knows about targets other than the natives.
5347 (test_assign): Use "gdb_run_cmd" to "run" the target.
5348 Check that we've actually hit the breakpoint at main.
5349 When we attempt to assign a value to a local variable, check
5350 that the variable is in the current scope, i.e., don't use
5351 a test with an empty result.
5352
5353Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5354
5355 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5356 command.
5357
53581999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5359
5360 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5361 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5362 gdb.compat, gdb.threads-hp.
5363 gdb.hp/configure, gdb.hp/configure.in: New files.
5364 gdb.hp/Makefile.in: Recurse into new subdirs.
5365 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5366 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5367 in object files.
5368 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5369
96baa820
JM
53701999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5371
5372 * gdb.base/display.exp: Help expect by putting a newline in the
5373 funky printf, remove a bogus p/a test.
5374
53751999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5376
5377 * gdb.base/display.exp: Make sure that when we say 'run', we are
5378 connected to the target. This is necessary when running not
5379 natively.
5380
53811999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5382
5383 * gdb.base/step-test.exp: Removed some extraneous messages.
5384
5385 * gdb.base/long_long.exp: Don't run memory examination tests
5386 on little-endian targets (they will need a different set of
5387 results to match).
5388
53891999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5390
5391 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5392 until somebody decides to fix GDB.
5393
5394 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5395 constant as "ULL".
5396 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5397 matches for a couple x/2 commands.
5398
a0b3c4fd
JM
53991999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5400
5401 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5402 by merging in ref-types2 tests.
5403 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5404
5405 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5406 * gdb.c++/Makefile.in: Add standard actions.
5407 (EXECUTABLES): Rename from PROGS, update list.
5408 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5409 from gdb.hp.
5410 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5411 foo and bar locals.
5412 * gdb.c++/anon-union.exp: Fix tests to match.
5413 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5414 expect matches to handle output variations.
5415 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5416 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5417 output, add HP alternatives for new and delete prints.
5418 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5419 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5420 * gdb.c++/demangle.exp: Use $style when reporting failure.
5421 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5422 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5423 match alternatives.
5424 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5425 compilers.
5426 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5427 * gdb.c++/method.exp: Add match alternatives.
5428 * gdb.c++/misc.cc: Add bool types.
5429 * gdb.c++/misc.exp: Add tests for bool types.
5430 * gdb.c++/overload.exp: Add xfails.
5431 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5432 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5433 add some more template parameter tests (only for HP currently).
5434 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5435 * gdb.c++/virtfunc.cc: Add return type and value for main.
5436 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5437 match alternatives.
d63a86f8 5438
a0b3c4fd
JM
54391999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5440
5441 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5442
54431999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5444
5445 * gdb.base/signals.exp: Don't expect getting a backtrace from
5446 within a signal handler to fail on Linux.
5447
54481999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5449
5450 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5451 * lib/gdb.exp: Remove some gratuitious semicolons.
5452 (delete_breakpoints): Increase timeout.
5453 (gdb_expect): Add -notransfer option.
5454 (gdb_test): Use -notransfer option.
5455 (get_compiler_info): Add f77 case.
5456 (get_compiler): New proc, split out from gdb_preprocess, add f77
5457 case.
5458 (gdb_preprocess): Call get_compiler.
5459
5460 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5461 * gdb.base/attach.exp, gdb.base/display.exp,
5462 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5463 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5464 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5465 third arg to gdb_test.
5466 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5467 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5468 HP-UX xfails, add others.
5469 * gdb.base/completion.exp: Reflect name change of self-test.
5470 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5471 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5472 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5473 HP failure number.
5474 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5475 useless HP-UX 10.30 references.
5476 * gdb.base/maint.exp: Loosen matches.
5477 * gdb.base/pointers.c (main): Declare more_code.
5478 * gdb.base/pointers.exp: Match on output of a `next'.
5479 * gdb.base/structs.c: Add prototypes.
5480 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5481 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5482
54831999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5484
5485 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5486 command.
5487
54881999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5489
5490 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5491 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
5492
5493 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5494 debug info. Deal with lack of signal hanlder info in stack.
5495
5496 From Jim Kingdon <kingdon@redhat.com>:
5497 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5498
5a2468f5
JM
54991999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5500
5501 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5502 gdb.base/foll-vfork.exp: Don't run for crosses.
5503
adf40b2e
JM
5504Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5505
5506 * gdb.base/configure.in: Check for gdbvars.exp instead of
5507 a1-selftest.exp.
5508 * gdb.base/configure: Re-generate.
5509
55101999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5511
5512 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5513 in trying to run first and name is too long.
5514
5515 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5516 pointers2.c and pointers2.exp, respectively.
5517 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5518 doschk happier.
5519
43e526b9
JM
55201999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5521
5522 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5523 callfuncs2.c and callfuncs2.exp.
5524
5525 * gdb.base/list.exp: Remove mistaken xfails.
5526 * gdb.base/list0.h: Add optional prototypes.
5527
9846de1b
JM
5528Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5529
5530 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5531 calling malloc.
5532 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5533 * ptype.exp: Move test for get_debug_format to before its first
5534 use.
5535
55361999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5537
5538 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5539 * gdb.base/annota2.cc, annota2.exp: Move from here.
5540 * gdb.c++/annota2.cc, annota2.exp: To here.
5541 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5542
43ff13b4
JM
5543Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5544
5545 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5546 a consistent format.
5547
085dd6e6
JM
55481999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5549
5550 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5551 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5552 HP compilers, also set the globals $true and $false.
5553
5554 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5555 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5556 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5557 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5558 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5559 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5560 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5561 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5562 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5563 whatis.c} Add C++ compatible function definitions and return
5564 types, add includes for library functions.
5565 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5566 * gdb.base/step-test.c (myglob): Rename from glob.
5567 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5568 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5569 files, move here from gdb.hp.
5570 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5571 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5572 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5573 Adjust line numbers in regexps.
5574
5575 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5576 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5577 instead of 0/1.
5578
5579 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5580 foll-vfork.exp: New files, move here from gdb.hp.
5581 * gdb.base/page.exp: New file, test of pagination command.
5582
5583 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5584 recursion test.
5585 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5586
5587 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5588 gdb.base/solib.exp: Fix compiler invocation process.
5589
5590 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5591 HP-UX 11, turn off overload resolution explicitly.
5592 * gdb.base/commands.exp: Set argument list explicitly, add
5593 watchpoint test.
5594 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5595 them work.
5596 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5597 expressions properly.
5598 * gdb.base/corefile.exp: Loosen the match slightly.
5599 * gdb.base/default.exp: Allow "Error accessing memory" message
5600 also.
5601 * gdb.base/display.exp: Skip over x/0 j if PA64.
5602 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5603 * gdb.base/interrupt.exp: Ditto.
5604 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5605 in use.
5606 * gdb.base/list.exp: Add xfails for HP-UX.
5607 * gdb.base/long_long.exp: Refine some of the numeric matches.
5608 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5609 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5610 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5611 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5612 * gdb.base/ptype.exp: Succeed on more varieties of output.
5613 * gdb.base/scope.exp: Add xfails for HP-UX.
5614 * gdb.base/sect-cmd.exp: Add more cases.
5615 * gdb.base/setvar.exp: Add xfails for HP-UX.
5616 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5617 * gdb.base/signals.exp: Match on void symbolically.
5618 * gdb.base/step-test.exp: Add case for PA64.
5619 * gdb.base/term.exp: Add exit and restart.
5620 * gdb.base/twice.exp: Clean up after self.
5621 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5622 * gdb.base/whatis.exp: Allow more ways to pass tests.
5623
5624 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5625 no longer useful.
5626
5627Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5628
5629 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5630 list of patterns.
5631 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5632 print_double_array(double_array)", "continuing to breakpoint
5633 1018", "print print_double_array(array_d)" and "continuing to
5634 1034" tests.
d63a86f8 5635
085dd6e6
JM
56361999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5637
5638 * Makefile.in: Add empty html and install-html targets.
5639
56401999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5641
5642 * config/mt-*: Remove, these haven't been used since 1996.
5643
56441999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5645
5646 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5647 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5648 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5649
9e0b60a8
JM
56501999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5651
5652 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5653 simpler match case for the ptype of the big class.
5654
56551999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5656
5657 * gdb.exp: Fix test for gdb_prompt existence.
5658
56591999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5660
5661 * gdb.exp (gdb_test): Add fail after calls to perror.
5662
56631999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5664
5665 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5666
56671999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5668
5669 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5670
0f71a2f6
JM
5671Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5672
5673 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5674 malloc() is linked in.
5675
56761999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5677
5678 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5679 step at end.
5680
5681 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5682
56831999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5684
5685 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5686
cce74817
JM
5687Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5688
5689 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5690 * gdb.base/mips_pro.exp: Likewise.
5691
56921999-06-02 Keith Seitz <keiths@cygnus.com>
5693
5694 * gdb.c++/templates.cc: Change all "new" operators to throw
5695 an exception.
5696 * gdb.c++/cplusfuncs.cc: Likewise.
5697
5698 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5699
5700Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5701
5702 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5703 * gdb.base/ending-run.exp: When stepping out of main, accept a
5704 step into an arbitrary assembler file.
5705
392a587b
JM
57061999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5707
d63a86f8 5708 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5709 "breakpoint-invalid" to be printed.
d63a86f8 5710 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5711 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5712 * gdb.base/annota2.cc: Initialize a.x to 0.
5713
9e086581
JM
57141999-05-17 Keith Seitz <keiths@cygnus.com>
5715
5716 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5717 when "skip_float_tests" set.
5718 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5719 "print print_ten_doubles", and "step into print_long_arg_list".
5720 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5721 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5722 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5723 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5724 "skip_float_tests" is set.
5725 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5726 when "skip_float_tests" set.
d63a86f8 5727
cd0fc7c3
SS
57281999-05-06 Keith Seitz <keiths@cygnus.com>
5729
5730 * gdb.base/annota2.cc: Include stdio.h.
5731
5732Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5733
5734 * gdb.base/crossload.exp: Remove, this has been disabled ever
5735 since BFD stopped including all targets, and cross-GDB gets
5736 plenty of testing anyway.
5737 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5738 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5739 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5740 * gdb.base/README: Remove, was doc for this.
5741 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5742 needed.
5743
b83266a0
SS
57441999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5745
5746 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5747 output.
5748
5749 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5750 * gdb.base/annota2.exp: New file. More annotation tests.
5751 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5752 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5753
57541999-04-23 Angela Marie Thomas <angela@cygnus.com>
5755
5756 * config/cfdbug.exp: New file.
5757
7a292a7a
SS
57581999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5759
5760 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5761 Marcus Daniel's and Dale Hawkins's demangler crashes.
5762
5763 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5764 test_lucid_style_demangling, test_arm_style_demangling,
5765 test_hp_style_demangling): Try Tom Tromey's core-dumping
5766 identifier under each demangling style.
5767
57681999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5769
5770 * gdb.c++/demangle.exp: Include the current demangling style
5771 in all test names.
5772 (current_demangling_style): New global variable.
5773 (set_demangling_style, test_demangling_core, test_demangling,
5774 test_demangling_exact): New functions.
5775 (test_gnu_style_demangling, test_lucid_style_demangling,
5776 test_arm_style_demangling, test_hp_style_demangling): Use those,
5777 instead of calling gdb_test and gdb_test_exact directly.
5778 (catch_demangling_errors): New function, which reports errors
5779 signalled by the demangling test functions in an orderly way.
5780 (do_tests): Use catch_demangling_errors.
5781
57821999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5783
5784 * gdb.base/signals.exp (test_handle_all_print): Use () for
5785 grouping in expressions, not {}.
5786
5787 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5788 initialized yet.
5789
57901999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5791
5792 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5793 are listed.
5794
57951999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5796
5797 * gdb.stabs/weird.exp: Test for CC being defined before
5798 looking at its value.
5799
58001999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5801
5802 * gdb.base/call-ar-st.exp: Remove stray '#'.
5803 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5804 "short int" and "long int".
5805 * gdb.c++/overload.cc: Cast the string added in the previous
5806 change, to mollify finicky HP compiler.
5807 * gdb.hp/reg-test.exp (testfile): Fix file name.
5808 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 5809
7a292a7a
SS
5810 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5811 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5812 alternate form of enum ptype.
5813
c906108c
SS
58141999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5815
7a292a7a
SS
5816 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5817 * gdb.hp/*.exp: Change all to run compiler probe only after
5818 passing skip_hp_tests, so as not to waste time on guaranteed
5819 failure.
5820
c906108c
SS
5821 * gdb.c++/overload.cc: Pass string instead of char addr, always
5822 init ccpfoo.
5823 * gdb.c++/templates.cc: Fix syntax error.
5824
7a292a7a
SS
5825Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5826
5827 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 5828 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5829 command.
5830
58311999-03-18 James Ingham <jingham@cygnus.com>
5832
5833 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5834
5835 * gdb.c++/method.exp: It was testing an uninitialized int on the
5836 stack and assuming it was positive.
5837
5838 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5839
5840 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 5841 keep it from killing the rest of the tests.
7a292a7a
SS
5842 Use gdb_continue_to_end.
5843
5844 * gdb.base/sigall.exp: use gdb_continue_to_end.
5845
5846 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5847
5848 * gdb.base/display.exp: use runto_main, not run.
5849
d63a86f8
RM
5850 * gdb.base/default.exp: Check for the current error message in the
5851 r abbreviation test.
7a292a7a
SS
5852 Add strongarm to the targets that know info float.
5853
d63a86f8 5854 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5855 run which doesn't work with monitors.
5856
5857 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5858
5859 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5860
5861 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
5862 program. Traps the case (in Cygmon) when the program never really
5863 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5864 more places, so I used my name. Sorry Mark...
5865
5866 * config/monitor.exp (gdb_target_monitor): added another
5867 target_info parameter: remotebinarydownload. This will set the
5868 remotebinarydownload flag if this is causing some boards trouble.
5869
58701999-03-18 Mark Salter <msalter@cygnus.com>
5871
5872 * lib/gdb.exp (continue_to_exit): New function.
5873
5874 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5875 * gdb.base/ending-run.exp: Ditto.
5876 * gdb.base/step-test.exp: Ditto.
5877
58781999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5879
5880 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5881 (suggested by Art Haas <ahaas@neosoft.com>).
5882
58831999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5884
5885 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5886
5887Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5888
5889 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5890 descriptions of types (short unsigned int vs unsigned short, etc).
5891
58921999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5893
5894 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5895 a call to strlen; sometimes we do have sources.
5896
58971999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5898
5899 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5900 character, so GDB won't print garbage after its end.
d63a86f8 5901
c906108c
SS
5902 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5903 breakpoint there instead. Sometimes GCC emits memcpy to handle
5904 the large structures being passed by value, so we step into that
5905 instead of sum_array_print, which obscures what we're really testing.
5906 * gdb.base/step-test.exp: However, we do want a test that notices
5907 the bizarre steps into memcpy, so do that here. Add check for
5908 stepping into function calls that pass large structures by value.
5909 ("Is that a noun clause, or are you just happy to see me?")
5910 Remove all references to specific line numbers.
5911 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5912 New type and function.
5913 (main): Call large_struct_by_value, passing it a large struct by value.
5914 * lib/gdb.exp (gdb_get_line_number): New function.
5915
5916 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5917 more portable.
5918
7a292a7a
SS
59191999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5920
c906108c
SS
5921 * lib/gdb.exp: Doc fixes.
5922
7a292a7a
SS
59231999-03-05 Nick Clifton <nickc@cygnus.com>
5924
d63a86f8 5925 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5926
59271999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5928
c906108c
SS
5929 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5930 commands. They're not germane to this test, and they don't work
5931 that way on remote targets.
5932
3fc11d3e
JM
59331999-03-01 James Ingham <jingham@cygnus.com>
5934
5935 * Changelog entries merged over from gdb development branch.
5936
3fc11d3e
JM
5937 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5938
5939 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5940 for outputting results of test run.
5941
2d4a1622 5942 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5943
5944 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5945
7a292a7a
SS
59461999-02-25 Felix Lee <flee@cygnus.com>
5947
5948 * lib/gdb.exp (debug_format): initialize
5949
c906108c
SS
59501999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5951
5952 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5953 * gdb.base/call-rt-st.c: Ditto.
5954
c906108c
SS
59551999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5956
5957 * gdb.threads/pthreads.exp (horiz): New variable.
5958 (test_startup): Fix regexps that capture thread numbers.
5959
59601999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5961
5962 * gdb.base/smoke.exp: Disambiguate two test case names (both
5963 called ``print'').
5964
5965Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5966
5967 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5968 compilation.
5969
59701999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5971
5972 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5973 actual output formatting.
5974 * gdb.base/smoke.exp: GDB removes leading 0's.
5975 * gdb.base/volatile.exp: Don't check type of remuneration;
5976 that variable is no longer defined in constvars.c.
5977 * gdb.base/step-test.c (main): Exit with explicit exit code.
5978 * gdb.base/step-test.exp: Remove two nexti checks--they are
5979 not portable.
5980
59811999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5982
5983 * gdb.base/help.exp ("help delete display"): Fix test to match
5984 gdb's output.
5985
5986 * gdb.base/long_long.c (known_types): Initialize values to zero.
5987 * gdb.base/long_long.exp: Step one more line
5988 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 5989 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5990 unique test case names.
5991
5992Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5993
d63a86f8 5994 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5995
5996 * gdb.c++/method.exp: Add missing close brace.
5997
59981999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5999
6000 * gdb.base/maint.exp: Use 'set height 0' to disable page
6001 prompting, not 'set height 400'.
6002
6003 Fix a bunch of timeouts.
6004 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
6005 four separate tests, so expect doesn't take forever to match a ton
6006 of text against a regexp with lots of .* forms.
6007 ("maint print psymbols", "maint print symbols"): Make some of
6008 these greps more selective, so that expect doesn't try to wade
6009 through huge piles of output and time out.
6010
6011 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
6012
6013 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
6014 tests: one which doesn't expect shlib events to be reported, and
6015 another which does, but is XFAIL for all platforms other than
6016 HP/UX.
6017
6018 * gdb.base/break.exp: Teach the test suite that the `catch
6019 fork', `catch vfork', and `catch exec' commands produce error
6020 messages on platforms that don't provide these features.
6021
6022Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
6023
6024 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
6025 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
6026 (shortening names from solib_threshold.exp etc), won't run on
6027 anything but HP-UX for the foreseeable future.
6028 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
6029 reflect move.
6030
6031Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
6032
6033 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
6034 gdb.trace/Makefile.in (clean): Remove all test executables.
6035
6036Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
6037
6038 * gdb.base/shlib-call.exp: add test cases to verify that gdb
6039 successfully re-sets breakpoints in shared libraries.
6040 * gdb.base/shmain.c (main): return 0, don't fall off the end.
6041
6042Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6043
d63a86f8
RM
6044 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
6045 and compiled w/o GCC.
c906108c
SS
6046
6047 * gdb.hp/watch-cmd.exp: ditto.
6048
6049 * gdb.hp/watch-hp.exp: ditto.
6050
6051 * gdb.hp/xdb1.exp: ditto.
6052
6053 * gdb.hp/xdb2.exp: ditto.
6054
6055 * gdb.hp/dbx.exp: ditto.
6056
6057Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
6058
6059 * constvars.c: Remove C++-isms.
6060 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
6061 with GCC.
6062
6063Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
6064
6065 The following changes are part of the HP merge.
6066
6067 * gdb.base/break.exp: new tests to verify that catchpoints for
6068 fork, vfork, and exec don't trigger inappropriately.
6069
6070 * gdb.base/opaque.exp: compile one file at a time, then link.
6071
6072 * gdb.base/signals.exp: be more restrictive about which hppa
6073 systems receive a setup_xfail. new tests.
6074
6075 * gdb.base/solib_threshold.build: new file.
6076 * gdb.base/solib_threshold.exp: new file.
6077 * gdb.base/solib_threshold.link_opts: new file.
6078 * gdb.base/solib_threshold.mk: new file.
6079 * gdb.base/gen_solib_threshold.c: new file.
6080
6081 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
6082 tests. New tests for enums inside classes.
6083
6084 * gdb.c++/compiler.cc: indicate support of template debugging.
6085
6086 * gdb.c++/demangle.exp: run hp style demangling tests.
6087
6088 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
6089 tests.
6090
6091 * gdb.c++/misc.cc: changes to support new tests.
6092
6093 * gdb.c++/templates.cc: changes to support HP's compiler; changes
6094 to support new tests.
6095
6096 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
6097 gcc, then skip these tests.
6098
6099Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
6100
6101 The following files are part of the HP merge; some had longer
6102 names at HP, but have been renamed to be no more than 14
6103 characters in length.
6104
6105 * gdb.hp/ambiguous.cc: new file.
6106 * gdb.hp/ambiguous.exp: new file.
6107 * gdb.hp/attach.exp: new file.
6108 * gdb.hp/attach2.exp: new file.
6109 * gdb.hp/classes-hp.exp: new file.
6110 * gdb.hp/ctti.exp: new file.
6111 * gdb.hp/ctti-add.cc: new file.
6112 * gdb.hp/ctti-add1.cc: new file.
6113 * gdb.hp/ctti-add2.cc: new file.
6114 * gdb.hp/ctti-add3.cc: new file.
6115 * gdb.hp/dbx.exp: new file.
6116 * gdb.hp/exception.cc: new file.
6117 * gdb.hp/exception.exp: new file.
6118 * gdb.hp/foll-exec.c: new file.
6119 * gdb.hp/foll-exec.exp: new file.
6120 * gdb.hp/foll-fork.c: new file.
6121 * gdb.hp/foll-fork.exp: new file.
6122 * gdb.hp/foll-vfork.c: new file.
6123 * gdb.hp/foll-vfork.exp: new file.
6124 * gdb.hp/inherit-hp.exp: new file.
6125 * gdb.hp/more-steps.exp: new file.
6126 * gdb.hp/namespace.cc: new file.
6127 * gdb.hp/namespace.exp: new file.
6128 * gdb.hp/optimize.exp: new file.
6129 * gdb.hp/pxdb.c: new file.
6130 * gdb.hp/pxdb.exp: new file.
6131 * gdb.hp/quicksort.exp: new file.
6132 * gdb.hp/reg-test.exp: new file.
6133 * gdb.hp/reg-test.s: new file.
6134 * gdb.hp/sized-enum.c: new file.
6135 * gdb.hp/sized-enum.exp: new file.
6136 * gdb.hp/start-stop.exp: new file.
6137 * gdb.hp/templ-hp.cc: new file.
6138 * gdb.hp/templ-hp.exp: new file.
6139 * gdb.hp/thr-lib.c: new file.
6140 * gdb.hp/thr-lib.exp: new file.
6141 * gdb.hp/thr-lib.h: new file.
6142 * gdb.hp/thr-liblib.c: new file.
6143 * gdb.hp/virtfun-hp.c: new file.
6144 * gdb.hp/virtfun-hp.exp: new file.
6145 * gdb.hp/watch-cmd.exp: new file.
6146 * gdb.hp/watch-hp.exp: new file.
6147 * gdb.hp/xdb1.exp: new file.
6148 * gdb.hp/xdb2.exp: new file.
6149 * gdb.hp/xdb3.exp: new file.
6150
6151Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
6152
6153 The following files are part of the HP merge; some had longer
6154 names at HP, but have been renamed to be no more than 14
6155 characters in length.
6156
6157 * gdb.base/ss.h: new file.
6158 * gdb.base/call-ar-st.c: new file.
6159 * gdb.base/call-ar-st.exp: new file.
6160 * gdb.base/call-rt-st.c: new file.
6161 * gdb.base/call-rt-st-exp: new file.
6162 * gdb.base/call-strs.exp: new file.
6163 * gdb.base/ena-dis-br.exp: new file.
6164 * gdb.base/environ.exp: new file.
6165 * gdb.base/long_long.exp: new file.
6166 * gdb.base/sect-cmd.exp: new file.
6167 * gdb.base/shlib-cl2.exp: new file.
6168 * gdb.base/smoke.exp: new file.
6169 * gdb.base/so-impl-ld.c: new file.
6170 * gdb.base/so-impl-ld.exp: new file.
6171 * gdb.base/so-indr-cl.c: new file.
6172 * gdb.base/so-indr-cl.exp: new file.
6173 * gdb.base/varargs.exp: new file.
6174 * gdb.base/volatile.exp: new file.
6175 * gdb.base/whatis-exp.exp: new file.
7a292a7a 6176 * gdb.base/display.exp: new file.
c906108c
SS
6177 * gdb.c++/derivation.exp: new file.
6178 * gdb.c++/local.exp: new file.
6179 * gdb.c++/member-ptr.exp: new file.
6180 * gdb.c++/overload.exp: new file.
6181 * gdb.c++/ovldbreak.exp: new file.
6182 * gdb.c++/ref-types.exp: new file.
6183 * gdb.c++/ref-types2.exp: new file.
6184 * gdb.c++/userdef.exp: new file.
d63a86f8 6185
c906108c
SS
6186Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
6187
6188 * gdb.base/default.exp: Reflect wording change in remote.c.
6189
dc96c6c7 6190Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6191
6192 * gdb.base/help.exp: Update to reflect current text.
6193
6194Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
6195
6196 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
6197 they're stack variables and contain garbage.
6198 * gdb.c++/anon-union.exp: new file.
6199
6200 The following changes were made by David Taylor
6201 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6202 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6203 in changes by HP.
6204
6205 * gdb.base/bitops.exp: new file.
6206 * gdb.base/default.exp: change expected messages for catch and
6207 info catch tests to reflect HP merge changes.
6208 * gdb.base/enable-disable-break.exp
6209 * gdb.base/ending-run.c: new file.
6210 * gdb.base/long_long.c: new file.
6211 * gdb.base/maint.exp: new file.
6212 * gdb.base/pointers2.exp: new file.
6213 * gdb.base/shlib-call2.exp: new file.
6214 * gdb.base/solib.exp: new file.
6215 * gdb.base/step-test.c: new file.
6216 * gdb.c++/anon-union.cc: new file.
6217 * gdb.c++/local.cc: new file.
6218 * gdb.c++/member-pointer.cc: new file.
6219 * gdb.c++/method.cc: new file.
6220 * gdb.c++/ref-types.cc: new file.
6221 * gdb.c++/ref-types2.cc: new file.
6222 * gdb.c++/userdef.cc: new file.
d63a86f8 6223
c906108c
SS
6224 * gdb.base/scope.exp: compile one file at a time, then link.
6225 * gdb.base/langs.exp: ditto.
6226 * gdb.base/list.exp: ditto.
d63a86f8 6227
c906108c
SS
6228Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
6229
6230 The following changes were made by David Taylor
6231 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
6232 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
6233 in changes by HP.
d63a86f8 6234
c906108c
SS
6235 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
6236 skip tests. When compiling pass c++ flag to gdb_compile.
6237 * gdb.c++/
d63a86f8 6238
c906108c
SS
6239 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
6240 test for on hppa*-*-hpux*; use args to see if c++ was specified.
6241 (skip_hp_tests): new function.
6242 (gdb_preprocess): new function.
6243
6244 * configure.in (hpdir): decide whether to configure gdb.hp.
6245 * configure: regenerated.
6246
6247 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
6248 to delete on clean.
6249 (EXECUTABLES): update to reflect new additions.
6250 * gdb.base/commands.exp: update message expected.
6251 * gdb.base/default.exp: add copyright notice.
6252 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
6253 * gdb.base/help.exp: update messages to reflect current text.
6254 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
6255 targets for recurse tests.
6256 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
6257 skip this file.
6258
6259 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
6260 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
6261 compilation.
6262 * gdb.c++/misc.exp: ditto.
6263 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
6264 run the tests. tell gdb_compile that it's a c++ compilation.
6265
6266 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 6267
c906108c
SS
6268 * gdb.base/all-bin.exp: new file.
6269 * gdb.base/arithmet.exp: new file.
6270 * gdb.base/assign.exp: new file.
6271 * gdb.base/completion.exp: new file.
6272 * gdb.base/cond-expr.exp: new file.
6273 * gdb.base/condbreak.exp: new file.
6274 * gdb.base/define.exp: new file.
6275 * gdb.base/dollar.exp: new file.
6276 * gdb.base/environment.exp: new file.
6277 * gdb.base/eval-skip.exp: new file.
6278 * gdb.base/jump.exp: new file.
6279 * gdb.base/logical.exp: new file.
6280 * gdb.base/pointers.exp: new file.
6281 * gdb.base/relational.exp: new file.
6282 * gdb.base/section_command.exp: new file.
6283 * gdb.base/whatis-expr.exp: new file.
6284
6285 * gdb.base/all-types.c: new file.
6286 * gdb.base/call-array-struct.c: new file.
6287 * gdb.base/call-return-struct.c: new file.
6288 * gdb.base/call-strings.c: new file.
6289 * gdb.base/callfuncs2.c: new file.
6290 * gdb.base/condbreak.c: new file.
6291 * gdb.base/constvars.c: new file.
6292 * gdb.base/display.c: new file.
6293 * gdb.base/int-type.c: new file.
6294 * gdb.base/jump.c: new file.
6295 * gdb.base/miscexprs.c: new file.
6296 * gdb.base/pointers.c: new file.
6297 * gdb.base/pointers2.c: new file.
6298 * gdb.base/shmain.c: new file.
6299 * gdb.base/shr1.c: new file.
6300 * gdb.base/shr2.c: new file.
6301 * gdb.base/solib.c: new file.
6302 * gdb.base/solib1.c: new file.
6303 * gdb.base/solib2.c: new file.
6304 * gdb.base/varargs.c: new file.
6305 * gdb.c++/derivation.cc: new file.
6306 * gdb.c++/overload.cc: new file.
6307 * gdb.c++/ovldbreak.cc: new file.
6308 * gdb.hp/attach.c: new file.
6309 * gdb.hp/attach2.c: new file.
6310 * gdb.hp/average.c: new file.
6311 * gdb.hp/compiler.c: new file.
6312 * gdb.hp/compiler.cc: new file.
6313 * gdb.hp/execd-program.c: new file.
6314 * gdb.hp/follow-exec.c: new file.
6315 * gdb.hp/follow-fork.c: new file.
6316 * gdb.hp/follow-vfork-and-exec.c: new file.
6317 * gdb.hp/misc-hp.cc: new file.
6318 * gdb.hp/more-steps.c: new file.
6319 * gdb.hp/optimize.c: new file.
6320 * gdb.hp/quicksort.c: new file.
6321 * gdb.hp/run-hp.c: new file.
6322 * gdb.hp/start-stop.c: new file.
6323 * gdb.hp/sum.c: new file.
6324 * gdb.hp/templates-hp.cc: new file.
6325 * gdb.hp/thread-local-in-lib.c: new file.
6326 * gdb.hp/thread-local-in-lib.h: new file.
6327 * gdb.hp/thread-local-in-lib.lib.c: new file.
6328 * gdb.hp/vforked-program.c: new file.
6329 * gdb.hp/virtfunc-hp.cc: new file.
6330 * gdb.hp/watchpoint-hp.c: new file.
6331 * gdb.hp/xdb.c: new file.
6332 * gdb.hp/xdb0.c: new file.
6333 * gdb.hp/xdb0.h: new file.
6334 * gdb.hp/xdb1.c: new file.
6335
6336Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6337
6338 The following change was made by Edith Epstein
6339 <eepstein@cygnus.com> as part of a project to merge in changes
6340 originally made by HP; HP did not create ChangeLog entries.
6341
6342 * gdb.c++/demangle.exp: changed the expected output for some
6343 ARM-style mangling -- removed second reference to datatype.
6344 For example, maint demangle __dt__11T1__pt__2_cFv
6345 T1<char>::~T1<char>(void)
6346 becomes,
6347 maint demangle __dt__11T1__pt__2_cFv
6348 T1<char>::~T1(void)
6349
6350 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 6351
c906108c
SS
6352Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6353
6354 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6355 * gdb.trace/backtrace.exp: Likewise.
6356 * gdb.trace/circ.exp: Likewise.
6357 * gdb.trace/collection.exp: Likewise.
6358 * gdb.trace/deltrace.exp: Likewise.
6359 * gdb.trace/infotrace.exp: Likewise.
6360 * gdb.trace/limits.exp: Likewise.
6361 * gdb.trace/packetlen.exp: Likewise.
6362 * gdb.trace/passc-dyn.exp: Likewise.
6363 * gdb.trace/passcount.exp: Likewise.
6364 * gdb.trace/report.exp: Likewise.
6365 * gdb.trace/save-trace.exp: Likewise.
6366 * gdb.trace/tfind.exp: Likewise.
6367 * gdb.trace/tracecmd.exp: Likewise.
6368 * gdb.trace/while-dyn.exp: Likewise.
6369 * gdb.trace/while-stepping.exp: Likewise.
6370
63711998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6372
6373 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6374
6375Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6376
6377 From Brendan Kehoe:
6378 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6379 int return types.
6380
6381Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6382
6383 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6384 remote dos host testing right.
6385
6386Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6387
6388 * gdb.base/corefile.exp: remove some xfails.
6389
6390Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6391
6392 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6393 have different timestamps.
6394
6395Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6396
6397 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6398 gdb.base/default.exp: Replace "exec" with "executable".
6399
6400Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6401
6402 * gdb.base/default.exp: Change else if to elseif from previous
6403 delta.
6404
6405Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6406
6407 * gdb.base/default.exp: Add brace missing from previous delta.
6408
6409Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6410
6411 * gdb.base/default.exp: Support test for info float for all
6412 varieties of arm toolchain.
6413
dc96c6c7 6414Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6415
6416 * gdb.trace/*.exp: remove "remote_download" command.
6417
dc96c6c7 6418Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6419
6420 * gdb.trace/*.exp: remove -gdwarf from compile.
6421
6422Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6423
6424 * gdb.trace/configure.in(AC_INIT): typo
6425 * gdb.trace/configure: regenerated
6426
dc96c6c7 6427Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6428
6429 * config/m68k-emc.exp: New file.
6430 * lib/<emc-support.exp trace-support.exp}: New files.
6431 * configure.in: add new test directory gdb.trace.
6432 * gdb.trace/{configure configure.in Makefile.in}: New files.
6433 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6434 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6435 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6436 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6437 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6438 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6439 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 6440
dc96c6c7 6441Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6442
6443 * gdb.c++/classes.exp: Change all regular expressions to match
6444 arbitrary combinations of newline/carriage-return, so that they
6445 will work equally well on Unix and Windows.
6446 * gdb.c++/inherit.exp: ditto.
6447 * gdb.c++/virtfunc.exp: ditto.
6448
64491998-08-11 Dawn Perchik <dawn@cygnus.com>
6450
6451 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6452
c2d11a7d
JM
6453Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6454
6455 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6456 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6457 to use a0-a3/d0-d3 as needed.
6458
6459Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6460
6461 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6462 * gdb.disasm/am33.exp: Corresponding changes.
6463
c906108c
SS
64641998-07-11 Felix Lee <flee@cygnus.com>
6465
6466 * gdb.base/callfuncs.exp: add cmp10 test.
6467 * gdb.base/callfuncs.c (cmp10): new function.
6468
6469Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6470
d63a86f8 6471 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6472 into two parts to get around a synchronization problem in expect.
6473
3fc11d3e
JM
6474Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6475
6476 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6477
6478 * configure.in: Add options for gdbtk testsuite.
6479
6480 * configure: Regenerate.
6481
6482 * gdb.gdbtk: New directory to hold gdbtk tests.
6483
c906108c
SS
6484Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6485
6486 * gdb.fortran/types.exp: Escape brackets in expect patterns
6487 for test_float_literal_types_accepted tests.
6488 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6489 before run test.
6490
c2d11a7d
JM
6491Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6492
6493 * am33.exp: Just compile, do not link the testcase.
6494 * am33.s: Add ".am33" pseudoop to force am33 mode.
6495
c906108c
SS
64961998-06-25 Felix Lee <flee@cygnus.com>
6497
6498 * gdb.base/setshow.exp: make sure $pc is sane.
6499
6500 * gdb.stabs/weird.exp: split expect patterns properly.
6501
c2d11a7d
JM
6502Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6503
6504 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6505 * gdb.disasm/am33.exp: Run it.
6506
dc96c6c7 6507Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6508
6509 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6510 match processing (and eliminate spurious timeouts when running).
6511
dc96c6c7 6512Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6513
6514 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6515 exception test, but conditionalize it on target [mach | gnu].
6516
dc96c6c7 6517Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6518
6519 * gdb.base/overlays.exp: fixup compile line for linker script.
6520
6521Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6522
6523 * gdb.fortran/types.exp: don't guess at float size.
6524
6525Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6526
6527 * gdb.base/exprs.exp: delete test that depends on int size.
6528
6529Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6530
6531 * config/sim.exp: Removed checks for target triplets.
6532 (gdb_target_sim): Use gdb,target_sim_options.
6533
6534Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6535
6536 * gdb.base/reread.exp: New file.
6537 * gdb.base/reread1.c: New file.
6538 * gdb.base/reread2.c: New file.
6539
6540Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6541
6542 * config/sim.exp: Use 'target sim -sparclite' when running
6543 SPARClite programs.
6544
6545Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6546
6547 * gdb.base/structs2.exp: New file.
6548 * gdb.base/structs2.c: New file.
6549
6550Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6551
6552 * gdb.asm/common.inc: New file.
6553 * gdb.asm/d10v.inc: New file.
6554 * asm-source.exp: Pass -I's to gas to find .inc files.
6555 Update line numbers in expected output.
6556 * asmsrc1.s: Rewrite.
6557 * asmsrc2.s: Rewrite.
6558 * configure.in: Create arch.inc symlink.
6559 * configure: Regenerate.
6560 * Makefile.in (distclean): Delete arch.inc.
6561
6562Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6563
6564 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6565 (t_enum_value2): ditto
6566 (t_enum_value3): ditto
6567 (main): ditto
6568Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6569
6570 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6571 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6572 change.
6573 Use gdb_test instead of send_gdb/gdb_expect sequences.
6574
6575Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6576
6577 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6578 not void.
6579
6580Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6581
6582 * gdb.base/branches.c: Code with lots of loops and
6583 subroutines. Used to test gdbs ability to single step through PC
6584 changes, especially to test mips-tdep.c:mips_next_pc
6585
6586Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6587
6588 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6589 more rigorous EGCS C++ error checking.
6590
6591Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6592
6593 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 6594 tests.
c906108c 6595 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 6596 function when asleep.
c906108c 6597 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
6598 for i*86 Linux and SVR4 signal handling problems.
6599 Remove linux xfail for `next to handler in signals_tests_1', fixed
6600 by recent infrun.c change.
c906108c 6601 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 6602 stack backtraces.
c906108c
SS
6603 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6604 target.[ch] change.
6605
6606Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6607
6608 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6609 for a newline from gdb before continuing.
6610 (default_gdb_exit): Just look for y or n.
6611 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6612 it does, fail the rests of the tests in the file.
6613
6614Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6615
6616 * config/cygmon.exp: New file.
6617
6618Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6619
6620 * gdb.base/list.exp: Fix problem with "list default lines around
6621 main" test on remote targets.
6622
6623 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6624 run test on remote targets.
6625
6626Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6627
6628 * gdb.asm: New directory.
6629 * configure.in: Configure it.
6630 * configure: Regenerate.
6631 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6632 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6633
6634Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6635
6636 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6637
dc96c6c7 6638Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 6639
c906108c
SS
6640 * gdb.base/overlays (several files): Merge the two overlay
6641 managers into one. Change variables (foox, barx, bazx, grbxx)
6642 back into ints but force them to load in their proper sections.
6643
6644Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6645
6646 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6647 on-chip insn memory and IMAP1 to upper 128k.
6648 (D10VCopy): Handle memory regions crossing 16k boundaries.
6649 (D10VCopy): Transfer data in 32 bit chunks.
6650
6651Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6652
6653 * gdb.base/overlays.c (main): Exit normally when result is
6654 correct.
6655
6656 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6657 map. Include space for printf in .text segment.
6658
6659 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6660 updated d10v memory VMA/LMA map.
6661 (D10VCopy): Call D10VTranslate.
d63a86f8 6662
c906108c
SS
6663Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6664
6665 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6666
6667 * gdb.base/bar.c (barx, bar): Change variable to small array so
6668 that it won't be put into the .sdata - small data -
6669 section. Update reference.
6670 * gdb.base/baz.c (bazx, baz): Ditto.
6671 * gdb.base/foo.c (foox, foo): Ditto.
6672 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6673
6674 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6675 to be arrays.
d63a86f8 6676
dc96c6c7 6677Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 6678
c906108c
SS
6679 * gdb.base/overlays.exp: fix up and get working again.
6680 Add tests for backtraces from an overlay function.
d63a86f8 6681
c906108c
SS
6682Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6683
6684 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6685 "calling function with watchpoint enabled".
6686
6687Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6688
6689 * gdb.base/break.exp (test_next_with_recursion): Remove
6690 gdb_suppress_tests for d10v-*-*.
6691 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6692 pending review of whether it is useful or not.
6693
6694Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6695
6696 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6697
6698Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6699
6700 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6701 * config/dve.exp: New file to support Densan boards.
6702
6703Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6704
6705 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6706 reads and BSD.
6707
6708Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6709
6710 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6711 response.
6712
6713 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6714
6715Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6716
6717 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6718 test.
6719
6720 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6721 target_sizeof_long and target_bigendian_p.
6722 (structs_by_value, structs_by_reference): Check values according
6723 to targets word size and endianess.
d63a86f8 6724
c906108c
SS
6725Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6726
6727 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6728 output.
6729
6730Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6731
6732 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6733 Update test of set args help to match source change.
6734
6735Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6736
6737 * gdb.base/default.exp: Expect help system output to be in
6738 alphabetical order.
6739 * gdb.base/help.exp: Ditto.
6740
6741Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6742
6743 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6744 "i*86-pc-linux-gnu*".
6745 * gdb.base/interrupt.exp: Ditto.
6746 * gdb.base/corefile.exp: Ditto.
6747
6748 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6749 define vxworks when building the testcase.
6750
6751 * gdb.base/ptype.exp: Fix testnames to be unique.
6752 * gdb.base/radix.exp: Ditto.
6753 * gdb.base/term.exp: Ditto.
6754 * gdb.base/whatis.exp: Ditto.
6755 * gdb.c++/classes.exp: Ditto.
6756
6757Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6758
6759 * gdb.base/callfuncs.exp: Fix indentation.
6760
6761 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6762 suppress_flag has been set.
6763 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6764 target feature.
6765
6766Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6767
6768 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6769 the testcase.
6770
6771 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6772 set_debug_traps() and breakpoint().
6773 * gdb.c++/misc.cc (main): Ditto.
6774 * gdb.c++/templates.cc (main): Ditto.
6775 * gdb.c++/virtfunc.cc (main): Ditto.
6776
6777Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6778
6779 * lib/gdb.exp(gdb_step_for_stub): New function.
6780 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6781 exists, reload the executable and do a "continue" instead of
6782 doing a jump.
6783 (runto_main): Use gdb_step_for_stub.
d63a86f8 6784
c906108c
SS
6785 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6786 tests to have unique names.
6787 * gdb.base/callfuncs.exp: Ditto.
6788 * gdb.base/commands.exp: Ditto.
6789 * gdb.base/default.exp: Ditto.
6790 * gdb.base/help.exp: Ditto.
6791 * gdb.base/list.exp: Ditto.
6792 * gdb.base/opaque.exp: Ditto.
6793 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6794 similar tests.
d63a86f8 6795
c906108c
SS
6796 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6797 * gdb.c++/cplusfuncs.cc: Ditto.
6798 * gdb.c++/virtfunc.cc: Ditto.
6799
6800 * config/monitor.exp: Keep track of the last file we saw, rather
6801 than trying to get the info from gdb.
6802
6803 * gdb.fortran/types.exp: Move comment to previous line.
6804
6805Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6806
6807 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6808 target mode.
6809
6810Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6811
6812 From Bob Manson:
6813 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6814 string from GDB when it connects.
6815
6816 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6817
6818Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6819
6820 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6821 if we can't get a debug format from GDB (we may be testing an
6822 older GDB). Use a 10 second timeout when checking for the format.
6823
6824 * gdb.stabs/weird.exp: Fix quoting.
6825
6826 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6827
6828Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6829
6830 * config/arm-ice.exp: New file.
6831
6832Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6833
6834 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6835 until it has been modified to work with the new testsuite.
6836
99707966 6837 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6838 testcase won't compile, cause all of the testcases in the file to
6839 fail instead.
6840
6841 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6842 (gdb_clear_suppressed): New procedure.
6843 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6844 it contains a positive value.
6845
6846Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6847
6848 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6849
6850 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6851
6852Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6853
6854 * lib/gdb.exp (setup_xfail_format): New function.
6855 (get_debug_format): New function to get debug format.
6856 (debug_format): New global variable to hold last value set
6857 by get_debug_format.
6858 * gdb.base/list.exp: Call get_debug_format and expect some
6859 tests to fail for DWARF 1 and COFF formats.
6860 * gdb.c++/ptype.exp: Ditto.
6861 * gdb.c++/classes.exp: Ditto.
6862 * gdb.c++/cplusfuncs.exp: Ditto.
6863 * gdb.c++/inherit.exp: Ditto.
6864 * gdb.c++/templates.exp: Ditto.
6865 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 6866
c906108c
SS
6867Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6868
6869 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6870 host doesn't have a currently-open connection.
6871
6872 * config/sparclet.exp: Cleanups and fixes to make it generic for
6873 any gdb stub target. Handle cases where gdb doesn't respond when
6874 interrupted in a sane fashion.
6875
6876 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6877 same thing in a totally different way.
6878
6879 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6880 setting "timeout".
6881 (gdb_start): We set the global gdb_prompt variable in
6882 default_gdb_init now.
6883
6884Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6885
6886 * gdb.base/printcmds.exp: Fix "check for floating addition"
6887 regexp to accept results within approx +/- .01 of exact value.
6888 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6889
6890Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6891
6892 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6893 properly.
6894 (gdb_expect): Add optional timeout parameter, and add timeout
6895 value to various calls.
6896 (gdb_suppress_tests): Only give one warning message per group.
6897
6898Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6899
6900 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6901 global variables. Handle getting a value for $timeout more
6902 gracefully.
6903
6904Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6905
6906 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6907 initialize.
6908 (default_gdb_init): New procedure; allow gdb_init to be overridden
6909 by a target configuration file.
6910 (gdb_expect): Pass the timeout to remote_expect.
6911
6912 * config/monitor.exp(gdb_load): Fix typo in regexp.
6913
6914Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6915
6916 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6917
6918Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6919
6920 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6921 here. Call gdb_target_exec before rebooting the target, to make
6922 sure the connection to the target is closed.
6923 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6924 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6925 Also detect "Timeout reading from remote" error.
6926
6927 * config/gdbserver.exp: Pass the executable being loaded to
6928 gdb_target_monitor. Don't call gdb_file_cmd here; let
6929 gdb_target_monitor do it.
6930
6931 * gdb.disasm/hppa.exp: Don't use exec_output.
6932
6933Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6934
6935 * gdb.base/list.exp: If we're debugging a non-native target,
6936 try to set the pc register to point to the start of the
6937 program before doing the first list command.
6938
6939 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6940 test_calls after restarting.
6941
6942 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6943 reloading.
6944
6945 * gdb.base/watchpoint.exp: Fix typo.
6946
6947 * gdb.base/setshow.exp: Check for use_gdb_stub.
6948
6949 * gdb.base/break.exp: Fix continue until exit test for the gdb
6950 stub case.
6951 * gdb.base/langs.exp: Ditto.
6952
6953 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6954 gdb_load_offset. If we weren't given a file to load, figure out
6955 what the current file is and use it.
6956
6957 * config/i386-bozo.exp: New file.
6958
6959Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6960
6961 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6962 feature.
6963
6964 * config/proelf.exp: New entry.
6965
6966Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6967
6968 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6969 of regexps.
6970
6971 * gdb.base/watchpoint.exp: Don't run the test_stepping
6972 tests if gdb can't call functions on the target.
6973
6974 * gdb.base/setshow.exp: Don't run the set prompt tests if
6975 the board has gdb_prompt set.
6976
6977Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6978
6979 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6980 * gdb.base/commands.exp: Likewise.
6981 * gdb.base/setshow.exp: Likewise.
6982
6983Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6984
6985 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6986 feature.
6987
6988 * config/i960.exp: New file.
6989
6990Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6991
6992 * gdb.base/funcargs.exp: Check for gdb,short_int target
6993 feature instead of looking for explicit target triplets.
6994
dc96c6c7 6995Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6996
d63a86f8 6997 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6998 "p 123DEADBEEF", to check parse_number.
6999 * top.c: change "to enable to enable" to "to enable" in a couple
7000 of help strings.
7001
7002Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
7003
7004 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
7005 on the mn10300.
d63a86f8 7006
c906108c
SS
7007Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
7008
7009 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
7010 where the test executable is run with explicit args.
7011 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
7012
7013Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
7014
7015 * gdb.base/run.c: Use FAKEARGV to build test executable that
7016 does not require a command line arg, since most simulators
7017 don't currently support passing such an arg into the simulated
7018 program.
7019 * gdb.base/commands.exp: Change tests to insert the proper
7020 value as the arg to the first recursive factorial call. Change
7021 compilation line to define FAKEARGV at compile time.
7022
7023Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
7024
7025 * gdb.base/recurse.exp: Enable these tests for the mn10300.
7026 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
7027 function with watchpoint enabled" test.
7028
7029Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
7030
7031 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
7032 Don't call gdb_test when the command doesn't return to a gdb prompt.
7033
7034 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
7035 "Tests restarted" messages.
7036
7037Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
7038
7039 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
7040
dc96c6c7 7041Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7042
7043 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
7044 for INFO SYMBOL; add help tests for OVERLAY commands.
7045 * gdb.base/default.exp: add tests for INFO SYMBOL command;
7046 add tests for OVERLAY commands
7047 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
7048 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
7049 * gdb.base/sigall.c: add usestubs code frag
7050 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 7051
c906108c
SS
7052Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
7053
7054 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
7055 failures.
7056 (gdb_stop_suppressing_tests): Note that tests have restarted.
7057
7058Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
7059
7060 * config/h8300.exp: New file.
7061
7062Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
7063
7064 * gdb.base/setshow.exp: Check for the existence of a
7065 feature, not its value.
7066
7067Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
7068
7069 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
7070
7071 * gdb.base/scope.exp: It's now init0(), not init().
7072
7073 * gdb.base/scope0.c: For now, change init() to be init0().
7074
7075 * config/monitor.exp: Use gdb_serial in preference to serial
7076 or netport.
7077
7078 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
7079 and it's not already set.
7080
7081Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
7082
7083 * gdb.base/setshow.exp: Only test the run command if the target
7084 isn't using a stub and if it supports argument passing.
7085
7086Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
7087
7088 * config/udi.exp(gdb_start): Make sure UDICONF is set
7089 properly before starting gdb.
7090
7091Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
7092
7093 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
7094 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
7095 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
7096
7097Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
7098
7099 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
7100 specialized code to reboot the board, use remote_reboot instead.
7101
7102 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
7103
7104 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
7105
7106 * config/monitor.exp: Make sure we disconnect from the target.
7107 Also, try a reboot/reload cycle instead of failing if the
7108 load fails.
7109
7110Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
7111
7112 * gdb.base/default.exp: Don't set match_max.
7113 * gdb.base/help.exp: Ditto.
7114 * gdb.base/list.exp: Ditto.
7115 * gdb.base/signals.exp: Ditto.
7116
7117 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
7118 set, use remote_ld to download the testcase instead of
7119 the GDB loader.
7120
7121Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
7122
7123 * config/vr5000.exp: New file.
7124
7125 * config/monitor.exp(gdb_target_monitor): Add pattern for
7126 "Ending remote" to detect errors in connecting.
7127
7128 * gdb.base/setshow.exp: Add .* within auto language test.
7129
7130 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
7131 target feature.
7132
7133 * config/monitor.exp(gdb_load): Check for a failure when loading,
7134 and reboot the board if necessary.
7135
7136 * gdb.base/setvar.exp(test_set): Handle multiple prints within
7137 a set of tests. Remove print.* from the patterns being checked.
7138
7139Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
7140
7141 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
7142 refer to gdb_spawn_id.
7143
7144 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
7145 longer used.
7146 * config/sparclet.exp: Ditto.
7147 * config/sparclet-old.exp: Ditto.
7148 * config/slite.exp: Ditto.
7149 * config/sim.exp: Ditto.
7150 * gdb.base/funcargs.exp: Ditto.
7151
7152 * lib/gdb.exp:Remove references to gdb_spawn_id.
7153 (gdb_expect): Move to remote.exp.
7154
7155Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
7156
7157 * config/monitor.exp: Detect the "Couldn't establish connection"
7158 message from GDB.
7159
7160Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
7161
7162 * gdb.base/bitfields.exp: Use runto instead of explicit
7163 gdb_run_cmd/gdb_expect sequences.
7164
7165 * gdb.base/break.exp(text_next_with_recursion): Add match for
7166 gdb_expect call.
7167
7168 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
7169 We also need to handle the "A program is being debugged already"
7170 prompt from gdb. Use gdb_test to set the baud rate.
7171
7172 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
7173 to 20000. Really. I mean it.
7174
7175Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
7176
7177 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
7178 fails. If suppress_flag is set, skip perror message about not
7179 being able to send to GDB.
7180 (send_gdb): If suppress_flag is set, don't try to send commands to
7181 GDB.
7182 (gdb_expect): If suppress_flag is set, always fail immediately.
7183 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
7184 (gdb_init): Call gdb_stop_suppressing_tests.
7185 (default_gdb_exit): Ditto.
7186 (default_gdb_start): Ditto.
7187
7188 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
7189 gdb_stop_suppressing_tests as appropriate.
7190 * gdb.base/break.exp: Ditto.
7191 * gdb.base/callfuncs.exp: Ditto.
7192 * gdb.base/commands.exp: Ditto.
7193 * gdb.base/exprs.exp: Ditto.
7194 * gdb.base/funcargs.exp: Ditto.
7195 * gdb.base/list.exp: Ditto.
7196 * gdb.base/recurse.exp: Ditto.
7197 * gdb.base/scope.exp: Ditto.
7198 * gdb.base/structs.exp: Ditto.
7199 * gdb.c++/inherit.exp: Ditto.
7200
7201Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7202
7203 * config/vr4300.exp: New file.
7204
99707966 7205 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 7206
99707966 7207 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
7208
7209Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
7210
7211 * lib/gdb.exp(gdb_init): New function.
7212
7213 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
7214 for each individual variable set.
7215
7216 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7217 name.
7218
7219 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
7220
7221 * gdb.base/scope.exp: Use gdb_test.
7222
7223 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
7224 aborting; the testsuite driver will do that for us (see
7225 gdb_finish). Also, use gdb_test in a few more places.
7226
7227Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
7228
7229 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
7230
7231Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
7232
7233 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
7234 and "add_tests" are not at the same address.
7235
7236Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
7237
7238 * gdb.base/ptype.exp: Use gdb_test.
7239
7240Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
7241
7242 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
7243 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
7244 left in. No longer expect them to fail.
7245
7246 * gdb.stabs/*.mt; Deleted, no longer used.
7247 * gdb.stabs/configure.in: Remove references to target makefile
7248 frags.
7249 * gdb.stabs/configure: Rebuilt.
7250
7251 * gdb.disasm/*.mt: Deleted, no longer used.
7252 * gdb.disasm/configure.in: Remove references to target makefile
7253 frags. Use "sh3.s" as the unique filename for this directory.
7254 * gdb.disasm/configure: Rebuilt.
7255
7256 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
7257 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
7258 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
7259
7260Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
7261
7262 * config/udi.exp: Use mondfe,name instead of remote_host.
7263
7264Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
7265
7266 * gdb.base/watchpoint.exp: Don't expect a failure when calling
7267 a function with a watchpoint enabled on the mn10200.
7268
7269 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7270 before trying to create it!
7271
7272Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7273
7274 * config/vx.exp: Use hostname instead of netport.
7275
7276 * config/vxworks.exp: New file.
7277
7278 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7279
7280 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7281 gdb before assuming everything worked. Send a ^C if a timeout
7282 occurs.
7283
7284 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7285 $gdb_spawn_id directly.
7286 (gdb_run_cmd): Try _start as well as start. Use the target feature
7287 gdb,start_symbol as the symbol to start from when jumping.
7288
7289Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7290
7291 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7292 redundant) test.
7293
7294 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7295 it doesn't lose for 16bit integer systems.
7296
7297Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7298
7299 * gdb.fortran/types.exp: If the target doesn't support "double"
7300 data types, then expect "real" types to only be 4 bytes.
7301
7302 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7303 call tests if the target doesn't support inferior function calls.
7304
7305 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7306 in printf tests.
7307
7308Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7309
7310 * gdb.base/help.exp: Disable "help set", "help show", and
7311 "help support". Simplify regexp for "help stack".
7312
7313 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7314 to 60 seconds. Temporarily set match_max to 15000 around the
7315 "info copying" test.
7316
7317 * gdb.base/nodebug.exp: Don't try to do an inferior function
7318 call if the target doesn't support them.
7319 * gdb.base/printcmds.exp: Likewise.
7320 * gdb.base/setvar.exp: Likewise.
7321 * gdb.base/structs.exp: Likewise.
7322 * gdb.c++/templates.exp: Likewise.
7323 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7324
7325 * gdb.base/recurse.exp: Enable for the mn10200.
7326
7327 * configure.in: Do configure gdb.stabs directory for *-*-elf
7328 targets.
7329 * configure: Rebuilt.
7330
7331 * gdb.base/break.exp: Check for gdb,noresults before testing
7332 exit status and/or results from the target.
7333 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7334 * lib/gdb.exp: Remove old (now bogus) initialization of
7335 noinferior, noargs, noresults and nosignals.
7336
7337Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7338
7339 * config/sh.exp: New file.
7340
7341 * config/slite.exp: Try to connect multiple times to the board
7342 before rebooting. Only send a "monitor run" if need_monitor_run
7343 is set.
7344
7345 * gdb.base/break.exp: Don't do the "stub continue" test if
7346 the target has gdb_stub set.
7347
7348 * gdb.base/callfuncs.exp: Increase the timeout.
7349
7350 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7351 if the target has gdb,noinferiorio set.
7352
7353 * gdb.base/list.exp: Increase match_max to 10000 characters.
7354
7355 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7356
7357 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7358 target.
7359
7360 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7361
7362Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7363
7364 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7365 trying to delete the copy of gdb. Catch the file delete so we
7366 don't die if the delete fails; also, the file should be copied to
7367 the host, not to the build.
7368
7369Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7370
7371 * lib/gdb.exp(gdb_test): Surround the result pattern with
7372 parenthesis in case it contains multiple regexps separated
7373 with |.
7374
7375 * gdb.base/watchpoint.exp: Use gdb_test.
7376 * gdb.base/default.exp: Ditto.
7377
7378Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7379
99707966 7380 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 7381
c906108c
SS
7382 * gdb.base/scope.exp: Use gdb_test.
7383 * gdb.c++/classes.exp: Ditto.
7384 * gdb.c++/inherit.exp: Ditto.
7385
7386Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7387
7388 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7389 remote_exec instead.
7390 * gdb.base/corefile.exp: Don't be ridiculous.
7391 * gdb.base/*.c: Add missing stub invocations.
7392
7393Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7394
7395 * config/slite.exp: Miscellaneous fixes.
7396
7397 * lib/gdb.exp: Fix runto.
7398
7399 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7400 the target.
7401
7402 * gdb.base/watchpoint.exp: Fix regexp.
7403
7404 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7405 close and wait commands, as the descriptor may now be
7406 invalid. Always call "remote_close host".
7407
7408Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7409
7410 Major rewrite for testsuite revision.
d63a86f8 7411
c906108c
SS
7412 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7413 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7414 instead of relying on spawn_id to always contain a valid
7415 spawn id.
7416 (get_compiler_info): New procedure to build the ${binfile}.ci
7417 file, instead of replicating this in N different places.
7418 (gdb_compile): New procedure.
d63a86f8 7419
c906108c
SS
7420 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7421 appropriate arguments) instead of compile. Use gdb_test in a lot
7422 more places. Use send_gdb instead of send. Always run gdb_start
7423 at the start of a testcase, as this is no longer done magically.
7424
7425 config/*-gdb.exp: Rename without the -gdb suffix.
7426
7427 config/mips.exp: Use remote_close instead of exit_remote_shell.
7428 config/monitor.exp: Use target_info instead of looking at
7429 baud, timeout, etc.
7430 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7431
7432Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7433
7434 * gdb.c++/templates.exp (test_ptype_of_templates),
7435 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7436 Update expect patterns for destructors and assignment operators
7437 to match corresponding c-typeprint.c changes.
7438 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7439 to destructor breakpoint test, GDB should be able to set the
7440 destructor breakpoint without specifying arguments.
7441
7442Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7443
7444 * gdb.threads/pthreads.exp: Change result for failure to compile due
7445 to lack of pthreads runtime support from an error to simply an
7446 unsupported test, per dejagnu standards.
7447
7448Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7449
7450 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7451 where GDB exits to reduce pattern match time.
7452 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7453
7454 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7455
dc96c6c7 7456Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7457
7458 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7459 * gdb.base/default.exp: ditto.
7460 * gdb.base/nodebug.exp: ditto.
7461 * gdb.base/printcmds.exp: ditto.
7462 * gdb.base/ptype.exp: ditto.
7463 * gdb.base/setvar.exp: ditto.
7464 * gdb.base/structs.exp: ditto.
7465 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7466
7467Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7468
7469 * configure, */configure: Rebuild with autoconf 2.12.
7470
7471Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7472
7473 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7474 use new i*86-pc-linux*-gnu quads.
7475 * gdb.base/corefile.exp: Ditto.
7476 * gdb.base/signals.exp: Ditto.
7477 * gdb.base/sigall.exp: Ditto.
7478 * gdb.base/interrupt.exp: Ditto.
7479
7480 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7481 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7482 RedHat 4.0.
d63a86f8 7483
c906108c
SS
7484 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7485 linux. This allows the test case to at least compile on latest
7486 linux, but still not run due to missing the threads runtime library.
7487
7488Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7489
7490 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7491 directory to search gdb directory. Accept and step over conditional
7492 stack alignment code. Consume $prompt in failure cases.
7493 Reset timeout to $oldtimeout instead of some arbitrary value.
7494 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7495 timeout problems with infinite stack backtraces.
7496 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7497 Accept function parameters for linkfunc member.
7498
7499Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7500
7501 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7502 (CXXFLAGS): Remove, unreferenced.
7503 (B_OPTIONS): Add for -B options and add code to initialize with
7504 previous -B options and also add -B option to pick up cross compiled
7505 runtime.
7506 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7507 doing cross compiles.
7508 (target_alias): Declare global.
7509 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7510 to verify that gcc exists in build tree, and if so set CC to that
7511 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 7512
c906108c
SS
7513Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7514
7515 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7516 ptype test for anonymous union. Fixup testcase to match
7517 current gcc debug output.
7518
7519Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7520
7521 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7522 force argument to an unsigned long type.
7523
7524Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7525
7526 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7527 tests and anonymous union print/ptype tests.
7528 * gdb.base/list.exp (test_forward-search): Increase timeout by
7529 5 minutes for the "search extremely long line" case.
7530 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7531 completely optional and that the pass/fail messages use the command as
7532 the message if that third arg is a null string.
7533 (gdb_test_exact): Arrange that a null string pattern means match a
7534 null string output rather than any output, which might include random
7535 errors.
7536 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7537 backtrace test.
7538 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7539 always failing and failure is now exposed by gdb.exp changes.
7540
7541Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7542
7543 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7544 weren't being noted.
7545
7546Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7547
7548 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7549 * gdb.stabs/weird.exp: Remove v_comb xfails.
7550
dc96c6c7 7551Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7552
7553 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7554 list.exp scope.exp watchpoint.exp]
7555 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 7556
dc96c6c7 7557Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7558
7559 * config/monitor.exp: Increase download timeout to 1000 seconds.
7560
dc96c6c7 7561Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7562
7563 * config/m32r.exp: Increase timeout to 120 seconds.
7564
7565Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7566
7567 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7568 and accept older ordering as obsolescent gcc or gdb.
7569 * gdb.c++/templates.exp: Ditto.
7570 * gdb.c++/virtfunc.exp: Ditto.
7571
7572Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7573
7574 * gdb.base/coremaker.c: Add code to mmap some data so we
7575 can check that it ends up in the core file.
7576 * gdb.base/corefile.exp: Add test to read mmapped data
7577 from core file.
7578
dc96c6c7 7579Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7580
7581 * config/m32r.exp: New file.
7582
7583Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7584
7585 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7586 that cflags can contains -gstabs, and work correctly for other tests.
7587
dc96c6c7 7588Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7589
7590 * gdb.base/setshow.exp: New file, tests show and set.
7591 * gdb.base/setshow.c: New file, tests show and set.
7592 * gdb.base/help.exp: Add test for help set|show annotate.
7593 * gdb.base/default.exp: Add test for set|show annotate.
7594
7595Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7596
7597 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7598 errors unique.
7599 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7600 explicitly.
7601
7602Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7603
7604 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7605 and width commands. This is done elsewhere.
7606 * (gdb_start): Don't call gdb_start_sim here. That's already
7607 done in gdb_load. This fixes lots of failures in default.exp.
7608
7609Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7610
7611 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7612 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7613 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7614 in the same we we treat other failures (since it may be an expected
7615 condition), rather than as an error.
7616 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7617 old test format.
7618
7619Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7620
7621 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7622 (distclean maintainer-clean realclean): No need to remove files
7623 twice. Nuke the duplicates.
7624 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 7625 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7626 Remove config.h along with other config files.
7627
7628Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7629
7630 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7631 "p func1 ()" and note that rests of tests are skipped.
7632 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7633 setup_xfails for "print func2::coremaker_local".
7634 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7635 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7636 affected by the previous run test.
7637 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7638 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7639 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7640 "pass int powerset tuple" and "pass modeless int powerset tuple".
7641 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7642 "real write 4" and "real write 8".
7643 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7644 setup_xfails for "print vs1 after tuple assign 2",
7645 "print \$i after tuple assign 2", and
7646 "print vs2 after tuple assign 2".
7647 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7648 meaningful error message and return -1 so the caller can
7649 suppress further tests and avoid a cascade of errors.
d63a86f8 7650
c906108c
SS
7651Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7652
7653 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7654 format for printing version.
7655 * gdb.base/default.exp: Ditto.
7656 * gdb.base/interrupt.exp: Fix problem with cascade of
7657 errors if child process dies while calling a function.
d63a86f8 7658
c906108c
SS
7659Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7660
7661 * Makefile.in (VPATH): Add
7662 * Makefile.in (Makefile, config.status): Fix rules so things get
7663 remade when necessary.
7664
7665Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7666
7667 * Makefile.in (just-check): Add path to sibling expect dir
7668 to environment variable specified by RPATH_ENVVAR.
7669
7670Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7671
7672 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7673 (just-check): Add shared library paths for libstdc++, tk,
7674 tcl, bfd, and opcodes to the environment variable specified
7675 in RPATH_ENVVAR.
7676 * configure.in: Add support to recognize --enable-shared flag
7677 and generate correct value for RPATH_ENVVAR.
7678 * configure: Regenerated with autoconf.
7679
7680Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7681
7682 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7683 include all osf versions.
7684 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7685 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7686 when target is linux. When failing to build pthreads test
7687 executable, give more meaningful message.
7688 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7689 arg for pthread_create.
d63a86f8 7690
c906108c
SS
7691Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7692
7693 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7694 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7695 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7696 and -lpthreads (everybody else).
7697 (test_startup): Fail gracefully if threads are not supported.
7698 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7699 "p/c array_index("abcdef",2)" when not gcc compiled.
7700 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7701 "print func2::coremaker_local" when not gcc compiled.
7702 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7703 "ptype on opaque struct tagname (statically)",
7704 "ptype on opaque struct tagname (dynamically) 1", and
7705 "ptype on opaque struct tagname (dynamically) 2"
7706 for not compiled with gcc.
7707 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7708 backtrace when compiled with gcc.
d63a86f8 7709 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7710 than always return success.
7711
7712Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7713
7714 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7715
7716Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7717
7718 * gdb.base/structs.exp: Undo last change.
7719
7720Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7721
7722 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7723 encapsulate all the steps/nexts done during self test, starting
7724 at main, and makes them less sensitive to optimization issues.
7725 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7726 signal handler" test.
7727 * gdb.threads/pthreads.exp: Only run this for native configs.
7728 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7729 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7730 tests.
7731 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7732 for "runto test_calls(void)" test.
d63a86f8 7733
c906108c
SS
7734Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7735
7736 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7737 and don't expect address info in breakpoint confirmations.
7738
7739Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7740
7741 * gdb.base/list.exp (test_forward_search): Increase timeout
7742 temporarily by 60 seconds for searching extremely long line,
7743 and then reset to old value when done. Increase expect input
7744 buffer to 10000.
7745
7746Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7747
7748 * gdb.base/list.exp (test_forward_search): Fix to handle very
7749 long source line without overflowing expect's input buffer.
7750
7751Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7752
7753 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7754 "buffer_full".
7755
7756 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7757 "buffer_full".
7758
7759 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7760 "buffer_full".
7761
7762 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7763 "buffer_full".
7764
7765Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7766
7767 * configure.in (configdirs): Add gdb.threads.
7768 * configure: Regenerated with autoconf.
7769 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7770 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7771 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 7772
c906108c
SS
7773Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7774
7775 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7776
7777Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7778
7779 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7780 each signal's status in the output of "handle all print".
7781 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7782 the \r\n sequence that immediately precedes the gdb prompt.
7783 * gdb.base/a1-selftest.exp: Save original timeout and restore
7784 after test.
7785
7786Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7787
7788 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7789 symbol.
7790
7791Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7792
7793 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7794
7795Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7796
7797 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7798 timeout by 60 seconds.
7799
7800Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7801
7802 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7803 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7804 error return.
7805
7806Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7807
7808 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7809 gdb initialization, also report how long dejagnu waited. Restore
7810 old timeout before doing error return. Temporarily increase timeout
7811 by 3 minutes to allow for slow startups over heavy NFS use.
7812
7813Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7814
7815 * lib/gdb.exp: Report timeout value for verbosity level 2.
7816 * config/gdbserver.exp: Ditto.
7817 * config/hppro.exp: Ditto.
7818 * config/mips-gdb.exp: Ditto.
7819 * config/monitor.exp: Ditto.
7820 * config/netware.exp: Ditto.
7821 * config/sim-gdb.exp: Ditto.
7822 * config/slite-gdb.exp: Ditto.
7823 * config/udi-gdb.exp: Ditto.
7824 * config/unix-gdb.exp: Ditto.
7825 * config/vx-gdb.exp: Ditto.
7826 * gdb.base/a1-selftest.exp: Ditto.
7827 * gdb.base/a2-run.exp: Ditto.
7828 * gdb.base/break.exp: Ditto.
7829 * gdb.base/corefile.exp: Ditto.
7830 * gdb.base/list.exp: Ditto.
7831 * gdb.base/recurse.exp: Ditto.
7832 * gdb.base/scope.exp: Ditto.
7833 * gdb.base/signals.exp: Ditto.
7834
7835Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7836
7837 * gdb.threads/Makefile.in (docdir): Removed.
7838
7839Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7840
7841 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 7842 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7843 @srcdir@.
d63a86f8 7844 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7845 autoconf 2.5 or higher.
7846 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7847
7848Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7849
7850 * configure: Regenerated.
7851 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7852 avoid name clashes with SunOS headers.
7853
7854Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7855
7856 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7857
7858Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7859
7860 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7861 prototype information ends up in the compiler info file.
7862
7863Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7864
7865 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7866 attempting to regenerate it. Eliminate use of a temporary file
7867 and just generate the info file directly. Source it immediately,
7868 for consistency of use.
7869 * gdb.base/corefile.exp: Ditto
7870 * gdb.base/exprs.exp: Ditto.
7871 * gdb.base/funcargs.exp: Ditto.
7872 * gdb.base/langs.exp: Ditto.
7873 * gdb.base/list.exp: Ditto.
7874 * gdb.base/mips_pro.exp: Ditto.
7875 * gdb.base/nodebug.exp: Ditto.
7876 * gdb.base/opaque.exp: Ditto.
7877 * gdb.base/ptype.exp: Ditto.
7878 * gdb.base/scope.exp: Ditto.
7879 * gdb.base/setvar.exp: Ditto.
7880 * gdb.base/signals.exp: Ditto.
7881 * gdb.base/whatis.exp: Ditto.
7882 * gdb.c++/templates.exp: Ditto.
7883 * gdb.c++/virtfunc.exp: Ditto.
7884 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7885 whether or not to add -lstdc++ to the compile command line args.
7886
7887Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7888
7889 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7890 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7891 Increase timeout, a lot of single stepping might be needed if the
7892 target has no hardware watchpoints.
7893
7894Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7895
7896 * gdb.base/break.exp: Ignore compiler warnings when compiling
7897 break.c.
7898 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7899 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7900 from remote-sim.
7901 * gdb.base/exprs.exp: Add h8300 xfails.
7902 * gdb.base/funcargs.exp: Likewise.
7903 * gdb.base/nodebug.exp: Likewise.
7904 * gdb.base/printcmds.exp: Likewise.
7905 * gdb.base/ptype.exp: Likewise.
7906 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7907 h8300 xfails.
d63a86f8 7908 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7909 on the h8300.
7910 * gdb.base/funcargs.c: Explicitly make last constant argument to
7911 call_after_alloca_subr an unsigned long type.
7912 * gdb.base/return.c: Include stdio.h.
7913
7914Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7915
7916 * config/abug.exp: New file for the older Motorola Bug monitor
7917 that runs on the mvme13x series VME boards.
7918 * config/monitor.exp: Use the new config array for target settings
7919 if they exist.
7920
7921Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7922
7923 * sim-gdb.exp: Make the SH simulator allocate less space when
7924 it is targeted.
7925
7926Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7927
7928 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7929 test.
7930
7931Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7932
7933 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7934 "rs6000-*-*" for "list function in include file" when gcc compiled.
7935 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7936 for "p ctable1[120]".
7937 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7938 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7939 Remove setup_xfail for "rs6000-*-*" for
7940 "print 'scope0.c'::filelocal before run".
7941 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7942 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7943 since some compilers don't allow both options to be given
7944 on the same command line. Create object file and move it.
d63a86f8 7945
c906108c
SS
7946Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7947
7948 * gdb.base/corefile.exp: Always regenerate the core file, since
7949 we always regenerate the coremaker program. Detect special case
7950 where registers cannot be read from core file.
d63a86f8 7951
c906108c
SS
7952Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7953
7954 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7955 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7956 * gdb.c++/templates.exp: Only match on basename of file since
7957 some formats like xcoff don't encode directory information.
7958 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7959 and rs6000 AIX xcoff targets.
7960 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7961 * configure: Regenerate.
7962 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7963 here, rather than in distclean.
d63a86f8 7964
c906108c
SS
7965Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7966
7967 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7968 defined, and use it to compile the test case with -O2. The
7969 native compilation still uses no optimization.
7970 * gdb.base/mips_pro.c: Remove inline assembly code since
7971 it is compiled PIC by default, which results in assembler
7972 warnings that make the testsuite think the compilation
7973 was unsuccessful.
7974
7975Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7976
7977 * gdb.c++/misc.exp: Add note to message for
7978 "print s.a for foo struct" that this is a known gcc 2.7.2
7979 and earlier bug.
7980
7981Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7982
7983 * gdb.base/break.exp: Fix pattern for matching "Delete all
7984 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7985 setup_xfail for deleting all breakpoints test. Fix various
7986 timeout messages to include "(timeout)".
7987 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7988 for "p t_float_values2(3.14159,float_val2)".
7989 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7990 for "continue to call2g" when gcc compiled.
7991 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7992 "up to foo in langs.exp", "show language at foo in langs.exp",
7993 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7994 and "show language at fsub in langs.exp".
7995 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7996 "list line 1 in include file", "list message for lines past EOF",
7997 "list function in include file", "list list0.h:foo", and
7998 "list filename:function; nonexistant function".
7999 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
8000 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
8001 and "ptype t_char_array" to be for native cc only.
d63a86f8 8002
c906108c
SS
8003Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
8004
d63a86f8 8005 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
8006 setup_xfail for "print coremaker_bss", "print coremaker_ro",
8007 "print func2::coremaker_local", and "backtrace in corefile.exp".
8008
8009Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
8010
8011 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
8012 "bt in signals.exp". This problem only appears when running
8013 the testsuite, and then only intermittently.
8014
8015Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
8016
8017 * gdb.base/return.exp (return_tests): Differentiate between
8018 two tests of continuing.
8019
8020Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
8021
8022 * */Makefile.in (maintainer-clean): Remove config.log.
8023 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
8024 * gdb.c++/Makefile.in (PROGS): Add inherit.
8025 (clean): Remove *.ci.
8026
8027Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
8028
8029 * gdb.c++/misc.cc: Add test code from Mike Stump.
8030 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
8031
8032Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
8033
8034 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
8035 to "alpha-*-osf2*" and add comment.
8036 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
8037 setup_xfail for "step over execarg initialization" and
8038 "step over corearg initialization".
8039 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
8040 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
8041 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
8042 gcc compiled for "print coremaker_bss", "print coremaker_ro",
8043 "print func2::coremaker_local", and "backtrace in corefile.exp".
8044 * gdb.base/signals.exp: Build and source signals.ci.
8045 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
8046 to be for gcc only.
8047 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 8048
c906108c
SS
8049Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8050
8051 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
8052 Feb 3 procfs.c change.
8053
8054Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
8055
8056 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
8057
8058Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
8059
8060 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
8061 from dejagnu's apparent default of 10 seconds, which gives random
8062 results when running the tests over NFS on moderately loaded systems.
8063 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
8064
8065Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
8066
8067 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
8068 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
8069 result reports.
8070
8071Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
8072
8073 * configure.in (CY_AC_PATH_TCLH): Remove.
8074 * configure: Regenerate.
8075
8076Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
8077
8078 * gdb.c++/Makefile.in (clean): Add missing '{'.
8079
8080Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
8081
8082 * lib/gdb.exp: Provide a default value for noinferior.
8083
8084 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
8085 Load libgloss.exp.
8086
8087Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
8088
8089 * gdb.disasm/hppa.exp: Compile directly into an executable, use
8090 the executable, not the .o to run the tests from.
8091
8092Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
8093
8094 * gdb.base/break.exp: Don't test for program exit or exit status
8095 if $noresults if nonzero.
8096 * gdb.base/langs.exp: Likewise.
8097 * gdb.base/watchpoint.exp: Likewise.
8098
8099 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
8100 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
8101 trying to compile the testcase.
8102
8103Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
8104
8105 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
8106 * gdb.base/signals.exp (continue to handler): Likewise.
8107
8108Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
8109
8110 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
8111
8112 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
8113
8114Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
8115
8116 * gdb.base/corefile.exp: Recognize "not found" as failure
8117 when trying to determine if a core file was generated.
8118 If no core file was generate the first time, try again without
8119 the ulimit -c to work around braindamaged shells.
8120
8121Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
8122
8123 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
8124 [] tests with "test" and enclose string in quotes.
8125 * gdb.stabs/configure: Rebuild
d63a86f8 8126
c906108c
SS
8127Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
8128
8129 Changes in sync with expect:
8130 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
8131 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
8132 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
8133 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
8134 argument to AC_REQUIRE.
8135 * configure: Regenerated.
8136
8137Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
8138
8139 * gdb.base/corefile.exp: When generating a core, discard any
8140 error messages about ulimit not found and the "core dumped"
8141 message from the shell that runs the coredumper.
8142
8143Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
8144
8145 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
8146
8147 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
8148 which sed script to run. Expect failure for v_comb test
8149 on PA targets too.
d63a86f8 8150
c906108c
SS
8151Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
8152
8153 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
8154 "print func2::coremaker_local" and for "backtrace in corefile.exp"
8155
8156Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
8157
8158 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
8159 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
8160 "sparc-sun-solaris*" xfails for "p v_comb".
8161 * lib/gdb.exp (default_gdb_start): Fix typo.
8162 * gdb.base/corefile.exp: Allow "Core was generated by ..."
8163 messages to not include the full program name that caused
8164 the core dump since some systems (such as solaris) apparently
8165 truncate this path to about 80 characters.
8166 When generating a core file first try increasing the core file
8167 size limit to unlimited since some systems may default it to
8168 zero, and it is harmless to try it. Move the test for failing
8169 to generate a core file to where it will actually get executed.
8170 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
8171 new gdb result from g++ debug info improvements and make old
8172 pattern obsolescent. Also account for size_t differences
8173 (may be int or long).
8174 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
8175 initialization before function call is placed in the delay slot
8176 and thus appears to be skipped over by commands such as "next".
8177
8178Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
8179
8180 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
8181
8182Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
8183
8184 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
8185 input source file; fix code to compile test to deal with this
8186 convention.
8187 * gdb.c++/*.exp: Likewise.
8188
8189Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
8190
8191 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
8192 "bt in signals.exp".
8193
8194Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
8195
8196 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
8197 "step over execarg initialization" and
8198 "step over corearg initialization".
8199
8200Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
8201
8202 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
8203 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
8204
8205Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
8206
8207 From Rob Savoye (rob@poseidon.cygnus.com)
8208 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
8209 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
8210 configure.in}, gdb.disasm/{Makefile.in, configure.in},
8211 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
8212 configure.in}: Major reworking for autoconfig.
8213 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
8214 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
8215 New files.
8216 * config/unix-gdb.exp: Make GDB global.
8217 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
8218 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
8219 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
8220 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
8221 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
8222 term.exp, twice.exp, watchpoint.exp, whatis.exp},
8223 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
8224 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
8225 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
8226 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
8227 pr-8136.exp, result.exp, string.exp, tuples.exp},
8228 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
8229 to returns as necessary, arrange for test to compile own testcase
8230 executable.
8231 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 8232
c906108c
SS
8233Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
8234
8235 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
8236 clear_xfail at end of test which might not call either pass or fail.
8237 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
8238 "backtrace through signal handler".
8239
8240Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8241
8242 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
8243 continuing from a job control stop signal.
8244 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
8245
8246Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
8247
8248 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
8249 * gdb.base/corefile.exp: Likewise.
8250 * gdb.base/funcargs.exp: Likewise.
8251
8252Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
8253
8254 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
8255 * config/monitor.exp: Add support for setting baud rate.
8256
8257Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
8258
8259 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
8260 i*86-*-linux* xfails for "backtrace through signal handler".
8261 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
8262 "print func2::coremaker_local".
8263 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
8264 alpha-dec-osf2* xfail for
8265 "delete all breakpoints when none".
8266
8267Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
8268
8269 * gdb.base/break.exp: Change test that deletes all breakpoints
8270 when no user breakpoints are installed. A post 4.15 change
8271 causes gdb to no longer prompt in this case.
8272
8273Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8274
8275 * gdb.base/return.exp (return_tests): Change xfail for test
8276 "correct value returned double test" to stop xfailing at
8277 Solaris 2.5. Apparently the bug has been fixed.
8278
8279Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8280
8281 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8282 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8283
8284Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8285
8286 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8287 * gdb.disasm/hppa.s: Corresponding changes.
8288
8289Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8290
8291 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8292 makefile fragment.
8293 * config/mt-hpux: Deleted.
8294
8295Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8296
d63a86f8 8297 * Many files: When warning about suppressed tests due to a
c906108c
SS
8298 nonexistant test binary, avoid incrementing the warning count.
8299
8300Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8301
8302 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 8303
c906108c
SS
8304Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8305
8306 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8307 "sparc-*-solaris2*".
8308
8309Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8310
8311 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8312 Add global and local variables and initialize them.
8313 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8314 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8315 extracts the file name and terminating signal from the core file.
8316 * TODO: Remove note about tests for correct mapping of corefile.
8317 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8318 from optimizing it away.
8319 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8320 handles common blocks.
8321
8322Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8323
8324 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8325 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8326
8327Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8328
8329 * Makefile.in (maintainer-clean): New target, synonym for
8330 realclean.
8331 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8332 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8333 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8334 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8335 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8336 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8337
8338Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8339
8340 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8341 xfails when not gcc compiled for "print foo::funclocal".
8342 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8343 "print foo::funclocal at foo",
8344 "print 'scope1.c'::foo::funclocal at foo",
8345 "print foo::funclocal_bss at foo",
8346 "print 'scope1.c'::foo::funclocal_bss at foo",
8347 "print foo::funclocal_ro at foo",
8348 "print 'scope1.c'::foo::funclocal_ro at foo",
8349 "print bar::funclocal at foo" and
8350 "print 'scope1.c'::bar::funclocal at foo".
8351 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8352 gcc compiled for "print foo::funclocal at bar".
8353 Expand all messages to ensure that they identify that
8354 the test is at bar().
8355 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8356 gcc compiled for:
8357 "ptype on opaque struct pointer (statically)",
8358 "ptype on opaque struct tagname (statically)",
8359 "ptype on opaque struct pointer (dynamically) 1",
8360 "ptype on opaque struct tagname (dynamically) 1",
8361 "ptype on opaque struct pointer (dynamically) 2" and
8362 "ptype on opaque struct tagname (dynamically) 2
8363 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8364 gcc compiled for:
8365 "p datalocal"
8366 "whatis datalocal",
8367 "ptype datalocal",
8368 "p bsslocal",
8369 "whatis bsslocal", and
8370 "ptype bsslocal".
8371 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8372 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8373 when not gcc compiled.
8374 * gdb.base/funcargs.exp (float_and_integral_args): Add
8375 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8376 compiled.
8377 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8378 "backtrace from call6a" when not gcc compiled.
8379 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8380 "backtrace from call7a" when not gcc compiled.
8381 * gdb.base/callfuncs.exp (do_function_calls):
8382 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8383 "p t_char_array_values(char_array_val2,char_array_val1)",
8384 "p t_char_array_values(char_array_val1,char_array_val2)",
8385 "p t_char_array_values("carray 1","carray 2")",
8386 "p t_char_array_values("carray 1",char_array_val2)",
8387 "p t_char_array_values(char_array_val1,"carray 2")",
8388 "p sum_args(1,{2})",
8389 "p sum_args(2,{2,3})",
8390 "p sum_args(3,{2,3,4})",
8391 "p sum_args(4,{2,3,4,5})"
8392 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8393 "backtrace in corefile.exp" when not gcc compiled.
8394
8395Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8396
8397 * gdb.base/signals.exp: Rewrite `handle all print' test as
8398 a procedure. Accept blanks or TABs as whitespace, increase
8399 timeout and expect input buffer size for the large output
8400 from the command. Remove "i*86-*-bsdi2.0" xfail.
8401
8402Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8403
8404 * gdb.base/setvar.exp: Add new testcases for truncation when
8405 assigning invalid values to bitfields.
8406
8407Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8408
d63a86f8 8409 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
8410 mips-sgi-irix* xfail for
8411 "call inferior func with struct - returns char *"
8412 and fix test so that an optional (unsigned char *) cast is
8413 accepted in the result.
8414
8415Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8416
8417 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8418 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8419 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8420 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8421 that accidentally got checked in.
8422
8423Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8424
d63a86f8 8425 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8426 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8427 compiled test.
8428 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8429 Add mips-sgi-irix5* xfail for not gcc compiled.
8430 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8431 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8432 "p top", "whatis top", "p middle", and "whatis middle".
8433 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8434 "whatis signed char" for not gcc compiled.
8435 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8436 "set variable signed char=-1 (-1)" and
8437 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8438 * gdb.base/funcargs.exp (float_and_integral_args):
8439 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8440 Add mips-sgi-irix* xfail when not gcc compiled for
8441 "continue to call2b".
8442 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8443 "continue to call2g".
8444 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8445 "backtrace from call6a"
8446 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8447 "backtrace from call7k".
8448 Add mips-sgi-irix5* xfail when not gcc compiled for
8449 "backtrace from call7a".
8450 (localvars_after_alloca): Fix gdb_test cmds for
8451 "print * after runto ...".
8452 Remove rs6000-*-* xfails for
8453 "print i after runto localvars_after_alloca" and
8454 "print l after runto localvars_after_alloca"
8455 for all compilers.
8456 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8457 when not compiled with gcc, for:
8458 "print signed char == (minus)",
8459 "print signed char != (minus)",
8460 "print signed char < (minus)",
8461 "print signed char > (minus)".
8462 * gdb.base/callfuncs.exp (do_function_calls):
8463 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8464 "call inferior func with struct - returns char *".
d63a86f8 8465 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8466 "correct value returned double test" to include Solaris 2.4.
8467 * gdb.base/funcargs.exp (float_and_integral_args):
8468 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 8469
c906108c
SS
8470Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8471
8472 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8473 enumeration bitfields if compiling with GNU C.
8474 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8475 to empty' prompt.
8476
8477Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8478
8479 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8480 test for PRO targets.
8481
8482 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8483 breakpoints in the inferior at any given time by making
8484 two groups of breakpoints for call2*, call6* and call7*
8485 tests.
8486
8487Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8488
8489 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8490 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8491 from optimizing it away.
8492 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8493 "call inferior func with struct".
8494
8495Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8496
8497 * configure.in: Only configure gdb.chill for particular targets.
8498
8499Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8500
8501 * gdb.base/Makefile.in: Add action to .c.o transformation
8502 rule that generates a .ci file for each .o file and remove
8503 explicit .c.o rules except for callfuncs.o.
8504 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8505 generates a .ci file for each .o file and remove explicit
8506 .cc.o rules.
8507 (clean): Remove *.tmp *.ci files.
8508 (EXECUTABLES): Remove templ-info.exp.
8509 * gdb.base/compiler.c: New file.
8510 * gdb.c++/compiler.cc: New file
8511 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8512 Change rs6000-*-* xfail for
8513 "print 'scope0.c'::filelocal_ro" and
8514 "print 'scope1.c'::filelocal" and
8515 "print 'scope1.c'::filelocal_bss" and
8516 "print 'scope1.c'::filelocal_ro" and
8517 "print 'scope1.c'::foo::funclocal" and
8518 "print 'scope1.c'::foo::funclocal_ro" and
8519 "print 'scope1.c'::bar::funclocal" and
8520 "print 'scope0.c'::filelocal_ro" and
8521 "print 'scope1.c'::filelocal at foo" and
8522 "print 'scope1.c'::filelocal_bss at foo" and
8523 "print 'scope1.c'::filelocal_ro at foo" and
8524 "print 'scope1.c'::foo::funclocal at foo" and
8525 "print 'scope1.c'::foo::funclocal_bss at foo" and
8526 "print 'scope1.c'::foo::funclocal_ro at foo" and
8527 "print 'scope1.c'::bar::funclocal at foo" and
8528 "print 'scope0.c'::filelocal_ro" and
8529 "print 'scope1.c'::filelocal" and
8530 "print 'scope1.c'::filelocal_bss" and
8531 "print 'scope1.c'::filelocal_ro" and
8532 "print 'scope1.c'::foo::funclocal" and
8533 "print 'scope1.c'::foo::funclocal_bss" and
8534 "print 'scope1.c'::foo::funclocal_ro" and
8535 "print 'scope1.c'::bar::funclocal" and
8536 "print 'scope1.c'::bar::funclocal_bss"
8537 to only be xfail'd when not compiled with gcc.
d63a86f8 8538 Add rs6000-*-* xfail for
c906108c
SS
8539 "print 'scope0.c'::filelocal_bss before run"
8540 when compiled with gcc.
8541 (test_at_main): Add rs6000-*-* xfail for
8542 "print filelocal_ro in test_at_main"
8543 when compiled with gcc.
8544 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 8545 Add rs6000-*-aix* xfail for
c906108c
SS
8546 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8547 "ptype t_char_array", not compiled with gcc.
8548 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8549 xfail for "list foo (in include file)" when gcc compiled.
8550 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8551 (integral_args): Add rs6000-*-* xfail for
8552 "run to call0a" if not compiled with gcc.
8553 (unsigned_integral_args): Add rs6000-*-* xfail for
8554 "run to call1a" if not compiled with gcc.
8555 (float_and_integral_args): Add rs6000-*-* xfail for
8556 "run to call2a" if not compiled with gcc and for
8557 "continue to call2b" for any compiler.
8558 Add rs6000-*-* xfail to
8559 "print f1 after run to call2a" for gcc compiled.
8560 (discard_and_shuffle): Add rs6000-*-* xfail for
8561 "run to call6a".
8562 (shuffle_round_robin): Add rs6000-*-* xfail for
8563 "backtrace from call7a" if not compiled with gcc.
8564 Add rs6000-*-* xfail for
8565 "backtrace from call7b" if compiled with gcc.
8566 (call_after_alloca): Add rs6000-*-* xfail for
8567 "print c in call_after_alloca" and
8568 "print s in call_after_alloca" and
8569 "backtrace from call_after_alloca_subr"
8570 if not compiled with gcc.
8571 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8572 "print c in localvars_in_indirect_call" and
8573 "print c in localvars_in_indirect_call" and
8574 "backtrace in indirectly called function" and
8575 "stepping into indirectly called function"
8576 if not compiled with gcc.
8577 (localvars_after_alloca): Add rs6000-*-* xfail for
8578 "print c after runto localvars_after_alloca" and
8579 "print s after runto localvars_after_alloca" and
8580 "print i after runto localvars_after_alloca" and
8581 "print l after runto localvars_after_alloca"
8582 for all compilers.
8583 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8584 than whatis-info.exp.
8585 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8586 than opaque-info.exp.
8587 Setup rs6000-*-* xfail for
d63a86f8 8588 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8589 "ptype on opaque struct pointer (dynamically)" when
8590 not compiled with gcc.
8591 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8592 rather than callf-info.exp.
8593 (do_function_calls): Add clear_xfail for rs6000-*-* for
8594 "p t_float_values2(3.14159,float_val2)". Seems to work
8595 fine there, both with xlc and gcc. Need to find out what
8596 it is doing right and fix other platforms.
8597 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8598 "call inferior func with struct - returns int",
8599 "call inferior func with struct - returns long",
8600 "call inferior func with struct - returns float",
8601 "call inferior func with struct - returns double",
8602 "call inferior func with struct - returns char *",
8603 but only if not gcc compiled (presumes xlc compiled).
8604 Change rs6000-*-* xfails for
8605 "call inferior func with struct - returns char" and
8606 " call inferior func with struct - returns short" to only
8607 xfail if not using gcc.
8608 (clean mostlyclean): Remove *.ci and *.tmp files.
8609 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8610 than templ-info.exp.
8611 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8612 Add rs6000-*-* xfail for "up to foo in langs.exp"
8613 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8614 when not gcc compiled.
d63a86f8 8615
c906108c
SS
8616Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8617
8618 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8619 * gdb.base/corefile.exp: Likewise.
8620 * gdb.base/list.exp: Likewise.
8621 * gdb.base/scope.exp: Likewise.
8622 * gdb.base/siganls.exp: Likewise.
8623
8624 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8625 compiler output.
8626 * gdb.base/whatis.exp: Likewise.
8627
8628Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8629
8630 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8631 failure (opcode table has been fixed to match reality).
8632
8633Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8634
8635 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8636 "call inferior func with struct - returns char",
8637 "call inferior func with struct - returns short"
8638
8639 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8640 "print 'scope0.c'::filelocal at main",
8641 "print 'scope0.c'::filelocal_bss in test_at_main",
8642 "print 'scope0.c'::filelocal at foo",
8643 "print 'scope0.c'::filelocal_bss in test_at_foo",
8644 "print 'scope0.c'::filelocal at bar",
8645 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 8646
c906108c
SS
8647 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8648 in source file 1". This bug seems to have been fixed with both
8649 gcc and native cc (was native assembler bug?).
8650
8651Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8652
8653 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8654 "backtrace through signal handler" to "i*86-*-sysv4*".
8655 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8656 continue" case. Add "known SVR4 bug" to fail message.
8657 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8658 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8659 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8660 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8661 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8662 "up to foo in langs.exp", "show language at foo in
8663 langs.exp", "up to cppsub_ in langs.exp", "show
8664 language at cppsub_ in langs.exp", "up to fsub in
8665 langs.exp", and "show language at fsub in langs.exp".
8666 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8667 "bactrace in corefile.exp".
8668 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8669 "call inferior function with struct - returns float" and
8670 "call inferior function with struct - returns double".
d63a86f8 8671
c906108c
SS
8672Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8673
8674 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8675 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8676 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8677 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8678
8679Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8680
8681 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8682 (or overriden) "CHILL" macro rather then bare "gcc".
8683 Also look for ../../gcc/xgcc since that is what we will
8684 actually need, not "Makefile". Remove following assignment
8685 of CHILL to CHILL_FOR_TARGET because that results in
8686 recursive definition.
8687
8688Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8689
8690 * gdb.base/corefile.exp: Change xfail for backtrace in
8691 corefile.exp from linuxaout to all linux.
8692 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8693 cases where we miss the breakpoint at the signal handler
8694 for some reason. Setup xfail for linuxoldld/linuxaout and
8695 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8696 hitting SIGURG breakpoint.
8697 * gdb.base/signals.exp: Setup xfail for "next" acting like
8698 continue to add linuxoldld. Setup xfail for all linux for
8699 "next to handler in signals_tests_1", "backtrace in
8700 signals_tests_1", "continue to func1", "pass SIGUSR1",
8701 and continue to handler".
8702
8703Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8704
8705 * Update all FSF addresses except those in COPYING* files.
8706
8707Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8708
8709 * gdb.base/a2-run.exp: Change messages to be more explicit about
8710 the status of args, and quote binfile in results.
8711
8712Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8713
8714 * gdb.base/callfuncs.exp: Add tests for passing structs to
8715 inferior functions and return various types.
8716 * gdb.base/callfuncs.c: Add functions to receive a struct
8717 and return a member of the struct, in various types.
8718
8719Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8720
8721 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8722
8723Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8724
8725 * config/vxworks29k.exp: New file, sources vxworks.exp.
8726
8727Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8728
8729 * config/gdbremote.exp: New file. Testing framework using
8730 gdbserver.
8731
8732Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8733
8734 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8735 "call function when asleep" and "send end of file".
8736 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8737 for "backtrace in corefile.exp".
8738 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8739 for "backtrace through signal handler".
8740 * gdb.base/corefile.exp: Make sure we actually generate a core file
8741 before trying the core tests. Some systems allow the user to suppress
8742 generation of core files and default to that (linux for example).
8743 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8744 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8745
8746Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8747
8748 * gdb.threads: New directory with some crude multi-threaded
8749 gdb tests (step.exp and step2.exp).
8750 * config/mt-lynx (STEP_EXECUTABLE): Define.
8751 (THREADFLAGS): Define.
8752
8753Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8754
8755 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8756
8757 * gdb.base/signals.exp: Disable whole file for lynx until
8758 further notice.
8759
8760 * gdb.base/signals.exp: xfail test where "next" acts like
8761 "continue" for lynx.
8762
8763 * gdb.base/interrupt.exp: xfail test for calling function while
8764 inferior is asleep for lynx.
8765
8766 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8767 than one cr-lf after each command.
8768
8769Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8770
8771 * configure.in: Reinstate setting of stabsdirs variable, fix
8772 typo in setting up configdirs for native builds.
8773
8774 * gdb.base/return.exp: Fix typo in return double test.
8775 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8776 compiler from optimizing them away.
8777
8778Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8779
8780 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8781 sequences to be echo'd by gdb when using gdb_test.
8782 * gdb.chill/chexp.exp: Likewise.
8783 * gdb.fortran/exprs.exp: Likewise
8784
8785Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8786
8787 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8788 after the inferior gdb has started.
8789
8790 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8791 after each command.
8792 * gdb.base/funcargs.exp: Likewise.
8793 * gdb.base/gdbvars.exp: Likewise.
8794 * gdb.base/interrupt.exp: Likewise.
8795 * gdb.base/list.exp: Likewise.
8796 * gdb.base/watchpoint.exp: Likewise.
8797 * gdb.c++/demangle.exp: Likewise.
8798 * gdb.c++/inherit.exp: Likewise.
8799 * gdb.chill/chexp.exp: Likewise.
8800 * gdb.fortran/exprs.exp: Likewise.
8801
8802 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8803 test if we can't handle IO to/from the inferior.
8804
8805 * gdb.c++/misc.exp: Always check for a program already being
8806 started after sending a "run" command to gdb.
8807
8808 * gdb.base/twice.exp: Start with a fresh gdb.
8809
8810 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8811 only depend on gdb's expression code, not the chill runtime.
8812
8813 * gdb.base/return.c: Put return values into variables so we
8814 can have gdb print them rather than depending on the program
8815 to print them.
8816 * gdb.base/return.exp: Corresponding changes.
8817
8818 * lib/gdb.exp: Provide default value for noinferiorio.
8819 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8820 the inferior.
8821
8822 * gdb.base/break.exp: Always check for a program already being
8823 started after sending a "run" command to gdb.
8824 (text_next_with_recursion): Don't check the output from the
8825 program's printf statement. Instead just make sure the program
8826 exited.
8827
8828 * gdb.base/commands.exp: Protect tests which need arguments with
8829 $noargs conditionals.
8830
8831Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8832
8833 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8834 of structure member arrays to match gdb/valops.c:value_addr change.
8835
8836Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8837
8838 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8839 cases.
8840
8841Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8842
8843 * configure.in (configdirs): Remove gdb.chill from default list
8844 of subdirs and then add it back in only if doing a native build.
8845 The current chill compiler does not yet work in any cross build.
8846 * Revert all signal changes from Jul 6.
8847 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8848 for sh-hms targets, allowing these tests to link, with no other
8849 changes. Testing is suppressed by setting "nosignals" in site.exp.
8850
8851Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8852
8853 * configure.in (signaldirs): Define and add to configdirs for all
8854 targets except some specific ones that are known to not support signals.
8855 Also clean up formatting.
8856 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8857 (signals, sigall): Remove rules to build.
8858 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8859 Moved to new gdb.signals directory.
8860 * gdb.signals: New test directory.
8861 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8862 signals.c signals.exp}: New or moved files.
8863
8864Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8865
8866 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8867
8868Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8869
8870 * gdb.base/return.exp: Xfail `return double' test failure
8871 on at least Solaris 2.3 and handle future/past versions on
8872 a case by case basis as appropriate. Also update message
8873 to include i*86 failures.
8874
8875Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8876
8877 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8878
8879 * lib/gdb.exp: Fix comment which erroneously identified
8880 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8881 gdb_file_cmd not gdb_load).
8882 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8883
8884 * gdb.base/setvar.exp: Make test names consistent between pass and
8885 fail cases. Use gdb_test more.
8886
8887Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8888
8889 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8890
8891Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8892
8893 * gdb.base/help.exp: Fix expected help string for `show commands'.
8894
8895Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8896
8897 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8898
8899 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8900 of a text section.
8901
8902Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8903
8904 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8905 that loop eventually terminates. Fix Connection refused logic so
8906 that testsuite will expire nicely.
8907
8908Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8909
8910 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8911 config/rom68k.exp: New tcl glue for the appropriate monitors.
8912 These all just end up calling monitor.exp.
8913 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8914 refused' by retrying. Cleanup some timeout issues.
8915 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8916 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8917 callers don't have to set/restore global timeout variable.
8918
8919 * The following set of changes centralizes management of the global
8920 timeout variable. This way, it can be set in one target dependent
8921 place instead of dozens of places scattered throughout the test suite.
8922 If you need to lengthen a timeout, then you should either set timeout
8923 in one of the config/{target}.exp files, or multiply it by a factor.
8924 Setting it to an absolute value is always going to lose for some
8925 targets.
8926 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8927 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8928 * gdb.base/funcargs.exp: Don't set timeout.
8929 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8930 * gdb.base/printcmds.exp (test_print_string_constants
8931 test_print_array_constants): Don't set timeout.
8932 * gdb.base/ptype.exp: Don't set timeout.
8933 * gdb.base/recurse.exp: Don't set timeout.
8934 * gdb.base/return.exp: Don't set timeout.
8935 * gdb.base/watchpoint.exp: Don't set timeout.
8936 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8937 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8938
8939Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8940
8941 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8942
8943Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8944
8945 * lib/gdb.exp: Disable chill tests for irix5.
8946
8947Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8948
8949 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8950 each test pass or fail.
8951
8952Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8953
8954 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8955 xlc not gcc.
8956
8957Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8958
8959 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8960
8961Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8962
8963 * config/est.exp: Fix copyright and comments. Remove dead code.
8964 Use targetname, serialport and baud variables instead of fixed
8965 constants.
8966 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8967 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8968
8969Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8970
8971 * gdb.base/watchpoint.exp: Don't run
8972 test_watchpoint_triggered_in_syscall for sunos.
8973
8974Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8975
8976 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8977 they don't seem to exist. Do include stdio.h.
8978
8979Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8980
8981 * gdb.base/a1-selftest.exp: Add alpha xfail.
8982
8983Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8984
8985 * gdb.base/watchpoint.c (main): Prompt before calling read().
8986 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8987 Revise accordingly. Remove cruft about sending "123" several
8988 times, until it gets noticed. Clean up the "print buf[0]" stuff
8989 so that it passes or fails, and waits for prompts in the usual way.
8990
8991Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8992
8993 * gdb.base/recurse.exp: Fix comment.
8994
8995 * TODO: Remove item about printing variables in nodebug.exp. Add
8996 item about enabling tests which are only run on some targets.
8997
8998 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8999 fail, make test names unique, use new gdb_test convention
9000 regarding pattern, use gdb_test more, etc.).
9001
9002 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
9003 fail, make test names unique, etc.).
9004
9005Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9006
9007 * gdb.base/nodebug.c: Change return type of top and middle to
9008 short.
9009 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
9010 are fixed by the recent mdebugread.c changes. Allow `short ()'
9011 as type for top and middle.
9012
9013Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9014
9015 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
9016 nearly as I can tell, the whole thing was an accident in Stu's
9017 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
9018 to replace a send/expect pair with gdb_test, but ended up only
9019 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
9020 of 30 Mar 1995 took care of it, but left this vestigial comment
9021 which I am now nuking.
9022
9023Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9024
9025 * gdb.base/break.exp: Look for different line number for
9026 breakpoint at main depending on usestubs.
9027
9028Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9029
9030 * gdb.base/list.exp: Adjust some alternate expect patterns to
9031 match recent list0.c change. Add alternate expect pattern for
9032 output from `list default lines around main' for optimizing
9033 compilers.
9034
9035Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9036
9037 * lib/gdb.exp: If nosignals is not set, set it to 0.
9038
9039Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
9040
9041 * config/slite-gdb.exp: Responds to load symbol table prompt.
9042 * gdb.base/break.exp: Adjust line number, fix rerun.
9043 * gdb.base/langs0.c: Add #ifdef usestubs.
9044
9045Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
9046
9047 * gdb.base/list.exp: Adjust line contents after adding new lines in
9048 list0.c. Also fix a syntax error.
9049
9050 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
9051 * gdb.base/break.exp: ditto.
9052 * gdb.base/list.exp: ditto.
9053 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
9054 * gdb.base/run.c: ditto.
9055 * gdb.base/list0.c: ditto.
9056 * gdb.base/funcargs.c: ditto.
9057
9058Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
9059
9060 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
9061 $targetname, $serialport and $baud instead of hardwired variables.
9062 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
9063 target doesn't support signals.
9064
9065Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
9066
9067 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
9068
9069Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9070
9071 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
9072 Don't rely on the value of an auto variable before it has been
9073 initialized. Use gdb_test more.
9074
9075Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9076
9077 * lib/gdb.exp (default_gdb_version): A version number must start
9078 with a digit, but other than that contains all characters up to
9079 the first whitespace character.
9080
9081Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9082
9083 * gdb.base/commands.exp (breakpoint_command_test): New tests.
9084
9085Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9086
9087 * gdb.c++/*.exp: Warn if executable does not exist. The original
9088 reason for skipping the warning was that configure.in sometimes
9089 intentionally skipped building the executables but the tcl code
9090 had no way of knowing. That (a) was always bogus with respect to
9091 error handling, (b) is no longer true (right now there is no way
9092 to skip C++ tests).
9093
9094 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
9095
9096Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9097
9098 * gdb.base/list.exp: Add expect patterns for output from
9099 SunPRO compiled executables.
9100 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
9101 types.
9102
9103Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9104
9105 * gdb.base/break.exp (test_next_with_recursion): Accept any line
9106 number (we are already testing that the correct source line text
9107 gets printed).
9108
9109 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
9110 that is what is intended, but something needed to be done to get
9111 sunos4 native working again.
9112
9113 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
9114
9115 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
9116 apparently went with a (very) old xfail.
9117
9118Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
9119
9120 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
9121 runto_main is a proc in gdb.exp that will do 'step' for target use
9122 stubs.
9123 * gdb.base/exprs.exp: ditto.
9124 * gdb.base/interrupt.exp: ditto.
9125 * gdb.base/opaque.exp: ditto.
9126 * gdb.base/printcmds.exp: ditto.
9127 * gdb.base/ptype.exp: ditto.
9128 * gdb.base/scope.exp: ditto.
9129 * gdb.base/setvar.exp: ditto.
9130 * gdb.base/signals.exp: ditto.
9131 * gdb.base/twice.exp: ditto.
9132 * gdb.c++/classes.exp: ditto.
9133 * gdb.c++/inherit.exp: ditto.
9134 * gdb.c++/templates.exp: ditto.
9135 * gdb.base/break.exp: no run and hit main for stubs. Change line
9136 numbers for breakpoints and info breakpoint.
9137 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
9138 breakpoint().
9139 * gdb.base/callfuncs.c: ditto.
9140 * gdb.base/exprs: ditto.
9141 * gdb.base/interrupt.c: ditto.
9142 * gdb.base/opaque0.c: ditto.
9143 * gdb.base/printcmds.c: ditto.
9144 * gdb.base/ptype.c: ditto.
9145 * gdb.base/scope0.c: ditto.
9146 * gdb.base/setvar.c: ditto.
9147 * gdb.base/signals.c: ditto.
9148 * gdb.base/twice.c: ditto.
9149 * gdb.c++/misc.cc: ditto.
9150 * gdb.c++/templates.cc: ditto.
9151
9152Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9153
9154 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
9155
9156 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
9157 somewhere between `read' and `main.c'. I'm pretty sure the
9158 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
9159 and it isn't particularly useful.
9160
9161 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
9162
9163Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9164
9165 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
9166
9167Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
9168
9169 * config/mt-slite: add LIBS and -nostdlib.
9170 * config/slite-gdb.exp: add this new file to support sparclite target.
9171
9172Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
9173
9174 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
9175
9176 * gdb.base/a2-run.exp: Change argument to istarget from
9177 "*-*-vxworks" to "*-*-vxworks*".
9178 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
9179
9180Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
9181
9182 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
9183 will not runto main but do a 'step' to step out of breakpoint().
9184 * config/mt-slite: add -Dusestubs.
9185
9186Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9187
9188 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
9189 instead of just @.
9190
9191 * gdb.base/signals.exp: Add test for "handle all print".
9192 * TODO: Remove "handle all print". Also remove item about
9193 checking copyright date (I don't like the idea of a spurious FAIL
9194 based on when we run the tests).
9195
9196 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
9197 for SunOS4 (reason for failure not investigated). Remove
9198 redundant test for $binfile.
9199
9200 * gdb.base/nodebug.c (array_index): Call malloc.
9201
9202 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
9203
9204Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
9205
9206 * gdb.base/recurse.exp: Update gdb_test invocation to use new
9207 conventions and slightly simplify the matching regexp.
9208
9209Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9210
9211 * gdb.base/break.exp: Update gdb_test invocation to use new
9212 convention.
9213
9214 * lib/gdb.exp: If noargs is not set, set it to 0.
9215
9216 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9217 tests unique.
9218
9219 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
9220
9221Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9222
9223 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
9224 one argument of type "<non-float parameter>".
9225
9226Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
9227
9228 * config/rom68k.exp: New file to support Motorola IDP board.
9229 * gdb.base/a2-run.exp: Skip this file if noargs is set.
9230 * gdb.base/break.c: Change things around so that this program
9231 doesn't depend upon args. This is necessary to make remote
9232 targets work (in general, they can't take args).
9233 * gdb.base/break.exp: Don't try to send args to program. Don't
9234 expect output. Also, replace lots of code with gdb_test.
9235
9236Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9237
9238 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
9239 printing of '\'' (which is what the comment says we are testing,
9240 even though we were not), not '''.
9241 (test_integer_literals_rejected): Test that printing ''' is an error.
9242
9243 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9244 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
9245 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
9246 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
9247 Use gdb_test not test_print_accept.
9248 * lib/gdb.exp: Remove test_print_accept.
9249
9250 * gdb.base/signals.exp (signal_tests_1): Make pass message
9251 consistent with fail message.
9252
9253 * gdb.base/whatis.exp: Remove xfails for printing char vs.
9254 unsigned char; the bug (PR 1821) is fixed.
9255
9256 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
9257
9258 * gdb.base/scope.exp (test_at_localscopes): Call pass for
9259 successful tests--makes xfailing them work right.
9260
9261Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9262
9263 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
9264 only \r\n, not .*. The test can pass .* as the last thing in
9265 $pattern if that is what it wants. In addition to providing this
9266 flexibility, this change should speed up pattern matching in cases
9267 where the pattern already ended with .* (there were a number of
9268 them). This change also helps catch bad patterns--in the old
9269 scheme the typo "char \*" instead of "char \\*" would pass. Now
9270 it is caught.
9271 * Many .exp files: Update callers.
9272
9273 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9274 clearer and does not spuriously match multiple ('s. Likewise for
9275 ) and *.
9276
9277 * gdb.base/nodebug.exp: Test ability to call a function and pass
9278 it a string (even with no debugging info).
9279
9280 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9281 "p '\'", which is the same as "p ''" once tcl gets done with
9282 quoting, to "p '\\'", which I suspect is what is intended (one
9283 backslash gets sent to GDB).
9284
9285 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9286
9287Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9288
9289 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9290 1817) was fixed literally years ago.
9291
9292Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9293
9294 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9295 test, it causes stepping out of call_after_alloca_subr with
9296 optimizing compilers.
9297 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9298 fails.
9299
9300 * gdb.c++/templates.exp: Source templ-info.exp only if
9301 the templates executable exists.
9302
9303 * gdb.c++/misc.cc (class Contains_static_instance,
9304 class Contains_nested_static_instance),
9305 gdb.c++/classes.exp (test_static_members): Test printing of
9306 a class that contains a static instance of the class.
9307
9308Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9309
9310 * gdb.base/langs2.c (cppsub_): Don't prototype.
9311 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9312 only, I believe).
9313
9314Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9315
9316 * lib/gdb.exp (skip_chill_tests): New procedure.
9317
9318 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9319
9320Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9321
9322 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9323 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9324
9325Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9326
9327 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9328
9329 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9330 disassemble 8, not 16, instructions for part 4.
9331
9332 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9333 support the latter anymore.
9334
9335 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9336 -DNO_PROTOTYPES.
9337 * gdb.base/callfuncs.c: Control use of prototypes based on
9338 NO_PROTOTYPES, not __STDC__.
9339 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9340 t_float_values2 tests if prototypes in use.
9341
9342 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9343 t_double_values): When checking differences against DELTA, check
9344 that difference is within the range (-DELTA,DELTA), not just
9345 (-infinity,DELTA).
9346
9347Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9348
9349 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9350 'file' command firts, then 'target', then 'load', this is due to gdb
9351 target set up.
9352 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9353
9354Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9355
9356 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9357 FP load/store variants.
9358 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9359
9360Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9361
9362 * gdb.base/term.exp: Do not give a warning if not native, it is
9363 not an abnormal condition.
9364
9365Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9366
9367 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9368 t_char_array".
9369
9370Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9371
9372 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9373 are getting the version number.
9374
9375 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9376 if not native, it is not an abnormal condition.
9377
9378Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9379
9380 * lib/gdb.exp: Just use "file exists", rather than undocumented
9381 dejagnu procedure "findfile".
9382
9383Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9384
9385 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9386 (LDFLAGS): Set to -Xlinker -Ur.
9387
9388 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9389 Removed, these values are set by lib/gdb.exp.
9390
9391 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9392
9393Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9394
9395 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9396 of replicating gdb startup code.
9397
9398 * config/mt-vxworks (LDFLAGS): Set to -r.
9399 (CFLAGS_FOR_TARGET): Removed.
9400
9401 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9402 (gdb) and gdb for vxworks uses (vxgdb).
9403
9404 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9405 executable is not in the tree and host != target, use sed and
9406 program_transform_name to determine the gdb name used by the
9407 target.
9408
9409 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9410 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9411
9412Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9413
9414 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9415 floats, chars, and shorts where there are ANSI-style function
9416 definitions.
9417
9418 * gdb.base/langs.exp, gdb.base/langs*: New test.
9419 * gdb.base/Makefile.in: Build it.
9420 * TODO: Remove item about checking that C names don't get C++
9421 demangling applied; this test tests it.
9422
9423Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9424
9425 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9426 went with the const70 xfail. The xfail went away a year ago.
9427
9428 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9429
9430 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9431 for hp300.
9432
9433 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9434
9435 * gdb.base/a1-selftest.exp: Don't run on hp300.
9436
9437Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9438
9439 * Makefile.in (site.exp): Set host_alias and target_alias as well
9440 as host_triplet and target_triplet.
9441
9442Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9443
9444 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9445
9446 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9447 places as other ecoff systems).
9448
9449 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9450 ultrix.
9451
9452Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9453
9454 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9455 remove them.
9456 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9457 variable and "variable" in addition to "data variable".
9458 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9459
9460 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9461 2.
9462 * gdb.base/list1.c (long_line): Add additional statement at start
9463 of function.
9464 * gdb.base/list.exp (test_forward_search): Update line number to
9465 reflect new statement.
9466
9467Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9468
9469 * gdb.base/signals.exp: Reinitialize searched source directories
9470 after gdb_start call.
9471
9472Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9473
9474 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9475 * gdb.stabs/Makefile.in: Likewise.
9476
9477 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9478 change. Instead split the tests into smaller pieces.
9479 * gdb.disasm/hppa.s: Corresponding changes.
9480
9481Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9482
9483 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9484 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9485
9486 * gdb.base/funcargs.exp: Modify many tests so that every test
9487 either passes or fails. Make some test names unique.
9488
9489Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9490
9491 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9492 Call stty to set interrupt character.
9493
9494 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9495 for HP assembler versus GNU assembler based on actual behavior of
9496 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9497
9498 * TODO: Suggest a few more stepping tests.
9499
9500Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9501
9502 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9503 restart GDB for h8300 after a continue.
9504 (return): Add pattern to match a29k-udi behavior.
9505 * gdb.base/nodebug.exp: Remove obsolete comment.
9506 * gdb.base/regs.exp: New file, testing of register displays.
9507 * gdb.base/return.exp: Fix typo in reference to $objdir.
9508 * gdb.base/whatis.exp: Always start with a fresh GDB.
9509
9510Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9511
9512 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9513 higher, these tests generate a lot of output.
9514
9515Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9516
9517 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9518 code following the catch silently ignored some errors; without the
9519 catch they should be thrown like any other tcl error. Also, the
9520 catch used "" instead of {} which meant all the callers who wanted
9521 to include one of the characters "[]$ had to quote it an extra time.
9522 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9523 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9524 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9525 Remove extra quoting.
9526
9527Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9528
9529 * gdb.base/commands.exp: Make test names unique; every test either
9530 passes or fails. Update some comments.
9531
9532 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9533
9534Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9535
9536 The following fixes a FAIL caused by the fact that the alpha stabs
9537 configuration didn't use the ".if alpha" code in weird.def.
9538 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9539 bit pointer, so the 32 bit version works even on the alpha.
9540 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9541 Remove the stuff which allowed us to have separate versions for
9542 alpha and everything else.
9543
9544 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9545 regexp which "info func operator\[\](" is supposed to match. Fix
9546 string to send to GDB. Note that GDB still doesn't work right. Add a
9547 new test for "info func .perator\[\](" which GDB does handle correctly.
9548
9549 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9550
9551Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9552
9553 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9554 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9555 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9556 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9557 it makes the tests harder to understand and confuses test-o-matic.
9558 The preferred style is that each test provides a PASS or a FAIL,
9559 and has a unique message (e.g. "continue #54" not just "continue")
9560 which is the same for the pass and the fail.
9561 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9562 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9563 to lib/gdb.exp.
9564 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9565 prt_accept which was basically the same thing. Likewise for
9566 test_print_reject and prt_reject.
9567 * lib/gdb.exp (test_print_reject): Add some more error message
9568 patterns to match from the former printcmds.exp (prt_reject).
9569 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9570 One defect of the passcount stuff is that some of it failed to
9571 report XPASS where appropriate.
9572 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9573 stuff before and after arg in expected pattern.
9574 (test_paddr_operator_functions): Re-do test without print_addr_of;
9575 this is the only test which seems to want extra stuff there.
9576
9577Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9578
9579 * gdb.base/nodebug.exp: Update new tests to reflect improved
9580 wording of gdb output.
9581
9582 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9583 and "ptype" work on variables in files compiled without -g.
9584 Replaces commented out "maint print msymbol" tests.
9585
9586Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9587
9588 * gdb.base/setvar.c (dummy): Call malloc.
9589
9590 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9591 losing with the irix4 sed.
9592
9593 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9594 ALRM" on irix4.
9595
9596Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9597
9598 * TODO: Remove items about corefile.exp testing new exec-file and
9599 backtrace; both are now done. Add items about printing enums.
9600
9601Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9602
9603 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9604 "get signal $thissig" test fails.
9605
9606 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9607
9608Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9609
9610 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9611 compiler warning with dec alpha compiler.
9612
9613 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9614 extra \n from gdb_test call (this explains why the prompt test
9615 that I removed yesterday was there).
9616 (user_defined_command_test): Remove extra \n and prompt test.
9617
9618 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9619 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9620 doesn't exist.
9621 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9622 Also remove alpha workaround, which turns out to be because
9623 SIGABRT == SIGLOST.
9624
9625 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9626
9627 * gdb.base/help.exp: Don't test "help show".
9628
9629Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9630
9631 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9632 "set print address" is on.
9633 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9634 pass prompt to gdb_test; gdb_test already looks for the prompt.
9635
9636 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9637
9638 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9639 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9640 was to make sure that gdb can read a core file. But (a) the "read
9641 the corefile" part didn't make it to a1-selftest.exp, we just
9642 delete the corefile after creating it, and (b) we test reading
9643 corefiles in corefile.exp anyway. Also, this test left around a
9644 xgdb process on Solaris.
9645
9646 * gdb.base/corefile.exp: Also test backtrace.
9647
9648Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9649
9650 * gdb.base/commands.exp: Test a simple user defined command with
9651 arguments and if/while statements; verify the full user command is
9652 printed by "show user".
9653
9654 * gdb.base/commands.exp: Test if/while commands as part of a
9655 breakpoint command list; verify they appear in breakpoint
9656 information.
9657
9658Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9659
9660 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9661 than by dividing by zero.
9662
9663Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9664
9665 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9666 performing an inferior call with watchpoints enabled.
9667 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9668 call.
9669
9670Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9671
9672 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9673 of "file" command.
9674
9675 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9676 Add additional pattern for when "int operator int(void);" appears
9677 in a different order.
9678
9679Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9680
9681 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9682
9683 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9684 and "signal" with ".*".
9685
9686Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9687
9688 * TODO: Add note about "handle all nostop".
9689
9690 * gdb.base/{sigall.c, sigall.exp}: New test.
9691 * gdb.base/Makefile.in: Add it.
9692
9693Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9694
9695 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9696 when invoking GDB, suppresses any windowing interface.
9697
9698Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9699
9700 * config/sim-gdb: New file, simulator testing support.
9701
9702Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9703
9704 * gdb.base/interrupt.exp: Test calling func1 twice.
9705
9706Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9707
9708 * gdb.base/list.exp (test_forward_search): Set timeout higher
9709 when we'll be getting lots of output from gdb.
9710
9711 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9712 "init_malloc" to after the expect statement. Run it if that
9713 regexp is taken, but also for two others which happen if source
9714 cannot be found.
9715
9716Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9717
9718 * gdb.base/printcmds.exp: New test, for printing register before
9719 program is running.
9720
9721Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9722
9723 * gdb.base/list.exp: Correct some alternate expect patterns
9724 to reflect changes in list1.c.
9725
9726Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9727
9728 * TODO: Add item regarding large frames.
9729
9730 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9731
9732 * TODO: Remove item about enabling return.exp; it
9733 is enabled. Suggest a few more "return" tests.
9734
9735Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9736
9737 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9738 anonymous unions.
9739
9740Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9741
9742 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9743 and pr-5646.o, so "make" is the same as "make all", not "make
9744 pr-4975.o".
9745
9746Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9747
9748 * gdb.base/list.exp: Adjust expectations to reflect changes in
9749 list1.c.
9750 (test_forward_search): New test proc.
9751 * gdb.base/list1.c (long_line): New function, has long source line.
9752
9753Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9754
9755 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9756 additional line of code that was added.
9757
9758Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9759
9760 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9761 tests so as not to overflow expect's input buffers.
9762 * gdb.disasm/hppa.exp: Corresponding changes.
9763
9764Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9765
9766 Beginnings of template debugging tests.
9767 * gdb.c++/templ-info.cc: New file to test for template
9768 debugging capability of the compiler.
9769 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9770 templ-info.cc.
9771 * gdb.c++/templates.cc: Add explicit template instantiations
9772 to enable compiling with -fno-implicit-templates. Add destructor
9773 and 'value' method to T5 class for template tests.
9774 * gdb.c++/templates.exp: Add testcases for printing of template
9775 types, setting breakpoints on template methods and calling a
d63a86f8 9776 template method.
c906108c
SS
9777
9778Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9779
9780 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9781 branch target since some assemblers (gas-2.5) may emit a
9782 relocation for the branch instead of resolving it in the
9783 assembler.
9784
9785Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9786
9787 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9788 through signal handler.
9789
9790Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9791
9792 * configure.in (*-*-netware): Use config/mt-netware.
9793
9794 * config/mt-netware: New file.
9795 * config/mt-i386-netware: Removed, separate configs for different
9796 netware architectures are no longer needed now that we have
9797 --with-headers.
9798
9799Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9800
9801 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9802 by the recent changes to use ANSI C arithmetic conversions.
9803
9804Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9805
9806 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9807 bug involving using inferior_pid to figure out whether to select a
9808 frame.
9809
9810Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9811
9812 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9813 match the current disassembler output.
9814
9815Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9816
9817 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9818 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9819 types, expect "int" as type of integer values (for now).
9820
9821Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9822
9823 * gdb.base/commands.exp: New tests for if/while commands.
9824
9825Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9826
9827 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9828 by .*, since hex values have different syntax in Chill mode.
9829
9830Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9831
9832 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9833 linefeed from expect pattern for repeated types with indices > 9.
9834
9835Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9836
9837 First part of Fortran test suite.
9838 * gdb.fortran: New directory.
9839 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9840
9841Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9842
9843 * gdb.base/default.exp: Update expect pattern for load command
9844 without arguments.
9845
9846Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9847
9848 * configure.in: Change i386 to i[345]86.
9849 * gdb.base/configure.in: Likewise.
9850 * gdb.c++/configure.in: Likewise.
9851 * gdb.chill/configure.in: Likewise.
9852
9853Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9854
9855 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9856 patterns, since that is not a valid context for comments.
9857
9858Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9859
9860 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9861 repeated types and repeated types with indices > 9.
9862
9863Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9864
9865 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9866 2417; old bug has been fixed.
9867
9868Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9869
9870 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9871 send the newline ourselves instead of assuming gdb_test will do
9872 so when passed an empty input string.
9873
9874 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9875 stabs testcode.
9876
9877Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9878
9879 * lib/gdb.exp (gdb_test): Don't send anything if the first
9880 argument is an empty string. This makes cases where we want to
9881 match output that is already in expect's buffers (for example,
9882 matching a breakpoint after gdb_run_cmd has been called) work
9883 reliably.
9884
9885Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9886
9887 * config/netware.exp: New file.
9888
9889Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9890
9891 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9892 the -B and -L prefixes so we can find the debugging stub.
9893
9894 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9895 there and we are using the gcc from the tree.
9896
9897 * gdb.base/types.c: Removed.
9898
9899 * gdb.base/configure.in: Look for makefile fragments in ../config.
9900 Recognize i386-*-netware.
9901 * gdb.c++/configure.in: Likewise.
9902
9903Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9904
9905 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9906 the correct TCL syntax.
9907
9908Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9909
9910 * gdb.base/opaque.exp: use runto instead of messing around with
9911 breakpoints. Simplify by using gdb_test.
9912
9913 * gdb.base/bitfields.exp: restart between tests on netware targets
9914 because breakpoints aren't relocated after target death. Run
9915 processes to completion.
9916
9917 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9918
9919Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9920
9921 * Makefile.in: Remove extra tabs that confuse some versions
9922 of "make". Use the newly built gdb to test with by default,
9923 rather than the first one in the tester's search path.
9924
9925Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9926
9927 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9928
9929 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9930 condition help.
9931
9932Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9933
9934 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9935
9936 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9937 running.
9938 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9939 * gdb.base/funcargs.exp: Likewise.
9940
9941 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9942 * gdb.base/funcargs.exp: Likewise.
9943
9944 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9945 message is "".
9946
9947Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9948
9949 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9950 return,signals,twice}.exp: Handle non-existant binaries
9951 consistantly.
9952
9953 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9954 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9955 might testing a cross development system.
9956
9957Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9958
9959 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9960 runtest script is relative to ${srcdir}, not ${rootdir}.
9961
9962Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9963
9964 * gdb.base/signals.exp: Allow for optionality of breakpoint
9965 address.
9966
9967Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9968
9969 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9970
9971Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9972
9973 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9974 for size_t definition.
9975 * gdb.c++/templates.cc: Likewise
9976
9977 * config/mt-i386-netware: New file.
9978
9979 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9980 defined.
9981
9982 * gdb.base/Makefile.in: Added support for systems that name core
9983 files by appending "core" to the program name.
9984 * gdb.base/a1-selftest.exp: Likewise.
9985
9986Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9987
9988 * gdb.base/return.exp: Add comment and message for `return double'
9989 test failure on Sparc Solaris.
9990
9991Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9992
9993 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9994
9995Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9996
9997 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9998 from optimizing them away.
9999 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
10000 patterns to include default constructors and assignment operators,
10001 to match gcc versions beyond 2.5.8. Accept any cplus demangling
10002 character in the output of the virtual base pointer.
10003
10004Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10005
10006 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
10007 expression match in print_addr_of to avoid unintented matches.
10008 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
10009 versions up to 2.5.8.
10010
10011Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10012
10013 * gdb.base/list.exp: Tweak alternate pattern for listing of an
10014 included file to run under newer versions of expect.
10015 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
10016 consecutive >'s in templates to accomodate recent cplus-dem.c change.
10017 Remove xfail for the virtual table of BDDHookV.
10018
10019Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
10020
10021 * lib/gdb.exp (string_to_regexp): Set a default result.
10022 (default_gdb_start): Fix misleading message.
10023
10024Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
10025
10026 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
10027 Remove all CC, etc definitions.
10028 * config/mt-hpux: New file.
10029 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
10030 (CFLAGS, LDFLAGS): Define.
10031 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
10032
10033 * Makefile.in (site.exp): Don't insert host_os, etc.
10034 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
10035 (distclean): Check existence of subdir.
10036 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
10037 * gdb.base/Makefile.in: General cleanup and simplification.
10038 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10039 to build executables. Use default rule to build .o files.
10040 (EXPECT, RUNTEST, CC): Fix relative pathname.
10041 (site.exp): Don't insert host_os, etc.
10042 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
10043 and/or SIGUSR1 defined.
10044 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
10045 * gdb.c++/Makefile.in: General cleanup and simplification.
10046 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
10047 (CFLAGS): Remove.
10048 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
10049
10050Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
10051
10052 * gdb.base/recurse.exp: Misc changes to get tests running again
10053 after Kung's changes to the watchpoint code.
10054 * gdb.base/watchpoint.exp: Likewise.
10055
10056Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
10057
10058 * lib/gdb.exp (string_to_regexp): Convert {\} also.
10059
10060Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
10061
10062 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
10063 * lib/gdb.exp (default_gdb_start): Define.
10064 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
10065 gdb.base/funcargs.exp, gdb.base/opaque.exp,
10066 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
10067 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
10068 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
10069 Don't call gdb_target_udi in between tests.
10070
10071Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10072
10073 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
10074 (which was basically just a local version of the same thing). In
10075 addition to avoiding duplication, gdb_test_exact is faster.
10076 * lib/gdb.exp (gdb_test_exact): Fix typo.
10077
10078 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
10079 don't give an error.
10080
10081 * gdb.base/term.exp: Call delete_breakpoints before starting.
10082
10083 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
10084 (t10): Add comment.
10085
10086Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10087
10088 Reorganization of the GDB Test Suite.
10089
10090 * gdb.base: New directory, contains all the basic tests.
10091 * gdb.c++: New directory, tests specific to C++.
10092 * gdb.chill: New directory, tests specific to Chill.
10093 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
10094 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
10095 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
10096 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
10097 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
10098 t30-31 to chill).
10099 * */gdbme.*: Rename to match appropriate expect scripts.
10100 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
10101 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
10102 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
10103 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
10104 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
10105 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
10106 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
10107 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
10108 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
10109 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
10110 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
10111 gdb.c++/virtfunc.cc: New names of C++ files.
10112 * gdb.chill/chillvars.ch: New name of Chill file.
10113 * gdb.base/configure.in, gdb.c++/configure.in,
10114 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
10115 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
10116 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
10117 * configure.in (configdirs): Update to reflect directory changes.
10118 (target_abbrev): No longer define for any configuration.
10119 * Makefile.in: Cosmetic improvements to header comments.
10120
10121Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
10122
10123 Various changes to gdb.t31:
10124
10125 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
10126 * gdbme.ch: Make all key-words and predefineds be upper-case.
10127 * chillvars.exp: Expect key-words and predefinds in upper-case.
10128
10129 * chillvars.exp: Use gdb_test_exact many places.
10130 Change expected output for arrays (which now includes index labels).
10131
10132 * pr-5020.exp, gdme.ch (module PR_5020):
10133 New test, for PR-5020.
10134
10135Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
10136
10137 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
10138 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
10139
10140Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
10141
10142 * Makefile.in: Fix bit-rot in definitions of CHILL,
10143 CHILL_FOR_TARGET and Chill_LIB.
10144 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
10145 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
10146 CHILL, and CHILL_LIB.
10147
10148Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
10149
10150 * Revert the previous changes. Please see Rob's directory
10151 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
10152
10153Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
10154
10155 * Makefile.in, configure.in, config/mips-gdb.exp,
10156 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
10157 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
10158 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
10159 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
10160 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
10161 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
10162 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
10163 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
10164 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
10165 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
10166 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
10167 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
10168 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
10169 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
10170 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
10171 changes from 94Q1.
10172
10173Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
10174
10175 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
10176 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
10177 Rob's new testing fragments.
10178
10179Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
10180
10181 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
10182 lib/gdb.exp: Replace error proc calls with perror.
10183
10184Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
10185
10186 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
10187 version also, match on casted version strings, and match on
10188 gdb startup case where the line numbers might be messed up.
10189
10190Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
10191
10192 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
10193 (CFLAGS): Delete it from here.
10194
10195Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
10196
10197 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
10198
10199Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
10200
10201 * Makefile.in (RUNTEST): Default to just "runtest".
10202
10203Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10204
10205 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
10206 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
10207 the code has been restructured.
10208
10209Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10210
10211 * gdb.t00/default.exp (set write): Allow any number of \r and/or
10212 \n, not just one of each.
10213
10214 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
10215 /bin/cc gives a warning if you do.
10216
10217Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
10218
d63a86f8 10219 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
10220 __t10ListS_link1ZUiRCUiPT0
10221
10222Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10223
10224 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
10225 on local variables in recursive functions.
10226
10227 * gdb.t07/Makefile.in: Build the new test.
10228
10229Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10230
10231 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
10232 directly. Instead compare the return values from actual calls.
10233
10234Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
10235
10236 * Makefile.in (check): Set TCL_LIBRARY for runtest.
10237
10238Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10239
10240 * From Peter Schauer with minor modifications.
10241 * gdb.t15/return.exp (return_tests): Handle targets where "return"
10242 stops in mid-line in the caller. Add xfail for returning a float
10243 value on X86 targets.
10244
10245Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10246
10247 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
10248 to avoid expect lossage.
10249 (fmem_LRbug_tests): Likewise.
10250 * gdb.disasm/hppa.s: Corresponding changes.
10251
10252 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
10253 conditions to work with latest dejagnu/expect.
10254
10255 * gdb.t15/funcargs.exp (finish from indirect call): No longer
10256 expected to fail on the PA.
10257 (backtrace in call with trampolines): Explicitly require main
10258 to be frame #1 (no trampolines should show up in backtrace).
10259
10260 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
10261 "continue -expect".
10262 * gdb.t06/break.exp: Likewise.
10263 * gdb.t07/watchpoint.exp: Likewise.
10264 * gdb.t13/bitfields.exp: Likewise.
10265 * gdb.t15/{funcargs,return}.exp: Likewise.
10266 * gdb.stabs/weird.exp: Likewise.
10267 * config/{mips,udi}-gdb.exp: Likewise.
10268
10269 * hppa.sed: Enclose comments within a sed command to avoid
10270 losing with the old OSF1 sed.
10271
10272Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10273
10274 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10275 sequent dynix.
10276 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10277 * gdb.t15/funcargs.exp: Conditionally step again to really
10278 finish from marker_call_with_trampolines. Handle the case where
10279 the first step from within call_with_trampolines already steps
10280 us back to main.
10281 * gdb.t15/gdbme.c: Add comment to closing brace of
10282 call_with_trampolines for funcargs.exp.
10283
10284Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10285
d63a86f8 10286 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
10287 Fix typo(s).
10288
10289Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10290
10291 * gdb.t07/gdbme.c: More code for watchpoint testing.
10292
10293 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10294 "Hardware watchpoint" throughout file.
10295 (test_watchpoint_triggered_in_syscall): New test.
10296 (test_complex_watchpoint): New test.
10297
10298Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10299
10300 * gdbme.c (call_with_trampolines): New function to try and step
10301 into. Tests trampoline problems on the PA.
10302
10303 * funcargs.exp (localvars_in_indirect_call): No longer expect
10304 stepping into indirect call to fail on PAs.
10305 (test_stepping_over_trampolines): New test.
10306
10307Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10308
10309 * TODO: Add suggestions for static member function tests, and
10310 completion tests.
10311
10312Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10313
10314 * TODO: Add suggestions for "p/a" tests.
10315
10316 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10317 (default_gdb_exit): Replace all the hair with sending "quit" to
10318 the process with a simple close.
10319
10320Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10321
10322 * TODO: Add suggestions for shared library tests.
10323
10324Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10325
10326 * TODO: Add suggestions for x/s tests.
10327
10328Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10329
10330 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10331 "enable once", and "enable breakpoints once" with ".*".
10332
10333Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10334
10335 * TODO: Add suggestions about structure passing tests.
10336
10337Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10338
10339 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10340 the primary1 test, use work around if __GNUC__ < 2.
10341 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10342 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10343 Test for bad output rather than waiting for timeout. Issue
10344 second continue only if first continue failed.
10345
10346Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10347
10348 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10349 operator[] test with gdb_test because the old code didn't seem to
10350 be getting the quoting right with the new dejagnu.
10351
10352Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10353
10354 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10355 one from the path.
10356 * Makefile.in: Use a fresh expect if there is one, use runtest
10357 from the src tree if there is one.
d63a86f8 10358
c906108c
SS
10359Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10360
10361 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10362 next over recursive call. Revise the tests from that point on
10363 (which had been skipped) to match GDB's actual (correct) output.
10364
10365 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10366 with next over a breakpoint whose condition is false.
10367
10368 * gdb.t00/help.exp: Comment out "help set print" tests just like
10369 (and for same reason as) "help set" test.
10370
10371Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10372
10373 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10374 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10375
10376Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10377
10378 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10379 necessary gdb_target_udi.
10380
10381 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10382
10383 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10384 1838 and 2417; they are fixed.
10385
10386 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10387 gdb.t03/ptype.exp (ptype structure, ptype union):
10388 Remove xfails; the test is looser than when the xfails were added.
10389
10390 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10391 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10392
10393 * gdb.t01/run.exp: Only run shell test if isnative.
10394
10395 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10396 since "run" automatically loads if necessary. Call gdb_target_udi
10397 after the "file" since "file" kills any execution target.
10398
10399 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10400 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10401 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10402 argument for UDI.
10403
10404Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10405
10406 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10407
10408 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10409
10410Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10411
10412 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10413 properly quoting regexps. This makes the second argument to
10414 demangle a fixed string, which matches the callers, instead of a
10415 shell-style pattern which is what the previous implementation
10416 used. Update some of the callers.
10417
10418Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10419
10420 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10421 (comib_nullified_tests): Fix typo.
10422 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10423 strings. No longer expected to fail.
10424
10425 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10426 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10427 strings. No longer expected to fail.
10428
10429 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10430 string. No longer expected to fail.
10431
10432Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10433
10434 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10435 No longer expected to fail.
10436
10437 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10438 string. No longer expected to fail.
10439
10440Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10441
10442 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10443 only in the names (I probably got most of them). I was even
10444 generous with some which differed in underscores in names, and
10445 probably missed a few, and I *still* was able to remove almost a
10446 third of the file with almost no impact on testsuite coverage.
10447
10448Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10449
10450 * gdb.t00/default.exp: Match udi_attach error message as well as
10451 the one from child_attach.
10452
10453 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10454
10455 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10456
10457 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10458 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10459
10460 * Move test with enums and partial symbols back to
10461 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10462 Reverts the change of 26 May 93. Per today's change to
10463 stabs.texinfo, the behavior that weird.exp was expecting was
10464 unreasonable; what is important is that the compiler+gdb get
10465 things right, which happens with a recent gcc. Also fix the test
10466 to deal with native compilers which put out the stab gdb can't
10467 deal with.
10468
10469Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10470
10471 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10472 in the names. The main thing these accomplish is to slow things down.
10473 Many more such duplicates surely remain.
10474
10475 * gdb.t00/help.exp: Comment out "help support" test just like
10476 (and for same reason as) "help set" test.
10477
10478Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10479
10480 * gdb.t06/break.exp: Remove setup_xfails for
10481 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10482 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10483 about known bug in gcc to include up through 2.5.8.
10484 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10485 well as "_vb$".
10486 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10487 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10488 with latest gcc and gdb.
10489 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10490 well as "_vb$".
10491
10492Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10493
10494 * configure.in (hppa*-*-*): Also configure and build stabs-only
10495 tests.
10496
10497Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10498
10499 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10500 * gdb.t10/configure.in (hppa*-*-*): Use it.
10501
10502Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10503
10504 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10505
10506Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10507
10508 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10509 versions prior to 1.13.5.
10510
10511Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10512
10513 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10514 the prompt is at the start of a line.
10515
10516Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10517
10518 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10519 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10520 in the copr tests now.
10521 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10522 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10523 expected to fail.
10524
10525Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10526
10527 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10528 gdb.t31/chillvars.exp, lib/gdb.exp:
10529 Tweak to run under either version of expect.
10530 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10531 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10532 * gdb.t11/list.exp: Remove extraneous whitespace.
10533
10534Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10535
10536 * gdb.t16/printcmds.exp (test_print_strings): Accept
10537 "(unsigned char *) " before the string.
10538
10539 * TODO: Add notes about printing of fancy types and GDB expressions.
10540
10541Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10542
10543 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10544 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 10545 if doing mips-idt-ecoff.
c906108c
SS
10546
10547Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10548
10549 * Most .exp files: Tweak to run under either version of expect.
10550
10551Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10552
10553 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10554 xfails; I'm not sure why they are failing, but not because of PR 1806.
10555
10556Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10557
10558 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10559 defined in lib/gdb.exp.
10560
10561Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10562
10563 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10564 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10565 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10566 have to be typeless.
10567
10568Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10569
10570 * TODO: Add suggestion for copyright year test.
10571
10572Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10573
10574 * configure.in (*-*-lynxos*): Add stabs tests.
10575
10576Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10577
10578 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10579 so insert a tab before any assembler directive in column zero.
10580
10581 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10582 stores.
10583 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10584 stores.
10585 (fpu_short_memory_tests): Likewise.
10586
10587Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10588
10589 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10590 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10591 .stabs directives in comments.
10592
10593Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10594
10595 * TODO: New file, describing tests we could write.
10596 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10597
10598Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10599
10600 * gdb.t06/signals.exp: Add kludge to force re-sync.
10601
10602 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10603 to xgdb instead of gdb, get out of gdb.
10604
10605Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10606
10607 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10608 for info.
10609
10610Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10611
10612 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10613 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10614 * gdb.stabs/hppa.sed: New sed script for the PA.
10615
10616Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10617
10618 * gdb.stabs: Re-write weird.def and configuration to use sed
10619 instead of cpp. sed is portable and POSIX; cpp is neither.
10620
10621Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10622
10623 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10624
10625Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10626
10627 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10628
10629Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10630
10631 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10632 "_vb$".
10633 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10634 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10635
10636Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10637
10638 * lib/gdb.exp: Comment out code which depends on non-existent
10639 `transform' procedure.
10640
10641Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10642
10643 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10644 * lib/gdb.exp: Transform tool name.
10645 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10646 1.1's new error handling system.
10647
10648Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10649
10650 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10651
10652Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10653
10654 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10655 They made pattern matching so slow that timeouts happened on
10656 heavily loaded systems. Now any output from "show print" which
10657 gets us back to the GDB prompt is a PASS.
10658
10659Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10660
10661 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10662
10663Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10664
10665 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10666
10667 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10668 It is not from PR 3220.
10669
10670Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10671
10672 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10673 just started failing because they depended on the order the
10674 subcommands are presented, or exact docstring text. This kind of
10675 test is a pain and has minimal benefit.
10676
10677Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10678
10679 * gdb.t09/corefile.exp: At end of test, use "core" command with
10680 no arguments.
10681
10682Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10683
10684 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10685 17}/Makefile.in: Make it possible to run the testsuite with Sun
10686 make and CC = cross gcc by adding explicit build rules for .o
10687 files.
10688
10689Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10690
10691 * gdb.t15/funcargs.exp: Don't put comments on same line as
10692 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 10693
c906108c
SS
10694Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10695
10696 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10697
10698Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10699
10700 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10701 * gdb.t20/inherit.exp: remove three dumplicate entries.
10702
10703Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10704
10705 * gdb.t06/break.exp: For "next over recursive call", fail on any
10706 incorrect output, not just on "factorial (value=2)".
10707
10708Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10709
10710 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10711 working now. Add an xfail if accesing a bss variable causes
10712 a memory error if the target is not yet run.
10713
10714Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10715
10716 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10717 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10718 name of __st* demangling (2 strings). Did Kung really get the
10719 more than 95 others right without testing them?
10720
10721Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10722
10723 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10724
10725Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10726
10727 * configure.in (configdirs): Add gdb.disasm
10728 * gdb.disasm: New directory for GDB disassembler tests.
10729 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10730
10731Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10732
10733 * gdb.t00/help.exp: Don't test "help set".
10734
10735 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10736 from within expect statements. None of these happen anymore and
10737 they cause regressions to be silently unnoticed.
10738
10739 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10740 messages) about known failures with gcc cygnus-2.4.5-930417.
10741
10742 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10743 comp-info.exp so it gets built if it doesn't exist.
10744
10745 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10746 it is no longer used.
10747 * gdb.t13/comp-info.c: Removed.
10748
10749Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10750
10751 * gdb.t06/signals.exp: Add xfail for sun3.
10752
10753Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10754
10755 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10756 relevant because ^C doesn't get sent but failure can be reproduced
10757 interactively).
10758
10759Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10760
10761 * gdb.stabs/alpha.mt: New configuration file for alpha.
10762 * gdb.stabs/configure.in: Use it.
10763 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10764 sharing with alpha.mt, redefine long to word via preprocessor.
10765 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10766 for alpha.
10767 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10768 native cc.
10769 * gdb.t00/teststrategy.exp: Change expect string so that we
10770 consume the `(xgdb)' from the command echo and from the gdb prompt.
10771 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10772 gdb currently compares all values as long, so this failure probably
10773 applies to any configuration where LONGEST is bigger than a target int.
10774 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10775 with gcc.
10776 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10777 to handle opaque pointers, gcc is.
10778 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10779 as first argument. Include <sys/types.h> and change all operator
10780 new definitions to use size_t.
10781 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10782 now that we use size_t.
10783
10784Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10785
10786 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10787 a long or float array cast all array members to the same type.
10788 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10789 with 64 bit longs.
10790 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10791 on alpha.
10792 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10793
10794Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10795
10796 * gdb.t24 (demangle.exp): Constructors of templates have names like
10797 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10798 section 14.6 of the ARM.
10799
10800 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10801 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10802 accomplish little and slow down the testsuite.
10803
10804 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10805 Accept spaces various places.
10806
10807Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10808
10809 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10810 with watchpoint enabled.
10811
10812 * Makefile.in: Remove definition of CC and remove the second
10813 definition of CXX (the "CXX = gcc" one remains). These definitions
10814 were causing backquotes to be expanded within backquotes, which
10815 doesn't work.
10816
10817Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10818
10819 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10820
10821Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10822
10823 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10824 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10825 by mips cc and contains no stabs entries.
10826
10827Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10828
10829 * config/vx-gdb.exp: Use fake device to load files rather than
10830 NFS.
10831 * lib/gdb.exp: New proc to do "file" command.
10832 * config/unix-gdb.exp: Use new "file" proc.
10833
10834Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10835
10836 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10837 Rework board rebooting slightly.
10838 (gdb_exit): Don't exit from the remote shell; there isn't one.
10839 * gdb.stabs/weird.exp: If a program is being debugged already,
10840 kill it.
10841 * gdb.t04/setvar.exp: Stop and restart gdb.
10842 * gdb.t05/expr.exp: Likewise.
10843 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10844 restart gdb and reload the program.
10845 * gdb.t08/opaque.exp: Likewise.
10846 * gdb.t12/scope.exp: Likewise.
10847 * gdb.t13/bitfields.exp: Likewise.
10848 * gdb.t15/funcargs.exp: Likewise.
10849 * gdb.t20/classes.exp: Likewise.
10850 * gdb.t03/ptype.exp: Increase timeout.
10851 * gdb.t16/printcmds.exp (test_print_string_constants,
10852 test_print_array_constants): Likewise.
10853 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10854 * gdb.t20/classes.exp (do_tests): Likewise.
10855 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10856
10857Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10858
10859 * gdb.stabs: Renamed *wierd* to *weird*.
10860
10861Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10862
10863 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10864 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10865
10866Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10867
10868 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10869 (do_tests): Remove xfail for whatis on one_var and two_var.
10870
10871Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10872
10873 * Makefile.in: Made cross building work better by adding
10874 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10875
10876Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10877
10878 * gdb.t15/{return.c,return.exp,Makefile.in}:
10879 New test, currently commented out.
10880
10881Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10882
10883 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10884 still running and removes the leftover named socket so GDb can do
10885 clean restarts.
10886
10887Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10888
10889 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10890 console, not GDB.
10891 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10892 cross testing works better with "make check"
10893 * config/unix-gdb: Use default procedures for exit and version.
10894 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10895 with the newest VxWorks.
10896
10897Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10898
10899 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10900 old form.
10901
10902 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10903 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10904
10905 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10906
10907 * config/unix-gdb.exp: Remove this version of gdb_exit
10908 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10909 Rob says he'll look at it when he gets back to testing boards.
10910
10911Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10912
10913 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10914 an expected fail for certain ptype commands.
10915
10916 * gdb.t20/classes.exp: Update expected results of "ptype class
10917 Base1" to account for the constructor that now appears in the type.
10918
10919Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10920
10921 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10922 disappeared from list.
10923 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10924 "alldone" proc with call to cleanup and exit.
10925 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10926 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10927 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10928 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10929 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10930 "alldone" proc with simple returns that suppress remaining
10931 tests. The alldone proc went away many months ago.
10932
10933Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10934
10935 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10936
10937 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10938
10939Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10940
10941 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10942 as vax gdb will display them.
10943
10944Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10945
10946 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10947 optimizers.
10948
10949 * scope.exp: Change "bad value for localval" messages so each one
10950 is unique.
10951
10952 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10953 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10954
10955 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10956
10957Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10958
10959 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10960 doesn't exist (due to optimization).
10961
10962Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10963
10964 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10965 contains \r because the filename is long.
10966
10967 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10968 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10969
10970Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10971
10972 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10973 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10974 Ultrix.
10975 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10976 int tests.
10977 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10978
10979Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10980
10981 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10982
10983 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 10984 to match does not match the passing case but still matches the
c906108c
SS
10985 failing case.
10986
10987Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10988
10989 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10990
10991Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10992
10993 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10994 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10995 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10996 Remove various versions of gdb_exit.
10997 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10998 gdb_exit.
10999 * config/unix-gdb.exp: gdb_exit remains here, and should override
11000 the generic version, since it's doing a lot of wierd stuff that
11001 the other versions aren't. FIXME, fold it in, or abandon this
11002 version.
11003
11004Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11005
11006 * gdb.t24/demangle.exp: Add tests for PR 3220.
11007
11008Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11009
11010 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
11011
11012Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
11013
11014 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
11015 "i386-*-*". Works for i486 as well.
11016
11017 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
11018 bug, and expand domain of xfail to all SVR4 systems, since the
11019 actual problem is likely to be in generic SVR4 /proc support.
11020
11021Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11022
11023 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
11024
11025Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
11026
11027 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
11028 xfails for other systems. Match a missing 'Continuing.' as an
11029 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
11030
11031 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
11032 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
11033 Only issue warning for missing executables if -all option is used.
11034
11035 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
11036 file if -all option is used. It's like an unpredictable XFAIL.
11037
11038Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11039
11040 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
11041 for dynamically linked binaries.
11042
11043 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
11044
11045Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11046
11047 * gdb.t20/inherit.exp: Change message for "print tagless struct"
11048 to state that this is a known bug in old versions of g++.
11049
11050Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11051
11052 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
11053 while waiting for `Continuing'.
11054
11055Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
11056
11057 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
11058 in text, data, and bss.
11059 * gdb.t10/nodebug.c: Add local and global test variables for
11060 initialized and uninitialized data.
11061
11062Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11063
11064 * config/unix-gdb.exp (gdb_exit): Add "wait".
11065
11066Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11067
11068 * gdb.t06/signals.exp: xfail the continue from the handler for all
11069 targets.
11070
11071 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
11072 function with watchpoints enabled, the i386 call dummy starts with
11073 a call.
11074
11075 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
11076 386 bsd names its corefiles.
11077
11078Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
11079
11080 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
11081 compilers don't grok it.
11082 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
11083 with small octal ints rather than character constants, which
11084 are signed and might not fit if first promoted to int.
11085
11086Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
11087
11088 * gdb.t09/Makefile.in (clean): Remove corefile.
11089
11090Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11091
11092 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
11093
11094Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11095 and Jim Kingdon (kingdon@cygnus.com)
11096
11097 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
11098 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
11099 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
11100
11101Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11102
11103 * gdb.t17/interrupt.exp: Add xfail for hppa.
11104
11105Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11106
11107 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
11108 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
11109 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
11110 to determine signed-ness of bitfields and use the result to setup
11111 the xfail.
11112 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
11113 * gdb.t15/funcargs.exp: Use them to step until the second indirect
11114 call line is reached if necessary.
11115
11116Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11117
11118 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
11119
11120Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11121
11122 * gdb.t06/break.exp: Also test `clear' command.
11123
11124Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11125
11126 * gdb.t00/teststrategy.exp: Remove extra quote.
11127
11128 * gdb.t07/watchpoint.exp: Change xfail for calling function with
11129 watchpoint enabled to be for all non-68k machines.
11130
11131 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
11132
11133Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11134
11135 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
11136 targets use aout.mt instead of ecoff.mt as gas understands
11137 standard aout format.
11138
11139Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11140
11141 * lib/gdb.exp (runto): Don't insist that function we are running to
11142 was compiled with -g.
11143
11144 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
11145
11146 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
11147 to get back into the read system call.
11148 Accept leading newline in case where we woke it up.
11149
11150Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11151
11152 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
11153 to make the stabs test work on ecoff systems using gcc and -with-stabs.
11154 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
11155 enable ecoff configuration.
11156
11157Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11158
11159 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
11160
11161Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11162
11163 * gdb.t16/printcmds.exp: Add another printf test.
11164
11165Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
11166
11167 * configure.in: If configured -with-stabs on any target, add
11168 stabsdirs to configdirs.
11169
11170Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11171
11172 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
11173 fun" so pattern does not match the command itself.
11174
11175Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11176
11177 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
11178
11179Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11180
11181 * gdb.t17/interrupt.exp: Test for more things.
11182
11183Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11184
11185 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
11186 compiler arranges the code and line numbers.
11187
11188 * gdb.t17/interrupt.exp: Don't send \n after ^C.
11189
11190Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11191
11192 * gdb.t00/help.exp: Increase expect input buffer size.
11193
11194Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11195
11196 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
11197
11198 * gdb.t07/watchpoint.exp: Add xfail for hppa.
11199
11200 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
11201
11202 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
11203 [0-9]*, not just [0-9].
11204
11205Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11206
11207 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
11208
11209 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
11210
11211Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11212
11213 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
11214
11215Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11216
11217 * gdb.t06/signals.c: Add xfails for sun3.
11218
11219 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
11220
11221 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
11222 test_stepping tests.
11223
11224Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11225
11226 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
11227
11228 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
11229
11230 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
11231 rather than actually putting it through cpp twice.
11232
11233 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
11234
11235Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
11236
11237 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
11238 no longer needed.
11239
11240Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11241
11242 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
11243
11244 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
11245 C++ features prints as "struct", make it a pass, not an xfail.
11246
11247Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11248
11249 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
11250 Don't require VA to print as "class" rather than "struct".
11251
11252Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
11253
11254 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
11255
11256Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11257
11258 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
11259
11260Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11261
11262 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
11263 order.
11264
11265Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11266
11267 * gdb.t16/printcmds.exp: Add printf tests.
11268
11269 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11270
11271 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11272
11273Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11274
11275 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11276 pass counts, to counteract any existing or future setup_xfails.
11277
11278Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11279
11280 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11281 {BEGIN,END}_COMMON for common block instead of STAB.
11282 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11283
11284 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11285 intp_var should be N_GSYM not N_LSYM.
11286 wierd-aout.S: Use a label for the value of the N_SO.
11287 wierd.def: Remove all backslashes.
11288 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11289
11290Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11291
11292 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11293 get the expected next to inheritance3.
11294
11295Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11296
11297 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11298 now that gcc-2.4 gets it right.
11299
11300Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11301
11302 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11303
11304 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11305 generating comp-info.exp which works for cross-compilation.
11306
11307Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11308
11309 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11310 "*-*-sysv4.*".
11311
11312Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11313
11314 * gdb.t01/run.exp: Start with a fresh gdb.
11315 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11316 SVR4.x.
11317
11318Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11319
11320 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11321 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11322 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11323 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11324 things to remove.
11325
11326Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11327
11328 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11329 test cases from bug reports.
11330
11331Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11332
11333 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11334 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11335 avoid spurious xfails.
11336 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11337 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11338 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11339
11340Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11341
11342 * gdb.t00/teststrategy.exp: Rework to provide more useful
11343 description of each test, fix problem with systems that define
11344 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11345 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11346 results for "next over recursive call" so timeouts aren't taken
11347 by error.
11348
11349Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11350
11351 * gdb.t12/scope.exp: Test printing of variables before run.
11352
11353 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11354 printed in wrong order due to sorting.
11355
11356Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11357
11358 * gdb.t00/teststrategy.exp: Fix expected results for printing
11359 user entered string constant. Is array of char, prints with no
11360 address.
11361
11362 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11363 commands.
11364 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11365 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11366 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11367 of struct of char arrays.
11368 * gdb.t00/radix.exp: New tests for radix commands.
11369
11370Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11371
11372 * gdb.t16/printcmd.exp: Print a variable before running program
11373 (with xfail for AIX).
11374
11375Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11376
11377 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11378
11379 * gdb.t16/printcmd.exp: Don't print variables before running program.
11380
11381 * gdb.t06/break.exp: Don't require envp argument to main.
11382
11383 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11384
11385 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11386 Add xfails for rs6000.
11387
11388 * gdb.t02/whatis.exp: Change other tests not to re-test something
11389 we already tested.
11390
11391 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11392 each type used has a variable of that type.
11393
11394Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11395
11396 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11397
11398Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11399
11400 * configure.in: change srctrigger to be a file, not a directory
11401
11402Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11403
11404 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11405
11406 * gdb.t11/list.exp: Fixed a couple of typos.
11407
11408Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11409
11410 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11411 is fixed and PR is closed.
11412 * gdb.t16 (gdbme.c): Add simple test string variable.
11413 * gdb.t16 (printcmds.exp): Add tests with simple test string
11414 variable, primarily for boundaries on "set print elements".
11415
11416Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11417
11418 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11419 Make leading 0's optional and don't expect a tab in the middle
11420 of the number.
11421
11422 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11423
11424 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11425 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11426 don't end command passed to gdb_test with newline.
11427
11428 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11429 signed keyword away, don't expect signed bitfields to be signed.
11430
11431 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11432 printing with only as many 1's as are in the field as well as printing
11433 with 32 1's (see comment).
11434
11435Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11436
11437 * gdb.t00/default.exp: Start with a fresh gdb.
11438 * configure.in (configdirs): Remove gdb.t31 until the chill
11439 compiler works again. It no longer is able to find chillrt0
11440 since it isn't in libchill.a anymore.
11441 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11442 wierd.o, make more modular.
11443 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11444 spurious newlines that caused problems.
11445
11446Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11447
11448 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11449 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11450 gdb.stabs/wierd.{exp,def}: Many new tests.
11451
11452 * gdb.t00/default.exp: update info line for new message.
11453
11454 * gdb.t02/{whatis.exp,gdbme.c}:
11455 Test that "char *" doesn't print as "caddr_t".
11456
11457Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11458
11459 * gdb.t00/help.exp: Use .* in place of some help messages which
11460 just changed.
11461 gdb.t00/default.exp: Update "info frame" test for new message.
11462 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11463 Remove some xfails
11464
11465Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11466
11467 * gdb.t03/{gdbme.c,ptype.exp}:
11468 Add tests for typedef'd struct and union without tags.
11469 Also check "whatis" on a variable of a typedef'd enum without a tag.
11470
11471 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11472 PRMS 1823; the bug still exists but isn't reproduced by this test
11473 anymore), and remove rs6000 XFAIL (the bug is fixed).
11474
11475 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11476 duplicated from whatis.exp. For those that are left, accept
11477 "long", "long int", or "int" for long variables (whatis.exp already
11478 has an XFAIL for "int", so no need to fail it here).
11479
11480 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11481 Deal with GCC's names for types now that GDB uses the compiler's names.
11482
11483 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11484 setup_xfail's for sunos4. If we #defined the signed keyword away,
11485 don't expect GDB to know that char it is signed.
11486
11487 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11488
11489Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11490
11491 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11492 should work on any system, regardless of debugging format.
11493 * gdb.t21/demangle.exp: Move to gdb.t24.
11494 * gdb.t24/demangle.exp: Move from gdb.t21.
11495 * gdb.t24/{Makefile.in, configure.in}: New files.
11496
11497Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11498
11499 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11500 * gdb.stabs: New directory.
11501
11502Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11503
11504 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11505 not just "Quit anyway?".
11506
11507Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11508
11509 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11510 that all setup_xfails are immediately followed by clear_xfails.
11511
11512Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11513
11514 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11515 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11516 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11517 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11518 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11519 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11520 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11521 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11522 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11523 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11524 gdb.t31/chillvars.exp, lib/gdb.exp:
11525 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11526 bug-gdb@prep.ai.mit.edu.
11527
11528Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11529
11530 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11531 with 0.0, not integer 0.
11532
11533Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11534
11535 * gdb.t06/break.exp: Update for "Kill the program" message change.
11536
11537Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11538
11539 * Makefile.in (GDBFLAGS): Set to -nx.
11540 * Makefile.in (site.exp): Use GDBFLAGS.
11541
11542Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11543
11544 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11545 Makefiles.
11546 (check): depend on just-check.
11547 (just-check): added so that tests can be run without a noop
11548 build pass.
11549
11550Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11551
11552 Switch to using configure's configdirs.
11553 * Makefile.in (Makefile): add configure.in dependency.
11554 (SUBDIRS): removed redundant assignment.
11555 * configure.in: switch subdirs assignment to configdirs.
11556 * gdb.t*/configure.in: new files.
11557
11558Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11559
11560 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11561 works.
11562
11563Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11564
11565 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11566 in explicit rules. Apparently this is not supported by some makes.
11567
11568Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11569
11570 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11571
11572Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11573
11574 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11575 disappeared.
11576
11577Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11578
11579 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11580
11581Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11582
11583 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11584 watchpoint problem that is now fixed.
11585 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11586 uninitialized convenience variables.
11587 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11588 structures.
11589
11590Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11591
11592 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11593 which causes expect to get out of sync with gdb on long output
11594 from help set.
11595 * gdb.t09/corefile.exp: Make expected pattern for core file
11596 failing signal and frame output format less sun specific.
11597
11598Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11599
11600 * gdb.t31/chillvars.exp: Add and remove initial dummy
11601 breakpoint, so that symbol table is forced in.
11602 (Needed at least on Sunos4, though it seems not SVR4.)
11603 * gdb.t31/chillvars.exp: Update for changed output format.
11604
11605Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11606
11607 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11608
11609Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11610
11611 * Makefile.in: Added --srcdir when invoking runtest, removed the
11612 need for a local config file. (optional now)
11613
11614Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11615
11616 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11617 failure count used to force early termination. Add some more
11618 expected failures for gnu style demangling.
11619
11620Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11621
11622 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11623 pmi variable from gdb.t20/gdbme to get optimized away.
11624 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11625 Check for written corefile upon timeout _and_ eof.
11626
11627Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11628
11629 * config/unix-gdb.exp: Add missing return 0.
11630
11631Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11632
11633 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11634 test termination.
11635
11636Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11637
11638 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11639 disappeared.
11640
11641Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11642
11643 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11644 time as i860 support works.
11645
d63a86f8 11646 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11647 "backtrace 100\r" rather than just "backtrace\r", to match last
11648 change.
11649
11650Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11651
11652 * config/udi-gdb.exp (gdb_exit): Remove close command.
11653 (gdb_target_udi): New procedure to set the UDI target.
11654 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11655 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11656 Added waits for prompts after several question responses. Added
11657 some more responses used by a29k-amd-udi-gdb.
11658 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11659 pass different arguments, restart UDI connection after program
11660 completion.
11661 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11662 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11663 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11664 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11665 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11666 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11667 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11668 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11669 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11670 after program completion.
11671 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11672 compiled with a SELECT_VECS setting.
11673 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11674 infinite recursion.
11675
11676 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11677 Added checks for COFF results, and made them expected failures for
11678 all targets. It would be better to make them expected failures
11679 for COFF targets only.
11680
11681Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11682
11683 * Makefile.in: add null dvi target, don't bother to recurse
11684 through test directories for info and install-info; rename
11685 $(datadir) to be dejagnu instead of deja-gnu
11686
11687Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11688
11689 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11690 compiler to coredump.
11691 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11692 code.
11693
11694Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11695
11696 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11697 coredump.
11698 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11699 code.
11700
11701Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11702
11703 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11704 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11705 which in a shell. Deletes xgdb when done.
11706 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11707 Tests the return from the "set height" or "set width" commands.
11708 Added a few return codes where needed.
11709
11710Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11711
11712 * Makefile.in (SUBDIRS): Add gdb.t17.
11713 * configure.in (subdirs): Add gdb.t17.
11714 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11715 files to test gdb's calling of functions in the inferior with
11716 the correct arguments and gdb's ability to retrieve any
11717 result returned.
11718
11719Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11720
11721 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11722 may be called after gdb goes away. Previous versions of expect
11723 needed these to avoid file descriptor leaks, but they cause
11724 errors with the current revision of expect.
11725 * gdb.t00/gdbvars.exp: Use -re on expected output after
11726 setting sevenbit-strings.
11727 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11728 to set sevenbit-strings consistent across tests.
11729 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11730 set sevenbit-strings consistent across tests.
11731
11732Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11733
11734 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11735 expected output to match current "expect" expectations.
11736
11737Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11738
11739 * gdb.t00/default.exp: Change expected output for default "source"
11740 command, to match new gdb behavior which requires a filename to
11741 source.
11742
11743Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11744
11745 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11746 expected fail for i486-*-* that misses the marker2 function.
11747 * gdb.t10/crossload.exp (bfddefault): Allow successful
11748 recognition of a format to pass even if no symbols are found.
11749 Explicitly catch failures where the format is not recognized
11750 or is ambiguous, and add the reason to the fail message.
11751 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11752 the cause is and invalid target and add reason to failure message.
11753 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11754 elf32-i386, elf32-sparc, and elf32-i860.
11755 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11756 Set up expected failure for 'filename'::variable scope resolution,
11757 which is now apparently broken on all targets.
11758 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11759 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11760 gdb.t23/templates.exp: Change failure for missing binfile into
11761 just a warning.
11762 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11763 references.
11764
11765Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11766
11767 * gdb.t00/default.exp: Add expected output for default "source"
11768 command, to match new gdb behavior.
11769 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11770
11771Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11772
11773 * config/*-gdb.exp: returns an error, rather than exiting on
11774 internal errors.
11775
11776Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11777
11778 * gdb.t03/gdbme.c: Add pointer to struct variable.
11779 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11780 referencing struct members.
11781
11782Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11783
11784 * configure.in (mips-idt-ecoff): New target.
11785 * config/mips-gdb.exp: New file for remote board using MIPS remote
11786 debugging protocol.
11787
11788 * Redid configuration scheme. Removed gdb.t*/configure.in.
11789 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11790 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11791 distclean targets. Built executables via .o files. Adjusted
11792 tests to account for source files in $(srcdir) rather than
11793 $(objdir).
11794 * lib/gdb.exp (runto): Don't expect () after the function name,
11795 because it may have arguments.
11796
11797Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11798
11799 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11800 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11801 expected failures for mips-idt-* and mips-sgi-*.
11802 * gdb.t00/default.exp (attach): Kill process if requested.
11803 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11804 that does not read core files.
11805 * gdb.t01/run.exp: Removed checks for exit status code.
11806 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11807 it is linked in.
11808 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11809 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11810 appropriate, rather than doing it by hand.
11811 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11812 execution.
11813 * gdb.t10/crossload.exp: Kill existing program if needed.
11814 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11815 appropriate, rather than doing it by hand. Always increase
11816 timeout for this test, not just for VxWorks.
11817
11818Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11819
11820 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11821 of Chill STRUCT types and STRUCT values.
11822 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11823 than "char".
11824 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 11825 struct2): New struct definitions and initializations to test
c906108c
SS
11826 simple Chill STRUCT types.
11827
11828Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11829
11830 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11831 the null byte at the end of strings.
11832 * gdb.t00/default.exp: Make show version insensitive to copyright
11833 date.
11834 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11835 to avoid dependencies on target char signedness.
11836 * gdb.t16/printcmds.exp: Update expected results for explicitly
11837 unsigned char.
11838 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11839 now work.
11840 * gdb.t21/demangle.exp: Add many more patterns for template
11841 demangling, most of them being expected failures.
11842 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11843 string we are matching for, to match on the whole string.
11844 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11845 and fix a whole bunch that had incorrect expected output but were
11846 passing anyway because of the bug in "proc demangle".
11847 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11848 type.
11849 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11850
11851Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11852
11853 * gdb/testsuite: made modifications to testcases, etc., to allow
11854 them to work properly given the reorganization of deja-gnu and the
11855 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11856
11857Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11858
11859 * gdb/testsuite: Initial creation of gdb/testsuite.
11860 Migrated dejagnu testcases and support files for testing nm to
11861 gdb/testsuite from deja-gnu. These files were moved "as is"
11862 with no modifications. This migration is part of a major overhaul
11863 of dejagnu. The modifications to these testcases, etc., which
11864 will allow them to work with the new version of dejagnu will be
11865 made in a future update.
48efe704
AC
11866
11867For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
11868\f
11869Local Variables:
ef043731 11870mode: change-log
c906108c
SS
11871left-margin: 8
11872fill-column: 74
11873version-control: never
11874End: