]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
* x86-64-tdep.c (RET_INT_REGS, RET_SSE_REGS): Remove defines.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
526c61ee
AF
12003-11-25 Adam Fedor <fedor@gnu.org>
2
3 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
4 * gdb.objc/objcdecode.m: New file.
5
28f2d600
AF
62003-11-25 Adam Fedor <fedor@gnu.org>
7
8 * gdb.objc/nondebug.exp: Test for PR objc/1236.
9 * gdb.objc/nondebug.m: New file.
10
a3895cee
BE
112003-11-26 Ben Elliston <bje@wasabisystems.com>
12
13 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14 NetBSD as it does on FreeBSD. Modelled on a similar change by
15 Mark Kettenis on 2003-05-30.
16 (link-flags): Set to "--entry _start" regardless of target.
17 Special linker flags are to be appended to $link-flags.
18 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
19
c9f2c8a3
MC
202003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21
22 * gdb.cp/method.exp: Accept output of new demangler.
23
15a0587a 242003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
25
26 * gdb/class2.exp: New file.
27 * gdb/class2.cc: New file.
28
3c00b570
MC
292003-11-25 Michael Chastain <mec.gnu@mindspring.com>
30
31 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
32 of new demangler.
33
7027acc7
MK
342003-11-23 Mark Kettenis <kettenis@gnu.org>
35
36 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
37 of gdb_test "run".
38
b0e1598a
MK
392003-11-23 Mark Kettenis <kettenis@gnu.org>
40
41 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
42 "continue" into "run".
43
4d9eda44
MC
442003-11-23 Michael Chastain <mec.gnu@mindspring.com>
45
46 Partial fix for PR testsuite/1456.
47 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
48 call to test_compiler_info.
49 * gdb.cp/ctti.exp: Likewise.
50 * gdb.cp/derivation.exp: Likewise.
51 * gdb.cp/member-ptr.exp: Likewise.
52 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
53 reference to gcc_compiled.
54
552003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
56
57 Fix PR testsuite/1463.
58 * gdb.base/structs.exp (start_structs_test): Call
59 get_debug_format before using the debug format.
60
d422fe19
AC
612003-11-22 Andrew Cagney <cagney@redhat.com>
62
63 * lib/gdb.exp (gdb_test_multiple): Add simple example.
64 * gdb.base/structs.exp: Use gdb_test_multiple.
65
039cf96d
AC
662003-11-20 Andrew Cagney <cagney@redhat.com>
67
6882279b
AC
68 * gdb.base/structs.exp: Handle and recover from internal errors.
69 Replace "foo${n}" with "foo<n>" in test messages.
70
e53890ae
AC
71 * gdb.base/structs.exp: Update copyright. Rewrite.
72 * gdb.base/structs.c: Update copyright. Rewrite.
73
2b211c59
AC
74 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
75 resync count exceeded.
76
039cf96d
AC
77 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
78 from the internal error.
79 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
80 Original from Jim Blandy.
81 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 82
eac98b22
AC
832003-11-19 Andrew Cagney <cagney@redhat.com>
84
85 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
86 KFAIL.
87
67455b2a
MK
882003-11-17 Mark Kettenis <kettenis@gnu.org>
89
90 New testcase for PR backtrace/1435.
91 * gdb.arch/i386-unwind.exp: New file.
92 * gdb.arch/i386-unwind.c: New file.
93
853d6e5b
AC
942003-11-17 Andrew Cagney <cagney@redhat.com>
95
96 * lib/gdb.exp (compiler_info): New global.
97 (test_compiler_info): New function.
98 (get_compiler_info): Set compiler_info.
99 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
100 "compiler_info" to gcc-<major>-<minor>.
101
38cf6e11
MC
1022003-11-15 Michael Chastain <mec.gnu@mindspring.com>
103
104 * gdb.trace/configure: Remove.
105
a50d3602
EZ
1062003-11-13 Elena Zannoni <ezannoni@redhat.com>
107
108 * gdb.base/break.c: Add comments to aid finding line numbers for
109 breakpoints.
110 * gdb.base/break.exp: Remove all references to explicit line
111 numbers.
112
d9407aaa
NC
1132003-11-11 Nick Clifton <nickc@redhat.com>
114
115 * gdb.base/shreloc.exp: Do not run for targets which do not
116 support shared objects.
117
db488fc1
CV
1182003-11-10 Corinna Vinschen <vinschen@redhat.com>
119
120 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
121 Don't run tests if nofileio flag is given.
122
6a90a18e
EZ
1232003-11-07 Elena Zannoni <ezannoni@redhat.com>
124
125 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
126 as well as 'Watchpoint'.
127
0b915e9c
EZ
1282003-11-06 Elena Zannoni <ezannoni@redhat.com>
129
130 Reported by Jim Ingham <jingham@apple.com>:
131 * gdb.base/annota1.exp: Match at least one occurrence of the
132 signal handler annotation.
133
d7e4b55f
EZ
1342003-11-06 Elena Zannoni <ezannoni@redhat.com>
135
136 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
137 as well as 'Watchpoint'.
138
2fe4e8d0
MC
1392003-11-05 Michael Chastain <mec@shout.net>
140
141 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
142
6ef88553
KW
1432003-11-03 Kris Warkentin <kewarken@qnx.com>
144
145 * gdb.arch/gdb1291.c: New test file.
146 * gdb.arch/gdb1291.exp: New test script.
147 * gdb.arch/gdb1431.c: New test file.
148 * gdb.arch/gdb1431.exp: New test script.
149
ae7dc4d8
MC
1502003-10-22 Michael Chastain <mec@shout.net>
151
152 * gdb.mi/pthreads.c: Add copyright notice.
153
c39d7427
MC
1542003-10-22 Michael Chastain <mec@shout.net>
155
156 * gdb.threads/pthreads.c: Add copyright notice.
157
8b7d96c1
MC
1582003-10-20 Michael Chastain <mec@shout.net>
159
160 * gdb.base/gdb1056.exp: New test script.
161
d1d69fdd
DJ
1622003-10-13 Daniel Jacobowitz <drow@mvista.com>
163
164 * gdb.threads/killed.exp: Use gdb_run_cmd.
165
7d605576
DJ
1662003-10-13 Daniel Jacobowitz <drow@mvista.com>
167
168 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
169 create a core file.
170 * gdb.threads/gcore-thread.exp: Likewise.
171
618ec112
CV
1722003-10-13 Corinna Vinschen <vinschen@redhat.com>
173
174 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
175 type, based on char type.
176 (struct bit_flags_short_t): New bitfield type, based on short type.
177 (init_bit_flags_char): New fuction.
178 (init_bit_flags_short): Ditto.
179 (print_bit_flags_char): Ditto.
180 (print_bit_flags_short): Ditto.
181 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
182
9367a73c
MC
1832003-10-11 Michael Chastain <mec@shout.net>
184
185 * gdb.base/call-rt-st.exp: Update copyright year.
186
1decf120
KI
1872003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
188
189 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
190 * gdb.disasm/sh3.s: Ditto.
191
5445b2ae
DJ
1922003-10-07 Daniel Jacobowitz <drow@mvista.com>
193
194 * gdb.threads/switch-threads.exp: New test.
195 * gdb.threads/switch-threads.c: New source file.
196
aec24853
CV
1972003-10-07 Corinna Vinschen <vinschen@redhat.com>
198
199 * gdb.base/ending-run.exp: Add sh specific case.
200
adc7428d
AC
2012003-10-06 Andrew Cagney <cagney@redhat.com>
202
203 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
204 * gdb.disasm/mn10200.exp: Delete obsolete file.
205
c9d37158
DJ
2062003-09-29 Daniel Jacobowitz <drow@mvista.com>
207
208 * ChangeLog: Correct an entry command.exp -> commands.exp.
209 * gdb.base/commands.exp (bp_deleted_in_command_test)
210 (temporary_breakpoint_commands): Check noargs.
211
79c2c32d
DC
2122003-09-25 David Carlton <carlton@kealia.com>
213
214 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
215 of some print tests, where appropriate. Add tests for C::D::cd,
216 E::ce, F::cXfX, G::XgX.
217 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
218
594e6d67
RE
2192003-09-25 Richard Earnshaw <rearnsha@arm.com>
220
221 * lib/java.exp (java_init): Import target_alias before using it.
222
10f0d451
DC
2232003-09-25 David Carlton <carlton@kealia.com>
224
225 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
226
274bcba0
EZ
2272003-09-23 Elena Zannoni <ezannoni@redhat.com>
228
229 * gdb.base/selftest.exp: Accomodate more instruction reordering
230 weirdness.
231
cdbf20f7
MC
2322003-09-17 Michael Chastain <mec@shout.net>
233
234 * gdb.cp/gdb1355.exp: New file.
235 * gdb.cp/gdb1355.c: New file.
236
71e06f80
CV
2372003-09-15 Corinna Vinschen <vinschen@redhat.com>
238
239 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
240 * gdb.asm/sh.inc: New file.
241
5c4e30ca
DC
2422003-09-11 David Carlton <carlton@kealia.com>
243
bd45b7af
DC
244 * gdb.cp/namespace.exp: Add tests for namespace types.
245 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
246 (test_namespace): New.
247
1c199746
EZ
2482003-09-11 Elena Zannoni <ezannoni@redhat.com>
249
250 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 251 * gdb.stabs/weird.exp: Ditto.
1c199746 252
04ed252f
MC
2532003-09-08 Michael Chastain <mec@shout.net>
254
255 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
256
d8a2d9e7
MC
2572003-09-07 Michael Chastain <mec@shout.net>
258
259 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
260 'parse error'.
261
161afb24
MK
2622003-09-07 Mark Kettenis <m.kettenis@osp.nl>
263
264 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
265
49f2741a
MC
2662003-08-30 Michael Chastain <mec@shout.net>
267
268 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
269 * gdb.gdb/observer.exp: Ditto.
270 * gdb.gdb/xfullpath.exp: Ditto.
271
8afa723e
MK
2722003-08-29 Mark Kettenis <kettenis@gnu.org>
273
274 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
275 *-*-*bsd*.
276
f31dfe3b
JJ
2772003-08-28 Jeff Johnston <jjohnstn@redhat.com>
278
279 * gdb.base/dump.exp: Skip for ia64.
280
4630e498
JJ
2812003-08-25 Jeff Johnston <jjohnstn@redhat.com>
282
283 * gdb.asm/asm-source.exp: Add ia64 support.
284 * gdb.asm/ia64.inc: New file.
285
1105b7ef
MC
2862003-08-22 Michael Chastain <mec@shout.net>
287
288 * gdb.cp: New directory.
289 * gdb.cp/*: Copy from gdb.c++/*.
290 * gdb.c++/*: Remove.
291 * Makefile.in: Change gdb.c++ to gdb.cp.
292 * configure.in: Ditto.
293 * configure: Regnerate.
294
c945b932
MK
2952003-08-18 Mark Kettenis <kettenis@gnu.org>
296
297 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
298 * gdb.arch/i386-prologue.c (gdb1338): Add function.
299
2b66634b
DJ
3002003-08-17 Daniel Jacobowitz <drow@mvista.com>
301
302 * mi-var-display.exp (-var-list-children weird): Accept function
303 pointers with argument types.
304 * mi1-var-display.exp (-var-list-children weird): Likewise.
305 * mi2-var-display.exp (-var-list-children weird): Likewise.
306
a356f73b
DJ
3072003-08-17 Daniel Jacobowitz <drow@mvista.com>
308
309 * gdb.base/annota3.exp: Add missing newline.
310
483417b8
MC
3112003-08-06 Michael Chastain <mec@shout.net>
312
313 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
314
c99c59c3
MS
3152003-08-12 Michael Snyder <msnyder@redhat.com>
316
317 * gdb.base/float.exp: Add test for SH.
318
55ed7501
MK
3192003-08-10 Mark Kettenis <kettenis@gnu.org>
320
321 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
322
1a371f2e
EZ
3232003-08-07 Elena Zannoni <ezannoni@redhat.com>
324
325 * gdb.base/completion.exp: Remove reduntant completion test
326 on filename.
327
e0f353ce
EZ
3282003-08-07 Elena Zannoni <ezannoni@redhat.com>
329
330 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
331 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
332 gdb.trace/save-trace.exp: Make sure that full pathnames are
333 escaped correctly.
334
5710a1af
EZ
3352003-08-07 Elena Zannoni <ezannoni@redhat.com>
336
337 * configure.in: Don't generate config.h from config.hin.
338 * configure: Regenerate.
339 * config.hin: Remove file.
340 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
341 * gdb.threads/pthreads.c: Ditto.
342
dcd81ce9
DJ
3432003-08-07 Daniel Jacobowitz <drow@mvista.com>
344
345 From Kei Sakamoto <sakamoto.kei@renesas.com>:
346 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
347 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
348 Replace ld24 with seth/add3.
349
6009d884
AC
3502003-08-02 Andrew Cagney <cagney@redhat.com>
351
352 * gdb.base/annota3.exp: New file.
353 * gdb.base/annota3.c: New file.
354 * gdb.c++/annota3.exp: New file.
355 * gdb.c++/annota3.cc: New file.
356
51514e06
MC
3572003-07-29 Michael Chastain <mec@shout.net>
358
359 * gdb.threads/tls.c (spin): Check errno only if sem_wait
360 actually failed.
361 (do_pass): Likewise.
362 * gdb.threads/tls.exp: Always initialize no_of_threads.
363
4ee6625b
DJ
3642003-07-27 Daniel Jacobowitz <drow@mvista.com>
365
366 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
367 pattern.
368 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
369 * gdb.threads/tls.exp: Recognize one case of the host library not
370 supporting TLS.
371
225f2bf6
AC
3722003-07-27 Andrew Cagney <cagney@redhat.com>
373
374 * gdb.base/fileio.exp: Use SH when running commands using
375 remote_exec.
376
bcb27c9f
DJ
3772003-07-24 Daniel Jacobowitz <drow@mvista.com>
378
379 From Kei Sakamoto <sakamoto.kei@renesas.com>:
380 * gdb.base/relocate.c (dummy): New padding array.
381
3d67be83
MS
3822003-07-22 Michael Snyder <msnyder@redhat.com>
383
384 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
385
386 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
387 patterns to be more general, accepting old and new output.
388 Some output chars (such as '+') also must be quoted.
389 Some addresses are displayed numerically instead of
390 symbolically.
391
57ba3b85
MS
3922003-07-23 Michael Snyder <msnyder@redhat.com>
393
686d097c
MS
394 * gdb.base/return2.exp: Don't test long-long return.
395
57ba3b85
MS
396 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
397 * gdb.disasm/t01_mov.exp: Ditto.
398 * gdb.disasm/t02_mova.s: Ditto.
399 * gdb.disasm/t02_mova.exp: Ditto.
400 * gdb.disasm/t03_add.s: Ditto.
401 * gdb.disasm/t03_add.exp: Ditto.
402 * gdb.disasm/t04_sub.s: Ditto.
403 * gdb.disasm/t04_sub.exp: Ditto.
404 * gdb.disasm/t05_cmp.s: Ditto.
405 * gdb.disasm/t05_cmp.exp: Ditto.
406 * gdb.disasm/t06_ari2.s: Ditto.
407 * gdb.disasm/t06_ari2.exp: Ditto.
408 * gdb.disasm/t07_ari3.s: Ditto.
409 * gdb.disasm/t07_ari3.exp: Ditto.
410 * gdb.disasm/t08_or.s: Ditto.
411 * gdb.disasm/t08_or.exp: Ditto.
412 * gdb.disasm/t09_xor.s: Ditto.
413 * gdb.disasm/t09_xor.exp: Ditto.
414 * gdb.disasm/t10_and.s: Ditto.
415 * gdb.disasm/t10_and.exp: Ditto.
416 * gdb.disasm/t11_logs.s: Ditto.
417 * gdb.disasm/t11_logs.exp: Ditto.
418 * gdb.disasm/t12_bit.s: Ditto.
419 * gdb.disasm/t12_bit.exp: Ditto.
420 * gdb.disasm/t13_otr.s: Ditto.
421 * gdb.disasm/t13_otr.exp: Ditto.
422
e00759ef
EZ
4232003-07-22 Elena Zannoni <ezannoni@redhat.com>
424
425 * gdb.threads/tls.exp :Add kfail for 'info address' case.
426
8bc2021f
EZ
4272003-07-22 Elena Zannoni <ezannoni@redhat.com>
428
429 * gdb.threads/tls.c : New file.
430 * gdb.threads/tls.exp : New file.
431 * gdb.threads/tls-main.c : New file.
432 * gdb.threads/tls-shared.c : New file.
433 * gdb.threads/tls-shared.exp : New file.
434
89320c4c
AS
4352003-07-22 Andreas Schwab <schwab@suse.de>
436
437 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
438
180dea7c
AS
4392003-07-20 Andreas Schwab <schwab@suse.de>
440
441 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
442 due to insn reordering.
443
0714963c
AC
4442003-07-15 Andrew Cagney <cagney@redhat.com>
445
446 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
447
98a23b3f
MC
4482003-07-15 Michael Chastain <mec@shout.net>
449
450 * gdb.base/gdb1250.exp: New file.
451 * gdb.base/gdb1250.c: New file.
452
27e417a2
ML
4532003-07-09 Michal Ludvig <mludvig@suse.cz>
454
455 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
456 expansion of size_t to 'unsigned long', not only to 'unsigned'.
457
8bc2021f
EZ
4582003-07-09 Elena Zannoni <ezannoni@redhat.com>
459
460 * gdb.threads/tls.c: New file.
461 * gdb.threads/tls.exp: New file.
462 * gdb.threads/tls-main.c: New file.
463 * gdb.threads/tls-shared.c: New file.
464 * gdb.threads/tls-shared.exp: New file.
465
d99968dc
EZ
4662003-07-09 Elena Zannoni <ezannoni@redhat.com>
467
468 * gdb.base/annota1.exp: Make sure that we properly escape the
469 full path of the source file. Xfail more permissive patterns,
470 due to a compiler debug info problem.
471
83876b3b
AS
4722003-07-07 Andreas Schwab <schwab@suse.de>
473
2705e972
AS
474 * gdb.asm/m68k.inc: New file.
475 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
476
83876b3b
AS
477 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
478 arguments"): Also match negative number.
479
480 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
481
3a871b37
DJ
4822003-07-03 Daniel Jacobowitz <drow@mvista.com>
483
484 * gdb.base/store.c (charest): New typedef.
485 (add_char): Rename to add_charest, update.
486 (wack_char): Rename to wack_charest, update types. Return l + r
487 to keep r live across the call.
488 (wack_short, wack_int, wack_long, wack_longest, wack_float)
489 (wack_double, wack_doublest): Return l + r to keep r live across
490 the call.
491 * gdb.base/store.exp: Accomodate store.c changes.
492
b2a7f303
DC
4932003-06-30 David Carlton <carlton@kealia.com>
494
495 * gdb.c++/maint.exp (test_invalid_name): New.
496 (test_first_component): Add tests for invalid names.
497
3c6cb4a1
MC
4982003-06-29 Michael Chastain <mec@shout.net>
499
500 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
501 output of '<VTT for class>' for virtual base classes.
502
f1c2644b
DJ
5032003-06-29 Daniel Jacobowitz <drow@mvista.com>
504
505 * gdb.base/completion.exp: Tab-complete "complet" instead of
506 "compl".
507 * gdb.base/complex.exp, gdb.base/complex.c: New files.
508
18080350
DJ
5092003-06-29 Daniel Jacobowitz <drow@mvista.com>
510
511 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
512 * gdb.base/volatile.exp: Likewise.
513
f56973f8
DJ
5142003-06-29 Daniel Jacobowitz <drow@mvista.com>
515
516 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
517 gdb/1265.
518
5192003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
520 Daniel Jacobowitz <drow@mvista.com>
521
522 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
523 initial line count of 'captured_main' from 26 to 32.
524 (test_with_self): Allow xmalloc call to be interleaved with the
525 preceding two lines.
526
e766d4d6
JB
5272003-06-24 Joel Brobecker <brobecker@gnat.com>
528
529 * gdb.base/bang.exp: New testcase.
530
f125c9a4
JB
5312003-06-23 Joel Brobecker <brobecker@gnat.com>
532
533 * gdb.base/langs.exp: Add some tests for the "minimal" language
534 support.
535
6e25beaf
EZ
5362003-06-23 Elena Zannoni <ezannoni@redhat.com>
537
538 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
539 the testcase.
540
2f816dda
DJ
5412003-06-22 Daniel Jacobowitz <drow@mvista.com>
542
543 * gdb.base/relocate.exp: Test add-symbol-file with a variable
544 offset.
545
db5a5748
DJ
5462003-06-22 Daniel Jacobowitz <drow@mvista.com>
547
548 * gdb.c++/pr-1210.cc: New file.
549 * gdb.c++/pr-1210.exp: New file.
550
1df0c130
DJ
5512003-06-21 Daniel Jacobowitz <drow@mvista.com>
552
553 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
554 000-exec-continue.
555
a92feac0
MK
5562003-06-15 Mark Kettenis <kettenis@gnu.org>
557
558 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
559 on *-*-*bsd* instead of *-*-freebsd*.
560
81a58f5b
AC
5612003-06-14 Andrew Cagney <cagney@redhat.com>
562
563 * gdb.base/store.exp: Test longest and doublest. Test all
564 parameters. Weaken return statement match.
565 * gdb.base/store.c: Add longest and doublest - aka long long and
566 long double functions. Put all parameters into local register
567 variables. Use negative values.
568
b257a0d3
AC
5692003-06-14 Andrew Cagney <cagney@redhat.com>
570
571 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
572 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
573 exit status.
574 * gdb.base/fileio.exp: Disable target when nointerrupts and
575 noinferiorio, instead of limiting it to remote. Use remote_exec
576 instead of system.
577
21c38304
JJ
5782003-06-12 Jeff Johnston <jjohnstn@redhat.com>
579
580 * gdb.base/float.exp: Add ia64 support.
581
1bcdb424
CV
5822003-06-12 Corinna Vinschen <vinschen@redhat.com>
583
584 * gdb.base/fileio.exp: Run only on remote targets.
585
6aeb981f
CV
5862003-06-10 Corinna Vinschen <vinschen@redhat.com>
587
588 * gdb.base/fileio.c: New file, testing File-I/O.
589 * gdb.base/fileio.exp: Ditto.
590
53df362e
RG
5912003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
592
593 * gdb.base/shreloc.exp: New file, check symbol values obtained from
594 shared objects after relocation at load time (gdb PR/1132).
595 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
596 as above, part of the shared object relocation test.
597
ffee1b46
MK
5982003-06-08 Mark Kettenis <kettenis@gnu.org>
599
b5ca3722
MK
600 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
601 fully filled history list.
602 * gdb.base/gdb_history: New file.
603
03ed860d
MK
604 * gdb.base/signals.exp: XFAIL "continue to func1" on
605 i*86-*-freebsd*.
606
ffee1b46
MK
607 * gdb.base/attach.exp: When trying to attach to a nonexistent
608 process, make it possible to specify the PID based on the target,
609 and do so for *-*-freebsd*.
610
d80dbb52
RH
6112003-06-02 Richard Henderson <rth@redhat.com>
612
613 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
614
6dd77b81
RH
6152003-06-02 Richard Henderson <rth@redhat.com>
616
617 * gdb.base/selftest.exp: Next over lim_at_start initialization.
618
f6347e16
RH
6192003-06-02 Richard Henderson <rth@redhat.com>
620
621 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
622
2c161407
DJ
6232003-06-01 Daniel Jacobowitz <drow@mvista.com>
624
625 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
626 of globalvar.
627
572eb746
MK
6282003-06-01 Mark Kettenis <kettenis@gnu.org>
629
630 * gdb.asm/asm-source.exp: Check for memory read errors in
631 disassembler test on *BSD too.
632
9e9617a5
RH
6332003-06-01 Richard Henderson <rth@redhat.com>
634
635 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
636 for .frame.
637 (gdbasm_call): Lose ldgp.
638 (gdbasm_startup): Add frame information.
639 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
640
7b34ad4e
MK
6412003-05-31 Mark Kettenis <kettenis@gnu.org>
642
643 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
644 i?86-*-*.
645
10059fdf
MK
6462003-05-30 Mark Kettenis <kettenis@gnu.org>
647
648 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
649 FreeBSD.
650
acf4b816
RH
6512003-05-29 Richard Henderson <rth@redhat.com>
652
653 * gdb.asm/alpha.inc: New file.
654 * gdb.asm/asm-source.exp: Use it.
655
e9ecd949
JB
6562003-05-29 Jim Blandy <jimb@redhat.com>
657
658 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
659 'core.PID'.
660
e3e5a4f3
JB
6612003-05-22 Jim Blandy <jimb@redhat.com>
662
663 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
664 backtrace.
665
72fe3d25
DC
6662003-05-20 David Carlton <carlton@math.stanford.edu>
667
668 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
669 this time.
670
58da2eb2
DC
6712003-05-19 David Carlton <carlton@bactrian.org>
672
673 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
674 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
675
1fcb5155
DC
6762003-05-19 David Carlton <carlton@bactrian.org>
677
678 * gdb.c++/namespace.exp: Add namespace scope and anonymous
679 namespace tests.
680 Bump copyright date.
681 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
682 (main): Call C::D::marker2.
683 * gdb.c++/namespace1.cc: New file.
684
85e85163
JJ
6852003-05-14 Jeff Johnston <jjohnstn@redhat.com>
686
687 Roland McGrath <roland@redhat.com>
688 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
689 there is no manager thread.
690
a25fbfec
JJ
6912003-05-08 Jeff Johnston <jjohnstn@redhat.com>
692
693 * gdb.threads/schedlock.exp: Remove assumption that all threads
694 will run in a particular small time slice. Also ensure we break
695 in one of the child threads rather than the main thread.
696
be375bae
JB
6972003-05-07 Jim Blandy <jimb@redhat.com>
698
09bf6082
JB
699 Add support for assembly source testing on the s390x.
700 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
701 architecture.
702 * gdb.asm/s390x.inc: New file.
703
be375bae
JB
704 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
705 succession of 'if' statements.
706
00905d52
AC
7072003-05-05 Andrew Cagney <cagney@redhat.com>
708
709 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
710
b1e29e33
AC
7112003-05-05 Andrew Cagney <cagney@redhat.com>
712
713 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
714 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
715
e33d66ec
EZ
7162003-05-02 Elena Zannoni <ezannoni@redhat.com>
717
718 * gdb.base/charset.exp: Update based on new behavior of set/show
719 charset commands.
720
2b6fd0d8
AC
7212003-05-01 Andrew Cagney <cagney@redhat.com>
722
723 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
724 variable do not give memory errors.
725
130cacce
AF
7262003-04-30 Adam Fedor <fedor@gnu.org>
727
728 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
729 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
730 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
731 gdb.objc/basicclass.m: : New files
732
733 * lib/gdb.exp (gdb_compile_objc): New procedure.
734
bea71854
DJ
7352003-04-27 Daniel Jacobowitz <drow@mvista.com>
736
737 * gdb.base/signals.exp: Make backtrace tests more specific.
738
0f20eeea
DC
7392003-04-23 David Carlton <carlton@bactrian.org>
740
741 * gdb.c++/maint.exp (test_first_component): Add tests for
742 'operator' in more locations.
743
c8c4d8dc
KB
7442003-04-16 Kevin Buettner <kevinb@redhat.com>
745
746 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
747
3fe60e3c
EZ
7482003-04-16 Elena Zannoni <ezannoni@redhat.com>
749
750 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
751 func marke' instead. Update test name.
752
9219021c
DC
7532003-04-15 David Carlton <carlton@math.stanford.edu>
754
755 * gdb.c++/maint.exp: New file.
756
5dd55bdd
EZ
7572003-04-14 Elena Zannoni <ezannoni@redhat.com>
758
759 * gdb.threads/schedlock.c: Change type of thread function argument
760 to long, to avoid warnings on 64-bit platforms.
761
00890572
EZ
7622003-04-14 Elena Zannoni <ezannoni@redhat.com>
763
764 * gdb.base/attach.exp: Add new message from ptrace in case of
765 attaching to nonexistent process.
766
93201743
JB
7672003-04-11 Jim Blandy <jimb@redhat.com>
768
769 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
770 gdb.c++/userdef.cc: Place comments on the lines to which the
771 marker function might return.
772 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
773 gdb.c++/userdef.exp: Look for those comments to check that we've
774 returned to the right place, instead of checking line numbers.
775
2a11c64d
EZ
7762003-04-11 Elena Zannoni <ezannoni@redhat.com>
777
778 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
779 match on sourcefile name, instead of directory name.
780
68ab8fc5
EZ
7812003-04-10 Elena Zannoni <ezannoni@redhat.com>
782
783 * gdb.base/completion.exp: Use string_to_regexp to match the
784 working directory name.
785
5624293a
JB
7862003-04-09 Jim Blandy <jimb@redhat.com>
787
788 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
789 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
790 after an inferior function call, report the failure, but allow the
791 test to continue.
792
f1f02ee4
SC
7932003-04-05 Stephane Carrez <stcarrez@nerim.fr>
794
795 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
796 with -DPROTOTYPES.
797
6eb79af0
SC
7982003-04-05 Stephane Carrez <stcarrez@nerim.fr>
799
800 * gdb.base/break.exp: Revert last patch.
801
8dfb4cf0
SC
8022003-04-04 Stephane Carrez <stcarrez@nerim.fr>
803
804 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
805 with -DPROTOTYPES.
806
ed4c619a
AC
8072003-04-02 Andrew Cagney <cagney@redhat.com>
808
809 * gdb.base/callfuncs.exp: Make "print add" messages unique.
810 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
811 matching directories by the name breakpoint.
812 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
813 Make "continue to marker1" consistent.
814 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
815 message consistent.
816 * lib/gdb.exp: Put "the program is no longer running", and "the
817 program exited" in parenthesis.
818 * lib/mi-support.exp: Ditto.
819
4e35d5f0
BR
8202003-04-02 Bob Rossi <bob_rossi@cox.net>
821
822 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
823
71900fe8
AC
8242003-03-29 Andrew Cagney <cagney@redhat.com>
825
826 * gdb.base/sizeof.c (main): Print the value of '\377'.
827 * gdb.base/sizeof.exp: Check the sign of '\377'.
828
c0655a16
MC
8292003-03-27 Michael Chastain <mec@shout.net>
830
831 * gdb.base/gdb1090.exp: New file.
832 * gdb.base/gdb1090.cc: New file.
833
5b2a3989
JB
8342003-03-27 J. Brobecker <brobecker@gnat.com>
835
836 * gdb.gdb/observer.exp: New regression test.
837
79876890
MC
8382003-03-27 Michael Chastain <mec@shout.net>
839
840 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
841 * gdb.base/ptype.exp: Likewise.
842
6eac95e3
CV
8432003-03-27 Corinna Vinschen <vinschen@redhat.com>
844
845 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
846
e8c71839
MC
8472003-03-26 Michael Chastain <mec@shout.net>
848
849 * gdb.base/ptype.exp: Actually use some typedef'd types.
850
71b10041
SC
8512003-03-21 Stephane Carrez <stcarrez@nerim.fr>
852
853 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
854 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
855
2512cf80
CV
8562003-03-20 Corinna Vinschen <vinschen@redhat.com>
857
858 * gdb.base/default.exp: Fix regular expression.
859
0d195a4f
CV
8602003-03-20 Corinna Vinschen <vinschen@redhat.com>
861
862 * gdb.base/args.exp: Fix regular expression.
863
8a2dbca8
CV
8642003-03-20 Corinna Vinschen <vinschen@redhat.com>
865
866 * gdb.base/help.exp: Allow Win32 child process.
867
bf028682
CV
8682003-03-20 Corinna Vinschen <vinschen@redhat.com>
869
870 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
871 when stepping out of main().
872
182dbe85
CV
8732003-03-20 Corinna Vinschen <vinschen@redhat.com>
874
875 * gdb.base/default.exp: Check for win32 specific message when calling
876 "run" without executable.
877
d67a6ba5
CV
8782003-03-20 Corinna Vinschen <vinschen@redhat.com>
879
880 * gdb.base/args.exp: Expect .exe in output.
881
a955b5bb
CV
8822003-03-20 Corinna Vinschen <vinschen@redhat.com>
883
884 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
885 Cygwin native.
886
bf6bad4b
AC
8872003-03-17 Andrew Cagney <cagney@redhat.com>
888
889 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
890 vector registes.
891 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
892 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
893
293e9a31
DC
8942003-03-17 David Carlton <carlton@math.stanford.edu>
895
896 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
897 test, for PR breakpoints/38.
898 Call test_watchpoint_and_breakpoint.
899 * gdb.base/watchpoint.c (func3): New function.
900 (main): Call func3.
901
5330f2db
DC
9022003-03-04 David Carlton <carlton@math.stanford.edu>
903
904 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
905 Garply<Garply<char> >:: garply".
906 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
907 with respect to PR c++/1111; note also PR c++/1113.
908 (test_template_breakpoints): KFAIL "constructor breakpoint" with
909 respect to PR c++/1062.
910 KFAIL "destructor breakpoint" with respect to PR c++/1112.
911
6ece72da
DC
9122003-03-03 David Carlton <carlton@math.stanford.edu>
913
914 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
915 with respect to PR c++/57.
916 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
917 c++/826.
918 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
919 respect to PR c++/57.
920
85ca1584
DC
9212003-03-03 David Carlton <carlton@math.stanford.edu>
922
923 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
924 respect to PR c++/33 into FAILs.
925
98e9c5b8
MC
9262003-03-03 Michael Chastain <mec@shout.net>
927
7bedbf27
MC
928 * configure.in: Update copyright years.
929
9302003-03-03 Michael Chastain <mec@shout.net>
931
932 * Makefile.in: Update copyright years.
98e9c5b8 933
f683e100
DC
9342003-02-28 David Carlton <carlton@math.stanford.edu>
935
936 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
937 print class instead of struct and/or superfluous protection
938 specifiers, as long as the resulting output is equivalent to the
939 source code.
940 Delete FIXME from end of messages on tests that don't need
941 fixing.
942
a9e0cf2c
DC
9432003-02-28 David Carlton <carlton@math.stanford.edu>
944
945 * gdb.c++/templates.exp (do_tests): Allow const in the two
946 Foo<volatile char *>::foo tests.
947
e8d359df
MS
9482003-02-27 Michael Snyder <msnyder@redhat.com>
949
950 * gdb.base/restore.c (main): Return zero, so exit code
951 will be consistant.
952
0b71dc91
DC
9532003-02-26 David Carlton <carlton@math.stanford.edu>
954
955 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
956 char *>::foo" test with respect to PR c++/33. Create a new test
957 which is identical to that one except that it doesn't put the
958 space between the "char" and the "*"; KFAIL it, too.
959
dd14ab43
DC
9602003-02-26 David Carlton <carlton@math.stanford.edu>
961
962 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
963 template types into either PASSes or KFAILs (corresponding to PR
964 c++/57). Tweak indentation. Update copyright.
965
1146c7f1
SC
9662003-02-23 Stephane Carrez <stcarrez@nerim.fr>
967
968 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
969
74641dfb
MC
9702003-02-13 Michael Chastain <mec@shout.net>
971
972 * gdb.base/exprs.exp: Remove i960 remnants.
973 * gdb.base/funcargs.exp: Likewise.
974 * gdb.base/list.exp: Likewise.
975 * gdb.base/ptype.exp: Likewise.
976
559cd2d0
DC
9772003-02-14 David Carlton <carlton@math.stanford.edu>
978
979 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
980 pEe->D::vg()" from XFAIL to KFAIL.
981
c4f90d87
JM
9822003-02-13 Jason Molenda (jmolenda@apple.com)
983
984 * gdb.base/maint.exp: Update maint print statistics regexp to include
985 new entries.
986
cbc4d97c
MC
9872003-02-13 Michael Chastain <mec@shout.net>
988
989 * gdb.c++/inherit.exp: Remove call to get_debug_format.
990
40f235b7
MC
9912003-02-12 Michael Chastain <mec@shout.net>
992
993 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
994 * gdb.c++/inherit.exp: Likewise.
995 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
996 * gdb.c++/templates.exp: Likewise.
997 * gdb.c++/virtfunc.exp: Likewise.
998
c56716b0
JM
9992003-02-06 Jason Molenda (jason-cl@molenda.com)
1000
1001 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1002 why the code is written that way.
1003
070afcf8
MC
10042003-02-05 Michael Chastain <mec@shout.net>
1005
1006 * gdb.base/dump.exp: Add missing copyright line.
1007
5d0331e5
JM
10082003-02-05 Jason Molenda (jason-cl@molenda.com)
1009
f7ae6d3e 1010 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1011 at the beginning so the breakpoint doesn't get set on the loop.
1012
92851186
MC
10132003-02-05 Michael Chastain <mec@shout.net>
1014
1015 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1016 output for configurations with gcc 2.95.3.
1017
cbf1e085
AC
10182003-02-05 Keith Seitz <keiths@redhat.com>
1019 Andrew Cagney <ac131313@redhat.com>
1020
1021 * gdb.mi/mi-cli.exp: New file.
1022
29518e1e
MC
10232003-02-04 Michael Chastain <mec@shout.net>
1024
1025 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1026 Call perror and then continue.
1027
5af1d5f3
MC
10282003-02-03 Michael Chastain <mec@shout.net>
1029
1030 * gdb.c++/pr-1023.cc: New file.
1031 * gdb.c++/pr-1023.exp: New file.
1032
6b549786
JB
10332003-02-05 Jim Blandy <jimb@redhat.com>
1034
1035 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1036 it's local to foobar. Check for it there, and check that it's not
1037 present in main.
1038 * gdb.c++/local.cc (marker2): New function.
1039 (foobar): Call marker1.
1040 (main): Call marker2 instead of marker1.
1041
67f16606
AC
10422003-02-04 Andrew Cagney <ac131313@redhat.com>
1043
1044 * gdb.disasm/mn10200.exp: Obsolete file.
1045 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1046 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1047 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1048
1c5cb38e
DC
10492003-02-04 David Carlton <carlton@math.stanford.edu>
1050
1051 * gdb.c++/overload.exp: Test intToChar(1).
1052 * gdb.c++/overload.cc (intToChar): New.
1053 (main): Call intToChar.
1054
d1fe6965
DC
10552003-02-03 David Carlton <carlton@math.stanford.edu>
1056
1057 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1058 'might_kfail' arg.
1059 KFAIL some of the continue_to_bp_overloaded calls, according to
1060 PR c++/1025.
1061
9ba61c5d
MC
10622003-02-01 Michael Chastain <mec@shout.net>
1063
1064 * gdb.base/advance.c (marker1): New marker function.
1065 * gdb.base/advance.exp: When the 'advance' command lands on the
1066 return breakpoint, it can legitimately stop on either the
1067 current line or the next line. Accommodate both outcomes.
1068 * gdb.base/until.exp: Likewise.
1069
e7494ffb
AC
10702003-02-02 Andrew Cagney <ac131313@redhat.com>
1071
1072 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1073 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1074 now a list, not a tuple.
1075 * gdb.mi/mi-var-display.exp: Ditto.
1076 * gdb.mi/gdb792.exp: Ditto.
1077
075559bc
AC
10782003-02-01 Andrew Cagney <ac131313@redhat.com>
1079
1080 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1081 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1082 stack backtraces.
1083 * gdb.mi/mi-syn-frame.c: Part of same.
1084
2bd4c7b1
MK
10852003-02-01 Mark Kettenis <kettenis@gnu.org>
1086
1087 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1088 gdb.mi/mi1-pthreads.exp: Return instead of calling
1089 gdb_suppress_entire_file.
1090
eabd8992
MS
10912003-02-01 Mark Salter <msalter@redhat.com>
1092
1093 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1094
71469e2f
MS
10952003-01-31 Mark Salter <msalter@redhat.com>
1096
1097 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1098 Support empty arg.
1099
38a94d44
MC
11002003-01-30 Michael Chastain <mec@shout.net>
1101
1102 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1103 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1104 has been fixed in gdb/readline on 2003-01-09.
1105
19ea9e73
MS
11062003-01-29 Michael Snyder <msnyder@redhat.com>
1107
e8d359df
MS
1108 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1109 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1110 * gdb.base/args.exp: Skip if target does not support args passing.
1111
2307bd6a
DJ
11122003-01-22 Daniel Jacobowitz <drow@mvista.com>
1113
19ea9e73 1114 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1115 gdb_test. Accept a list of expect arguments as the third
1116 parameter.
1117 (gdb_test): Use it.
1118
f2dd3617
EZ
11192003-01-20 Elena Zannoni <ezannoni@redhat.com>
1120
1121 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1122 allow for different test tree configurations. Update some
1123 tescases accordingly.
1124 * gdb.arch/altivec-regs.exp: Ditto.
1125 * gdb.asm/asm-source.exp: Ditto.
1126 * gdb.base/advance.exp: Ditto.
1127 * gdb.base/display.exp: Ditto.
1128 * gdb.base/long_long.exp: Ditto.
1129 * gdb.base/mips_pro.exp: Ditto.
1130 * gdb.base/overlays.exp: Ditto.
1131 * gdb.base/relocate.exp: Ditto.
1132 * gdb.base/setshow.exp: Ditto.
1133 * gdb.base/step-line.exp: Ditto.
1134 * gdb.base/step-test.exp: Ditto.
1135 * gdb.base/until.exp: Ditto.
1136 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1137
c71cdefd
DC
11382003-01-17 David Carlton <carlton@math.stanford.edu>
1139
1140 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1141 corresponding to PR c++/945.
1142 Update copyright.
1143
fdba05d7
DC
11442003-01-17 David Carlton <carlton@math.stanford.edu>
1145
1146 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1147 corresponding to PR c++/68.
1148
11492003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1150
1151 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1152 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1153 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1154
c362c33a
EZ
11552003-01-15 Elena Zannoni <ezannoni@redhat.com>
1156
0fbc361c
EZ
1157 * gdb.base/break.exp: Fix change of default location, because of
1158 removal of until tests.
1159 * gdb.base/help.exp: Update test for new 'until' help message.
1160 Add test for help on 'advance'.
c362c33a
EZ
1161 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1162
dabf8a35
MK
11632003-01-15 Mark Kettenis <kettenis@gnu.org>
1164
1165 * gdb.base/default.exp: Adapt "info float" test for recent changes
1166 to that command. Add test for "info vector".
1167 * gdb.base/float.exp: New file. Add test for "info float" that
1168 resembles the old test in gdb.base/default.exp.
1169
a1769aca
DC
11702003-01-15 David Carlton <carlton@math.stanford.edu>
1171
1172 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1173
82025e13
EZ
11742003-01-15 Elena Zannoni <ezannoni@redhat.com>
1175
1176 * gdb.base/break.exp: Move the tests of until command from here...
1177 * gdb.base/until.exp: ... to here. New file. Add other tests.
1178 * gdb.base/advance.c: New file.
1179 * gdb.base/advance.exp: New file.
1180
8f9ab801
EZ
11812003-01-14 Elena Zannoni <ezannoni@redhat.com>
1182
1183 * gdb.base/args.c: New file.
1184 * gdb.base/args.exp: New file.
1185
9ae66589
DJ
11862003-01-14 Daniel Jacobowitz <drow@mvista.com>
1187
1188 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1189
8d77e5c3
DJ
11902003-01-14 Daniel Jacobowitz <drow@mvista.com>
1191
1192 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1193
12d2f0a1
DJ
11942003-01-14 Daniel Jacobowitz <drow@mvista.com>
1195
1196 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1197 dates.
1198
6ca37014
DJ
11992003-01-13 Daniel Jacobowitz <drow@mvista.com>
1200
1201 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1202
b0023472
DJ
12032003-01-13 Daniel Jacobowitz <drow@mvista.com>
1204
1205 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1206 (ptype &*"foo").
1207 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1208
d6abaea5
DJ
12092002-01-13 Daniel Jacobowitz <drow@mvista.com>
1210
1211 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1212 * gdb.mi/mi1-console.exp: Likewise.
1213
dfd536a7
DJ
12142002-01-13 Daniel Jacobowitz <drow@mvista.com>
1215
1216 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1217 * gdb.mi/mi1-console.exp: Likewise.
1218
a1fb14a2
DJ
12192003-01-13 Daniel Jacobowitz <drow@mvista.com>
1220
1221 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1222
c4cf40b7
DJ
12232003-01-09 Daniel Jacobowitz <drow@mvista.com>
1224
1225 * gdb.base/detach.exp: New test.
1226
696d5a5b
DJ
12272003-01-09 Daniel Jacobowitz <drow@mvista.com>
1228
1229 * Makefile.in (ALL_SUBDIRS): New variable.
1230 (subdirs, clean, distclean): Use it.
1231 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1232 regenerating Makefile, since it is generated from the top level.
1233 * gdb.asm/Makefile.in: Likewise.
1234 * gdb.base/Makefile.in: Likewise.
1235 * gdb.c++/Makefile.in: Likewise.
1236 * gdb.disasm/Makefile.in: Likewise.
1237 * gdb.java/Makefile.in: Likewise.
1238 * gdb.mi/Makefile.in: Likewise.
1239 * gdb.threads/Makefile.in: Likewise.
1240 * gdb.trace/Makefile.in: Likewise.
1241
754533e4
DC
12422003-01-09 David Carlton <carlton@math.stanford.edu>
1243
1244 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1245 Add copyright year 2003.
1246
d8b3e9ee
MC
12472003-01-06 Michael Chastain <mec@shout.net>
1248
1249 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1250 When selecting a thread, 'line' and 'file' are optional.
1251 * gdb.mi/mi1-pthreads.exp: Likewise.
1252
8e9e0fe6
AS
12532003-01-06 Andreas Schwab <schwab@suse.de>
1254
1255 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1256 failures.
1257
b5ab8ff3
DJ
12582003-01-04 Daniel Jacobowitz <drow@mvista.com>
1259
1260 Fix PR gdb/844
1261 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1262 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1263
1264 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1265 instead of calling gdb_suppress_entire_file.
1266 * gdb.threads/print-threads.exp: Likewise.
1267 * gdb.threads/schedlock.exp: Likewise.
1268
1269 * gdb.threads/killed.exp: Return instead of calling
1270 gdb_suppress_entire_file.
1271 * gdb.threads/linux-dp.exp: Likewise.
1272 * gdb.threads/pthreads.exp: Likewise.
1273
1e698235
DJ
12742003-01-04 Daniel Jacobowitz <drow@mvista.com>
1275
1276 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1277 stabs.
1278 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1279 * gdb.base/whatis.exp: Always allow (void) after function names.
1280
147ff08c
DJ
12812003-01-04 Daniel Jacobowitz <drow@mvista.com>
1282
1283 * gdb.c++/casts.exp: Correct regexp.
1284
dc62bfc2
MK
12852003-01-04 Mark Kettenis <kettenis@gnu.org>
1286
1287 * configure.in: Call AC_CONFIG_HEADER. Don't call
1288 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1289 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1290 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1291 aforementioned directories in the AC_OUPUT call.
1292 * config.hin: New file.
1293 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1294 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1295 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1296 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1297 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1298 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1299 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1300 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1301 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1302 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1303 gdb.threads/configure.in, gdb.threads/configure,
1304 gdb.threads/config.in, gdb.trace/configure.in,
1305 gdb.trace/configure: Removed.
1306
77afa639
MC
13072003-01-03 Michael Chastain <mec@shout.net>
1308
1309 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1310 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1311
7634bb6e
DJ
13122003-01-03 Daniel Jacobowitz <drow@mvista.com>
1313
1314 * gdb.base/store.exp: Fix regular expressions.
1315
b39c905e
MK
13162002-12-28 Mark Kettenis <kettenis@gnu.org>
1317
1318 * configure.in: Rewrite.
1319 * configure: Regenerated.
1320
0a8551dd
DC
13212003-01-03 David Carlton <carlton@math.stanford.edu>
1322
1323 * gdb.base/psymtab.exp: New file.
1324 * gdb.base/psymtab1.c: Ditto.
1325 * gdb.base/psymtab2.c: Ditto.
1326
c60b7188
AF
13272002-12-23 Adam Fedor <fedor@gnu.org>
1328
1329 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1330
ee73db83
DC
13312002-12-23 David Carlton <carlton@math.stanford.edu>
1332
1333 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1334 and current_directory initialization.
1335
d6c1774e
JB
13362002-12-22 Jim Blandy <jimb@redhat.com>
1337
f0a847b8
JB
1338 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1339 rather than as part of the output file name.
1340
d6c1774e
JB
1341 * gdb.base/attach.exp: There's no need to copy the test program to
1342 /tmp; that was only ever necessary on HP/UX, and this test is
1343 entirely disabled there anyway.
1344
f0708dbb
JB
13452002-12-21 Jim Blandy <jimb@redhat.com>
1346
4c2acfea
JB
1347 * gdb.c++/psmang.exp: Doc fix.
1348
f0708dbb
JB
1349 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1350 test.
1351
9579e000
DC
13522002-12-20 David Carlton <carlton@math.stanford.edu>
1353
1354 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1355
d1810171
MC
13562002-12-18 Michael Chastain <mec@shout.net>
1357
1358 * gdb.c++/annota2.exp: Add copyright year 2002.
1359
76565097
DC
13602002-12-17 David Carlton <carlton@math.stanford.edu>
1361
1362 * gdb.c++/try_catch.cc: Add marker comments.
1363 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1364 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1365 * gdb.c++/m-static.cc: Ditto.
1366 * gdb.c++/m-static1.cc: Ditto.
1367 * gdb.c++/try_catch.cc: Ditto.
1368
da81390b
JJ
13692002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1370
1371 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1372 to see whether we are using the new -environment-directory
1373 command which resets via -r or the old version of the command
1374 which may prompt the user. Part of fix for gdb/741.
1375
b304d130
AC
13762002-12-13 Andrew Cagney <ac131313@redhat.com>
1377
1378 * gdb.fortran/types.exp: Update obsolete comment.
1379 * gdb.fortran/exprs.exp: Ditto.
1380 * lib/gdb.exp: Delete obsolete code.
1381 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1382 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1383 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1384 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1385 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1386 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1387 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1388 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1389 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1390 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1391 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1392 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1393 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1394 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1395 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1396 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1397 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1398 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1399 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1400 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1401 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1402 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1403 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1404 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1405 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1406 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1407 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1408 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1409 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1410 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1411 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1412 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1413 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1414 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1415 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1416 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1417 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1418
a23b6e6a
DC
14192002-12-11 David Carlton <carlton@math.stanford.edu>
1420
1421 * gdb.c++/m-data.exp: Add test for members that shadow global
1422 variables: see PR gdb/804.
1423 * gdb.c++/m-data.cc: Ditto.
1424
6604731b
DJ
14252002-12-10 Daniel Jacobowitz <drow@mvista.com>
1426
1427 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1428
de46ecd7
DC
14292002-12-06 David Carlton <carlton@math.stanford.edu>
1430
1431 * gdb.base/store.c: Don't declare functions static.
1432
27e829d0
AC
14332002-12-04 Andrew Cagney <ac131313@redhat.com>
1434
1435 * gdb.base/store.exp, gdb.base/store.c: New files.
1436
92806416
DJ
14372002-12-03 Daniel Jacobowitz <drow@mvista.com>
1438
1439 * gdb.base/selftest.exp: Update for current gdb.
1440
3bcbaac5
DJ
14412002-12-03 Daniel Jacobowitz <drow@mvista.com>
1442
1443 * gdb.base/maint.exp: Only dump symbols from one source file
1444 or objfile.
1445
f4f00b1f
DJ
14462002-12-03 Daniel Jacobowitz <drow@mvista.com>
1447
1448 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1449 function call.
1450
f1c8a949
JB
14512002-11-25 Jim Blandy <jimb@redhat.com>
1452
1453 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1454 function appearing in error message.
1455
9e297a97
DJ
14562002-11-21 Daniel Jacobowitz <drow@mvista.com>
1457
1458 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1459
1f312e79
JJ
14602002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1461
1462 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1463 for mi1 and current mi is in correct format. New mi startup message
1464 should be in mi console format. This is part of fix for PR gdb/604.
1465
83c31e7d
FN
14662002-09-18 Fernando Nasser <fnasser@redhat.com>
1467
1468 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1469 which explicitly prints the zero offset as "+0".
1470
322b3f65
DJ
14712002-10-22 Daniel Jacobowitz <drow@mvista.com>
1472
1473 * gdb.threads/schedlock.c (args): Make unsigned.
1474
14752002-10-21 Daniel Jacobowitz <drow@mvista.com>
1476
1477 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1478 numbers. Allow "foo2|selected stack frame".
1479 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1480 * gdb.asm/asmsrc2.s: Likewise.
1481 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1482 comments.
1483 * gdb.asm/mips.inc: New file.
1484
5e2fe5b8
AF
14852002-10-18 Adam Fedor <fedor@gnu.org>
1486
1487 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1488 * gdb.base/help.exp: Likewise.
1489
abe1a5d0
KB
14902002-10-17 Kevin Buettner <kevinb@redhat.com>
1491
1492 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1493 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1494
10abb1d4
JB
14952002-10-02 Jim Blandy <jimb@redhat.com>
1496
1497 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1498
1f609b42
AC
14992002-10-01 Andrew Cagney <ac131313@redhat.com>
1500
1501 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1502 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1503 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1504 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1505 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1506 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1507 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1508
0aee02e4
AC
15092002-09-29 Andrew Cagney <ac131313@redhat.com>
1510
1511 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1512 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1513 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1514 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1515 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1516 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1517 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1518
6fde09ad
KB
15192002-09-27 Kevin Buettner <kevinb@redhat.com>
1520
1521 * gdb.base/annota1.exp (info break): Make directory components of
1522 path optional since not all compilers emit this debug information.
1523
1524 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1525 step ends up stepping out of the function instead of stopping on
1526 the epilogue.
1527
9e8aab75
KS
15282002-09-26 Keith Seitz <keiths@redhat.com>
1529
1530 * lib/insight-support.exp (gdbtk_start): Figure out where
1531 the insight executable is based on where gdb is. Use this
1532 executable to start insight instead of gdb.
1533
e36180d7
AC
15342002-09-25 Andrew Cagney <cagney@redhat.com>
1535
1536 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1537
9dd34b2b
AC
15382002-09-24 Andrew Cagney <ac131313@redhat.com>
1539
1540 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1541 test_isolated_complaints.
1542 (test_empty_complaint): New function.
1543 (test_empty_complaints): New function. Check no output when no
1544 complaints.
1545
dea97812
KB
15462002-09-19 Jim Blandy <jimb@redhat.com>
1547
1548 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1549
54951bd7
AC
15502002-09-19 Andrew Cagney <ac131313@redhat.com>
1551
1552 * gdb.gdb/complaints.exp: New file.
1553
dec43320
AC
15542002-09-18 Andrew Cagney <ac131313@redhat.com>
1555
1556 * gdb.base/maint.exp: Check `help maint internal-warning'.
1557
e70d6e3f
DC
15582002-09-18 David Carlton <carlton@math.stanford.edu>
1559
1560 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1561 numbers, and replace them by a single breakpoint after the
1562 constructors are all finished.
1563 Add test 4.
1564 * gdb.c++/m-static.cc: Add test 4.
1565 * gdb.c++/m-static.h: New file.
1566 * gdb.c++/m-static1.cc: New file.
1567
1568 * gdb.c++/printmethod.exp: New file.
1569 * gdb.c++/printmethod.cc: New file.
1570
1571 * gdb.c++/pr-574.exp: New file.
1572 * gdb.c++/pr-574.cc: New file.
1573
afb5c968
CV
15742002-09-18 Corinna Vinschen <vinschen@redhat.com>
1575
1576 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1577 embedded targets which never actually exit.
1578
31e45dee
FN
15792002-09-18 Fernando Nasser <fnasser@redhat.com>
1580
1581 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1582 "don't step after run" as unresolved or unsupported, instead of xfail.
1583
a283c5a1
CV
15842002-09-18 Corinna Vinschen <vinschen@redhat.com>
1585
1586 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1587 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1588 Add newline to expected string in "step out of main (status wrapper)"
1589 case.
1590
11350d2a
CV
15912002-09-18 Corinna Vinschen <vinschen@redhat.com>
1592
1593 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1594 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1595
0deec7d6
TT
15962002-09-17 Tom Tromey <tromey@redhat.com>
1597
1598 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1599 \000, not \0, in double-quoted string.
1600
b2b4a1b5
CV
16012002-09-14 Corinna Vinschen <vinschen@redhat.com>
1602
c9d37158 1603 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
1604 string after running the commands execution on breakpoint tests.
1605
1c56143a
CV
16062002-09-13 Corinna Vinschen <vinschen@redhat.com>
1607
1608 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1609
37f8da45
JB
16102002-09-12 Joel Brobecker <brobecker@gnat.com>
1611
1612 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1613
08b468e0
KS
16142002-09-10 Keith Seitz <keiths@redhat.com>
1615
1616 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1617 runto proc.
1618 (mi_run_to_main): Use mi_runto.
1619 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1620
dc360f58
KS
16212002-09-10 Keith Seitz <keiths@redhat.com>
1622
1623 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1624 regexp for stopping at main. Could have multiple event notifications.
1625 Don't assume that main was declared with no parameters.
1626 (mi_next): Use mi_step_to.
1627 (mi_step): Use mi_next_to.
1628
ce3abcfb
CV
16292002-09-09 Corinna Vinschen <vinschen@redhat.com>
1630
1631 * gdb.base/default.exp: Fix expected string in `info float' test.
1632
d1f5b980
BE
16332002-09-09 Ben Elliston <bje@redhat.com>
1634
1635 * config/mips.exp: Update comments.
1636 * config/mips-idt.exp: Likewise.
1637 * config/nind.exp: Likewise.
1638 * config/slite.exp: Likewise.
1639 * config/sparclet.exp: Likewise.
1640 * config/udi.exp: Likewise.
1641 * config/vx.exp: Likewise.
1642 * config/vxworks29k.exp: Likewise.
1643
2f71430b
JB
16442002-09-05 Jim Blandy <jimb@redhat.com>
1645
1646 * gdb.threads/killed.exp: Fix test failure message.
1647
7ddebc7e
KS
16482002-09-04 Keith Seitz <keiths@redhat.com>
1649
1650 * lib/mi-support.exp: Update copyright.
1651 (mi_gdb_test): Increase the priority of the expected pattern
1652 so that it matches gdb_test.
1653
0ae67eb3
KS
16542002-09-03 Keith Seitz <keiths@redhat.com>
1655
1656 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1657 Use integer comparison instead of string comparison for testing
1658 whether binary was built.
1659
38fc42c8
JB
16602002-09-03 Jim Blandy <jimb@redhat.com>
1661
1662 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1663
b6ff0e81
JB
16642002-08-29 Jim Blandy <jimb@redhat.com>
1665
1666 * gdb.threads/pthreads.exp: Move the portable thread compilation
1667 code into a function in lib/gdb.exp, and call that from here.
1668 * lib/gdb.exp (gdb_compile_pthreads): New function.
1669
07c98896
KS
16702002-08-29 Keith Seitz <keiths@redhat.com>
1671
1672 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1673 expect_out so that callers can get at it.
1674
0312286c
DJ
16752002-08-23 Daniel Jacobowitz <drow@mvista.com>
1676
1677 * gdb.threads/print-threads.c: New file.
1678 * gdb.threads/print-threads.exp: New file.
1679 * gdb.threads/schedlock.c: New file.
1680 * gdb.threads/schedlock.exp: New file.
1681
dd039bc4
EZ
16822002-08-22 Elena Zannoni <ezannoni@redhat.com>
1683
1684 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1685 not altivec.c.
1686
1f36144c
MK
16872002-08-17 Mark Kettenis <kettenis@gnu.org>
1688
1689 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1690 targets. The problem should be fixed now.
1691
16057ec7 16922002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1693
1694 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1695 2002-07-24 change that removes final dots from error messages.
1696
3c1499ad
TT
16972002-08-13 Tom Tromey <tromey@redhat.com>
1698
1699 * gdb.base/readline.exp: New file.
1700
a20ce2c3
AC
17012002-08-01 Andrew Cagney <ac131313@redhat.com>
1702
1703 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1704 supress message.
1705
db034ac5
AC
17062002-08-01 Andrew Cagney <cagney@redhat.com>
1707
1708 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1709 CHILL_FOR_TARGET and CHILL_LIB.
1710 * configure.in (configdirs): Remove gdb.chill.
1711 * configure: Regenerate.
1712 * lib/gdb.exp: Obsolete references to chill.
1713 * gdb.fortran/types.exp: Ditto.
1714 * gdb.fortran/exprs.exp: Ditto.
1715
3e000b18
KB
17162002-07-30 Kevin Buettner <kevinb@redhat.com>
1717
1718 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1719 set Irix-specific compile and link flags.
1720
28f4966b
KB
17212002-07-29 Kevin Buettner <kevinb@redhat.com>
1722
1723 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1724 source files. The ``-o'' option doesn't work with the ``-E'' option
1725 when using the Irix compiler.
1726
46c0d5a6
DJ
17272002-07-19 Daniel Jacobowitz <drow@mvista.com>
1728
1729 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1730 Improve support for reusing an exec file. Copy exec file
1731 to target, and run gdbserver on the target instead of on the host.
1732
eecf4bed
JB
17332002-07-18 Jim Blandy <jimb@redhat.com>
1734
0f815cdf
JB
1735 * gdb.base/ending-run.exp: Don't expect to see the program end in
1736 some orderly fashion when we're running on a real stand-alone
1737 board.
1738
eecf4bed
JB
1739 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1740 targets that don't support interrupts.
1741
52d309e4
JB
17422002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1743
1744 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1745 systems.
1746 Move comments in expect statements to inside the actions, so that they
1747 don't get matched against.
1748
ff683d9e
MK
17492002-07-10 Mark Kettenis <kettenis@gnu.org>
1750
1751 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1752 function when asleep" test.
1753
b5356753
AC
17542002-07-10 Andrew Cagney <ac131313@redhat.com>
1755
1756 * gdb.base/page.exp: Rewrite to handle problems with very long
1757 `info set' output. Update copyright.
1758
6aa4d13a
AC
17592002-06-26 Andrew Cagney <ac131313@redhat.com>
1760
1761 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1762 gdb.threads-hp.
1763 * gdb.hp/configure: Regenerate.
1764 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1765 * gdb.hp/gdb.threads-hp/configure: Delete file.
1766 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1767
8cf8c2b8
AC
17682002-06-22 Andrew Cagney <ac131313@redhat.com>
1769
1770 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1771 setlocale, bindtextdomain and textdomain.
1772
6827a8f8
JB
17732002-06-11 Jim Blandy <jimb@redhat.com>
1774
919d772c
JB
1775 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1776 preprocessor macro information is present.
1777
6827a8f8
JB
1778 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1779 tests.
1780
c15b0d21
MS
17812002-06-06 Michael Snyder <msnyder@redhat.com>
1782
c5984d70
MS
1783 * gdb.base/overlays.exp: Record addresses of overlay
1784 functions in TCL variables rather than in GDB variables,
1785 to avoid having GDB convert them to pointers (with loss
1786 of information).
1787
99a8512b
MS
1788 * gdb.base/d10v.ld: Merge in several years worth of
1789 default linker script changes.
c15b0d21
MS
1790 * gdb.base/long_long.exp: Add check for sizeof (long double).
1791
be26fe0d
ML
17922002-06-06 Michal Ludvig <mludvig@suse.cz>
1793
1794 * gdb.asm/asm-source.exp: Add x86-64 target.
1795 * gdb.asm/x86_64.inc: New.
1796
258093ca 17972002-05-30 Michael Chastain <mec@shout.net>
258093ca 1798
4b3153f1 1799 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1800 * gdb.c++/m-static.cc: New file.
1801 * gdb.c++/m-static.exp: New file.
1802
241264c6
MS
18032002-05-28 Michael Snyder <msnyder@redhat.com>
1804
1805 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1806 precision.
1807
9bba8c8f 18082002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1809
4b3153f1 1810 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1811 * gdb.c++/m-data.cc: New file.
1812 * gdb.c++/m-data.exp: New file.
1813
18142002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1815
4b3153f1 1816 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1817 * gdb.c++/try_catch.cc: New file.
1818 * gdb.c++/try_catch.exp: New file.
1819
def1b996
MC
18202002-05-27 Michael Chastain <mec@shout.net>
1821
1822 * gdb.c++/local.exp: Accept more nested types in output.
1823
522ba268
MC
18242002-05-26 Michael Chastain <mec@shout.net>
1825
1826 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1827
277254ba
MS
18282002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1829
1830 * lib/gdb.exp (gdb_wrapper_init): Just because
1831 gdb_wrapper_file exists, this does not mean that the file
1832 should not be rebuilt. That is what gdb_wrapper_initialized
1833 is for.
1834 (default_gdb_init): Reset gdb_wrapper_initialized.
1835
b61a8733
MS
18362002-05-23 Michael Snyder <msnyder@redhat.com>
1837
5bdb6d01
MS
1838 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1839 the precision of the floating point test results.
1840 * gdb.base/call-rt-st.exp: Ditto.
1841
b61a8733
MS
1842 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1843 * gdb.base/call-rt-st.exp: Ditto.
1844
56f6e910
MC
18452002-05-19 Michael Chastain <mec@shout.net>
1846
1847 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1848
ad0b0016
EZ
18492002-05-19 Elena Zannoni <ezannoni@redhat.com>
1850
1851 * configure.in (configdirs): Add gdb.arch.
1852 * configure: Regenerate.
1853
f617d2b6
JB
18542002-05-17 Jim Blandy <jimb@redhat.com>
1855
1856 * gdb.base/completion.exp: Recognize the more detailed error
1857 messages produced by the macro expander's lexical analyzer.
1858
eac2a696
EZ
18592002-05-14 Elena Zannoni <ezannoni@redhat.com>
1860
1861 * gdb.arch/altivec-abi.c: New file.
1862 * gdb.arch/altivec-abi.exp: New file.
1863 * gdb.arch/altivec-regs.c: New file.
1864 * gdb.arch/altivec-regs.exp: New file.
1865
2fdde8f8
DJ
18662002-05-14 Daniel Jacobowitz <drow@mvista.com>
1867
1868 * gdb.base/maint.exp (maint print type): Update for new type
1869 structure.
eac2a696 1870
e31f1a7c
EZ
18712002-05-14 Elena Zannoni <ezannoni@redhat.com>
1872
1873 * gdb.arch: New directory.
1874 * gdb.arch/configure.in: New file.
1875 * gdb.arch/configure: New file.
1876 * gdb.arch/Makefile.in: New file.
1877
db589741
CV
18782002-05-13 Corinna Vinschen <vinschen@redhat.com>
1879
1880 * gdb.asm/asm-source.exp: Add v850 as supported target.
1881 * gdb.asm/v850.inc: New file.
1882
8ce2a7dc
DJ
18832002-05-13 Daniel Jacobowitz <drow@mvista.com>
1884
1885 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1886
df763c7f
DJ
18872002-05-12 Daniel Jacobowitz <drow@mvista.com>
1888
1889 * gdb.base/break.exp: Check 'break "marker2"'.
1890
377daeed
MS
18912002-05-10 Michael Snyder <msnyder@redhat.com>
1892
1893 * gdb.base/long_long.exp: Fix typo.
1894
c4b7bc2b
JB
18952002-05-10 Jim Blandy <jimb@redhat.com>
1896
ecac9a4e
JB
1897 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1898 a bug.
1899
c4b7bc2b
JB
1900 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1901 Recognize more detailed error message produced by the macro
1902 expander's lexical analyzer.
1903 * lib/gdb.exp (test_print_reject): Same.
1904
e71019a1
MK
19052002-05-09 Mark Kettenis <kettenis@gnu.org>
1906
1907 * gdb.c++/method.exp: Fix typo.
1908
fedfc8e6
MS
19092002-05-08 Michael Snyder <msnyder@redhat.com>
1910
166a1957
MS
1911 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1912 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1913 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1914 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1915 Add iftarget clause for strongarm.
1916
f1c47eb2
MS
19172002-05-06 Michael Snyder <msnyder@redhat.com>
1918
cb9a9d3e
MS
1919 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1920 (gdb_continue_to_end): Accept output from status wrapper.
1921 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1922 Clean up fail messages to match pass messages.
1923
f1c47eb2
MS
1924 Enable the "needs_status_wrapper" testsuite feature.
1925 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1926 (gdb_compile): Conditionally call gdb_wrapper_init.
1927 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1928 * gdb.c++/method.exp: Recognize output from status wrapper.
1929
6079c749
BE
19302002-05-06 Ben Elliston <bje@redhat.com>
1931From Graydon Hoare <graydon@redhat.com>
1932
1933 * config/sid.exp: Include support for "rawsid" protocol.
1934
188baff3
JB
19352002-05-03 Jim Blandy <jimb@redhat.com>
1936
1937 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1938 * gdb.c++/hang3.C: New file.
1939
b9c07f0f
AC
19402002-05-04 Andrew Cagney <ac131313@redhat.com>
1941
1942 * gdb.base/default.exp: Remove obsolete code.
1943 * gdb.c++/misc.exp: Ditto. Update copyright.
1944 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1945 * gdb.base/whatis.exp: Ditto. Update copyright.
1946 * gdb.base/scope.exp: Ditto. Update copyright.
1947 * gdb.base/ptype.exp: Ditto. Update copyright.
1948 * gdb.base/printcmds.exp: Ditto. Update copyright.
1949 * gdb.base/opaque.exp: Ditto. Update copyright.
1950 * gdb.base/list.exp: Ditto.
1951 * gdb.base/funcargs.exp: Ditto. Update copyright.
1952 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1953 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1954 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1955 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1956 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1957 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1958
5c7a0397
MS
19592002-05-02 Michael Snyder <msnyder@redhat.com>
1960
d6dcc264 1961 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1962 * gdb.base/long_long.exp: Add xscale target.
1963 * gdb.base/default.exp: Add xscale target.
1964
eb7f1c48
JB
19652002-05-01 Jim Blandy <jimb@redhat.com>
1966
1967 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1968 gdb.c++/hang.exp: New test.
1969
a6befae8
FF
19702002-05-01 Fred Fish <fnf@redhat.com>
1971
1972 * gdb.base/completion.exp: Handle completions of "./Make" for
1973 more than one completion possibility, as is the case when we
1974 build and test in the source tree.
1975
0a310277
AG
19762002-04-29 Anthony Green <green@redhat.com>
1977
1978 * gdb.java/jmisc1.exp: New file.
1979 * gdb.java/jmisc2.exp: New file.
1980
6ff9af88
DJ
19812002-04-24 Daniel Jacobowitz <drow@mvista.com>
1982
1983 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1984
96b3d632
EZ
19852002-04-23 Elena Zannoni <ezannoni@redhat.com>
1986
1987 * gdb.base/help.exp: Change 'help status' to allow for target
1988 dependent output differences.
1989
5019bb54
MC
19902002-04-22 Michael Chastain <mec@shout.net>
1991
1992 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1993
a805a116
MC
19942002-04-22 Michael Chastain <mec@shout.net>
1995
1996 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1997
a1706bfd
DM
19982002-04-17 David S. Miller <davem@redhat.com>
1999
2000 * gdb.asm/sparc64.inc: New file.
2001 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2002
a73a20a2
EZ
20032002-04-19 Elena Zannoni <ezannoni@redhat.com>
2004
2005 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2006 instruction file directly into the build tree. Clean up at end of
2007 test.
2008
ba678339
DM
20092002-04-18 David S. Miller <davem@redhat.com>
2010
2011 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2012 handle 64-bit platforms correctly.
2013 * gdb.base/maint.exp: Likewise.
2014
b03399da
KB
20152002-04-18 Kevin Buettner <kevinb@redhat.com>
2016
2017 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2018 ``-fpic'' when compiling files comprising a shared library, but
2019 it does need additional linker flags in order to find shared
2020 libraries at run time.
2021
e2004992
KB
20222002-04-18 Kevin Buettner <kevinb@redhat.com>
2023
2024 * gdb.base/cvexpr.c (use): New function.
2025 (main): Invoke use() on all global variables to prevent
2026 some linkers from deleting these otherwise unused symbols.
2027
d8937120
MC
20282002-04-17 Michael Chastain <mec@shout.net>
2029From David S. Miller <davem@redhat.com>
2030
2031 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2032 handle 64-bit platforms correctly.
2033
ffd61a58
MS
20342002-04-12 Michael Snyder <msnyder@redhat.com>
2035From Jim Blandy <jimb@redhat.com>
2036 * gdb.base/foo.c (foox): Remove section attribute; the linker
2037 script can handle this instead.
2038 * gdb.base/bar.c (barx): Same.
2039 * gdb.base/baz.c (bazx): Same.
2040 * gdb.base/grbx.c (grbxx): Same.
2041
2042 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2043 manager doesn't automatically unmap overlays unnecessarily.
2044
6b8426a6
MH
20452002-04-10 Martin M. Hunt <hunt@redhat.com>
2046
2047 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2048 stepping out of main.
2049
34af4875
MC
20502002-04-09 Michael Chastain <mec@shout.net>
2051
2052 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2053 scope so that the nested scope tests will make sense.
2054 * gdb.c++/local.exp: Write patterns that actually work with gcc
2055 (the HP patterns "were never known to work with gcc").
2056 Keep the old aCC patterns too.
2057
2d1676a0
DJ
20582002-04-09 Daniel Jacobowitz <drow@mvista.com>
2059
2060 * gdb.base/attach.exp: Correct target board test.
2061
3a63e3f9
MC
20622002-04-08 Michael Chastain <mec@shout.net>
2063
2064 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2065 in a const method. Add some xfail and fail cases for configurations
2066 that do not emit the "const ...".
2067
f18dabd2
MC
20682002-04-07 Michael Chastain <mec@shout.net>
2069
2070 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2071 Accept "A * const" and "const A * const" as type of "this".
2072 Fix spelling of getFunky throughout. Make messages uniform.
2073
0fcddd82
EZ
20742002-04-07 Elena Zannoni <ezannoni@redhat.com>
2075
2076 Work around for PR gdb/285:
2077 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2078
16a8534a
EZ
20792002-04-07 Elena Zannoni <ezannoni@redhat.com>
2080
2081 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2082 instructions file at run time instead of configure time.
2083 Sometimes we run the test in a directory that is not the one we
2084 configured in.
2085 * gdb.asm/configure.in: Delete creation of symlink.
2086 * gdb.asm/configure: Regenerate.
2087
24181d81
JB
20882002-04-05 J. Brobecker <brobecker@gnat.com>
2089
2090 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2091 xfullpath () function.
2092
7cdb7107
DJ
20932002-04-04 Daniel Jacobowitz <drow@mvista.com>
2094
2095 * gdb.asm/Makefile.in: Correct dependencies.
2096
2097 * gdb.asm/powerpc.inc: New file.
2098 * gdb.asm/asm-source.exp: Add PowerPC.
2099 * gdb.asm/configure.in: Likewise.
2100 * gdb.asm/configure: Regenerated.
2101
a7d17088
DJ
21022002-04-04 Daniel Jacobowitz <drow@mvista.com>
2103
2104 * gdb.base/relocate.exp: New file.
2105 * gdb.base/relocate.c: New file.
2106
cd721503
FF
21072002-04-04 Fred Fish <fnf@redhat.com>
2108
2109 * gdb.base/step-test.exp: Update comment regarding stopping in
2110 memcpy/bcopy calls inserted as part of the compiler runtime.
2111
b22ad7a7
MS
21122002-04-04 Michael Snyder <msnyder@redhat.com>
2113
2114 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2115
5f279fa6
DJ
21162002-04-03 Daniel Jacobowitz <drow@mvista.com>
2117
2118 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2119 (gdb_expect): Remove $notransfer hack.
2120
dd0fd3ce
DJ
21212002-04-02 Daniel Jacobowitz <drow@mvista.com>
2122
2123 * gdb.c++/classes.exp ("calling method for small class"): Match
2124 updated register output.
2125
1e50cda1
DJ
21262002-03-30 Daniel Jacobowitz <drow@mvista.com>
2127
2128 Fix PR gdb/452
2129 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2130 when finished. Make gdb_file_cmd send "exec-file" when
2131 appropriate.
2132
24015922
DJ
21332002-03-30 Daniel Jacobowitz <drow@mvista.com>
2134
2135 * gdb.base/attach.exp: Remove extra setup_xfail.
2136
dd7dfd64
MS
21372002-03-26 Michael Snyder <msnyder@redhat.com>
2138
2139 * gdb.base/default.exp: Add tests for dump, append, and restore.
2140 * gdb.base/help.exp: Add tests for dump, append, and restore.
2141 * gdb.base/dump.exp: New file, test dump, append and restore.
2142 * gdb.base/dump.c: New file.
2143
48b2f8d7
MS
21442002-03-27 Michael Snyder <msnyder@redhat.com>
2145
2146 * gdb.base/help.exp: Modify expect strings to reflect
2147 clean-ups in help messages.
2148
05b4d525
FF
21492002-03-26 Fred Fish <fnf@redhat.com>
2150
2151 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2152 have debugging info for those functions and the compiler uses them
2153 internally to copy structs around.
2154
d7679631
FF
21552002-03-26 Fred Fish <fnf@redhat.com>
2156
2157 * gdb.base/list.exp: Revert the change made yesterday and add note
2158 about why we don't list the default lines for remote targets.
2159
523ac3f9
MS
21602002-03-25 Michael Snyder <msnyder@redhat.com>
2161
2162 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2163
754b2b8d
FF
21642002-03-25 Fred Fish <fnf@redhat.com>
2165
2166 * gdb.base/list.exp: This test works on remote targets so remove
2167 the short circuit for remote targets. Update copyright.
2168
33c3e192
FF
21692002-03-25 Fred Fish <fnf@redhat.com>
2170
2171 * gdb.base/attach.exp: Fix logic error that was suppressing this
2172 test for all non hppa*-*-hpux* targets, instead of the hp target.
2173 Move comments closer to the suppression point. Also now need to
2174 check that we are running natively.
2175
d43e73ee
MS
21762002-03-22 Michael Snyder <msnyder@redhat.com>
2177
882c8f02
MS
2178 * gdb.base/default.exp: Add test for gcore. Update copyright.
2179 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2180
04c12f60
FF
21812002-03-06 Fred Fish <fnf@redhat.com>
2182
2183 * gdb.base/funcargs.c: Remove extraneous ';' character.
2184 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2185
b43df995
MC
21862002-03-04 Michael Chastain <mec@shout.net>
2187
2188 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2189 accommodate gcc v3 function signature.
2190 * gdb.mi/mi0-var-cmd-exp: Ditto.
2191
92362027
AC
21922002-02-24 Andrew Cagney <ac131313@redhat.com>
2193
2194 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2195 ``GNU/Linux'' or ``Linux kernel''
2196 * testsuite/gdb.threads/pthreads.c: Ditto.
2197
258ad32d
MC
21982002-02-24 Michael Chastain <mec@shout.net>
2199
2200 * gdb.threads/pthreads.c (thread1): Add a return statement.
2201 (thread2): Likewise.
2202 (foo): Likewise.
2203
04c3b3d4
MC
22042002-02-23 Michael Chastain <mec@shout.net>
2205
2206 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2207 to placate gcc.
2208
5a2a0a20
MC
22092002-02-23 Michael Chastain <mec@shout.net>
2210
2211 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2212 test "ptype bint". The test passes on all my stabs configurations.
2213
a640f7fc
JB
22142002-02-21 Jim Blandy <jimb@redhat.com>
2215
27924826
JB
2216 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2217 filename at a time, and watch for the ones we want to see.
2218
a640f7fc
JB
2219 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2220 types of pointers to prototyped functions.
2221
edcc8c75
AC
22222002-02-20 Andrew Cagney <ac131313@redhat.com>
2223
2224 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2225 signed, unsigned and straight char.
2226 (padding_char, padding_short, padding_int, padding_long,
2227 padding_long_long, padding_float, padding_double,
2228 padding_long_double): New global variables.
2229 (fill, fill_structs): New functions.
2230
2231 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2232 for correctly sized writes. Update copyright.
2233 (get_valueof): New procedure.
2234 (get_sizeof): Call get_valueof.
2235 (check_valueof): New procedure.
2236 (check_padding): New procedure.
2237
ac57ea44
MC
22382002-02-20 Michael Chastain <mec@shout.net>
2239
2240 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2241 to setup_xfail. Document some of the remaining calls.
2242
7a10c941
MC
22432002-02-18 Michael Chastain <mec@shout.net>
2244
2245 * gdb.c++/userdef.exp: Update copyright year.
2246
fb8acdcc
DJ
22472002-02-18 Daniel Jacobowitz <drow@mvista.com>
2248
2249 * gdb.c++/userdef.exp: Test overloaded operators properly.
2250 Remove xfails.
2251
fda6ae12
MS
22522002-02-14 Michael Snyder <msnyder@redhat.com>
2253
2254 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2255
676a0442
DJ
22562002-02-14 Daniel Jacobowitz <drow@mvista.com>
2257
2258 * gdb.base/a2-run.exp: Check for a remote target properly.
2259 * gdb.base/annota1.exp: Likewise.
2260 * gdb.base/list.exp: Likewise.
2261 * gdb.base/reread.exp: Likewise.
2262 * gdb.base/scope.exp: Likewise.
2263 * gdb.base/shlib-call.exp: Likewise.
2264 * gdb.base/term.exp: Likewise.
2265 * gdb.c++/annota2.exp: Likewise.
2266
78b4f468
RE
22672002-02-13 Richard Earnshaw <rearnsha@arm.com>
2268
2269 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2270
9a81ba51
MC
22712002-02-10 Michael Chastain <mec@shout.net>
2272
2273 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2274 (call_after_alloca): Ditto.
2275
004af6c7
DJ
22762002-02-10 Daniel Jacobowitz <drow@mvista.com>
2277
2278 * gdb.base/ending-run.exp: Guard "cont" test with
2279 gdb_skip_stdio_test.
2280
37225f62
JB
22812002-02-06 Jim Blandy <jimb@redhat.com>
2282
2283 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2284 from here...
2285 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2286 To here. Disable this test on non-HP platforms. Add big comment.
2287
fe6fdd96
MS
22882002-02-04 Michael Snyder <msnyder@redhat.com>
2289
2290 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2291 other than d10v and m32r.
2292
036fad3f
RE
22932002-02-02 Richard Earnshaw <rearnsha@arm.com>
2294
2295 * gdb.base/default.exp: Rewrite test patterns to reduce time
2296 taken to match them.
2297
7148ab62
DJ
22982002-01-30 Daniel Jacobowitz <drow@mvista.com>
2299
2300 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2301 Allow a start function above main.
2302 * gdb.threads/linux-dp.exp: Fix copyright date.
2303
396cc255
DJ
23042002-01-30 Daniel Jacobowitz <drow@mvista.com>
2305
2306 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2307 (check_philosopher_stack): Check for manager thread before checking
2308 for a just-starting thread.
2309
f038d31b
DJ
23102002-01-30 Daniel Jacobowitz <drow@mvista.com>
2311
2312 From Neil Booth <neil@daikokuya.demon.co.uk>:
2313 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2314 warnings.
2315
b3ff9d9a
FF
23162002-01-21 Fred Fish <fnf@redhat.com>
2317
2318 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2319 not caller.
2320
39ad761d
JB
23212002-01-21 Jim Blandy <jimb@redhat.com>
2322
2323 * gdb.base/reread.exp: Check that GDB properly re-reads the
2324 executable file when it changes while no inferior is running.
2325
aaf320fa
FF
23262002-01-21 Fred Fish <fnf@redhat.com>
2327
2328 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2329 optionally accept the "shlib events" variation.
2330
808a31f5
JB
23312002-01-21 Jim Blandy <jimb@redhat.com>
2332
2333 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2334 call `fflush' after every `printf', so that the output is produced
2335 at predictable points, regardless of whatever buffering does (or
2336 doesn't) take place.
2337 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2338 at different points.
2339
4420d5e2
DJ
23402002-01-20 Daniel Jacobowitz <drow@mvista.com>
2341
2342 * gdb.c++/inherit.exp: Update copyright years.
2343 * gdb.c++/method.exp: Likewise.
2344
3e36a0f4
DJ
23452002-01-20 Daniel Jacobowitz <drow@mvista.com>
2346
2347 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2348 artificial methods/arguments.
2349 * gdb.c++/derivation.exp: Likewise.
2350 * gdb.c++/inherit.exp: Likewise.
2351 * gdb.c++/method.exp: Likewise.
2352 * gdb.c++/virtfunc.exp: Likewise.
2353
b4ceaee6
AC
23542002-01-18 Andrew Cagney <ac131313@redhat.com>
2355
2356 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2357 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2358 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2359 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2360 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2361 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2362
ecace851
JB
23632002-01-17 Jim Blandy <jimb@redhat.com>
2364
2365 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2366 anchoring the pattern matching the entry point symbol's name.
2367
375fc983
AC
23682002-01-17 Andrew Cagney <ac131313@redhat.com>
2369
2370 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2371 continue/quit query. Update copyright.
2372
fe6fdd96
MS
23732002-01-14 Michael Snyder <msnyder@redhat.com>
2374
2375 * gdb.base/gcore.exp: Remove extra debugging output.
2376
e017c81f
DJ
23772002-01-13 Daniel Jacobowitz <drow@mvista.com>
2378
2379 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2380 for slightly dubious v2 mangled string.
2381
37ab3bf8
DJ
23822002-01-13 Daniel Jacobowitz <drow@mvista.com>
2383
2384 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2385
1bc05c3a 23862002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 2387
1bc05c3a 2388 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 2389
1bc05c3a
JM
2390 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2391 constructors.
2392 * gdb.c++/derivation.exp: Likewise.
2393 * gdb.c++/templates.exp: Likewise.
2394 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 2395
1bc05c3a
JM
23962002-01-10 Michael Snyder <msnyder@redhat.com>
2397
2398 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 2399
a911c360
MS
24002002-01-08 Michael Snyder <msnyder@redhat.com>
2401
2402 * gdb.base/gcore.exp: New test for generate-core-file command.
2403 * gdb.base/gcore.c: Testcase for above.
2404 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2405
ea2119ec
JM
24062002-01-08 Jason Merrill <jason@redhat.com>
2407
2408 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2409
68203136
FF
24102002-01-07 Fred Fish <fnf@redhat.com>
2411
2412 * gdb.c++/overload.exp: Remove unconditional xfails for:
2413 print foo_instance1.overloadargs(1)
2414 print foo_instance1.overloadargs(1, 2)
2415 print foo_instance1.overloadargs(1, 2, 3)
2416 print foo_instance1.overloadargs(1, 2, 3, 4)
2417 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2418 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2419 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2420 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2421 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2422 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2423 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2424 print foo_instance1.overload1arg()
2425 print foo_instance1.overload1arg((char)arg2)
2426 print foo_instance1.overload1arg((signed char)arg3)
2427 print foo_instance1.overload1arg((unsigned char)arg4)
2428 print foo_instance1.overload1arg((int)arg7)
2429 print foo_instance1.overload1arg((unsigned int)arg8)
2430 print foo_instance1.overload1arg((float)arg11)
2431 print foo_instance1.overload1arg((double)arg12)
2432
21b9b5b1
MS
24332002-01-07 Michael Snyder <msnyder@redhat.com>
2434
2435 * gdb.base/huge.exp: New test. Print a very large target data object.
2436 (skip_huge_test): New test variable. Define if you want to skip this
2437 test. The test reads an 8 megabyte data object from the target, so it
2438 might be very time consuming on remote targets with a slow connection.
2439 * gdb.base/huge.c: New file. Test case for above.
2440
725f922e
FF
24412002-01-07 Fred Fish <fnf@redhat.com>
2442
2443 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2444 g_instance.bfoo, and g_instance.cfoo.
2445
634d57ec
JL
2446Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2447
f286b2c3
JL
2448 * gdb.base/break.c (multi_line_if_conditional): New function.
2449 (multi_ilne_while_conditional): Likewise.
2450 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2451 IF or WHILE condition puts the breakpoint at the start of
2452 the condition.
2453
634d57ec
JL
2454 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2455 hppa*-*-hpux* expected failure.
2456 * gdb.base/structs.exp (do_function_calls): Similarly.
2457
2458 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2459 watchpoints.
2460
9fbfe2dc
AC
24612002-01-06 Andrew Cagney <ac131313@redhat.com>
2462
2463 Fix PR gdb/66.
2464 * gdb.base/structs.exp: Replace skip for a29k with skip for
2465 gdb,cannot_call_functions.
2466 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2467 * gdb.base/callfuncs.exp: Ditto.
2468 * gdb.base/call-rt-st.exp: Ditto.
2469 * gdb.base/call-strs.exp: Ditto.
2470 * gdb.base/callfwmall.exp: Ditto.
2471 * gdb.base/scope.exp: Obsolete xfail a29k.
2472 * gdb.c++/misc.exp: Ditto.
2473 * gdb.c++/cplusfuncs.exp: Ditto.
2474 * gdb.base/ptype.exp: Ditto.
2475 * gdb.base/printcmds.exp: Ditto.
2476 * gdb.base/opaque.exp: Ditto.
2477 * gdb.base/list.exp: Ditto.
2478 * gdb.base/funcargs.exp: Ditto.
2479 * gdb.base/default.exp: Ditto.
2480
8ddad156
MS
24812002-01-04 Michael Snyder <msnyder@redhat.com>
2482
ca4976a6 2483 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2484 * gdb.base/maint.exp: Add tests for maint info sections options.
2485
1b074332
JL
2486Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2487
2488 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2489
7d159115
CV
24902001-12-20 Corinna Vinschen <vinschen@redhat.com>
2491
2492 * gdb.asm/arm.inc: New file.
2493 * gdb.asm/asm-source.exp: Add arm targets.
2494 * gdb.asm/configure.in: Ditto.
2495 * gdb.asm/configure: Recreated from configure.in.
2496
8fb87725
JL
2497Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2498
afabe08c
JL
2499 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2500 with HP's compiler.
2501 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2502 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2503 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2504 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2505
2506 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2507 either HP's compilers or GCC.
2508
db521deb
JL
2509 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2510 a SIGBUS or SIGSEGV.
2511
2512 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2513
2514 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2515 can be compiled with either HP's compiler or GCC.
2516
cfa88ab7
JL
2517 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2518 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2519 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2520
ca344dff
JL
2521 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2522 to match current gdb output. Update due to using auto-solib-limit
2523 for limiting instead of overloading auto-solib-add.
2524 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2525 test program.
2526
3f3c6e55 2527 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2528 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2529 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2530 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2531 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2532 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2533 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2534 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2535 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2536 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2537 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2538 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2539 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2540
8fb87725
JL
2541 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2542 a SIGTRAP to the inferior.
2543
cf599fa7
CV
25442001-12-19 Corinna Vinschen <vinschen@redhat.com>
2545
2546 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2547 Substitute call to target_link by call to gdb_compile.
2548
2cd045cd
JL
2549Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2550
2551 * gdb.base/break.exp: Fix HP specific search string when testing
2552 backtracing in a called function.
2553
2554 * gdb.base/constvars.exp: Only set lang to C++ if we're
2555 compiling the test with HP's compilers.
2556 * gdb.base/volatile.exp: Similarly.
2557
99ebe9ac
JB
25582001-12-19 Jim Blandy <jimb@redhat.com>
2559
2560 * gdb.base/printcmds.exp: Expect the null character to be printed
2561 as '\0', and the '\013' to be printed as '\v'.
2562 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2563 * gdb.base/setvar.exp: Same.
2564
b9891b29
JB
25652001-12-17 Jim Blandy <jimb@redhat.com>
2566
0eba65ab
JB
2567 * gdb.base/completion.exp: Rather than completing very long
2568 filenames, which can make the readline library produce output we
2569 don't recognize, cd to the directory first, and then complete
2570 using nice, short relative paths.
2571
6970b5b1
JB
2572 * gdb.base/completion.exp: On some systems, there is, in fact, a
2573 variable named `b' in scope, since GDB treats all static
2574 variables as being in scope. So use `no_var_named_this'
2575 instead of `b'.
2576
b9891b29
JB
2577 * gdb.base/corefile.exp: Recognize the message saying that GDB
2578 can't find the core file's registers as a failure.
2579
e6ccd35f
JSC
25802001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2581
2582 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2583 test expect string more specific.
2584
105ba819
CV
25852001-12-13 Corinna Vinschen <vinschen@redhat.com>
2586
2587 * gdb.asm/asm-source.exp: Add support for xstormy16.
2588 * gdb.asm/configure.in: Ditto.
2589 * gdb.asm/configure: Rebuild.
2590 * gdb.asm/xstormy16.inc: New file.
2591
e9e79dd9
FF
25922001-12-10 Fred Fish <fnf@redhat.com>
2593
2594 * gdb.base/maint.exp: Update to match changes in type dumping code.
2595
347dc97d
JB
25962001-12-10 Jim Blandy <jimb@redhat.com>
2597
2598 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2599 matching the entry point symbol's name at the beginning of the
2600 line.
2601
5178b9d6
DJ
26022001-12-07 Daniel Jacobowitz <drow@mvista.com>
2603
2604 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2605 gdb.c++/inherit.exp, gdb.c++/method.exp,
2606 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2607 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2608 and class layout support.
2609
af890c52
DJ
26102001-12-07 Daniel Jacobowitz <drow@mvista.com>
2611
2612 * gdb.c++/classes.exp: Add test for static member function.
2613 * gdb.c++/misc.cc: Add class with static member function.
2614
7a345fb3
JB
26152001-12-07 Jim Blandy <jimb@redhat.com>
2616
f2e54a80 2617 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2618 those tests as `unsupported'.
2619 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2620 Rewrite subsequent tests to use it.
2621
2622 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2623 those tests as `unsupported'.
2624 * gdb.base/structs.exp (call_struct_func): New function.
2625 (do_function_calls): Use call_struct_func to call the functions
2626 returning structs.
2627
0bc69509
JB
2628 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2629 whether functions are prototyped or not, so we can't possibly pass
2630 arguments to t_float_values2 properly.
2631
7a345fb3
JB
2632 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2633 value of `timeout' for targets other than the mips*tx39-*.
2634
edb6ede1
MS
26352001-12-06 Michael Snyder <msnyder@redhat.com>
2636
2637 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2638 and detect whether the start symbol has a leading underscore.
2639
2d842f13
JB
26402001-12-04 Jim Blandy <jimb@redhat.com>
2641
2642 * gdb.base/completion.exp: Clarify indentation.
2643
68550daf
JB
26442001-12-03 Jim Blandy <jimb@redhat.com>
2645
2646 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2647 variables on the S/390, not `.word'.
2648
cd5195a8
JB
26492001-11-30 Jim Blandy <jimb@redhat.com>
2650
2651 Add assembly-source tests for s390-ibm-linux.
2652 * gdb.asm/s390.inc: New file.
2653 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2654 the S/390 architecture.
2655 * gdb.asm/configure: Regenerated.
2656
ca9efc90
MS
26572001-11-30 Michael Snyder <msnyder@redhat.com>
2658
2659 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2660 next, info source, info sources, info line, global and static
2661 variables, and static functions.
2662 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2663 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2664 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2665 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2666 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2667 (gdbasm_leave): Restore frame pointer.
2668 (gdbasm_startup): Copy stack set-up from crt0.S.
2669
d0e66976
FN
26702001-11-26 Fernando Nasser <fnasser@redhat.com>
2671
2672 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2673 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2674 to a local (non-static) variable. Copy tstruct.a to a static buffer
2675 and return a pointer to that buffer.
2676 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2677
e2334072
MK
26782001-11-24 Mark Kettenis <kettenis@gnu.org>
2679
2680 * gdb.asm/configure.in: Fix recognition of ix86 target.
2681 * gdb.asm/configure: Regenerate.
2682
756caa3d
MS
26832001-11-21 Michael Snyder <msnyder@redhat.com>
2684
2685 * gdb.asm/sparc.inc: New file.
2686 * gdb.asm/asm-source.exp: Recognize sparc target.
2687 * gdb.asm/configure.in: Recognize sparc target.
2688 * gdb.asm/configure: Regenerate.
2689
9a4d72d5
MS
26902001-11-21 Michael Snyder <msnyder@redhat.com>
2691
2692 * gdb.asm/m32r.inc: New file.
2693 * gdb.asm/asm-source.exp: Recognize m32r target.
2694 * gdb.asm/configure.in: Recognize m32r target.
2695 * gdb.asm/configure: Regenerate.
2696
a773d1cd
MS
26972001-11-20 Michael Snyder <msnyder@redhat.com>
2698
017ac23d
MS
2699 * gdb.asm/i386.inc: New file.
2700 * gdb.asm/asm-source.exp: Recognize ix86 target.
2701 * gdb.asm/configure.in: Recognize ix86 target.
2702 * gdb.asm/configure: Regenerate.
2703
a773d1cd
MS
2704 * gdb.c++/namespace.exp: Fix quotes in output messages.
2705
bb632afb
MS
27062001-11-14 Michael Snyder <msnyder@redhat.com>
2707
25d559ca 2708 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2709 qualifier in a type cast expression, to designate an address
2710 in the instruction space (Harvard architecture).
2711
4749e309
MS
27122001-11-13 Michael Snyder <msnyder@redhat.com>
2713
2714 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2715 Tests for expressions using 'const' and 'volatile'.
2716
25050984
CV
27172001-11-13 Corinna Vinschen <vinschen@redhat.com>
2718
2719 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2720
1902c51f
DJ
27212001-11-12 Daniel Jacobowitz <drow@mvista.com>
2722
2723 * lib/mi-support.exp (mi_run_to_helper): Move comments
2724 outside of gdb_expect.
2725
dcf95b47
DJ
27262001-11-11 Daniel Jacobowitz <drow@mvista.com>
2727
2728 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2729 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2730 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2731 mi0_run_to): New functions.
2732 * gdb.mi/mi-simplerun.exp: Use them.
2733 * gdb.mi/mi0-simplerun.exp: Likewise.
2734 * gdb.mi/mi-var-cmd.exp: Likewise.
2735 * gdb.mi/mi0-var-cmd.exp: Likewise.
2736
45b074e1
AC
27372001-11-10 Andrew Cagney <ac131313@redhat.com>
2738
2739 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2740 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2741
bf50d346
AC
27422001-11-09 Andrew Cagney <ac131313@redhat.com>
2743
2744 * gdb.base/restore.exp: Include $expected value in restored test
2745 message.
2746
9383332c
AC
27472001-11-09 Andrew Cagney <ac131313@redhat.com>
2748
2749 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2750 implemented.
2751
db62520a
MS
27522001-11-08 Michael Snyder <msnyder@redhat.com>
2753
2754 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2755 Add pass/fail message for stop at breakpoint in call dummy function.
2756
b5703437
MS
27572001-11-07 Michael Snyder <msnyder@redhat.com>
2758
760f6330
MS
2759 * gdb.c++/templates.exp (test_template_breakpoints):
2760 If we get an overload menu, but it does not match what
2761 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2762 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2763 making the whitespace optional. Argument for "new" may be
2764 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2765 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2766 making the whitespace optional. Also replace "(void) with
2767 "((void|)), making the keyword "void" optional.
63f50499
MS
2768 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2769 making the whitespace optional. Also replace "(void) with
2770 "((void|)), making the keyword "void" optional.
3bf40917
MS
2771 * gdb.base/callfuncs.c (t_float_values): This function must
2772 _not_ be prototyped, and the following function (t_float_values2)
2773 must be prototyped (if the compiler supports it), so that GDB
2774 can be tested against both cases. Usually one case involves
2775 promotion of float to double, while the other does not.
2776 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2777 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2778 includes a stack frame for "start".
2779
c8ab4e6d
JB
27802001-11-05 Jim Blandy <jimb@redhat.com>
2781
2782 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2783 pointers are 32 bits long, and that offsets of relocs are always
2784 stored in the data (REL-style), and not in the reloc entry itself
2785 (RELA-style).
2786 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2787 stabs.
2788
3f08ced9
MS
27892001-11-01 Michael Snyder <msnyder@redhat.com>
2790
2791 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2792 and regular expression operators by using quoting.
2793
cbfa24cd
MS
27942001-10-31 Michael Snyder <msnyder@redhat.com>
2795
2796 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2797 depending on what the symbol table contains.
2798 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2799 the output of the ptype command. Similarly, accept both "const &"
2800 and "const&".
2801
aaa68313
CV
28022001-10-31 Corinna Vinschen <vinschen@redhat.com>
2803
2804 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2805 symbol `STORAGE' to allow to choose the storage class of
2806 the local datastructures.
2807 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2808 compiler directive.
2809
91740388
MS
28102001-10-30 Michael Snyder <msnyder@redhat.com>
2811
2812 * gdb.base/jump.exp: Allow it to run for all targets.
2813
1b7c05e7
CV
28142001-10-29 Corinna Vinschen <vinschen@redhat.com>
2815
2816 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2817 with new double_array size.
2818 (main): Change storage class of all local variables to static.
2819 Reduce size of double_array to 9.
2820 * gdb.base/call-ar-st.exp: Increase timeout value.
2821 Change expected output for double array to match new size in
2822 call-ar-st.c.
2823
36a22261
CV
28242001-10-29 Corinna Vinschen <vinschen@redhat.com>
2825
2826 * gdb.base/ending-run.exp: Create identical output when passing
2827 `step to end of run' case. Add regular expression branch satisfying
2828 Stormy16 target.
2829
92b8ae91
MK
28302001-10-28 Mark Kettenis <kettenis@gnu.org>
2831
2832 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2833 that we catch the expected failure under Linux/x86.
2834
cb135b83
OF
28352001-10-29 Orjan Friberg <orjanf@axis.com>
2836
2837 * gdb.base/setvar.exp: Escape curly braces.
2838 * gdb.stabs/weird.exp: Ditto.
2839
6884aa54
DJ
28402001-10-27 Daniel Jacobowitz <drow@mvista.com>
2841
2842 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2843 * gdm.mi/mi0-hack-cli.exp: Likewise.
2844
0398c9aa
AC
28452001-10-25 Andrew Cagney <ac131313@redhat.com>
2846
2847 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2848 messages.
2849
d20bf2e8
AC
28502001-10-21 Andrew Cagney <ac131313@redhat.com>
2851
2852 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2853 checking MI enabled.
2854
03dd63aa
CV
28552001-10-09 Corinna Vinschen <vinschen@redhat.com>
2856
2857 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2858
1d9d99f3
FCE
28592001-10-04 Frank Ch. Eigler <fche@redhat.com>
2860
2861 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2862 if gdb child process crashes, just signal an error.
2863
838ae6c4
JB
28642001-10-02 Jim Blandy <jimb@redhat.com>
2865
2866 * lib/gdb.exp (test_xfail_format): Simplify.
2867
2868 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2869 front of the variable name `format'. Simplify `if'.
2870
8f0cbc1c
DJ
28712001-10-01 Daniel Jacobowitz <drow@mvista.com>
2872
2873 * gdb.threads/pthreads.exp: Wait for output and delay
2874 before sending ^C.
2875
1f08dafd
DJ
28762001-10-01 Daniel Jacobowitz <drow@mvista.com>
2877
2878 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2879 some incorrect output instead of timing out.
2880 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2881
674f90ff
CV
28822001-09-28 Corinna Vinschen <vinschen@redhat.com>
2883
2884 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2885 check to allow additional `int'.
2886
9b284272
DJ
28872001-09-27 Daniel Jacobowitz <drow@mvista.com>
2888
2889 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2890 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2891
b55a4771
MS
28922001-09-27 Michael Snyder <msnyder@redhat.com>
2893
2894 * lib/gdb.exp (test_debug_format): New proc.
2895 (setup_xfail_format): Use new proc test_debug_format.
2896 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2897 proc; use new service proc test_debug_format.
2898 Replace all other "gcc_compiled" tests with this test.
2899 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2900 proc; use new service proc test_debug_format.
2901 Replace all other "gcc_compiled" tests with this test.
2902
29032001-09-27 Michael Snyder <msnyder@redhat.com>
2904
2905 * gdb.base/cvexpr.exp: New file.
2906 * gdb.base/cvexpr.c: New file
2907 Test for expressions using const and volatile keywords.
2908
4e6667ac
CV
29092001-09-26 Corinna Vinschen <vinschen@redhat.com>
2910
2911 * gdb.base/constvars.exp: Check for different orders of keywords
2912 and additional "int" strings in output.
2913
4f337972
AC
29142001-09-22 Andrew Cagney <ac131313@redhat.com>
2915
2916 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2917 responses from "help maint".
2918
2015650d
FCE
29192001-09-19 Frank Ch. Eigler <fche@redhat.com>
2920
2921 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2922 to localhost:NNN instead of :NNN, in case Xvfb is listening
2923 only on TCP.
2924
f3bcedc1
CV
29252001-09-19 Corinna Vinschen <vinschen@redhat.com>
2926
2927 * gdb.base/recurse.exp: When checking leaving the watchpoint
2928 scope, recognize when gdb is in function's epilogue and pass.
2929
6b819c92
KS
29302001-09-18 Keith Seitz <keiths@redhat.com>
2931
2932 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2933 support for running tests against sid targets.
2934 (gdbtk_done): Ditto.
2935
a10c9419
CV
29362001-09-18 Corinna Vinschen <vinschen@redhat.com>
2937
2938 * gdb.base/ending-run.c (main): Set stdout buffersize
2939 to the same reasonable value for any target.
2940 * gdb.base/ending-run.exp: Add a regular expression
2941 to make testsuite happy on Sanyo Stormy16 target.
2942
739d0d99
CV
29432001-09-17 Corinna Vinschen <vinschen@redhat.com>
2944
2945 * gdb.base/display.c (do_loops): Add float variable `f'.
2946 Increment f in loop.
2947 * gdb.base/display.exp: Increment timeout by 60 seconds.
2948 Change float display test to use variable `f'.
2949
1b8947f0
JB
29502001-09-17 Jim Blandy <jimb@redhat.com>
2951
2952 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2953 overflowing the limited breakpoint tables on some ROM monitors
2954 (like the ROM68K).
2955
9890ac81
FCE
29562001-09-15 Frank Ch. Eigler <fche@redhat.com>
2957
2958 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2959 the "-ac" (disable access control) flag.
2960
6db765ea
JH
29612001-08-30 Jeff Holcomb <jeffh@redhat.com>
2962
2963 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2964 ints.
2965
4c32cc04
KS
29662001-08-30 Keith Seitz <keiths@redhat.com>
2967
2968 * lib/gdb.exp: Move all insight-related functionality into
2969 separate file.
2970 * lib/insight-support.exp: New file.
2971
8d6e6f81
FCE
29722001-08-29 Frank Ch. Eigler <fche@redhat.com>
2973
2974 * config/sid.exp (sid_start): Never set sid verbosity; disable
2975 expect_background {} that consumed its stdout; tolerate </dev/null.
2976 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2977
6a90e1d0
AC
29782001-08-18 Andrew Cagney <ac131313@redhat.com>
2979
2980 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2981 CLI jump command to start it.
2982 (mi_run_to_main): Fail immediatly when unexpected output.
2983
1759b3c3
AC
29842001-08-18 Andrew Cagney <ac131313@redhat.com>
2985
2986 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2987 beginning of function. Fix PR gdb/191.
2988
61d11d80
FCE
29892001-08-16 Frank Ch. Eigler <fche@redhat.com>
2990
2991 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2992 what to force sid endianness to.
2993
942a4df2
KS
29942001-08-15 Keith Seitz <keiths@redhat.com>
2995
2996 * lib/gdb.exp (gdbtk_start): Don't set environment
2997 variables for TCL_LIBRARY and friends. Insight will
2998 now figure these out for itself.
2999
0521c418
MS
30002001-08-02 Michael Snyder <msnyder@redhat.com>
3001
3002 * gdb.base/completion.exp: Remove the symbol "a64l" from
3003 the expect string; this is target-specific, and not related
3004 to what is being tested.
3005
74a9a58a
DB
30062001-08-02 Dave Brolley <brolley@redhat.com>
3007
3008 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3009
c70819fa
MS
30102001-07-25 Michael Snyder <msnyder@redhat.com>
3011
c2b8fa57
MS
3012 * gdb.base/consecutive.exp: New file. Test stepping over
3013 breakpoints on consecutive instructions.
3014 * gdb.base/consecutive.c: New file.
3015
c70819fa
MS
3016 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3017 curly braces in regular expressions.
3018
2b1a1355
MS
30192001-07-25 Michael Snyder <msnyder@redhat.com>
3020
3021 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3022 legitimate output from stepping out of main.
3023
413eca6f
KS
30242001-07-22 Keith Seitz <keiths@redhat.com>
3025
3026 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3027 the empty string, do not run the tests.
3028
7e5a9322
SC
30292001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3030
3031 * gdb.base/long_long.exp: Detect size of pointer. Take into
3032 account 2-byte pointers when testing for p/a results.
3033
de58f10f
SC
30342001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3035
3036 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3037 and defined to 1K for m68hc11.
3038 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3039 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3040 (sizeof_random_data): New variable to tell the size of the data table;
3041 don't test past this size; always run to main.
3042
d6f5fea1
SC
30432001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3044
3045 * gdb.base/return2.exp: return of long long and double fails for
3046 68HC11; don't execute these tests on that platform.
3047 * gdb.base/return.exp: Return of a double fails for 68hc11.
3048
c477543d
SC
30492001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3050
3051 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3052 tests that print a float.
3053 * call-rt-st.exp: Likewise.
3054
63cf1c79
MK
30552001-07-12 Mark Kettenis <kettenis@gnu.org>
3056
3057 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3058 running this test on Linux.
3059
112f9ab5
MC
30602001-06-24 Michael Chastain <chastain@redhat.com>
3061
3062 * gdb.base/arithmet.exp: Remove some tests to make all test names
3063 unique.
3064
4970cb0f
MS
30652001-07-03 Michael Snyder <msnyder@redhat.com>
3066
3067 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3068 the output of the ptype command.
3069
d85da69f
MS
30702001-07-02 Michael Snyder <msnyder@redhat.com>
3071
4c8a82de
MS
3072 * gdb.base/completion.exp: Don't assume that break.c is the only
3073 source file that may contain functions named "marker".
d85da69f
MS
3074 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3075
8afc772b
AC
30762001-06-28 Andrew Cagney <ac131313@redhat.com>
3077
3078 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3079 of files to delete.
3080
3081 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3082 * gdb.disasm/h8300s.exp: New file.
3083 gdb.disasm/h8300s.s: Likewise.
3084
cff22675
AC
30852001-06-27 Andrew Cagney <ac131313@redhat.com>
3086
3087 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3088 empty breakpoint tables.
3089
68c81b54
AC
30902001-06-25 Andrew Cagney <ac131313@redhat.com>
3091
3092 * lib/mi-support.exp: Update args=... part of stop-reason
3093 patterns. Accept either a list or a tuple.
3094
2dd62704
AC
30952001-06-23 Andrew Cagney <ac131313@redhat.com>
3096
3097 * lib/mi-support.exp: Remove local emacs variable defining
3098 change-log-default-name.
3099
b4127474
MC
31002001-06-22 Michael Chastain <chastain@redhat.com>
3101
3102 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3103 This is operationally compatible with the previous version.
3104
8dbfb380
JB
31052001-06-13 Jim Blandy <jimb@redhat.com>
3106
3107 * lib/gdb.exp (gdb_test): Doc fix.
3108
f2d8c86d
MC
31092001-06-10 Michael Chastain <chastain@redhat.com>
3110
3111 * gdb.base/exprs.exp: Remove a duplicate test.
3112
81564d34
JB
31132001-06-06 Jim Blandy <jimb@redhat.com>
3114
3115 * gdb.base/return2.exp (main): Use values to test float and double
3116 returns that are not NaN's, to avoid being confused by IEEE
3117 comparison rules.
3118
da55addb
MS
31192001-06-04 Michael Snyder <msnyder@redhat.com>
3120
3121 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3122 non-zero if control_c fails. Terminate the test on failure,
3123 rather than wait for 12 more tests to time out.
3124
42c65987
JB
31252001-06-06 Jim Blandy <jimb@redhat.com>
3126
b18bced9
JB
3127 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3128 Don't forget to match the GDB prompt.
3129
42c65987
JB
3130 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3131
5b41e5f0
JB
31322001-06-04 Jim Blandy <jimb@redhat.com>
3133
3134 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3135 command.
3136
015e046f
KB
31372001-05-31 Kevin Buettner <kevinb@redhat.com>
3138
3139 * gdb.base/annota1.exp (info break): Match four or more spaces
3140 after "Address".
3141
fb1ffbbe
MC
31422001-05-31 Michael Chastain <chastain@redhat.com>
3143
3144 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3145 (dm_type_int_star): Likewise.
3146 (dm_type_long_star): Likewise.
3147 (dm_type_void_star): Likewise.
3148
5ea2a32c
KB
31492001-05-29 Kevin Buettner <kevinb@redhat.com>
3150
3151 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3152 to a known value in order to get consistent results regardless
3153 of the setting of INPUTRC or the presence or contents of .inputrc.
3154
ae23c492
MS
31552001-05-24 Michael Snyder <msnyder@redhat.com>
3156
ac55707e
MS
3157 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3158 Don't require that the main thread and the manager thread are the
3159 first in the list.
3160
ae23c492
MS
3161 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3162 debugging. If test fails, issue an "unsupported" not a "fail".
3163
400071f1
JB
31642001-05-24 Jim Blandy <jimb@redhat.com>
3165
3166 Don't assume that short is shorter than int.
3167 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3168 assume that shorts are smaller than ints. On a 16-bit machine,
3169 this isn't true.
3170 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3171 an int, is not equal to ~0 stored in an unsigned char. This tests
3172 the same thing that the previous test meant to, but works on
3173 16-bit machines, too.
3174 ("print unsigned char != (~0)"): Same test, complemented.
3175
0816a3e5
MS
31762001-05-24 Michael Snyder <msnyder@redhat.com>
3177
3178 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3179 test for (full_coverage == 0). This makes the test run faster,
3180 and prevents dejagnu getting out of step.
3181
f6dc23a9
KB
31822001-05-23 Kevin Buettner <kevinb@redhat.com>
3183
3184 * gdb.base/finish.exp (finish_void): Revise pattern for
3185 stopping on the call statement to not permit stopping at
3186 the start of the instructions comprising the call sequence.
3187
7dbd117d
MC
31882001-05-19 Michael Chastain <chastain@redhat.com>
3189
3190 * gdb.base/callfuncs.exp: Make all test names unique.
3191 * gdb.base/commands.exp: Make all test names unique.
3192 * gdb.base/condbreak.exp: Make all test names unique.
3193 * gdb.base/dbx.exp: Make all test names unique.
3194 * gdb.base/default.exp: Make all test names unique.
3195 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3196 and TIMEOUT messages to their corresponding PASS message.
3197 * gdb.base/ending-run.exp: Make all test names unique.
3198 * gdb.base/long_long.exp: Remove duplicate test.
3199
6b0b0a9e
KB
32002001-05-21 Kevin Buettner <kevinb@redhat.com>
3201
3202 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3203 stop on the call statement as well as the statement after the
3204 call.
3205
2caa35cb
MS
32062001-05-21 Michael Snyder <msnyder@redhat.com>
3207
3208 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3209
40713331
EZ
32102001-05-10 Elena Zannoni <ezannoni@redhat.com>
3211
3212 * gdb.base/completion.exp: Revamp test. Make it execute on all
3213 platforms.
3214
c2c1be8d
EZ
32152001-05-10 Elena Zannoni <ezannoni@redhat.com>
3216
2c9cd303
EZ
3217 * config/gdbserver.exp (gdb_load): Handle the case
3218 in which the arguments to gdbserver are given in the
3219 baseboard configuration file.
3220 Also handle the case in which the server needs to do a
3221 load.
3222
9671de48
KS
32232001-05-07 Keith Seitz <keiths@cygnus.com>
3224
3225 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3226 set up the display for testing.
3227 (gdbtk_start): Convert all paths to paths that tcl will like.
3228 Export target information to environment.
3229 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3230 necessary.
3231 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3232 (to_tcl_path): New proc to convert a given pathname into
3233 a path acceptible as an argument to a tcl command.
3234 (_gdbtk_export_target_info): New proc to export target info
3235 into the environment for gdbtk testing.
3236 (gdbtk_done): New proc to signal end-of-test.
3237
5a360f47
JB
32382001-05-06 Jim Blandy <jimb@redhat.com>
3239
3240 * restore.c: Make the code of caller0 correspond to its comment.
3241
66c756c6
MS
32422001-05-03 Michael Snyder <msnyder@redhat.com>
3243
3244 * config/sid.exp (gdb_target_sid): Check for error messages.
3245 On error or timeout, don't make expect exit (which will terminate
3246 all subsequent tests); instead just make gdb exit.
3247 (gdb_load): Check for error messages. On error or timeout,
3248 return a negative value.
3249
a966fde5
JB
32502001-04-24 Jim Blandy <jimb@redhat.com>
3251
851c18e0
JB
3252 * gdb.c++/templates.exp: If we see the prompt for the overload
3253 list, but we haven't recognized any of the longer patterns,
3254 arrange for this test to fail, not hang.
3255
a966fde5
JB
3256 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3257 variations.
3258
db144853
MC
32592001-04-22 Michael Chastain <chastain@redhat.com>
3260
3261 * gdb.c++/local.exp: Use the 'runto' library function.
3262 * gdb.c++/namespace.exp: Likewise.
3263 * gdb.c++/overload.exp: Likewise.
3264
3207ec21
KB
32652001-03-26 Kevin Buettner <kevinb@redhat.com>
3266
3267 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3268 * gdb.base/step-line.exp: New file. Test step/next in presence of
3269 #line directives.
3270 * gdb.base/step-line.c: New file. Test program for the above.
3271 * gdb.base/step-line.inp: New file. We pretend that this file has
3272 been transformed by some other tool into step-line.c.
3273
13b57657
JB
32742001-03-21 Jim Blandy <jimb@redhat.com>
3275
3276 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3277 unmangled operator names.
3278
754cbe1c
JB
32792001-03-20 Jim Blandy <jimb@redhat.com>
3280
3281 * gdb.threads/linux-dp.exp: Recognize an additional message
3282 generated by GDB when it doesn't understand how to debug threads
3283 on the target system.
3284
177495c9
AC
32852001-03-19 Andrew Cagney <ac131313@redhat.com>
3286
3287 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3288
f266096b
MC
32892001-03-12 Michael Chastain <chastain@redhat.com>
3290
3291 * gdb.c++/derivation.exp: Use the 'runto' library function.
3292
cac3c2ff
MC
32932001-03-12 Michael Chastain <chastain@redhat.com>
3294
3295 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3296
b6c11a24
MC
32972001-02-24 Michael Chastain <chastain@redhat.com>
3298
3299 * gdb.c++/ref-types.exp: Change handwritten code to library
3300 function 'runto'.
3301
6bae5bce
OF
33022001-03-16 Orjan Friberg <orjanf@axis.com>
3303
3304 * gdb.base/signals.exp: Set count to 0 explicitly.
3305
0015fd9a
MS
33062001-03-15 Mark Salter <msalter@redhat.com>
3307
3308 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3309 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3310 (gdb_load): Add support for additional target_info: gdb_download_size
3311 and gdb_load_timeout.
0015fd9a 3312
fc33412a
DT
3313Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3314
3315 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3316 file -- to prevent failing when the compile fails but we have no
3317 intention of running the tests anyway.
3318
3319 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3320 tests if set.
3321
3322 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3323 integers.
3324
3325 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3326 * gdb.c++/namespace.exp: Ditto.
3327
115f06de
OF
33282001-03-07 Orjan Friberg <orjanf@axis.com>
3329
3330 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3331 * gdb.base/pointers.exp: Relax pattern match of decimals.
3332
b6ba6518
KB
33332001-03-06 Kevin Buettner <kevinb@redhat.com>
3334
3335 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3336 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3337 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3338 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3339 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3340 config/sh.exp, config/sid.exp, config/slite.exp,
3341 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3342 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3343 config/vxworks.exp, config/vxworks29k.exp,
3344 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3345 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3346 gdb.base/arithmet.exp, gdb.base/assign.exp,
3347 gdb.base/async.exp, gdb.base/attach.exp,
3348 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3349 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3350 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3351 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3352 gdb.base/commands.exp, gdb.base/completion.exp,
3353 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3354 gdb.base/constvars.exp, gdb.base/corefile.exp,
3355 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3356 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3357 gdb.base/ending-run.exp, gdb.base/environ.exp,
3358 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3359 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3360 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3361 gdb.base/funcargs.exp, gdb.base/help.exp,
3362 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3363 gdb.base/logical.exp, gdb.base/long_long.exp,
3364 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3365 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3366 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3367 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3368 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3369 gdb.base/regs.exp, gdb.base/relational.exp,
3370 gdb.base/remote.exp, gdb.base/reread.exp,
3371 gdb.base/restore.exp, gdb.base/return2.exp,
3372 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3373 gdb.base/selftest.exp, gdb.base/setshow.exp,
3374 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3375 gdb.base/sigall.exp, gdb.base/signals.exp,
3376 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3377 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3378 gdb.base/step-test.exp, gdb.base/structs.c,
3379 gdb.base/structs.exp, gdb.base/structs2.exp,
3380 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3381 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3382 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3383 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3384 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3385 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3386 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3387 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3388 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3389 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3390 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3391 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3392 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3393 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3394 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3395 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3396 gdb.trace/circ.exp, gdb.trace/collection.exp,
3397 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3398 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3399 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3400 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3401 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3402 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3403 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3404 notices.
3405
dc96c6c7 34062001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
3407
3408 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3409 first arg is int not float.
3410
dc96c6c7 34112001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
3412
3413 * gdb.base/reread.exp: Unsupported for non-native targets;
3414 doesn't work for remote debugging.
3415
9b0c4aeb
FN
34162001-02-19 Fernando Nasser <fnasser@redhat.com>
3417
3418 From Drew Moseley <dmoseley@redhat.com>
3419 * gdb.base/ending-run.exp: Properly handle the BSP state when
3420 stepping past the end of main.
3421
02aa71d5
MC
34222001-02-19 John Moore <jmoore@redhat.com>
3423
3424 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3425 Converted HPUX fix for non-expected items following multiple
3426 step commands into general solution for all platforms.
3427
1fa449a4
MC
34282001-02-18 Michael Chastain <chastain@redhat.com>
3429
3430 * gdb.c++/classes.exp (do_tests): Change runto statements
3431 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3432 statements demangler agnostic.
3433 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3434 (gdb_virtfunc_restart): Likewise.
3435
b2f9ec70
MC
34362001-02-14 Michael Chastain <chastain@redhat.com>
3437
3438 * gdb.c++/inherit.exp (do_tests): Change runto statements
3439 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3440 statements demangler agnostic.
3441
cf74b8ca
AC
3442Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3443
3444 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3445 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3446 before calling common_routine 15 times'' tests.
3447
99f78f56
MC
34482001-02-11 Michael Chastain <chastain@redhat.com>
3449
3450 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3451 Helps the test script figure out which demangler is in use.
3452 (dm_type_foo_ref): Ditto.
3453 (dm_type_int_star): Ditto.
3454 (dm_type_long_star): Ditto.
3455 (dm_type_unsigned_int): Ditto.
3456 (dm_type_void): Ditto.
3457 (dm_type_void_star): Ditto.
99707966 3458 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
3459 Probe the gdb demangler and set variables to accommodate
3460 formatting differences.
3461 (info_func_regexp): New function. Same as info_func, but
3462 matches against a regexp.
3463 (info_func): Match against a literal string.
3464 (print_addr_2): New function. Match against a literal string,
3465 which can be different from the input to gdb.
3466 (print_addr): Simply call print_addr_2 with the same argument twice.
3467 (test_lookup_operator_functions): Use demangler formatting variables.
3468 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3469 the tests in the same order as the C++ class declaration.
3470 (test_paddr_operator_functions): Ditto.
3471 (test_paddr_overloaded_functions): Ditto.
3472 (test_paddr_hairy_functions): Use demangler formatting variables.
3473 Add reference to gdb/19 for related tests.
3474 (do_tests): Call probe_demangler.
3475
1de8f023
KB
34762001-01-30 Kevin Buettner <kevinb@redhat.com>
3477
3478 * gdb.c++/templates.cc (printf): Remove unused function definition.
3479
ca3f91ed
MS
34802001-01-26 Felix Lee <flee@redhat.com>
3481
3482 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3483
34842001-01-25 matthew green <mrg@redhat.com>
3485
3486 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3487 up sid.
3488 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3489
34902001-01-25 matthew green <mrg@redhat.com>
3491
3492 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3493 Deprecate $sid_spawn_id.
3494 (sid_exit): Remove code necessary only for `spawn.'
3495
34962001-01-25 matthew green <mrg@redhat.com>
3497
3498 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3499
fb18ec4a
MC
35002001-01-28 Michael Chastain <chastain@redhat.com>
3501
3502 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3503 to call when tests fail. It takes gdb out of the overloaded
3504 function choice menu back to the main prompt, so that the test
3505 program stays synchronized.
3506 (set_bp_overloaded): New proc to collect all the common
3507 code for setting a breakpoint on an overloaded name. Calls
3508 take_gdb_out_of_choice_menu when needed.
3509 (menu_overload1arg): New variable to collect the repeated
3510 instances of the expected menu for an overloaded name. Change
3511 the regular expression to handle changes in g++ type encoding:
3512 "void" can be either "void" or "", and "unsigned int" can be
3513 either "unsigned int" or "unsigned".
3514 (continue_to_bp_overloaded): Change regular expressions to handle
3515 changes in g++ type encoding.
3516 (no proc): Call take_gdb_out_of_choice_menu when needed.
3517 Remove redundant calls to "info break". Accept either "canceled"
3518 or "cancelled". Change regular expressions in "info break"
3519 calls to handle changes in g++ type encoding. Give all tests
3520 unique strings.
3521
9c646a6e
BE
35222001-01-17 Ben Elliston <bje@redhat.com>
3523
3524 * config/sid.exp: New file.
3525
9549d9c1
AC
3526Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3527
3528 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3529
dc96c6c7 35302000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3531
3532 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3533 Add a RE to accept a non-ascii char if one is ever presented.
3534
b4df4f68
FN
35352000-12-20 Fernando Nasser <fnasser@redhat.com>
3536
297dd0fd 3537 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3538
dc96c6c7 35392000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3540
3541 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3542 in regexp. One '\' does not suffice on Linux.
3543
4a7bddb6
MC
35442000-12-09 Michael Chastain <chastain@redhat.com>
3545
3546 * gdb.base/break.exp (test_clear_command): Use a marker function
3547 rather than 'main' for the test function. Also move this
3548 test to an execution point where the marker function names are
3549 guaranteed to be bound to functions. (Executing tests after a
3550 'finish' from main runs into name conflicts with local names
3551 in __libc_start_main).
3552
dc96c6c7 35532000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3554
3555 * gdb.base/finish.exp: New test for gdb's "finish" command.
3556 * gdb.base/return2.exp: New test for gdb's "return" command.
3557 * gdb.base/return2.c: New source file for above.
3558
dc96c6c7 35592000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3560
3561 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3562 * gdb.base/miscexprs.exp: Ditto.
3563 * gdb.base/pointers.exp: Ditto.
3564 * gdb.c++/derivation.exp: Ditto.
3565 * gdb.c++/local.exp: Ditto.
3566 * gdb.c++/namespace.exp: Ditto.
3567 * gdb.c++/overload.exp: Ditto.
3568 * gdb.c++/ref-types.exp: Ditto.
3569
dc96c6c7 35702000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3571
3572 * gdb.base/constvars.exp: Test result of "up" command.
3573 * gdb.base/miscexprs.exp: Ditto.
3574 * gdb.base/pointers.exp: Ditto.
3575 * gdb.base/scope.exp: Ditto.
3576 * gdb.c++/derivation.exp: Ditto.
3577 * gdb.c++/local.exp: Ditto.
3578 * gdb.c++/namespace.exp: Ditto.
3579 * gdb.c++/overload.exp: Ditto.
3580 * gdb.c++/ref-types.exp: Ditto.
3581
44097287
FN
35822000-11-22 Michael Chastain <chastain@redhat.com>
3583
3584 * mips_pro.exp: Accept either "middle -> top -> main" or
3585 "middle -> main" in the backtrace, because gcc can optimize
3586 tail calls to jumps. Remove setup_xfail for the hppa case.
3587 Add a comment with the original warning messages from PR 3016,
3588 which was filed in 1993, to preserve them for posterity.
3589
9d2e1bab
ND
35902000-11-17 Nick Duffek <nsd@redhat.com>
3591
3592 * lib/gdb.exp (gdb_test): Override timeout with board info.
3593
1aca8eb7
ND
35942000-11-17 Nick Duffek <nsd@redhat.com>
3595
3596 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3597 the second kill and detach messages.
3598
93076499
ND
35992000-11-17 Nick Duffek <nsd@redhat.com>
3600
3601 * configure.in: Add AC_EXEEXT.
3602 * configure: Regenerate.
3603 * Makefile.in (just-check): Export EXEEXT.
3604 * lib/gdb.exp ($EXEEXT): Import from environment.
3605 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3606 expect "maint dump-me" on Cygwin.
3607 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3608 $EXEEXT.
3609
30e87cd3
ND
36102000-11-17 Nick Duffek <nsd@redhat.com>
3611
3612 * gdb.base/break.exp: Test backtrace and finish from called
3613 function on all platforms, not just HP-UX.
3614
dc96c6c7 36152000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3616
3617 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3618 code from gdb_target_monitor, so it can be used independantly
3619 for gdbserver. Also comment out an unnecessary PUTS.
3620
dc96c6c7 36212000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3622
3623 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3624 * gdb.base/corefile.exp: Expect the message "Program is being
3625 debugged already" when we send the "corefile" command, since
3626 the preceeding gdb_load may have connected gdb to a remote target.
3627 * gdb.base/display.exp: Disable hardware watchpoints if new
3628 board info variable "no_hardware_watchpoints" is true.
3629 Replace single-letter commands with more readable ones.
3630 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3631 if new board info variable "no_hardware_watchpoints" is true.
3632 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3633 to see if stdio (printf) testing is possible.
3634 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3635 board info variable "no_hardware_watchpoints" is true. Use new
3636 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3637
39124dea
FN
36382000-11-13 Fernando Nasser <fnasser@redhat.com>
3639
3640 From Orjan Friberg <orjanf@axis.com>:
3641 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3642 in array print pattern match.
3643
a9e2e984
FN
36442000-11-09 Fernando Nasser <fnasser@redhat.com>
3645
3646 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3647 spelling "cancelled" to U.S. spelling "canceled" to match changes
3648 made to gdb.
3649 * gdb.c++/ovldbreak.exp: Ditto.
3650
c7db355b
PS
36512000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3652
3653 * gdb.base/callfuncs.c (main): Moved to end of file, call
3654 t_double_values to initialize the FPU before inferior calls are made.
3655 * gdb.base/callfuncs.exp: Test for register preservation after calling
3656 inferior functions. Add tests for continuining, finishing and
3657 returning from a stop in a call dummy.
3658
dc96c6c7 36592000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3660
3661 * gdb.base/commands.exp: Break up long lines, and re-indent.
3662
dc96c6c7 36632000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3664
3665 * config/gdbserver.exp: Rewritten from the ground up, to make it
3666 compatible with the current dejagnu tree, and to make it work with
3667 the new "gdbserver" in libremote.
3668
dc96c6c7 36692000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3670
3671 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3672 * gdb.base/varargs.exp: Skip entire test if no printf support.
3673 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3674 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3675
dc96c6c7 36762000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3677
3678 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3679 no floating point support.
3680 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3681 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3682 * gdb.base/call-rt-st.exp: Ditto.
3683 * gdb.base/call-strs.exp: Ditto.
3684
bac5fc66
JG
36852000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3686
3687 * gdb.base/sizeof.c: include <stdio.h>.
3688
3689 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3690 'finish', otherwise uncaptured gdb_prompt would potentially
3691 throw remaining test points out of sync.
3692
b22a6027
SB
36932000-07-26 Scott Bambrough <scottb@netwinder.org>
3694
3695 * gdb.base/recurse.exp: Run tests for all targets.
3696 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3697 gnu-oldld case on ARM.
3698 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3699 for ARM targets.
3700
d8231941
AG
3701Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3702
3703 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3704 * gdb.java/configure: Rebuild.
3705
8caabe69
AG
3706Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3707
3708 * gdb.java/jv-exp.exp: New file.
3709
9d273ca3
AG
3710Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3711
3712 * configure: Rebuilt.
3713 * configure.in (configdirs): Add gdb.java.
3714 * gdb.java/jmisc.java: New file.
3715 * gdb.java/jmisc.exp: New file.
3716 * gdb.java/Makefile.in: New file.
3717 * gdb.java/configure: Rebuilt.
3718 * gdb.java/configure.in: New file.
3719 * lib/java.exp: New file.
3720
4f823a66
AC
3721Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3722
3723 * gdb.base/exprs.exp: Test casts to a pointer including over and
3724 underflow.
3725
2391e11d
AC
3726Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3727
3728 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3729 and the compilers sizes.
3730
54602222
ND
37312000-07-09 Nick Duffek <nsd@redhat.com>
3732
3733 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3734 (use_methods): New function.
3735 (main): Call use_methods().
3736 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3737 (do_tests): Call test_method_param_class.
3738
2bec0572
ND
37392000-07-09 Nick Duffek <nsd@redhat.com>
3740
3741 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3742 spelling.
3743 (test_enums): New procedure. Move enum tests from end of script
3744 to here. Set breakpoint on function name instead of line number.
3745 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3746 (enums2): New marker function.
3747 (enums1): New function.
3748 (main): Call enums1(). Move enum tests to enums1().
3749
78492fde
AC
3750Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3751
3752 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3753 compile/link program. Update line numbers.
3754 * gdb.asm/d10v.inc: Define ``startup''.
3755 * gdb.asm/asmsrc1.s: Add definition of _start.
3756
49a2cef8
AC
3757Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3758
3759 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3760
3e6c8688
EZ
37612000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3762
3763 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3764 of 'help maint print' command.
3765
9ff5cbe9
AC
3766Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3767
3768 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3769 they use gdb_expect_list.
3770
17c579bd
AC
3771Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3772
3773 * gdb.base/commands.exp: Use ``set remote
3774 memory-read-packet-size'' instead of ``set endian big'' to test
3775 long commands.
3776
e6d71bf3
DB
37772000-06-03 Daniel Berlin <dan@cgsoftware.com>
3778
3779 * gdb.c++/templates.exp (do_tests): Make all of these work under
3780 g++, and stop skipping them.
3781
3782 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3783 work under g++.
3784
e5f9ba7b
MS
3785 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3786 initialization.
3787
dc96c6c7 37882000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3789
3790 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3791 the regular expression: accept an (almost) arbitrary sequence of
3792 "frames-invalid" and "breakpoints-invalid" messages both before
3793 and after the "starting" message.
3794
dc96c6c7 37952000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3796
3797 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3798
dc96c6c7 37992000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3800
3801 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3802 Relax the regular expression a little, make it pass on Solaris 8.
3803
8216cda9
KB
38042000-05-12 Kevin Buettner <kevinb@redhat.com>
3805
3806 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3807 a call, do not require that gdb stop on the line after the call.
3808 Instead, it is permissible for gdb to stop on the line of the
3809 call itself.
3810
1a570b2f
MS
38112000-05-12 Michael Snyder <msnyder@.cygnus.com>
3812
3813 * gdb.base/break.exp (bp on small function, optimized file):
3814 Add a second pass pattern. The behavior differs here between stabs
3815 and dwarf for one-line functions. Stabs preserves two line symbols
3816 (one before the prologue and one after) with the same line number,
3817 but dwarf regards these as duplicates and discards one of them.
3818 Therefore the address after the prologue (where the breakpoint is)
3819 has no exactly matching line symbol, and GDB reports the breakpoint
3820 as if it were in the middle of a line rather than at the beginning.
3821
dc96c6c7 38222000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3823
3824 * gdb.base/interrupt.exp: Make "pass" message say "send"
3825 rather than "send_gdb" (for consistancy).
3826
7d418785
AC
3827Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3828
3829 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3830 * gdb.c++/templates.cc: Properly check for GCC version number.
3831 * lib/compiler.cc: Likewise
3832
dc96c6c7 38332000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3834
3835 * gdb.base/break.exp: When compiled with -O2 optimization,
3836 gdb may not stop at the first line of main, due to code motion.
3837
dc96c6c7 38382000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3839
3840 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3841 This test depends on parsing the printf output from the target.
3842 Since the sparclet stub doesn't do stdio, this will never work.
3843 * gdb.base/call-rt-st.exp: ditto.
3844 * gdb.base/call-strs: ditto.
3845
dc96c6c7 38462000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3847
3848 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3849
3850 * gdb.base/ending-run.exp: After connecting to a remote target,
3851 but before running, the target will appear to be in a random
3852 location. Specify both a file and a line for breakpoints.
3853 Also, the function that calls main may be called 'init'
3854 rather than 'start'.
3855
a5a51225
EZ
38562000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3857
3858 * gdb.base/help.exp: Update output for add-symbol-file command.
3859
7930cc7c
FN
38602000-04-10 Fernando Nasser <fnasser@cygnus.com>
3861
3862 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3863 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3864
23e37ab1
C
38652000-04-07 J.T. Conklin <jtc@redback.com>
3866
e93c542c
C
3867 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3868
23e37ab1
C
3869 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3870
591b8fa3
PDM
3871Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3872
3873 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3874 values that can be represented exactly.
3875 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3876 above change, and to not check against the directory part of the source
3877 file name.
3878 (step into print_long_arg_list): Likewise.
3879 (print print_small_structs from print_long_arg_list): Likewise.
3880 (print print_long_arg_list): Likewise.
3881
7a495180
EZ
38822000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3883
30b53638 3884 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3885
beb998c6
AC
3886Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3887
3888 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3889
1c689132
DB
38902000-03-25 Daniel Berlin <dan@cgsoftware.com>
3891
3892 * gdb.base/commands.exp (deprecated_command_test): Add test for
3893 deprecate with no arguments.
3894
c1790a9d
JL
38952000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3896
3897 * gdb.base/break.exp: Add new test for setting breakpoints on
3898 optimized code so we can test breakpoints work even when function
3899 prologues may be optimized away
3900
003ba290
FN
39012000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3902
3903 From David Whedon <dwhedon@gordian.com>
3904 * gdb.base/commands.exp : Added command deprecator tests.
3905
6837a0a2
DB
39062000-03-22 Daniel Berlin <dan@cgsoftware.com>
3907
3908 * gdb.base/help.exp: Added test for new apropos command.
3909
b9593231
KB
39102000-03-21 Kevin Buettner <kevinb@redhat.com>
3911
3912 * gdb.base/pointers.c (usevar): New function.
3913 (main): Make sure that global variables v_int_pointer2, rptr,
3914 and y are all referenced someplace in the program by calling
3915 usevar() on them. [Some linkers delete symbols which are
3916 never referenced. The space remains, but there's no way to
3917 get a (symbolic) handle on the variable from the debugger.]
3918
751a959b
EZ
39192000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3920
3921 * gdb.base/printcmds.c: Add typedeffed arrays.
3922
3923 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3924 procedure to test arrays that are typedef'd.
3925
73a93a32
JI
39262000-03-13 James Ingham <jingham@leda.cygnus.com>
3927
3928 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3929 the library directories.
73a93a32 3930
fb40c209
AC
3931Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3932
3933 * configure.in (configdirs): Add sub directory gdb.mi.
3934 * configure: Re-generate.
3935
3936 * gdb.mi: New directory.
beb998c6 3937
ee4dd2c9
AC
39382000-02-25 Scott Bambrough <scottb@netwinder.org>
3939
3940 * gdb.base/long_long.exp: Correct test suite failure when printing
3941 a long long value as a double on ARM platforms.
3942
70f0cc22
JB
39432000-02-16 Jim Blandy <jimb@redhat.com>
3944
3945 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3946 default source file is set properly before running this test.
3947
853819b8
EZ
39482000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3949
3950 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3951 gdbtk/library directory, not in gdbtcl2.
3952
dfcd3bfb
JM
39532000-02-04 Jim Blandy <jimb@redhat.com>
3954
3955 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3956 backslash from regexp pattern.
3957
3958 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3959 procedure. Use it to run all the "continue to bp overloaded"
3960 tests. Note that this changes the names of the tests slightly.
3961 If the breakpoint hit message includes a hex PC value, because
3962 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3963 from the real source code, still consider that a pass.
3964
3965 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3966 XFAIL here if the breakpoint message contains a hex address. Note
3967 similar change on 1999-11-02.
3968
3969 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3970
3971 * gdb.base/ptype.exp: Establish a default source file before
3972 calling get_debug_format.
3973
39742000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3975
3976 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3977
8b93c638
JM
39782000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3979
3980 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3981 of successive stepi commands -- while in the prologue we should see
3982 the function entry bracket.
3983
39842000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3985
3986 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3987 reach __change_mode() when stepping through the end of main().
3988
c5394b80
JM
39892000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3990
3991 * gdb.base/default.exp: Fix expected pattern.
3992 * gdb.base/help.exp: Same.
3993
0d06e24b
JM
39942000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3995
3996 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3997 Don't use xfail's because that affects only the following test.
beb998c6 3998
0d06e24b
JM
3999 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4000 solaris or linux.
4001
4002 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4003
dc96c6c7 40042000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4005
beb998c6 4006 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4007 "A syntax error" rather than "A parse error". Accept both.
4008
40092000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4010
4011 * gdb.base/default.exp: Remove OS dependent string from "target
4012 remote" test.
4013 * gdb.base/help.exp: Same for "help target remote" test.
4014
c3f6f71d
JM
40152000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4016
4017 From Jim Kingdon <kingdon@redhat.com>:
4018
4019 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4020 prompt (cleanup rather than necessity, but still might keep output
4021 from spilling to next test).
4022
40232000-01-02 Fred Fish <fnf@cygnus.com>
4024
4025 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4026 AIX, which defines them in <sys/types.h>.
4027
ed9a39eb 40281999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4029
ed9a39eb
JM
4030 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4031 float" test.
4032
40331999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4034
ed9a39eb 4035 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4036
4037 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4038 outermost frame disallowed".
4039
40401999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4041
4042 * gdb.base/setvar.exp: New tests for setting the value of a struct
4043 with a constant list.
4044
40451999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4046
4047 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4048 require the user to type a cast before setting the value of a struct.
4049
de57eccd
JM
40501999-12-06 Jim Blandy <jimb@cygnus.com>
4051
4052 * gdb.base/default.exp: Expect the new 'info float' command on
4053 all i386 platforms.
4054
4055 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4056 LinuxThreads libraries that don't support debugging.
4057
c2d11a7d
JM
4058Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4059
4060 * gdb.base/remote.c: Fill the buffer with truely random data.
4061 Change the buffer type to ``unsigned char'' to simplify size
4062 arithmetic.
4063
4064 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4065 stub only handles 400-1 byte packets. Verify that the download
4066 worked.
4067
40681999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4069
4070 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4071 tests, using UNRESOLVED for the untested cases. Also, does not wait
4072 for a timeout if the prompt was received before a recognizable pattern.
4073
40741999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4075
4076 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4077
40781999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4079
4080 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4081 watchpoints.
4082
40831999-11-24 Jason Merrill <jason@casey.cygnus.com>
4084
4085 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4086
4087 * gdb.c++/local.exp: Be more flexible in recognizing local class
4088 name mangling. Don't allow horribly truncated method names.
4089 * gdb.c++/derivation.exp: Expect protected inheritance.
4090 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4091 * gdb.c++/virtfunc.exp: Likewise.
4092 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4093 when printing a nested enum.
4094
40951999-11-22 Jim Blandy <jimb@cygnus.com>
4096
4097 * gdb.base/step-test.exp: Properly await GDB's response to setting
4098 a breakpoint on the call to large_struct_by_value.
4099
4100 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4101 just because we have debug info for the `start' function.
4102
41031999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4104
4105 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4106 "Unknown signal" messages, which indicate (on LinuxThreads) that
4107 GDB doesn't know how to debug threads on this system. This is
4108 better than hanging while philosopher 0 dumps chatter into gdb.log.
4109
41101999-11-18 Tom Tromey <tromey@cygnus.com>
4111
4112 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4113
41141999-11-18 Fred Fish <fnf@cygnus.com>
4115
4116 * gdb.base/coremaker2.c: Add sample program for generating
4117 cores that is more self contained than coremaker.c. Eventually
4118 I'll add more code to this and tie it into the testsuite.
4119
4ce44c66
JM
41201999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4121
4122 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4123
41241999-11-10 Jimmy Guo <guo@cup.hp.com>
4125
4126 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4127 from $srcdir/lib/.
4128 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4129 and gdb.c++/.
4130
4131 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4132
beb998c6 4133 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4134 'continue with watch' test point.
4135
41361999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4137
4138 Merged from p2linux-990323-branch:
beb998c6 4139
4ce44c66
JM
4140 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4141
11cf8741
JM
4142Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4143
4144 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4145 {limit,fixed}''. Test ``set download-write-size''.
4146
4147Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4148
4149 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4150 gdb_expect_list.
4151
4152Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4153
4154 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4155
41561999-11-03 Mark Salter <msalter@cygnus.com>
4157
4158 * gdb.base/break.exp: Fix "stub continue" pattern.
4159
41601999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4161
4162 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4163
41641999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4165
4166 * gdb.base/display.exp ("finish"): Add timeout clause.
4167
4168 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4169 plain prompt clause, so this doesn't have to time out in order to
4170 fail.
4171
4172 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4173 breakpoint hit messages include an address.
4174
4175 * gdb.base/display.exp: Don't forget to escape parens in regular
4176 expressions. Unix regexp notatation sucks.
4177
41781999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4179
4180 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4181 order for 'signalled' message.
4182
5c44784c
JM
41831999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4184
4185 From Jimmy Guo <guo@cup.hp.com>:
4186 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4187 * gdb.base/annota1.c: Add code for tests to work with.
4188
41891999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4190
4191 * gdb.base/remote.exp: New test for remote downloading settings.
4192 * gdb.base/remote.c: New file with large .data.
4193
917317f4
JM
41941999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4195
4196 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4197 for LinuxThreads support, merged from the Code Fusion branch.
4198
4199Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4200
4201 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4202 containing exp_continue into a while within an expect. Don't
4203 attempt a start more than three times. Check return value from
4204 gdb_load.
beb998c6 4205
2df3850c
JM
4206Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4207
4208 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4209 a pass case.
4210
2acceee2
JM
42111999-10-01 Kevin Buettner <kevinb@cygnus.com>
4212
4213 * gdb.base/break.c (main): Added a statement that we can step
4214 off of.
4215 * gdb.base/break.exp: Added tests for setting a breakpoint
4216 at an offset and stepping onto a breakpoint.
4217
42181999-10-01 Fred Fish <fnf@cygnus.com>
4219
beb998c6 4220 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4221 gdb output.
4222
c2c6d25f
JM
42231999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4224
4225 * gdb.base/break.exp: Code locations are in hex, don't forget!
4226 (For HP-UX.)
4227
42281999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4229
4230 * condbreak.exp: Use break.c as test program.
4231 * condbreak.c: Remove, redundant with break.c.
4232
42331999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4234
4235 * config/monitor.exp (gdb_target_monitor): Disable X- and
4236 Z-packets if the target needs it.
4237
42381999-09-13 James Ingham <jingham@leda.cygnus.com>
4239
4240 * gdb.c++/overload.exp: Added tests for listing overloaded
4241 functions with function pointers in the arg, explicitly calling
4242 out the version you want.
4243
cff3e48b
JM
42441999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4245
4246 * long_long.exp: Add variations of test cases that work for
4247 targets with 16-bit ints and 32-bit doubles.
4248
d4f3574e
SS
42491999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4250
4251 * break.c (main): Compare a possibly-uninitialized argc with an
4252 unlikely value that fits in 16 bits.
4253
42541999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4255
4256 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4257 0xfeeb, don't want negative numbers if ints are 16 bits.
4258
4259 * lib/gdb.exp (skip_cplus_tests): New proc.
4260 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4261 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4262 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4263 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4264 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4265 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4266 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4267 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4268
4269 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4270
4271Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4272
4273 * gdb.base/corefile.exp (up): Allow a parameter to appear
4274 in the frame that we're going up to.
4275
4276 From Jim Blandy <jimb@cygnus.com>:
4277
4278 * gdb.base/default.exp (info float): Expect some output now.
4279
4280 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4281 returning floating-point values to fail on the x86.
4282 * gdb.base/callfwmall.exp (do_function_calls): Same.
4283
4284 * gdb.base/list.exp (test_listsize): Correct expectations for
4285 listing line 1 with listsize 2. Also, listing a single line
4286 works now, as does listing three lines. [Kevin's note: There
4287 were a number of other cases fixed too where the expectations
4288 differed...]
4289
42901999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4291
4292 * gdb.base/selftest.exp: Add case for when version prints as
4293 constant string instead of char pointer.
4294
104c1213
JM
42951999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4296
4297 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4298 stepping out of main.
4299
4300 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4301 G++ used.
4302
4303 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4304 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4305
4306 * gdb.c++/ovldbreak.exp: Update match string in test that
4307 includes a warning of multiple breakpoints.
4308
43091999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4310
4311 * gdb.base/display.exp: Improve precision of step-after-finish
4312 added yesterday.
4313
4314 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4315 test.
4316
4317 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4318 configs when using G++, not just hppa*.
4319
43201999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4321
4322 * gdb.base/async.c: New file.
4323 * gdb.base/async.exp: New file.
4324
4325Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4326
4327 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4328 PA64.
4329
53a5351d
JM
4330Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4331
104c1213
JM
4332 * gdb.base/display.exp: "finish" can leave us mid-line on many
4333 targets, deal with it. Add a small constant to main, instead of
4334 1000 since main+1000 may not be a valid address in the target.
4335
53a5351d
JM
4336 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4337 on hpux11.
4338
4339 * gdb.base/attach.exp: Handle another hpux11 error message variant
4340 when attaching to a process that does not exist.
4341
43421999-08-19 J.T. Conklin <jtc@redback.com>
4343
4344 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4345 characters in 'continue to 1241' test.
4346
43471999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4348
4349 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4350 stop in print_long_arg_list, define and use a whitespace
4351 variable in print_small_structs test, add an XFAIL for Solaris.
4352 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4353 interested enough to fix.
4354
7be570e7
JM
43551999-08-13 Keith Seitz <keiths@cygnus.com>
4356
4357 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4358 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4359 proc knows about targets other than the natives.
4360 (test_assign): Use "gdb_run_cmd" to "run" the target.
4361 Check that we've actually hit the breakpoint at main.
4362 When we attempt to assign a value to a local variable, check
4363 that the variable is in the current scope, i.e., don't use
4364 a test with an empty result.
4365
4366Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4367
4368 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4369 command.
4370
43711999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4372
4373 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4374 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4375 gdb.compat, gdb.threads-hp.
4376 gdb.hp/configure, gdb.hp/configure.in: New files.
4377 gdb.hp/Makefile.in: Recurse into new subdirs.
4378 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4379 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4380 in object files.
4381 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4382
96baa820
JM
43831999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4384
4385 * gdb.base/display.exp: Help expect by putting a newline in the
4386 funky printf, remove a bogus p/a test.
4387
43881999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4389
4390 * gdb.base/display.exp: Make sure that when we say 'run', we are
4391 connected to the target. This is necessary when running not
4392 natively.
4393
43941999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4395
4396 * gdb.base/step-test.exp: Removed some extraneous messages.
4397
4398 * gdb.base/long_long.exp: Don't run memory examination tests
4399 on little-endian targets (they will need a different set of
4400 results to match).
4401
44021999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4403
4404 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4405 until somebody decides to fix GDB.
4406
4407 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4408 constant as "ULL".
4409 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4410 matches for a couple x/2 commands.
4411
a0b3c4fd
JM
44121999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4413
4414 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4415 by merging in ref-types2 tests.
4416 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4417
4418 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4419 * gdb.c++/Makefile.in: Add standard actions.
4420 (EXECUTABLES): Rename from PROGS, update list.
4421 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4422 from gdb.hp.
4423 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4424 foo and bar locals.
4425 * gdb.c++/anon-union.exp: Fix tests to match.
4426 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4427 expect matches to handle output variations.
4428 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4429 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4430 output, add HP alternatives for new and delete prints.
4431 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4432 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4433 * gdb.c++/demangle.exp: Use $style when reporting failure.
4434 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4435 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4436 match alternatives.
4437 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4438 compilers.
4439 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4440 * gdb.c++/method.exp: Add match alternatives.
4441 * gdb.c++/misc.cc: Add bool types.
4442 * gdb.c++/misc.exp: Add tests for bool types.
4443 * gdb.c++/overload.exp: Add xfails.
4444 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4445 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4446 add some more template parameter tests (only for HP currently).
4447 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4448 * gdb.c++/virtfunc.cc: Add return type and value for main.
4449 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4450 match alternatives.
beb998c6 4451
a0b3c4fd
JM
44521999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4453
4454 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4455
44561999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4457
4458 * gdb.base/signals.exp: Don't expect getting a backtrace from
4459 within a signal handler to fail on Linux.
4460
44611999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4462
4463 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4464 * lib/gdb.exp: Remove some gratuitious semicolons.
4465 (delete_breakpoints): Increase timeout.
4466 (gdb_expect): Add -notransfer option.
4467 (gdb_test): Use -notransfer option.
4468 (get_compiler_info): Add f77 case.
4469 (get_compiler): New proc, split out from gdb_preprocess, add f77
4470 case.
4471 (gdb_preprocess): Call get_compiler.
4472
4473 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4474 * gdb.base/attach.exp, gdb.base/display.exp,
4475 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4476 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4477 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4478 third arg to gdb_test.
4479 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4480 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4481 HP-UX xfails, add others.
4482 * gdb.base/completion.exp: Reflect name change of self-test.
4483 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4484 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4485 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4486 HP failure number.
4487 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4488 useless HP-UX 10.30 references.
4489 * gdb.base/maint.exp: Loosen matches.
4490 * gdb.base/pointers.c (main): Declare more_code.
4491 * gdb.base/pointers.exp: Match on output of a `next'.
4492 * gdb.base/structs.c: Add prototypes.
4493 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4494 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4495
44961999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4497
4498 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4499 command.
4500
45011999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4502
4503 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4504 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4505
4506 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4507 debug info. Deal with lack of signal hanlder info in stack.
4508
4509 From Jim Kingdon <kingdon@redhat.com>:
4510 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4511
5a2468f5
JM
45121999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4513
4514 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4515 gdb.base/foll-vfork.exp: Don't run for crosses.
4516
adf40b2e
JM
4517Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4518
4519 * gdb.base/configure.in: Check for gdbvars.exp instead of
4520 a1-selftest.exp.
4521 * gdb.base/configure: Re-generate.
4522
45231999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4524
4525 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4526 in trying to run first and name is too long.
4527
4528 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4529 pointers2.c and pointers2.exp, respectively.
4530 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4531 doschk happier.
4532
43e526b9
JM
45331999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4534
4535 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4536 callfuncs2.c and callfuncs2.exp.
4537
4538 * gdb.base/list.exp: Remove mistaken xfails.
4539 * gdb.base/list0.h: Add optional prototypes.
4540
9846de1b
JM
4541Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4542
4543 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4544 calling malloc.
4545 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4546 * ptype.exp: Move test for get_debug_format to before its first
4547 use.
4548
45491999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4550
4551 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4552 * gdb.base/annota2.cc, annota2.exp: Move from here.
4553 * gdb.c++/annota2.cc, annota2.exp: To here.
4554 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4555
43ff13b4
JM
4556Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4557
4558 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4559 a consistent format.
4560
085dd6e6
JM
45611999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4562
4563 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4564 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4565 HP compilers, also set the globals $true and $false.
4566
4567 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4568 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4569 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4570 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4571 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4572 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4573 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4574 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4575 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4576 whatis.c} Add C++ compatible function definitions and return
4577 types, add includes for library functions.
4578 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4579 * gdb.base/step-test.c (myglob): Rename from glob.
4580 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4581 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4582 files, move here from gdb.hp.
4583 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4584 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4585 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4586 Adjust line numbers in regexps.
4587
4588 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4589 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4590 instead of 0/1.
4591
4592 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4593 foll-vfork.exp: New files, move here from gdb.hp.
4594 * gdb.base/page.exp: New file, test of pagination command.
4595
4596 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4597 recursion test.
4598 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4599
4600 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4601 gdb.base/solib.exp: Fix compiler invocation process.
4602
4603 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4604 HP-UX 11, turn off overload resolution explicitly.
4605 * gdb.base/commands.exp: Set argument list explicitly, add
4606 watchpoint test.
4607 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4608 them work.
4609 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4610 expressions properly.
4611 * gdb.base/corefile.exp: Loosen the match slightly.
4612 * gdb.base/default.exp: Allow "Error accessing memory" message
4613 also.
4614 * gdb.base/display.exp: Skip over x/0 j if PA64.
4615 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4616 * gdb.base/interrupt.exp: Ditto.
4617 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4618 in use.
4619 * gdb.base/list.exp: Add xfails for HP-UX.
4620 * gdb.base/long_long.exp: Refine some of the numeric matches.
4621 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4622 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4623 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4624 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4625 * gdb.base/ptype.exp: Succeed on more varieties of output.
4626 * gdb.base/scope.exp: Add xfails for HP-UX.
4627 * gdb.base/sect-cmd.exp: Add more cases.
4628 * gdb.base/setvar.exp: Add xfails for HP-UX.
4629 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4630 * gdb.base/signals.exp: Match on void symbolically.
4631 * gdb.base/step-test.exp: Add case for PA64.
4632 * gdb.base/term.exp: Add exit and restart.
4633 * gdb.base/twice.exp: Clean up after self.
4634 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4635 * gdb.base/whatis.exp: Allow more ways to pass tests.
4636
4637 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4638 no longer useful.
4639
4640Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4641
4642 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4643 list of patterns.
4644 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4645 print_double_array(double_array)", "continuing to breakpoint
4646 1018", "print print_double_array(array_d)" and "continuing to
4647 1034" tests.
beb998c6 4648
085dd6e6
JM
46491999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4650
4651 * Makefile.in: Add empty html and install-html targets.
4652
46531999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4654
4655 * config/mt-*: Remove, these haven't been used since 1996.
4656
46571999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4658
4659 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4660 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4661 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4662
9e0b60a8
JM
46631999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4664
4665 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4666 simpler match case for the ptype of the big class.
4667
46681999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4669
4670 * gdb.exp: Fix test for gdb_prompt existence.
4671
46721999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4673
4674 * gdb.exp (gdb_test): Add fail after calls to perror.
4675
46761999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4677
4678 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4679
46801999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4681
4682 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4683
0f71a2f6
JM
4684Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4685
4686 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4687 malloc() is linked in.
4688
46891999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4690
4691 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4692 step at end.
4693
4694 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4695
46961999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4697
4698 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4699
cce74817
JM
4700Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4701
4702 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4703 * gdb.base/mips_pro.exp: Likewise.
4704
47051999-06-02 Keith Seitz <keiths@cygnus.com>
4706
4707 * gdb.c++/templates.cc: Change all "new" operators to throw
4708 an exception.
4709 * gdb.c++/cplusfuncs.cc: Likewise.
4710
4711 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4712
4713Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4714
4715 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4716 * gdb.base/ending-run.exp: When stepping out of main, accept a
4717 step into an arbitrary assembler file.
4718
392a587b
JM
47191999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4720
beb998c6 4721 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4722 "breakpoint-invalid" to be printed.
beb998c6 4723 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4724 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4725 * gdb.base/annota2.cc: Initialize a.x to 0.
4726
9e086581
JM
47271999-05-17 Keith Seitz <keiths@cygnus.com>
4728
4729 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4730 when "skip_float_tests" set.
4731 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4732 "print print_ten_doubles", and "step into print_long_arg_list".
4733 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4734 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4735 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4736 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4737 "skip_float_tests" is set.
4738 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4739 when "skip_float_tests" set.
beb998c6 4740
cd0fc7c3
SS
47411999-05-06 Keith Seitz <keiths@cygnus.com>
4742
4743 * gdb.base/annota2.cc: Include stdio.h.
4744
4745Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4746
4747 * gdb.base/crossload.exp: Remove, this has been disabled ever
4748 since BFD stopped including all targets, and cross-GDB gets
4749 plenty of testing anyway.
4750 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4751 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4752 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4753 * gdb.base/README: Remove, was doc for this.
4754 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4755 needed.
4756
b83266a0
SS
47571999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4758
4759 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4760 output.
4761
4762 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4763 * gdb.base/annota2.exp: New file. More annotation tests.
4764 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4765 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4766
47671999-04-23 Angela Marie Thomas <angela@cygnus.com>
4768
4769 * config/cfdbug.exp: New file.
4770
7a292a7a
SS
47711999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4772
4773 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4774 Marcus Daniel's and Dale Hawkins's demangler crashes.
4775
4776 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4777 test_lucid_style_demangling, test_arm_style_demangling,
4778 test_hp_style_demangling): Try Tom Tromey's core-dumping
4779 identifier under each demangling style.
4780
47811999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4782
4783 * gdb.c++/demangle.exp: Include the current demangling style
4784 in all test names.
4785 (current_demangling_style): New global variable.
4786 (set_demangling_style, test_demangling_core, test_demangling,
4787 test_demangling_exact): New functions.
4788 (test_gnu_style_demangling, test_lucid_style_demangling,
4789 test_arm_style_demangling, test_hp_style_demangling): Use those,
4790 instead of calling gdb_test and gdb_test_exact directly.
4791 (catch_demangling_errors): New function, which reports errors
4792 signalled by the demangling test functions in an orderly way.
4793 (do_tests): Use catch_demangling_errors.
4794
47951999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4796
4797 * gdb.base/signals.exp (test_handle_all_print): Use () for
4798 grouping in expressions, not {}.
4799
4800 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4801 initialized yet.
4802
48031999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4804
4805 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4806 are listed.
4807
48081999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4809
4810 * gdb.stabs/weird.exp: Test for CC being defined before
4811 looking at its value.
4812
48131999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4814
4815 * gdb.base/call-ar-st.exp: Remove stray '#'.
4816 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4817 "short int" and "long int".
4818 * gdb.c++/overload.cc: Cast the string added in the previous
4819 change, to mollify finicky HP compiler.
4820 * gdb.hp/reg-test.exp (testfile): Fix file name.
4821 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4822
7a292a7a
SS
4823 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4824 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4825 alternate form of enum ptype.
4826
c906108c
SS
48271999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4828
7a292a7a
SS
4829 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4830 * gdb.hp/*.exp: Change all to run compiler probe only after
4831 passing skip_hp_tests, so as not to waste time on guaranteed
4832 failure.
4833
c906108c
SS
4834 * gdb.c++/overload.cc: Pass string instead of char addr, always
4835 init ccpfoo.
4836 * gdb.c++/templates.cc: Fix syntax error.
4837
7a292a7a
SS
4838Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4839
4840 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4841 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4842 command.
4843
48441999-03-18 James Ingham <jingham@cygnus.com>
4845
4846 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4847
4848 * gdb.c++/method.exp: It was testing an uninitialized int on the
4849 stack and assuming it was positive.
4850
4851 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4852
4853 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4854 keep it from killing the rest of the tests.
7a292a7a
SS
4855 Use gdb_continue_to_end.
4856
4857 * gdb.base/sigall.exp: use gdb_continue_to_end.
4858
4859 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4860
4861 * gdb.base/display.exp: use runto_main, not run.
4862
beb998c6
AC
4863 * gdb.base/default.exp: Check for the current error message in the
4864 r abbreviation test.
7a292a7a
SS
4865 Add strongarm to the targets that know info float.
4866
beb998c6 4867 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4868 run which doesn't work with monitors.
4869
4870 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4871
4872 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4873
4874 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4875 program. Traps the case (in Cygmon) when the program never really
4876 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4877 more places, so I used my name. Sorry Mark...
4878
4879 * config/monitor.exp (gdb_target_monitor): added another
4880 target_info parameter: remotebinarydownload. This will set the
4881 remotebinarydownload flag if this is causing some boards trouble.
4882
48831999-03-18 Mark Salter <msalter@cygnus.com>
4884
4885 * lib/gdb.exp (continue_to_exit): New function.
4886
4887 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4888 * gdb.base/ending-run.exp: Ditto.
4889 * gdb.base/step-test.exp: Ditto.
4890
48911999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4892
4893 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4894 (suggested by Art Haas <ahaas@neosoft.com>).
4895
48961999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4897
4898 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4899
4900Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4901
4902 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4903 descriptions of types (short unsigned int vs unsigned short, etc).
4904
49051999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4906
4907 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4908 a call to strlen; sometimes we do have sources.
4909
49101999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4911
4912 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4913 character, so GDB won't print garbage after its end.
beb998c6 4914
c906108c
SS
4915 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4916 breakpoint there instead. Sometimes GCC emits memcpy to handle
4917 the large structures being passed by value, so we step into that
4918 instead of sum_array_print, which obscures what we're really testing.
4919 * gdb.base/step-test.exp: However, we do want a test that notices
4920 the bizarre steps into memcpy, so do that here. Add check for
4921 stepping into function calls that pass large structures by value.
4922 ("Is that a noun clause, or are you just happy to see me?")
4923 Remove all references to specific line numbers.
4924 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4925 New type and function.
4926 (main): Call large_struct_by_value, passing it a large struct by value.
4927 * lib/gdb.exp (gdb_get_line_number): New function.
4928
4929 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4930 more portable.
4931
7a292a7a
SS
49321999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4933
c906108c
SS
4934 * lib/gdb.exp: Doc fixes.
4935
7a292a7a
SS
49361999-03-05 Nick Clifton <nickc@cygnus.com>
4937
beb998c6 4938 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4939
49401999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4941
c906108c
SS
4942 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4943 commands. They're not germane to this test, and they don't work
4944 that way on remote targets.
4945
3fc11d3e
JM
49461999-03-01 James Ingham <jingham@cygnus.com>
4947
4948 * Changelog entries merged over from gdb development branch.
4949
3fc11d3e
JM
4950 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4951
4952 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4953 for outputting results of test run.
4954
2d4a1622 4955 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4956
4957 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4958
7a292a7a
SS
49591999-02-25 Felix Lee <flee@cygnus.com>
4960
4961 * lib/gdb.exp (debug_format): initialize
4962
c906108c
SS
49631999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4964
4965 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4966 * gdb.base/call-rt-st.c: Ditto.
4967
c906108c
SS
49681999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4969
4970 * gdb.threads/pthreads.exp (horiz): New variable.
4971 (test_startup): Fix regexps that capture thread numbers.
4972
49731999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4974
4975 * gdb.base/smoke.exp: Disambiguate two test case names (both
4976 called ``print'').
4977
4978Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4979
4980 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4981 compilation.
4982
49831999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4984
4985 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4986 actual output formatting.
4987 * gdb.base/smoke.exp: GDB removes leading 0's.
4988 * gdb.base/volatile.exp: Don't check type of remuneration;
4989 that variable is no longer defined in constvars.c.
4990 * gdb.base/step-test.c (main): Exit with explicit exit code.
4991 * gdb.base/step-test.exp: Remove two nexti checks--they are
4992 not portable.
4993
49941999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4995
4996 * gdb.base/help.exp ("help delete display"): Fix test to match
4997 gdb's output.
4998
4999 * gdb.base/long_long.c (known_types): Initialize values to zero.
5000 * gdb.base/long_long.exp: Step one more line
5001 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5002 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5003 unique test case names.
5004
5005Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5006
beb998c6 5007 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5008
5009 * gdb.c++/method.exp: Add missing close brace.
5010
50111999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5012
5013 * gdb.base/maint.exp: Use 'set height 0' to disable page
5014 prompting, not 'set height 400'.
5015
5016 Fix a bunch of timeouts.
5017 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5018 four separate tests, so expect doesn't take forever to match a ton
5019 of text against a regexp with lots of .* forms.
5020 ("maint print psymbols", "maint print symbols"): Make some of
5021 these greps more selective, so that expect doesn't try to wade
5022 through huge piles of output and time out.
5023
5024 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5025
5026 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5027 tests: one which doesn't expect shlib events to be reported, and
5028 another which does, but is XFAIL for all platforms other than
5029 HP/UX.
5030
5031 * gdb.base/break.exp: Teach the test suite that the `catch
5032 fork', `catch vfork', and `catch exec' commands produce error
5033 messages on platforms that don't provide these features.
5034
5035Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5036
5037 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5038 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5039 (shortening names from solib_threshold.exp etc), won't run on
5040 anything but HP-UX for the foreseeable future.
5041 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5042 reflect move.
5043
5044Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5045
5046 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5047 gdb.trace/Makefile.in (clean): Remove all test executables.
5048
5049Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5050
5051 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5052 successfully re-sets breakpoints in shared libraries.
5053 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5054
5055Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5056
beb998c6
AC
5057 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5058 and compiled w/o GCC.
c906108c
SS
5059
5060 * gdb.hp/watch-cmd.exp: ditto.
5061
5062 * gdb.hp/watch-hp.exp: ditto.
5063
5064 * gdb.hp/xdb1.exp: ditto.
5065
5066 * gdb.hp/xdb2.exp: ditto.
5067
5068 * gdb.hp/dbx.exp: ditto.
5069
5070Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5071
5072 * constvars.c: Remove C++-isms.
5073 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5074 with GCC.
5075
5076Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5077
5078 The following changes are part of the HP merge.
5079
5080 * gdb.base/break.exp: new tests to verify that catchpoints for
5081 fork, vfork, and exec don't trigger inappropriately.
5082
5083 * gdb.base/opaque.exp: compile one file at a time, then link.
5084
5085 * gdb.base/signals.exp: be more restrictive about which hppa
5086 systems receive a setup_xfail. new tests.
5087
5088 * gdb.base/solib_threshold.build: new file.
5089 * gdb.base/solib_threshold.exp: new file.
5090 * gdb.base/solib_threshold.link_opts: new file.
5091 * gdb.base/solib_threshold.mk: new file.
5092 * gdb.base/gen_solib_threshold.c: new file.
5093
5094 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5095 tests. New tests for enums inside classes.
5096
5097 * gdb.c++/compiler.cc: indicate support of template debugging.
5098
5099 * gdb.c++/demangle.exp: run hp style demangling tests.
5100
5101 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5102 tests.
5103
5104 * gdb.c++/misc.cc: changes to support new tests.
5105
5106 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5107 to support new tests.
5108
5109 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5110 gcc, then skip these tests.
5111
5112Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5113
5114 The following files are part of the HP merge; some had longer
5115 names at HP, but have been renamed to be no more than 14
5116 characters in length.
5117
5118 * gdb.hp/ambiguous.cc: new file.
5119 * gdb.hp/ambiguous.exp: new file.
5120 * gdb.hp/attach.exp: new file.
5121 * gdb.hp/attach2.exp: new file.
5122 * gdb.hp/classes-hp.exp: new file.
5123 * gdb.hp/ctti.exp: new file.
5124 * gdb.hp/ctti-add.cc: new file.
5125 * gdb.hp/ctti-add1.cc: new file.
5126 * gdb.hp/ctti-add2.cc: new file.
5127 * gdb.hp/ctti-add3.cc: new file.
5128 * gdb.hp/dbx.exp: new file.
5129 * gdb.hp/exception.cc: new file.
5130 * gdb.hp/exception.exp: new file.
5131 * gdb.hp/foll-exec.c: new file.
5132 * gdb.hp/foll-exec.exp: new file.
5133 * gdb.hp/foll-fork.c: new file.
5134 * gdb.hp/foll-fork.exp: new file.
5135 * gdb.hp/foll-vfork.c: new file.
5136 * gdb.hp/foll-vfork.exp: new file.
5137 * gdb.hp/inherit-hp.exp: new file.
5138 * gdb.hp/more-steps.exp: new file.
5139 * gdb.hp/namespace.cc: new file.
5140 * gdb.hp/namespace.exp: new file.
5141 * gdb.hp/optimize.exp: new file.
5142 * gdb.hp/pxdb.c: new file.
5143 * gdb.hp/pxdb.exp: new file.
5144 * gdb.hp/quicksort.exp: new file.
5145 * gdb.hp/reg-test.exp: new file.
5146 * gdb.hp/reg-test.s: new file.
5147 * gdb.hp/sized-enum.c: new file.
5148 * gdb.hp/sized-enum.exp: new file.
5149 * gdb.hp/start-stop.exp: new file.
5150 * gdb.hp/templ-hp.cc: new file.
5151 * gdb.hp/templ-hp.exp: new file.
5152 * gdb.hp/thr-lib.c: new file.
5153 * gdb.hp/thr-lib.exp: new file.
5154 * gdb.hp/thr-lib.h: new file.
5155 * gdb.hp/thr-liblib.c: new file.
5156 * gdb.hp/virtfun-hp.c: new file.
5157 * gdb.hp/virtfun-hp.exp: new file.
5158 * gdb.hp/watch-cmd.exp: new file.
5159 * gdb.hp/watch-hp.exp: new file.
5160 * gdb.hp/xdb1.exp: new file.
5161 * gdb.hp/xdb2.exp: new file.
5162 * gdb.hp/xdb3.exp: new file.
5163
5164Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5165
5166 The following files are part of the HP merge; some had longer
5167 names at HP, but have been renamed to be no more than 14
5168 characters in length.
5169
5170 * gdb.base/ss.h: new file.
5171 * gdb.base/call-ar-st.c: new file.
5172 * gdb.base/call-ar-st.exp: new file.
5173 * gdb.base/call-rt-st.c: new file.
5174 * gdb.base/call-rt-st-exp: new file.
5175 * gdb.base/call-strs.exp: new file.
5176 * gdb.base/ena-dis-br.exp: new file.
5177 * gdb.base/environ.exp: new file.
5178 * gdb.base/long_long.exp: new file.
5179 * gdb.base/sect-cmd.exp: new file.
5180 * gdb.base/shlib-cl2.exp: new file.
5181 * gdb.base/smoke.exp: new file.
5182 * gdb.base/so-impl-ld.c: new file.
5183 * gdb.base/so-impl-ld.exp: new file.
5184 * gdb.base/so-indr-cl.c: new file.
5185 * gdb.base/so-indr-cl.exp: new file.
5186 * gdb.base/varargs.exp: new file.
5187 * gdb.base/volatile.exp: new file.
5188 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5189 * gdb.base/display.exp: new file.
c906108c
SS
5190 * gdb.c++/derivation.exp: new file.
5191 * gdb.c++/local.exp: new file.
5192 * gdb.c++/member-ptr.exp: new file.
5193 * gdb.c++/overload.exp: new file.
5194 * gdb.c++/ovldbreak.exp: new file.
5195 * gdb.c++/ref-types.exp: new file.
5196 * gdb.c++/ref-types2.exp: new file.
5197 * gdb.c++/userdef.exp: new file.
beb998c6 5198
c906108c
SS
5199Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5200
5201 * gdb.base/default.exp: Reflect wording change in remote.c.
5202
dc96c6c7 5203Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5204
5205 * gdb.base/help.exp: Update to reflect current text.
5206
5207Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5208
5209 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5210 they're stack variables and contain garbage.
5211 * gdb.c++/anon-union.exp: new file.
5212
5213 The following changes were made by David Taylor
5214 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5215 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5216 in changes by HP.
5217
5218 * gdb.base/bitops.exp: new file.
5219 * gdb.base/default.exp: change expected messages for catch and
5220 info catch tests to reflect HP merge changes.
5221 * gdb.base/enable-disable-break.exp
5222 * gdb.base/ending-run.c: new file.
5223 * gdb.base/long_long.c: new file.
5224 * gdb.base/maint.exp: new file.
5225 * gdb.base/pointers2.exp: new file.
5226 * gdb.base/shlib-call2.exp: new file.
5227 * gdb.base/solib.exp: new file.
5228 * gdb.base/step-test.c: new file.
5229 * gdb.c++/anon-union.cc: new file.
5230 * gdb.c++/local.cc: new file.
5231 * gdb.c++/member-pointer.cc: new file.
5232 * gdb.c++/method.cc: new file.
5233 * gdb.c++/ref-types.cc: new file.
5234 * gdb.c++/ref-types2.cc: new file.
5235 * gdb.c++/userdef.cc: new file.
beb998c6 5236
c906108c
SS
5237 * gdb.base/scope.exp: compile one file at a time, then link.
5238 * gdb.base/langs.exp: ditto.
5239 * gdb.base/list.exp: ditto.
beb998c6 5240
c906108c
SS
5241Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5242
5243 The following changes were made by David Taylor
5244 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5245 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5246 in changes by HP.
beb998c6 5247
c906108c
SS
5248 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5249 skip tests. When compiling pass c++ flag to gdb_compile.
5250 * gdb.c++/
beb998c6 5251
c906108c
SS
5252 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5253 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5254 (skip_hp_tests): new function.
5255 (gdb_preprocess): new function.
5256
5257 * configure.in (hpdir): decide whether to configure gdb.hp.
5258 * configure: regenerated.
5259
5260 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5261 to delete on clean.
5262 (EXECUTABLES): update to reflect new additions.
5263 * gdb.base/commands.exp: update message expected.
5264 * gdb.base/default.exp: add copyright notice.
5265 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5266 * gdb.base/help.exp: update messages to reflect current text.
5267 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5268 targets for recurse tests.
5269 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5270 skip this file.
5271
5272 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5273 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5274 compilation.
5275 * gdb.c++/misc.exp: ditto.
5276 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5277 run the tests. tell gdb_compile that it's a c++ compilation.
5278
5279 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5280
c906108c
SS
5281 * gdb.base/all-bin.exp: new file.
5282 * gdb.base/arithmet.exp: new file.
5283 * gdb.base/assign.exp: new file.
5284 * gdb.base/completion.exp: new file.
5285 * gdb.base/cond-expr.exp: new file.
5286 * gdb.base/condbreak.exp: new file.
5287 * gdb.base/define.exp: new file.
5288 * gdb.base/dollar.exp: new file.
5289 * gdb.base/environment.exp: new file.
5290 * gdb.base/eval-skip.exp: new file.
5291 * gdb.base/jump.exp: new file.
5292 * gdb.base/logical.exp: new file.
5293 * gdb.base/pointers.exp: new file.
5294 * gdb.base/relational.exp: new file.
5295 * gdb.base/section_command.exp: new file.
5296 * gdb.base/whatis-expr.exp: new file.
5297
5298 * gdb.base/all-types.c: new file.
5299 * gdb.base/call-array-struct.c: new file.
5300 * gdb.base/call-return-struct.c: new file.
5301 * gdb.base/call-strings.c: new file.
5302 * gdb.base/callfuncs2.c: new file.
5303 * gdb.base/condbreak.c: new file.
5304 * gdb.base/constvars.c: new file.
5305 * gdb.base/display.c: new file.
5306 * gdb.base/int-type.c: new file.
5307 * gdb.base/jump.c: new file.
5308 * gdb.base/miscexprs.c: new file.
5309 * gdb.base/pointers.c: new file.
5310 * gdb.base/pointers2.c: new file.
5311 * gdb.base/shmain.c: new file.
5312 * gdb.base/shr1.c: new file.
5313 * gdb.base/shr2.c: new file.
5314 * gdb.base/solib.c: new file.
5315 * gdb.base/solib1.c: new file.
5316 * gdb.base/solib2.c: new file.
5317 * gdb.base/varargs.c: new file.
5318 * gdb.c++/derivation.cc: new file.
5319 * gdb.c++/overload.cc: new file.
5320 * gdb.c++/ovldbreak.cc: new file.
5321 * gdb.hp/attach.c: new file.
5322 * gdb.hp/attach2.c: new file.
5323 * gdb.hp/average.c: new file.
5324 * gdb.hp/compiler.c: new file.
5325 * gdb.hp/compiler.cc: new file.
5326 * gdb.hp/execd-program.c: new file.
5327 * gdb.hp/follow-exec.c: new file.
5328 * gdb.hp/follow-fork.c: new file.
5329 * gdb.hp/follow-vfork-and-exec.c: new file.
5330 * gdb.hp/misc-hp.cc: new file.
5331 * gdb.hp/more-steps.c: new file.
5332 * gdb.hp/optimize.c: new file.
5333 * gdb.hp/quicksort.c: new file.
5334 * gdb.hp/run-hp.c: new file.
5335 * gdb.hp/start-stop.c: new file.
5336 * gdb.hp/sum.c: new file.
5337 * gdb.hp/templates-hp.cc: new file.
5338 * gdb.hp/thread-local-in-lib.c: new file.
5339 * gdb.hp/thread-local-in-lib.h: new file.
5340 * gdb.hp/thread-local-in-lib.lib.c: new file.
5341 * gdb.hp/vforked-program.c: new file.
5342 * gdb.hp/virtfunc-hp.cc: new file.
5343 * gdb.hp/watchpoint-hp.c: new file.
5344 * gdb.hp/xdb.c: new file.
5345 * gdb.hp/xdb0.c: new file.
5346 * gdb.hp/xdb0.h: new file.
5347 * gdb.hp/xdb1.c: new file.
5348
5349Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5350
5351 The following change was made by Edith Epstein
5352 <eepstein@cygnus.com> as part of a project to merge in changes
5353 originally made by HP; HP did not create ChangeLog entries.
5354
5355 * gdb.c++/demangle.exp: changed the expected output for some
5356 ARM-style mangling -- removed second reference to datatype.
5357 For example, maint demangle __dt__11T1__pt__2_cFv
5358 T1<char>::~T1<char>(void)
5359 becomes,
5360 maint demangle __dt__11T1__pt__2_cFv
5361 T1<char>::~T1(void)
5362
5363 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 5364
c906108c
SS
5365Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5366
5367 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5368 * gdb.trace/backtrace.exp: Likewise.
5369 * gdb.trace/circ.exp: Likewise.
5370 * gdb.trace/collection.exp: Likewise.
5371 * gdb.trace/deltrace.exp: Likewise.
5372 * gdb.trace/infotrace.exp: Likewise.
5373 * gdb.trace/limits.exp: Likewise.
5374 * gdb.trace/packetlen.exp: Likewise.
5375 * gdb.trace/passc-dyn.exp: Likewise.
5376 * gdb.trace/passcount.exp: Likewise.
5377 * gdb.trace/report.exp: Likewise.
5378 * gdb.trace/save-trace.exp: Likewise.
5379 * gdb.trace/tfind.exp: Likewise.
5380 * gdb.trace/tracecmd.exp: Likewise.
5381 * gdb.trace/while-dyn.exp: Likewise.
5382 * gdb.trace/while-stepping.exp: Likewise.
5383
53841998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5385
5386 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5387
5388Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5389
5390 From Brendan Kehoe:
5391 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5392 int return types.
5393
5394Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5395
5396 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5397 remote dos host testing right.
5398
5399Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5400
5401 * gdb.base/corefile.exp: remove some xfails.
5402
5403Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5404
5405 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5406 have different timestamps.
5407
5408Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5409
5410 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5411 gdb.base/default.exp: Replace "exec" with "executable".
5412
5413Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5414
5415 * gdb.base/default.exp: Change else if to elseif from previous
5416 delta.
5417
5418Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5419
5420 * gdb.base/default.exp: Add brace missing from previous delta.
5421
5422Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5423
5424 * gdb.base/default.exp: Support test for info float for all
5425 varieties of arm toolchain.
5426
dc96c6c7 5427Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5428
5429 * gdb.trace/*.exp: remove "remote_download" command.
5430
dc96c6c7 5431Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5432
5433 * gdb.trace/*.exp: remove -gdwarf from compile.
5434
5435Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5436
5437 * gdb.trace/configure.in(AC_INIT): typo
5438 * gdb.trace/configure: regenerated
5439
dc96c6c7 5440Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5441
5442 * config/m68k-emc.exp: New file.
5443 * lib/<emc-support.exp trace-support.exp}: New files.
5444 * configure.in: add new test directory gdb.trace.
5445 * gdb.trace/{configure configure.in Makefile.in}: New files.
5446 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5447 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5448 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5449 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5450 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5451 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5452 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 5453
dc96c6c7 5454Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5455
5456 * gdb.c++/classes.exp: Change all regular expressions to match
5457 arbitrary combinations of newline/carriage-return, so that they
5458 will work equally well on Unix and Windows.
5459 * gdb.c++/inherit.exp: ditto.
5460 * gdb.c++/virtfunc.exp: ditto.
5461
54621998-08-11 Dawn Perchik <dawn@cygnus.com>
5463
5464 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5465
c2d11a7d
JM
5466Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5467
5468 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5469 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5470 to use a0-a3/d0-d3 as needed.
5471
5472Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5473
5474 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5475 * gdb.disasm/am33.exp: Corresponding changes.
5476
c906108c
SS
54771998-07-11 Felix Lee <flee@cygnus.com>
5478
5479 * gdb.base/callfuncs.exp: add cmp10 test.
5480 * gdb.base/callfuncs.c (cmp10): new function.
5481
5482Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5483
beb998c6 5484 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5485 into two parts to get around a synchronization problem in expect.
5486
3fc11d3e
JM
5487Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5488
5489 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5490
5491 * configure.in: Add options for gdbtk testsuite.
5492
5493 * configure: Regenerate.
5494
5495 * gdb.gdbtk: New directory to hold gdbtk tests.
5496
c906108c
SS
5497Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5498
5499 * gdb.fortran/types.exp: Escape brackets in expect patterns
5500 for test_float_literal_types_accepted tests.
5501 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5502 before run test.
5503
c2d11a7d
JM
5504Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5505
5506 * am33.exp: Just compile, do not link the testcase.
5507 * am33.s: Add ".am33" pseudoop to force am33 mode.
5508
c906108c
SS
55091998-06-25 Felix Lee <flee@cygnus.com>
5510
5511 * gdb.base/setshow.exp: make sure $pc is sane.
5512
5513 * gdb.stabs/weird.exp: split expect patterns properly.
5514
c2d11a7d
JM
5515Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5516
5517 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5518 * gdb.disasm/am33.exp: Run it.
5519
dc96c6c7 5520Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5521
5522 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5523 match processing (and eliminate spurious timeouts when running).
5524
dc96c6c7 5525Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5526
5527 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5528 exception test, but conditionalize it on target [mach | gnu].
5529
dc96c6c7 5530Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5531
5532 * gdb.base/overlays.exp: fixup compile line for linker script.
5533
5534Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5535
5536 * gdb.fortran/types.exp: don't guess at float size.
5537
5538Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5539
5540 * gdb.base/exprs.exp: delete test that depends on int size.
5541
5542Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5543
5544 * config/sim.exp: Removed checks for target triplets.
5545 (gdb_target_sim): Use gdb,target_sim_options.
5546
5547Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5548
5549 * gdb.base/reread.exp: New file.
5550 * gdb.base/reread1.c: New file.
5551 * gdb.base/reread2.c: New file.
5552
5553Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5554
5555 * config/sim.exp: Use 'target sim -sparclite' when running
5556 SPARClite programs.
5557
5558Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5559
5560 * gdb.base/structs2.exp: New file.
5561 * gdb.base/structs2.c: New file.
5562
5563Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5564
5565 * gdb.asm/common.inc: New file.
5566 * gdb.asm/d10v.inc: New file.
5567 * asm-source.exp: Pass -I's to gas to find .inc files.
5568 Update line numbers in expected output.
5569 * asmsrc1.s: Rewrite.
5570 * asmsrc2.s: Rewrite.
5571 * configure.in: Create arch.inc symlink.
5572 * configure: Regenerate.
5573 * Makefile.in (distclean): Delete arch.inc.
5574
5575Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5576
5577 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5578 (t_enum_value2): ditto
5579 (t_enum_value3): ditto
5580 (main): ditto
5581Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5582
5583 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5584 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5585 change.
5586 Use gdb_test instead of send_gdb/gdb_expect sequences.
5587
5588Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5589
5590 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5591 not void.
5592
5593Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5594
5595 * gdb.base/branches.c: Code with lots of loops and
5596 subroutines. Used to test gdbs ability to single step through PC
5597 changes, especially to test mips-tdep.c:mips_next_pc
5598
5599Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5600
5601 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5602 more rigorous EGCS C++ error checking.
5603
5604Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5605
5606 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5607 tests.
c906108c 5608 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5609 function when asleep.
c906108c 5610 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5611 for i*86 Linux and SVR4 signal handling problems.
5612 Remove linux xfail for `next to handler in signals_tests_1', fixed
5613 by recent infrun.c change.
c906108c 5614 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5615 stack backtraces.
c906108c
SS
5616 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5617 target.[ch] change.
5618
5619Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5620
5621 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5622 for a newline from gdb before continuing.
5623 (default_gdb_exit): Just look for y or n.
5624 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5625 it does, fail the rests of the tests in the file.
5626
5627Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5628
5629 * config/cygmon.exp: New file.
5630
5631Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5632
5633 * gdb.base/list.exp: Fix problem with "list default lines around
5634 main" test on remote targets.
5635
5636 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5637 run test on remote targets.
5638
5639Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5640
5641 * gdb.asm: New directory.
5642 * configure.in: Configure it.
5643 * configure: Regenerate.
5644 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5645 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5646
5647Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5648
5649 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5650
dc96c6c7 5651Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5652
c906108c
SS
5653 * gdb.base/overlays (several files): Merge the two overlay
5654 managers into one. Change variables (foox, barx, bazx, grbxx)
5655 back into ints but force them to load in their proper sections.
5656
5657Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5658
5659 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5660 on-chip insn memory and IMAP1 to upper 128k.
5661 (D10VCopy): Handle memory regions crossing 16k boundaries.
5662 (D10VCopy): Transfer data in 32 bit chunks.
5663
5664Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5665
5666 * gdb.base/overlays.c (main): Exit normally when result is
5667 correct.
5668
5669 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5670 map. Include space for printf in .text segment.
5671
5672 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5673 updated d10v memory VMA/LMA map.
5674 (D10VCopy): Call D10VTranslate.
beb998c6 5675
c906108c
SS
5676Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5677
5678 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5679
5680 * gdb.base/bar.c (barx, bar): Change variable to small array so
5681 that it won't be put into the .sdata - small data -
5682 section. Update reference.
5683 * gdb.base/baz.c (bazx, baz): Ditto.
5684 * gdb.base/foo.c (foox, foo): Ditto.
5685 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5686
5687 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5688 to be arrays.
beb998c6 5689
dc96c6c7 5690Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5691
c906108c
SS
5692 * gdb.base/overlays.exp: fix up and get working again.
5693 Add tests for backtraces from an overlay function.
beb998c6 5694
c906108c
SS
5695Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5696
5697 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5698 "calling function with watchpoint enabled".
5699
5700Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5701
5702 * gdb.base/break.exp (test_next_with_recursion): Remove
5703 gdb_suppress_tests for d10v-*-*.
5704 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5705 pending review of whether it is useful or not.
5706
5707Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5708
5709 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5710
5711Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5712
5713 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5714 * config/dve.exp: New file to support Densan boards.
5715
5716Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5717
5718 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5719 reads and BSD.
5720
5721Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5722
5723 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5724 response.
5725
5726 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5727
5728Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5729
5730 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5731 test.
5732
5733 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5734 target_sizeof_long and target_bigendian_p.
5735 (structs_by_value, structs_by_reference): Check values according
5736 to targets word size and endianess.
beb998c6 5737
c906108c
SS
5738Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5739
5740 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5741 output.
5742
5743Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5744
5745 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5746 Update test of set args help to match source change.
5747
5748Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5749
5750 * gdb.base/default.exp: Expect help system output to be in
5751 alphabetical order.
5752 * gdb.base/help.exp: Ditto.
5753
5754Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5755
5756 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5757 "i*86-pc-linux-gnu*".
5758 * gdb.base/interrupt.exp: Ditto.
5759 * gdb.base/corefile.exp: Ditto.
5760
5761 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5762 define vxworks when building the testcase.
5763
5764 * gdb.base/ptype.exp: Fix testnames to be unique.
5765 * gdb.base/radix.exp: Ditto.
5766 * gdb.base/term.exp: Ditto.
5767 * gdb.base/whatis.exp: Ditto.
5768 * gdb.c++/classes.exp: Ditto.
5769
5770Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5771
5772 * gdb.base/callfuncs.exp: Fix indentation.
5773
5774 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5775 suppress_flag has been set.
5776 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5777 target feature.
5778
5779Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5780
5781 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5782 the testcase.
5783
5784 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5785 set_debug_traps() and breakpoint().
5786 * gdb.c++/misc.cc (main): Ditto.
5787 * gdb.c++/templates.cc (main): Ditto.
5788 * gdb.c++/virtfunc.cc (main): Ditto.
5789
5790Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5791
5792 * lib/gdb.exp(gdb_step_for_stub): New function.
5793 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5794 exists, reload the executable and do a "continue" instead of
5795 doing a jump.
5796 (runto_main): Use gdb_step_for_stub.
beb998c6 5797
c906108c
SS
5798 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5799 tests to have unique names.
5800 * gdb.base/callfuncs.exp: Ditto.
5801 * gdb.base/commands.exp: Ditto.
5802 * gdb.base/default.exp: Ditto.
5803 * gdb.base/help.exp: Ditto.
5804 * gdb.base/list.exp: Ditto.
5805 * gdb.base/opaque.exp: Ditto.
5806 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5807 similar tests.
beb998c6 5808
c906108c
SS
5809 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5810 * gdb.c++/cplusfuncs.cc: Ditto.
5811 * gdb.c++/virtfunc.cc: Ditto.
5812
5813 * config/monitor.exp: Keep track of the last file we saw, rather
5814 than trying to get the info from gdb.
5815
5816 * gdb.fortran/types.exp: Move comment to previous line.
5817
5818Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5819
5820 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5821 target mode.
5822
5823Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5824
5825 From Bob Manson:
5826 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5827 string from GDB when it connects.
5828
5829 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5830
5831Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5832
5833 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5834 if we can't get a debug format from GDB (we may be testing an
5835 older GDB). Use a 10 second timeout when checking for the format.
5836
5837 * gdb.stabs/weird.exp: Fix quoting.
5838
5839 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5840
5841Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5842
5843 * config/arm-ice.exp: New file.
5844
5845Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5846
5847 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5848 until it has been modified to work with the new testsuite.
5849
99707966 5850 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5851 testcase won't compile, cause all of the testcases in the file to
5852 fail instead.
5853
5854 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5855 (gdb_clear_suppressed): New procedure.
5856 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5857 it contains a positive value.
5858
5859Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5860
5861 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5862
5863 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5864
5865Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5866
5867 * lib/gdb.exp (setup_xfail_format): New function.
5868 (get_debug_format): New function to get debug format.
5869 (debug_format): New global variable to hold last value set
5870 by get_debug_format.
5871 * gdb.base/list.exp: Call get_debug_format and expect some
5872 tests to fail for DWARF 1 and COFF formats.
5873 * gdb.c++/ptype.exp: Ditto.
5874 * gdb.c++/classes.exp: Ditto.
5875 * gdb.c++/cplusfuncs.exp: Ditto.
5876 * gdb.c++/inherit.exp: Ditto.
5877 * gdb.c++/templates.exp: Ditto.
5878 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5879
c906108c
SS
5880Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5881
5882 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5883 host doesn't have a currently-open connection.
5884
5885 * config/sparclet.exp: Cleanups and fixes to make it generic for
5886 any gdb stub target. Handle cases where gdb doesn't respond when
5887 interrupted in a sane fashion.
5888
5889 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5890 same thing in a totally different way.
5891
5892 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5893 setting "timeout".
5894 (gdb_start): We set the global gdb_prompt variable in
5895 default_gdb_init now.
5896
5897Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5898
5899 * gdb.base/printcmds.exp: Fix "check for floating addition"
5900 regexp to accept results within approx +/- .01 of exact value.
5901 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5902
5903Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5904
5905 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5906 properly.
5907 (gdb_expect): Add optional timeout parameter, and add timeout
5908 value to various calls.
5909 (gdb_suppress_tests): Only give one warning message per group.
5910
5911Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5912
5913 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5914 global variables. Handle getting a value for $timeout more
5915 gracefully.
5916
5917Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5918
5919 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5920 initialize.
5921 (default_gdb_init): New procedure; allow gdb_init to be overridden
5922 by a target configuration file.
5923 (gdb_expect): Pass the timeout to remote_expect.
5924
5925 * config/monitor.exp(gdb_load): Fix typo in regexp.
5926
5927Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5928
5929 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5930
5931Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5932
5933 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5934 here. Call gdb_target_exec before rebooting the target, to make
5935 sure the connection to the target is closed.
5936 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5937 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5938 Also detect "Timeout reading from remote" error.
5939
5940 * config/gdbserver.exp: Pass the executable being loaded to
5941 gdb_target_monitor. Don't call gdb_file_cmd here; let
5942 gdb_target_monitor do it.
5943
5944 * gdb.disasm/hppa.exp: Don't use exec_output.
5945
5946Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5947
5948 * gdb.base/list.exp: If we're debugging a non-native target,
5949 try to set the pc register to point to the start of the
5950 program before doing the first list command.
5951
5952 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5953 test_calls after restarting.
5954
5955 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5956 reloading.
5957
5958 * gdb.base/watchpoint.exp: Fix typo.
5959
5960 * gdb.base/setshow.exp: Check for use_gdb_stub.
5961
5962 * gdb.base/break.exp: Fix continue until exit test for the gdb
5963 stub case.
5964 * gdb.base/langs.exp: Ditto.
5965
5966 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5967 gdb_load_offset. If we weren't given a file to load, figure out
5968 what the current file is and use it.
5969
5970 * config/i386-bozo.exp: New file.
5971
5972Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5973
5974 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5975 feature.
5976
5977 * config/proelf.exp: New entry.
5978
5979Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5980
5981 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5982 of regexps.
5983
5984 * gdb.base/watchpoint.exp: Don't run the test_stepping
5985 tests if gdb can't call functions on the target.
5986
5987 * gdb.base/setshow.exp: Don't run the set prompt tests if
5988 the board has gdb_prompt set.
5989
5990Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5991
5992 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5993 * gdb.base/commands.exp: Likewise.
5994 * gdb.base/setshow.exp: Likewise.
5995
5996Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5997
5998 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5999 feature.
6000
6001 * config/i960.exp: New file.
6002
6003Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6004
6005 * gdb.base/funcargs.exp: Check for gdb,short_int target
6006 feature instead of looking for explicit target triplets.
6007
dc96c6c7 6008Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6009
beb998c6 6010 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6011 "p 123DEADBEEF", to check parse_number.
6012 * top.c: change "to enable to enable" to "to enable" in a couple
6013 of help strings.
6014
6015Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6016
6017 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6018 on the mn10300.
beb998c6 6019
c906108c
SS
6020Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6021
6022 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6023 where the test executable is run with explicit args.
6024 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6025
6026Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6027
6028 * gdb.base/run.c: Use FAKEARGV to build test executable that
6029 does not require a command line arg, since most simulators
6030 don't currently support passing such an arg into the simulated
6031 program.
6032 * gdb.base/commands.exp: Change tests to insert the proper
6033 value as the arg to the first recursive factorial call. Change
6034 compilation line to define FAKEARGV at compile time.
6035
6036Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6037
6038 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6039 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6040 function with watchpoint enabled" test.
6041
6042Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6043
6044 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6045 Don't call gdb_test when the command doesn't return to a gdb prompt.
6046
6047 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6048 "Tests restarted" messages.
6049
6050Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6051
6052 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6053
dc96c6c7 6054Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6055
6056 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6057 for INFO SYMBOL; add help tests for OVERLAY commands.
6058 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6059 add tests for OVERLAY commands
6060 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6061 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6062 * gdb.base/sigall.c: add usestubs code frag
6063 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6064
c906108c
SS
6065Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6066
6067 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6068 failures.
6069 (gdb_stop_suppressing_tests): Note that tests have restarted.
6070
6071Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6072
6073 * config/h8300.exp: New file.
6074
6075Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6076
6077 * gdb.base/setshow.exp: Check for the existence of a
6078 feature, not its value.
6079
6080Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6081
6082 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6083
6084 * gdb.base/scope.exp: It's now init0(), not init().
6085
6086 * gdb.base/scope0.c: For now, change init() to be init0().
6087
6088 * config/monitor.exp: Use gdb_serial in preference to serial
6089 or netport.
6090
6091 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6092 and it's not already set.
6093
6094Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6095
6096 * gdb.base/setshow.exp: Only test the run command if the target
6097 isn't using a stub and if it supports argument passing.
6098
6099Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6100
6101 * config/udi.exp(gdb_start): Make sure UDICONF is set
6102 properly before starting gdb.
6103
6104Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6105
6106 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6107 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6108 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6109
6110Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6111
6112 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6113 specialized code to reboot the board, use remote_reboot instead.
6114
6115 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6116
6117 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6118
6119 * config/monitor.exp: Make sure we disconnect from the target.
6120 Also, try a reboot/reload cycle instead of failing if the
6121 load fails.
6122
6123Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6124
6125 * gdb.base/default.exp: Don't set match_max.
6126 * gdb.base/help.exp: Ditto.
6127 * gdb.base/list.exp: Ditto.
6128 * gdb.base/signals.exp: Ditto.
6129
6130 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6131 set, use remote_ld to download the testcase instead of
6132 the GDB loader.
6133
6134Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6135
6136 * config/vr5000.exp: New file.
6137
6138 * config/monitor.exp(gdb_target_monitor): Add pattern for
6139 "Ending remote" to detect errors in connecting.
6140
6141 * gdb.base/setshow.exp: Add .* within auto language test.
6142
6143 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6144 target feature.
6145
6146 * config/monitor.exp(gdb_load): Check for a failure when loading,
6147 and reboot the board if necessary.
6148
6149 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6150 a set of tests. Remove print.* from the patterns being checked.
6151
6152Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6153
6154 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6155 refer to gdb_spawn_id.
6156
6157 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6158 longer used.
6159 * config/sparclet.exp: Ditto.
6160 * config/sparclet-old.exp: Ditto.
6161 * config/slite.exp: Ditto.
6162 * config/sim.exp: Ditto.
6163 * gdb.base/funcargs.exp: Ditto.
6164
6165 * lib/gdb.exp:Remove references to gdb_spawn_id.
6166 (gdb_expect): Move to remote.exp.
6167
6168Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6169
6170 * config/monitor.exp: Detect the "Couldn't establish connection"
6171 message from GDB.
6172
6173Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6174
6175 * gdb.base/bitfields.exp: Use runto instead of explicit
6176 gdb_run_cmd/gdb_expect sequences.
6177
6178 * gdb.base/break.exp(text_next_with_recursion): Add match for
6179 gdb_expect call.
6180
6181 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6182 We also need to handle the "A program is being debugged already"
6183 prompt from gdb. Use gdb_test to set the baud rate.
6184
6185 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6186 to 20000. Really. I mean it.
6187
6188Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6189
6190 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6191 fails. If suppress_flag is set, skip perror message about not
6192 being able to send to GDB.
6193 (send_gdb): If suppress_flag is set, don't try to send commands to
6194 GDB.
6195 (gdb_expect): If suppress_flag is set, always fail immediately.
6196 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6197 (gdb_init): Call gdb_stop_suppressing_tests.
6198 (default_gdb_exit): Ditto.
6199 (default_gdb_start): Ditto.
6200
6201 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6202 gdb_stop_suppressing_tests as appropriate.
6203 * gdb.base/break.exp: Ditto.
6204 * gdb.base/callfuncs.exp: Ditto.
6205 * gdb.base/commands.exp: Ditto.
6206 * gdb.base/exprs.exp: Ditto.
6207 * gdb.base/funcargs.exp: Ditto.
6208 * gdb.base/list.exp: Ditto.
6209 * gdb.base/recurse.exp: Ditto.
6210 * gdb.base/scope.exp: Ditto.
6211 * gdb.base/structs.exp: Ditto.
6212 * gdb.c++/inherit.exp: Ditto.
6213
6214Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6215
6216 * config/vr4300.exp: New file.
6217
99707966
MC
6218 * gdb.*/*.exp: Call gdb_expect instead of expect.
6219
6220 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6221
6222Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6223
6224 * lib/gdb.exp(gdb_init): New function.
6225
6226 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6227 for each individual variable set.
6228
6229 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6230 name.
6231
6232 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6233
6234 * gdb.base/scope.exp: Use gdb_test.
6235
6236 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6237 aborting; the testsuite driver will do that for us (see
6238 gdb_finish). Also, use gdb_test in a few more places.
6239
6240Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6241
6242 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6243
6244Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6245
6246 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6247 and "add_tests" are not at the same address.
6248
6249Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6250
6251 * gdb.base/ptype.exp: Use gdb_test.
6252
6253Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6254
6255 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6256 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6257 left in. No longer expect them to fail.
6258
6259 * gdb.stabs/*.mt; Deleted, no longer used.
6260 * gdb.stabs/configure.in: Remove references to target makefile
6261 frags.
6262 * gdb.stabs/configure: Rebuilt.
6263
6264 * gdb.disasm/*.mt: Deleted, no longer used.
6265 * gdb.disasm/configure.in: Remove references to target makefile
6266 frags. Use "sh3.s" as the unique filename for this directory.
6267 * gdb.disasm/configure: Rebuilt.
6268
6269 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6270 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6271 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6272
6273Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6274
6275 * config/udi.exp: Use mondfe,name instead of remote_host.
6276
6277Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6278
6279 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6280 a function with a watchpoint enabled on the mn10200.
6281
6282 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6283 before trying to create it!
6284
6285Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6286
6287 * config/vx.exp: Use hostname instead of netport.
6288
6289 * config/vxworks.exp: New file.
6290
6291 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6292
6293 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6294 gdb before assuming everything worked. Send a ^C if a timeout
6295 occurs.
6296
6297 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6298 $gdb_spawn_id directly.
6299 (gdb_run_cmd): Try _start as well as start. Use the target feature
6300 gdb,start_symbol as the symbol to start from when jumping.
6301
6302Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6303
6304 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6305 redundant) test.
6306
6307 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6308 it doesn't lose for 16bit integer systems.
6309
6310Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6311
6312 * gdb.fortran/types.exp: If the target doesn't support "double"
6313 data types, then expect "real" types to only be 4 bytes.
6314
6315 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6316 call tests if the target doesn't support inferior function calls.
6317
6318 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6319 in printf tests.
6320
6321Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6322
6323 * gdb.base/help.exp: Disable "help set", "help show", and
6324 "help support". Simplify regexp for "help stack".
6325
6326 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6327 to 60 seconds. Temporarily set match_max to 15000 around the
6328 "info copying" test.
6329
6330 * gdb.base/nodebug.exp: Don't try to do an inferior function
6331 call if the target doesn't support them.
6332 * gdb.base/printcmds.exp: Likewise.
6333 * gdb.base/setvar.exp: Likewise.
6334 * gdb.base/structs.exp: Likewise.
6335 * gdb.c++/templates.exp: Likewise.
6336 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6337
6338 * gdb.base/recurse.exp: Enable for the mn10200.
6339
6340 * configure.in: Do configure gdb.stabs directory for *-*-elf
6341 targets.
6342 * configure: Rebuilt.
6343
6344 * gdb.base/break.exp: Check for gdb,noresults before testing
6345 exit status and/or results from the target.
6346 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6347 * lib/gdb.exp: Remove old (now bogus) initialization of
6348 noinferior, noargs, noresults and nosignals.
6349
6350Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6351
6352 * config/sh.exp: New file.
6353
6354 * config/slite.exp: Try to connect multiple times to the board
6355 before rebooting. Only send a "monitor run" if need_monitor_run
6356 is set.
6357
6358 * gdb.base/break.exp: Don't do the "stub continue" test if
6359 the target has gdb_stub set.
6360
6361 * gdb.base/callfuncs.exp: Increase the timeout.
6362
6363 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6364 if the target has gdb,noinferiorio set.
6365
6366 * gdb.base/list.exp: Increase match_max to 10000 characters.
6367
6368 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6369
6370 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6371 target.
6372
6373 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6374
6375Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6376
6377 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6378 trying to delete the copy of gdb. Catch the file delete so we
6379 don't die if the delete fails; also, the file should be copied to
6380 the host, not to the build.
6381
6382Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6383
6384 * lib/gdb.exp(gdb_test): Surround the result pattern with
6385 parenthesis in case it contains multiple regexps separated
6386 with |.
6387
6388 * gdb.base/watchpoint.exp: Use gdb_test.
6389 * gdb.base/default.exp: Ditto.
6390
6391Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6392
99707966 6393 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 6394
c906108c
SS
6395 * gdb.base/scope.exp: Use gdb_test.
6396 * gdb.c++/classes.exp: Ditto.
6397 * gdb.c++/inherit.exp: Ditto.
6398
6399Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6400
6401 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6402 remote_exec instead.
6403 * gdb.base/corefile.exp: Don't be ridiculous.
6404 * gdb.base/*.c: Add missing stub invocations.
6405
6406Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6407
6408 * config/slite.exp: Miscellaneous fixes.
6409
6410 * lib/gdb.exp: Fix runto.
6411
6412 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6413 the target.
6414
6415 * gdb.base/watchpoint.exp: Fix regexp.
6416
6417 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6418 close and wait commands, as the descriptor may now be
6419 invalid. Always call "remote_close host".
6420
6421Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6422
6423 Major rewrite for testsuite revision.
beb998c6 6424
c906108c
SS
6425 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6426 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6427 instead of relying on spawn_id to always contain a valid
6428 spawn id.
6429 (get_compiler_info): New procedure to build the ${binfile}.ci
6430 file, instead of replicating this in N different places.
6431 (gdb_compile): New procedure.
beb998c6 6432
c906108c
SS
6433 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6434 appropriate arguments) instead of compile. Use gdb_test in a lot
6435 more places. Use send_gdb instead of send. Always run gdb_start
6436 at the start of a testcase, as this is no longer done magically.
6437
6438 config/*-gdb.exp: Rename without the -gdb suffix.
6439
6440 config/mips.exp: Use remote_close instead of exit_remote_shell.
6441 config/monitor.exp: Use target_info instead of looking at
6442 baud, timeout, etc.
6443 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6444
6445Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6446
6447 * gdb.c++/templates.exp (test_ptype_of_templates),
6448 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6449 Update expect patterns for destructors and assignment operators
6450 to match corresponding c-typeprint.c changes.
6451 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6452 to destructor breakpoint test, GDB should be able to set the
6453 destructor breakpoint without specifying arguments.
6454
6455Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6456
6457 * gdb.threads/pthreads.exp: Change result for failure to compile due
6458 to lack of pthreads runtime support from an error to simply an
6459 unsupported test, per dejagnu standards.
6460
6461Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6462
6463 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6464 where GDB exits to reduce pattern match time.
6465 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6466
6467 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6468
dc96c6c7 6469Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6470
6471 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6472 * gdb.base/default.exp: ditto.
6473 * gdb.base/nodebug.exp: ditto.
6474 * gdb.base/printcmds.exp: ditto.
6475 * gdb.base/ptype.exp: ditto.
6476 * gdb.base/setvar.exp: ditto.
6477 * gdb.base/structs.exp: ditto.
6478 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6479
6480Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6481
6482 * configure, */configure: Rebuild with autoconf 2.12.
6483
6484Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6485
6486 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6487 use new i*86-pc-linux*-gnu quads.
6488 * gdb.base/corefile.exp: Ditto.
6489 * gdb.base/signals.exp: Ditto.
6490 * gdb.base/sigall.exp: Ditto.
6491 * gdb.base/interrupt.exp: Ditto.
6492
6493 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6494 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6495 RedHat 4.0.
beb998c6 6496
c906108c
SS
6497 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6498 linux. This allows the test case to at least compile on latest
6499 linux, but still not run due to missing the threads runtime library.
6500
6501Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6502
6503 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6504 directory to search gdb directory. Accept and step over conditional
6505 stack alignment code. Consume $prompt in failure cases.
6506 Reset timeout to $oldtimeout instead of some arbitrary value.
6507 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6508 timeout problems with infinite stack backtraces.
6509 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6510 Accept function parameters for linkfunc member.
6511
6512Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6513
6514 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6515 (CXXFLAGS): Remove, unreferenced.
6516 (B_OPTIONS): Add for -B options and add code to initialize with
6517 previous -B options and also add -B option to pick up cross compiled
6518 runtime.
6519 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6520 doing cross compiles.
6521 (target_alias): Declare global.
6522 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6523 to verify that gcc exists in build tree, and if so set CC to that
6524 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6525
c906108c
SS
6526Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6527
6528 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6529 ptype test for anonymous union. Fixup testcase to match
6530 current gcc debug output.
6531
6532Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6533
6534 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6535 force argument to an unsigned long type.
6536
6537Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6538
6539 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6540 tests and anonymous union print/ptype tests.
6541 * gdb.base/list.exp (test_forward-search): Increase timeout by
6542 5 minutes for the "search extremely long line" case.
6543 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6544 completely optional and that the pass/fail messages use the command as
6545 the message if that third arg is a null string.
6546 (gdb_test_exact): Arrange that a null string pattern means match a
6547 null string output rather than any output, which might include random
6548 errors.
6549 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6550 backtrace test.
6551 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6552 always failing and failure is now exposed by gdb.exp changes.
6553
6554Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6555
6556 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6557 weren't being noted.
6558
6559Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6560
6561 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6562 * gdb.stabs/weird.exp: Remove v_comb xfails.
6563
dc96c6c7 6564Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6565
6566 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6567 list.exp scope.exp watchpoint.exp]
6568 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6569
dc96c6c7 6570Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6571
6572 * config/monitor.exp: Increase download timeout to 1000 seconds.
6573
dc96c6c7 6574Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6575
6576 * config/m32r.exp: Increase timeout to 120 seconds.
6577
6578Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6579
6580 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6581 and accept older ordering as obsolescent gcc or gdb.
6582 * gdb.c++/templates.exp: Ditto.
6583 * gdb.c++/virtfunc.exp: Ditto.
6584
6585Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6586
6587 * gdb.base/coremaker.c: Add code to mmap some data so we
6588 can check that it ends up in the core file.
6589 * gdb.base/corefile.exp: Add test to read mmapped data
6590 from core file.
6591
dc96c6c7 6592Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6593
6594 * config/m32r.exp: New file.
6595
6596Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6597
6598 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6599 that cflags can contains -gstabs, and work correctly for other tests.
6600
dc96c6c7 6601Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6602
6603 * gdb.base/setshow.exp: New file, tests show and set.
6604 * gdb.base/setshow.c: New file, tests show and set.
6605 * gdb.base/help.exp: Add test for help set|show annotate.
6606 * gdb.base/default.exp: Add test for set|show annotate.
6607
6608Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6609
6610 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6611 errors unique.
6612 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6613 explicitly.
6614
6615Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6616
6617 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6618 and width commands. This is done elsewhere.
6619 * (gdb_start): Don't call gdb_start_sim here. That's already
6620 done in gdb_load. This fixes lots of failures in default.exp.
6621
6622Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6623
6624 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6625 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6626 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6627 in the same we we treat other failures (since it may be an expected
6628 condition), rather than as an error.
6629 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6630 old test format.
6631
6632Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6633
6634 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6635 (distclean maintainer-clean realclean): No need to remove files
6636 twice. Nuke the duplicates.
6637 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6638 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6639 Remove config.h along with other config files.
6640
6641Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6642
6643 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6644 "p func1 ()" and note that rests of tests are skipped.
6645 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6646 setup_xfails for "print func2::coremaker_local".
6647 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6648 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6649 affected by the previous run test.
6650 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6651 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6652 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6653 "pass int powerset tuple" and "pass modeless int powerset tuple".
6654 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6655 "real write 4" and "real write 8".
6656 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6657 setup_xfails for "print vs1 after tuple assign 2",
6658 "print \$i after tuple assign 2", and
6659 "print vs2 after tuple assign 2".
6660 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6661 meaningful error message and return -1 so the caller can
6662 suppress further tests and avoid a cascade of errors.
beb998c6 6663
c906108c
SS
6664Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6665
6666 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6667 format for printing version.
6668 * gdb.base/default.exp: Ditto.
6669 * gdb.base/interrupt.exp: Fix problem with cascade of
6670 errors if child process dies while calling a function.
beb998c6 6671
c906108c
SS
6672Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6673
6674 * Makefile.in (VPATH): Add
6675 * Makefile.in (Makefile, config.status): Fix rules so things get
6676 remade when necessary.
6677
6678Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6679
6680 * Makefile.in (just-check): Add path to sibling expect dir
6681 to environment variable specified by RPATH_ENVVAR.
6682
6683Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6684
6685 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6686 (just-check): Add shared library paths for libstdc++, tk,
6687 tcl, bfd, and opcodes to the environment variable specified
6688 in RPATH_ENVVAR.
6689 * configure.in: Add support to recognize --enable-shared flag
6690 and generate correct value for RPATH_ENVVAR.
6691 * configure: Regenerated with autoconf.
6692
6693Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6694
6695 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6696 include all osf versions.
6697 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6698 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6699 when target is linux. When failing to build pthreads test
6700 executable, give more meaningful message.
6701 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6702 arg for pthread_create.
beb998c6 6703
c906108c
SS
6704Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6705
6706 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6707 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6708 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6709 and -lpthreads (everybody else).
6710 (test_startup): Fail gracefully if threads are not supported.
6711 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6712 "p/c array_index("abcdef",2)" when not gcc compiled.
6713 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6714 "print func2::coremaker_local" when not gcc compiled.
6715 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6716 "ptype on opaque struct tagname (statically)",
6717 "ptype on opaque struct tagname (dynamically) 1", and
6718 "ptype on opaque struct tagname (dynamically) 2"
6719 for not compiled with gcc.
6720 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6721 backtrace when compiled with gcc.
beb998c6 6722 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6723 than always return success.
6724
6725Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6726
6727 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6728
6729Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6730
6731 * gdb.base/structs.exp: Undo last change.
6732
6733Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6734
6735 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6736 encapsulate all the steps/nexts done during self test, starting
6737 at main, and makes them less sensitive to optimization issues.
6738 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6739 signal handler" test.
6740 * gdb.threads/pthreads.exp: Only run this for native configs.
6741 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6742 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6743 tests.
6744 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6745 for "runto test_calls(void)" test.
beb998c6 6746
c906108c
SS
6747Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6748
6749 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6750 and don't expect address info in breakpoint confirmations.
6751
6752Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6753
6754 * gdb.base/list.exp (test_forward_search): Increase timeout
6755 temporarily by 60 seconds for searching extremely long line,
6756 and then reset to old value when done. Increase expect input
6757 buffer to 10000.
6758
6759Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6760
6761 * gdb.base/list.exp (test_forward_search): Fix to handle very
6762 long source line without overflowing expect's input buffer.
6763
6764Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6765
6766 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6767 "buffer_full".
6768
6769 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6770 "buffer_full".
6771
6772 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6773 "buffer_full".
6774
6775 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6776 "buffer_full".
6777
6778Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6779
6780 * configure.in (configdirs): Add gdb.threads.
6781 * configure: Regenerated with autoconf.
6782 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6783 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6784 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6785
c906108c
SS
6786Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6787
6788 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6789
6790Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6791
6792 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6793 each signal's status in the output of "handle all print".
6794 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6795 the \r\n sequence that immediately precedes the gdb prompt.
6796 * gdb.base/a1-selftest.exp: Save original timeout and restore
6797 after test.
6798
6799Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6800
6801 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6802 symbol.
6803
6804Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6805
6806 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6807
6808Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6809
6810 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6811 timeout by 60 seconds.
6812
6813Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6814
6815 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6816 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6817 error return.
6818
6819Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6820
6821 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6822 gdb initialization, also report how long dejagnu waited. Restore
6823 old timeout before doing error return. Temporarily increase timeout
6824 by 3 minutes to allow for slow startups over heavy NFS use.
6825
6826Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6827
6828 * lib/gdb.exp: Report timeout value for verbosity level 2.
6829 * config/gdbserver.exp: Ditto.
6830 * config/hppro.exp: Ditto.
6831 * config/mips-gdb.exp: Ditto.
6832 * config/monitor.exp: Ditto.
6833 * config/netware.exp: Ditto.
6834 * config/sim-gdb.exp: Ditto.
6835 * config/slite-gdb.exp: Ditto.
6836 * config/udi-gdb.exp: Ditto.
6837 * config/unix-gdb.exp: Ditto.
6838 * config/vx-gdb.exp: Ditto.
6839 * gdb.base/a1-selftest.exp: Ditto.
6840 * gdb.base/a2-run.exp: Ditto.
6841 * gdb.base/break.exp: Ditto.
6842 * gdb.base/corefile.exp: Ditto.
6843 * gdb.base/list.exp: Ditto.
6844 * gdb.base/recurse.exp: Ditto.
6845 * gdb.base/scope.exp: Ditto.
6846 * gdb.base/signals.exp: Ditto.
6847
6848Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6849
6850 * gdb.threads/Makefile.in (docdir): Removed.
6851
6852Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6853
6854 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6855 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6856 @srcdir@.
beb998c6 6857 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6858 autoconf 2.5 or higher.
6859 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6860
6861Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6862
6863 * configure: Regenerated.
6864 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6865 avoid name clashes with SunOS headers.
6866
6867Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6868
6869 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6870
6871Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6872
6873 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6874 prototype information ends up in the compiler info file.
6875
6876Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6877
6878 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6879 attempting to regenerate it. Eliminate use of a temporary file
6880 and just generate the info file directly. Source it immediately,
6881 for consistency of use.
6882 * gdb.base/corefile.exp: Ditto
6883 * gdb.base/exprs.exp: Ditto.
6884 * gdb.base/funcargs.exp: Ditto.
6885 * gdb.base/langs.exp: Ditto.
6886 * gdb.base/list.exp: Ditto.
6887 * gdb.base/mips_pro.exp: Ditto.
6888 * gdb.base/nodebug.exp: Ditto.
6889 * gdb.base/opaque.exp: Ditto.
6890 * gdb.base/ptype.exp: Ditto.
6891 * gdb.base/scope.exp: Ditto.
6892 * gdb.base/setvar.exp: Ditto.
6893 * gdb.base/signals.exp: Ditto.
6894 * gdb.base/whatis.exp: Ditto.
6895 * gdb.c++/templates.exp: Ditto.
6896 * gdb.c++/virtfunc.exp: Ditto.
6897 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6898 whether or not to add -lstdc++ to the compile command line args.
6899
6900Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6901
6902 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6903 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6904 Increase timeout, a lot of single stepping might be needed if the
6905 target has no hardware watchpoints.
6906
6907Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6908
6909 * gdb.base/break.exp: Ignore compiler warnings when compiling
6910 break.c.
6911 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6912 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6913 from remote-sim.
6914 * gdb.base/exprs.exp: Add h8300 xfails.
6915 * gdb.base/funcargs.exp: Likewise.
6916 * gdb.base/nodebug.exp: Likewise.
6917 * gdb.base/printcmds.exp: Likewise.
6918 * gdb.base/ptype.exp: Likewise.
6919 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6920 h8300 xfails.
beb998c6 6921 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6922 on the h8300.
6923 * gdb.base/funcargs.c: Explicitly make last constant argument to
6924 call_after_alloca_subr an unsigned long type.
6925 * gdb.base/return.c: Include stdio.h.
6926
6927Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6928
6929 * config/abug.exp: New file for the older Motorola Bug monitor
6930 that runs on the mvme13x series VME boards.
6931 * config/monitor.exp: Use the new config array for target settings
6932 if they exist.
6933
6934Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6935
6936 * sim-gdb.exp: Make the SH simulator allocate less space when
6937 it is targeted.
6938
6939Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6940
6941 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6942 test.
6943
6944Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6945
6946 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6947 "rs6000-*-*" for "list function in include file" when gcc compiled.
6948 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6949 for "p ctable1[120]".
6950 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6951 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6952 Remove setup_xfail for "rs6000-*-*" for
6953 "print 'scope0.c'::filelocal before run".
6954 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6955 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6956 since some compilers don't allow both options to be given
6957 on the same command line. Create object file and move it.
beb998c6 6958
c906108c
SS
6959Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6960
6961 * gdb.base/corefile.exp: Always regenerate the core file, since
6962 we always regenerate the coremaker program. Detect special case
6963 where registers cannot be read from core file.
beb998c6 6964
c906108c
SS
6965Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6966
6967 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6968 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6969 * gdb.c++/templates.exp: Only match on basename of file since
6970 some formats like xcoff don't encode directory information.
6971 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6972 and rs6000 AIX xcoff targets.
6973 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6974 * configure: Regenerate.
6975 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6976 here, rather than in distclean.
beb998c6 6977
c906108c
SS
6978Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6979
6980 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6981 defined, and use it to compile the test case with -O2. The
6982 native compilation still uses no optimization.
6983 * gdb.base/mips_pro.c: Remove inline assembly code since
6984 it is compiled PIC by default, which results in assembler
6985 warnings that make the testsuite think the compilation
6986 was unsuccessful.
6987
6988Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6989
6990 * gdb.c++/misc.exp: Add note to message for
6991 "print s.a for foo struct" that this is a known gcc 2.7.2
6992 and earlier bug.
6993
6994Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6995
6996 * gdb.base/break.exp: Fix pattern for matching "Delete all
6997 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6998 setup_xfail for deleting all breakpoints test. Fix various
6999 timeout messages to include "(timeout)".
7000 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7001 for "p t_float_values2(3.14159,float_val2)".
7002 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7003 for "continue to call2g" when gcc compiled.
7004 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7005 "up to foo in langs.exp", "show language at foo in langs.exp",
7006 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7007 and "show language at fsub in langs.exp".
7008 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7009 "list line 1 in include file", "list message for lines past EOF",
7010 "list function in include file", "list list0.h:foo", and
7011 "list filename:function; nonexistant function".
7012 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7013 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7014 and "ptype t_char_array" to be for native cc only.
beb998c6 7015
c906108c
SS
7016Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7017
beb998c6 7018 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7019 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7020 "print func2::coremaker_local", and "backtrace in corefile.exp".
7021
7022Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7023
7024 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7025 "bt in signals.exp". This problem only appears when running
7026 the testsuite, and then only intermittently.
7027
7028Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7029
7030 * gdb.base/return.exp (return_tests): Differentiate between
7031 two tests of continuing.
7032
7033Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7034
7035 * */Makefile.in (maintainer-clean): Remove config.log.
7036 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7037 * gdb.c++/Makefile.in (PROGS): Add inherit.
7038 (clean): Remove *.ci.
7039
7040Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7041
7042 * gdb.c++/misc.cc: Add test code from Mike Stump.
7043 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7044
7045Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7046
7047 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7048 to "alpha-*-osf2*" and add comment.
7049 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7050 setup_xfail for "step over execarg initialization" and
7051 "step over corearg initialization".
7052 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7053 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7054 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7055 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7056 "print func2::coremaker_local", and "backtrace in corefile.exp".
7057 * gdb.base/signals.exp: Build and source signals.ci.
7058 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7059 to be for gcc only.
7060 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7061
c906108c
SS
7062Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7063
7064 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7065 Feb 3 procfs.c change.
7066
7067Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7068
7069 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7070
7071Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7072
7073 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7074 from dejagnu's apparent default of 10 seconds, which gives random
7075 results when running the tests over NFS on moderately loaded systems.
7076 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7077
7078Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7079
7080 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7081 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7082 result reports.
7083
7084Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7085
7086 * configure.in (CY_AC_PATH_TCLH): Remove.
7087 * configure: Regenerate.
7088
7089Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7090
7091 * gdb.c++/Makefile.in (clean): Add missing '{'.
7092
7093Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7094
7095 * lib/gdb.exp: Provide a default value for noinferior.
7096
7097 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7098 Load libgloss.exp.
7099
7100Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7101
7102 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7103 the executable, not the .o to run the tests from.
7104
7105Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7106
7107 * gdb.base/break.exp: Don't test for program exit or exit status
7108 if $noresults if nonzero.
7109 * gdb.base/langs.exp: Likewise.
7110 * gdb.base/watchpoint.exp: Likewise.
7111
7112 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7113 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7114 trying to compile the testcase.
7115
7116Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7117
7118 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7119 * gdb.base/signals.exp (continue to handler): Likewise.
7120
7121Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7122
7123 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7124
7125 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7126
7127Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7128
7129 * gdb.base/corefile.exp: Recognize "not found" as failure
7130 when trying to determine if a core file was generated.
7131 If no core file was generate the first time, try again without
7132 the ulimit -c to work around braindamaged shells.
7133
7134Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7135
7136 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7137 [] tests with "test" and enclose string in quotes.
7138 * gdb.stabs/configure: Rebuild
beb998c6 7139
c906108c
SS
7140Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7141
7142 Changes in sync with expect:
7143 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7144 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7145 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7146 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7147 argument to AC_REQUIRE.
7148 * configure: Regenerated.
7149
7150Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7151
7152 * gdb.base/corefile.exp: When generating a core, discard any
7153 error messages about ulimit not found and the "core dumped"
7154 message from the shell that runs the coredumper.
7155
7156Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7157
7158 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7159
7160 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7161 which sed script to run. Expect failure for v_comb test
7162 on PA targets too.
beb998c6 7163
c906108c
SS
7164Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7165
7166 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7167 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7168
7169Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7170
7171 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7172 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7173 "sparc-sun-solaris*" xfails for "p v_comb".
7174 * lib/gdb.exp (default_gdb_start): Fix typo.
7175 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7176 messages to not include the full program name that caused
7177 the core dump since some systems (such as solaris) apparently
7178 truncate this path to about 80 characters.
7179 When generating a core file first try increasing the core file
7180 size limit to unlimited since some systems may default it to
7181 zero, and it is harmless to try it. Move the test for failing
7182 to generate a core file to where it will actually get executed.
7183 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7184 new gdb result from g++ debug info improvements and make old
7185 pattern obsolescent. Also account for size_t differences
7186 (may be int or long).
7187 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7188 initialization before function call is placed in the delay slot
7189 and thus appears to be skipped over by commands such as "next".
7190
7191Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7192
7193 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7194
7195Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7196
7197 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7198 input source file; fix code to compile test to deal with this
7199 convention.
7200 * gdb.c++/*.exp: Likewise.
7201
7202Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7203
7204 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7205 "bt in signals.exp".
7206
7207Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7208
7209 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7210 "step over execarg initialization" and
7211 "step over corearg initialization".
7212
7213Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7214
7215 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7216 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7217
7218Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7219
7220 From Rob Savoye (rob@poseidon.cygnus.com)
7221 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7222 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7223 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7224 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7225 configure.in}: Major reworking for autoconfig.
7226 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7227 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7228 New files.
7229 * config/unix-gdb.exp: Make GDB global.
7230 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7231 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7232 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7233 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7234 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7235 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7236 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7237 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7238 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7239 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7240 pr-8136.exp, result.exp, string.exp, tuples.exp},
7241 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7242 to returns as necessary, arrange for test to compile own testcase
7243 executable.
7244 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7245
c906108c
SS
7246Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7247
7248 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7249 clear_xfail at end of test which might not call either pass or fail.
7250 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7251 "backtrace through signal handler".
7252
7253Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7254
7255 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7256 continuing from a job control stop signal.
7257 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7258
7259Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7260
7261 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7262 * gdb.base/corefile.exp: Likewise.
7263 * gdb.base/funcargs.exp: Likewise.
7264
7265Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7266
7267 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7268 * config/monitor.exp: Add support for setting baud rate.
7269
7270Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7271
7272 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7273 i*86-*-linux* xfails for "backtrace through signal handler".
7274 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7275 "print func2::coremaker_local".
7276 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7277 alpha-dec-osf2* xfail for
7278 "delete all breakpoints when none".
7279
7280Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7281
7282 * gdb.base/break.exp: Change test that deletes all breakpoints
7283 when no user breakpoints are installed. A post 4.15 change
7284 causes gdb to no longer prompt in this case.
7285
7286Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7287
7288 * gdb.base/return.exp (return_tests): Change xfail for test
7289 "correct value returned double test" to stop xfailing at
7290 Solaris 2.5. Apparently the bug has been fixed.
7291
7292Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7293
7294 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7295 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7296
7297Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7298
7299 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7300 * gdb.disasm/hppa.s: Corresponding changes.
7301
7302Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7303
7304 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7305 makefile fragment.
7306 * config/mt-hpux: Deleted.
7307
7308Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7309
beb998c6 7310 * Many files: When warning about suppressed tests due to a
c906108c
SS
7311 nonexistant test binary, avoid incrementing the warning count.
7312
7313Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7314
7315 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7316
c906108c
SS
7317Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7318
7319 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7320 "sparc-*-solaris2*".
7321
7322Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7323
7324 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7325 Add global and local variables and initialize them.
7326 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7327 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7328 extracts the file name and terminating signal from the core file.
7329 * TODO: Remove note about tests for correct mapping of corefile.
7330 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7331 from optimizing it away.
7332 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7333 handles common blocks.
7334
7335Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7336
7337 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7338 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7339
7340Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7341
7342 * Makefile.in (maintainer-clean): New target, synonym for
7343 realclean.
7344 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7345 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7346 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7347 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7348 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7349 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7350
7351Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7352
7353 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7354 xfails when not gcc compiled for "print foo::funclocal".
7355 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7356 "print foo::funclocal at foo",
7357 "print 'scope1.c'::foo::funclocal at foo",
7358 "print foo::funclocal_bss at foo",
7359 "print 'scope1.c'::foo::funclocal_bss at foo",
7360 "print foo::funclocal_ro at foo",
7361 "print 'scope1.c'::foo::funclocal_ro at foo",
7362 "print bar::funclocal at foo" and
7363 "print 'scope1.c'::bar::funclocal at foo".
7364 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7365 gcc compiled for "print foo::funclocal at bar".
7366 Expand all messages to ensure that they identify that
7367 the test is at bar().
7368 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7369 gcc compiled for:
7370 "ptype on opaque struct pointer (statically)",
7371 "ptype on opaque struct tagname (statically)",
7372 "ptype on opaque struct pointer (dynamically) 1",
7373 "ptype on opaque struct tagname (dynamically) 1",
7374 "ptype on opaque struct pointer (dynamically) 2" and
7375 "ptype on opaque struct tagname (dynamically) 2
7376 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7377 gcc compiled for:
7378 "p datalocal"
7379 "whatis datalocal",
7380 "ptype datalocal",
7381 "p bsslocal",
7382 "whatis bsslocal", and
7383 "ptype bsslocal".
7384 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7385 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7386 when not gcc compiled.
7387 * gdb.base/funcargs.exp (float_and_integral_args): Add
7388 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7389 compiled.
7390 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7391 "backtrace from call6a" when not gcc compiled.
7392 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7393 "backtrace from call7a" when not gcc compiled.
7394 * gdb.base/callfuncs.exp (do_function_calls):
7395 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7396 "p t_char_array_values(char_array_val2,char_array_val1)",
7397 "p t_char_array_values(char_array_val1,char_array_val2)",
7398 "p t_char_array_values("carray 1","carray 2")",
7399 "p t_char_array_values("carray 1",char_array_val2)",
7400 "p t_char_array_values(char_array_val1,"carray 2")",
7401 "p sum_args(1,{2})",
7402 "p sum_args(2,{2,3})",
7403 "p sum_args(3,{2,3,4})",
7404 "p sum_args(4,{2,3,4,5})"
7405 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7406 "backtrace in corefile.exp" when not gcc compiled.
7407
7408Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7409
7410 * gdb.base/signals.exp: Rewrite `handle all print' test as
7411 a procedure. Accept blanks or TABs as whitespace, increase
7412 timeout and expect input buffer size for the large output
7413 from the command. Remove "i*86-*-bsdi2.0" xfail.
7414
7415Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7416
7417 * gdb.base/setvar.exp: Add new testcases for truncation when
7418 assigning invalid values to bitfields.
7419
7420Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7421
beb998c6 7422 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
7423 mips-sgi-irix* xfail for
7424 "call inferior func with struct - returns char *"
7425 and fix test so that an optional (unsigned char *) cast is
7426 accepted in the result.
7427
7428Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7429
7430 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7431 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7432 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7433 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7434 that accidentally got checked in.
7435
7436Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7437
beb998c6 7438 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
7439 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7440 compiled test.
7441 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7442 Add mips-sgi-irix5* xfail for not gcc compiled.
7443 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7444 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7445 "p top", "whatis top", "p middle", and "whatis middle".
7446 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7447 "whatis signed char" for not gcc compiled.
7448 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7449 "set variable signed char=-1 (-1)" and
7450 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7451 * gdb.base/funcargs.exp (float_and_integral_args):
7452 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7453 Add mips-sgi-irix* xfail when not gcc compiled for
7454 "continue to call2b".
7455 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7456 "continue to call2g".
7457 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7458 "backtrace from call6a"
7459 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7460 "backtrace from call7k".
7461 Add mips-sgi-irix5* xfail when not gcc compiled for
7462 "backtrace from call7a".
7463 (localvars_after_alloca): Fix gdb_test cmds for
7464 "print * after runto ...".
7465 Remove rs6000-*-* xfails for
7466 "print i after runto localvars_after_alloca" and
7467 "print l after runto localvars_after_alloca"
7468 for all compilers.
7469 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7470 when not compiled with gcc, for:
7471 "print signed char == (minus)",
7472 "print signed char != (minus)",
7473 "print signed char < (minus)",
7474 "print signed char > (minus)".
7475 * gdb.base/callfuncs.exp (do_function_calls):
7476 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7477 "call inferior func with struct - returns char *".
beb998c6 7478 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7479 "correct value returned double test" to include Solaris 2.4.
7480 * gdb.base/funcargs.exp (float_and_integral_args):
7481 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7482
c906108c
SS
7483Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7484
7485 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7486 enumeration bitfields if compiling with GNU C.
7487 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7488 to empty' prompt.
7489
7490Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7491
7492 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7493 test for PRO targets.
7494
7495 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7496 breakpoints in the inferior at any given time by making
7497 two groups of breakpoints for call2*, call6* and call7*
7498 tests.
7499
7500Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7501
7502 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7503 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7504 from optimizing it away.
7505 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7506 "call inferior func with struct".
7507
7508Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7509
7510 * configure.in: Only configure gdb.chill for particular targets.
7511
7512Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7513
7514 * gdb.base/Makefile.in: Add action to .c.o transformation
7515 rule that generates a .ci file for each .o file and remove
7516 explicit .c.o rules except for callfuncs.o.
7517 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7518 generates a .ci file for each .o file and remove explicit
7519 .cc.o rules.
7520 (clean): Remove *.tmp *.ci files.
7521 (EXECUTABLES): Remove templ-info.exp.
7522 * gdb.base/compiler.c: New file.
7523 * gdb.c++/compiler.cc: New file
7524 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7525 Change rs6000-*-* xfail for
7526 "print 'scope0.c'::filelocal_ro" and
7527 "print 'scope1.c'::filelocal" and
7528 "print 'scope1.c'::filelocal_bss" and
7529 "print 'scope1.c'::filelocal_ro" and
7530 "print 'scope1.c'::foo::funclocal" and
7531 "print 'scope1.c'::foo::funclocal_ro" and
7532 "print 'scope1.c'::bar::funclocal" and
7533 "print 'scope0.c'::filelocal_ro" and
7534 "print 'scope1.c'::filelocal at foo" and
7535 "print 'scope1.c'::filelocal_bss at foo" and
7536 "print 'scope1.c'::filelocal_ro at foo" and
7537 "print 'scope1.c'::foo::funclocal at foo" and
7538 "print 'scope1.c'::foo::funclocal_bss at foo" and
7539 "print 'scope1.c'::foo::funclocal_ro at foo" and
7540 "print 'scope1.c'::bar::funclocal at foo" and
7541 "print 'scope0.c'::filelocal_ro" and
7542 "print 'scope1.c'::filelocal" and
7543 "print 'scope1.c'::filelocal_bss" and
7544 "print 'scope1.c'::filelocal_ro" and
7545 "print 'scope1.c'::foo::funclocal" and
7546 "print 'scope1.c'::foo::funclocal_bss" and
7547 "print 'scope1.c'::foo::funclocal_ro" and
7548 "print 'scope1.c'::bar::funclocal" and
7549 "print 'scope1.c'::bar::funclocal_bss"
7550 to only be xfail'd when not compiled with gcc.
beb998c6 7551 Add rs6000-*-* xfail for
c906108c
SS
7552 "print 'scope0.c'::filelocal_bss before run"
7553 when compiled with gcc.
7554 (test_at_main): Add rs6000-*-* xfail for
7555 "print filelocal_ro in test_at_main"
7556 when compiled with gcc.
7557 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7558 Add rs6000-*-aix* xfail for
c906108c
SS
7559 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7560 "ptype t_char_array", not compiled with gcc.
7561 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7562 xfail for "list foo (in include file)" when gcc compiled.
7563 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7564 (integral_args): Add rs6000-*-* xfail for
7565 "run to call0a" if not compiled with gcc.
7566 (unsigned_integral_args): Add rs6000-*-* xfail for
7567 "run to call1a" if not compiled with gcc.
7568 (float_and_integral_args): Add rs6000-*-* xfail for
7569 "run to call2a" if not compiled with gcc and for
7570 "continue to call2b" for any compiler.
7571 Add rs6000-*-* xfail to
7572 "print f1 after run to call2a" for gcc compiled.
7573 (discard_and_shuffle): Add rs6000-*-* xfail for
7574 "run to call6a".
7575 (shuffle_round_robin): Add rs6000-*-* xfail for
7576 "backtrace from call7a" if not compiled with gcc.
7577 Add rs6000-*-* xfail for
7578 "backtrace from call7b" if compiled with gcc.
7579 (call_after_alloca): Add rs6000-*-* xfail for
7580 "print c in call_after_alloca" and
7581 "print s in call_after_alloca" and
7582 "backtrace from call_after_alloca_subr"
7583 if not compiled with gcc.
7584 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7585 "print c in localvars_in_indirect_call" and
7586 "print c in localvars_in_indirect_call" and
7587 "backtrace in indirectly called function" and
7588 "stepping into indirectly called function"
7589 if not compiled with gcc.
7590 (localvars_after_alloca): Add rs6000-*-* xfail for
7591 "print c after runto localvars_after_alloca" and
7592 "print s after runto localvars_after_alloca" and
7593 "print i after runto localvars_after_alloca" and
7594 "print l after runto localvars_after_alloca"
7595 for all compilers.
7596 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7597 than whatis-info.exp.
7598 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7599 than opaque-info.exp.
7600 Setup rs6000-*-* xfail for
beb998c6 7601 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7602 "ptype on opaque struct pointer (dynamically)" when
7603 not compiled with gcc.
7604 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7605 rather than callf-info.exp.
7606 (do_function_calls): Add clear_xfail for rs6000-*-* for
7607 "p t_float_values2(3.14159,float_val2)". Seems to work
7608 fine there, both with xlc and gcc. Need to find out what
7609 it is doing right and fix other platforms.
7610 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7611 "call inferior func with struct - returns int",
7612 "call inferior func with struct - returns long",
7613 "call inferior func with struct - returns float",
7614 "call inferior func with struct - returns double",
7615 "call inferior func with struct - returns char *",
7616 but only if not gcc compiled (presumes xlc compiled).
7617 Change rs6000-*-* xfails for
7618 "call inferior func with struct - returns char" and
7619 " call inferior func with struct - returns short" to only
7620 xfail if not using gcc.
7621 (clean mostlyclean): Remove *.ci and *.tmp files.
7622 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7623 than templ-info.exp.
7624 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7625 Add rs6000-*-* xfail for "up to foo in langs.exp"
7626 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7627 when not gcc compiled.
beb998c6 7628
c906108c
SS
7629Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7630
7631 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7632 * gdb.base/corefile.exp: Likewise.
7633 * gdb.base/list.exp: Likewise.
7634 * gdb.base/scope.exp: Likewise.
7635 * gdb.base/siganls.exp: Likewise.
7636
7637 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7638 compiler output.
7639 * gdb.base/whatis.exp: Likewise.
7640
7641Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7642
7643 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7644 failure (opcode table has been fixed to match reality).
7645
7646Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7647
7648 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7649 "call inferior func with struct - returns char",
7650 "call inferior func with struct - returns short"
7651
7652 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7653 "print 'scope0.c'::filelocal at main",
7654 "print 'scope0.c'::filelocal_bss in test_at_main",
7655 "print 'scope0.c'::filelocal at foo",
7656 "print 'scope0.c'::filelocal_bss in test_at_foo",
7657 "print 'scope0.c'::filelocal at bar",
7658 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7659
c906108c
SS
7660 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7661 in source file 1". This bug seems to have been fixed with both
7662 gcc and native cc (was native assembler bug?).
7663
7664Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7665
7666 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7667 "backtrace through signal handler" to "i*86-*-sysv4*".
7668 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7669 continue" case. Add "known SVR4 bug" to fail message.
7670 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7671 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7672 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7673 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7674 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7675 "up to foo in langs.exp", "show language at foo in
7676 langs.exp", "up to cppsub_ in langs.exp", "show
7677 language at cppsub_ in langs.exp", "up to fsub in
7678 langs.exp", and "show language at fsub in langs.exp".
7679 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7680 "bactrace in corefile.exp".
7681 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7682 "call inferior function with struct - returns float" and
7683 "call inferior function with struct - returns double".
beb998c6 7684
c906108c
SS
7685Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7686
7687 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7688 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7689 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7690 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7691
7692Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7693
7694 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7695 (or overriden) "CHILL" macro rather then bare "gcc".
7696 Also look for ../../gcc/xgcc since that is what we will
7697 actually need, not "Makefile". Remove following assignment
7698 of CHILL to CHILL_FOR_TARGET because that results in
7699 recursive definition.
7700
7701Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7702
7703 * gdb.base/corefile.exp: Change xfail for backtrace in
7704 corefile.exp from linuxaout to all linux.
7705 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7706 cases where we miss the breakpoint at the signal handler
7707 for some reason. Setup xfail for linuxoldld/linuxaout and
7708 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7709 hitting SIGURG breakpoint.
7710 * gdb.base/signals.exp: Setup xfail for "next" acting like
7711 continue to add linuxoldld. Setup xfail for all linux for
7712 "next to handler in signals_tests_1", "backtrace in
7713 signals_tests_1", "continue to func1", "pass SIGUSR1",
7714 and continue to handler".
7715
7716Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7717
7718 * Update all FSF addresses except those in COPYING* files.
7719
7720Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7721
7722 * gdb.base/a2-run.exp: Change messages to be more explicit about
7723 the status of args, and quote binfile in results.
7724
7725Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7726
7727 * gdb.base/callfuncs.exp: Add tests for passing structs to
7728 inferior functions and return various types.
7729 * gdb.base/callfuncs.c: Add functions to receive a struct
7730 and return a member of the struct, in various types.
7731
7732Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7733
7734 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7735
7736Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7737
7738 * config/vxworks29k.exp: New file, sources vxworks.exp.
7739
7740Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7741
7742 * config/gdbremote.exp: New file. Testing framework using
7743 gdbserver.
7744
7745Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7746
7747 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7748 "call function when asleep" and "send end of file".
7749 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7750 for "backtrace in corefile.exp".
7751 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7752 for "backtrace through signal handler".
7753 * gdb.base/corefile.exp: Make sure we actually generate a core file
7754 before trying the core tests. Some systems allow the user to suppress
7755 generation of core files and default to that (linux for example).
7756 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7757 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7758
7759Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7760
7761 * gdb.threads: New directory with some crude multi-threaded
7762 gdb tests (step.exp and step2.exp).
7763 * config/mt-lynx (STEP_EXECUTABLE): Define.
7764 (THREADFLAGS): Define.
7765
7766Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7767
7768 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7769
7770 * gdb.base/signals.exp: Disable whole file for lynx until
7771 further notice.
7772
7773 * gdb.base/signals.exp: xfail test where "next" acts like
7774 "continue" for lynx.
7775
7776 * gdb.base/interrupt.exp: xfail test for calling function while
7777 inferior is asleep for lynx.
7778
7779 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7780 than one cr-lf after each command.
7781
7782Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7783
7784 * configure.in: Reinstate setting of stabsdirs variable, fix
7785 typo in setting up configdirs for native builds.
7786
7787 * gdb.base/return.exp: Fix typo in return double test.
7788 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7789 compiler from optimizing them away.
7790
7791Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7792
7793 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7794 sequences to be echo'd by gdb when using gdb_test.
7795 * gdb.chill/chexp.exp: Likewise.
7796 * gdb.fortran/exprs.exp: Likewise
7797
7798Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7799
7800 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7801 after the inferior gdb has started.
7802
7803 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7804 after each command.
7805 * gdb.base/funcargs.exp: Likewise.
7806 * gdb.base/gdbvars.exp: Likewise.
7807 * gdb.base/interrupt.exp: Likewise.
7808 * gdb.base/list.exp: Likewise.
7809 * gdb.base/watchpoint.exp: Likewise.
7810 * gdb.c++/demangle.exp: Likewise.
7811 * gdb.c++/inherit.exp: Likewise.
7812 * gdb.chill/chexp.exp: Likewise.
7813 * gdb.fortran/exprs.exp: Likewise.
7814
7815 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7816 test if we can't handle IO to/from the inferior.
7817
7818 * gdb.c++/misc.exp: Always check for a program already being
7819 started after sending a "run" command to gdb.
7820
7821 * gdb.base/twice.exp: Start with a fresh gdb.
7822
7823 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7824 only depend on gdb's expression code, not the chill runtime.
7825
7826 * gdb.base/return.c: Put return values into variables so we
7827 can have gdb print them rather than depending on the program
7828 to print them.
7829 * gdb.base/return.exp: Corresponding changes.
7830
7831 * lib/gdb.exp: Provide default value for noinferiorio.
7832 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7833 the inferior.
7834
7835 * gdb.base/break.exp: Always check for a program already being
7836 started after sending a "run" command to gdb.
7837 (text_next_with_recursion): Don't check the output from the
7838 program's printf statement. Instead just make sure the program
7839 exited.
7840
7841 * gdb.base/commands.exp: Protect tests which need arguments with
7842 $noargs conditionals.
7843
7844Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7845
7846 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7847 of structure member arrays to match gdb/valops.c:value_addr change.
7848
7849Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7850
7851 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7852 cases.
7853
7854Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7855
7856 * configure.in (configdirs): Remove gdb.chill from default list
7857 of subdirs and then add it back in only if doing a native build.
7858 The current chill compiler does not yet work in any cross build.
7859 * Revert all signal changes from Jul 6.
7860 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7861 for sh-hms targets, allowing these tests to link, with no other
7862 changes. Testing is suppressed by setting "nosignals" in site.exp.
7863
7864Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7865
7866 * configure.in (signaldirs): Define and add to configdirs for all
7867 targets except some specific ones that are known to not support signals.
7868 Also clean up formatting.
7869 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7870 (signals, sigall): Remove rules to build.
7871 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7872 Moved to new gdb.signals directory.
7873 * gdb.signals: New test directory.
7874 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7875 signals.c signals.exp}: New or moved files.
7876
7877Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7878
7879 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7880
7881Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7882
7883 * gdb.base/return.exp: Xfail `return double' test failure
7884 on at least Solaris 2.3 and handle future/past versions on
7885 a case by case basis as appropriate. Also update message
7886 to include i*86 failures.
7887
7888Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7889
7890 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7891
7892 * lib/gdb.exp: Fix comment which erroneously identified
7893 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7894 gdb_file_cmd not gdb_load).
7895 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7896
7897 * gdb.base/setvar.exp: Make test names consistent between pass and
7898 fail cases. Use gdb_test more.
7899
7900Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7901
7902 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7903
7904Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7905
7906 * gdb.base/help.exp: Fix expected help string for `show commands'.
7907
7908Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7909
7910 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7911
7912 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7913 of a text section.
7914
7915Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7916
7917 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7918 that loop eventually terminates. Fix Connection refused logic so
7919 that testsuite will expire nicely.
7920
7921Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7922
7923 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7924 config/rom68k.exp: New tcl glue for the appropriate monitors.
7925 These all just end up calling monitor.exp.
7926 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7927 refused' by retrying. Cleanup some timeout issues.
7928 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7929 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7930 callers don't have to set/restore global timeout variable.
7931
7932 * The following set of changes centralizes management of the global
7933 timeout variable. This way, it can be set in one target dependent
7934 place instead of dozens of places scattered throughout the test suite.
7935 If you need to lengthen a timeout, then you should either set timeout
7936 in one of the config/{target}.exp files, or multiply it by a factor.
7937 Setting it to an absolute value is always going to lose for some
7938 targets.
7939 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7940 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7941 * gdb.base/funcargs.exp: Don't set timeout.
7942 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7943 * gdb.base/printcmds.exp (test_print_string_constants
7944 test_print_array_constants): Don't set timeout.
7945 * gdb.base/ptype.exp: Don't set timeout.
7946 * gdb.base/recurse.exp: Don't set timeout.
7947 * gdb.base/return.exp: Don't set timeout.
7948 * gdb.base/watchpoint.exp: Don't set timeout.
7949 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7950 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7951
7952Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7953
7954 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7955
7956Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7957
7958 * lib/gdb.exp: Disable chill tests for irix5.
7959
7960Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7961
7962 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7963 each test pass or fail.
7964
7965Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7966
7967 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7968 xlc not gcc.
7969
7970Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7971
7972 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7973
7974Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7975
7976 * config/est.exp: Fix copyright and comments. Remove dead code.
7977 Use targetname, serialport and baud variables instead of fixed
7978 constants.
7979 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7980 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7981
7982Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7983
7984 * gdb.base/watchpoint.exp: Don't run
7985 test_watchpoint_triggered_in_syscall for sunos.
7986
7987Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7988
7989 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7990 they don't seem to exist. Do include stdio.h.
7991
7992Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7993
7994 * gdb.base/a1-selftest.exp: Add alpha xfail.
7995
7996Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7997
7998 * gdb.base/watchpoint.c (main): Prompt before calling read().
7999 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8000 Revise accordingly. Remove cruft about sending "123" several
8001 times, until it gets noticed. Clean up the "print buf[0]" stuff
8002 so that it passes or fails, and waits for prompts in the usual way.
8003
8004Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8005
8006 * gdb.base/recurse.exp: Fix comment.
8007
8008 * TODO: Remove item about printing variables in nodebug.exp. Add
8009 item about enabling tests which are only run on some targets.
8010
8011 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8012 fail, make test names unique, use new gdb_test convention
8013 regarding pattern, use gdb_test more, etc.).
8014
8015 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8016 fail, make test names unique, etc.).
8017
8018Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8019
8020 * gdb.base/nodebug.c: Change return type of top and middle to
8021 short.
8022 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8023 are fixed by the recent mdebugread.c changes. Allow `short ()'
8024 as type for top and middle.
8025
8026Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8027
8028 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8029 nearly as I can tell, the whole thing was an accident in Stu's
8030 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8031 to replace a send/expect pair with gdb_test, but ended up only
8032 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8033 of 30 Mar 1995 took care of it, but left this vestigial comment
8034 which I am now nuking.
8035
8036Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8037
8038 * gdb.base/break.exp: Look for different line number for
8039 breakpoint at main depending on usestubs.
8040
8041Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8042
8043 * gdb.base/list.exp: Adjust some alternate expect patterns to
8044 match recent list0.c change. Add alternate expect pattern for
8045 output from `list default lines around main' for optimizing
8046 compilers.
8047
8048Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8049
8050 * lib/gdb.exp: If nosignals is not set, set it to 0.
8051
8052Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8053
8054 * config/slite-gdb.exp: Responds to load symbol table prompt.
8055 * gdb.base/break.exp: Adjust line number, fix rerun.
8056 * gdb.base/langs0.c: Add #ifdef usestubs.
8057
8058Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8059
8060 * gdb.base/list.exp: Adjust line contents after adding new lines in
8061 list0.c. Also fix a syntax error.
8062
8063 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8064 * gdb.base/break.exp: ditto.
8065 * gdb.base/list.exp: ditto.
8066 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8067 * gdb.base/run.c: ditto.
8068 * gdb.base/list0.c: ditto.
8069 * gdb.base/funcargs.c: ditto.
8070
8071Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8072
8073 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8074 $targetname, $serialport and $baud instead of hardwired variables.
8075 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8076 target doesn't support signals.
8077
8078Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8079
8080 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8081
8082Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8083
8084 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8085 Don't rely on the value of an auto variable before it has been
8086 initialized. Use gdb_test more.
8087
8088Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8089
8090 * lib/gdb.exp (default_gdb_version): A version number must start
8091 with a digit, but other than that contains all characters up to
8092 the first whitespace character.
8093
8094Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8095
8096 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8097
8098Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8099
8100 * gdb.c++/*.exp: Warn if executable does not exist. The original
8101 reason for skipping the warning was that configure.in sometimes
8102 intentionally skipped building the executables but the tcl code
8103 had no way of knowing. That (a) was always bogus with respect to
8104 error handling, (b) is no longer true (right now there is no way
8105 to skip C++ tests).
8106
8107 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8108
8109Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8110
8111 * gdb.base/list.exp: Add expect patterns for output from
8112 SunPRO compiled executables.
8113 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8114 types.
8115
8116Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8117
8118 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8119 number (we are already testing that the correct source line text
8120 gets printed).
8121
8122 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8123 that is what is intended, but something needed to be done to get
8124 sunos4 native working again.
8125
8126 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8127
8128 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8129 apparently went with a (very) old xfail.
8130
8131Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8132
8133 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8134 runto_main is a proc in gdb.exp that will do 'step' for target use
8135 stubs.
8136 * gdb.base/exprs.exp: ditto.
8137 * gdb.base/interrupt.exp: ditto.
8138 * gdb.base/opaque.exp: ditto.
8139 * gdb.base/printcmds.exp: ditto.
8140 * gdb.base/ptype.exp: ditto.
8141 * gdb.base/scope.exp: ditto.
8142 * gdb.base/setvar.exp: ditto.
8143 * gdb.base/signals.exp: ditto.
8144 * gdb.base/twice.exp: ditto.
8145 * gdb.c++/classes.exp: ditto.
8146 * gdb.c++/inherit.exp: ditto.
8147 * gdb.c++/templates.exp: ditto.
8148 * gdb.base/break.exp: no run and hit main for stubs. Change line
8149 numbers for breakpoints and info breakpoint.
8150 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8151 breakpoint().
8152 * gdb.base/callfuncs.c: ditto.
8153 * gdb.base/exprs: ditto.
8154 * gdb.base/interrupt.c: ditto.
8155 * gdb.base/opaque0.c: ditto.
8156 * gdb.base/printcmds.c: ditto.
8157 * gdb.base/ptype.c: ditto.
8158 * gdb.base/scope0.c: ditto.
8159 * gdb.base/setvar.c: ditto.
8160 * gdb.base/signals.c: ditto.
8161 * gdb.base/twice.c: ditto.
8162 * gdb.c++/misc.cc: ditto.
8163 * gdb.c++/templates.cc: ditto.
8164
8165Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8166
8167 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8168
8169 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8170 somewhere between `read' and `main.c'. I'm pretty sure the
8171 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8172 and it isn't particularly useful.
8173
8174 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8175
8176Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8177
8178 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8179
8180Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8181
8182 * config/mt-slite: add LIBS and -nostdlib.
8183 * config/slite-gdb.exp: add this new file to support sparclite target.
8184
8185Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8186
8187 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8188
8189 * gdb.base/a2-run.exp: Change argument to istarget from
8190 "*-*-vxworks" to "*-*-vxworks*".
8191 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8192
8193Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8194
8195 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8196 will not runto main but do a 'step' to step out of breakpoint().
8197 * config/mt-slite: add -Dusestubs.
8198
8199Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8200
8201 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8202 instead of just @.
8203
8204 * gdb.base/signals.exp: Add test for "handle all print".
8205 * TODO: Remove "handle all print". Also remove item about
8206 checking copyright date (I don't like the idea of a spurious FAIL
8207 based on when we run the tests).
8208
8209 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8210 for SunOS4 (reason for failure not investigated). Remove
8211 redundant test for $binfile.
8212
8213 * gdb.base/nodebug.c (array_index): Call malloc.
8214
8215 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8216
8217Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8218
8219 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8220 conventions and slightly simplify the matching regexp.
8221
8222Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8223
8224 * gdb.base/break.exp: Update gdb_test invocation to use new
8225 convention.
8226
8227 * lib/gdb.exp: If noargs is not set, set it to 0.
8228
8229 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8230 tests unique.
8231
8232 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8233
8234Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8235
8236 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8237 one argument of type "<non-float parameter>".
8238
8239Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8240
8241 * config/rom68k.exp: New file to support Motorola IDP board.
8242 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8243 * gdb.base/break.c: Change things around so that this program
8244 doesn't depend upon args. This is necessary to make remote
8245 targets work (in general, they can't take args).
8246 * gdb.base/break.exp: Don't try to send args to program. Don't
8247 expect output. Also, replace lots of code with gdb_test.
8248
8249Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8250
8251 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8252 printing of '\'' (which is what the comment says we are testing,
8253 even though we were not), not '''.
8254 (test_integer_literals_rejected): Test that printing ''' is an error.
8255
8256 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8257 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8258 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8259 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8260 Use gdb_test not test_print_accept.
8261 * lib/gdb.exp: Remove test_print_accept.
8262
8263 * gdb.base/signals.exp (signal_tests_1): Make pass message
8264 consistent with fail message.
8265
8266 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8267 unsigned char; the bug (PR 1821) is fixed.
8268
8269 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8270
8271 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8272 successful tests--makes xfailing them work right.
8273
8274Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8275
8276 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8277 only \r\n, not .*. The test can pass .* as the last thing in
8278 $pattern if that is what it wants. In addition to providing this
8279 flexibility, this change should speed up pattern matching in cases
8280 where the pattern already ended with .* (there were a number of
8281 them). This change also helps catch bad patterns--in the old
8282 scheme the typo "char \*" instead of "char \\*" would pass. Now
8283 it is caught.
8284 * Many .exp files: Update callers.
8285
8286 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8287 clearer and does not spuriously match multiple ('s. Likewise for
8288 ) and *.
8289
8290 * gdb.base/nodebug.exp: Test ability to call a function and pass
8291 it a string (even with no debugging info).
8292
8293 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8294 "p '\'", which is the same as "p ''" once tcl gets done with
8295 quoting, to "p '\\'", which I suspect is what is intended (one
8296 backslash gets sent to GDB).
8297
8298 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8299
8300Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8301
8302 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8303 1817) was fixed literally years ago.
8304
8305Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8306
8307 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8308 test, it causes stepping out of call_after_alloca_subr with
8309 optimizing compilers.
8310 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8311 fails.
8312
8313 * gdb.c++/templates.exp: Source templ-info.exp only if
8314 the templates executable exists.
8315
8316 * gdb.c++/misc.cc (class Contains_static_instance,
8317 class Contains_nested_static_instance),
8318 gdb.c++/classes.exp (test_static_members): Test printing of
8319 a class that contains a static instance of the class.
8320
8321Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8322
8323 * gdb.base/langs2.c (cppsub_): Don't prototype.
8324 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8325 only, I believe).
8326
8327Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8328
8329 * lib/gdb.exp (skip_chill_tests): New procedure.
8330
8331 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8332
8333Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8334
8335 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8336 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8337
8338Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8339
8340 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8341
8342 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8343 disassemble 8, not 16, instructions for part 4.
8344
8345 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8346 support the latter anymore.
8347
8348 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8349 -DNO_PROTOTYPES.
8350 * gdb.base/callfuncs.c: Control use of prototypes based on
8351 NO_PROTOTYPES, not __STDC__.
8352 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8353 t_float_values2 tests if prototypes in use.
8354
8355 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8356 t_double_values): When checking differences against DELTA, check
8357 that difference is within the range (-DELTA,DELTA), not just
8358 (-infinity,DELTA).
8359
8360Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8361
8362 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8363 'file' command firts, then 'target', then 'load', this is due to gdb
8364 target set up.
8365 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8366
8367Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8368
8369 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8370 FP load/store variants.
8371 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8372
8373Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8374
8375 * gdb.base/term.exp: Do not give a warning if not native, it is
8376 not an abnormal condition.
8377
8378Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8379
8380 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8381 t_char_array".
8382
8383Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8384
8385 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8386 are getting the version number.
8387
8388 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8389 if not native, it is not an abnormal condition.
8390
8391Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8392
8393 * lib/gdb.exp: Just use "file exists", rather than undocumented
8394 dejagnu procedure "findfile".
8395
8396Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8397
8398 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8399 (LDFLAGS): Set to -Xlinker -Ur.
8400
8401 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8402 Removed, these values are set by lib/gdb.exp.
8403
8404 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8405
8406Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8407
8408 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8409 of replicating gdb startup code.
8410
8411 * config/mt-vxworks (LDFLAGS): Set to -r.
8412 (CFLAGS_FOR_TARGET): Removed.
8413
8414 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8415 (gdb) and gdb for vxworks uses (vxgdb).
8416
8417 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8418 executable is not in the tree and host != target, use sed and
8419 program_transform_name to determine the gdb name used by the
8420 target.
8421
8422 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8423 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8424
8425Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8426
8427 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8428 floats, chars, and shorts where there are ANSI-style function
8429 definitions.
8430
8431 * gdb.base/langs.exp, gdb.base/langs*: New test.
8432 * gdb.base/Makefile.in: Build it.
8433 * TODO: Remove item about checking that C names don't get C++
8434 demangling applied; this test tests it.
8435
8436Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8437
8438 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8439 went with the const70 xfail. The xfail went away a year ago.
8440
8441 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8442
8443 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8444 for hp300.
8445
8446 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8447
8448 * gdb.base/a1-selftest.exp: Don't run on hp300.
8449
8450Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8451
8452 * Makefile.in (site.exp): Set host_alias and target_alias as well
8453 as host_triplet and target_triplet.
8454
8455Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8456
8457 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8458
8459 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8460 places as other ecoff systems).
8461
8462 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8463 ultrix.
8464
8465Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8466
8467 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8468 remove them.
8469 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8470 variable and "variable" in addition to "data variable".
8471 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8472
8473 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8474 2.
8475 * gdb.base/list1.c (long_line): Add additional statement at start
8476 of function.
8477 * gdb.base/list.exp (test_forward_search): Update line number to
8478 reflect new statement.
8479
8480Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8481
8482 * gdb.base/signals.exp: Reinitialize searched source directories
8483 after gdb_start call.
8484
8485Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8486
8487 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8488 * gdb.stabs/Makefile.in: Likewise.
8489
8490 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8491 change. Instead split the tests into smaller pieces.
8492 * gdb.disasm/hppa.s: Corresponding changes.
8493
8494Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8495
8496 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8497 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8498
8499 * gdb.base/funcargs.exp: Modify many tests so that every test
8500 either passes or fails. Make some test names unique.
8501
8502Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8503
8504 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8505 Call stty to set interrupt character.
8506
8507 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8508 for HP assembler versus GNU assembler based on actual behavior of
8509 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8510
8511 * TODO: Suggest a few more stepping tests.
8512
8513Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8514
8515 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8516 restart GDB for h8300 after a continue.
8517 (return): Add pattern to match a29k-udi behavior.
8518 * gdb.base/nodebug.exp: Remove obsolete comment.
8519 * gdb.base/regs.exp: New file, testing of register displays.
8520 * gdb.base/return.exp: Fix typo in reference to $objdir.
8521 * gdb.base/whatis.exp: Always start with a fresh GDB.
8522
8523Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8524
8525 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8526 higher, these tests generate a lot of output.
8527
8528Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8529
8530 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8531 code following the catch silently ignored some errors; without the
8532 catch they should be thrown like any other tcl error. Also, the
8533 catch used "" instead of {} which meant all the callers who wanted
8534 to include one of the characters "[]$ had to quote it an extra time.
8535 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8536 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8537 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8538 Remove extra quoting.
8539
8540Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8541
8542 * gdb.base/commands.exp: Make test names unique; every test either
8543 passes or fails. Update some comments.
8544
8545 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8546
8547Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8548
8549 The following fixes a FAIL caused by the fact that the alpha stabs
8550 configuration didn't use the ".if alpha" code in weird.def.
8551 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8552 bit pointer, so the 32 bit version works even on the alpha.
8553 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8554 Remove the stuff which allowed us to have separate versions for
8555 alpha and everything else.
8556
8557 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8558 regexp which "info func operator\[\](" is supposed to match. Fix
8559 string to send to GDB. Note that GDB still doesn't work right. Add a
8560 new test for "info func .perator\[\](" which GDB does handle correctly.
8561
8562 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8563
8564Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8565
8566 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8567 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8568 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8569 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8570 it makes the tests harder to understand and confuses test-o-matic.
8571 The preferred style is that each test provides a PASS or a FAIL,
8572 and has a unique message (e.g. "continue #54" not just "continue")
8573 which is the same for the pass and the fail.
8574 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8575 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8576 to lib/gdb.exp.
8577 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8578 prt_accept which was basically the same thing. Likewise for
8579 test_print_reject and prt_reject.
8580 * lib/gdb.exp (test_print_reject): Add some more error message
8581 patterns to match from the former printcmds.exp (prt_reject).
8582 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8583 One defect of the passcount stuff is that some of it failed to
8584 report XPASS where appropriate.
8585 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8586 stuff before and after arg in expected pattern.
8587 (test_paddr_operator_functions): Re-do test without print_addr_of;
8588 this is the only test which seems to want extra stuff there.
8589
8590Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8591
8592 * gdb.base/nodebug.exp: Update new tests to reflect improved
8593 wording of gdb output.
8594
8595 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8596 and "ptype" work on variables in files compiled without -g.
8597 Replaces commented out "maint print msymbol" tests.
8598
8599Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8600
8601 * gdb.base/setvar.c (dummy): Call malloc.
8602
8603 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8604 losing with the irix4 sed.
8605
8606 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8607 ALRM" on irix4.
8608
8609Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8610
8611 * TODO: Remove items about corefile.exp testing new exec-file and
8612 backtrace; both are now done. Add items about printing enums.
8613
8614Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8615
8616 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8617 "get signal $thissig" test fails.
8618
8619 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8620
8621Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8622
8623 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8624 compiler warning with dec alpha compiler.
8625
8626 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8627 extra \n from gdb_test call (this explains why the prompt test
8628 that I removed yesterday was there).
8629 (user_defined_command_test): Remove extra \n and prompt test.
8630
8631 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8632 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8633 doesn't exist.
8634 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8635 Also remove alpha workaround, which turns out to be because
8636 SIGABRT == SIGLOST.
8637
8638 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8639
8640 * gdb.base/help.exp: Don't test "help show".
8641
8642Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8643
8644 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8645 "set print address" is on.
8646 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8647 pass prompt to gdb_test; gdb_test already looks for the prompt.
8648
8649 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8650
8651 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8652 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8653 was to make sure that gdb can read a core file. But (a) the "read
8654 the corefile" part didn't make it to a1-selftest.exp, we just
8655 delete the corefile after creating it, and (b) we test reading
8656 corefiles in corefile.exp anyway. Also, this test left around a
8657 xgdb process on Solaris.
8658
8659 * gdb.base/corefile.exp: Also test backtrace.
8660
8661Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8662
8663 * gdb.base/commands.exp: Test a simple user defined command with
8664 arguments and if/while statements; verify the full user command is
8665 printed by "show user".
8666
8667 * gdb.base/commands.exp: Test if/while commands as part of a
8668 breakpoint command list; verify they appear in breakpoint
8669 information.
8670
8671Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8672
8673 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8674 than by dividing by zero.
8675
8676Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8677
8678 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8679 performing an inferior call with watchpoints enabled.
8680 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8681 call.
8682
8683Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8684
8685 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8686 of "file" command.
8687
8688 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8689 Add additional pattern for when "int operator int(void);" appears
8690 in a different order.
8691
8692Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8693
8694 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8695
8696 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8697 and "signal" with ".*".
8698
8699Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8700
8701 * TODO: Add note about "handle all nostop".
8702
8703 * gdb.base/{sigall.c, sigall.exp}: New test.
8704 * gdb.base/Makefile.in: Add it.
8705
8706Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8707
8708 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8709 when invoking GDB, suppresses any windowing interface.
8710
8711Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8712
8713 * config/sim-gdb: New file, simulator testing support.
8714
8715Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8716
8717 * gdb.base/interrupt.exp: Test calling func1 twice.
8718
8719Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8720
8721 * gdb.base/list.exp (test_forward_search): Set timeout higher
8722 when we'll be getting lots of output from gdb.
8723
8724 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8725 "init_malloc" to after the expect statement. Run it if that
8726 regexp is taken, but also for two others which happen if source
8727 cannot be found.
8728
8729Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8730
8731 * gdb.base/printcmds.exp: New test, for printing register before
8732 program is running.
8733
8734Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8735
8736 * gdb.base/list.exp: Correct some alternate expect patterns
8737 to reflect changes in list1.c.
8738
8739Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8740
8741 * TODO: Add item regarding large frames.
8742
8743 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8744
8745 * TODO: Remove item about enabling return.exp; it
8746 is enabled. Suggest a few more "return" tests.
8747
8748Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8749
8750 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8751 anonymous unions.
8752
8753Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8754
8755 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8756 and pr-5646.o, so "make" is the same as "make all", not "make
8757 pr-4975.o".
8758
8759Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8760
8761 * gdb.base/list.exp: Adjust expectations to reflect changes in
8762 list1.c.
8763 (test_forward_search): New test proc.
8764 * gdb.base/list1.c (long_line): New function, has long source line.
8765
8766Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8767
8768 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8769 additional line of code that was added.
8770
8771Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8772
8773 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8774 tests so as not to overflow expect's input buffers.
8775 * gdb.disasm/hppa.exp: Corresponding changes.
8776
8777Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8778
8779 Beginnings of template debugging tests.
8780 * gdb.c++/templ-info.cc: New file to test for template
8781 debugging capability of the compiler.
8782 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8783 templ-info.cc.
8784 * gdb.c++/templates.cc: Add explicit template instantiations
8785 to enable compiling with -fno-implicit-templates. Add destructor
8786 and 'value' method to T5 class for template tests.
8787 * gdb.c++/templates.exp: Add testcases for printing of template
8788 types, setting breakpoints on template methods and calling a
beb998c6 8789 template method.
c906108c
SS
8790
8791Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8792
8793 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8794 branch target since some assemblers (gas-2.5) may emit a
8795 relocation for the branch instead of resolving it in the
8796 assembler.
8797
8798Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8799
8800 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8801 through signal handler.
8802
8803Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8804
8805 * configure.in (*-*-netware): Use config/mt-netware.
8806
8807 * config/mt-netware: New file.
8808 * config/mt-i386-netware: Removed, separate configs for different
8809 netware architectures are no longer needed now that we have
8810 --with-headers.
8811
8812Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8813
8814 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8815 by the recent changes to use ANSI C arithmetic conversions.
8816
8817Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8818
8819 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8820 bug involving using inferior_pid to figure out whether to select a
8821 frame.
8822
8823Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8824
8825 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8826 match the current disassembler output.
8827
8828Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8829
8830 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8831 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8832 types, expect "int" as type of integer values (for now).
8833
8834Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8835
8836 * gdb.base/commands.exp: New tests for if/while commands.
8837
8838Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8839
8840 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8841 by .*, since hex values have different syntax in Chill mode.
8842
8843Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8844
8845 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8846 linefeed from expect pattern for repeated types with indices > 9.
8847
8848Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8849
8850 First part of Fortran test suite.
8851 * gdb.fortran: New directory.
8852 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8853
8854Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8855
8856 * gdb.base/default.exp: Update expect pattern for load command
8857 without arguments.
8858
8859Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8860
8861 * configure.in: Change i386 to i[345]86.
8862 * gdb.base/configure.in: Likewise.
8863 * gdb.c++/configure.in: Likewise.
8864 * gdb.chill/configure.in: Likewise.
8865
8866Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8867
8868 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8869 patterns, since that is not a valid context for comments.
8870
8871Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8872
8873 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8874 repeated types and repeated types with indices > 9.
8875
8876Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8877
8878 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8879 2417; old bug has been fixed.
8880
8881Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8882
8883 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8884 send the newline ourselves instead of assuming gdb_test will do
8885 so when passed an empty input string.
8886
8887 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8888 stabs testcode.
8889
8890Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8891
8892 * lib/gdb.exp (gdb_test): Don't send anything if the first
8893 argument is an empty string. This makes cases where we want to
8894 match output that is already in expect's buffers (for example,
8895 matching a breakpoint after gdb_run_cmd has been called) work
8896 reliably.
8897
8898Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8899
8900 * config/netware.exp: New file.
8901
8902Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8903
8904 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8905 the -B and -L prefixes so we can find the debugging stub.
8906
8907 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8908 there and we are using the gcc from the tree.
8909
8910 * gdb.base/types.c: Removed.
8911
8912 * gdb.base/configure.in: Look for makefile fragments in ../config.
8913 Recognize i386-*-netware.
8914 * gdb.c++/configure.in: Likewise.
8915
8916Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8917
8918 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8919 the correct TCL syntax.
8920
8921Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8922
8923 * gdb.base/opaque.exp: use runto instead of messing around with
8924 breakpoints. Simplify by using gdb_test.
8925
8926 * gdb.base/bitfields.exp: restart between tests on netware targets
8927 because breakpoints aren't relocated after target death. Run
8928 processes to completion.
8929
8930 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8931
8932Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8933
8934 * Makefile.in: Remove extra tabs that confuse some versions
8935 of "make". Use the newly built gdb to test with by default,
8936 rather than the first one in the tester's search path.
8937
8938Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8939
8940 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8941
8942 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8943 condition help.
8944
8945Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8946
8947 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8948
8949 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8950 running.
8951 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8952 * gdb.base/funcargs.exp: Likewise.
8953
8954 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8955 * gdb.base/funcargs.exp: Likewise.
8956
8957 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8958 message is "".
8959
8960Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8961
8962 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8963 return,signals,twice}.exp: Handle non-existant binaries
8964 consistantly.
8965
8966 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8967 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8968 might testing a cross development system.
8969
8970Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8971
8972 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8973 runtest script is relative to ${srcdir}, not ${rootdir}.
8974
8975Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8976
8977 * gdb.base/signals.exp: Allow for optionality of breakpoint
8978 address.
8979
8980Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8981
8982 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8983
8984Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8985
8986 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8987 for size_t definition.
8988 * gdb.c++/templates.cc: Likewise
8989
8990 * config/mt-i386-netware: New file.
8991
8992 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8993 defined.
8994
8995 * gdb.base/Makefile.in: Added support for systems that name core
8996 files by appending "core" to the program name.
8997 * gdb.base/a1-selftest.exp: Likewise.
8998
8999Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9000
9001 * gdb.base/return.exp: Add comment and message for `return double'
9002 test failure on Sparc Solaris.
9003
9004Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9005
9006 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9007
9008Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9009
9010 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9011 from optimizing them away.
9012 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9013 patterns to include default constructors and assignment operators,
9014 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9015 character in the output of the virtual base pointer.
9016
9017Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9018
9019 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9020 expression match in print_addr_of to avoid unintented matches.
9021 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9022 versions up to 2.5.8.
9023
9024Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9025
9026 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9027 included file to run under newer versions of expect.
9028 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9029 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9030 Remove xfail for the virtual table of BDDHookV.
9031
9032Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9033
9034 * lib/gdb.exp (string_to_regexp): Set a default result.
9035 (default_gdb_start): Fix misleading message.
9036
9037Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9038
9039 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9040 Remove all CC, etc definitions.
9041 * config/mt-hpux: New file.
9042 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9043 (CFLAGS, LDFLAGS): Define.
9044 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9045
9046 * Makefile.in (site.exp): Don't insert host_os, etc.
9047 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9048 (distclean): Check existence of subdir.
9049 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9050 * gdb.base/Makefile.in: General cleanup and simplification.
9051 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9052 to build executables. Use default rule to build .o files.
9053 (EXPECT, RUNTEST, CC): Fix relative pathname.
9054 (site.exp): Don't insert host_os, etc.
9055 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9056 and/or SIGUSR1 defined.
9057 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9058 * gdb.c++/Makefile.in: General cleanup and simplification.
9059 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9060 (CFLAGS): Remove.
9061 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9062
9063Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9064
9065 * gdb.base/recurse.exp: Misc changes to get tests running again
9066 after Kung's changes to the watchpoint code.
9067 * gdb.base/watchpoint.exp: Likewise.
9068
9069Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9070
9071 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9072
9073Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9074
9075 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9076 * lib/gdb.exp (default_gdb_start): Define.
9077 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9078 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9079 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9080 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9081 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9082 Don't call gdb_target_udi in between tests.
9083
9084Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9085
9086 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9087 (which was basically just a local version of the same thing). In
9088 addition to avoiding duplication, gdb_test_exact is faster.
9089 * lib/gdb.exp (gdb_test_exact): Fix typo.
9090
9091 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9092 don't give an error.
9093
9094 * gdb.base/term.exp: Call delete_breakpoints before starting.
9095
9096 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9097 (t10): Add comment.
9098
9099Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9100
9101 Reorganization of the GDB Test Suite.
9102
9103 * gdb.base: New directory, contains all the basic tests.
9104 * gdb.c++: New directory, tests specific to C++.
9105 * gdb.chill: New directory, tests specific to Chill.
9106 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9107 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9108 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9109 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9110 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9111 t30-31 to chill).
9112 * */gdbme.*: Rename to match appropriate expect scripts.
9113 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9114 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9115 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9116 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9117 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9118 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9119 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9120 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9121 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9122 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9123 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9124 gdb.c++/virtfunc.cc: New names of C++ files.
9125 * gdb.chill/chillvars.ch: New name of Chill file.
9126 * gdb.base/configure.in, gdb.c++/configure.in,
9127 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9128 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9129 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9130 * configure.in (configdirs): Update to reflect directory changes.
9131 (target_abbrev): No longer define for any configuration.
9132 * Makefile.in: Cosmetic improvements to header comments.
9133
9134Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9135
9136 Various changes to gdb.t31:
9137
9138 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9139 * gdbme.ch: Make all key-words and predefineds be upper-case.
9140 * chillvars.exp: Expect key-words and predefinds in upper-case.
9141
9142 * chillvars.exp: Use gdb_test_exact many places.
9143 Change expected output for arrays (which now includes index labels).
9144
9145 * pr-5020.exp, gdme.ch (module PR_5020):
9146 New test, for PR-5020.
9147
9148Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9149
9150 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9151 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9152
9153Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9154
9155 * Makefile.in: Fix bit-rot in definitions of CHILL,
9156 CHILL_FOR_TARGET and Chill_LIB.
9157 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9158 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9159 CHILL, and CHILL_LIB.
9160
9161Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9162
9163 * Revert the previous changes. Please see Rob's directory
9164 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9165
9166Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9167
9168 * Makefile.in, configure.in, config/mips-gdb.exp,
9169 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9170 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9171 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9172 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9173 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9174 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9175 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9176 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9177 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9178 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9179 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9180 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9181 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9182 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9183 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9184 changes from 94Q1.
9185
9186Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9187
9188 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9189 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9190 Rob's new testing fragments.
9191
9192Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9193
9194 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9195 lib/gdb.exp: Replace error proc calls with perror.
9196
9197Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9198
9199 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9200 version also, match on casted version strings, and match on
9201 gdb startup case where the line numbers might be messed up.
9202
9203Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9204
9205 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9206 (CFLAGS): Delete it from here.
9207
9208Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9209
9210 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9211
9212Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9213
9214 * Makefile.in (RUNTEST): Default to just "runtest".
9215
9216Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9217
9218 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9219 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9220 the code has been restructured.
9221
9222Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9223
9224 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9225 \n, not just one of each.
9226
9227 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9228 /bin/cc gives a warning if you do.
9229
9230Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9231
beb998c6 9232 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9233 __t10ListS_link1ZUiRCUiPT0
9234
9235Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9236
9237 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9238 on local variables in recursive functions.
9239
9240 * gdb.t07/Makefile.in: Build the new test.
9241
9242Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9243
9244 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9245 directly. Instead compare the return values from actual calls.
9246
9247Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9248
9249 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9250
9251Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9252
9253 * From Peter Schauer with minor modifications.
9254 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9255 stops in mid-line in the caller. Add xfail for returning a float
9256 value on X86 targets.
9257
9258Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9259
9260 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9261 to avoid expect lossage.
9262 (fmem_LRbug_tests): Likewise.
9263 * gdb.disasm/hppa.s: Corresponding changes.
9264
9265 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9266 conditions to work with latest dejagnu/expect.
9267
9268 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9269 expected to fail on the PA.
9270 (backtrace in call with trampolines): Explicitly require main
9271 to be frame #1 (no trampolines should show up in backtrace).
9272
9273 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9274 "continue -expect".
9275 * gdb.t06/break.exp: Likewise.
9276 * gdb.t07/watchpoint.exp: Likewise.
9277 * gdb.t13/bitfields.exp: Likewise.
9278 * gdb.t15/{funcargs,return}.exp: Likewise.
9279 * gdb.stabs/weird.exp: Likewise.
9280 * config/{mips,udi}-gdb.exp: Likewise.
9281
9282 * hppa.sed: Enclose comments within a sed command to avoid
9283 losing with the old OSF1 sed.
9284
9285Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9286
9287 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9288 sequent dynix.
9289 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9290 * gdb.t15/funcargs.exp: Conditionally step again to really
9291 finish from marker_call_with_trampolines. Handle the case where
9292 the first step from within call_with_trampolines already steps
9293 us back to main.
9294 * gdb.t15/gdbme.c: Add comment to closing brace of
9295 call_with_trampolines for funcargs.exp.
9296
9297Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9298
beb998c6 9299 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9300 Fix typo(s).
9301
9302Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9303
9304 * gdb.t07/gdbme.c: More code for watchpoint testing.
9305
9306 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9307 "Hardware watchpoint" throughout file.
9308 (test_watchpoint_triggered_in_syscall): New test.
9309 (test_complex_watchpoint): New test.
9310
9311Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9312
9313 * gdbme.c (call_with_trampolines): New function to try and step
9314 into. Tests trampoline problems on the PA.
9315
9316 * funcargs.exp (localvars_in_indirect_call): No longer expect
9317 stepping into indirect call to fail on PAs.
9318 (test_stepping_over_trampolines): New test.
9319
9320Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9321
9322 * TODO: Add suggestions for static member function tests, and
9323 completion tests.
9324
9325Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9326
9327 * TODO: Add suggestions for "p/a" tests.
9328
9329 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9330 (default_gdb_exit): Replace all the hair with sending "quit" to
9331 the process with a simple close.
9332
9333Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9334
9335 * TODO: Add suggestions for shared library tests.
9336
9337Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9338
9339 * TODO: Add suggestions for x/s tests.
9340
9341Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9342
9343 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9344 "enable once", and "enable breakpoints once" with ".*".
9345
9346Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9347
9348 * TODO: Add suggestions about structure passing tests.
9349
9350Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9351
9352 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9353 the primary1 test, use work around if __GNUC__ < 2.
9354 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9355 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9356 Test for bad output rather than waiting for timeout. Issue
9357 second continue only if first continue failed.
9358
9359Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9360
9361 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9362 operator[] test with gdb_test because the old code didn't seem to
9363 be getting the quoting right with the new dejagnu.
9364
9365Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9366
9367 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9368 one from the path.
9369 * Makefile.in: Use a fresh expect if there is one, use runtest
9370 from the src tree if there is one.
beb998c6 9371
c906108c
SS
9372Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9373
9374 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9375 next over recursive call. Revise the tests from that point on
9376 (which had been skipped) to match GDB's actual (correct) output.
9377
9378 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9379 with next over a breakpoint whose condition is false.
9380
9381 * gdb.t00/help.exp: Comment out "help set print" tests just like
9382 (and for same reason as) "help set" test.
9383
9384Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9385
9386 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9387 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9388
9389Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9390
9391 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9392 necessary gdb_target_udi.
9393
9394 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9395
9396 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9397 1838 and 2417; they are fixed.
9398
9399 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9400 gdb.t03/ptype.exp (ptype structure, ptype union):
9401 Remove xfails; the test is looser than when the xfails were added.
9402
9403 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9404 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9405
9406 * gdb.t01/run.exp: Only run shell test if isnative.
9407
9408 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9409 since "run" automatically loads if necessary. Call gdb_target_udi
9410 after the "file" since "file" kills any execution target.
9411
9412 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9413 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9414 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9415 argument for UDI.
9416
9417Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9418
9419 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9420
9421 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9422
9423Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9424
9425 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9426 properly quoting regexps. This makes the second argument to
9427 demangle a fixed string, which matches the callers, instead of a
9428 shell-style pattern which is what the previous implementation
9429 used. Update some of the callers.
9430
9431Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9432
9433 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9434 (comib_nullified_tests): Fix typo.
9435 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9436 strings. No longer expected to fail.
9437
9438 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9439 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9440 strings. No longer expected to fail.
9441
9442 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9443 string. No longer expected to fail.
9444
9445Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9446
9447 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9448 No longer expected to fail.
9449
9450 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9451 string. No longer expected to fail.
9452
9453Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9454
9455 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9456 only in the names (I probably got most of them). I was even
9457 generous with some which differed in underscores in names, and
9458 probably missed a few, and I *still* was able to remove almost a
9459 third of the file with almost no impact on testsuite coverage.
9460
9461Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9462
9463 * gdb.t00/default.exp: Match udi_attach error message as well as
9464 the one from child_attach.
9465
9466 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9467
9468 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9469
9470 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9471 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9472
9473 * Move test with enums and partial symbols back to
9474 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9475 Reverts the change of 26 May 93. Per today's change to
9476 stabs.texinfo, the behavior that weird.exp was expecting was
9477 unreasonable; what is important is that the compiler+gdb get
9478 things right, which happens with a recent gcc. Also fix the test
9479 to deal with native compilers which put out the stab gdb can't
9480 deal with.
9481
9482Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9483
9484 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9485 in the names. The main thing these accomplish is to slow things down.
9486 Many more such duplicates surely remain.
9487
9488 * gdb.t00/help.exp: Comment out "help support" test just like
9489 (and for same reason as) "help set" test.
9490
9491Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9492
9493 * gdb.t06/break.exp: Remove setup_xfails for
9494 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9495 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9496 about known bug in gcc to include up through 2.5.8.
9497 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9498 well as "_vb$".
9499 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9500 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9501 with latest gcc and gdb.
9502 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9503 well as "_vb$".
9504
9505Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9506
9507 * configure.in (hppa*-*-*): Also configure and build stabs-only
9508 tests.
9509
9510Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9511
9512 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9513 * gdb.t10/configure.in (hppa*-*-*): Use it.
9514
9515Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9516
9517 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9518
9519Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9520
9521 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9522 versions prior to 1.13.5.
9523
9524Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9525
9526 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9527 the prompt is at the start of a line.
9528
9529Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9530
9531 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9532 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9533 in the copr tests now.
9534 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9535 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9536 expected to fail.
9537
9538Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9539
9540 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9541 gdb.t31/chillvars.exp, lib/gdb.exp:
9542 Tweak to run under either version of expect.
9543 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9544 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9545 * gdb.t11/list.exp: Remove extraneous whitespace.
9546
9547Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9548
9549 * gdb.t16/printcmds.exp (test_print_strings): Accept
9550 "(unsigned char *) " before the string.
9551
9552 * TODO: Add notes about printing of fancy types and GDB expressions.
9553
9554Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9555
9556 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9557 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9558 if doing mips-idt-ecoff.
c906108c
SS
9559
9560Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9561
9562 * Most .exp files: Tweak to run under either version of expect.
9563
9564Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9565
9566 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9567 xfails; I'm not sure why they are failing, but not because of PR 1806.
9568
9569Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9570
9571 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9572 defined in lib/gdb.exp.
9573
9574Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9575
9576 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9577 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9578 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9579 have to be typeless.
9580
9581Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9582
9583 * TODO: Add suggestion for copyright year test.
9584
9585Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9586
9587 * configure.in (*-*-lynxos*): Add stabs tests.
9588
9589Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9590
9591 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9592 so insert a tab before any assembler directive in column zero.
9593
9594 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9595 stores.
9596 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9597 stores.
9598 (fpu_short_memory_tests): Likewise.
9599
9600Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9601
9602 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9603 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9604 .stabs directives in comments.
9605
9606Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9607
9608 * TODO: New file, describing tests we could write.
9609 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9610
9611Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9612
9613 * gdb.t06/signals.exp: Add kludge to force re-sync.
9614
9615 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9616 to xgdb instead of gdb, get out of gdb.
9617
9618Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9619
9620 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9621 for info.
9622
9623Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9624
9625 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9626 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9627 * gdb.stabs/hppa.sed: New sed script for the PA.
9628
9629Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9630
9631 * gdb.stabs: Re-write weird.def and configuration to use sed
9632 instead of cpp. sed is portable and POSIX; cpp is neither.
9633
9634Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9635
9636 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9637
9638Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9639
9640 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9641
9642Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9643
9644 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9645 "_vb$".
9646 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9647 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9648
9649Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9650
9651 * lib/gdb.exp: Comment out code which depends on non-existent
9652 `transform' procedure.
9653
9654Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9655
9656 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9657 * lib/gdb.exp: Transform tool name.
9658 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9659 1.1's new error handling system.
9660
9661Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9662
9663 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9664
9665Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9666
9667 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9668 They made pattern matching so slow that timeouts happened on
9669 heavily loaded systems. Now any output from "show print" which
9670 gets us back to the GDB prompt is a PASS.
9671
9672Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9673
9674 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9675
9676Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9677
9678 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9679
9680 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9681 It is not from PR 3220.
9682
9683Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9684
9685 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9686 just started failing because they depended on the order the
9687 subcommands are presented, or exact docstring text. This kind of
9688 test is a pain and has minimal benefit.
9689
9690Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9691
9692 * gdb.t09/corefile.exp: At end of test, use "core" command with
9693 no arguments.
9694
9695Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9696
9697 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9698 17}/Makefile.in: Make it possible to run the testsuite with Sun
9699 make and CC = cross gcc by adding explicit build rules for .o
9700 files.
9701
9702Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9703
9704 * gdb.t15/funcargs.exp: Don't put comments on same line as
9705 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9706
c906108c
SS
9707Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9708
9709 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9710
9711Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9712
9713 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9714 * gdb.t20/inherit.exp: remove three dumplicate entries.
9715
9716Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9717
9718 * gdb.t06/break.exp: For "next over recursive call", fail on any
9719 incorrect output, not just on "factorial (value=2)".
9720
9721Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9722
9723 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9724 working now. Add an xfail if accesing a bss variable causes
9725 a memory error if the target is not yet run.
9726
9727Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9728
9729 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9730 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9731 name of __st* demangling (2 strings). Did Kung really get the
9732 more than 95 others right without testing them?
9733
9734Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9735
9736 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9737
9738Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9739
9740 * configure.in (configdirs): Add gdb.disasm
9741 * gdb.disasm: New directory for GDB disassembler tests.
9742 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9743
9744Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9745
9746 * gdb.t00/help.exp: Don't test "help set".
9747
9748 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9749 from within expect statements. None of these happen anymore and
9750 they cause regressions to be silently unnoticed.
9751
9752 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9753 messages) about known failures with gcc cygnus-2.4.5-930417.
9754
9755 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9756 comp-info.exp so it gets built if it doesn't exist.
9757
9758 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9759 it is no longer used.
9760 * gdb.t13/comp-info.c: Removed.
9761
9762Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9763
9764 * gdb.t06/signals.exp: Add xfail for sun3.
9765
9766Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9767
9768 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9769 relevant because ^C doesn't get sent but failure can be reproduced
9770 interactively).
9771
9772Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9773
9774 * gdb.stabs/alpha.mt: New configuration file for alpha.
9775 * gdb.stabs/configure.in: Use it.
9776 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9777 sharing with alpha.mt, redefine long to word via preprocessor.
9778 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9779 for alpha.
9780 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9781 native cc.
9782 * gdb.t00/teststrategy.exp: Change expect string so that we
9783 consume the `(xgdb)' from the command echo and from the gdb prompt.
9784 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9785 gdb currently compares all values as long, so this failure probably
9786 applies to any configuration where LONGEST is bigger than a target int.
9787 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9788 with gcc.
9789 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9790 to handle opaque pointers, gcc is.
9791 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9792 as first argument. Include <sys/types.h> and change all operator
9793 new definitions to use size_t.
9794 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9795 now that we use size_t.
9796
9797Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9798
9799 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9800 a long or float array cast all array members to the same type.
9801 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9802 with 64 bit longs.
9803 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9804 on alpha.
9805 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9806
9807Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9808
9809 * gdb.t24 (demangle.exp): Constructors of templates have names like
9810 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9811 section 14.6 of the ARM.
9812
9813 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9814 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9815 accomplish little and slow down the testsuite.
9816
9817 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9818 Accept spaces various places.
9819
9820Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9821
9822 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9823 with watchpoint enabled.
9824
9825 * Makefile.in: Remove definition of CC and remove the second
9826 definition of CXX (the "CXX = gcc" one remains). These definitions
9827 were causing backquotes to be expanded within backquotes, which
9828 doesn't work.
9829
9830Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9831
9832 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9833
9834Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9835
9836 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9837 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9838 by mips cc and contains no stabs entries.
9839
9840Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9841
9842 * config/vx-gdb.exp: Use fake device to load files rather than
9843 NFS.
9844 * lib/gdb.exp: New proc to do "file" command.
9845 * config/unix-gdb.exp: Use new "file" proc.
9846
9847Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9848
9849 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9850 Rework board rebooting slightly.
9851 (gdb_exit): Don't exit from the remote shell; there isn't one.
9852 * gdb.stabs/weird.exp: If a program is being debugged already,
9853 kill it.
9854 * gdb.t04/setvar.exp: Stop and restart gdb.
9855 * gdb.t05/expr.exp: Likewise.
9856 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9857 restart gdb and reload the program.
9858 * gdb.t08/opaque.exp: Likewise.
9859 * gdb.t12/scope.exp: Likewise.
9860 * gdb.t13/bitfields.exp: Likewise.
9861 * gdb.t15/funcargs.exp: Likewise.
9862 * gdb.t20/classes.exp: Likewise.
9863 * gdb.t03/ptype.exp: Increase timeout.
9864 * gdb.t16/printcmds.exp (test_print_string_constants,
9865 test_print_array_constants): Likewise.
9866 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9867 * gdb.t20/classes.exp (do_tests): Likewise.
9868 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9869
9870Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9871
9872 * gdb.stabs: Renamed *wierd* to *weird*.
9873
9874Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9875
9876 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9877 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9878
9879Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9880
9881 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9882 (do_tests): Remove xfail for whatis on one_var and two_var.
9883
9884Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9885
9886 * Makefile.in: Made cross building work better by adding
9887 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9888
9889Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9890
9891 * gdb.t15/{return.c,return.exp,Makefile.in}:
9892 New test, currently commented out.
9893
9894Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9895
9896 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9897 still running and removes the leftover named socket so GDb can do
9898 clean restarts.
9899
9900Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9901
9902 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9903 console, not GDB.
9904 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9905 cross testing works better with "make check"
9906 * config/unix-gdb: Use default procedures for exit and version.
9907 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9908 with the newest VxWorks.
9909
9910Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9911
9912 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9913 old form.
9914
9915 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9916 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9917
9918 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9919
9920 * config/unix-gdb.exp: Remove this version of gdb_exit
9921 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9922 Rob says he'll look at it when he gets back to testing boards.
9923
9924Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9925
9926 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9927 an expected fail for certain ptype commands.
9928
9929 * gdb.t20/classes.exp: Update expected results of "ptype class
9930 Base1" to account for the constructor that now appears in the type.
9931
9932Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9933
9934 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9935 disappeared from list.
9936 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9937 "alldone" proc with call to cleanup and exit.
9938 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9939 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9940 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9941 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9942 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9943 "alldone" proc with simple returns that suppress remaining
9944 tests. The alldone proc went away many months ago.
9945
9946Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9947
9948 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9949
9950 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9951
9952Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9953
9954 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9955 as vax gdb will display them.
9956
9957Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9958
9959 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9960 optimizers.
9961
9962 * scope.exp: Change "bad value for localval" messages so each one
9963 is unique.
9964
9965 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9966 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9967
9968 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9969
9970Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9971
9972 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9973 doesn't exist (due to optimization).
9974
9975Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9976
9977 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9978 contains \r because the filename is long.
9979
9980 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9981 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9982
9983Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9984
9985 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9986 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9987 Ultrix.
9988 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9989 int tests.
9990 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9991
9992Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9993
9994 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9995
9996 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9997 to match does not match the passing case but still matches the
c906108c
SS
9998 failing case.
9999
10000Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10001
10002 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10003
10004Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10005
10006 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10007 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10008 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10009 Remove various versions of gdb_exit.
10010 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10011 gdb_exit.
10012 * config/unix-gdb.exp: gdb_exit remains here, and should override
10013 the generic version, since it's doing a lot of wierd stuff that
10014 the other versions aren't. FIXME, fold it in, or abandon this
10015 version.
10016
10017Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10018
10019 * gdb.t24/demangle.exp: Add tests for PR 3220.
10020
10021Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10022
10023 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10024
10025Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10026
10027 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10028 "i386-*-*". Works for i486 as well.
10029
10030 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10031 bug, and expand domain of xfail to all SVR4 systems, since the
10032 actual problem is likely to be in generic SVR4 /proc support.
10033
10034Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10035
10036 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10037
10038Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10039
10040 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10041 xfails for other systems. Match a missing 'Continuing.' as an
10042 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10043
10044 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10045 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10046 Only issue warning for missing executables if -all option is used.
10047
10048 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10049 file if -all option is used. It's like an unpredictable XFAIL.
10050
10051Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10052
10053 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10054 for dynamically linked binaries.
10055
10056 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10057
10058Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10059
10060 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10061 to state that this is a known bug in old versions of g++.
10062
10063Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10064
10065 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10066 while waiting for `Continuing'.
10067
10068Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10069
10070 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10071 in text, data, and bss.
10072 * gdb.t10/nodebug.c: Add local and global test variables for
10073 initialized and uninitialized data.
10074
10075Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10076
10077 * config/unix-gdb.exp (gdb_exit): Add "wait".
10078
10079Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10080
10081 * gdb.t06/signals.exp: xfail the continue from the handler for all
10082 targets.
10083
10084 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10085 function with watchpoints enabled, the i386 call dummy starts with
10086 a call.
10087
10088 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10089 386 bsd names its corefiles.
10090
10091Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10092
10093 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10094 compilers don't grok it.
10095 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10096 with small octal ints rather than character constants, which
10097 are signed and might not fit if first promoted to int.
10098
10099Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10100
10101 * gdb.t09/Makefile.in (clean): Remove corefile.
10102
10103Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10104
10105 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10106
10107Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10108 and Jim Kingdon (kingdon@cygnus.com)
10109
10110 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10111 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10112 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10113
10114Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10115
10116 * gdb.t17/interrupt.exp: Add xfail for hppa.
10117
10118Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10119
10120 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10121 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10122 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10123 to determine signed-ness of bitfields and use the result to setup
10124 the xfail.
10125 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10126 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10127 call line is reached if necessary.
10128
10129Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10130
10131 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10132
10133Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10134
10135 * gdb.t06/break.exp: Also test `clear' command.
10136
10137Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10138
10139 * gdb.t00/teststrategy.exp: Remove extra quote.
10140
10141 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10142 watchpoint enabled to be for all non-68k machines.
10143
10144 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10145
10146Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10147
10148 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10149 targets use aout.mt instead of ecoff.mt as gas understands
10150 standard aout format.
10151
10152Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10153
10154 * lib/gdb.exp (runto): Don't insist that function we are running to
10155 was compiled with -g.
10156
10157 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10158
10159 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10160 to get back into the read system call.
10161 Accept leading newline in case where we woke it up.
10162
10163Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10164
10165 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10166 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10167 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10168 enable ecoff configuration.
10169
10170Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10171
10172 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10173
10174Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10175
10176 * gdb.t16/printcmds.exp: Add another printf test.
10177
10178Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10179
10180 * configure.in: If configured -with-stabs on any target, add
10181 stabsdirs to configdirs.
10182
10183Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10184
10185 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10186 fun" so pattern does not match the command itself.
10187
10188Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10189
10190 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10191
10192Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10193
10194 * gdb.t17/interrupt.exp: Test for more things.
10195
10196Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10197
10198 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10199 compiler arranges the code and line numbers.
10200
10201 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10202
10203Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10204
10205 * gdb.t00/help.exp: Increase expect input buffer size.
10206
10207Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10208
10209 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10210
10211 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10212
10213 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10214
10215 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10216 [0-9]*, not just [0-9].
10217
10218Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10219
10220 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10221
10222 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10223
10224Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10225
10226 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10227
10228Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10229
10230 * gdb.t06/signals.c: Add xfails for sun3.
10231
10232 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10233
10234 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10235 test_stepping tests.
10236
10237Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10238
10239 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10240
10241 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10242
10243 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10244 rather than actually putting it through cpp twice.
10245
10246 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10247
10248Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10249
10250 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10251 no longer needed.
10252
10253Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10254
10255 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10256
10257 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10258 C++ features prints as "struct", make it a pass, not an xfail.
10259
10260Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10261
10262 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10263 Don't require VA to print as "class" rather than "struct".
10264
10265Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10266
10267 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10268
10269Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10270
10271 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10272
10273Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10274
10275 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10276 order.
10277
10278Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10279
10280 * gdb.t16/printcmds.exp: Add printf tests.
10281
10282 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10283
10284 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10285
10286Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10287
10288 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10289 pass counts, to counteract any existing or future setup_xfails.
10290
10291Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10292
10293 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10294 {BEGIN,END}_COMMON for common block instead of STAB.
10295 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10296
10297 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10298 intp_var should be N_GSYM not N_LSYM.
10299 wierd-aout.S: Use a label for the value of the N_SO.
10300 wierd.def: Remove all backslashes.
10301 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10302
10303Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10304
10305 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10306 get the expected next to inheritance3.
10307
10308Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10309
10310 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10311 now that gcc-2.4 gets it right.
10312
10313Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10314
10315 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10316
10317 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10318 generating comp-info.exp which works for cross-compilation.
10319
10320Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10321
10322 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10323 "*-*-sysv4.*".
10324
10325Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10326
10327 * gdb.t01/run.exp: Start with a fresh gdb.
10328 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10329 SVR4.x.
10330
10331Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10332
10333 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10334 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10335 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10336 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10337 things to remove.
10338
10339Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10340
10341 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10342 test cases from bug reports.
10343
10344Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10345
10346 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10347 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10348 avoid spurious xfails.
10349 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10350 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10351 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10352
10353Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10354
10355 * gdb.t00/teststrategy.exp: Rework to provide more useful
10356 description of each test, fix problem with systems that define
10357 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10358 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10359 results for "next over recursive call" so timeouts aren't taken
10360 by error.
10361
10362Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10363
10364 * gdb.t12/scope.exp: Test printing of variables before run.
10365
10366 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10367 printed in wrong order due to sorting.
10368
10369Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10370
10371 * gdb.t00/teststrategy.exp: Fix expected results for printing
10372 user entered string constant. Is array of char, prints with no
10373 address.
10374
10375 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10376 commands.
10377 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10378 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10379 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10380 of struct of char arrays.
10381 * gdb.t00/radix.exp: New tests for radix commands.
10382
10383Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10384
10385 * gdb.t16/printcmd.exp: Print a variable before running program
10386 (with xfail for AIX).
10387
10388Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10389
10390 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10391
10392 * gdb.t16/printcmd.exp: Don't print variables before running program.
10393
10394 * gdb.t06/break.exp: Don't require envp argument to main.
10395
10396 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10397
10398 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10399 Add xfails for rs6000.
10400
10401 * gdb.t02/whatis.exp: Change other tests not to re-test something
10402 we already tested.
10403
10404 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10405 each type used has a variable of that type.
10406
10407Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10408
10409 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10410
10411Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10412
10413 * configure.in: change srctrigger to be a file, not a directory
10414
10415Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10416
10417 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10418
10419 * gdb.t11/list.exp: Fixed a couple of typos.
10420
10421Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10422
10423 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10424 is fixed and PR is closed.
10425 * gdb.t16 (gdbme.c): Add simple test string variable.
10426 * gdb.t16 (printcmds.exp): Add tests with simple test string
10427 variable, primarily for boundaries on "set print elements".
10428
10429Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10430
10431 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10432 Make leading 0's optional and don't expect a tab in the middle
10433 of the number.
10434
10435 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10436
10437 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10438 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10439 don't end command passed to gdb_test with newline.
10440
10441 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10442 signed keyword away, don't expect signed bitfields to be signed.
10443
10444 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10445 printing with only as many 1's as are in the field as well as printing
10446 with 32 1's (see comment).
10447
10448Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10449
10450 * gdb.t00/default.exp: Start with a fresh gdb.
10451 * configure.in (configdirs): Remove gdb.t31 until the chill
10452 compiler works again. It no longer is able to find chillrt0
10453 since it isn't in libchill.a anymore.
10454 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10455 wierd.o, make more modular.
10456 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10457 spurious newlines that caused problems.
10458
10459Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10460
10461 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10462 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10463 gdb.stabs/wierd.{exp,def}: Many new tests.
10464
10465 * gdb.t00/default.exp: update info line for new message.
10466
10467 * gdb.t02/{whatis.exp,gdbme.c}:
10468 Test that "char *" doesn't print as "caddr_t".
10469
10470Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10471
10472 * gdb.t00/help.exp: Use .* in place of some help messages which
10473 just changed.
10474 gdb.t00/default.exp: Update "info frame" test for new message.
10475 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10476 Remove some xfails
10477
10478Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10479
10480 * gdb.t03/{gdbme.c,ptype.exp}:
10481 Add tests for typedef'd struct and union without tags.
10482 Also check "whatis" on a variable of a typedef'd enum without a tag.
10483
10484 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10485 PRMS 1823; the bug still exists but isn't reproduced by this test
10486 anymore), and remove rs6000 XFAIL (the bug is fixed).
10487
10488 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10489 duplicated from whatis.exp. For those that are left, accept
10490 "long", "long int", or "int" for long variables (whatis.exp already
10491 has an XFAIL for "int", so no need to fail it here).
10492
10493 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10494 Deal with GCC's names for types now that GDB uses the compiler's names.
10495
10496 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10497 setup_xfail's for sunos4. If we #defined the signed keyword away,
10498 don't expect GDB to know that char it is signed.
10499
10500 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10501
10502Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10503
10504 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10505 should work on any system, regardless of debugging format.
10506 * gdb.t21/demangle.exp: Move to gdb.t24.
10507 * gdb.t24/demangle.exp: Move from gdb.t21.
10508 * gdb.t24/{Makefile.in, configure.in}: New files.
10509
10510Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10511
10512 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10513 * gdb.stabs: New directory.
10514
10515Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10516
10517 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10518 not just "Quit anyway?".
10519
10520Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10521
10522 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10523 that all setup_xfails are immediately followed by clear_xfails.
10524
10525Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10526
10527 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10528 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10529 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10530 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10531 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10532 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10533 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10534 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10535 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10536 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10537 gdb.t31/chillvars.exp, lib/gdb.exp:
10538 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10539 bug-gdb@prep.ai.mit.edu.
10540
10541Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10542
10543 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10544 with 0.0, not integer 0.
10545
10546Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10547
10548 * gdb.t06/break.exp: Update for "Kill the program" message change.
10549
10550Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10551
10552 * Makefile.in (GDBFLAGS): Set to -nx.
10553 * Makefile.in (site.exp): Use GDBFLAGS.
10554
10555Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10556
10557 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10558 Makefiles.
10559 (check): depend on just-check.
10560 (just-check): added so that tests can be run without a noop
10561 build pass.
10562
10563Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10564
10565 Switch to using configure's configdirs.
10566 * Makefile.in (Makefile): add configure.in dependency.
10567 (SUBDIRS): removed redundant assignment.
10568 * configure.in: switch subdirs assignment to configdirs.
10569 * gdb.t*/configure.in: new files.
10570
10571Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10572
10573 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10574 works.
10575
10576Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10577
10578 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10579 in explicit rules. Apparently this is not supported by some makes.
10580
10581Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10582
10583 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10584
10585Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10586
10587 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10588 disappeared.
10589
10590Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10591
10592 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10593
10594Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10595
10596 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10597 watchpoint problem that is now fixed.
10598 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10599 uninitialized convenience variables.
10600 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10601 structures.
10602
10603Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10604
10605 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10606 which causes expect to get out of sync with gdb on long output
10607 from help set.
10608 * gdb.t09/corefile.exp: Make expected pattern for core file
10609 failing signal and frame output format less sun specific.
10610
10611Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10612
10613 * gdb.t31/chillvars.exp: Add and remove initial dummy
10614 breakpoint, so that symbol table is forced in.
10615 (Needed at least on Sunos4, though it seems not SVR4.)
10616 * gdb.t31/chillvars.exp: Update for changed output format.
10617
10618Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10619
10620 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10621
10622Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10623
10624 * Makefile.in: Added --srcdir when invoking runtest, removed the
10625 need for a local config file. (optional now)
10626
10627Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10628
10629 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10630 failure count used to force early termination. Add some more
10631 expected failures for gnu style demangling.
10632
10633Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10634
10635 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10636 pmi variable from gdb.t20/gdbme to get optimized away.
10637 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10638 Check for written corefile upon timeout _and_ eof.
10639
10640Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10641
10642 * config/unix-gdb.exp: Add missing return 0.
10643
10644Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10645
10646 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10647 test termination.
10648
10649Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10650
10651 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10652 disappeared.
10653
10654Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10655
10656 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10657 time as i860 support works.
10658
beb998c6 10659 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10660 "backtrace 100\r" rather than just "backtrace\r", to match last
10661 change.
10662
10663Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10664
10665 * config/udi-gdb.exp (gdb_exit): Remove close command.
10666 (gdb_target_udi): New procedure to set the UDI target.
10667 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10668 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10669 Added waits for prompts after several question responses. Added
10670 some more responses used by a29k-amd-udi-gdb.
10671 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10672 pass different arguments, restart UDI connection after program
10673 completion.
10674 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10675 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10676 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10677 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10678 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10679 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10680 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10681 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10682 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10683 after program completion.
10684 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10685 compiled with a SELECT_VECS setting.
10686 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10687 infinite recursion.
10688
10689 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10690 Added checks for COFF results, and made them expected failures for
10691 all targets. It would be better to make them expected failures
10692 for COFF targets only.
10693
10694Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10695
10696 * Makefile.in: add null dvi target, don't bother to recurse
10697 through test directories for info and install-info; rename
10698 $(datadir) to be dejagnu instead of deja-gnu
10699
10700Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10701
10702 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10703 compiler to coredump.
10704 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10705 code.
10706
10707Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10708
10709 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10710 coredump.
10711 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10712 code.
10713
10714Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10715
10716 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10717 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10718 which in a shell. Deletes xgdb when done.
10719 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10720 Tests the return from the "set height" or "set width" commands.
10721 Added a few return codes where needed.
10722
10723Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10724
10725 * Makefile.in (SUBDIRS): Add gdb.t17.
10726 * configure.in (subdirs): Add gdb.t17.
10727 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10728 files to test gdb's calling of functions in the inferior with
10729 the correct arguments and gdb's ability to retrieve any
10730 result returned.
10731
10732Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10733
10734 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10735 may be called after gdb goes away. Previous versions of expect
10736 needed these to avoid file descriptor leaks, but they cause
10737 errors with the current revision of expect.
10738 * gdb.t00/gdbvars.exp: Use -re on expected output after
10739 setting sevenbit-strings.
10740 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10741 to set sevenbit-strings consistent across tests.
10742 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10743 set sevenbit-strings consistent across tests.
10744
10745Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10746
10747 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10748 expected output to match current "expect" expectations.
10749
10750Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10751
10752 * gdb.t00/default.exp: Change expected output for default "source"
10753 command, to match new gdb behavior which requires a filename to
10754 source.
10755
10756Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10757
10758 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10759 expected fail for i486-*-* that misses the marker2 function.
10760 * gdb.t10/crossload.exp (bfddefault): Allow successful
10761 recognition of a format to pass even if no symbols are found.
10762 Explicitly catch failures where the format is not recognized
10763 or is ambiguous, and add the reason to the fail message.
10764 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10765 the cause is and invalid target and add reason to failure message.
10766 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10767 elf32-i386, elf32-sparc, and elf32-i860.
10768 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10769 Set up expected failure for 'filename'::variable scope resolution,
10770 which is now apparently broken on all targets.
10771 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10772 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10773 gdb.t23/templates.exp: Change failure for missing binfile into
10774 just a warning.
10775 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10776 references.
10777
10778Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10779
10780 * gdb.t00/default.exp: Add expected output for default "source"
10781 command, to match new gdb behavior.
10782 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10783
10784Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10785
10786 * config/*-gdb.exp: returns an error, rather than exiting on
10787 internal errors.
10788
10789Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10790
10791 * gdb.t03/gdbme.c: Add pointer to struct variable.
10792 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10793 referencing struct members.
10794
10795Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10796
10797 * configure.in (mips-idt-ecoff): New target.
10798 * config/mips-gdb.exp: New file for remote board using MIPS remote
10799 debugging protocol.
10800
10801 * Redid configuration scheme. Removed gdb.t*/configure.in.
10802 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10803 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10804 distclean targets. Built executables via .o files. Adjusted
10805 tests to account for source files in $(srcdir) rather than
10806 $(objdir).
10807 * lib/gdb.exp (runto): Don't expect () after the function name,
10808 because it may have arguments.
10809
10810Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10811
10812 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10813 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10814 expected failures for mips-idt-* and mips-sgi-*.
10815 * gdb.t00/default.exp (attach): Kill process if requested.
10816 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10817 that does not read core files.
10818 * gdb.t01/run.exp: Removed checks for exit status code.
10819 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10820 it is linked in.
10821 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10822 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10823 appropriate, rather than doing it by hand.
10824 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10825 execution.
10826 * gdb.t10/crossload.exp: Kill existing program if needed.
10827 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10828 appropriate, rather than doing it by hand. Always increase
10829 timeout for this test, not just for VxWorks.
10830
10831Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10832
10833 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10834 of Chill STRUCT types and STRUCT values.
10835 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10836 than "char".
10837 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10838 struct2): New struct definitions and initializations to test
c906108c
SS
10839 simple Chill STRUCT types.
10840
10841Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10842
10843 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10844 the null byte at the end of strings.
10845 * gdb.t00/default.exp: Make show version insensitive to copyright
10846 date.
10847 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10848 to avoid dependencies on target char signedness.
10849 * gdb.t16/printcmds.exp: Update expected results for explicitly
10850 unsigned char.
10851 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10852 now work.
10853 * gdb.t21/demangle.exp: Add many more patterns for template
10854 demangling, most of them being expected failures.
10855 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10856 string we are matching for, to match on the whole string.
10857 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10858 and fix a whole bunch that had incorrect expected output but were
10859 passing anyway because of the bug in "proc demangle".
10860 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10861 type.
10862 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10863
10864Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10865
10866 * gdb/testsuite: made modifications to testcases, etc., to allow
10867 them to work properly given the reorganization of deja-gnu and the
10868 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10869
10870Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10871
10872 * gdb/testsuite: Initial creation of gdb/testsuite.
10873 Migrated dejagnu testcases and support files for testing nm to
10874 gdb/testsuite from deja-gnu. These files were moved "as is"
10875 with no modifications. This migration is part of a major overhaul
10876 of dejagnu. The modifications to these testcases, etc., which
10877 will allow them to work with the new version of dejagnu will be
10878 made in a future update.
10879\f
10880Local Variables:
ef043731 10881mode: change-log
c906108c
SS
10882left-margin: 8
10883fill-column: 74
10884version-control: never
10885End: