Use consistent error messages for missing files.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
0b915e9c
EZ
12003-11-06 Elena Zannoni <ezannoni@redhat.com>
2
3 Reported by Jim Ingham <jingham@apple.com>:
4 * gdb.base/annota1.exp: Match at least one occurrence of the
5 signal handler annotation.
6
d7e4b55f
EZ
72003-11-06 Elena Zannoni <ezannoni@redhat.com>
8
9 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
10 as well as 'Watchpoint'.
11
2fe4e8d0
MC
122003-11-05 Michael Chastain <mec@shout.net>
13
14 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
15
6ef88553
KW
162003-11-03 Kris Warkentin <kewarken@qnx.com>
17
18 * gdb.arch/gdb1291.c: New test file.
19 * gdb.arch/gdb1291.exp: New test script.
20 * gdb.arch/gdb1431.c: New test file.
21 * gdb.arch/gdb1431.exp: New test script.
22
ae7dc4d8
MC
232003-10-22 Michael Chastain <mec@shout.net>
24
25 * gdb.mi/pthreads.c: Add copyright notice.
26
c39d7427
MC
272003-10-22 Michael Chastain <mec@shout.net>
28
29 * gdb.threads/pthreads.c: Add copyright notice.
30
8b7d96c1
MC
312003-10-20 Michael Chastain <mec@shout.net>
32
33 * gdb.base/gdb1056.exp: New test script.
34
d1d69fdd
DJ
352003-10-13 Daniel Jacobowitz <drow@mvista.com>
36
37 * gdb.threads/killed.exp: Use gdb_run_cmd.
38
7d605576
DJ
392003-10-13 Daniel Jacobowitz <drow@mvista.com>
40
41 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
42 create a core file.
43 * gdb.threads/gcore-thread.exp: Likewise.
44
618ec112
CV
452003-10-13 Corinna Vinschen <vinschen@redhat.com>
46
47 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
48 type, based on char type.
49 (struct bit_flags_short_t): New bitfield type, based on short type.
50 (init_bit_flags_char): New fuction.
51 (init_bit_flags_short): Ditto.
52 (print_bit_flags_char): Ditto.
53 (print_bit_flags_short): Ditto.
54 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
55
9367a73c
MC
562003-10-11 Michael Chastain <mec@shout.net>
57
58 * gdb.base/call-rt-st.exp: Update copyright year.
59
1decf120
KI
602003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
61
62 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
63 * gdb.disasm/sh3.s: Ditto.
64
5445b2ae
DJ
652003-10-07 Daniel Jacobowitz <drow@mvista.com>
66
67 * gdb.threads/switch-threads.exp: New test.
68 * gdb.threads/switch-threads.c: New source file.
69
aec24853
CV
702003-10-07 Corinna Vinschen <vinschen@redhat.com>
71
72 * gdb.base/ending-run.exp: Add sh specific case.
73
adc7428d
AC
742003-10-06 Andrew Cagney <cagney@redhat.com>
75
76 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
77 * gdb.disasm/mn10200.exp: Delete obsolete file.
78
c9d37158
DJ
792003-09-29 Daniel Jacobowitz <drow@mvista.com>
80
81 * ChangeLog: Correct an entry command.exp -> commands.exp.
82 * gdb.base/commands.exp (bp_deleted_in_command_test)
83 (temporary_breakpoint_commands): Check noargs.
84
79c2c32d
DC
852003-09-25 David Carlton <carlton@kealia.com>
86
87 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
88 of some print tests, where appropriate. Add tests for C::D::cd,
89 E::ce, F::cXfX, G::XgX.
90 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
91
594e6d67
RE
922003-09-25 Richard Earnshaw <rearnsha@arm.com>
93
94 * lib/java.exp (java_init): Import target_alias before using it.
95
10f0d451
DC
962003-09-25 David Carlton <carlton@kealia.com>
97
98 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
99
274bcba0
EZ
1002003-09-23 Elena Zannoni <ezannoni@redhat.com>
101
102 * gdb.base/selftest.exp: Accomodate more instruction reordering
103 weirdness.
104
cdbf20f7
MC
1052003-09-17 Michael Chastain <mec@shout.net>
106
107 * gdb.cp/gdb1355.exp: New file.
108 * gdb.cp/gdb1355.c: New file.
109
71e06f80
CV
1102003-09-15 Corinna Vinschen <vinschen@redhat.com>
111
112 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
113 * gdb.asm/sh.inc: New file.
114
5c4e30ca
DC
1152003-09-11 David Carlton <carlton@kealia.com>
116
bd45b7af
DC
117 * gdb.cp/namespace.exp: Add tests for namespace types.
118 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
119 (test_namespace): New.
120
1c199746
EZ
1212003-09-11 Elena Zannoni <ezannoni@redhat.com>
122
123 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 124 * gdb.stabs/weird.exp: Ditto.
1c199746 125
04ed252f
MC
1262003-09-08 Michael Chastain <mec@shout.net>
127
128 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
129
d8a2d9e7
MC
1302003-09-07 Michael Chastain <mec@shout.net>
131
132 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
133 'parse error'.
134
161afb24
MK
1352003-09-07 Mark Kettenis <m.kettenis@osp.nl>
136
137 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
138
49f2741a
MC
1392003-08-30 Michael Chastain <mec@shout.net>
140
141 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
142 * gdb.gdb/observer.exp: Ditto.
143 * gdb.gdb/xfullpath.exp: Ditto.
144
8afa723e
MK
1452003-08-29 Mark Kettenis <kettenis@gnu.org>
146
147 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
148 *-*-*bsd*.
149
f31dfe3b
JJ
1502003-08-28 Jeff Johnston <jjohnstn@redhat.com>
151
152 * gdb.base/dump.exp: Skip for ia64.
153
4630e498
JJ
1542003-08-25 Jeff Johnston <jjohnstn@redhat.com>
155
156 * gdb.asm/asm-source.exp: Add ia64 support.
157 * gdb.asm/ia64.inc: New file.
158
1105b7ef
MC
1592003-08-22 Michael Chastain <mec@shout.net>
160
161 * gdb.cp: New directory.
162 * gdb.cp/*: Copy from gdb.c++/*.
163 * gdb.c++/*: Remove.
164 * Makefile.in: Change gdb.c++ to gdb.cp.
165 * configure.in: Ditto.
166 * configure: Regnerate.
167
c945b932
MK
1682003-08-18 Mark Kettenis <kettenis@gnu.org>
169
170 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
171 * gdb.arch/i386-prologue.c (gdb1338): Add function.
172
2b66634b
DJ
1732003-08-17 Daniel Jacobowitz <drow@mvista.com>
174
175 * mi-var-display.exp (-var-list-children weird): Accept function
176 pointers with argument types.
177 * mi1-var-display.exp (-var-list-children weird): Likewise.
178 * mi2-var-display.exp (-var-list-children weird): Likewise.
179
a356f73b
DJ
1802003-08-17 Daniel Jacobowitz <drow@mvista.com>
181
182 * gdb.base/annota3.exp: Add missing newline.
183
483417b8
MC
1842003-08-06 Michael Chastain <mec@shout.net>
185
186 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
187
c99c59c3
MS
1882003-08-12 Michael Snyder <msnyder@redhat.com>
189
190 * gdb.base/float.exp: Add test for SH.
191
55ed7501
MK
1922003-08-10 Mark Kettenis <kettenis@gnu.org>
193
194 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
195
1a371f2e
EZ
1962003-08-07 Elena Zannoni <ezannoni@redhat.com>
197
198 * gdb.base/completion.exp: Remove reduntant completion test
199 on filename.
200
e0f353ce
EZ
2012003-08-07 Elena Zannoni <ezannoni@redhat.com>
202
203 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
204 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
205 gdb.trace/save-trace.exp: Make sure that full pathnames are
206 escaped correctly.
207
5710a1af
EZ
2082003-08-07 Elena Zannoni <ezannoni@redhat.com>
209
210 * configure.in: Don't generate config.h from config.hin.
211 * configure: Regenerate.
212 * config.hin: Remove file.
213 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
214 * gdb.threads/pthreads.c: Ditto.
215
dcd81ce9
DJ
2162003-08-07 Daniel Jacobowitz <drow@mvista.com>
217
218 From Kei Sakamoto <sakamoto.kei@renesas.com>:
219 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
220 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
221 Replace ld24 with seth/add3.
222
6009d884
AC
2232003-08-02 Andrew Cagney <cagney@redhat.com>
224
225 * gdb.base/annota3.exp: New file.
226 * gdb.base/annota3.c: New file.
227 * gdb.c++/annota3.exp: New file.
228 * gdb.c++/annota3.cc: New file.
229
51514e06
MC
2302003-07-29 Michael Chastain <mec@shout.net>
231
232 * gdb.threads/tls.c (spin): Check errno only if sem_wait
233 actually failed.
234 (do_pass): Likewise.
235 * gdb.threads/tls.exp: Always initialize no_of_threads.
236
4ee6625b
DJ
2372003-07-27 Daniel Jacobowitz <drow@mvista.com>
238
239 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
240 pattern.
241 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
242 * gdb.threads/tls.exp: Recognize one case of the host library not
243 supporting TLS.
244
225f2bf6
AC
2452003-07-27 Andrew Cagney <cagney@redhat.com>
246
247 * gdb.base/fileio.exp: Use SH when running commands using
248 remote_exec.
249
bcb27c9f
DJ
2502003-07-24 Daniel Jacobowitz <drow@mvista.com>
251
252 From Kei Sakamoto <sakamoto.kei@renesas.com>:
253 * gdb.base/relocate.c (dummy): New padding array.
254
3d67be83
MS
2552003-07-22 Michael Snyder <msnyder@redhat.com>
256
257 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
258
259 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
260 patterns to be more general, accepting old and new output.
261 Some output chars (such as '+') also must be quoted.
262 Some addresses are displayed numerically instead of
263 symbolically.
264
57ba3b85
MS
2652003-07-23 Michael Snyder <msnyder@redhat.com>
266
686d097c
MS
267 * gdb.base/return2.exp: Don't test long-long return.
268
57ba3b85
MS
269 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
270 * gdb.disasm/t01_mov.exp: Ditto.
271 * gdb.disasm/t02_mova.s: Ditto.
272 * gdb.disasm/t02_mova.exp: Ditto.
273 * gdb.disasm/t03_add.s: Ditto.
274 * gdb.disasm/t03_add.exp: Ditto.
275 * gdb.disasm/t04_sub.s: Ditto.
276 * gdb.disasm/t04_sub.exp: Ditto.
277 * gdb.disasm/t05_cmp.s: Ditto.
278 * gdb.disasm/t05_cmp.exp: Ditto.
279 * gdb.disasm/t06_ari2.s: Ditto.
280 * gdb.disasm/t06_ari2.exp: Ditto.
281 * gdb.disasm/t07_ari3.s: Ditto.
282 * gdb.disasm/t07_ari3.exp: Ditto.
283 * gdb.disasm/t08_or.s: Ditto.
284 * gdb.disasm/t08_or.exp: Ditto.
285 * gdb.disasm/t09_xor.s: Ditto.
286 * gdb.disasm/t09_xor.exp: Ditto.
287 * gdb.disasm/t10_and.s: Ditto.
288 * gdb.disasm/t10_and.exp: Ditto.
289 * gdb.disasm/t11_logs.s: Ditto.
290 * gdb.disasm/t11_logs.exp: Ditto.
291 * gdb.disasm/t12_bit.s: Ditto.
292 * gdb.disasm/t12_bit.exp: Ditto.
293 * gdb.disasm/t13_otr.s: Ditto.
294 * gdb.disasm/t13_otr.exp: Ditto.
295
e00759ef
EZ
2962003-07-22 Elena Zannoni <ezannoni@redhat.com>
297
298 * gdb.threads/tls.exp :Add kfail for 'info address' case.
299
8bc2021f
EZ
3002003-07-22 Elena Zannoni <ezannoni@redhat.com>
301
302 * gdb.threads/tls.c : New file.
303 * gdb.threads/tls.exp : New file.
304 * gdb.threads/tls-main.c : New file.
305 * gdb.threads/tls-shared.c : New file.
306 * gdb.threads/tls-shared.exp : New file.
307
89320c4c
AS
3082003-07-22 Andreas Schwab <schwab@suse.de>
309
310 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
311
180dea7c
AS
3122003-07-20 Andreas Schwab <schwab@suse.de>
313
314 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
315 due to insn reordering.
316
0714963c
AC
3172003-07-15 Andrew Cagney <cagney@redhat.com>
318
319 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
320
98a23b3f
MC
3212003-07-15 Michael Chastain <mec@shout.net>
322
323 * gdb.base/gdb1250.exp: New file.
324 * gdb.base/gdb1250.c: New file.
325
27e417a2
ML
3262003-07-09 Michal Ludvig <mludvig@suse.cz>
327
328 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
329 expansion of size_t to 'unsigned long', not only to 'unsigned'.
330
8bc2021f
EZ
3312003-07-09 Elena Zannoni <ezannoni@redhat.com>
332
333 * gdb.threads/tls.c: New file.
334 * gdb.threads/tls.exp: New file.
335 * gdb.threads/tls-main.c: New file.
336 * gdb.threads/tls-shared.c: New file.
337 * gdb.threads/tls-shared.exp: New file.
338
d99968dc
EZ
3392003-07-09 Elena Zannoni <ezannoni@redhat.com>
340
341 * gdb.base/annota1.exp: Make sure that we properly escape the
342 full path of the source file. Xfail more permissive patterns,
343 due to a compiler debug info problem.
344
83876b3b
AS
3452003-07-07 Andreas Schwab <schwab@suse.de>
346
2705e972
AS
347 * gdb.asm/m68k.inc: New file.
348 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
349
83876b3b
AS
350 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
351 arguments"): Also match negative number.
352
353 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
354
3a871b37
DJ
3552003-07-03 Daniel Jacobowitz <drow@mvista.com>
356
357 * gdb.base/store.c (charest): New typedef.
358 (add_char): Rename to add_charest, update.
359 (wack_char): Rename to wack_charest, update types. Return l + r
360 to keep r live across the call.
361 (wack_short, wack_int, wack_long, wack_longest, wack_float)
362 (wack_double, wack_doublest): Return l + r to keep r live across
363 the call.
364 * gdb.base/store.exp: Accomodate store.c changes.
365
b2a7f303
DC
3662003-06-30 David Carlton <carlton@kealia.com>
367
368 * gdb.c++/maint.exp (test_invalid_name): New.
369 (test_first_component): Add tests for invalid names.
370
3c6cb4a1
MC
3712003-06-29 Michael Chastain <mec@shout.net>
372
373 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
374 output of '<VTT for class>' for virtual base classes.
375
f1c2644b
DJ
3762003-06-29 Daniel Jacobowitz <drow@mvista.com>
377
378 * gdb.base/completion.exp: Tab-complete "complet" instead of
379 "compl".
380 * gdb.base/complex.exp, gdb.base/complex.c: New files.
381
18080350
DJ
3822003-06-29 Daniel Jacobowitz <drow@mvista.com>
383
384 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
385 * gdb.base/volatile.exp: Likewise.
386
f56973f8
DJ
3872003-06-29 Daniel Jacobowitz <drow@mvista.com>
388
389 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
390 gdb/1265.
391
3922003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
393 Daniel Jacobowitz <drow@mvista.com>
394
395 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
396 initial line count of 'captured_main' from 26 to 32.
397 (test_with_self): Allow xmalloc call to be interleaved with the
398 preceding two lines.
399
e766d4d6
JB
4002003-06-24 Joel Brobecker <brobecker@gnat.com>
401
402 * gdb.base/bang.exp: New testcase.
403
f125c9a4
JB
4042003-06-23 Joel Brobecker <brobecker@gnat.com>
405
406 * gdb.base/langs.exp: Add some tests for the "minimal" language
407 support.
408
6e25beaf
EZ
4092003-06-23 Elena Zannoni <ezannoni@redhat.com>
410
411 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
412 the testcase.
413
2f816dda
DJ
4142003-06-22 Daniel Jacobowitz <drow@mvista.com>
415
416 * gdb.base/relocate.exp: Test add-symbol-file with a variable
417 offset.
418
db5a5748
DJ
4192003-06-22 Daniel Jacobowitz <drow@mvista.com>
420
421 * gdb.c++/pr-1210.cc: New file.
422 * gdb.c++/pr-1210.exp: New file.
423
1df0c130
DJ
4242003-06-21 Daniel Jacobowitz <drow@mvista.com>
425
426 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
427 000-exec-continue.
428
a92feac0
MK
4292003-06-15 Mark Kettenis <kettenis@gnu.org>
430
431 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
432 on *-*-*bsd* instead of *-*-freebsd*.
433
81a58f5b
AC
4342003-06-14 Andrew Cagney <cagney@redhat.com>
435
436 * gdb.base/store.exp: Test longest and doublest. Test all
437 parameters. Weaken return statement match.
438 * gdb.base/store.c: Add longest and doublest - aka long long and
439 long double functions. Put all parameters into local register
440 variables. Use negative values.
441
b257a0d3
AC
4422003-06-14 Andrew Cagney <cagney@redhat.com>
443
444 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
445 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
446 exit status.
447 * gdb.base/fileio.exp: Disable target when nointerrupts and
448 noinferiorio, instead of limiting it to remote. Use remote_exec
449 instead of system.
450
21c38304
JJ
4512003-06-12 Jeff Johnston <jjohnstn@redhat.com>
452
453 * gdb.base/float.exp: Add ia64 support.
454
1bcdb424
CV
4552003-06-12 Corinna Vinschen <vinschen@redhat.com>
456
457 * gdb.base/fileio.exp: Run only on remote targets.
458
6aeb981f
CV
4592003-06-10 Corinna Vinschen <vinschen@redhat.com>
460
461 * gdb.base/fileio.c: New file, testing File-I/O.
462 * gdb.base/fileio.exp: Ditto.
463
53df362e
RG
4642003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
465
466 * gdb.base/shreloc.exp: New file, check symbol values obtained from
467 shared objects after relocation at load time (gdb PR/1132).
468 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
469 as above, part of the shared object relocation test.
470
ffee1b46
MK
4712003-06-08 Mark Kettenis <kettenis@gnu.org>
472
b5ca3722
MK
473 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
474 fully filled history list.
475 * gdb.base/gdb_history: New file.
476
03ed860d
MK
477 * gdb.base/signals.exp: XFAIL "continue to func1" on
478 i*86-*-freebsd*.
479
ffee1b46
MK
480 * gdb.base/attach.exp: When trying to attach to a nonexistent
481 process, make it possible to specify the PID based on the target,
482 and do so for *-*-freebsd*.
483
d80dbb52
RH
4842003-06-02 Richard Henderson <rth@redhat.com>
485
486 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
487
6dd77b81
RH
4882003-06-02 Richard Henderson <rth@redhat.com>
489
490 * gdb.base/selftest.exp: Next over lim_at_start initialization.
491
f6347e16
RH
4922003-06-02 Richard Henderson <rth@redhat.com>
493
494 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
495
2c161407
DJ
4962003-06-01 Daniel Jacobowitz <drow@mvista.com>
497
498 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
499 of globalvar.
500
572eb746
MK
5012003-06-01 Mark Kettenis <kettenis@gnu.org>
502
503 * gdb.asm/asm-source.exp: Check for memory read errors in
504 disassembler test on *BSD too.
505
9e9617a5
RH
5062003-06-01 Richard Henderson <rth@redhat.com>
507
508 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
509 for .frame.
510 (gdbasm_call): Lose ldgp.
511 (gdbasm_startup): Add frame information.
512 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
513
7b34ad4e
MK
5142003-05-31 Mark Kettenis <kettenis@gnu.org>
515
516 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
517 i?86-*-*.
518
10059fdf
MK
5192003-05-30 Mark Kettenis <kettenis@gnu.org>
520
521 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
522 FreeBSD.
523
acf4b816
RH
5242003-05-29 Richard Henderson <rth@redhat.com>
525
526 * gdb.asm/alpha.inc: New file.
527 * gdb.asm/asm-source.exp: Use it.
528
e9ecd949
JB
5292003-05-29 Jim Blandy <jimb@redhat.com>
530
531 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
532 'core.PID'.
533
e3e5a4f3
JB
5342003-05-22 Jim Blandy <jimb@redhat.com>
535
536 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
537 backtrace.
538
72fe3d25
DC
5392003-05-20 David Carlton <carlton@math.stanford.edu>
540
541 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
542 this time.
543
58da2eb2
DC
5442003-05-19 David Carlton <carlton@bactrian.org>
545
546 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
547 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
548
1fcb5155
DC
5492003-05-19 David Carlton <carlton@bactrian.org>
550
551 * gdb.c++/namespace.exp: Add namespace scope and anonymous
552 namespace tests.
553 Bump copyright date.
554 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
555 (main): Call C::D::marker2.
556 * gdb.c++/namespace1.cc: New file.
557
85e85163
JJ
5582003-05-14 Jeff Johnston <jjohnstn@redhat.com>
559
560 Roland McGrath <roland@redhat.com>
561 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
562 there is no manager thread.
563
a25fbfec
JJ
5642003-05-08 Jeff Johnston <jjohnstn@redhat.com>
565
566 * gdb.threads/schedlock.exp: Remove assumption that all threads
567 will run in a particular small time slice. Also ensure we break
568 in one of the child threads rather than the main thread.
569
be375bae
JB
5702003-05-07 Jim Blandy <jimb@redhat.com>
571
09bf6082
JB
572 Add support for assembly source testing on the s390x.
573 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
574 architecture.
575 * gdb.asm/s390x.inc: New file.
576
be375bae
JB
577 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
578 succession of 'if' statements.
579
00905d52
AC
5802003-05-05 Andrew Cagney <cagney@redhat.com>
581
582 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
583
b1e29e33
AC
5842003-05-05 Andrew Cagney <cagney@redhat.com>
585
586 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
587 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
588
e33d66ec
EZ
5892003-05-02 Elena Zannoni <ezannoni@redhat.com>
590
591 * gdb.base/charset.exp: Update based on new behavior of set/show
592 charset commands.
593
2b6fd0d8
AC
5942003-05-01 Andrew Cagney <cagney@redhat.com>
595
596 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
597 variable do not give memory errors.
598
130cacce
AF
5992003-04-30 Adam Fedor <fedor@gnu.org>
600
601 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
602 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
603 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
604 gdb.objc/basicclass.m: : New files
605
606 * lib/gdb.exp (gdb_compile_objc): New procedure.
607
bea71854
DJ
6082003-04-27 Daniel Jacobowitz <drow@mvista.com>
609
610 * gdb.base/signals.exp: Make backtrace tests more specific.
611
0f20eeea
DC
6122003-04-23 David Carlton <carlton@bactrian.org>
613
614 * gdb.c++/maint.exp (test_first_component): Add tests for
615 'operator' in more locations.
616
c8c4d8dc
KB
6172003-04-16 Kevin Buettner <kevinb@redhat.com>
618
619 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
620
3fe60e3c
EZ
6212003-04-16 Elena Zannoni <ezannoni@redhat.com>
622
623 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
624 func marke' instead. Update test name.
625
9219021c
DC
6262003-04-15 David Carlton <carlton@math.stanford.edu>
627
628 * gdb.c++/maint.exp: New file.
629
5dd55bdd
EZ
6302003-04-14 Elena Zannoni <ezannoni@redhat.com>
631
632 * gdb.threads/schedlock.c: Change type of thread function argument
633 to long, to avoid warnings on 64-bit platforms.
634
00890572
EZ
6352003-04-14 Elena Zannoni <ezannoni@redhat.com>
636
637 * gdb.base/attach.exp: Add new message from ptrace in case of
638 attaching to nonexistent process.
639
93201743
JB
6402003-04-11 Jim Blandy <jimb@redhat.com>
641
642 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
643 gdb.c++/userdef.cc: Place comments on the lines to which the
644 marker function might return.
645 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
646 gdb.c++/userdef.exp: Look for those comments to check that we've
647 returned to the right place, instead of checking line numbers.
648
2a11c64d
EZ
6492003-04-11 Elena Zannoni <ezannoni@redhat.com>
650
651 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
652 match on sourcefile name, instead of directory name.
653
68ab8fc5
EZ
6542003-04-10 Elena Zannoni <ezannoni@redhat.com>
655
656 * gdb.base/completion.exp: Use string_to_regexp to match the
657 working directory name.
658
5624293a
JB
6592003-04-09 Jim Blandy <jimb@redhat.com>
660
661 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
662 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
663 after an inferior function call, report the failure, but allow the
664 test to continue.
665
f1f02ee4
SC
6662003-04-05 Stephane Carrez <stcarrez@nerim.fr>
667
668 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
669 with -DPROTOTYPES.
670
6eb79af0
SC
6712003-04-05 Stephane Carrez <stcarrez@nerim.fr>
672
673 * gdb.base/break.exp: Revert last patch.
674
8dfb4cf0
SC
6752003-04-04 Stephane Carrez <stcarrez@nerim.fr>
676
677 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
678 with -DPROTOTYPES.
679
ed4c619a
AC
6802003-04-02 Andrew Cagney <cagney@redhat.com>
681
682 * gdb.base/callfuncs.exp: Make "print add" messages unique.
683 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
684 matching directories by the name breakpoint.
685 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
686 Make "continue to marker1" consistent.
687 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
688 message consistent.
689 * lib/gdb.exp: Put "the program is no longer running", and "the
690 program exited" in parenthesis.
691 * lib/mi-support.exp: Ditto.
692
4e35d5f0
BR
6932003-04-02 Bob Rossi <bob_rossi@cox.net>
694
695 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
696
71900fe8
AC
6972003-03-29 Andrew Cagney <cagney@redhat.com>
698
699 * gdb.base/sizeof.c (main): Print the value of '\377'.
700 * gdb.base/sizeof.exp: Check the sign of '\377'.
701
c0655a16
MC
7022003-03-27 Michael Chastain <mec@shout.net>
703
704 * gdb.base/gdb1090.exp: New file.
705 * gdb.base/gdb1090.cc: New file.
706
5b2a3989
JB
7072003-03-27 J. Brobecker <brobecker@gnat.com>
708
709 * gdb.gdb/observer.exp: New regression test.
710
79876890
MC
7112003-03-27 Michael Chastain <mec@shout.net>
712
713 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
714 * gdb.base/ptype.exp: Likewise.
715
6eac95e3
CV
7162003-03-27 Corinna Vinschen <vinschen@redhat.com>
717
718 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
719
e8c71839
MC
7202003-03-26 Michael Chastain <mec@shout.net>
721
722 * gdb.base/ptype.exp: Actually use some typedef'd types.
723
71b10041
SC
7242003-03-21 Stephane Carrez <stcarrez@nerim.fr>
725
726 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
727 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
728
2512cf80
CV
7292003-03-20 Corinna Vinschen <vinschen@redhat.com>
730
731 * gdb.base/default.exp: Fix regular expression.
732
0d195a4f
CV
7332003-03-20 Corinna Vinschen <vinschen@redhat.com>
734
735 * gdb.base/args.exp: Fix regular expression.
736
8a2dbca8
CV
7372003-03-20 Corinna Vinschen <vinschen@redhat.com>
738
739 * gdb.base/help.exp: Allow Win32 child process.
740
bf028682
CV
7412003-03-20 Corinna Vinschen <vinschen@redhat.com>
742
743 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
744 when stepping out of main().
745
182dbe85
CV
7462003-03-20 Corinna Vinschen <vinschen@redhat.com>
747
748 * gdb.base/default.exp: Check for win32 specific message when calling
749 "run" without executable.
750
d67a6ba5
CV
7512003-03-20 Corinna Vinschen <vinschen@redhat.com>
752
753 * gdb.base/args.exp: Expect .exe in output.
754
a955b5bb
CV
7552003-03-20 Corinna Vinschen <vinschen@redhat.com>
756
757 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
758 Cygwin native.
759
bf6bad4b
AC
7602003-03-17 Andrew Cagney <cagney@redhat.com>
761
762 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
763 vector registes.
764 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
765 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
766
293e9a31
DC
7672003-03-17 David Carlton <carlton@math.stanford.edu>
768
769 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
770 test, for PR breakpoints/38.
771 Call test_watchpoint_and_breakpoint.
772 * gdb.base/watchpoint.c (func3): New function.
773 (main): Call func3.
774
5330f2db
DC
7752003-03-04 David Carlton <carlton@math.stanford.edu>
776
777 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
778 Garply<Garply<char> >:: garply".
779 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
780 with respect to PR c++/1111; note also PR c++/1113.
781 (test_template_breakpoints): KFAIL "constructor breakpoint" with
782 respect to PR c++/1062.
783 KFAIL "destructor breakpoint" with respect to PR c++/1112.
784
6ece72da
DC
7852003-03-03 David Carlton <carlton@math.stanford.edu>
786
787 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
788 with respect to PR c++/57.
789 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
790 c++/826.
791 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
792 respect to PR c++/57.
793
85ca1584
DC
7942003-03-03 David Carlton <carlton@math.stanford.edu>
795
796 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
797 respect to PR c++/33 into FAILs.
798
98e9c5b8
MC
7992003-03-03 Michael Chastain <mec@shout.net>
800
7bedbf27
MC
801 * configure.in: Update copyright years.
802
8032003-03-03 Michael Chastain <mec@shout.net>
804
805 * Makefile.in: Update copyright years.
98e9c5b8 806
f683e100
DC
8072003-02-28 David Carlton <carlton@math.stanford.edu>
808
809 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
810 print class instead of struct and/or superfluous protection
811 specifiers, as long as the resulting output is equivalent to the
812 source code.
813 Delete FIXME from end of messages on tests that don't need
814 fixing.
815
a9e0cf2c
DC
8162003-02-28 David Carlton <carlton@math.stanford.edu>
817
818 * gdb.c++/templates.exp (do_tests): Allow const in the two
819 Foo<volatile char *>::foo tests.
820
e8d359df
MS
8212003-02-27 Michael Snyder <msnyder@redhat.com>
822
823 * gdb.base/restore.c (main): Return zero, so exit code
824 will be consistant.
825
0b71dc91
DC
8262003-02-26 David Carlton <carlton@math.stanford.edu>
827
828 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
829 char *>::foo" test with respect to PR c++/33. Create a new test
830 which is identical to that one except that it doesn't put the
831 space between the "char" and the "*"; KFAIL it, too.
832
dd14ab43
DC
8332003-02-26 David Carlton <carlton@math.stanford.edu>
834
835 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
836 template types into either PASSes or KFAILs (corresponding to PR
837 c++/57). Tweak indentation. Update copyright.
838
1146c7f1
SC
8392003-02-23 Stephane Carrez <stcarrez@nerim.fr>
840
841 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
842
74641dfb
MC
8432003-02-13 Michael Chastain <mec@shout.net>
844
845 * gdb.base/exprs.exp: Remove i960 remnants.
846 * gdb.base/funcargs.exp: Likewise.
847 * gdb.base/list.exp: Likewise.
848 * gdb.base/ptype.exp: Likewise.
849
559cd2d0
DC
8502003-02-14 David Carlton <carlton@math.stanford.edu>
851
852 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
853 pEe->D::vg()" from XFAIL to KFAIL.
854
c4f90d87
JM
8552003-02-13 Jason Molenda (jmolenda@apple.com)
856
857 * gdb.base/maint.exp: Update maint print statistics regexp to include
858 new entries.
859
cbc4d97c
MC
8602003-02-13 Michael Chastain <mec@shout.net>
861
862 * gdb.c++/inherit.exp: Remove call to get_debug_format.
863
40f235b7
MC
8642003-02-12 Michael Chastain <mec@shout.net>
865
866 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
867 * gdb.c++/inherit.exp: Likewise.
868 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
869 * gdb.c++/templates.exp: Likewise.
870 * gdb.c++/virtfunc.exp: Likewise.
871
c56716b0
JM
8722003-02-06 Jason Molenda (jason-cl@molenda.com)
873
874 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
875 why the code is written that way.
876
070afcf8
MC
8772003-02-05 Michael Chastain <mec@shout.net>
878
879 * gdb.base/dump.exp: Add missing copyright line.
880
5d0331e5
JM
8812003-02-05 Jason Molenda (jason-cl@molenda.com)
882
f7ae6d3e 883 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
884 at the beginning so the breakpoint doesn't get set on the loop.
885
92851186
MC
8862003-02-05 Michael Chastain <mec@shout.net>
887
888 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
889 output for configurations with gcc 2.95.3.
890
cbf1e085
AC
8912003-02-05 Keith Seitz <keiths@redhat.com>
892 Andrew Cagney <ac131313@redhat.com>
893
894 * gdb.mi/mi-cli.exp: New file.
895
29518e1e
MC
8962003-02-04 Michael Chastain <mec@shout.net>
897
898 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
899 Call perror and then continue.
900
5af1d5f3
MC
9012003-02-03 Michael Chastain <mec@shout.net>
902
903 * gdb.c++/pr-1023.cc: New file.
904 * gdb.c++/pr-1023.exp: New file.
905
6b549786
JB
9062003-02-05 Jim Blandy <jimb@redhat.com>
907
908 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
909 it's local to foobar. Check for it there, and check that it's not
910 present in main.
911 * gdb.c++/local.cc (marker2): New function.
912 (foobar): Call marker1.
913 (main): Call marker2 instead of marker1.
914
67f16606
AC
9152003-02-04 Andrew Cagney <ac131313@redhat.com>
916
917 * gdb.disasm/mn10200.exp: Obsolete file.
918 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
919 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
920 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
921
1c5cb38e
DC
9222003-02-04 David Carlton <carlton@math.stanford.edu>
923
924 * gdb.c++/overload.exp: Test intToChar(1).
925 * gdb.c++/overload.cc (intToChar): New.
926 (main): Call intToChar.
927
d1fe6965
DC
9282003-02-03 David Carlton <carlton@math.stanford.edu>
929
930 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
931 'might_kfail' arg.
932 KFAIL some of the continue_to_bp_overloaded calls, according to
933 PR c++/1025.
934
9ba61c5d
MC
9352003-02-01 Michael Chastain <mec@shout.net>
936
937 * gdb.base/advance.c (marker1): New marker function.
938 * gdb.base/advance.exp: When the 'advance' command lands on the
939 return breakpoint, it can legitimately stop on either the
940 current line or the next line. Accommodate both outcomes.
941 * gdb.base/until.exp: Likewise.
942
e7494ffb
AC
9432003-02-02 Andrew Cagney <ac131313@redhat.com>
944
945 2002-11-10 Jason Molenda (jason-cl@molenda.com):
946 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
947 now a list, not a tuple.
948 * gdb.mi/mi-var-display.exp: Ditto.
949 * gdb.mi/gdb792.exp: Ditto.
950
075559bc
AC
9512003-02-01 Andrew Cagney <ac131313@redhat.com>
952
953 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
954 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
955 stack backtraces.
956 * gdb.mi/mi-syn-frame.c: Part of same.
957
2bd4c7b1
MK
9582003-02-01 Mark Kettenis <kettenis@gnu.org>
959
960 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
961 gdb.mi/mi1-pthreads.exp: Return instead of calling
962 gdb_suppress_entire_file.
963
eabd8992
MS
9642003-02-01 Mark Salter <msalter@redhat.com>
965
966 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
967
71469e2f
MS
9682003-01-31 Mark Salter <msalter@redhat.com>
969
970 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
971 Support empty arg.
972
38a94d44
MC
9732003-01-30 Michael Chastain <mec@shout.net>
974
975 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
976 This was a workaround for a UTF-8 bug in readline 4.3. The bug
977 has been fixed in gdb/readline on 2003-01-09.
978
19ea9e73
MS
9792003-01-29 Michael Snyder <msnyder@redhat.com>
980
e8d359df
MS
981 * gdb.base/maint.exp: Allow for leading underscore in symbol.
982 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
983 * gdb.base/args.exp: Skip if target does not support args passing.
984
2307bd6a
DJ
9852003-01-22 Daniel Jacobowitz <drow@mvista.com>
986
19ea9e73 987 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
988 gdb_test. Accept a list of expect arguments as the third
989 parameter.
990 (gdb_test): Use it.
991
f2dd3617
EZ
9922003-01-20 Elena Zannoni <ezannoni@redhat.com>
993
994 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
995 allow for different test tree configurations. Update some
996 tescases accordingly.
997 * gdb.arch/altivec-regs.exp: Ditto.
998 * gdb.asm/asm-source.exp: Ditto.
999 * gdb.base/advance.exp: Ditto.
1000 * gdb.base/display.exp: Ditto.
1001 * gdb.base/long_long.exp: Ditto.
1002 * gdb.base/mips_pro.exp: Ditto.
1003 * gdb.base/overlays.exp: Ditto.
1004 * gdb.base/relocate.exp: Ditto.
1005 * gdb.base/setshow.exp: Ditto.
1006 * gdb.base/step-line.exp: Ditto.
1007 * gdb.base/step-test.exp: Ditto.
1008 * gdb.base/until.exp: Ditto.
1009 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1010
c71cdefd
DC
10112003-01-17 David Carlton <carlton@math.stanford.edu>
1012
1013 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1014 corresponding to PR c++/945.
1015 Update copyright.
1016
fdba05d7
DC
10172003-01-17 David Carlton <carlton@math.stanford.edu>
1018
1019 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1020 corresponding to PR c++/68.
1021
10222003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1023
1024 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1025 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1026 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1027
c362c33a
EZ
10282003-01-15 Elena Zannoni <ezannoni@redhat.com>
1029
0fbc361c
EZ
1030 * gdb.base/break.exp: Fix change of default location, because of
1031 removal of until tests.
1032 * gdb.base/help.exp: Update test for new 'until' help message.
1033 Add test for help on 'advance'.
c362c33a
EZ
1034 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1035
dabf8a35
MK
10362003-01-15 Mark Kettenis <kettenis@gnu.org>
1037
1038 * gdb.base/default.exp: Adapt "info float" test for recent changes
1039 to that command. Add test for "info vector".
1040 * gdb.base/float.exp: New file. Add test for "info float" that
1041 resembles the old test in gdb.base/default.exp.
1042
a1769aca
DC
10432003-01-15 David Carlton <carlton@math.stanford.edu>
1044
1045 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1046
82025e13
EZ
10472003-01-15 Elena Zannoni <ezannoni@redhat.com>
1048
1049 * gdb.base/break.exp: Move the tests of until command from here...
1050 * gdb.base/until.exp: ... to here. New file. Add other tests.
1051 * gdb.base/advance.c: New file.
1052 * gdb.base/advance.exp: New file.
1053
8f9ab801
EZ
10542003-01-14 Elena Zannoni <ezannoni@redhat.com>
1055
1056 * gdb.base/args.c: New file.
1057 * gdb.base/args.exp: New file.
1058
9ae66589
DJ
10592003-01-14 Daniel Jacobowitz <drow@mvista.com>
1060
1061 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1062
8d77e5c3
DJ
10632003-01-14 Daniel Jacobowitz <drow@mvista.com>
1064
1065 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1066
12d2f0a1
DJ
10672003-01-14 Daniel Jacobowitz <drow@mvista.com>
1068
1069 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1070 dates.
1071
6ca37014
DJ
10722003-01-13 Daniel Jacobowitz <drow@mvista.com>
1073
1074 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1075
b0023472
DJ
10762003-01-13 Daniel Jacobowitz <drow@mvista.com>
1077
1078 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1079 (ptype &*"foo").
1080 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1081
d6abaea5
DJ
10822002-01-13 Daniel Jacobowitz <drow@mvista.com>
1083
1084 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1085 * gdb.mi/mi1-console.exp: Likewise.
1086
dfd536a7
DJ
10872002-01-13 Daniel Jacobowitz <drow@mvista.com>
1088
1089 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1090 * gdb.mi/mi1-console.exp: Likewise.
1091
a1fb14a2
DJ
10922003-01-13 Daniel Jacobowitz <drow@mvista.com>
1093
1094 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1095
c4cf40b7
DJ
10962003-01-09 Daniel Jacobowitz <drow@mvista.com>
1097
1098 * gdb.base/detach.exp: New test.
1099
696d5a5b
DJ
11002003-01-09 Daniel Jacobowitz <drow@mvista.com>
1101
1102 * Makefile.in (ALL_SUBDIRS): New variable.
1103 (subdirs, clean, distclean): Use it.
1104 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1105 regenerating Makefile, since it is generated from the top level.
1106 * gdb.asm/Makefile.in: Likewise.
1107 * gdb.base/Makefile.in: Likewise.
1108 * gdb.c++/Makefile.in: Likewise.
1109 * gdb.disasm/Makefile.in: Likewise.
1110 * gdb.java/Makefile.in: Likewise.
1111 * gdb.mi/Makefile.in: Likewise.
1112 * gdb.threads/Makefile.in: Likewise.
1113 * gdb.trace/Makefile.in: Likewise.
1114
754533e4
DC
11152003-01-09 David Carlton <carlton@math.stanford.edu>
1116
1117 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1118 Add copyright year 2003.
1119
d8b3e9ee
MC
11202003-01-06 Michael Chastain <mec@shout.net>
1121
1122 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1123 When selecting a thread, 'line' and 'file' are optional.
1124 * gdb.mi/mi1-pthreads.exp: Likewise.
1125
8e9e0fe6
AS
11262003-01-06 Andreas Schwab <schwab@suse.de>
1127
1128 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1129 failures.
1130
b5ab8ff3
DJ
11312003-01-04 Daniel Jacobowitz <drow@mvista.com>
1132
1133 Fix PR gdb/844
1134 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1135 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1136
1137 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1138 instead of calling gdb_suppress_entire_file.
1139 * gdb.threads/print-threads.exp: Likewise.
1140 * gdb.threads/schedlock.exp: Likewise.
1141
1142 * gdb.threads/killed.exp: Return instead of calling
1143 gdb_suppress_entire_file.
1144 * gdb.threads/linux-dp.exp: Likewise.
1145 * gdb.threads/pthreads.exp: Likewise.
1146
1e698235
DJ
11472003-01-04 Daniel Jacobowitz <drow@mvista.com>
1148
1149 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1150 stabs.
1151 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1152 * gdb.base/whatis.exp: Always allow (void) after function names.
1153
147ff08c
DJ
11542003-01-04 Daniel Jacobowitz <drow@mvista.com>
1155
1156 * gdb.c++/casts.exp: Correct regexp.
1157
dc62bfc2
MK
11582003-01-04 Mark Kettenis <kettenis@gnu.org>
1159
1160 * configure.in: Call AC_CONFIG_HEADER. Don't call
1161 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1162 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1163 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1164 aforementioned directories in the AC_OUPUT call.
1165 * config.hin: New file.
1166 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1167 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1168 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1169 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1170 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1171 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1172 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1173 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1174 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1175 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1176 gdb.threads/configure.in, gdb.threads/configure,
1177 gdb.threads/config.in, gdb.trace/configure.in,
1178 gdb.trace/configure: Removed.
1179
77afa639
MC
11802003-01-03 Michael Chastain <mec@shout.net>
1181
1182 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1183 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1184
7634bb6e
DJ
11852003-01-03 Daniel Jacobowitz <drow@mvista.com>
1186
1187 * gdb.base/store.exp: Fix regular expressions.
1188
b39c905e
MK
11892002-12-28 Mark Kettenis <kettenis@gnu.org>
1190
1191 * configure.in: Rewrite.
1192 * configure: Regenerated.
1193
0a8551dd
DC
11942003-01-03 David Carlton <carlton@math.stanford.edu>
1195
1196 * gdb.base/psymtab.exp: New file.
1197 * gdb.base/psymtab1.c: Ditto.
1198 * gdb.base/psymtab2.c: Ditto.
1199
c60b7188
AF
12002002-12-23 Adam Fedor <fedor@gnu.org>
1201
1202 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1203
ee73db83
DC
12042002-12-23 David Carlton <carlton@math.stanford.edu>
1205
1206 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1207 and current_directory initialization.
1208
d6c1774e
JB
12092002-12-22 Jim Blandy <jimb@redhat.com>
1210
f0a847b8
JB
1211 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1212 rather than as part of the output file name.
1213
d6c1774e
JB
1214 * gdb.base/attach.exp: There's no need to copy the test program to
1215 /tmp; that was only ever necessary on HP/UX, and this test is
1216 entirely disabled there anyway.
1217
f0708dbb
JB
12182002-12-21 Jim Blandy <jimb@redhat.com>
1219
4c2acfea
JB
1220 * gdb.c++/psmang.exp: Doc fix.
1221
f0708dbb
JB
1222 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1223 test.
1224
9579e000
DC
12252002-12-20 David Carlton <carlton@math.stanford.edu>
1226
1227 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1228
d1810171
MC
12292002-12-18 Michael Chastain <mec@shout.net>
1230
1231 * gdb.c++/annota2.exp: Add copyright year 2002.
1232
76565097
DC
12332002-12-17 David Carlton <carlton@math.stanford.edu>
1234
1235 * gdb.c++/try_catch.cc: Add marker comments.
1236 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1237 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1238 * gdb.c++/m-static.cc: Ditto.
1239 * gdb.c++/m-static1.cc: Ditto.
1240 * gdb.c++/try_catch.cc: Ditto.
1241
da81390b
JJ
12422002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1243
1244 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1245 to see whether we are using the new -environment-directory
1246 command which resets via -r or the old version of the command
1247 which may prompt the user. Part of fix for gdb/741.
1248
b304d130
AC
12492002-12-13 Andrew Cagney <ac131313@redhat.com>
1250
1251 * gdb.fortran/types.exp: Update obsolete comment.
1252 * gdb.fortran/exprs.exp: Ditto.
1253 * lib/gdb.exp: Delete obsolete code.
1254 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1255 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1256 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1257 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1258 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1259 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1260 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1261 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1262 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1263 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1264 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1265 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1266 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1267 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1268 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1269 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1270 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1271 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1272 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1273 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1274 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1275 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1276 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1277 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1278 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1279 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1280 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1281 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1282 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1283 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1284 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1285 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1286 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1287 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1288 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1289 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1290 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1291
a23b6e6a
DC
12922002-12-11 David Carlton <carlton@math.stanford.edu>
1293
1294 * gdb.c++/m-data.exp: Add test for members that shadow global
1295 variables: see PR gdb/804.
1296 * gdb.c++/m-data.cc: Ditto.
1297
6604731b
DJ
12982002-12-10 Daniel Jacobowitz <drow@mvista.com>
1299
1300 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1301
de46ecd7
DC
13022002-12-06 David Carlton <carlton@math.stanford.edu>
1303
1304 * gdb.base/store.c: Don't declare functions static.
1305
27e829d0
AC
13062002-12-04 Andrew Cagney <ac131313@redhat.com>
1307
1308 * gdb.base/store.exp, gdb.base/store.c: New files.
1309
92806416
DJ
13102002-12-03 Daniel Jacobowitz <drow@mvista.com>
1311
1312 * gdb.base/selftest.exp: Update for current gdb.
1313
3bcbaac5
DJ
13142002-12-03 Daniel Jacobowitz <drow@mvista.com>
1315
1316 * gdb.base/maint.exp: Only dump symbols from one source file
1317 or objfile.
1318
f4f00b1f
DJ
13192002-12-03 Daniel Jacobowitz <drow@mvista.com>
1320
1321 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1322 function call.
1323
f1c8a949
JB
13242002-11-25 Jim Blandy <jimb@redhat.com>
1325
1326 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1327 function appearing in error message.
1328
9e297a97
DJ
13292002-11-21 Daniel Jacobowitz <drow@mvista.com>
1330
1331 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1332
1f312e79
JJ
13332002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1334
1335 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1336 for mi1 and current mi is in correct format. New mi startup message
1337 should be in mi console format. This is part of fix for PR gdb/604.
1338
83c31e7d
FN
13392002-09-18 Fernando Nasser <fnasser@redhat.com>
1340
1341 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1342 which explicitly prints the zero offset as "+0".
1343
322b3f65
DJ
13442002-10-22 Daniel Jacobowitz <drow@mvista.com>
1345
1346 * gdb.threads/schedlock.c (args): Make unsigned.
1347
13482002-10-21 Daniel Jacobowitz <drow@mvista.com>
1349
1350 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1351 numbers. Allow "foo2|selected stack frame".
1352 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1353 * gdb.asm/asmsrc2.s: Likewise.
1354 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1355 comments.
1356 * gdb.asm/mips.inc: New file.
1357
5e2fe5b8
AF
13582002-10-18 Adam Fedor <fedor@gnu.org>
1359
1360 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1361 * gdb.base/help.exp: Likewise.
1362
abe1a5d0
KB
13632002-10-17 Kevin Buettner <kevinb@redhat.com>
1364
1365 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1366 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1367
10abb1d4
JB
13682002-10-02 Jim Blandy <jimb@redhat.com>
1369
1370 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1371
1f609b42
AC
13722002-10-01 Andrew Cagney <ac131313@redhat.com>
1373
1374 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1375 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1376 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1377 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1378 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1379 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1380 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1381
0aee02e4
AC
13822002-09-29 Andrew Cagney <ac131313@redhat.com>
1383
1384 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1385 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1386 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1387 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1388 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1389 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1390 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1391
6fde09ad
KB
13922002-09-27 Kevin Buettner <kevinb@redhat.com>
1393
1394 * gdb.base/annota1.exp (info break): Make directory components of
1395 path optional since not all compilers emit this debug information.
1396
1397 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1398 step ends up stepping out of the function instead of stopping on
1399 the epilogue.
1400
9e8aab75
KS
14012002-09-26 Keith Seitz <keiths@redhat.com>
1402
1403 * lib/insight-support.exp (gdbtk_start): Figure out where
1404 the insight executable is based on where gdb is. Use this
1405 executable to start insight instead of gdb.
1406
e36180d7
AC
14072002-09-25 Andrew Cagney <cagney@redhat.com>
1408
1409 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1410
9dd34b2b
AC
14112002-09-24 Andrew Cagney <ac131313@redhat.com>
1412
1413 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1414 test_isolated_complaints.
1415 (test_empty_complaint): New function.
1416 (test_empty_complaints): New function. Check no output when no
1417 complaints.
1418
dea97812
KB
14192002-09-19 Jim Blandy <jimb@redhat.com>
1420
1421 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1422
54951bd7
AC
14232002-09-19 Andrew Cagney <ac131313@redhat.com>
1424
1425 * gdb.gdb/complaints.exp: New file.
1426
dec43320
AC
14272002-09-18 Andrew Cagney <ac131313@redhat.com>
1428
1429 * gdb.base/maint.exp: Check `help maint internal-warning'.
1430
e70d6e3f
DC
14312002-09-18 David Carlton <carlton@math.stanford.edu>
1432
1433 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1434 numbers, and replace them by a single breakpoint after the
1435 constructors are all finished.
1436 Add test 4.
1437 * gdb.c++/m-static.cc: Add test 4.
1438 * gdb.c++/m-static.h: New file.
1439 * gdb.c++/m-static1.cc: New file.
1440
1441 * gdb.c++/printmethod.exp: New file.
1442 * gdb.c++/printmethod.cc: New file.
1443
1444 * gdb.c++/pr-574.exp: New file.
1445 * gdb.c++/pr-574.cc: New file.
1446
afb5c968
CV
14472002-09-18 Corinna Vinschen <vinschen@redhat.com>
1448
1449 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1450 embedded targets which never actually exit.
1451
31e45dee
FN
14522002-09-18 Fernando Nasser <fnasser@redhat.com>
1453
1454 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1455 "don't step after run" as unresolved or unsupported, instead of xfail.
1456
a283c5a1
CV
14572002-09-18 Corinna Vinschen <vinschen@redhat.com>
1458
1459 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1460 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1461 Add newline to expected string in "step out of main (status wrapper)"
1462 case.
1463
11350d2a
CV
14642002-09-18 Corinna Vinschen <vinschen@redhat.com>
1465
1466 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1467 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1468
0deec7d6
TT
14692002-09-17 Tom Tromey <tromey@redhat.com>
1470
1471 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1472 \000, not \0, in double-quoted string.
1473
b2b4a1b5
CV
14742002-09-14 Corinna Vinschen <vinschen@redhat.com>
1475
c9d37158 1476 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
1477 string after running the commands execution on breakpoint tests.
1478
1c56143a
CV
14792002-09-13 Corinna Vinschen <vinschen@redhat.com>
1480
1481 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1482
37f8da45
JB
14832002-09-12 Joel Brobecker <brobecker@gnat.com>
1484
1485 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1486
08b468e0
KS
14872002-09-10 Keith Seitz <keiths@redhat.com>
1488
1489 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1490 runto proc.
1491 (mi_run_to_main): Use mi_runto.
1492 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1493
dc360f58
KS
14942002-09-10 Keith Seitz <keiths@redhat.com>
1495
1496 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1497 regexp for stopping at main. Could have multiple event notifications.
1498 Don't assume that main was declared with no parameters.
1499 (mi_next): Use mi_step_to.
1500 (mi_step): Use mi_next_to.
1501
ce3abcfb
CV
15022002-09-09 Corinna Vinschen <vinschen@redhat.com>
1503
1504 * gdb.base/default.exp: Fix expected string in `info float' test.
1505
d1f5b980
BE
15062002-09-09 Ben Elliston <bje@redhat.com>
1507
1508 * config/mips.exp: Update comments.
1509 * config/mips-idt.exp: Likewise.
1510 * config/nind.exp: Likewise.
1511 * config/slite.exp: Likewise.
1512 * config/sparclet.exp: Likewise.
1513 * config/udi.exp: Likewise.
1514 * config/vx.exp: Likewise.
1515 * config/vxworks29k.exp: Likewise.
1516
2f71430b
JB
15172002-09-05 Jim Blandy <jimb@redhat.com>
1518
1519 * gdb.threads/killed.exp: Fix test failure message.
1520
7ddebc7e
KS
15212002-09-04 Keith Seitz <keiths@redhat.com>
1522
1523 * lib/mi-support.exp: Update copyright.
1524 (mi_gdb_test): Increase the priority of the expected pattern
1525 so that it matches gdb_test.
1526
0ae67eb3
KS
15272002-09-03 Keith Seitz <keiths@redhat.com>
1528
1529 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1530 Use integer comparison instead of string comparison for testing
1531 whether binary was built.
1532
38fc42c8
JB
15332002-09-03 Jim Blandy <jimb@redhat.com>
1534
1535 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1536
b6ff0e81
JB
15372002-08-29 Jim Blandy <jimb@redhat.com>
1538
1539 * gdb.threads/pthreads.exp: Move the portable thread compilation
1540 code into a function in lib/gdb.exp, and call that from here.
1541 * lib/gdb.exp (gdb_compile_pthreads): New function.
1542
07c98896
KS
15432002-08-29 Keith Seitz <keiths@redhat.com>
1544
1545 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1546 expect_out so that callers can get at it.
1547
0312286c
DJ
15482002-08-23 Daniel Jacobowitz <drow@mvista.com>
1549
1550 * gdb.threads/print-threads.c: New file.
1551 * gdb.threads/print-threads.exp: New file.
1552 * gdb.threads/schedlock.c: New file.
1553 * gdb.threads/schedlock.exp: New file.
1554
dd039bc4
EZ
15552002-08-22 Elena Zannoni <ezannoni@redhat.com>
1556
1557 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1558 not altivec.c.
1559
1f36144c
MK
15602002-08-17 Mark Kettenis <kettenis@gnu.org>
1561
1562 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1563 targets. The problem should be fixed now.
1564
16057ec7 15652002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1566
1567 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1568 2002-07-24 change that removes final dots from error messages.
1569
3c1499ad
TT
15702002-08-13 Tom Tromey <tromey@redhat.com>
1571
1572 * gdb.base/readline.exp: New file.
1573
a20ce2c3
AC
15742002-08-01 Andrew Cagney <ac131313@redhat.com>
1575
1576 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1577 supress message.
1578
db034ac5
AC
15792002-08-01 Andrew Cagney <cagney@redhat.com>
1580
1581 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1582 CHILL_FOR_TARGET and CHILL_LIB.
1583 * configure.in (configdirs): Remove gdb.chill.
1584 * configure: Regenerate.
1585 * lib/gdb.exp: Obsolete references to chill.
1586 * gdb.fortran/types.exp: Ditto.
1587 * gdb.fortran/exprs.exp: Ditto.
1588
3e000b18
KB
15892002-07-30 Kevin Buettner <kevinb@redhat.com>
1590
1591 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1592 set Irix-specific compile and link flags.
1593
28f4966b
KB
15942002-07-29 Kevin Buettner <kevinb@redhat.com>
1595
1596 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1597 source files. The ``-o'' option doesn't work with the ``-E'' option
1598 when using the Irix compiler.
1599
46c0d5a6
DJ
16002002-07-19 Daniel Jacobowitz <drow@mvista.com>
1601
1602 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1603 Improve support for reusing an exec file. Copy exec file
1604 to target, and run gdbserver on the target instead of on the host.
1605
eecf4bed
JB
16062002-07-18 Jim Blandy <jimb@redhat.com>
1607
0f815cdf
JB
1608 * gdb.base/ending-run.exp: Don't expect to see the program end in
1609 some orderly fashion when we're running on a real stand-alone
1610 board.
1611
eecf4bed
JB
1612 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1613 targets that don't support interrupts.
1614
52d309e4
JB
16152002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1616
1617 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1618 systems.
1619 Move comments in expect statements to inside the actions, so that they
1620 don't get matched against.
1621
ff683d9e
MK
16222002-07-10 Mark Kettenis <kettenis@gnu.org>
1623
1624 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1625 function when asleep" test.
1626
b5356753
AC
16272002-07-10 Andrew Cagney <ac131313@redhat.com>
1628
1629 * gdb.base/page.exp: Rewrite to handle problems with very long
1630 `info set' output. Update copyright.
1631
6aa4d13a
AC
16322002-06-26 Andrew Cagney <ac131313@redhat.com>
1633
1634 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1635 gdb.threads-hp.
1636 * gdb.hp/configure: Regenerate.
1637 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1638 * gdb.hp/gdb.threads-hp/configure: Delete file.
1639 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1640
8cf8c2b8
AC
16412002-06-22 Andrew Cagney <ac131313@redhat.com>
1642
1643 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1644 setlocale, bindtextdomain and textdomain.
1645
6827a8f8
JB
16462002-06-11 Jim Blandy <jimb@redhat.com>
1647
919d772c
JB
1648 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1649 preprocessor macro information is present.
1650
6827a8f8
JB
1651 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1652 tests.
1653
c15b0d21
MS
16542002-06-06 Michael Snyder <msnyder@redhat.com>
1655
c5984d70
MS
1656 * gdb.base/overlays.exp: Record addresses of overlay
1657 functions in TCL variables rather than in GDB variables,
1658 to avoid having GDB convert them to pointers (with loss
1659 of information).
1660
99a8512b
MS
1661 * gdb.base/d10v.ld: Merge in several years worth of
1662 default linker script changes.
c15b0d21
MS
1663 * gdb.base/long_long.exp: Add check for sizeof (long double).
1664
be26fe0d
ML
16652002-06-06 Michal Ludvig <mludvig@suse.cz>
1666
1667 * gdb.asm/asm-source.exp: Add x86-64 target.
1668 * gdb.asm/x86_64.inc: New.
1669
258093ca 16702002-05-30 Michael Chastain <mec@shout.net>
258093ca 1671
4b3153f1 1672 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1673 * gdb.c++/m-static.cc: New file.
1674 * gdb.c++/m-static.exp: New file.
1675
241264c6
MS
16762002-05-28 Michael Snyder <msnyder@redhat.com>
1677
1678 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1679 precision.
1680
9bba8c8f 16812002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1682
4b3153f1 1683 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1684 * gdb.c++/m-data.cc: New file.
1685 * gdb.c++/m-data.exp: New file.
1686
16872002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1688
4b3153f1 1689 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1690 * gdb.c++/try_catch.cc: New file.
1691 * gdb.c++/try_catch.exp: New file.
1692
def1b996
MC
16932002-05-27 Michael Chastain <mec@shout.net>
1694
1695 * gdb.c++/local.exp: Accept more nested types in output.
1696
522ba268
MC
16972002-05-26 Michael Chastain <mec@shout.net>
1698
1699 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1700
277254ba
MS
17012002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1702
1703 * lib/gdb.exp (gdb_wrapper_init): Just because
1704 gdb_wrapper_file exists, this does not mean that the file
1705 should not be rebuilt. That is what gdb_wrapper_initialized
1706 is for.
1707 (default_gdb_init): Reset gdb_wrapper_initialized.
1708
b61a8733
MS
17092002-05-23 Michael Snyder <msnyder@redhat.com>
1710
5bdb6d01
MS
1711 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1712 the precision of the floating point test results.
1713 * gdb.base/call-rt-st.exp: Ditto.
1714
b61a8733
MS
1715 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1716 * gdb.base/call-rt-st.exp: Ditto.
1717
56f6e910
MC
17182002-05-19 Michael Chastain <mec@shout.net>
1719
1720 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1721
ad0b0016
EZ
17222002-05-19 Elena Zannoni <ezannoni@redhat.com>
1723
1724 * configure.in (configdirs): Add gdb.arch.
1725 * configure: Regenerate.
1726
f617d2b6
JB
17272002-05-17 Jim Blandy <jimb@redhat.com>
1728
1729 * gdb.base/completion.exp: Recognize the more detailed error
1730 messages produced by the macro expander's lexical analyzer.
1731
eac2a696
EZ
17322002-05-14 Elena Zannoni <ezannoni@redhat.com>
1733
1734 * gdb.arch/altivec-abi.c: New file.
1735 * gdb.arch/altivec-abi.exp: New file.
1736 * gdb.arch/altivec-regs.c: New file.
1737 * gdb.arch/altivec-regs.exp: New file.
1738
2fdde8f8
DJ
17392002-05-14 Daniel Jacobowitz <drow@mvista.com>
1740
1741 * gdb.base/maint.exp (maint print type): Update for new type
1742 structure.
eac2a696 1743
e31f1a7c
EZ
17442002-05-14 Elena Zannoni <ezannoni@redhat.com>
1745
1746 * gdb.arch: New directory.
1747 * gdb.arch/configure.in: New file.
1748 * gdb.arch/configure: New file.
1749 * gdb.arch/Makefile.in: New file.
1750
db589741
CV
17512002-05-13 Corinna Vinschen <vinschen@redhat.com>
1752
1753 * gdb.asm/asm-source.exp: Add v850 as supported target.
1754 * gdb.asm/v850.inc: New file.
1755
8ce2a7dc
DJ
17562002-05-13 Daniel Jacobowitz <drow@mvista.com>
1757
1758 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1759
df763c7f
DJ
17602002-05-12 Daniel Jacobowitz <drow@mvista.com>
1761
1762 * gdb.base/break.exp: Check 'break "marker2"'.
1763
377daeed
MS
17642002-05-10 Michael Snyder <msnyder@redhat.com>
1765
1766 * gdb.base/long_long.exp: Fix typo.
1767
c4b7bc2b
JB
17682002-05-10 Jim Blandy <jimb@redhat.com>
1769
ecac9a4e
JB
1770 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1771 a bug.
1772
c4b7bc2b
JB
1773 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1774 Recognize more detailed error message produced by the macro
1775 expander's lexical analyzer.
1776 * lib/gdb.exp (test_print_reject): Same.
1777
e71019a1
MK
17782002-05-09 Mark Kettenis <kettenis@gnu.org>
1779
1780 * gdb.c++/method.exp: Fix typo.
1781
fedfc8e6
MS
17822002-05-08 Michael Snyder <msnyder@redhat.com>
1783
166a1957
MS
1784 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1785 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1786 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1787 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1788 Add iftarget clause for strongarm.
1789
f1c47eb2
MS
17902002-05-06 Michael Snyder <msnyder@redhat.com>
1791
cb9a9d3e
MS
1792 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1793 (gdb_continue_to_end): Accept output from status wrapper.
1794 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1795 Clean up fail messages to match pass messages.
1796
f1c47eb2
MS
1797 Enable the "needs_status_wrapper" testsuite feature.
1798 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1799 (gdb_compile): Conditionally call gdb_wrapper_init.
1800 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1801 * gdb.c++/method.exp: Recognize output from status wrapper.
1802
6079c749
BE
18032002-05-06 Ben Elliston <bje@redhat.com>
1804From Graydon Hoare <graydon@redhat.com>
1805
1806 * config/sid.exp: Include support for "rawsid" protocol.
1807
188baff3
JB
18082002-05-03 Jim Blandy <jimb@redhat.com>
1809
1810 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1811 * gdb.c++/hang3.C: New file.
1812
b9c07f0f
AC
18132002-05-04 Andrew Cagney <ac131313@redhat.com>
1814
1815 * gdb.base/default.exp: Remove obsolete code.
1816 * gdb.c++/misc.exp: Ditto. Update copyright.
1817 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1818 * gdb.base/whatis.exp: Ditto. Update copyright.
1819 * gdb.base/scope.exp: Ditto. Update copyright.
1820 * gdb.base/ptype.exp: Ditto. Update copyright.
1821 * gdb.base/printcmds.exp: Ditto. Update copyright.
1822 * gdb.base/opaque.exp: Ditto. Update copyright.
1823 * gdb.base/list.exp: Ditto.
1824 * gdb.base/funcargs.exp: Ditto. Update copyright.
1825 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1826 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1827 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1828 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1829 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1830 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1831
5c7a0397
MS
18322002-05-02 Michael Snyder <msnyder@redhat.com>
1833
d6dcc264 1834 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1835 * gdb.base/long_long.exp: Add xscale target.
1836 * gdb.base/default.exp: Add xscale target.
1837
eb7f1c48
JB
18382002-05-01 Jim Blandy <jimb@redhat.com>
1839
1840 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1841 gdb.c++/hang.exp: New test.
1842
a6befae8
FF
18432002-05-01 Fred Fish <fnf@redhat.com>
1844
1845 * gdb.base/completion.exp: Handle completions of "./Make" for
1846 more than one completion possibility, as is the case when we
1847 build and test in the source tree.
1848
0a310277
AG
18492002-04-29 Anthony Green <green@redhat.com>
1850
1851 * gdb.java/jmisc1.exp: New file.
1852 * gdb.java/jmisc2.exp: New file.
1853
6ff9af88
DJ
18542002-04-24 Daniel Jacobowitz <drow@mvista.com>
1855
1856 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1857
96b3d632
EZ
18582002-04-23 Elena Zannoni <ezannoni@redhat.com>
1859
1860 * gdb.base/help.exp: Change 'help status' to allow for target
1861 dependent output differences.
1862
5019bb54
MC
18632002-04-22 Michael Chastain <mec@shout.net>
1864
1865 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1866
a805a116
MC
18672002-04-22 Michael Chastain <mec@shout.net>
1868
1869 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1870
a1706bfd
DM
18712002-04-17 David S. Miller <davem@redhat.com>
1872
1873 * gdb.asm/sparc64.inc: New file.
1874 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1875
a73a20a2
EZ
18762002-04-19 Elena Zannoni <ezannoni@redhat.com>
1877
1878 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1879 instruction file directly into the build tree. Clean up at end of
1880 test.
1881
ba678339
DM
18822002-04-18 David S. Miller <davem@redhat.com>
1883
1884 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1885 handle 64-bit platforms correctly.
1886 * gdb.base/maint.exp: Likewise.
1887
b03399da
KB
18882002-04-18 Kevin Buettner <kevinb@redhat.com>
1889
1890 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1891 ``-fpic'' when compiling files comprising a shared library, but
1892 it does need additional linker flags in order to find shared
1893 libraries at run time.
1894
e2004992
KB
18952002-04-18 Kevin Buettner <kevinb@redhat.com>
1896
1897 * gdb.base/cvexpr.c (use): New function.
1898 (main): Invoke use() on all global variables to prevent
1899 some linkers from deleting these otherwise unused symbols.
1900
d8937120
MC
19012002-04-17 Michael Chastain <mec@shout.net>
1902From David S. Miller <davem@redhat.com>
1903
1904 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1905 handle 64-bit platforms correctly.
1906
ffd61a58
MS
19072002-04-12 Michael Snyder <msnyder@redhat.com>
1908From Jim Blandy <jimb@redhat.com>
1909 * gdb.base/foo.c (foox): Remove section attribute; the linker
1910 script can handle this instead.
1911 * gdb.base/bar.c (barx): Same.
1912 * gdb.base/baz.c (bazx): Same.
1913 * gdb.base/grbx.c (grbxx): Same.
1914
1915 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1916 manager doesn't automatically unmap overlays unnecessarily.
1917
6b8426a6
MH
19182002-04-10 Martin M. Hunt <hunt@redhat.com>
1919
1920 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1921 stepping out of main.
1922
34af4875
MC
19232002-04-09 Michael Chastain <mec@shout.net>
1924
1925 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1926 scope so that the nested scope tests will make sense.
1927 * gdb.c++/local.exp: Write patterns that actually work with gcc
1928 (the HP patterns "were never known to work with gcc").
1929 Keep the old aCC patterns too.
1930
2d1676a0
DJ
19312002-04-09 Daniel Jacobowitz <drow@mvista.com>
1932
1933 * gdb.base/attach.exp: Correct target board test.
1934
3a63e3f9
MC
19352002-04-08 Michael Chastain <mec@shout.net>
1936
1937 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1938 in a const method. Add some xfail and fail cases for configurations
1939 that do not emit the "const ...".
1940
f18dabd2
MC
19412002-04-07 Michael Chastain <mec@shout.net>
1942
1943 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1944 Accept "A * const" and "const A * const" as type of "this".
1945 Fix spelling of getFunky throughout. Make messages uniform.
1946
0fcddd82
EZ
19472002-04-07 Elena Zannoni <ezannoni@redhat.com>
1948
1949 Work around for PR gdb/285:
1950 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1951
16a8534a
EZ
19522002-04-07 Elena Zannoni <ezannoni@redhat.com>
1953
1954 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1955 instructions file at run time instead of configure time.
1956 Sometimes we run the test in a directory that is not the one we
1957 configured in.
1958 * gdb.asm/configure.in: Delete creation of symlink.
1959 * gdb.asm/configure: Regenerate.
1960
24181d81
JB
19612002-04-05 J. Brobecker <brobecker@gnat.com>
1962
1963 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1964 xfullpath () function.
1965
7cdb7107
DJ
19662002-04-04 Daniel Jacobowitz <drow@mvista.com>
1967
1968 * gdb.asm/Makefile.in: Correct dependencies.
1969
1970 * gdb.asm/powerpc.inc: New file.
1971 * gdb.asm/asm-source.exp: Add PowerPC.
1972 * gdb.asm/configure.in: Likewise.
1973 * gdb.asm/configure: Regenerated.
1974
a7d17088
DJ
19752002-04-04 Daniel Jacobowitz <drow@mvista.com>
1976
1977 * gdb.base/relocate.exp: New file.
1978 * gdb.base/relocate.c: New file.
1979
cd721503
FF
19802002-04-04 Fred Fish <fnf@redhat.com>
1981
1982 * gdb.base/step-test.exp: Update comment regarding stopping in
1983 memcpy/bcopy calls inserted as part of the compiler runtime.
1984
b22ad7a7
MS
19852002-04-04 Michael Snyder <msnyder@redhat.com>
1986
1987 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1988
5f279fa6
DJ
19892002-04-03 Daniel Jacobowitz <drow@mvista.com>
1990
1991 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1992 (gdb_expect): Remove $notransfer hack.
1993
dd0fd3ce
DJ
19942002-04-02 Daniel Jacobowitz <drow@mvista.com>
1995
1996 * gdb.c++/classes.exp ("calling method for small class"): Match
1997 updated register output.
1998
1e50cda1
DJ
19992002-03-30 Daniel Jacobowitz <drow@mvista.com>
2000
2001 Fix PR gdb/452
2002 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2003 when finished. Make gdb_file_cmd send "exec-file" when
2004 appropriate.
2005
24015922
DJ
20062002-03-30 Daniel Jacobowitz <drow@mvista.com>
2007
2008 * gdb.base/attach.exp: Remove extra setup_xfail.
2009
dd7dfd64
MS
20102002-03-26 Michael Snyder <msnyder@redhat.com>
2011
2012 * gdb.base/default.exp: Add tests for dump, append, and restore.
2013 * gdb.base/help.exp: Add tests for dump, append, and restore.
2014 * gdb.base/dump.exp: New file, test dump, append and restore.
2015 * gdb.base/dump.c: New file.
2016
48b2f8d7
MS
20172002-03-27 Michael Snyder <msnyder@redhat.com>
2018
2019 * gdb.base/help.exp: Modify expect strings to reflect
2020 clean-ups in help messages.
2021
05b4d525
FF
20222002-03-26 Fred Fish <fnf@redhat.com>
2023
2024 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2025 have debugging info for those functions and the compiler uses them
2026 internally to copy structs around.
2027
d7679631
FF
20282002-03-26 Fred Fish <fnf@redhat.com>
2029
2030 * gdb.base/list.exp: Revert the change made yesterday and add note
2031 about why we don't list the default lines for remote targets.
2032
523ac3f9
MS
20332002-03-25 Michael Snyder <msnyder@redhat.com>
2034
2035 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2036
754b2b8d
FF
20372002-03-25 Fred Fish <fnf@redhat.com>
2038
2039 * gdb.base/list.exp: This test works on remote targets so remove
2040 the short circuit for remote targets. Update copyright.
2041
33c3e192
FF
20422002-03-25 Fred Fish <fnf@redhat.com>
2043
2044 * gdb.base/attach.exp: Fix logic error that was suppressing this
2045 test for all non hppa*-*-hpux* targets, instead of the hp target.
2046 Move comments closer to the suppression point. Also now need to
2047 check that we are running natively.
2048
d43e73ee
MS
20492002-03-22 Michael Snyder <msnyder@redhat.com>
2050
882c8f02
MS
2051 * gdb.base/default.exp: Add test for gcore. Update copyright.
2052 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2053
04c12f60
FF
20542002-03-06 Fred Fish <fnf@redhat.com>
2055
2056 * gdb.base/funcargs.c: Remove extraneous ';' character.
2057 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2058
b43df995
MC
20592002-03-04 Michael Chastain <mec@shout.net>
2060
2061 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2062 accommodate gcc v3 function signature.
2063 * gdb.mi/mi0-var-cmd-exp: Ditto.
2064
92362027
AC
20652002-02-24 Andrew Cagney <ac131313@redhat.com>
2066
2067 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2068 ``GNU/Linux'' or ``Linux kernel''
2069 * testsuite/gdb.threads/pthreads.c: Ditto.
2070
258ad32d
MC
20712002-02-24 Michael Chastain <mec@shout.net>
2072
2073 * gdb.threads/pthreads.c (thread1): Add a return statement.
2074 (thread2): Likewise.
2075 (foo): Likewise.
2076
04c3b3d4
MC
20772002-02-23 Michael Chastain <mec@shout.net>
2078
2079 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2080 to placate gcc.
2081
5a2a0a20
MC
20822002-02-23 Michael Chastain <mec@shout.net>
2083
2084 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2085 test "ptype bint". The test passes on all my stabs configurations.
2086
a640f7fc
JB
20872002-02-21 Jim Blandy <jimb@redhat.com>
2088
27924826
JB
2089 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2090 filename at a time, and watch for the ones we want to see.
2091
a640f7fc
JB
2092 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2093 types of pointers to prototyped functions.
2094
edcc8c75
AC
20952002-02-20 Andrew Cagney <ac131313@redhat.com>
2096
2097 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2098 signed, unsigned and straight char.
2099 (padding_char, padding_short, padding_int, padding_long,
2100 padding_long_long, padding_float, padding_double,
2101 padding_long_double): New global variables.
2102 (fill, fill_structs): New functions.
2103
2104 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2105 for correctly sized writes. Update copyright.
2106 (get_valueof): New procedure.
2107 (get_sizeof): Call get_valueof.
2108 (check_valueof): New procedure.
2109 (check_padding): New procedure.
2110
ac57ea44
MC
21112002-02-20 Michael Chastain <mec@shout.net>
2112
2113 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2114 to setup_xfail. Document some of the remaining calls.
2115
7a10c941
MC
21162002-02-18 Michael Chastain <mec@shout.net>
2117
2118 * gdb.c++/userdef.exp: Update copyright year.
2119
fb8acdcc
DJ
21202002-02-18 Daniel Jacobowitz <drow@mvista.com>
2121
2122 * gdb.c++/userdef.exp: Test overloaded operators properly.
2123 Remove xfails.
2124
fda6ae12
MS
21252002-02-14 Michael Snyder <msnyder@redhat.com>
2126
2127 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2128
676a0442
DJ
21292002-02-14 Daniel Jacobowitz <drow@mvista.com>
2130
2131 * gdb.base/a2-run.exp: Check for a remote target properly.
2132 * gdb.base/annota1.exp: Likewise.
2133 * gdb.base/list.exp: Likewise.
2134 * gdb.base/reread.exp: Likewise.
2135 * gdb.base/scope.exp: Likewise.
2136 * gdb.base/shlib-call.exp: Likewise.
2137 * gdb.base/term.exp: Likewise.
2138 * gdb.c++/annota2.exp: Likewise.
2139
78b4f468
RE
21402002-02-13 Richard Earnshaw <rearnsha@arm.com>
2141
2142 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2143
9a81ba51
MC
21442002-02-10 Michael Chastain <mec@shout.net>
2145
2146 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2147 (call_after_alloca): Ditto.
2148
004af6c7
DJ
21492002-02-10 Daniel Jacobowitz <drow@mvista.com>
2150
2151 * gdb.base/ending-run.exp: Guard "cont" test with
2152 gdb_skip_stdio_test.
2153
37225f62
JB
21542002-02-06 Jim Blandy <jimb@redhat.com>
2155
2156 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2157 from here...
2158 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2159 To here. Disable this test on non-HP platforms. Add big comment.
2160
fe6fdd96
MS
21612002-02-04 Michael Snyder <msnyder@redhat.com>
2162
2163 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2164 other than d10v and m32r.
2165
036fad3f
RE
21662002-02-02 Richard Earnshaw <rearnsha@arm.com>
2167
2168 * gdb.base/default.exp: Rewrite test patterns to reduce time
2169 taken to match them.
2170
7148ab62
DJ
21712002-01-30 Daniel Jacobowitz <drow@mvista.com>
2172
2173 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2174 Allow a start function above main.
2175 * gdb.threads/linux-dp.exp: Fix copyright date.
2176
396cc255
DJ
21772002-01-30 Daniel Jacobowitz <drow@mvista.com>
2178
2179 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2180 (check_philosopher_stack): Check for manager thread before checking
2181 for a just-starting thread.
2182
f038d31b
DJ
21832002-01-30 Daniel Jacobowitz <drow@mvista.com>
2184
2185 From Neil Booth <neil@daikokuya.demon.co.uk>:
2186 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2187 warnings.
2188
b3ff9d9a
FF
21892002-01-21 Fred Fish <fnf@redhat.com>
2190
2191 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2192 not caller.
2193
39ad761d
JB
21942002-01-21 Jim Blandy <jimb@redhat.com>
2195
2196 * gdb.base/reread.exp: Check that GDB properly re-reads the
2197 executable file when it changes while no inferior is running.
2198
aaf320fa
FF
21992002-01-21 Fred Fish <fnf@redhat.com>
2200
2201 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2202 optionally accept the "shlib events" variation.
2203
808a31f5
JB
22042002-01-21 Jim Blandy <jimb@redhat.com>
2205
2206 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2207 call `fflush' after every `printf', so that the output is produced
2208 at predictable points, regardless of whatever buffering does (or
2209 doesn't) take place.
2210 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2211 at different points.
2212
4420d5e2
DJ
22132002-01-20 Daniel Jacobowitz <drow@mvista.com>
2214
2215 * gdb.c++/inherit.exp: Update copyright years.
2216 * gdb.c++/method.exp: Likewise.
2217
3e36a0f4
DJ
22182002-01-20 Daniel Jacobowitz <drow@mvista.com>
2219
2220 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2221 artificial methods/arguments.
2222 * gdb.c++/derivation.exp: Likewise.
2223 * gdb.c++/inherit.exp: Likewise.
2224 * gdb.c++/method.exp: Likewise.
2225 * gdb.c++/virtfunc.exp: Likewise.
2226
b4ceaee6
AC
22272002-01-18 Andrew Cagney <ac131313@redhat.com>
2228
2229 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2230 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2231 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2232 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2233 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2234 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2235
ecace851
JB
22362002-01-17 Jim Blandy <jimb@redhat.com>
2237
2238 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2239 anchoring the pattern matching the entry point symbol's name.
2240
375fc983
AC
22412002-01-17 Andrew Cagney <ac131313@redhat.com>
2242
2243 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2244 continue/quit query. Update copyright.
2245
fe6fdd96
MS
22462002-01-14 Michael Snyder <msnyder@redhat.com>
2247
2248 * gdb.base/gcore.exp: Remove extra debugging output.
2249
e017c81f
DJ
22502002-01-13 Daniel Jacobowitz <drow@mvista.com>
2251
2252 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2253 for slightly dubious v2 mangled string.
2254
37ab3bf8
DJ
22552002-01-13 Daniel Jacobowitz <drow@mvista.com>
2256
2257 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2258
1bc05c3a 22592002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 2260
1bc05c3a 2261 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 2262
1bc05c3a
JM
2263 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2264 constructors.
2265 * gdb.c++/derivation.exp: Likewise.
2266 * gdb.c++/templates.exp: Likewise.
2267 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 2268
1bc05c3a
JM
22692002-01-10 Michael Snyder <msnyder@redhat.com>
2270
2271 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 2272
a911c360
MS
22732002-01-08 Michael Snyder <msnyder@redhat.com>
2274
2275 * gdb.base/gcore.exp: New test for generate-core-file command.
2276 * gdb.base/gcore.c: Testcase for above.
2277 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2278
ea2119ec
JM
22792002-01-08 Jason Merrill <jason@redhat.com>
2280
2281 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2282
68203136
FF
22832002-01-07 Fred Fish <fnf@redhat.com>
2284
2285 * gdb.c++/overload.exp: Remove unconditional xfails for:
2286 print foo_instance1.overloadargs(1)
2287 print foo_instance1.overloadargs(1, 2)
2288 print foo_instance1.overloadargs(1, 2, 3)
2289 print foo_instance1.overloadargs(1, 2, 3, 4)
2290 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2291 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2292 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2293 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2294 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2295 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2296 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2297 print foo_instance1.overload1arg()
2298 print foo_instance1.overload1arg((char)arg2)
2299 print foo_instance1.overload1arg((signed char)arg3)
2300 print foo_instance1.overload1arg((unsigned char)arg4)
2301 print foo_instance1.overload1arg((int)arg7)
2302 print foo_instance1.overload1arg((unsigned int)arg8)
2303 print foo_instance1.overload1arg((float)arg11)
2304 print foo_instance1.overload1arg((double)arg12)
2305
21b9b5b1
MS
23062002-01-07 Michael Snyder <msnyder@redhat.com>
2307
2308 * gdb.base/huge.exp: New test. Print a very large target data object.
2309 (skip_huge_test): New test variable. Define if you want to skip this
2310 test. The test reads an 8 megabyte data object from the target, so it
2311 might be very time consuming on remote targets with a slow connection.
2312 * gdb.base/huge.c: New file. Test case for above.
2313
725f922e
FF
23142002-01-07 Fred Fish <fnf@redhat.com>
2315
2316 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2317 g_instance.bfoo, and g_instance.cfoo.
2318
634d57ec
JL
2319Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2320
f286b2c3
JL
2321 * gdb.base/break.c (multi_line_if_conditional): New function.
2322 (multi_ilne_while_conditional): Likewise.
2323 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2324 IF or WHILE condition puts the breakpoint at the start of
2325 the condition.
2326
634d57ec
JL
2327 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2328 hppa*-*-hpux* expected failure.
2329 * gdb.base/structs.exp (do_function_calls): Similarly.
2330
2331 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2332 watchpoints.
2333
9fbfe2dc
AC
23342002-01-06 Andrew Cagney <ac131313@redhat.com>
2335
2336 Fix PR gdb/66.
2337 * gdb.base/structs.exp: Replace skip for a29k with skip for
2338 gdb,cannot_call_functions.
2339 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2340 * gdb.base/callfuncs.exp: Ditto.
2341 * gdb.base/call-rt-st.exp: Ditto.
2342 * gdb.base/call-strs.exp: Ditto.
2343 * gdb.base/callfwmall.exp: Ditto.
2344 * gdb.base/scope.exp: Obsolete xfail a29k.
2345 * gdb.c++/misc.exp: Ditto.
2346 * gdb.c++/cplusfuncs.exp: Ditto.
2347 * gdb.base/ptype.exp: Ditto.
2348 * gdb.base/printcmds.exp: Ditto.
2349 * gdb.base/opaque.exp: Ditto.
2350 * gdb.base/list.exp: Ditto.
2351 * gdb.base/funcargs.exp: Ditto.
2352 * gdb.base/default.exp: Ditto.
2353
8ddad156
MS
23542002-01-04 Michael Snyder <msnyder@redhat.com>
2355
ca4976a6 2356 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
2357 * gdb.base/maint.exp: Add tests for maint info sections options.
2358
1b074332
JL
2359Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2360
2361 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2362
7d159115
CV
23632001-12-20 Corinna Vinschen <vinschen@redhat.com>
2364
2365 * gdb.asm/arm.inc: New file.
2366 * gdb.asm/asm-source.exp: Add arm targets.
2367 * gdb.asm/configure.in: Ditto.
2368 * gdb.asm/configure: Recreated from configure.in.
2369
8fb87725
JL
2370Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2371
afabe08c
JL
2372 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2373 with HP's compiler.
2374 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2375 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2376 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2377 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2378
2379 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2380 either HP's compilers or GCC.
2381
db521deb
JL
2382 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2383 a SIGBUS or SIGSEGV.
2384
2385 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2386
2387 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2388 can be compiled with either HP's compiler or GCC.
2389
cfa88ab7
JL
2390 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2391 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2392 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2393
ca344dff
JL
2394 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2395 to match current gdb output. Update due to using auto-solib-limit
2396 for limiting instead of overloading auto-solib-add.
2397 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2398 test program.
2399
3f3c6e55 2400 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
2401 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2402 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2403 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2404 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2405 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2406 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2407 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2408 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2409 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2410 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2411 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2412 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 2413
8fb87725
JL
2414 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2415 a SIGTRAP to the inferior.
2416
cf599fa7
CV
24172001-12-19 Corinna Vinschen <vinschen@redhat.com>
2418
2419 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2420 Substitute call to target_link by call to gdb_compile.
2421
2cd045cd
JL
2422Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2423
2424 * gdb.base/break.exp: Fix HP specific search string when testing
2425 backtracing in a called function.
2426
2427 * gdb.base/constvars.exp: Only set lang to C++ if we're
2428 compiling the test with HP's compilers.
2429 * gdb.base/volatile.exp: Similarly.
2430
99ebe9ac
JB
24312001-12-19 Jim Blandy <jimb@redhat.com>
2432
2433 * gdb.base/printcmds.exp: Expect the null character to be printed
2434 as '\0', and the '\013' to be printed as '\v'.
2435 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2436 * gdb.base/setvar.exp: Same.
2437
b9891b29
JB
24382001-12-17 Jim Blandy <jimb@redhat.com>
2439
0eba65ab
JB
2440 * gdb.base/completion.exp: Rather than completing very long
2441 filenames, which can make the readline library produce output we
2442 don't recognize, cd to the directory first, and then complete
2443 using nice, short relative paths.
2444
6970b5b1
JB
2445 * gdb.base/completion.exp: On some systems, there is, in fact, a
2446 variable named `b' in scope, since GDB treats all static
2447 variables as being in scope. So use `no_var_named_this'
2448 instead of `b'.
2449
b9891b29
JB
2450 * gdb.base/corefile.exp: Recognize the message saying that GDB
2451 can't find the core file's registers as a failure.
2452
e6ccd35f
JSC
24532001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2454
2455 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2456 test expect string more specific.
2457
105ba819
CV
24582001-12-13 Corinna Vinschen <vinschen@redhat.com>
2459
2460 * gdb.asm/asm-source.exp: Add support for xstormy16.
2461 * gdb.asm/configure.in: Ditto.
2462 * gdb.asm/configure: Rebuild.
2463 * gdb.asm/xstormy16.inc: New file.
2464
e9e79dd9
FF
24652001-12-10 Fred Fish <fnf@redhat.com>
2466
2467 * gdb.base/maint.exp: Update to match changes in type dumping code.
2468
347dc97d
JB
24692001-12-10 Jim Blandy <jimb@redhat.com>
2470
2471 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2472 matching the entry point symbol's name at the beginning of the
2473 line.
2474
5178b9d6
DJ
24752001-12-07 Daniel Jacobowitz <drow@mvista.com>
2476
2477 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2478 gdb.c++/inherit.exp, gdb.c++/method.exp,
2479 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2480 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2481 and class layout support.
2482
af890c52
DJ
24832001-12-07 Daniel Jacobowitz <drow@mvista.com>
2484
2485 * gdb.c++/classes.exp: Add test for static member function.
2486 * gdb.c++/misc.cc: Add class with static member function.
2487
7a345fb3
JB
24882001-12-07 Jim Blandy <jimb@redhat.com>
2489
f2e54a80 2490 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2491 those tests as `unsupported'.
2492 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2493 Rewrite subsequent tests to use it.
2494
2495 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2496 those tests as `unsupported'.
2497 * gdb.base/structs.exp (call_struct_func): New function.
2498 (do_function_calls): Use call_struct_func to call the functions
2499 returning structs.
2500
0bc69509
JB
2501 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2502 whether functions are prototyped or not, so we can't possibly pass
2503 arguments to t_float_values2 properly.
2504
7a345fb3
JB
2505 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2506 value of `timeout' for targets other than the mips*tx39-*.
2507
edb6ede1
MS
25082001-12-06 Michael Snyder <msnyder@redhat.com>
2509
2510 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2511 and detect whether the start symbol has a leading underscore.
2512
2d842f13
JB
25132001-12-04 Jim Blandy <jimb@redhat.com>
2514
2515 * gdb.base/completion.exp: Clarify indentation.
2516
68550daf
JB
25172001-12-03 Jim Blandy <jimb@redhat.com>
2518
2519 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2520 variables on the S/390, not `.word'.
2521
cd5195a8
JB
25222001-11-30 Jim Blandy <jimb@redhat.com>
2523
2524 Add assembly-source tests for s390-ibm-linux.
2525 * gdb.asm/s390.inc: New file.
2526 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2527 the S/390 architecture.
2528 * gdb.asm/configure: Regenerated.
2529
ca9efc90
MS
25302001-11-30 Michael Snyder <msnyder@redhat.com>
2531
2532 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2533 next, info source, info sources, info line, global and static
2534 variables, and static functions.
2535 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2536 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2537 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2538 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2539 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2540 (gdbasm_leave): Restore frame pointer.
2541 (gdbasm_startup): Copy stack set-up from crt0.S.
2542
d0e66976
FN
25432001-11-26 Fernando Nasser <fnasser@redhat.com>
2544
2545 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2546 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2547 to a local (non-static) variable. Copy tstruct.a to a static buffer
2548 and return a pointer to that buffer.
2549 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2550
e2334072
MK
25512001-11-24 Mark Kettenis <kettenis@gnu.org>
2552
2553 * gdb.asm/configure.in: Fix recognition of ix86 target.
2554 * gdb.asm/configure: Regenerate.
2555
756caa3d
MS
25562001-11-21 Michael Snyder <msnyder@redhat.com>
2557
2558 * gdb.asm/sparc.inc: New file.
2559 * gdb.asm/asm-source.exp: Recognize sparc target.
2560 * gdb.asm/configure.in: Recognize sparc target.
2561 * gdb.asm/configure: Regenerate.
2562
9a4d72d5
MS
25632001-11-21 Michael Snyder <msnyder@redhat.com>
2564
2565 * gdb.asm/m32r.inc: New file.
2566 * gdb.asm/asm-source.exp: Recognize m32r target.
2567 * gdb.asm/configure.in: Recognize m32r target.
2568 * gdb.asm/configure: Regenerate.
2569
a773d1cd
MS
25702001-11-20 Michael Snyder <msnyder@redhat.com>
2571
017ac23d
MS
2572 * gdb.asm/i386.inc: New file.
2573 * gdb.asm/asm-source.exp: Recognize ix86 target.
2574 * gdb.asm/configure.in: Recognize ix86 target.
2575 * gdb.asm/configure: Regenerate.
2576
a773d1cd
MS
2577 * gdb.c++/namespace.exp: Fix quotes in output messages.
2578
bb632afb
MS
25792001-11-14 Michael Snyder <msnyder@redhat.com>
2580
25d559ca 2581 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2582 qualifier in a type cast expression, to designate an address
2583 in the instruction space (Harvard architecture).
2584
4749e309
MS
25852001-11-13 Michael Snyder <msnyder@redhat.com>
2586
2587 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2588 Tests for expressions using 'const' and 'volatile'.
2589
25050984
CV
25902001-11-13 Corinna Vinschen <vinschen@redhat.com>
2591
2592 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2593
1902c51f
DJ
25942001-11-12 Daniel Jacobowitz <drow@mvista.com>
2595
2596 * lib/mi-support.exp (mi_run_to_helper): Move comments
2597 outside of gdb_expect.
2598
dcf95b47
DJ
25992001-11-11 Daniel Jacobowitz <drow@mvista.com>
2600
2601 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2602 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2603 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2604 mi0_run_to): New functions.
2605 * gdb.mi/mi-simplerun.exp: Use them.
2606 * gdb.mi/mi0-simplerun.exp: Likewise.
2607 * gdb.mi/mi-var-cmd.exp: Likewise.
2608 * gdb.mi/mi0-var-cmd.exp: Likewise.
2609
45b074e1
AC
26102001-11-10 Andrew Cagney <ac131313@redhat.com>
2611
2612 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2613 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2614
bf50d346
AC
26152001-11-09 Andrew Cagney <ac131313@redhat.com>
2616
2617 * gdb.base/restore.exp: Include $expected value in restored test
2618 message.
2619
9383332c
AC
26202001-11-09 Andrew Cagney <ac131313@redhat.com>
2621
2622 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2623 implemented.
2624
db62520a
MS
26252001-11-08 Michael Snyder <msnyder@redhat.com>
2626
2627 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2628 Add pass/fail message for stop at breakpoint in call dummy function.
2629
b5703437
MS
26302001-11-07 Michael Snyder <msnyder@redhat.com>
2631
760f6330
MS
2632 * gdb.c++/templates.exp (test_template_breakpoints):
2633 If we get an overload menu, but it does not match what
2634 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2635 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2636 making the whitespace optional. Argument for "new" may be
2637 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2638 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2639 making the whitespace optional. Also replace "(void) with
2640 "((void|)), making the keyword "void" optional.
63f50499
MS
2641 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2642 making the whitespace optional. Also replace "(void) with
2643 "((void|)), making the keyword "void" optional.
3bf40917
MS
2644 * gdb.base/callfuncs.c (t_float_values): This function must
2645 _not_ be prototyped, and the following function (t_float_values2)
2646 must be prototyped (if the compiler supports it), so that GDB
2647 can be tested against both cases. Usually one case involves
2648 promotion of float to double, while the other does not.
2649 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2650 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2651 includes a stack frame for "start".
2652
c8ab4e6d
JB
26532001-11-05 Jim Blandy <jimb@redhat.com>
2654
2655 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2656 pointers are 32 bits long, and that offsets of relocs are always
2657 stored in the data (REL-style), and not in the reloc entry itself
2658 (RELA-style).
2659 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2660 stabs.
2661
3f08ced9
MS
26622001-11-01 Michael Snyder <msnyder@redhat.com>
2663
2664 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2665 and regular expression operators by using quoting.
2666
cbfa24cd
MS
26672001-10-31 Michael Snyder <msnyder@redhat.com>
2668
2669 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2670 depending on what the symbol table contains.
2671 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2672 the output of the ptype command. Similarly, accept both "const &"
2673 and "const&".
2674
aaa68313
CV
26752001-10-31 Corinna Vinschen <vinschen@redhat.com>
2676
2677 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2678 symbol `STORAGE' to allow to choose the storage class of
2679 the local datastructures.
2680 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2681 compiler directive.
2682
91740388
MS
26832001-10-30 Michael Snyder <msnyder@redhat.com>
2684
2685 * gdb.base/jump.exp: Allow it to run for all targets.
2686
1b7c05e7
CV
26872001-10-29 Corinna Vinschen <vinschen@redhat.com>
2688
2689 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2690 with new double_array size.
2691 (main): Change storage class of all local variables to static.
2692 Reduce size of double_array to 9.
2693 * gdb.base/call-ar-st.exp: Increase timeout value.
2694 Change expected output for double array to match new size in
2695 call-ar-st.c.
2696
36a22261
CV
26972001-10-29 Corinna Vinschen <vinschen@redhat.com>
2698
2699 * gdb.base/ending-run.exp: Create identical output when passing
2700 `step to end of run' case. Add regular expression branch satisfying
2701 Stormy16 target.
2702
92b8ae91
MK
27032001-10-28 Mark Kettenis <kettenis@gnu.org>
2704
2705 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2706 that we catch the expected failure under Linux/x86.
2707
cb135b83
OF
27082001-10-29 Orjan Friberg <orjanf@axis.com>
2709
2710 * gdb.base/setvar.exp: Escape curly braces.
2711 * gdb.stabs/weird.exp: Ditto.
2712
6884aa54
DJ
27132001-10-27 Daniel Jacobowitz <drow@mvista.com>
2714
2715 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2716 * gdm.mi/mi0-hack-cli.exp: Likewise.
2717
0398c9aa
AC
27182001-10-25 Andrew Cagney <ac131313@redhat.com>
2719
2720 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2721 messages.
2722
d20bf2e8
AC
27232001-10-21 Andrew Cagney <ac131313@redhat.com>
2724
2725 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2726 checking MI enabled.
2727
03dd63aa
CV
27282001-10-09 Corinna Vinschen <vinschen@redhat.com>
2729
2730 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2731
1d9d99f3
FCE
27322001-10-04 Frank Ch. Eigler <fche@redhat.com>
2733
2734 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2735 if gdb child process crashes, just signal an error.
2736
838ae6c4
JB
27372001-10-02 Jim Blandy <jimb@redhat.com>
2738
2739 * lib/gdb.exp (test_xfail_format): Simplify.
2740
2741 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2742 front of the variable name `format'. Simplify `if'.
2743
8f0cbc1c
DJ
27442001-10-01 Daniel Jacobowitz <drow@mvista.com>
2745
2746 * gdb.threads/pthreads.exp: Wait for output and delay
2747 before sending ^C.
2748
1f08dafd
DJ
27492001-10-01 Daniel Jacobowitz <drow@mvista.com>
2750
2751 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2752 some incorrect output instead of timing out.
2753 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2754
674f90ff
CV
27552001-09-28 Corinna Vinschen <vinschen@redhat.com>
2756
2757 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2758 check to allow additional `int'.
2759
9b284272
DJ
27602001-09-27 Daniel Jacobowitz <drow@mvista.com>
2761
2762 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2763 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2764
b55a4771
MS
27652001-09-27 Michael Snyder <msnyder@redhat.com>
2766
2767 * lib/gdb.exp (test_debug_format): New proc.
2768 (setup_xfail_format): Use new proc test_debug_format.
2769 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2770 proc; use new service proc test_debug_format.
2771 Replace all other "gcc_compiled" tests with this test.
2772 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2773 proc; use new service proc test_debug_format.
2774 Replace all other "gcc_compiled" tests with this test.
2775
27762001-09-27 Michael Snyder <msnyder@redhat.com>
2777
2778 * gdb.base/cvexpr.exp: New file.
2779 * gdb.base/cvexpr.c: New file
2780 Test for expressions using const and volatile keywords.
2781
4e6667ac
CV
27822001-09-26 Corinna Vinschen <vinschen@redhat.com>
2783
2784 * gdb.base/constvars.exp: Check for different orders of keywords
2785 and additional "int" strings in output.
2786
4f337972
AC
27872001-09-22 Andrew Cagney <ac131313@redhat.com>
2788
2789 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2790 responses from "help maint".
2791
2015650d
FCE
27922001-09-19 Frank Ch. Eigler <fche@redhat.com>
2793
2794 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2795 to localhost:NNN instead of :NNN, in case Xvfb is listening
2796 only on TCP.
2797
f3bcedc1
CV
27982001-09-19 Corinna Vinschen <vinschen@redhat.com>
2799
2800 * gdb.base/recurse.exp: When checking leaving the watchpoint
2801 scope, recognize when gdb is in function's epilogue and pass.
2802
6b819c92
KS
28032001-09-18 Keith Seitz <keiths@redhat.com>
2804
2805 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2806 support for running tests against sid targets.
2807 (gdbtk_done): Ditto.
2808
a10c9419
CV
28092001-09-18 Corinna Vinschen <vinschen@redhat.com>
2810
2811 * gdb.base/ending-run.c (main): Set stdout buffersize
2812 to the same reasonable value for any target.
2813 * gdb.base/ending-run.exp: Add a regular expression
2814 to make testsuite happy on Sanyo Stormy16 target.
2815
739d0d99
CV
28162001-09-17 Corinna Vinschen <vinschen@redhat.com>
2817
2818 * gdb.base/display.c (do_loops): Add float variable `f'.
2819 Increment f in loop.
2820 * gdb.base/display.exp: Increment timeout by 60 seconds.
2821 Change float display test to use variable `f'.
2822
1b8947f0
JB
28232001-09-17 Jim Blandy <jimb@redhat.com>
2824
2825 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2826 overflowing the limited breakpoint tables on some ROM monitors
2827 (like the ROM68K).
2828
9890ac81
FCE
28292001-09-15 Frank Ch. Eigler <fche@redhat.com>
2830
2831 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2832 the "-ac" (disable access control) flag.
2833
6db765ea
JH
28342001-08-30 Jeff Holcomb <jeffh@redhat.com>
2835
2836 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2837 ints.
2838
4c32cc04
KS
28392001-08-30 Keith Seitz <keiths@redhat.com>
2840
2841 * lib/gdb.exp: Move all insight-related functionality into
2842 separate file.
2843 * lib/insight-support.exp: New file.
2844
8d6e6f81
FCE
28452001-08-29 Frank Ch. Eigler <fche@redhat.com>
2846
2847 * config/sid.exp (sid_start): Never set sid verbosity; disable
2848 expect_background {} that consumed its stdout; tolerate </dev/null.
2849 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2850
6a90e1d0
AC
28512001-08-18 Andrew Cagney <ac131313@redhat.com>
2852
2853 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2854 CLI jump command to start it.
2855 (mi_run_to_main): Fail immediatly when unexpected output.
2856
1759b3c3
AC
28572001-08-18 Andrew Cagney <ac131313@redhat.com>
2858
2859 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2860 beginning of function. Fix PR gdb/191.
2861
61d11d80
FCE
28622001-08-16 Frank Ch. Eigler <fche@redhat.com>
2863
2864 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2865 what to force sid endianness to.
2866
942a4df2
KS
28672001-08-15 Keith Seitz <keiths@redhat.com>
2868
2869 * lib/gdb.exp (gdbtk_start): Don't set environment
2870 variables for TCL_LIBRARY and friends. Insight will
2871 now figure these out for itself.
2872
0521c418
MS
28732001-08-02 Michael Snyder <msnyder@redhat.com>
2874
2875 * gdb.base/completion.exp: Remove the symbol "a64l" from
2876 the expect string; this is target-specific, and not related
2877 to what is being tested.
2878
74a9a58a
DB
28792001-08-02 Dave Brolley <brolley@redhat.com>
2880
2881 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2882
c70819fa
MS
28832001-07-25 Michael Snyder <msnyder@redhat.com>
2884
c2b8fa57
MS
2885 * gdb.base/consecutive.exp: New file. Test stepping over
2886 breakpoints on consecutive instructions.
2887 * gdb.base/consecutive.c: New file.
2888
c70819fa
MS
2889 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2890 curly braces in regular expressions.
2891
2b1a1355
MS
28922001-07-25 Michael Snyder <msnyder@redhat.com>
2893
2894 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2895 legitimate output from stepping out of main.
2896
413eca6f
KS
28972001-07-22 Keith Seitz <keiths@redhat.com>
2898
2899 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2900 the empty string, do not run the tests.
2901
7e5a9322
SC
29022001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2903
2904 * gdb.base/long_long.exp: Detect size of pointer. Take into
2905 account 2-byte pointers when testing for p/a results.
2906
de58f10f
SC
29072001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2908
2909 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2910 and defined to 1K for m68hc11.
2911 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2912 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2913 (sizeof_random_data): New variable to tell the size of the data table;
2914 don't test past this size; always run to main.
2915
d6f5fea1
SC
29162001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2917
2918 * gdb.base/return2.exp: return of long long and double fails for
2919 68HC11; don't execute these tests on that platform.
2920 * gdb.base/return.exp: Return of a double fails for 68hc11.
2921
c477543d
SC
29222001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2923
2924 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2925 tests that print a float.
2926 * call-rt-st.exp: Likewise.
2927
63cf1c79
MK
29282001-07-12 Mark Kettenis <kettenis@gnu.org>
2929
2930 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2931 running this test on Linux.
2932
112f9ab5
MC
29332001-06-24 Michael Chastain <chastain@redhat.com>
2934
2935 * gdb.base/arithmet.exp: Remove some tests to make all test names
2936 unique.
2937
4970cb0f
MS
29382001-07-03 Michael Snyder <msnyder@redhat.com>
2939
2940 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2941 the output of the ptype command.
2942
d85da69f
MS
29432001-07-02 Michael Snyder <msnyder@redhat.com>
2944
4c8a82de
MS
2945 * gdb.base/completion.exp: Don't assume that break.c is the only
2946 source file that may contain functions named "marker".
d85da69f
MS
2947 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2948
8afc772b
AC
29492001-06-28 Andrew Cagney <ac131313@redhat.com>
2950
2951 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2952 of files to delete.
2953
2954 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2955 * gdb.disasm/h8300s.exp: New file.
2956 gdb.disasm/h8300s.s: Likewise.
2957
cff22675
AC
29582001-06-27 Andrew Cagney <ac131313@redhat.com>
2959
2960 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2961 empty breakpoint tables.
2962
68c81b54
AC
29632001-06-25 Andrew Cagney <ac131313@redhat.com>
2964
2965 * lib/mi-support.exp: Update args=... part of stop-reason
2966 patterns. Accept either a list or a tuple.
2967
2dd62704
AC
29682001-06-23 Andrew Cagney <ac131313@redhat.com>
2969
2970 * lib/mi-support.exp: Remove local emacs variable defining
2971 change-log-default-name.
2972
b4127474
MC
29732001-06-22 Michael Chastain <chastain@redhat.com>
2974
2975 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2976 This is operationally compatible with the previous version.
2977
8dbfb380
JB
29782001-06-13 Jim Blandy <jimb@redhat.com>
2979
2980 * lib/gdb.exp (gdb_test): Doc fix.
2981
f2d8c86d
MC
29822001-06-10 Michael Chastain <chastain@redhat.com>
2983
2984 * gdb.base/exprs.exp: Remove a duplicate test.
2985
81564d34
JB
29862001-06-06 Jim Blandy <jimb@redhat.com>
2987
2988 * gdb.base/return2.exp (main): Use values to test float and double
2989 returns that are not NaN's, to avoid being confused by IEEE
2990 comparison rules.
2991
da55addb
MS
29922001-06-04 Michael Snyder <msnyder@redhat.com>
2993
2994 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2995 non-zero if control_c fails. Terminate the test on failure,
2996 rather than wait for 12 more tests to time out.
2997
42c65987
JB
29982001-06-06 Jim Blandy <jimb@redhat.com>
2999
b18bced9
JB
3000 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3001 Don't forget to match the GDB prompt.
3002
42c65987
JB
3003 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3004
5b41e5f0
JB
30052001-06-04 Jim Blandy <jimb@redhat.com>
3006
3007 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3008 command.
3009
015e046f
KB
30102001-05-31 Kevin Buettner <kevinb@redhat.com>
3011
3012 * gdb.base/annota1.exp (info break): Match four or more spaces
3013 after "Address".
3014
fb1ffbbe
MC
30152001-05-31 Michael Chastain <chastain@redhat.com>
3016
3017 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3018 (dm_type_int_star): Likewise.
3019 (dm_type_long_star): Likewise.
3020 (dm_type_void_star): Likewise.
3021
5ea2a32c
KB
30222001-05-29 Kevin Buettner <kevinb@redhat.com>
3023
3024 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3025 to a known value in order to get consistent results regardless
3026 of the setting of INPUTRC or the presence or contents of .inputrc.
3027
ae23c492
MS
30282001-05-24 Michael Snyder <msnyder@redhat.com>
3029
ac55707e
MS
3030 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3031 Don't require that the main thread and the manager thread are the
3032 first in the list.
3033
ae23c492
MS
3034 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3035 debugging. If test fails, issue an "unsupported" not a "fail".
3036
400071f1
JB
30372001-05-24 Jim Blandy <jimb@redhat.com>
3038
3039 Don't assume that short is shorter than int.
3040 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3041 assume that shorts are smaller than ints. On a 16-bit machine,
3042 this isn't true.
3043 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3044 an int, is not equal to ~0 stored in an unsigned char. This tests
3045 the same thing that the previous test meant to, but works on
3046 16-bit machines, too.
3047 ("print unsigned char != (~0)"): Same test, complemented.
3048
0816a3e5
MS
30492001-05-24 Michael Snyder <msnyder@redhat.com>
3050
3051 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3052 test for (full_coverage == 0). This makes the test run faster,
3053 and prevents dejagnu getting out of step.
3054
f6dc23a9
KB
30552001-05-23 Kevin Buettner <kevinb@redhat.com>
3056
3057 * gdb.base/finish.exp (finish_void): Revise pattern for
3058 stopping on the call statement to not permit stopping at
3059 the start of the instructions comprising the call sequence.
3060
7dbd117d
MC
30612001-05-19 Michael Chastain <chastain@redhat.com>
3062
3063 * gdb.base/callfuncs.exp: Make all test names unique.
3064 * gdb.base/commands.exp: Make all test names unique.
3065 * gdb.base/condbreak.exp: Make all test names unique.
3066 * gdb.base/dbx.exp: Make all test names unique.
3067 * gdb.base/default.exp: Make all test names unique.
3068 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3069 and TIMEOUT messages to their corresponding PASS message.
3070 * gdb.base/ending-run.exp: Make all test names unique.
3071 * gdb.base/long_long.exp: Remove duplicate test.
3072
6b0b0a9e
KB
30732001-05-21 Kevin Buettner <kevinb@redhat.com>
3074
3075 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3076 stop on the call statement as well as the statement after the
3077 call.
3078
2caa35cb
MS
30792001-05-21 Michael Snyder <msnyder@redhat.com>
3080
3081 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3082
40713331
EZ
30832001-05-10 Elena Zannoni <ezannoni@redhat.com>
3084
3085 * gdb.base/completion.exp: Revamp test. Make it execute on all
3086 platforms.
3087
c2c1be8d
EZ
30882001-05-10 Elena Zannoni <ezannoni@redhat.com>
3089
2c9cd303
EZ
3090 * config/gdbserver.exp (gdb_load): Handle the case
3091 in which the arguments to gdbserver are given in the
3092 baseboard configuration file.
3093 Also handle the case in which the server needs to do a
3094 load.
3095
9671de48
KS
30962001-05-07 Keith Seitz <keiths@cygnus.com>
3097
3098 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3099 set up the display for testing.
3100 (gdbtk_start): Convert all paths to paths that tcl will like.
3101 Export target information to environment.
3102 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3103 necessary.
3104 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3105 (to_tcl_path): New proc to convert a given pathname into
3106 a path acceptible as an argument to a tcl command.
3107 (_gdbtk_export_target_info): New proc to export target info
3108 into the environment for gdbtk testing.
3109 (gdbtk_done): New proc to signal end-of-test.
3110
5a360f47
JB
31112001-05-06 Jim Blandy <jimb@redhat.com>
3112
3113 * restore.c: Make the code of caller0 correspond to its comment.
3114
66c756c6
MS
31152001-05-03 Michael Snyder <msnyder@redhat.com>
3116
3117 * config/sid.exp (gdb_target_sid): Check for error messages.
3118 On error or timeout, don't make expect exit (which will terminate
3119 all subsequent tests); instead just make gdb exit.
3120 (gdb_load): Check for error messages. On error or timeout,
3121 return a negative value.
3122
a966fde5
JB
31232001-04-24 Jim Blandy <jimb@redhat.com>
3124
851c18e0
JB
3125 * gdb.c++/templates.exp: If we see the prompt for the overload
3126 list, but we haven't recognized any of the longer patterns,
3127 arrange for this test to fail, not hang.
3128
a966fde5
JB
3129 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3130 variations.
3131
db144853
MC
31322001-04-22 Michael Chastain <chastain@redhat.com>
3133
3134 * gdb.c++/local.exp: Use the 'runto' library function.
3135 * gdb.c++/namespace.exp: Likewise.
3136 * gdb.c++/overload.exp: Likewise.
3137
3207ec21
KB
31382001-03-26 Kevin Buettner <kevinb@redhat.com>
3139
3140 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3141 * gdb.base/step-line.exp: New file. Test step/next in presence of
3142 #line directives.
3143 * gdb.base/step-line.c: New file. Test program for the above.
3144 * gdb.base/step-line.inp: New file. We pretend that this file has
3145 been transformed by some other tool into step-line.c.
3146
13b57657
JB
31472001-03-21 Jim Blandy <jimb@redhat.com>
3148
3149 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3150 unmangled operator names.
3151
754cbe1c
JB
31522001-03-20 Jim Blandy <jimb@redhat.com>
3153
3154 * gdb.threads/linux-dp.exp: Recognize an additional message
3155 generated by GDB when it doesn't understand how to debug threads
3156 on the target system.
3157
177495c9
AC
31582001-03-19 Andrew Cagney <ac131313@redhat.com>
3159
3160 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3161
f266096b
MC
31622001-03-12 Michael Chastain <chastain@redhat.com>
3163
3164 * gdb.c++/derivation.exp: Use the 'runto' library function.
3165
cac3c2ff
MC
31662001-03-12 Michael Chastain <chastain@redhat.com>
3167
3168 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3169
b6c11a24
MC
31702001-02-24 Michael Chastain <chastain@redhat.com>
3171
3172 * gdb.c++/ref-types.exp: Change handwritten code to library
3173 function 'runto'.
3174
6bae5bce
OF
31752001-03-16 Orjan Friberg <orjanf@axis.com>
3176
3177 * gdb.base/signals.exp: Set count to 0 explicitly.
3178
0015fd9a
MS
31792001-03-15 Mark Salter <msalter@redhat.com>
3180
3181 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3182 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3183 (gdb_load): Add support for additional target_info: gdb_download_size
3184 and gdb_load_timeout.
0015fd9a 3185
fc33412a
DT
3186Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3187
3188 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3189 file -- to prevent failing when the compile fails but we have no
3190 intention of running the tests anyway.
3191
3192 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3193 tests if set.
3194
3195 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3196 integers.
3197
3198 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3199 * gdb.c++/namespace.exp: Ditto.
3200
115f06de
OF
32012001-03-07 Orjan Friberg <orjanf@axis.com>
3202
3203 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3204 * gdb.base/pointers.exp: Relax pattern match of decimals.
3205
b6ba6518
KB
32062001-03-06 Kevin Buettner <kevinb@redhat.com>
3207
3208 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3209 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3210 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3211 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3212 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3213 config/sh.exp, config/sid.exp, config/slite.exp,
3214 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3215 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3216 config/vxworks.exp, config/vxworks29k.exp,
3217 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3218 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3219 gdb.base/arithmet.exp, gdb.base/assign.exp,
3220 gdb.base/async.exp, gdb.base/attach.exp,
3221 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3222 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3223 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3224 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3225 gdb.base/commands.exp, gdb.base/completion.exp,
3226 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3227 gdb.base/constvars.exp, gdb.base/corefile.exp,
3228 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3229 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3230 gdb.base/ending-run.exp, gdb.base/environ.exp,
3231 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3232 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3233 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3234 gdb.base/funcargs.exp, gdb.base/help.exp,
3235 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3236 gdb.base/logical.exp, gdb.base/long_long.exp,
3237 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3238 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3239 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3240 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3241 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3242 gdb.base/regs.exp, gdb.base/relational.exp,
3243 gdb.base/remote.exp, gdb.base/reread.exp,
3244 gdb.base/restore.exp, gdb.base/return2.exp,
3245 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3246 gdb.base/selftest.exp, gdb.base/setshow.exp,
3247 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3248 gdb.base/sigall.exp, gdb.base/signals.exp,
3249 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3250 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3251 gdb.base/step-test.exp, gdb.base/structs.c,
3252 gdb.base/structs.exp, gdb.base/structs2.exp,
3253 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3254 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3255 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3256 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3257 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3258 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3259 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3260 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3261 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3262 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3263 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3264 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3265 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3266 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3267 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3268 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3269 gdb.trace/circ.exp, gdb.trace/collection.exp,
3270 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3271 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3272 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3273 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3274 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3275 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3276 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3277 notices.
3278
dc96c6c7 32792001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
3280
3281 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3282 first arg is int not float.
3283
dc96c6c7 32842001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
3285
3286 * gdb.base/reread.exp: Unsupported for non-native targets;
3287 doesn't work for remote debugging.
3288
9b0c4aeb
FN
32892001-02-19 Fernando Nasser <fnasser@redhat.com>
3290
3291 From Drew Moseley <dmoseley@redhat.com>
3292 * gdb.base/ending-run.exp: Properly handle the BSP state when
3293 stepping past the end of main.
3294
02aa71d5
MC
32952001-02-19 John Moore <jmoore@redhat.com>
3296
3297 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3298 Converted HPUX fix for non-expected items following multiple
3299 step commands into general solution for all platforms.
3300
1fa449a4
MC
33012001-02-18 Michael Chastain <chastain@redhat.com>
3302
3303 * gdb.c++/classes.exp (do_tests): Change runto statements
3304 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3305 statements demangler agnostic.
3306 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3307 (gdb_virtfunc_restart): Likewise.
3308
b2f9ec70
MC
33092001-02-14 Michael Chastain <chastain@redhat.com>
3310
3311 * gdb.c++/inherit.exp (do_tests): Change runto statements
3312 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3313 statements demangler agnostic.
3314
cf74b8ca
AC
3315Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3316
3317 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3318 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3319 before calling common_routine 15 times'' tests.
3320
99f78f56
MC
33212001-02-11 Michael Chastain <chastain@redhat.com>
3322
3323 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3324 Helps the test script figure out which demangler is in use.
3325 (dm_type_foo_ref): Ditto.
3326 (dm_type_int_star): Ditto.
3327 (dm_type_long_star): Ditto.
3328 (dm_type_unsigned_int): Ditto.
3329 (dm_type_void): Ditto.
3330 (dm_type_void_star): Ditto.
99707966 3331 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
3332 Probe the gdb demangler and set variables to accommodate
3333 formatting differences.
3334 (info_func_regexp): New function. Same as info_func, but
3335 matches against a regexp.
3336 (info_func): Match against a literal string.
3337 (print_addr_2): New function. Match against a literal string,
3338 which can be different from the input to gdb.
3339 (print_addr): Simply call print_addr_2 with the same argument twice.
3340 (test_lookup_operator_functions): Use demangler formatting variables.
3341 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3342 the tests in the same order as the C++ class declaration.
3343 (test_paddr_operator_functions): Ditto.
3344 (test_paddr_overloaded_functions): Ditto.
3345 (test_paddr_hairy_functions): Use demangler formatting variables.
3346 Add reference to gdb/19 for related tests.
3347 (do_tests): Call probe_demangler.
3348
1de8f023
KB
33492001-01-30 Kevin Buettner <kevinb@redhat.com>
3350
3351 * gdb.c++/templates.cc (printf): Remove unused function definition.
3352
ca3f91ed
MS
33532001-01-26 Felix Lee <flee@redhat.com>
3354
3355 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3356
33572001-01-25 matthew green <mrg@redhat.com>
3358
3359 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3360 up sid.
3361 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3362
33632001-01-25 matthew green <mrg@redhat.com>
3364
3365 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3366 Deprecate $sid_spawn_id.
3367 (sid_exit): Remove code necessary only for `spawn.'
3368
33692001-01-25 matthew green <mrg@redhat.com>
3370
3371 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3372
fb18ec4a
MC
33732001-01-28 Michael Chastain <chastain@redhat.com>
3374
3375 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3376 to call when tests fail. It takes gdb out of the overloaded
3377 function choice menu back to the main prompt, so that the test
3378 program stays synchronized.
3379 (set_bp_overloaded): New proc to collect all the common
3380 code for setting a breakpoint on an overloaded name. Calls
3381 take_gdb_out_of_choice_menu when needed.
3382 (menu_overload1arg): New variable to collect the repeated
3383 instances of the expected menu for an overloaded name. Change
3384 the regular expression to handle changes in g++ type encoding:
3385 "void" can be either "void" or "", and "unsigned int" can be
3386 either "unsigned int" or "unsigned".
3387 (continue_to_bp_overloaded): Change regular expressions to handle
3388 changes in g++ type encoding.
3389 (no proc): Call take_gdb_out_of_choice_menu when needed.
3390 Remove redundant calls to "info break". Accept either "canceled"
3391 or "cancelled". Change regular expressions in "info break"
3392 calls to handle changes in g++ type encoding. Give all tests
3393 unique strings.
3394
9c646a6e
BE
33952001-01-17 Ben Elliston <bje@redhat.com>
3396
3397 * config/sid.exp: New file.
3398
9549d9c1
AC
3399Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3400
3401 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3402
dc96c6c7 34032000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
3404
3405 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3406 Add a RE to accept a non-ascii char if one is ever presented.
3407
b4df4f68
FN
34082000-12-20 Fernando Nasser <fnasser@redhat.com>
3409
297dd0fd 3410 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 3411
dc96c6c7 34122000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
3413
3414 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3415 in regexp. One '\' does not suffice on Linux.
3416
4a7bddb6
MC
34172000-12-09 Michael Chastain <chastain@redhat.com>
3418
3419 * gdb.base/break.exp (test_clear_command): Use a marker function
3420 rather than 'main' for the test function. Also move this
3421 test to an execution point where the marker function names are
3422 guaranteed to be bound to functions. (Executing tests after a
3423 'finish' from main runs into name conflicts with local names
3424 in __libc_start_main).
3425
dc96c6c7 34262000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
3427
3428 * gdb.base/finish.exp: New test for gdb's "finish" command.
3429 * gdb.base/return2.exp: New test for gdb's "return" command.
3430 * gdb.base/return2.c: New source file for above.
3431
dc96c6c7 34322000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
3433
3434 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3435 * gdb.base/miscexprs.exp: Ditto.
3436 * gdb.base/pointers.exp: Ditto.
3437 * gdb.c++/derivation.exp: Ditto.
3438 * gdb.c++/local.exp: Ditto.
3439 * gdb.c++/namespace.exp: Ditto.
3440 * gdb.c++/overload.exp: Ditto.
3441 * gdb.c++/ref-types.exp: Ditto.
3442
dc96c6c7 34432000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3444
3445 * gdb.base/constvars.exp: Test result of "up" command.
3446 * gdb.base/miscexprs.exp: Ditto.
3447 * gdb.base/pointers.exp: Ditto.
3448 * gdb.base/scope.exp: Ditto.
3449 * gdb.c++/derivation.exp: Ditto.
3450 * gdb.c++/local.exp: Ditto.
3451 * gdb.c++/namespace.exp: Ditto.
3452 * gdb.c++/overload.exp: Ditto.
3453 * gdb.c++/ref-types.exp: Ditto.
3454
44097287
FN
34552000-11-22 Michael Chastain <chastain@redhat.com>
3456
3457 * mips_pro.exp: Accept either "middle -> top -> main" or
3458 "middle -> main" in the backtrace, because gcc can optimize
3459 tail calls to jumps. Remove setup_xfail for the hppa case.
3460 Add a comment with the original warning messages from PR 3016,
3461 which was filed in 1993, to preserve them for posterity.
3462
9d2e1bab
ND
34632000-11-17 Nick Duffek <nsd@redhat.com>
3464
3465 * lib/gdb.exp (gdb_test): Override timeout with board info.
3466
1aca8eb7
ND
34672000-11-17 Nick Duffek <nsd@redhat.com>
3468
3469 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3470 the second kill and detach messages.
3471
93076499
ND
34722000-11-17 Nick Duffek <nsd@redhat.com>
3473
3474 * configure.in: Add AC_EXEEXT.
3475 * configure: Regenerate.
3476 * Makefile.in (just-check): Export EXEEXT.
3477 * lib/gdb.exp ($EXEEXT): Import from environment.
3478 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3479 expect "maint dump-me" on Cygwin.
3480 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3481 $EXEEXT.
3482
30e87cd3
ND
34832000-11-17 Nick Duffek <nsd@redhat.com>
3484
3485 * gdb.base/break.exp: Test backtrace and finish from called
3486 function on all platforms, not just HP-UX.
3487
dc96c6c7 34882000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3489
3490 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3491 code from gdb_target_monitor, so it can be used independantly
3492 for gdbserver. Also comment out an unnecessary PUTS.
3493
dc96c6c7 34942000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3495
3496 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3497 * gdb.base/corefile.exp: Expect the message "Program is being
3498 debugged already" when we send the "corefile" command, since
3499 the preceeding gdb_load may have connected gdb to a remote target.
3500 * gdb.base/display.exp: Disable hardware watchpoints if new
3501 board info variable "no_hardware_watchpoints" is true.
3502 Replace single-letter commands with more readable ones.
3503 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3504 if new board info variable "no_hardware_watchpoints" is true.
3505 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3506 to see if stdio (printf) testing is possible.
3507 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3508 board info variable "no_hardware_watchpoints" is true. Use new
3509 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3510
39124dea
FN
35112000-11-13 Fernando Nasser <fnasser@redhat.com>
3512
3513 From Orjan Friberg <orjanf@axis.com>:
3514 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3515 in array print pattern match.
3516
a9e2e984
FN
35172000-11-09 Fernando Nasser <fnasser@redhat.com>
3518
3519 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3520 spelling "cancelled" to U.S. spelling "canceled" to match changes
3521 made to gdb.
3522 * gdb.c++/ovldbreak.exp: Ditto.
3523
c7db355b
PS
35242000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3525
3526 * gdb.base/callfuncs.c (main): Moved to end of file, call
3527 t_double_values to initialize the FPU before inferior calls are made.
3528 * gdb.base/callfuncs.exp: Test for register preservation after calling
3529 inferior functions. Add tests for continuining, finishing and
3530 returning from a stop in a call dummy.
3531
dc96c6c7 35322000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3533
3534 * gdb.base/commands.exp: Break up long lines, and re-indent.
3535
dc96c6c7 35362000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3537
3538 * config/gdbserver.exp: Rewritten from the ground up, to make it
3539 compatible with the current dejagnu tree, and to make it work with
3540 the new "gdbserver" in libremote.
3541
dc96c6c7 35422000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3543
3544 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3545 * gdb.base/varargs.exp: Skip entire test if no printf support.
3546 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3547 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3548
dc96c6c7 35492000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3550
3551 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3552 no floating point support.
3553 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3554 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3555 * gdb.base/call-rt-st.exp: Ditto.
3556 * gdb.base/call-strs.exp: Ditto.
3557
bac5fc66
JG
35582000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3559
3560 * gdb.base/sizeof.c: include <stdio.h>.
3561
3562 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3563 'finish', otherwise uncaptured gdb_prompt would potentially
3564 throw remaining test points out of sync.
3565
b22a6027
SB
35662000-07-26 Scott Bambrough <scottb@netwinder.org>
3567
3568 * gdb.base/recurse.exp: Run tests for all targets.
3569 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3570 gnu-oldld case on ARM.
3571 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3572 for ARM targets.
3573
d8231941
AG
3574Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3575
3576 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3577 * gdb.java/configure: Rebuild.
3578
8caabe69
AG
3579Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3580
3581 * gdb.java/jv-exp.exp: New file.
3582
9d273ca3
AG
3583Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3584
3585 * configure: Rebuilt.
3586 * configure.in (configdirs): Add gdb.java.
3587 * gdb.java/jmisc.java: New file.
3588 * gdb.java/jmisc.exp: New file.
3589 * gdb.java/Makefile.in: New file.
3590 * gdb.java/configure: Rebuilt.
3591 * gdb.java/configure.in: New file.
3592 * lib/java.exp: New file.
3593
4f823a66
AC
3594Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3595
3596 * gdb.base/exprs.exp: Test casts to a pointer including over and
3597 underflow.
3598
2391e11d
AC
3599Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3600
3601 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3602 and the compilers sizes.
3603
54602222
ND
36042000-07-09 Nick Duffek <nsd@redhat.com>
3605
3606 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3607 (use_methods): New function.
3608 (main): Call use_methods().
3609 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3610 (do_tests): Call test_method_param_class.
3611
2bec0572
ND
36122000-07-09 Nick Duffek <nsd@redhat.com>
3613
3614 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3615 spelling.
3616 (test_enums): New procedure. Move enum tests from end of script
3617 to here. Set breakpoint on function name instead of line number.
3618 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3619 (enums2): New marker function.
3620 (enums1): New function.
3621 (main): Call enums1(). Move enum tests to enums1().
3622
78492fde
AC
3623Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3624
3625 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3626 compile/link program. Update line numbers.
3627 * gdb.asm/d10v.inc: Define ``startup''.
3628 * gdb.asm/asmsrc1.s: Add definition of _start.
3629
49a2cef8
AC
3630Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3631
3632 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3633
3e6c8688
EZ
36342000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3635
3636 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3637 of 'help maint print' command.
3638
9ff5cbe9
AC
3639Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3640
3641 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3642 they use gdb_expect_list.
3643
17c579bd
AC
3644Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3645
3646 * gdb.base/commands.exp: Use ``set remote
3647 memory-read-packet-size'' instead of ``set endian big'' to test
3648 long commands.
3649
e6d71bf3
DB
36502000-06-03 Daniel Berlin <dan@cgsoftware.com>
3651
3652 * gdb.c++/templates.exp (do_tests): Make all of these work under
3653 g++, and stop skipping them.
3654
3655 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3656 work under g++.
3657
e5f9ba7b
MS
3658 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3659 initialization.
3660
dc96c6c7 36612000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3662
3663 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3664 the regular expression: accept an (almost) arbitrary sequence of
3665 "frames-invalid" and "breakpoints-invalid" messages both before
3666 and after the "starting" message.
3667
dc96c6c7 36682000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3669
3670 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3671
dc96c6c7 36722000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3673
3674 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3675 Relax the regular expression a little, make it pass on Solaris 8.
3676
8216cda9
KB
36772000-05-12 Kevin Buettner <kevinb@redhat.com>
3678
3679 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3680 a call, do not require that gdb stop on the line after the call.
3681 Instead, it is permissible for gdb to stop on the line of the
3682 call itself.
3683
1a570b2f
MS
36842000-05-12 Michael Snyder <msnyder@.cygnus.com>
3685
3686 * gdb.base/break.exp (bp on small function, optimized file):
3687 Add a second pass pattern. The behavior differs here between stabs
3688 and dwarf for one-line functions. Stabs preserves two line symbols
3689 (one before the prologue and one after) with the same line number,
3690 but dwarf regards these as duplicates and discards one of them.
3691 Therefore the address after the prologue (where the breakpoint is)
3692 has no exactly matching line symbol, and GDB reports the breakpoint
3693 as if it were in the middle of a line rather than at the beginning.
3694
dc96c6c7 36952000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3696
3697 * gdb.base/interrupt.exp: Make "pass" message say "send"
3698 rather than "send_gdb" (for consistancy).
3699
7d418785
AC
3700Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3701
3702 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3703 * gdb.c++/templates.cc: Properly check for GCC version number.
3704 * lib/compiler.cc: Likewise
3705
dc96c6c7 37062000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3707
3708 * gdb.base/break.exp: When compiled with -O2 optimization,
3709 gdb may not stop at the first line of main, due to code motion.
3710
dc96c6c7 37112000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3712
3713 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3714 This test depends on parsing the printf output from the target.
3715 Since the sparclet stub doesn't do stdio, this will never work.
3716 * gdb.base/call-rt-st.exp: ditto.
3717 * gdb.base/call-strs: ditto.
3718
dc96c6c7 37192000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3720
3721 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3722
3723 * gdb.base/ending-run.exp: After connecting to a remote target,
3724 but before running, the target will appear to be in a random
3725 location. Specify both a file and a line for breakpoints.
3726 Also, the function that calls main may be called 'init'
3727 rather than 'start'.
3728
a5a51225
EZ
37292000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3730
3731 * gdb.base/help.exp: Update output for add-symbol-file command.
3732
7930cc7c
FN
37332000-04-10 Fernando Nasser <fnasser@cygnus.com>
3734
3735 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3736 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3737
23e37ab1
C
37382000-04-07 J.T. Conklin <jtc@redback.com>
3739
e93c542c
C
3740 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3741
23e37ab1
C
3742 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3743
591b8fa3
PDM
3744Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3745
3746 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3747 values that can be represented exactly.
3748 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3749 above change, and to not check against the directory part of the source
3750 file name.
3751 (step into print_long_arg_list): Likewise.
3752 (print print_small_structs from print_long_arg_list): Likewise.
3753 (print print_long_arg_list): Likewise.
3754
7a495180
EZ
37552000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3756
30b53638 3757 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3758
beb998c6
AC
3759Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3760
3761 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3762
1c689132
DB
37632000-03-25 Daniel Berlin <dan@cgsoftware.com>
3764
3765 * gdb.base/commands.exp (deprecated_command_test): Add test for
3766 deprecate with no arguments.
3767
c1790a9d
JL
37682000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3769
3770 * gdb.base/break.exp: Add new test for setting breakpoints on
3771 optimized code so we can test breakpoints work even when function
3772 prologues may be optimized away
3773
003ba290
FN
37742000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3775
3776 From David Whedon <dwhedon@gordian.com>
3777 * gdb.base/commands.exp : Added command deprecator tests.
3778
6837a0a2
DB
37792000-03-22 Daniel Berlin <dan@cgsoftware.com>
3780
3781 * gdb.base/help.exp: Added test for new apropos command.
3782
b9593231
KB
37832000-03-21 Kevin Buettner <kevinb@redhat.com>
3784
3785 * gdb.base/pointers.c (usevar): New function.
3786 (main): Make sure that global variables v_int_pointer2, rptr,
3787 and y are all referenced someplace in the program by calling
3788 usevar() on them. [Some linkers delete symbols which are
3789 never referenced. The space remains, but there's no way to
3790 get a (symbolic) handle on the variable from the debugger.]
3791
751a959b
EZ
37922000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3793
3794 * gdb.base/printcmds.c: Add typedeffed arrays.
3795
3796 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3797 procedure to test arrays that are typedef'd.
3798
73a93a32
JI
37992000-03-13 James Ingham <jingham@leda.cygnus.com>
3800
3801 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3802 the library directories.
73a93a32 3803
fb40c209
AC
3804Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3805
3806 * configure.in (configdirs): Add sub directory gdb.mi.
3807 * configure: Re-generate.
3808
3809 * gdb.mi: New directory.
beb998c6 3810
ee4dd2c9
AC
38112000-02-25 Scott Bambrough <scottb@netwinder.org>
3812
3813 * gdb.base/long_long.exp: Correct test suite failure when printing
3814 a long long value as a double on ARM platforms.
3815
70f0cc22
JB
38162000-02-16 Jim Blandy <jimb@redhat.com>
3817
3818 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3819 default source file is set properly before running this test.
3820
853819b8
EZ
38212000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3822
3823 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3824 gdbtk/library directory, not in gdbtcl2.
3825
dfcd3bfb
JM
38262000-02-04 Jim Blandy <jimb@redhat.com>
3827
3828 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3829 backslash from regexp pattern.
3830
3831 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3832 procedure. Use it to run all the "continue to bp overloaded"
3833 tests. Note that this changes the names of the tests slightly.
3834 If the breakpoint hit message includes a hex PC value, because
3835 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3836 from the real source code, still consider that a pass.
3837
3838 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3839 XFAIL here if the breakpoint message contains a hex address. Note
3840 similar change on 1999-11-02.
3841
3842 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3843
3844 * gdb.base/ptype.exp: Establish a default source file before
3845 calling get_debug_format.
3846
38472000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3848
3849 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3850
8b93c638
JM
38512000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3852
3853 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3854 of successive stepi commands -- while in the prologue we should see
3855 the function entry bracket.
3856
38572000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3858
3859 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3860 reach __change_mode() when stepping through the end of main().
3861
c5394b80
JM
38622000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3863
3864 * gdb.base/default.exp: Fix expected pattern.
3865 * gdb.base/help.exp: Same.
3866
0d06e24b
JM
38672000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3868
3869 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3870 Don't use xfail's because that affects only the following test.
beb998c6 3871
0d06e24b
JM
3872 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3873 solaris or linux.
3874
3875 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3876
dc96c6c7 38772000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3878
beb998c6 3879 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3880 "A syntax error" rather than "A parse error". Accept both.
3881
38822000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3883
3884 * gdb.base/default.exp: Remove OS dependent string from "target
3885 remote" test.
3886 * gdb.base/help.exp: Same for "help target remote" test.
3887
c3f6f71d
JM
38882000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3889
3890 From Jim Kingdon <kingdon@redhat.com>:
3891
3892 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3893 prompt (cleanup rather than necessity, but still might keep output
3894 from spilling to next test).
3895
38962000-01-02 Fred Fish <fnf@cygnus.com>
3897
3898 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3899 AIX, which defines them in <sys/types.h>.
3900
ed9a39eb 39011999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3902
ed9a39eb
JM
3903 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3904 float" test.
3905
39061999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3907
ed9a39eb 3908 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3909
3910 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3911 outermost frame disallowed".
3912
39131999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3914
3915 * gdb.base/setvar.exp: New tests for setting the value of a struct
3916 with a constant list.
3917
39181999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3919
3920 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3921 require the user to type a cast before setting the value of a struct.
3922
de57eccd
JM
39231999-12-06 Jim Blandy <jimb@cygnus.com>
3924
3925 * gdb.base/default.exp: Expect the new 'info float' command on
3926 all i386 platforms.
3927
3928 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3929 LinuxThreads libraries that don't support debugging.
3930
c2d11a7d
JM
3931Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3932
3933 * gdb.base/remote.c: Fill the buffer with truely random data.
3934 Change the buffer type to ``unsigned char'' to simplify size
3935 arithmetic.
3936
3937 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3938 stub only handles 400-1 byte packets. Verify that the download
3939 worked.
3940
39411999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3942
3943 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3944 tests, using UNRESOLVED for the untested cases. Also, does not wait
3945 for a timeout if the prompt was received before a recognizable pattern.
3946
39471999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3948
3949 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3950
39511999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3952
3953 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3954 watchpoints.
3955
39561999-11-24 Jason Merrill <jason@casey.cygnus.com>
3957
3958 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3959
3960 * gdb.c++/local.exp: Be more flexible in recognizing local class
3961 name mangling. Don't allow horribly truncated method names.
3962 * gdb.c++/derivation.exp: Expect protected inheritance.
3963 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3964 * gdb.c++/virtfunc.exp: Likewise.
3965 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3966 when printing a nested enum.
3967
39681999-11-22 Jim Blandy <jimb@cygnus.com>
3969
3970 * gdb.base/step-test.exp: Properly await GDB's response to setting
3971 a breakpoint on the call to large_struct_by_value.
3972
3973 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3974 just because we have debug info for the `start' function.
3975
39761999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3977
3978 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3979 "Unknown signal" messages, which indicate (on LinuxThreads) that
3980 GDB doesn't know how to debug threads on this system. This is
3981 better than hanging while philosopher 0 dumps chatter into gdb.log.
3982
39831999-11-18 Tom Tromey <tromey@cygnus.com>
3984
3985 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3986
39871999-11-18 Fred Fish <fnf@cygnus.com>
3988
3989 * gdb.base/coremaker2.c: Add sample program for generating
3990 cores that is more self contained than coremaker.c. Eventually
3991 I'll add more code to this and tie it into the testsuite.
3992
4ce44c66
JM
39931999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3994
3995 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3996
39971999-11-10 Jimmy Guo <guo@cup.hp.com>
3998
3999 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4000 from $srcdir/lib/.
4001 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4002 and gdb.c++/.
4003
4004 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4005
beb998c6 4006 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4007 'continue with watch' test point.
4008
40091999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4010
4011 Merged from p2linux-990323-branch:
beb998c6 4012
4ce44c66
JM
4013 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4014
11cf8741
JM
4015Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4016
4017 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4018 {limit,fixed}''. Test ``set download-write-size''.
4019
4020Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4021
4022 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4023 gdb_expect_list.
4024
4025Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4026
4027 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4028
40291999-11-03 Mark Salter <msalter@cygnus.com>
4030
4031 * gdb.base/break.exp: Fix "stub continue" pattern.
4032
40331999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4034
4035 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4036
40371999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4038
4039 * gdb.base/display.exp ("finish"): Add timeout clause.
4040
4041 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4042 plain prompt clause, so this doesn't have to time out in order to
4043 fail.
4044
4045 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4046 breakpoint hit messages include an address.
4047
4048 * gdb.base/display.exp: Don't forget to escape parens in regular
4049 expressions. Unix regexp notatation sucks.
4050
40511999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4052
4053 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4054 order for 'signalled' message.
4055
5c44784c
JM
40561999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4057
4058 From Jimmy Guo <guo@cup.hp.com>:
4059 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4060 * gdb.base/annota1.c: Add code for tests to work with.
4061
40621999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4063
4064 * gdb.base/remote.exp: New test for remote downloading settings.
4065 * gdb.base/remote.c: New file with large .data.
4066
917317f4
JM
40671999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4068
4069 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4070 for LinuxThreads support, merged from the Code Fusion branch.
4071
4072Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4073
4074 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4075 containing exp_continue into a while within an expect. Don't
4076 attempt a start more than three times. Check return value from
4077 gdb_load.
beb998c6 4078
2df3850c
JM
4079Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4080
4081 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4082 a pass case.
4083
2acceee2
JM
40841999-10-01 Kevin Buettner <kevinb@cygnus.com>
4085
4086 * gdb.base/break.c (main): Added a statement that we can step
4087 off of.
4088 * gdb.base/break.exp: Added tests for setting a breakpoint
4089 at an offset and stepping onto a breakpoint.
4090
40911999-10-01 Fred Fish <fnf@cygnus.com>
4092
beb998c6 4093 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4094 gdb output.
4095
c2c6d25f
JM
40961999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4097
4098 * gdb.base/break.exp: Code locations are in hex, don't forget!
4099 (For HP-UX.)
4100
41011999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4102
4103 * condbreak.exp: Use break.c as test program.
4104 * condbreak.c: Remove, redundant with break.c.
4105
41061999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4107
4108 * config/monitor.exp (gdb_target_monitor): Disable X- and
4109 Z-packets if the target needs it.
4110
41111999-09-13 James Ingham <jingham@leda.cygnus.com>
4112
4113 * gdb.c++/overload.exp: Added tests for listing overloaded
4114 functions with function pointers in the arg, explicitly calling
4115 out the version you want.
4116
cff3e48b
JM
41171999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4118
4119 * long_long.exp: Add variations of test cases that work for
4120 targets with 16-bit ints and 32-bit doubles.
4121
d4f3574e
SS
41221999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4123
4124 * break.c (main): Compare a possibly-uninitialized argc with an
4125 unlikely value that fits in 16 bits.
4126
41271999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4128
4129 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4130 0xfeeb, don't want negative numbers if ints are 16 bits.
4131
4132 * lib/gdb.exp (skip_cplus_tests): New proc.
4133 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4134 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4135 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4136 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4137 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4138 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4139 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4140 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4141
4142 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4143
4144Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4145
4146 * gdb.base/corefile.exp (up): Allow a parameter to appear
4147 in the frame that we're going up to.
4148
4149 From Jim Blandy <jimb@cygnus.com>:
4150
4151 * gdb.base/default.exp (info float): Expect some output now.
4152
4153 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4154 returning floating-point values to fail on the x86.
4155 * gdb.base/callfwmall.exp (do_function_calls): Same.
4156
4157 * gdb.base/list.exp (test_listsize): Correct expectations for
4158 listing line 1 with listsize 2. Also, listing a single line
4159 works now, as does listing three lines. [Kevin's note: There
4160 were a number of other cases fixed too where the expectations
4161 differed...]
4162
41631999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4164
4165 * gdb.base/selftest.exp: Add case for when version prints as
4166 constant string instead of char pointer.
4167
104c1213
JM
41681999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4169
4170 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4171 stepping out of main.
4172
4173 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4174 G++ used.
4175
4176 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4177 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4178
4179 * gdb.c++/ovldbreak.exp: Update match string in test that
4180 includes a warning of multiple breakpoints.
4181
41821999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4183
4184 * gdb.base/display.exp: Improve precision of step-after-finish
4185 added yesterday.
4186
4187 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4188 test.
4189
4190 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4191 configs when using G++, not just hppa*.
4192
41931999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4194
4195 * gdb.base/async.c: New file.
4196 * gdb.base/async.exp: New file.
4197
4198Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4199
4200 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4201 PA64.
4202
53a5351d
JM
4203Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4204
104c1213
JM
4205 * gdb.base/display.exp: "finish" can leave us mid-line on many
4206 targets, deal with it. Add a small constant to main, instead of
4207 1000 since main+1000 may not be a valid address in the target.
4208
53a5351d
JM
4209 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4210 on hpux11.
4211
4212 * gdb.base/attach.exp: Handle another hpux11 error message variant
4213 when attaching to a process that does not exist.
4214
42151999-08-19 J.T. Conklin <jtc@redback.com>
4216
4217 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4218 characters in 'continue to 1241' test.
4219
42201999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4221
4222 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4223 stop in print_long_arg_list, define and use a whitespace
4224 variable in print_small_structs test, add an XFAIL for Solaris.
4225 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4226 interested enough to fix.
4227
7be570e7
JM
42281999-08-13 Keith Seitz <keiths@cygnus.com>
4229
4230 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4231 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4232 proc knows about targets other than the natives.
4233 (test_assign): Use "gdb_run_cmd" to "run" the target.
4234 Check that we've actually hit the breakpoint at main.
4235 When we attempt to assign a value to a local variable, check
4236 that the variable is in the current scope, i.e., don't use
4237 a test with an empty result.
4238
4239Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4240
4241 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4242 command.
4243
42441999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4245
4246 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4247 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4248 gdb.compat, gdb.threads-hp.
4249 gdb.hp/configure, gdb.hp/configure.in: New files.
4250 gdb.hp/Makefile.in: Recurse into new subdirs.
4251 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4252 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4253 in object files.
4254 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4255
96baa820
JM
42561999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4257
4258 * gdb.base/display.exp: Help expect by putting a newline in the
4259 funky printf, remove a bogus p/a test.
4260
42611999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4262
4263 * gdb.base/display.exp: Make sure that when we say 'run', we are
4264 connected to the target. This is necessary when running not
4265 natively.
4266
42671999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4268
4269 * gdb.base/step-test.exp: Removed some extraneous messages.
4270
4271 * gdb.base/long_long.exp: Don't run memory examination tests
4272 on little-endian targets (they will need a different set of
4273 results to match).
4274
42751999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4276
4277 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4278 until somebody decides to fix GDB.
4279
4280 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4281 constant as "ULL".
4282 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4283 matches for a couple x/2 commands.
4284
a0b3c4fd
JM
42851999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4286
4287 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4288 by merging in ref-types2 tests.
4289 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4290
4291 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4292 * gdb.c++/Makefile.in: Add standard actions.
4293 (EXECUTABLES): Rename from PROGS, update list.
4294 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4295 from gdb.hp.
4296 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4297 foo and bar locals.
4298 * gdb.c++/anon-union.exp: Fix tests to match.
4299 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4300 expect matches to handle output variations.
4301 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4302 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4303 output, add HP alternatives for new and delete prints.
4304 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4305 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4306 * gdb.c++/demangle.exp: Use $style when reporting failure.
4307 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4308 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4309 match alternatives.
4310 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4311 compilers.
4312 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4313 * gdb.c++/method.exp: Add match alternatives.
4314 * gdb.c++/misc.cc: Add bool types.
4315 * gdb.c++/misc.exp: Add tests for bool types.
4316 * gdb.c++/overload.exp: Add xfails.
4317 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4318 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4319 add some more template parameter tests (only for HP currently).
4320 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4321 * gdb.c++/virtfunc.cc: Add return type and value for main.
4322 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4323 match alternatives.
beb998c6 4324
a0b3c4fd
JM
43251999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4326
4327 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4328
43291999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4330
4331 * gdb.base/signals.exp: Don't expect getting a backtrace from
4332 within a signal handler to fail on Linux.
4333
43341999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4335
4336 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4337 * lib/gdb.exp: Remove some gratuitious semicolons.
4338 (delete_breakpoints): Increase timeout.
4339 (gdb_expect): Add -notransfer option.
4340 (gdb_test): Use -notransfer option.
4341 (get_compiler_info): Add f77 case.
4342 (get_compiler): New proc, split out from gdb_preprocess, add f77
4343 case.
4344 (gdb_preprocess): Call get_compiler.
4345
4346 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4347 * gdb.base/attach.exp, gdb.base/display.exp,
4348 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4349 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4350 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4351 third arg to gdb_test.
4352 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4353 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4354 HP-UX xfails, add others.
4355 * gdb.base/completion.exp: Reflect name change of self-test.
4356 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4357 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4358 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4359 HP failure number.
4360 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4361 useless HP-UX 10.30 references.
4362 * gdb.base/maint.exp: Loosen matches.
4363 * gdb.base/pointers.c (main): Declare more_code.
4364 * gdb.base/pointers.exp: Match on output of a `next'.
4365 * gdb.base/structs.c: Add prototypes.
4366 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4367 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4368
43691999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4370
4371 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4372 command.
4373
43741999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4375
4376 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4377 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
4378
4379 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
4380 debug info. Deal with lack of signal hanlder info in stack.
4381
4382 From Jim Kingdon <kingdon@redhat.com>:
4383 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4384
5a2468f5
JM
43851999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4386
4387 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4388 gdb.base/foll-vfork.exp: Don't run for crosses.
4389
adf40b2e
JM
4390Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4391
4392 * gdb.base/configure.in: Check for gdbvars.exp instead of
4393 a1-selftest.exp.
4394 * gdb.base/configure: Re-generate.
4395
43961999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4397
4398 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4399 in trying to run first and name is too long.
4400
4401 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4402 pointers2.c and pointers2.exp, respectively.
4403 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4404 doschk happier.
4405
43e526b9
JM
44061999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4407
4408 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4409 callfuncs2.c and callfuncs2.exp.
4410
4411 * gdb.base/list.exp: Remove mistaken xfails.
4412 * gdb.base/list0.h: Add optional prototypes.
4413
9846de1b
JM
4414Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4415
4416 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4417 calling malloc.
4418 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4419 * ptype.exp: Move test for get_debug_format to before its first
4420 use.
4421
44221999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4423
4424 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4425 * gdb.base/annota2.cc, annota2.exp: Move from here.
4426 * gdb.c++/annota2.cc, annota2.exp: To here.
4427 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4428
43ff13b4
JM
4429Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4430
4431 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4432 a consistent format.
4433
085dd6e6
JM
44341999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4435
4436 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4437 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4438 HP compilers, also set the globals $true and $false.
4439
4440 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4441 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4442 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4443 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4444 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4445 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4446 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4447 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4448 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4449 whatis.c} Add C++ compatible function definitions and return
4450 types, add includes for library functions.
4451 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4452 * gdb.base/step-test.c (myglob): Rename from glob.
4453 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4454 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4455 files, move here from gdb.hp.
4456 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4457 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4458 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4459 Adjust line numbers in regexps.
4460
4461 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4462 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4463 instead of 0/1.
4464
4465 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4466 foll-vfork.exp: New files, move here from gdb.hp.
4467 * gdb.base/page.exp: New file, test of pagination command.
4468
4469 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4470 recursion test.
4471 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4472
4473 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4474 gdb.base/solib.exp: Fix compiler invocation process.
4475
4476 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4477 HP-UX 11, turn off overload resolution explicitly.
4478 * gdb.base/commands.exp: Set argument list explicitly, add
4479 watchpoint test.
4480 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4481 them work.
4482 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4483 expressions properly.
4484 * gdb.base/corefile.exp: Loosen the match slightly.
4485 * gdb.base/default.exp: Allow "Error accessing memory" message
4486 also.
4487 * gdb.base/display.exp: Skip over x/0 j if PA64.
4488 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4489 * gdb.base/interrupt.exp: Ditto.
4490 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4491 in use.
4492 * gdb.base/list.exp: Add xfails for HP-UX.
4493 * gdb.base/long_long.exp: Refine some of the numeric matches.
4494 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4495 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4496 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4497 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4498 * gdb.base/ptype.exp: Succeed on more varieties of output.
4499 * gdb.base/scope.exp: Add xfails for HP-UX.
4500 * gdb.base/sect-cmd.exp: Add more cases.
4501 * gdb.base/setvar.exp: Add xfails for HP-UX.
4502 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4503 * gdb.base/signals.exp: Match on void symbolically.
4504 * gdb.base/step-test.exp: Add case for PA64.
4505 * gdb.base/term.exp: Add exit and restart.
4506 * gdb.base/twice.exp: Clean up after self.
4507 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4508 * gdb.base/whatis.exp: Allow more ways to pass tests.
4509
4510 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4511 no longer useful.
4512
4513Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4514
4515 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4516 list of patterns.
4517 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4518 print_double_array(double_array)", "continuing to breakpoint
4519 1018", "print print_double_array(array_d)" and "continuing to
4520 1034" tests.
beb998c6 4521
085dd6e6
JM
45221999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4523
4524 * Makefile.in: Add empty html and install-html targets.
4525
45261999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4527
4528 * config/mt-*: Remove, these haven't been used since 1996.
4529
45301999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4531
4532 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4533 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4534 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4535
9e0b60a8
JM
45361999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4537
4538 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4539 simpler match case for the ptype of the big class.
4540
45411999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4542
4543 * gdb.exp: Fix test for gdb_prompt existence.
4544
45451999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4546
4547 * gdb.exp (gdb_test): Add fail after calls to perror.
4548
45491999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4550
4551 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4552
45531999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4554
4555 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4556
0f71a2f6
JM
4557Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4558
4559 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4560 malloc() is linked in.
4561
45621999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4563
4564 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4565 step at end.
4566
4567 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4568
45691999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4570
4571 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4572
cce74817
JM
4573Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4574
4575 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4576 * gdb.base/mips_pro.exp: Likewise.
4577
45781999-06-02 Keith Seitz <keiths@cygnus.com>
4579
4580 * gdb.c++/templates.cc: Change all "new" operators to throw
4581 an exception.
4582 * gdb.c++/cplusfuncs.cc: Likewise.
4583
4584 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4585
4586Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4587
4588 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4589 * gdb.base/ending-run.exp: When stepping out of main, accept a
4590 step into an arbitrary assembler file.
4591
392a587b
JM
45921999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4593
beb998c6 4594 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4595 "breakpoint-invalid" to be printed.
beb998c6 4596 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4597 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4598 * gdb.base/annota2.cc: Initialize a.x to 0.
4599
9e086581
JM
46001999-05-17 Keith Seitz <keiths@cygnus.com>
4601
4602 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4603 when "skip_float_tests" set.
4604 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4605 "print print_ten_doubles", and "step into print_long_arg_list".
4606 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4607 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4608 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4609 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4610 "skip_float_tests" is set.
4611 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4612 when "skip_float_tests" set.
beb998c6 4613
cd0fc7c3
SS
46141999-05-06 Keith Seitz <keiths@cygnus.com>
4615
4616 * gdb.base/annota2.cc: Include stdio.h.
4617
4618Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4619
4620 * gdb.base/crossload.exp: Remove, this has been disabled ever
4621 since BFD stopped including all targets, and cross-GDB gets
4622 plenty of testing anyway.
4623 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4624 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4625 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4626 * gdb.base/README: Remove, was doc for this.
4627 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4628 needed.
4629
b83266a0
SS
46301999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4631
4632 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4633 output.
4634
4635 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4636 * gdb.base/annota2.exp: New file. More annotation tests.
4637 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4638 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4639
46401999-04-23 Angela Marie Thomas <angela@cygnus.com>
4641
4642 * config/cfdbug.exp: New file.
4643
7a292a7a
SS
46441999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4645
4646 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4647 Marcus Daniel's and Dale Hawkins's demangler crashes.
4648
4649 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4650 test_lucid_style_demangling, test_arm_style_demangling,
4651 test_hp_style_demangling): Try Tom Tromey's core-dumping
4652 identifier under each demangling style.
4653
46541999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4655
4656 * gdb.c++/demangle.exp: Include the current demangling style
4657 in all test names.
4658 (current_demangling_style): New global variable.
4659 (set_demangling_style, test_demangling_core, test_demangling,
4660 test_demangling_exact): New functions.
4661 (test_gnu_style_demangling, test_lucid_style_demangling,
4662 test_arm_style_demangling, test_hp_style_demangling): Use those,
4663 instead of calling gdb_test and gdb_test_exact directly.
4664 (catch_demangling_errors): New function, which reports errors
4665 signalled by the demangling test functions in an orderly way.
4666 (do_tests): Use catch_demangling_errors.
4667
46681999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4669
4670 * gdb.base/signals.exp (test_handle_all_print): Use () for
4671 grouping in expressions, not {}.
4672
4673 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4674 initialized yet.
4675
46761999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4677
4678 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4679 are listed.
4680
46811999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4682
4683 * gdb.stabs/weird.exp: Test for CC being defined before
4684 looking at its value.
4685
46861999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4687
4688 * gdb.base/call-ar-st.exp: Remove stray '#'.
4689 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4690 "short int" and "long int".
4691 * gdb.c++/overload.cc: Cast the string added in the previous
4692 change, to mollify finicky HP compiler.
4693 * gdb.hp/reg-test.exp (testfile): Fix file name.
4694 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4695
7a292a7a
SS
4696 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4697 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4698 alternate form of enum ptype.
4699
c906108c
SS
47001999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4701
7a292a7a
SS
4702 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4703 * gdb.hp/*.exp: Change all to run compiler probe only after
4704 passing skip_hp_tests, so as not to waste time on guaranteed
4705 failure.
4706
c906108c
SS
4707 * gdb.c++/overload.cc: Pass string instead of char addr, always
4708 init ccpfoo.
4709 * gdb.c++/templates.cc: Fix syntax error.
4710
7a292a7a
SS
4711Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4712
4713 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4714 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4715 command.
4716
47171999-03-18 James Ingham <jingham@cygnus.com>
4718
4719 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4720
4721 * gdb.c++/method.exp: It was testing an uninitialized int on the
4722 stack and assuming it was positive.
4723
4724 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4725
4726 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4727 keep it from killing the rest of the tests.
7a292a7a
SS
4728 Use gdb_continue_to_end.
4729
4730 * gdb.base/sigall.exp: use gdb_continue_to_end.
4731
4732 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4733
4734 * gdb.base/display.exp: use runto_main, not run.
4735
beb998c6
AC
4736 * gdb.base/default.exp: Check for the current error message in the
4737 r abbreviation test.
7a292a7a
SS
4738 Add strongarm to the targets that know info float.
4739
beb998c6 4740 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4741 run which doesn't work with monitors.
4742
4743 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4744
4745 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4746
4747 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4748 program. Traps the case (in Cygmon) when the program never really
4749 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4750 more places, so I used my name. Sorry Mark...
4751
4752 * config/monitor.exp (gdb_target_monitor): added another
4753 target_info parameter: remotebinarydownload. This will set the
4754 remotebinarydownload flag if this is causing some boards trouble.
4755
47561999-03-18 Mark Salter <msalter@cygnus.com>
4757
4758 * lib/gdb.exp (continue_to_exit): New function.
4759
4760 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4761 * gdb.base/ending-run.exp: Ditto.
4762 * gdb.base/step-test.exp: Ditto.
4763
47641999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4765
4766 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4767 (suggested by Art Haas <ahaas@neosoft.com>).
4768
47691999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4770
4771 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4772
4773Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4774
4775 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4776 descriptions of types (short unsigned int vs unsigned short, etc).
4777
47781999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4779
4780 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4781 a call to strlen; sometimes we do have sources.
4782
47831999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4784
4785 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4786 character, so GDB won't print garbage after its end.
beb998c6 4787
c906108c
SS
4788 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4789 breakpoint there instead. Sometimes GCC emits memcpy to handle
4790 the large structures being passed by value, so we step into that
4791 instead of sum_array_print, which obscures what we're really testing.
4792 * gdb.base/step-test.exp: However, we do want a test that notices
4793 the bizarre steps into memcpy, so do that here. Add check for
4794 stepping into function calls that pass large structures by value.
4795 ("Is that a noun clause, or are you just happy to see me?")
4796 Remove all references to specific line numbers.
4797 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4798 New type and function.
4799 (main): Call large_struct_by_value, passing it a large struct by value.
4800 * lib/gdb.exp (gdb_get_line_number): New function.
4801
4802 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4803 more portable.
4804
7a292a7a
SS
48051999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4806
c906108c
SS
4807 * lib/gdb.exp: Doc fixes.
4808
7a292a7a
SS
48091999-03-05 Nick Clifton <nickc@cygnus.com>
4810
beb998c6 4811 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4812
48131999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4814
c906108c
SS
4815 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4816 commands. They're not germane to this test, and they don't work
4817 that way on remote targets.
4818
3fc11d3e
JM
48191999-03-01 James Ingham <jingham@cygnus.com>
4820
4821 * Changelog entries merged over from gdb development branch.
4822
3fc11d3e
JM
4823 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4824
4825 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4826 for outputting results of test run.
4827
2d4a1622 4828 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4829
4830 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4831
7a292a7a
SS
48321999-02-25 Felix Lee <flee@cygnus.com>
4833
4834 * lib/gdb.exp (debug_format): initialize
4835
c906108c
SS
48361999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4837
4838 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4839 * gdb.base/call-rt-st.c: Ditto.
4840
c906108c
SS
48411999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4842
4843 * gdb.threads/pthreads.exp (horiz): New variable.
4844 (test_startup): Fix regexps that capture thread numbers.
4845
48461999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4847
4848 * gdb.base/smoke.exp: Disambiguate two test case names (both
4849 called ``print'').
4850
4851Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4852
4853 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4854 compilation.
4855
48561999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4857
4858 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4859 actual output formatting.
4860 * gdb.base/smoke.exp: GDB removes leading 0's.
4861 * gdb.base/volatile.exp: Don't check type of remuneration;
4862 that variable is no longer defined in constvars.c.
4863 * gdb.base/step-test.c (main): Exit with explicit exit code.
4864 * gdb.base/step-test.exp: Remove two nexti checks--they are
4865 not portable.
4866
48671999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4868
4869 * gdb.base/help.exp ("help delete display"): Fix test to match
4870 gdb's output.
4871
4872 * gdb.base/long_long.c (known_types): Initialize values to zero.
4873 * gdb.base/long_long.exp: Step one more line
4874 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4875 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4876 unique test case names.
4877
4878Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4879
beb998c6 4880 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4881
4882 * gdb.c++/method.exp: Add missing close brace.
4883
48841999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4885
4886 * gdb.base/maint.exp: Use 'set height 0' to disable page
4887 prompting, not 'set height 400'.
4888
4889 Fix a bunch of timeouts.
4890 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4891 four separate tests, so expect doesn't take forever to match a ton
4892 of text against a regexp with lots of .* forms.
4893 ("maint print psymbols", "maint print symbols"): Make some of
4894 these greps more selective, so that expect doesn't try to wade
4895 through huge piles of output and time out.
4896
4897 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4898
4899 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4900 tests: one which doesn't expect shlib events to be reported, and
4901 another which does, but is XFAIL for all platforms other than
4902 HP/UX.
4903
4904 * gdb.base/break.exp: Teach the test suite that the `catch
4905 fork', `catch vfork', and `catch exec' commands produce error
4906 messages on platforms that don't provide these features.
4907
4908Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4909
4910 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4911 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4912 (shortening names from solib_threshold.exp etc), won't run on
4913 anything but HP-UX for the foreseeable future.
4914 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4915 reflect move.
4916
4917Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4918
4919 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4920 gdb.trace/Makefile.in (clean): Remove all test executables.
4921
4922Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4923
4924 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4925 successfully re-sets breakpoints in shared libraries.
4926 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4927
4928Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4929
beb998c6
AC
4930 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4931 and compiled w/o GCC.
c906108c
SS
4932
4933 * gdb.hp/watch-cmd.exp: ditto.
4934
4935 * gdb.hp/watch-hp.exp: ditto.
4936
4937 * gdb.hp/xdb1.exp: ditto.
4938
4939 * gdb.hp/xdb2.exp: ditto.
4940
4941 * gdb.hp/dbx.exp: ditto.
4942
4943Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4944
4945 * constvars.c: Remove C++-isms.
4946 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4947 with GCC.
4948
4949Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4950
4951 The following changes are part of the HP merge.
4952
4953 * gdb.base/break.exp: new tests to verify that catchpoints for
4954 fork, vfork, and exec don't trigger inappropriately.
4955
4956 * gdb.base/opaque.exp: compile one file at a time, then link.
4957
4958 * gdb.base/signals.exp: be more restrictive about which hppa
4959 systems receive a setup_xfail. new tests.
4960
4961 * gdb.base/solib_threshold.build: new file.
4962 * gdb.base/solib_threshold.exp: new file.
4963 * gdb.base/solib_threshold.link_opts: new file.
4964 * gdb.base/solib_threshold.mk: new file.
4965 * gdb.base/gen_solib_threshold.c: new file.
4966
4967 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4968 tests. New tests for enums inside classes.
4969
4970 * gdb.c++/compiler.cc: indicate support of template debugging.
4971
4972 * gdb.c++/demangle.exp: run hp style demangling tests.
4973
4974 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4975 tests.
4976
4977 * gdb.c++/misc.cc: changes to support new tests.
4978
4979 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4980 to support new tests.
4981
4982 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4983 gcc, then skip these tests.
4984
4985Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4986
4987 The following files are part of the HP merge; some had longer
4988 names at HP, but have been renamed to be no more than 14
4989 characters in length.
4990
4991 * gdb.hp/ambiguous.cc: new file.
4992 * gdb.hp/ambiguous.exp: new file.
4993 * gdb.hp/attach.exp: new file.
4994 * gdb.hp/attach2.exp: new file.
4995 * gdb.hp/classes-hp.exp: new file.
4996 * gdb.hp/ctti.exp: new file.
4997 * gdb.hp/ctti-add.cc: new file.
4998 * gdb.hp/ctti-add1.cc: new file.
4999 * gdb.hp/ctti-add2.cc: new file.
5000 * gdb.hp/ctti-add3.cc: new file.
5001 * gdb.hp/dbx.exp: new file.
5002 * gdb.hp/exception.cc: new file.
5003 * gdb.hp/exception.exp: new file.
5004 * gdb.hp/foll-exec.c: new file.
5005 * gdb.hp/foll-exec.exp: new file.
5006 * gdb.hp/foll-fork.c: new file.
5007 * gdb.hp/foll-fork.exp: new file.
5008 * gdb.hp/foll-vfork.c: new file.
5009 * gdb.hp/foll-vfork.exp: new file.
5010 * gdb.hp/inherit-hp.exp: new file.
5011 * gdb.hp/more-steps.exp: new file.
5012 * gdb.hp/namespace.cc: new file.
5013 * gdb.hp/namespace.exp: new file.
5014 * gdb.hp/optimize.exp: new file.
5015 * gdb.hp/pxdb.c: new file.
5016 * gdb.hp/pxdb.exp: new file.
5017 * gdb.hp/quicksort.exp: new file.
5018 * gdb.hp/reg-test.exp: new file.
5019 * gdb.hp/reg-test.s: new file.
5020 * gdb.hp/sized-enum.c: new file.
5021 * gdb.hp/sized-enum.exp: new file.
5022 * gdb.hp/start-stop.exp: new file.
5023 * gdb.hp/templ-hp.cc: new file.
5024 * gdb.hp/templ-hp.exp: new file.
5025 * gdb.hp/thr-lib.c: new file.
5026 * gdb.hp/thr-lib.exp: new file.
5027 * gdb.hp/thr-lib.h: new file.
5028 * gdb.hp/thr-liblib.c: new file.
5029 * gdb.hp/virtfun-hp.c: new file.
5030 * gdb.hp/virtfun-hp.exp: new file.
5031 * gdb.hp/watch-cmd.exp: new file.
5032 * gdb.hp/watch-hp.exp: new file.
5033 * gdb.hp/xdb1.exp: new file.
5034 * gdb.hp/xdb2.exp: new file.
5035 * gdb.hp/xdb3.exp: new file.
5036
5037Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5038
5039 The following files are part of the HP merge; some had longer
5040 names at HP, but have been renamed to be no more than 14
5041 characters in length.
5042
5043 * gdb.base/ss.h: new file.
5044 * gdb.base/call-ar-st.c: new file.
5045 * gdb.base/call-ar-st.exp: new file.
5046 * gdb.base/call-rt-st.c: new file.
5047 * gdb.base/call-rt-st-exp: new file.
5048 * gdb.base/call-strs.exp: new file.
5049 * gdb.base/ena-dis-br.exp: new file.
5050 * gdb.base/environ.exp: new file.
5051 * gdb.base/long_long.exp: new file.
5052 * gdb.base/sect-cmd.exp: new file.
5053 * gdb.base/shlib-cl2.exp: new file.
5054 * gdb.base/smoke.exp: new file.
5055 * gdb.base/so-impl-ld.c: new file.
5056 * gdb.base/so-impl-ld.exp: new file.
5057 * gdb.base/so-indr-cl.c: new file.
5058 * gdb.base/so-indr-cl.exp: new file.
5059 * gdb.base/varargs.exp: new file.
5060 * gdb.base/volatile.exp: new file.
5061 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5062 * gdb.base/display.exp: new file.
c906108c
SS
5063 * gdb.c++/derivation.exp: new file.
5064 * gdb.c++/local.exp: new file.
5065 * gdb.c++/member-ptr.exp: new file.
5066 * gdb.c++/overload.exp: new file.
5067 * gdb.c++/ovldbreak.exp: new file.
5068 * gdb.c++/ref-types.exp: new file.
5069 * gdb.c++/ref-types2.exp: new file.
5070 * gdb.c++/userdef.exp: new file.
beb998c6 5071
c906108c
SS
5072Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5073
5074 * gdb.base/default.exp: Reflect wording change in remote.c.
5075
dc96c6c7 5076Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5077
5078 * gdb.base/help.exp: Update to reflect current text.
5079
5080Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5081
5082 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5083 they're stack variables and contain garbage.
5084 * gdb.c++/anon-union.exp: new file.
5085
5086 The following changes were made by David Taylor
5087 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5088 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5089 in changes by HP.
5090
5091 * gdb.base/bitops.exp: new file.
5092 * gdb.base/default.exp: change expected messages for catch and
5093 info catch tests to reflect HP merge changes.
5094 * gdb.base/enable-disable-break.exp
5095 * gdb.base/ending-run.c: new file.
5096 * gdb.base/long_long.c: new file.
5097 * gdb.base/maint.exp: new file.
5098 * gdb.base/pointers2.exp: new file.
5099 * gdb.base/shlib-call2.exp: new file.
5100 * gdb.base/solib.exp: new file.
5101 * gdb.base/step-test.c: new file.
5102 * gdb.c++/anon-union.cc: new file.
5103 * gdb.c++/local.cc: new file.
5104 * gdb.c++/member-pointer.cc: new file.
5105 * gdb.c++/method.cc: new file.
5106 * gdb.c++/ref-types.cc: new file.
5107 * gdb.c++/ref-types2.cc: new file.
5108 * gdb.c++/userdef.cc: new file.
beb998c6 5109
c906108c
SS
5110 * gdb.base/scope.exp: compile one file at a time, then link.
5111 * gdb.base/langs.exp: ditto.
5112 * gdb.base/list.exp: ditto.
beb998c6 5113
c906108c
SS
5114Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5115
5116 The following changes were made by David Taylor
5117 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5118 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5119 in changes by HP.
beb998c6 5120
c906108c
SS
5121 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5122 skip tests. When compiling pass c++ flag to gdb_compile.
5123 * gdb.c++/
beb998c6 5124
c906108c
SS
5125 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5126 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5127 (skip_hp_tests): new function.
5128 (gdb_preprocess): new function.
5129
5130 * configure.in (hpdir): decide whether to configure gdb.hp.
5131 * configure: regenerated.
5132
5133 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5134 to delete on clean.
5135 (EXECUTABLES): update to reflect new additions.
5136 * gdb.base/commands.exp: update message expected.
5137 * gdb.base/default.exp: add copyright notice.
5138 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5139 * gdb.base/help.exp: update messages to reflect current text.
5140 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5141 targets for recurse tests.
5142 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5143 skip this file.
5144
5145 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5146 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5147 compilation.
5148 * gdb.c++/misc.exp: ditto.
5149 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5150 run the tests. tell gdb_compile that it's a c++ compilation.
5151
5152 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5153
c906108c
SS
5154 * gdb.base/all-bin.exp: new file.
5155 * gdb.base/arithmet.exp: new file.
5156 * gdb.base/assign.exp: new file.
5157 * gdb.base/completion.exp: new file.
5158 * gdb.base/cond-expr.exp: new file.
5159 * gdb.base/condbreak.exp: new file.
5160 * gdb.base/define.exp: new file.
5161 * gdb.base/dollar.exp: new file.
5162 * gdb.base/environment.exp: new file.
5163 * gdb.base/eval-skip.exp: new file.
5164 * gdb.base/jump.exp: new file.
5165 * gdb.base/logical.exp: new file.
5166 * gdb.base/pointers.exp: new file.
5167 * gdb.base/relational.exp: new file.
5168 * gdb.base/section_command.exp: new file.
5169 * gdb.base/whatis-expr.exp: new file.
5170
5171 * gdb.base/all-types.c: new file.
5172 * gdb.base/call-array-struct.c: new file.
5173 * gdb.base/call-return-struct.c: new file.
5174 * gdb.base/call-strings.c: new file.
5175 * gdb.base/callfuncs2.c: new file.
5176 * gdb.base/condbreak.c: new file.
5177 * gdb.base/constvars.c: new file.
5178 * gdb.base/display.c: new file.
5179 * gdb.base/int-type.c: new file.
5180 * gdb.base/jump.c: new file.
5181 * gdb.base/miscexprs.c: new file.
5182 * gdb.base/pointers.c: new file.
5183 * gdb.base/pointers2.c: new file.
5184 * gdb.base/shmain.c: new file.
5185 * gdb.base/shr1.c: new file.
5186 * gdb.base/shr2.c: new file.
5187 * gdb.base/solib.c: new file.
5188 * gdb.base/solib1.c: new file.
5189 * gdb.base/solib2.c: new file.
5190 * gdb.base/varargs.c: new file.
5191 * gdb.c++/derivation.cc: new file.
5192 * gdb.c++/overload.cc: new file.
5193 * gdb.c++/ovldbreak.cc: new file.
5194 * gdb.hp/attach.c: new file.
5195 * gdb.hp/attach2.c: new file.
5196 * gdb.hp/average.c: new file.
5197 * gdb.hp/compiler.c: new file.
5198 * gdb.hp/compiler.cc: new file.
5199 * gdb.hp/execd-program.c: new file.
5200 * gdb.hp/follow-exec.c: new file.
5201 * gdb.hp/follow-fork.c: new file.
5202 * gdb.hp/follow-vfork-and-exec.c: new file.
5203 * gdb.hp/misc-hp.cc: new file.
5204 * gdb.hp/more-steps.c: new file.
5205 * gdb.hp/optimize.c: new file.
5206 * gdb.hp/quicksort.c: new file.
5207 * gdb.hp/run-hp.c: new file.
5208 * gdb.hp/start-stop.c: new file.
5209 * gdb.hp/sum.c: new file.
5210 * gdb.hp/templates-hp.cc: new file.
5211 * gdb.hp/thread-local-in-lib.c: new file.
5212 * gdb.hp/thread-local-in-lib.h: new file.
5213 * gdb.hp/thread-local-in-lib.lib.c: new file.
5214 * gdb.hp/vforked-program.c: new file.
5215 * gdb.hp/virtfunc-hp.cc: new file.
5216 * gdb.hp/watchpoint-hp.c: new file.
5217 * gdb.hp/xdb.c: new file.
5218 * gdb.hp/xdb0.c: new file.
5219 * gdb.hp/xdb0.h: new file.
5220 * gdb.hp/xdb1.c: new file.
5221
5222Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5223
5224 The following change was made by Edith Epstein
5225 <eepstein@cygnus.com> as part of a project to merge in changes
5226 originally made by HP; HP did not create ChangeLog entries.
5227
5228 * gdb.c++/demangle.exp: changed the expected output for some
5229 ARM-style mangling -- removed second reference to datatype.
5230 For example, maint demangle __dt__11T1__pt__2_cFv
5231 T1<char>::~T1<char>(void)
5232 becomes,
5233 maint demangle __dt__11T1__pt__2_cFv
5234 T1<char>::~T1(void)
5235
5236 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 5237
c906108c
SS
5238Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5239
5240 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5241 * gdb.trace/backtrace.exp: Likewise.
5242 * gdb.trace/circ.exp: Likewise.
5243 * gdb.trace/collection.exp: Likewise.
5244 * gdb.trace/deltrace.exp: Likewise.
5245 * gdb.trace/infotrace.exp: Likewise.
5246 * gdb.trace/limits.exp: Likewise.
5247 * gdb.trace/packetlen.exp: Likewise.
5248 * gdb.trace/passc-dyn.exp: Likewise.
5249 * gdb.trace/passcount.exp: Likewise.
5250 * gdb.trace/report.exp: Likewise.
5251 * gdb.trace/save-trace.exp: Likewise.
5252 * gdb.trace/tfind.exp: Likewise.
5253 * gdb.trace/tracecmd.exp: Likewise.
5254 * gdb.trace/while-dyn.exp: Likewise.
5255 * gdb.trace/while-stepping.exp: Likewise.
5256
52571998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5258
5259 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5260
5261Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5262
5263 From Brendan Kehoe:
5264 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5265 int return types.
5266
5267Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5268
5269 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5270 remote dos host testing right.
5271
5272Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5273
5274 * gdb.base/corefile.exp: remove some xfails.
5275
5276Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5277
5278 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5279 have different timestamps.
5280
5281Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5282
5283 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5284 gdb.base/default.exp: Replace "exec" with "executable".
5285
5286Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5287
5288 * gdb.base/default.exp: Change else if to elseif from previous
5289 delta.
5290
5291Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5292
5293 * gdb.base/default.exp: Add brace missing from previous delta.
5294
5295Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5296
5297 * gdb.base/default.exp: Support test for info float for all
5298 varieties of arm toolchain.
5299
dc96c6c7 5300Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5301
5302 * gdb.trace/*.exp: remove "remote_download" command.
5303
dc96c6c7 5304Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5305
5306 * gdb.trace/*.exp: remove -gdwarf from compile.
5307
5308Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5309
5310 * gdb.trace/configure.in(AC_INIT): typo
5311 * gdb.trace/configure: regenerated
5312
dc96c6c7 5313Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5314
5315 * config/m68k-emc.exp: New file.
5316 * lib/<emc-support.exp trace-support.exp}: New files.
5317 * configure.in: add new test directory gdb.trace.
5318 * gdb.trace/{configure configure.in Makefile.in}: New files.
5319 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5320 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5321 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5322 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5323 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5324 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5325 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 5326
dc96c6c7 5327Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5328
5329 * gdb.c++/classes.exp: Change all regular expressions to match
5330 arbitrary combinations of newline/carriage-return, so that they
5331 will work equally well on Unix and Windows.
5332 * gdb.c++/inherit.exp: ditto.
5333 * gdb.c++/virtfunc.exp: ditto.
5334
53351998-08-11 Dawn Perchik <dawn@cygnus.com>
5336
5337 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5338
c2d11a7d
JM
5339Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5340
5341 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5342 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5343 to use a0-a3/d0-d3 as needed.
5344
5345Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5346
5347 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5348 * gdb.disasm/am33.exp: Corresponding changes.
5349
c906108c
SS
53501998-07-11 Felix Lee <flee@cygnus.com>
5351
5352 * gdb.base/callfuncs.exp: add cmp10 test.
5353 * gdb.base/callfuncs.c (cmp10): new function.
5354
5355Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5356
beb998c6 5357 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
5358 into two parts to get around a synchronization problem in expect.
5359
3fc11d3e
JM
5360Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5361
5362 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5363
5364 * configure.in: Add options for gdbtk testsuite.
5365
5366 * configure: Regenerate.
5367
5368 * gdb.gdbtk: New directory to hold gdbtk tests.
5369
c906108c
SS
5370Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5371
5372 * gdb.fortran/types.exp: Escape brackets in expect patterns
5373 for test_float_literal_types_accepted tests.
5374 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5375 before run test.
5376
c2d11a7d
JM
5377Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5378
5379 * am33.exp: Just compile, do not link the testcase.
5380 * am33.s: Add ".am33" pseudoop to force am33 mode.
5381
c906108c
SS
53821998-06-25 Felix Lee <flee@cygnus.com>
5383
5384 * gdb.base/setshow.exp: make sure $pc is sane.
5385
5386 * gdb.stabs/weird.exp: split expect patterns properly.
5387
c2d11a7d
JM
5388Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5389
5390 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5391 * gdb.disasm/am33.exp: Run it.
5392
dc96c6c7 5393Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5394
5395 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5396 match processing (and eliminate spurious timeouts when running).
5397
dc96c6c7 5398Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5399
5400 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5401 exception test, but conditionalize it on target [mach | gnu].
5402
dc96c6c7 5403Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5404
5405 * gdb.base/overlays.exp: fixup compile line for linker script.
5406
5407Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5408
5409 * gdb.fortran/types.exp: don't guess at float size.
5410
5411Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5412
5413 * gdb.base/exprs.exp: delete test that depends on int size.
5414
5415Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5416
5417 * config/sim.exp: Removed checks for target triplets.
5418 (gdb_target_sim): Use gdb,target_sim_options.
5419
5420Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5421
5422 * gdb.base/reread.exp: New file.
5423 * gdb.base/reread1.c: New file.
5424 * gdb.base/reread2.c: New file.
5425
5426Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5427
5428 * config/sim.exp: Use 'target sim -sparclite' when running
5429 SPARClite programs.
5430
5431Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5432
5433 * gdb.base/structs2.exp: New file.
5434 * gdb.base/structs2.c: New file.
5435
5436Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5437
5438 * gdb.asm/common.inc: New file.
5439 * gdb.asm/d10v.inc: New file.
5440 * asm-source.exp: Pass -I's to gas to find .inc files.
5441 Update line numbers in expected output.
5442 * asmsrc1.s: Rewrite.
5443 * asmsrc2.s: Rewrite.
5444 * configure.in: Create arch.inc symlink.
5445 * configure: Regenerate.
5446 * Makefile.in (distclean): Delete arch.inc.
5447
5448Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5449
5450 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5451 (t_enum_value2): ditto
5452 (t_enum_value3): ditto
5453 (main): ditto
5454Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5455
5456 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5457 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5458 change.
5459 Use gdb_test instead of send_gdb/gdb_expect sequences.
5460
5461Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5462
5463 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5464 not void.
5465
5466Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5467
5468 * gdb.base/branches.c: Code with lots of loops and
5469 subroutines. Used to test gdbs ability to single step through PC
5470 changes, especially to test mips-tdep.c:mips_next_pc
5471
5472Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5473
5474 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5475 more rigorous EGCS C++ error checking.
5476
5477Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5478
5479 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5480 tests.
c906108c 5481 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5482 function when asleep.
c906108c 5483 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5484 for i*86 Linux and SVR4 signal handling problems.
5485 Remove linux xfail for `next to handler in signals_tests_1', fixed
5486 by recent infrun.c change.
c906108c 5487 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5488 stack backtraces.
c906108c
SS
5489 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5490 target.[ch] change.
5491
5492Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5493
5494 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5495 for a newline from gdb before continuing.
5496 (default_gdb_exit): Just look for y or n.
5497 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5498 it does, fail the rests of the tests in the file.
5499
5500Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5501
5502 * config/cygmon.exp: New file.
5503
5504Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5505
5506 * gdb.base/list.exp: Fix problem with "list default lines around
5507 main" test on remote targets.
5508
5509 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5510 run test on remote targets.
5511
5512Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5513
5514 * gdb.asm: New directory.
5515 * configure.in: Configure it.
5516 * configure: Regenerate.
5517 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5518 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5519
5520Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5521
5522 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5523
dc96c6c7 5524Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5525
c906108c
SS
5526 * gdb.base/overlays (several files): Merge the two overlay
5527 managers into one. Change variables (foox, barx, bazx, grbxx)
5528 back into ints but force them to load in their proper sections.
5529
5530Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5531
5532 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5533 on-chip insn memory and IMAP1 to upper 128k.
5534 (D10VCopy): Handle memory regions crossing 16k boundaries.
5535 (D10VCopy): Transfer data in 32 bit chunks.
5536
5537Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5538
5539 * gdb.base/overlays.c (main): Exit normally when result is
5540 correct.
5541
5542 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5543 map. Include space for printf in .text segment.
5544
5545 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5546 updated d10v memory VMA/LMA map.
5547 (D10VCopy): Call D10VTranslate.
beb998c6 5548
c906108c
SS
5549Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5550
5551 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5552
5553 * gdb.base/bar.c (barx, bar): Change variable to small array so
5554 that it won't be put into the .sdata - small data -
5555 section. Update reference.
5556 * gdb.base/baz.c (bazx, baz): Ditto.
5557 * gdb.base/foo.c (foox, foo): Ditto.
5558 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5559
5560 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5561 to be arrays.
beb998c6 5562
dc96c6c7 5563Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5564
c906108c
SS
5565 * gdb.base/overlays.exp: fix up and get working again.
5566 Add tests for backtraces from an overlay function.
beb998c6 5567
c906108c
SS
5568Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5569
5570 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5571 "calling function with watchpoint enabled".
5572
5573Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5574
5575 * gdb.base/break.exp (test_next_with_recursion): Remove
5576 gdb_suppress_tests for d10v-*-*.
5577 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5578 pending review of whether it is useful or not.
5579
5580Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5581
5582 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5583
5584Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5585
5586 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5587 * config/dve.exp: New file to support Densan boards.
5588
5589Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5590
5591 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5592 reads and BSD.
5593
5594Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5595
5596 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5597 response.
5598
5599 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5600
5601Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5602
5603 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5604 test.
5605
5606 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5607 target_sizeof_long and target_bigendian_p.
5608 (structs_by_value, structs_by_reference): Check values according
5609 to targets word size and endianess.
beb998c6 5610
c906108c
SS
5611Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5612
5613 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5614 output.
5615
5616Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5617
5618 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5619 Update test of set args help to match source change.
5620
5621Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5622
5623 * gdb.base/default.exp: Expect help system output to be in
5624 alphabetical order.
5625 * gdb.base/help.exp: Ditto.
5626
5627Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5628
5629 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5630 "i*86-pc-linux-gnu*".
5631 * gdb.base/interrupt.exp: Ditto.
5632 * gdb.base/corefile.exp: Ditto.
5633
5634 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5635 define vxworks when building the testcase.
5636
5637 * gdb.base/ptype.exp: Fix testnames to be unique.
5638 * gdb.base/radix.exp: Ditto.
5639 * gdb.base/term.exp: Ditto.
5640 * gdb.base/whatis.exp: Ditto.
5641 * gdb.c++/classes.exp: Ditto.
5642
5643Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5644
5645 * gdb.base/callfuncs.exp: Fix indentation.
5646
5647 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5648 suppress_flag has been set.
5649 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5650 target feature.
5651
5652Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5653
5654 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5655 the testcase.
5656
5657 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5658 set_debug_traps() and breakpoint().
5659 * gdb.c++/misc.cc (main): Ditto.
5660 * gdb.c++/templates.cc (main): Ditto.
5661 * gdb.c++/virtfunc.cc (main): Ditto.
5662
5663Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5664
5665 * lib/gdb.exp(gdb_step_for_stub): New function.
5666 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5667 exists, reload the executable and do a "continue" instead of
5668 doing a jump.
5669 (runto_main): Use gdb_step_for_stub.
beb998c6 5670
c906108c
SS
5671 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5672 tests to have unique names.
5673 * gdb.base/callfuncs.exp: Ditto.
5674 * gdb.base/commands.exp: Ditto.
5675 * gdb.base/default.exp: Ditto.
5676 * gdb.base/help.exp: Ditto.
5677 * gdb.base/list.exp: Ditto.
5678 * gdb.base/opaque.exp: Ditto.
5679 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5680 similar tests.
beb998c6 5681
c906108c
SS
5682 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5683 * gdb.c++/cplusfuncs.cc: Ditto.
5684 * gdb.c++/virtfunc.cc: Ditto.
5685
5686 * config/monitor.exp: Keep track of the last file we saw, rather
5687 than trying to get the info from gdb.
5688
5689 * gdb.fortran/types.exp: Move comment to previous line.
5690
5691Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5692
5693 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5694 target mode.
5695
5696Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5697
5698 From Bob Manson:
5699 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5700 string from GDB when it connects.
5701
5702 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5703
5704Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5705
5706 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5707 if we can't get a debug format from GDB (we may be testing an
5708 older GDB). Use a 10 second timeout when checking for the format.
5709
5710 * gdb.stabs/weird.exp: Fix quoting.
5711
5712 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5713
5714Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5715
5716 * config/arm-ice.exp: New file.
5717
5718Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5719
5720 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5721 until it has been modified to work with the new testsuite.
5722
99707966 5723 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5724 testcase won't compile, cause all of the testcases in the file to
5725 fail instead.
5726
5727 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5728 (gdb_clear_suppressed): New procedure.
5729 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5730 it contains a positive value.
5731
5732Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5733
5734 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5735
5736 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5737
5738Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5739
5740 * lib/gdb.exp (setup_xfail_format): New function.
5741 (get_debug_format): New function to get debug format.
5742 (debug_format): New global variable to hold last value set
5743 by get_debug_format.
5744 * gdb.base/list.exp: Call get_debug_format and expect some
5745 tests to fail for DWARF 1 and COFF formats.
5746 * gdb.c++/ptype.exp: Ditto.
5747 * gdb.c++/classes.exp: Ditto.
5748 * gdb.c++/cplusfuncs.exp: Ditto.
5749 * gdb.c++/inherit.exp: Ditto.
5750 * gdb.c++/templates.exp: Ditto.
5751 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5752
c906108c
SS
5753Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5754
5755 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5756 host doesn't have a currently-open connection.
5757
5758 * config/sparclet.exp: Cleanups and fixes to make it generic for
5759 any gdb stub target. Handle cases where gdb doesn't respond when
5760 interrupted in a sane fashion.
5761
5762 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5763 same thing in a totally different way.
5764
5765 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5766 setting "timeout".
5767 (gdb_start): We set the global gdb_prompt variable in
5768 default_gdb_init now.
5769
5770Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5771
5772 * gdb.base/printcmds.exp: Fix "check for floating addition"
5773 regexp to accept results within approx +/- .01 of exact value.
5774 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5775
5776Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5777
5778 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5779 properly.
5780 (gdb_expect): Add optional timeout parameter, and add timeout
5781 value to various calls.
5782 (gdb_suppress_tests): Only give one warning message per group.
5783
5784Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5785
5786 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5787 global variables. Handle getting a value for $timeout more
5788 gracefully.
5789
5790Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5791
5792 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5793 initialize.
5794 (default_gdb_init): New procedure; allow gdb_init to be overridden
5795 by a target configuration file.
5796 (gdb_expect): Pass the timeout to remote_expect.
5797
5798 * config/monitor.exp(gdb_load): Fix typo in regexp.
5799
5800Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5801
5802 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5803
5804Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5805
5806 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5807 here. Call gdb_target_exec before rebooting the target, to make
5808 sure the connection to the target is closed.
5809 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5810 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5811 Also detect "Timeout reading from remote" error.
5812
5813 * config/gdbserver.exp: Pass the executable being loaded to
5814 gdb_target_monitor. Don't call gdb_file_cmd here; let
5815 gdb_target_monitor do it.
5816
5817 * gdb.disasm/hppa.exp: Don't use exec_output.
5818
5819Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5820
5821 * gdb.base/list.exp: If we're debugging a non-native target,
5822 try to set the pc register to point to the start of the
5823 program before doing the first list command.
5824
5825 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5826 test_calls after restarting.
5827
5828 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5829 reloading.
5830
5831 * gdb.base/watchpoint.exp: Fix typo.
5832
5833 * gdb.base/setshow.exp: Check for use_gdb_stub.
5834
5835 * gdb.base/break.exp: Fix continue until exit test for the gdb
5836 stub case.
5837 * gdb.base/langs.exp: Ditto.
5838
5839 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5840 gdb_load_offset. If we weren't given a file to load, figure out
5841 what the current file is and use it.
5842
5843 * config/i386-bozo.exp: New file.
5844
5845Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5846
5847 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5848 feature.
5849
5850 * config/proelf.exp: New entry.
5851
5852Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5853
5854 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5855 of regexps.
5856
5857 * gdb.base/watchpoint.exp: Don't run the test_stepping
5858 tests if gdb can't call functions on the target.
5859
5860 * gdb.base/setshow.exp: Don't run the set prompt tests if
5861 the board has gdb_prompt set.
5862
5863Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5864
5865 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5866 * gdb.base/commands.exp: Likewise.
5867 * gdb.base/setshow.exp: Likewise.
5868
5869Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5870
5871 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5872 feature.
5873
5874 * config/i960.exp: New file.
5875
5876Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5877
5878 * gdb.base/funcargs.exp: Check for gdb,short_int target
5879 feature instead of looking for explicit target triplets.
5880
dc96c6c7 5881Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5882
beb998c6 5883 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5884 "p 123DEADBEEF", to check parse_number.
5885 * top.c: change "to enable to enable" to "to enable" in a couple
5886 of help strings.
5887
5888Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5889
5890 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5891 on the mn10300.
beb998c6 5892
c906108c
SS
5893Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5894
5895 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5896 where the test executable is run with explicit args.
5897 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5898
5899Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5900
5901 * gdb.base/run.c: Use FAKEARGV to build test executable that
5902 does not require a command line arg, since most simulators
5903 don't currently support passing such an arg into the simulated
5904 program.
5905 * gdb.base/commands.exp: Change tests to insert the proper
5906 value as the arg to the first recursive factorial call. Change
5907 compilation line to define FAKEARGV at compile time.
5908
5909Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5910
5911 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5912 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5913 function with watchpoint enabled" test.
5914
5915Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5916
5917 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5918 Don't call gdb_test when the command doesn't return to a gdb prompt.
5919
5920 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5921 "Tests restarted" messages.
5922
5923Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5924
5925 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5926
dc96c6c7 5927Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5928
5929 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5930 for INFO SYMBOL; add help tests for OVERLAY commands.
5931 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5932 add tests for OVERLAY commands
5933 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5934 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5935 * gdb.base/sigall.c: add usestubs code frag
5936 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5937
c906108c
SS
5938Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5939
5940 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5941 failures.
5942 (gdb_stop_suppressing_tests): Note that tests have restarted.
5943
5944Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5945
5946 * config/h8300.exp: New file.
5947
5948Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5949
5950 * gdb.base/setshow.exp: Check for the existence of a
5951 feature, not its value.
5952
5953Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5954
5955 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5956
5957 * gdb.base/scope.exp: It's now init0(), not init().
5958
5959 * gdb.base/scope0.c: For now, change init() to be init0().
5960
5961 * config/monitor.exp: Use gdb_serial in preference to serial
5962 or netport.
5963
5964 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5965 and it's not already set.
5966
5967Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5968
5969 * gdb.base/setshow.exp: Only test the run command if the target
5970 isn't using a stub and if it supports argument passing.
5971
5972Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5973
5974 * config/udi.exp(gdb_start): Make sure UDICONF is set
5975 properly before starting gdb.
5976
5977Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5978
5979 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5980 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5981 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5982
5983Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5984
5985 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5986 specialized code to reboot the board, use remote_reboot instead.
5987
5988 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5989
5990 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5991
5992 * config/monitor.exp: Make sure we disconnect from the target.
5993 Also, try a reboot/reload cycle instead of failing if the
5994 load fails.
5995
5996Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5997
5998 * gdb.base/default.exp: Don't set match_max.
5999 * gdb.base/help.exp: Ditto.
6000 * gdb.base/list.exp: Ditto.
6001 * gdb.base/signals.exp: Ditto.
6002
6003 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6004 set, use remote_ld to download the testcase instead of
6005 the GDB loader.
6006
6007Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6008
6009 * config/vr5000.exp: New file.
6010
6011 * config/monitor.exp(gdb_target_monitor): Add pattern for
6012 "Ending remote" to detect errors in connecting.
6013
6014 * gdb.base/setshow.exp: Add .* within auto language test.
6015
6016 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6017 target feature.
6018
6019 * config/monitor.exp(gdb_load): Check for a failure when loading,
6020 and reboot the board if necessary.
6021
6022 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6023 a set of tests. Remove print.* from the patterns being checked.
6024
6025Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6026
6027 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6028 refer to gdb_spawn_id.
6029
6030 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6031 longer used.
6032 * config/sparclet.exp: Ditto.
6033 * config/sparclet-old.exp: Ditto.
6034 * config/slite.exp: Ditto.
6035 * config/sim.exp: Ditto.
6036 * gdb.base/funcargs.exp: Ditto.
6037
6038 * lib/gdb.exp:Remove references to gdb_spawn_id.
6039 (gdb_expect): Move to remote.exp.
6040
6041Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6042
6043 * config/monitor.exp: Detect the "Couldn't establish connection"
6044 message from GDB.
6045
6046Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6047
6048 * gdb.base/bitfields.exp: Use runto instead of explicit
6049 gdb_run_cmd/gdb_expect sequences.
6050
6051 * gdb.base/break.exp(text_next_with_recursion): Add match for
6052 gdb_expect call.
6053
6054 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6055 We also need to handle the "A program is being debugged already"
6056 prompt from gdb. Use gdb_test to set the baud rate.
6057
6058 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6059 to 20000. Really. I mean it.
6060
6061Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6062
6063 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6064 fails. If suppress_flag is set, skip perror message about not
6065 being able to send to GDB.
6066 (send_gdb): If suppress_flag is set, don't try to send commands to
6067 GDB.
6068 (gdb_expect): If suppress_flag is set, always fail immediately.
6069 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6070 (gdb_init): Call gdb_stop_suppressing_tests.
6071 (default_gdb_exit): Ditto.
6072 (default_gdb_start): Ditto.
6073
6074 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6075 gdb_stop_suppressing_tests as appropriate.
6076 * gdb.base/break.exp: Ditto.
6077 * gdb.base/callfuncs.exp: Ditto.
6078 * gdb.base/commands.exp: Ditto.
6079 * gdb.base/exprs.exp: Ditto.
6080 * gdb.base/funcargs.exp: Ditto.
6081 * gdb.base/list.exp: Ditto.
6082 * gdb.base/recurse.exp: Ditto.
6083 * gdb.base/scope.exp: Ditto.
6084 * gdb.base/structs.exp: Ditto.
6085 * gdb.c++/inherit.exp: Ditto.
6086
6087Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6088
6089 * config/vr4300.exp: New file.
6090
99707966
MC
6091 * gdb.*/*.exp: Call gdb_expect instead of expect.
6092
6093 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6094
6095Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6096
6097 * lib/gdb.exp(gdb_init): New function.
6098
6099 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6100 for each individual variable set.
6101
6102 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6103 name.
6104
6105 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6106
6107 * gdb.base/scope.exp: Use gdb_test.
6108
6109 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6110 aborting; the testsuite driver will do that for us (see
6111 gdb_finish). Also, use gdb_test in a few more places.
6112
6113Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6114
6115 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6116
6117Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6118
6119 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6120 and "add_tests" are not at the same address.
6121
6122Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6123
6124 * gdb.base/ptype.exp: Use gdb_test.
6125
6126Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6127
6128 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6129 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6130 left in. No longer expect them to fail.
6131
6132 * gdb.stabs/*.mt; Deleted, no longer used.
6133 * gdb.stabs/configure.in: Remove references to target makefile
6134 frags.
6135 * gdb.stabs/configure: Rebuilt.
6136
6137 * gdb.disasm/*.mt: Deleted, no longer used.
6138 * gdb.disasm/configure.in: Remove references to target makefile
6139 frags. Use "sh3.s" as the unique filename for this directory.
6140 * gdb.disasm/configure: Rebuilt.
6141
6142 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6143 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6144 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6145
6146Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6147
6148 * config/udi.exp: Use mondfe,name instead of remote_host.
6149
6150Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6151
6152 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6153 a function with a watchpoint enabled on the mn10200.
6154
6155 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6156 before trying to create it!
6157
6158Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6159
6160 * config/vx.exp: Use hostname instead of netport.
6161
6162 * config/vxworks.exp: New file.
6163
6164 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6165
6166 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6167 gdb before assuming everything worked. Send a ^C if a timeout
6168 occurs.
6169
6170 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6171 $gdb_spawn_id directly.
6172 (gdb_run_cmd): Try _start as well as start. Use the target feature
6173 gdb,start_symbol as the symbol to start from when jumping.
6174
6175Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6176
6177 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6178 redundant) test.
6179
6180 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6181 it doesn't lose for 16bit integer systems.
6182
6183Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6184
6185 * gdb.fortran/types.exp: If the target doesn't support "double"
6186 data types, then expect "real" types to only be 4 bytes.
6187
6188 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6189 call tests if the target doesn't support inferior function calls.
6190
6191 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6192 in printf tests.
6193
6194Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6195
6196 * gdb.base/help.exp: Disable "help set", "help show", and
6197 "help support". Simplify regexp for "help stack".
6198
6199 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6200 to 60 seconds. Temporarily set match_max to 15000 around the
6201 "info copying" test.
6202
6203 * gdb.base/nodebug.exp: Don't try to do an inferior function
6204 call if the target doesn't support them.
6205 * gdb.base/printcmds.exp: Likewise.
6206 * gdb.base/setvar.exp: Likewise.
6207 * gdb.base/structs.exp: Likewise.
6208 * gdb.c++/templates.exp: Likewise.
6209 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6210
6211 * gdb.base/recurse.exp: Enable for the mn10200.
6212
6213 * configure.in: Do configure gdb.stabs directory for *-*-elf
6214 targets.
6215 * configure: Rebuilt.
6216
6217 * gdb.base/break.exp: Check for gdb,noresults before testing
6218 exit status and/or results from the target.
6219 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6220 * lib/gdb.exp: Remove old (now bogus) initialization of
6221 noinferior, noargs, noresults and nosignals.
6222
6223Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6224
6225 * config/sh.exp: New file.
6226
6227 * config/slite.exp: Try to connect multiple times to the board
6228 before rebooting. Only send a "monitor run" if need_monitor_run
6229 is set.
6230
6231 * gdb.base/break.exp: Don't do the "stub continue" test if
6232 the target has gdb_stub set.
6233
6234 * gdb.base/callfuncs.exp: Increase the timeout.
6235
6236 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6237 if the target has gdb,noinferiorio set.
6238
6239 * gdb.base/list.exp: Increase match_max to 10000 characters.
6240
6241 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6242
6243 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6244 target.
6245
6246 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6247
6248Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6249
6250 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6251 trying to delete the copy of gdb. Catch the file delete so we
6252 don't die if the delete fails; also, the file should be copied to
6253 the host, not to the build.
6254
6255Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6256
6257 * lib/gdb.exp(gdb_test): Surround the result pattern with
6258 parenthesis in case it contains multiple regexps separated
6259 with |.
6260
6261 * gdb.base/watchpoint.exp: Use gdb_test.
6262 * gdb.base/default.exp: Ditto.
6263
6264Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6265
99707966 6266 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 6267
c906108c
SS
6268 * gdb.base/scope.exp: Use gdb_test.
6269 * gdb.c++/classes.exp: Ditto.
6270 * gdb.c++/inherit.exp: Ditto.
6271
6272Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6273
6274 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6275 remote_exec instead.
6276 * gdb.base/corefile.exp: Don't be ridiculous.
6277 * gdb.base/*.c: Add missing stub invocations.
6278
6279Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6280
6281 * config/slite.exp: Miscellaneous fixes.
6282
6283 * lib/gdb.exp: Fix runto.
6284
6285 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6286 the target.
6287
6288 * gdb.base/watchpoint.exp: Fix regexp.
6289
6290 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6291 close and wait commands, as the descriptor may now be
6292 invalid. Always call "remote_close host".
6293
6294Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6295
6296 Major rewrite for testsuite revision.
beb998c6 6297
c906108c
SS
6298 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6299 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6300 instead of relying on spawn_id to always contain a valid
6301 spawn id.
6302 (get_compiler_info): New procedure to build the ${binfile}.ci
6303 file, instead of replicating this in N different places.
6304 (gdb_compile): New procedure.
beb998c6 6305
c906108c
SS
6306 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6307 appropriate arguments) instead of compile. Use gdb_test in a lot
6308 more places. Use send_gdb instead of send. Always run gdb_start
6309 at the start of a testcase, as this is no longer done magically.
6310
6311 config/*-gdb.exp: Rename without the -gdb suffix.
6312
6313 config/mips.exp: Use remote_close instead of exit_remote_shell.
6314 config/monitor.exp: Use target_info instead of looking at
6315 baud, timeout, etc.
6316 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6317
6318Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6319
6320 * gdb.c++/templates.exp (test_ptype_of_templates),
6321 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6322 Update expect patterns for destructors and assignment operators
6323 to match corresponding c-typeprint.c changes.
6324 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6325 to destructor breakpoint test, GDB should be able to set the
6326 destructor breakpoint without specifying arguments.
6327
6328Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6329
6330 * gdb.threads/pthreads.exp: Change result for failure to compile due
6331 to lack of pthreads runtime support from an error to simply an
6332 unsupported test, per dejagnu standards.
6333
6334Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6335
6336 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6337 where GDB exits to reduce pattern match time.
6338 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6339
6340 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6341
dc96c6c7 6342Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6343
6344 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6345 * gdb.base/default.exp: ditto.
6346 * gdb.base/nodebug.exp: ditto.
6347 * gdb.base/printcmds.exp: ditto.
6348 * gdb.base/ptype.exp: ditto.
6349 * gdb.base/setvar.exp: ditto.
6350 * gdb.base/structs.exp: ditto.
6351 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6352
6353Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6354
6355 * configure, */configure: Rebuild with autoconf 2.12.
6356
6357Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6358
6359 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6360 use new i*86-pc-linux*-gnu quads.
6361 * gdb.base/corefile.exp: Ditto.
6362 * gdb.base/signals.exp: Ditto.
6363 * gdb.base/sigall.exp: Ditto.
6364 * gdb.base/interrupt.exp: Ditto.
6365
6366 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6367 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6368 RedHat 4.0.
beb998c6 6369
c906108c
SS
6370 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6371 linux. This allows the test case to at least compile on latest
6372 linux, but still not run due to missing the threads runtime library.
6373
6374Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6375
6376 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6377 directory to search gdb directory. Accept and step over conditional
6378 stack alignment code. Consume $prompt in failure cases.
6379 Reset timeout to $oldtimeout instead of some arbitrary value.
6380 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6381 timeout problems with infinite stack backtraces.
6382 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6383 Accept function parameters for linkfunc member.
6384
6385Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6386
6387 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6388 (CXXFLAGS): Remove, unreferenced.
6389 (B_OPTIONS): Add for -B options and add code to initialize with
6390 previous -B options and also add -B option to pick up cross compiled
6391 runtime.
6392 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6393 doing cross compiles.
6394 (target_alias): Declare global.
6395 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6396 to verify that gcc exists in build tree, and if so set CC to that
6397 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 6398
c906108c
SS
6399Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6400
6401 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6402 ptype test for anonymous union. Fixup testcase to match
6403 current gcc debug output.
6404
6405Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6406
6407 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6408 force argument to an unsigned long type.
6409
6410Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6411
6412 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6413 tests and anonymous union print/ptype tests.
6414 * gdb.base/list.exp (test_forward-search): Increase timeout by
6415 5 minutes for the "search extremely long line" case.
6416 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6417 completely optional and that the pass/fail messages use the command as
6418 the message if that third arg is a null string.
6419 (gdb_test_exact): Arrange that a null string pattern means match a
6420 null string output rather than any output, which might include random
6421 errors.
6422 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6423 backtrace test.
6424 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6425 always failing and failure is now exposed by gdb.exp changes.
6426
6427Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6428
6429 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6430 weren't being noted.
6431
6432Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6433
6434 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6435 * gdb.stabs/weird.exp: Remove v_comb xfails.
6436
dc96c6c7 6437Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6438
6439 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6440 list.exp scope.exp watchpoint.exp]
6441 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6442
dc96c6c7 6443Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6444
6445 * config/monitor.exp: Increase download timeout to 1000 seconds.
6446
dc96c6c7 6447Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6448
6449 * config/m32r.exp: Increase timeout to 120 seconds.
6450
6451Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6452
6453 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6454 and accept older ordering as obsolescent gcc or gdb.
6455 * gdb.c++/templates.exp: Ditto.
6456 * gdb.c++/virtfunc.exp: Ditto.
6457
6458Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6459
6460 * gdb.base/coremaker.c: Add code to mmap some data so we
6461 can check that it ends up in the core file.
6462 * gdb.base/corefile.exp: Add test to read mmapped data
6463 from core file.
6464
dc96c6c7 6465Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6466
6467 * config/m32r.exp: New file.
6468
6469Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6470
6471 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6472 that cflags can contains -gstabs, and work correctly for other tests.
6473
dc96c6c7 6474Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6475
6476 * gdb.base/setshow.exp: New file, tests show and set.
6477 * gdb.base/setshow.c: New file, tests show and set.
6478 * gdb.base/help.exp: Add test for help set|show annotate.
6479 * gdb.base/default.exp: Add test for set|show annotate.
6480
6481Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6482
6483 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6484 errors unique.
6485 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6486 explicitly.
6487
6488Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6489
6490 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6491 and width commands. This is done elsewhere.
6492 * (gdb_start): Don't call gdb_start_sim here. That's already
6493 done in gdb_load. This fixes lots of failures in default.exp.
6494
6495Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6496
6497 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6498 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6499 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6500 in the same we we treat other failures (since it may be an expected
6501 condition), rather than as an error.
6502 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6503 old test format.
6504
6505Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6506
6507 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6508 (distclean maintainer-clean realclean): No need to remove files
6509 twice. Nuke the duplicates.
6510 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6511 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6512 Remove config.h along with other config files.
6513
6514Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6515
6516 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6517 "p func1 ()" and note that rests of tests are skipped.
6518 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6519 setup_xfails for "print func2::coremaker_local".
6520 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6521 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6522 affected by the previous run test.
6523 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6524 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6525 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6526 "pass int powerset tuple" and "pass modeless int powerset tuple".
6527 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6528 "real write 4" and "real write 8".
6529 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6530 setup_xfails for "print vs1 after tuple assign 2",
6531 "print \$i after tuple assign 2", and
6532 "print vs2 after tuple assign 2".
6533 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6534 meaningful error message and return -1 so the caller can
6535 suppress further tests and avoid a cascade of errors.
beb998c6 6536
c906108c
SS
6537Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6538
6539 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6540 format for printing version.
6541 * gdb.base/default.exp: Ditto.
6542 * gdb.base/interrupt.exp: Fix problem with cascade of
6543 errors if child process dies while calling a function.
beb998c6 6544
c906108c
SS
6545Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6546
6547 * Makefile.in (VPATH): Add
6548 * Makefile.in (Makefile, config.status): Fix rules so things get
6549 remade when necessary.
6550
6551Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6552
6553 * Makefile.in (just-check): Add path to sibling expect dir
6554 to environment variable specified by RPATH_ENVVAR.
6555
6556Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6557
6558 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6559 (just-check): Add shared library paths for libstdc++, tk,
6560 tcl, bfd, and opcodes to the environment variable specified
6561 in RPATH_ENVVAR.
6562 * configure.in: Add support to recognize --enable-shared flag
6563 and generate correct value for RPATH_ENVVAR.
6564 * configure: Regenerated with autoconf.
6565
6566Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6567
6568 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6569 include all osf versions.
6570 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6571 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6572 when target is linux. When failing to build pthreads test
6573 executable, give more meaningful message.
6574 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6575 arg for pthread_create.
beb998c6 6576
c906108c
SS
6577Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6578
6579 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6580 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6581 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6582 and -lpthreads (everybody else).
6583 (test_startup): Fail gracefully if threads are not supported.
6584 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6585 "p/c array_index("abcdef",2)" when not gcc compiled.
6586 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6587 "print func2::coremaker_local" when not gcc compiled.
6588 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6589 "ptype on opaque struct tagname (statically)",
6590 "ptype on opaque struct tagname (dynamically) 1", and
6591 "ptype on opaque struct tagname (dynamically) 2"
6592 for not compiled with gcc.
6593 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6594 backtrace when compiled with gcc.
beb998c6 6595 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6596 than always return success.
6597
6598Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6599
6600 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6601
6602Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6603
6604 * gdb.base/structs.exp: Undo last change.
6605
6606Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6607
6608 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6609 encapsulate all the steps/nexts done during self test, starting
6610 at main, and makes them less sensitive to optimization issues.
6611 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6612 signal handler" test.
6613 * gdb.threads/pthreads.exp: Only run this for native configs.
6614 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6615 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6616 tests.
6617 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6618 for "runto test_calls(void)" test.
beb998c6 6619
c906108c
SS
6620Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6621
6622 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6623 and don't expect address info in breakpoint confirmations.
6624
6625Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6626
6627 * gdb.base/list.exp (test_forward_search): Increase timeout
6628 temporarily by 60 seconds for searching extremely long line,
6629 and then reset to old value when done. Increase expect input
6630 buffer to 10000.
6631
6632Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6633
6634 * gdb.base/list.exp (test_forward_search): Fix to handle very
6635 long source line without overflowing expect's input buffer.
6636
6637Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6638
6639 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6640 "buffer_full".
6641
6642 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6643 "buffer_full".
6644
6645 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6646 "buffer_full".
6647
6648 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6649 "buffer_full".
6650
6651Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6652
6653 * configure.in (configdirs): Add gdb.threads.
6654 * configure: Regenerated with autoconf.
6655 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6656 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6657 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6658
c906108c
SS
6659Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6660
6661 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6662
6663Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6664
6665 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6666 each signal's status in the output of "handle all print".
6667 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6668 the \r\n sequence that immediately precedes the gdb prompt.
6669 * gdb.base/a1-selftest.exp: Save original timeout and restore
6670 after test.
6671
6672Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6673
6674 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6675 symbol.
6676
6677Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6678
6679 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6680
6681Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6682
6683 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6684 timeout by 60 seconds.
6685
6686Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6687
6688 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6689 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6690 error return.
6691
6692Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6693
6694 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6695 gdb initialization, also report how long dejagnu waited. Restore
6696 old timeout before doing error return. Temporarily increase timeout
6697 by 3 minutes to allow for slow startups over heavy NFS use.
6698
6699Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6700
6701 * lib/gdb.exp: Report timeout value for verbosity level 2.
6702 * config/gdbserver.exp: Ditto.
6703 * config/hppro.exp: Ditto.
6704 * config/mips-gdb.exp: Ditto.
6705 * config/monitor.exp: Ditto.
6706 * config/netware.exp: Ditto.
6707 * config/sim-gdb.exp: Ditto.
6708 * config/slite-gdb.exp: Ditto.
6709 * config/udi-gdb.exp: Ditto.
6710 * config/unix-gdb.exp: Ditto.
6711 * config/vx-gdb.exp: Ditto.
6712 * gdb.base/a1-selftest.exp: Ditto.
6713 * gdb.base/a2-run.exp: Ditto.
6714 * gdb.base/break.exp: Ditto.
6715 * gdb.base/corefile.exp: Ditto.
6716 * gdb.base/list.exp: Ditto.
6717 * gdb.base/recurse.exp: Ditto.
6718 * gdb.base/scope.exp: Ditto.
6719 * gdb.base/signals.exp: Ditto.
6720
6721Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6722
6723 * gdb.threads/Makefile.in (docdir): Removed.
6724
6725Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6726
6727 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6728 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6729 @srcdir@.
beb998c6 6730 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6731 autoconf 2.5 or higher.
6732 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6733
6734Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6735
6736 * configure: Regenerated.
6737 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6738 avoid name clashes with SunOS headers.
6739
6740Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6741
6742 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6743
6744Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6745
6746 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6747 prototype information ends up in the compiler info file.
6748
6749Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6750
6751 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6752 attempting to regenerate it. Eliminate use of a temporary file
6753 and just generate the info file directly. Source it immediately,
6754 for consistency of use.
6755 * gdb.base/corefile.exp: Ditto
6756 * gdb.base/exprs.exp: Ditto.
6757 * gdb.base/funcargs.exp: Ditto.
6758 * gdb.base/langs.exp: Ditto.
6759 * gdb.base/list.exp: Ditto.
6760 * gdb.base/mips_pro.exp: Ditto.
6761 * gdb.base/nodebug.exp: Ditto.
6762 * gdb.base/opaque.exp: Ditto.
6763 * gdb.base/ptype.exp: Ditto.
6764 * gdb.base/scope.exp: Ditto.
6765 * gdb.base/setvar.exp: Ditto.
6766 * gdb.base/signals.exp: Ditto.
6767 * gdb.base/whatis.exp: Ditto.
6768 * gdb.c++/templates.exp: Ditto.
6769 * gdb.c++/virtfunc.exp: Ditto.
6770 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6771 whether or not to add -lstdc++ to the compile command line args.
6772
6773Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6774
6775 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6776 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6777 Increase timeout, a lot of single stepping might be needed if the
6778 target has no hardware watchpoints.
6779
6780Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6781
6782 * gdb.base/break.exp: Ignore compiler warnings when compiling
6783 break.c.
6784 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6785 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6786 from remote-sim.
6787 * gdb.base/exprs.exp: Add h8300 xfails.
6788 * gdb.base/funcargs.exp: Likewise.
6789 * gdb.base/nodebug.exp: Likewise.
6790 * gdb.base/printcmds.exp: Likewise.
6791 * gdb.base/ptype.exp: Likewise.
6792 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6793 h8300 xfails.
beb998c6 6794 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6795 on the h8300.
6796 * gdb.base/funcargs.c: Explicitly make last constant argument to
6797 call_after_alloca_subr an unsigned long type.
6798 * gdb.base/return.c: Include stdio.h.
6799
6800Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6801
6802 * config/abug.exp: New file for the older Motorola Bug monitor
6803 that runs on the mvme13x series VME boards.
6804 * config/monitor.exp: Use the new config array for target settings
6805 if they exist.
6806
6807Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6808
6809 * sim-gdb.exp: Make the SH simulator allocate less space when
6810 it is targeted.
6811
6812Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6813
6814 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6815 test.
6816
6817Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6818
6819 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6820 "rs6000-*-*" for "list function in include file" when gcc compiled.
6821 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6822 for "p ctable1[120]".
6823 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6824 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6825 Remove setup_xfail for "rs6000-*-*" for
6826 "print 'scope0.c'::filelocal before run".
6827 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6828 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6829 since some compilers don't allow both options to be given
6830 on the same command line. Create object file and move it.
beb998c6 6831
c906108c
SS
6832Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6833
6834 * gdb.base/corefile.exp: Always regenerate the core file, since
6835 we always regenerate the coremaker program. Detect special case
6836 where registers cannot be read from core file.
beb998c6 6837
c906108c
SS
6838Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6839
6840 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6841 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6842 * gdb.c++/templates.exp: Only match on basename of file since
6843 some formats like xcoff don't encode directory information.
6844 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6845 and rs6000 AIX xcoff targets.
6846 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6847 * configure: Regenerate.
6848 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6849 here, rather than in distclean.
beb998c6 6850
c906108c
SS
6851Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6852
6853 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6854 defined, and use it to compile the test case with -O2. The
6855 native compilation still uses no optimization.
6856 * gdb.base/mips_pro.c: Remove inline assembly code since
6857 it is compiled PIC by default, which results in assembler
6858 warnings that make the testsuite think the compilation
6859 was unsuccessful.
6860
6861Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6862
6863 * gdb.c++/misc.exp: Add note to message for
6864 "print s.a for foo struct" that this is a known gcc 2.7.2
6865 and earlier bug.
6866
6867Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6868
6869 * gdb.base/break.exp: Fix pattern for matching "Delete all
6870 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6871 setup_xfail for deleting all breakpoints test. Fix various
6872 timeout messages to include "(timeout)".
6873 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6874 for "p t_float_values2(3.14159,float_val2)".
6875 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6876 for "continue to call2g" when gcc compiled.
6877 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6878 "up to foo in langs.exp", "show language at foo in langs.exp",
6879 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6880 and "show language at fsub in langs.exp".
6881 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6882 "list line 1 in include file", "list message for lines past EOF",
6883 "list function in include file", "list list0.h:foo", and
6884 "list filename:function; nonexistant function".
6885 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6886 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6887 and "ptype t_char_array" to be for native cc only.
beb998c6 6888
c906108c
SS
6889Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6890
beb998c6 6891 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6892 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6893 "print func2::coremaker_local", and "backtrace in corefile.exp".
6894
6895Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6896
6897 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6898 "bt in signals.exp". This problem only appears when running
6899 the testsuite, and then only intermittently.
6900
6901Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6902
6903 * gdb.base/return.exp (return_tests): Differentiate between
6904 two tests of continuing.
6905
6906Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6907
6908 * */Makefile.in (maintainer-clean): Remove config.log.
6909 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6910 * gdb.c++/Makefile.in (PROGS): Add inherit.
6911 (clean): Remove *.ci.
6912
6913Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6914
6915 * gdb.c++/misc.cc: Add test code from Mike Stump.
6916 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6917
6918Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6919
6920 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6921 to "alpha-*-osf2*" and add comment.
6922 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6923 setup_xfail for "step over execarg initialization" and
6924 "step over corearg initialization".
6925 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6926 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6927 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6928 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6929 "print func2::coremaker_local", and "backtrace in corefile.exp".
6930 * gdb.base/signals.exp: Build and source signals.ci.
6931 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6932 to be for gcc only.
6933 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6934
c906108c
SS
6935Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6936
6937 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6938 Feb 3 procfs.c change.
6939
6940Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6941
6942 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6943
6944Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6945
6946 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6947 from dejagnu's apparent default of 10 seconds, which gives random
6948 results when running the tests over NFS on moderately loaded systems.
6949 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6950
6951Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6952
6953 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6954 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6955 result reports.
6956
6957Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6958
6959 * configure.in (CY_AC_PATH_TCLH): Remove.
6960 * configure: Regenerate.
6961
6962Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6963
6964 * gdb.c++/Makefile.in (clean): Add missing '{'.
6965
6966Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6967
6968 * lib/gdb.exp: Provide a default value for noinferior.
6969
6970 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6971 Load libgloss.exp.
6972
6973Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6974
6975 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6976 the executable, not the .o to run the tests from.
6977
6978Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6979
6980 * gdb.base/break.exp: Don't test for program exit or exit status
6981 if $noresults if nonzero.
6982 * gdb.base/langs.exp: Likewise.
6983 * gdb.base/watchpoint.exp: Likewise.
6984
6985 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6986 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6987 trying to compile the testcase.
6988
6989Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6990
6991 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6992 * gdb.base/signals.exp (continue to handler): Likewise.
6993
6994Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6995
6996 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6997
6998 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6999
7000Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7001
7002 * gdb.base/corefile.exp: Recognize "not found" as failure
7003 when trying to determine if a core file was generated.
7004 If no core file was generate the first time, try again without
7005 the ulimit -c to work around braindamaged shells.
7006
7007Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7008
7009 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7010 [] tests with "test" and enclose string in quotes.
7011 * gdb.stabs/configure: Rebuild
beb998c6 7012
c906108c
SS
7013Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7014
7015 Changes in sync with expect:
7016 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7017 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7018 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7019 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7020 argument to AC_REQUIRE.
7021 * configure: Regenerated.
7022
7023Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7024
7025 * gdb.base/corefile.exp: When generating a core, discard any
7026 error messages about ulimit not found and the "core dumped"
7027 message from the shell that runs the coredumper.
7028
7029Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7030
7031 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7032
7033 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7034 which sed script to run. Expect failure for v_comb test
7035 on PA targets too.
beb998c6 7036
c906108c
SS
7037Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7038
7039 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7040 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7041
7042Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7043
7044 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7045 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7046 "sparc-sun-solaris*" xfails for "p v_comb".
7047 * lib/gdb.exp (default_gdb_start): Fix typo.
7048 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7049 messages to not include the full program name that caused
7050 the core dump since some systems (such as solaris) apparently
7051 truncate this path to about 80 characters.
7052 When generating a core file first try increasing the core file
7053 size limit to unlimited since some systems may default it to
7054 zero, and it is harmless to try it. Move the test for failing
7055 to generate a core file to where it will actually get executed.
7056 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7057 new gdb result from g++ debug info improvements and make old
7058 pattern obsolescent. Also account for size_t differences
7059 (may be int or long).
7060 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7061 initialization before function call is placed in the delay slot
7062 and thus appears to be skipped over by commands such as "next".
7063
7064Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7065
7066 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7067
7068Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7069
7070 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7071 input source file; fix code to compile test to deal with this
7072 convention.
7073 * gdb.c++/*.exp: Likewise.
7074
7075Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7076
7077 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7078 "bt in signals.exp".
7079
7080Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7081
7082 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7083 "step over execarg initialization" and
7084 "step over corearg initialization".
7085
7086Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7087
7088 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7089 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7090
7091Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7092
7093 From Rob Savoye (rob@poseidon.cygnus.com)
7094 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7095 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7096 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7097 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7098 configure.in}: Major reworking for autoconfig.
7099 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7100 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7101 New files.
7102 * config/unix-gdb.exp: Make GDB global.
7103 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7104 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7105 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7106 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7107 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7108 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7109 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7110 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7111 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7112 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7113 pr-8136.exp, result.exp, string.exp, tuples.exp},
7114 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7115 to returns as necessary, arrange for test to compile own testcase
7116 executable.
7117 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7118
c906108c
SS
7119Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7120
7121 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7122 clear_xfail at end of test which might not call either pass or fail.
7123 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7124 "backtrace through signal handler".
7125
7126Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7127
7128 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7129 continuing from a job control stop signal.
7130 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7131
7132Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7133
7134 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7135 * gdb.base/corefile.exp: Likewise.
7136 * gdb.base/funcargs.exp: Likewise.
7137
7138Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7139
7140 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7141 * config/monitor.exp: Add support for setting baud rate.
7142
7143Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7144
7145 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7146 i*86-*-linux* xfails for "backtrace through signal handler".
7147 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7148 "print func2::coremaker_local".
7149 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7150 alpha-dec-osf2* xfail for
7151 "delete all breakpoints when none".
7152
7153Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7154
7155 * gdb.base/break.exp: Change test that deletes all breakpoints
7156 when no user breakpoints are installed. A post 4.15 change
7157 causes gdb to no longer prompt in this case.
7158
7159Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7160
7161 * gdb.base/return.exp (return_tests): Change xfail for test
7162 "correct value returned double test" to stop xfailing at
7163 Solaris 2.5. Apparently the bug has been fixed.
7164
7165Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7166
7167 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7168 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7169
7170Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7171
7172 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7173 * gdb.disasm/hppa.s: Corresponding changes.
7174
7175Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7176
7177 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7178 makefile fragment.
7179 * config/mt-hpux: Deleted.
7180
7181Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7182
beb998c6 7183 * Many files: When warning about suppressed tests due to a
c906108c
SS
7184 nonexistant test binary, avoid incrementing the warning count.
7185
7186Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7187
7188 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7189
c906108c
SS
7190Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7191
7192 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7193 "sparc-*-solaris2*".
7194
7195Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7196
7197 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7198 Add global and local variables and initialize them.
7199 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7200 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7201 extracts the file name and terminating signal from the core file.
7202 * TODO: Remove note about tests for correct mapping of corefile.
7203 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7204 from optimizing it away.
7205 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7206 handles common blocks.
7207
7208Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7209
7210 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7211 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7212
7213Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7214
7215 * Makefile.in (maintainer-clean): New target, synonym for
7216 realclean.
7217 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7218 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7219 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7220 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7221 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7222 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7223
7224Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7225
7226 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7227 xfails when not gcc compiled for "print foo::funclocal".
7228 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7229 "print foo::funclocal at foo",
7230 "print 'scope1.c'::foo::funclocal at foo",
7231 "print foo::funclocal_bss at foo",
7232 "print 'scope1.c'::foo::funclocal_bss at foo",
7233 "print foo::funclocal_ro at foo",
7234 "print 'scope1.c'::foo::funclocal_ro at foo",
7235 "print bar::funclocal at foo" and
7236 "print 'scope1.c'::bar::funclocal at foo".
7237 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7238 gcc compiled for "print foo::funclocal at bar".
7239 Expand all messages to ensure that they identify that
7240 the test is at bar().
7241 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7242 gcc compiled for:
7243 "ptype on opaque struct pointer (statically)",
7244 "ptype on opaque struct tagname (statically)",
7245 "ptype on opaque struct pointer (dynamically) 1",
7246 "ptype on opaque struct tagname (dynamically) 1",
7247 "ptype on opaque struct pointer (dynamically) 2" and
7248 "ptype on opaque struct tagname (dynamically) 2
7249 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7250 gcc compiled for:
7251 "p datalocal"
7252 "whatis datalocal",
7253 "ptype datalocal",
7254 "p bsslocal",
7255 "whatis bsslocal", and
7256 "ptype bsslocal".
7257 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7258 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7259 when not gcc compiled.
7260 * gdb.base/funcargs.exp (float_and_integral_args): Add
7261 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7262 compiled.
7263 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7264 "backtrace from call6a" when not gcc compiled.
7265 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7266 "backtrace from call7a" when not gcc compiled.
7267 * gdb.base/callfuncs.exp (do_function_calls):
7268 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7269 "p t_char_array_values(char_array_val2,char_array_val1)",
7270 "p t_char_array_values(char_array_val1,char_array_val2)",
7271 "p t_char_array_values("carray 1","carray 2")",
7272 "p t_char_array_values("carray 1",char_array_val2)",
7273 "p t_char_array_values(char_array_val1,"carray 2")",
7274 "p sum_args(1,{2})",
7275 "p sum_args(2,{2,3})",
7276 "p sum_args(3,{2,3,4})",
7277 "p sum_args(4,{2,3,4,5})"
7278 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7279 "backtrace in corefile.exp" when not gcc compiled.
7280
7281Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7282
7283 * gdb.base/signals.exp: Rewrite `handle all print' test as
7284 a procedure. Accept blanks or TABs as whitespace, increase
7285 timeout and expect input buffer size for the large output
7286 from the command. Remove "i*86-*-bsdi2.0" xfail.
7287
7288Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7289
7290 * gdb.base/setvar.exp: Add new testcases for truncation when
7291 assigning invalid values to bitfields.
7292
7293Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7294
beb998c6 7295 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
7296 mips-sgi-irix* xfail for
7297 "call inferior func with struct - returns char *"
7298 and fix test so that an optional (unsigned char *) cast is
7299 accepted in the result.
7300
7301Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7302
7303 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7304 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7305 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7306 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7307 that accidentally got checked in.
7308
7309Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7310
beb998c6 7311 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
7312 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7313 compiled test.
7314 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7315 Add mips-sgi-irix5* xfail for not gcc compiled.
7316 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7317 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7318 "p top", "whatis top", "p middle", and "whatis middle".
7319 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7320 "whatis signed char" for not gcc compiled.
7321 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7322 "set variable signed char=-1 (-1)" and
7323 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7324 * gdb.base/funcargs.exp (float_and_integral_args):
7325 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7326 Add mips-sgi-irix* xfail when not gcc compiled for
7327 "continue to call2b".
7328 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7329 "continue to call2g".
7330 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7331 "backtrace from call6a"
7332 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7333 "backtrace from call7k".
7334 Add mips-sgi-irix5* xfail when not gcc compiled for
7335 "backtrace from call7a".
7336 (localvars_after_alloca): Fix gdb_test cmds for
7337 "print * after runto ...".
7338 Remove rs6000-*-* xfails for
7339 "print i after runto localvars_after_alloca" and
7340 "print l after runto localvars_after_alloca"
7341 for all compilers.
7342 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7343 when not compiled with gcc, for:
7344 "print signed char == (minus)",
7345 "print signed char != (minus)",
7346 "print signed char < (minus)",
7347 "print signed char > (minus)".
7348 * gdb.base/callfuncs.exp (do_function_calls):
7349 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7350 "call inferior func with struct - returns char *".
beb998c6 7351 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
7352 "correct value returned double test" to include Solaris 2.4.
7353 * gdb.base/funcargs.exp (float_and_integral_args):
7354 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 7355
c906108c
SS
7356Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7357
7358 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7359 enumeration bitfields if compiling with GNU C.
7360 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7361 to empty' prompt.
7362
7363Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7364
7365 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7366 test for PRO targets.
7367
7368 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7369 breakpoints in the inferior at any given time by making
7370 two groups of breakpoints for call2*, call6* and call7*
7371 tests.
7372
7373Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7374
7375 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7376 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7377 from optimizing it away.
7378 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7379 "call inferior func with struct".
7380
7381Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7382
7383 * configure.in: Only configure gdb.chill for particular targets.
7384
7385Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7386
7387 * gdb.base/Makefile.in: Add action to .c.o transformation
7388 rule that generates a .ci file for each .o file and remove
7389 explicit .c.o rules except for callfuncs.o.
7390 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7391 generates a .ci file for each .o file and remove explicit
7392 .cc.o rules.
7393 (clean): Remove *.tmp *.ci files.
7394 (EXECUTABLES): Remove templ-info.exp.
7395 * gdb.base/compiler.c: New file.
7396 * gdb.c++/compiler.cc: New file
7397 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7398 Change rs6000-*-* xfail for
7399 "print 'scope0.c'::filelocal_ro" and
7400 "print 'scope1.c'::filelocal" and
7401 "print 'scope1.c'::filelocal_bss" and
7402 "print 'scope1.c'::filelocal_ro" and
7403 "print 'scope1.c'::foo::funclocal" and
7404 "print 'scope1.c'::foo::funclocal_ro" and
7405 "print 'scope1.c'::bar::funclocal" and
7406 "print 'scope0.c'::filelocal_ro" and
7407 "print 'scope1.c'::filelocal at foo" and
7408 "print 'scope1.c'::filelocal_bss at foo" and
7409 "print 'scope1.c'::filelocal_ro at foo" and
7410 "print 'scope1.c'::foo::funclocal at foo" and
7411 "print 'scope1.c'::foo::funclocal_bss at foo" and
7412 "print 'scope1.c'::foo::funclocal_ro at foo" and
7413 "print 'scope1.c'::bar::funclocal at foo" and
7414 "print 'scope0.c'::filelocal_ro" and
7415 "print 'scope1.c'::filelocal" and
7416 "print 'scope1.c'::filelocal_bss" and
7417 "print 'scope1.c'::filelocal_ro" and
7418 "print 'scope1.c'::foo::funclocal" and
7419 "print 'scope1.c'::foo::funclocal_bss" and
7420 "print 'scope1.c'::foo::funclocal_ro" and
7421 "print 'scope1.c'::bar::funclocal" and
7422 "print 'scope1.c'::bar::funclocal_bss"
7423 to only be xfail'd when not compiled with gcc.
beb998c6 7424 Add rs6000-*-* xfail for
c906108c
SS
7425 "print 'scope0.c'::filelocal_bss before run"
7426 when compiled with gcc.
7427 (test_at_main): Add rs6000-*-* xfail for
7428 "print filelocal_ro in test_at_main"
7429 when compiled with gcc.
7430 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 7431 Add rs6000-*-aix* xfail for
c906108c
SS
7432 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7433 "ptype t_char_array", not compiled with gcc.
7434 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7435 xfail for "list foo (in include file)" when gcc compiled.
7436 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7437 (integral_args): Add rs6000-*-* xfail for
7438 "run to call0a" if not compiled with gcc.
7439 (unsigned_integral_args): Add rs6000-*-* xfail for
7440 "run to call1a" if not compiled with gcc.
7441 (float_and_integral_args): Add rs6000-*-* xfail for
7442 "run to call2a" if not compiled with gcc and for
7443 "continue to call2b" for any compiler.
7444 Add rs6000-*-* xfail to
7445 "print f1 after run to call2a" for gcc compiled.
7446 (discard_and_shuffle): Add rs6000-*-* xfail for
7447 "run to call6a".
7448 (shuffle_round_robin): Add rs6000-*-* xfail for
7449 "backtrace from call7a" if not compiled with gcc.
7450 Add rs6000-*-* xfail for
7451 "backtrace from call7b" if compiled with gcc.
7452 (call_after_alloca): Add rs6000-*-* xfail for
7453 "print c in call_after_alloca" and
7454 "print s in call_after_alloca" and
7455 "backtrace from call_after_alloca_subr"
7456 if not compiled with gcc.
7457 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7458 "print c in localvars_in_indirect_call" and
7459 "print c in localvars_in_indirect_call" and
7460 "backtrace in indirectly called function" and
7461 "stepping into indirectly called function"
7462 if not compiled with gcc.
7463 (localvars_after_alloca): Add rs6000-*-* xfail for
7464 "print c after runto localvars_after_alloca" and
7465 "print s after runto localvars_after_alloca" and
7466 "print i after runto localvars_after_alloca" and
7467 "print l after runto localvars_after_alloca"
7468 for all compilers.
7469 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7470 than whatis-info.exp.
7471 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7472 than opaque-info.exp.
7473 Setup rs6000-*-* xfail for
beb998c6 7474 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7475 "ptype on opaque struct pointer (dynamically)" when
7476 not compiled with gcc.
7477 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7478 rather than callf-info.exp.
7479 (do_function_calls): Add clear_xfail for rs6000-*-* for
7480 "p t_float_values2(3.14159,float_val2)". Seems to work
7481 fine there, both with xlc and gcc. Need to find out what
7482 it is doing right and fix other platforms.
7483 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7484 "call inferior func with struct - returns int",
7485 "call inferior func with struct - returns long",
7486 "call inferior func with struct - returns float",
7487 "call inferior func with struct - returns double",
7488 "call inferior func with struct - returns char *",
7489 but only if not gcc compiled (presumes xlc compiled).
7490 Change rs6000-*-* xfails for
7491 "call inferior func with struct - returns char" and
7492 " call inferior func with struct - returns short" to only
7493 xfail if not using gcc.
7494 (clean mostlyclean): Remove *.ci and *.tmp files.
7495 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7496 than templ-info.exp.
7497 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7498 Add rs6000-*-* xfail for "up to foo in langs.exp"
7499 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7500 when not gcc compiled.
beb998c6 7501
c906108c
SS
7502Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7503
7504 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7505 * gdb.base/corefile.exp: Likewise.
7506 * gdb.base/list.exp: Likewise.
7507 * gdb.base/scope.exp: Likewise.
7508 * gdb.base/siganls.exp: Likewise.
7509
7510 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7511 compiler output.
7512 * gdb.base/whatis.exp: Likewise.
7513
7514Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7515
7516 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7517 failure (opcode table has been fixed to match reality).
7518
7519Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7520
7521 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7522 "call inferior func with struct - returns char",
7523 "call inferior func with struct - returns short"
7524
7525 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7526 "print 'scope0.c'::filelocal at main",
7527 "print 'scope0.c'::filelocal_bss in test_at_main",
7528 "print 'scope0.c'::filelocal at foo",
7529 "print 'scope0.c'::filelocal_bss in test_at_foo",
7530 "print 'scope0.c'::filelocal at bar",
7531 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7532
c906108c
SS
7533 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7534 in source file 1". This bug seems to have been fixed with both
7535 gcc and native cc (was native assembler bug?).
7536
7537Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7538
7539 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7540 "backtrace through signal handler" to "i*86-*-sysv4*".
7541 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7542 continue" case. Add "known SVR4 bug" to fail message.
7543 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7544 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7545 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7546 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7547 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7548 "up to foo in langs.exp", "show language at foo in
7549 langs.exp", "up to cppsub_ in langs.exp", "show
7550 language at cppsub_ in langs.exp", "up to fsub in
7551 langs.exp", and "show language at fsub in langs.exp".
7552 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7553 "bactrace in corefile.exp".
7554 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7555 "call inferior function with struct - returns float" and
7556 "call inferior function with struct - returns double".
beb998c6 7557
c906108c
SS
7558Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7559
7560 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7561 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7562 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7563 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7564
7565Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7566
7567 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7568 (or overriden) "CHILL" macro rather then bare "gcc".
7569 Also look for ../../gcc/xgcc since that is what we will
7570 actually need, not "Makefile". Remove following assignment
7571 of CHILL to CHILL_FOR_TARGET because that results in
7572 recursive definition.
7573
7574Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7575
7576 * gdb.base/corefile.exp: Change xfail for backtrace in
7577 corefile.exp from linuxaout to all linux.
7578 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7579 cases where we miss the breakpoint at the signal handler
7580 for some reason. Setup xfail for linuxoldld/linuxaout and
7581 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7582 hitting SIGURG breakpoint.
7583 * gdb.base/signals.exp: Setup xfail for "next" acting like
7584 continue to add linuxoldld. Setup xfail for all linux for
7585 "next to handler in signals_tests_1", "backtrace in
7586 signals_tests_1", "continue to func1", "pass SIGUSR1",
7587 and continue to handler".
7588
7589Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7590
7591 * Update all FSF addresses except those in COPYING* files.
7592
7593Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7594
7595 * gdb.base/a2-run.exp: Change messages to be more explicit about
7596 the status of args, and quote binfile in results.
7597
7598Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7599
7600 * gdb.base/callfuncs.exp: Add tests for passing structs to
7601 inferior functions and return various types.
7602 * gdb.base/callfuncs.c: Add functions to receive a struct
7603 and return a member of the struct, in various types.
7604
7605Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7606
7607 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7608
7609Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7610
7611 * config/vxworks29k.exp: New file, sources vxworks.exp.
7612
7613Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7614
7615 * config/gdbremote.exp: New file. Testing framework using
7616 gdbserver.
7617
7618Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7619
7620 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7621 "call function when asleep" and "send end of file".
7622 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7623 for "backtrace in corefile.exp".
7624 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7625 for "backtrace through signal handler".
7626 * gdb.base/corefile.exp: Make sure we actually generate a core file
7627 before trying the core tests. Some systems allow the user to suppress
7628 generation of core files and default to that (linux for example).
7629 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7630 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7631
7632Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7633
7634 * gdb.threads: New directory with some crude multi-threaded
7635 gdb tests (step.exp and step2.exp).
7636 * config/mt-lynx (STEP_EXECUTABLE): Define.
7637 (THREADFLAGS): Define.
7638
7639Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7640
7641 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7642
7643 * gdb.base/signals.exp: Disable whole file for lynx until
7644 further notice.
7645
7646 * gdb.base/signals.exp: xfail test where "next" acts like
7647 "continue" for lynx.
7648
7649 * gdb.base/interrupt.exp: xfail test for calling function while
7650 inferior is asleep for lynx.
7651
7652 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7653 than one cr-lf after each command.
7654
7655Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7656
7657 * configure.in: Reinstate setting of stabsdirs variable, fix
7658 typo in setting up configdirs for native builds.
7659
7660 * gdb.base/return.exp: Fix typo in return double test.
7661 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7662 compiler from optimizing them away.
7663
7664Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7665
7666 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7667 sequences to be echo'd by gdb when using gdb_test.
7668 * gdb.chill/chexp.exp: Likewise.
7669 * gdb.fortran/exprs.exp: Likewise
7670
7671Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7672
7673 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7674 after the inferior gdb has started.
7675
7676 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7677 after each command.
7678 * gdb.base/funcargs.exp: Likewise.
7679 * gdb.base/gdbvars.exp: Likewise.
7680 * gdb.base/interrupt.exp: Likewise.
7681 * gdb.base/list.exp: Likewise.
7682 * gdb.base/watchpoint.exp: Likewise.
7683 * gdb.c++/demangle.exp: Likewise.
7684 * gdb.c++/inherit.exp: Likewise.
7685 * gdb.chill/chexp.exp: Likewise.
7686 * gdb.fortran/exprs.exp: Likewise.
7687
7688 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7689 test if we can't handle IO to/from the inferior.
7690
7691 * gdb.c++/misc.exp: Always check for a program already being
7692 started after sending a "run" command to gdb.
7693
7694 * gdb.base/twice.exp: Start with a fresh gdb.
7695
7696 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7697 only depend on gdb's expression code, not the chill runtime.
7698
7699 * gdb.base/return.c: Put return values into variables so we
7700 can have gdb print them rather than depending on the program
7701 to print them.
7702 * gdb.base/return.exp: Corresponding changes.
7703
7704 * lib/gdb.exp: Provide default value for noinferiorio.
7705 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7706 the inferior.
7707
7708 * gdb.base/break.exp: Always check for a program already being
7709 started after sending a "run" command to gdb.
7710 (text_next_with_recursion): Don't check the output from the
7711 program's printf statement. Instead just make sure the program
7712 exited.
7713
7714 * gdb.base/commands.exp: Protect tests which need arguments with
7715 $noargs conditionals.
7716
7717Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7718
7719 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7720 of structure member arrays to match gdb/valops.c:value_addr change.
7721
7722Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7723
7724 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7725 cases.
7726
7727Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7728
7729 * configure.in (configdirs): Remove gdb.chill from default list
7730 of subdirs and then add it back in only if doing a native build.
7731 The current chill compiler does not yet work in any cross build.
7732 * Revert all signal changes from Jul 6.
7733 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7734 for sh-hms targets, allowing these tests to link, with no other
7735 changes. Testing is suppressed by setting "nosignals" in site.exp.
7736
7737Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7738
7739 * configure.in (signaldirs): Define and add to configdirs for all
7740 targets except some specific ones that are known to not support signals.
7741 Also clean up formatting.
7742 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7743 (signals, sigall): Remove rules to build.
7744 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7745 Moved to new gdb.signals directory.
7746 * gdb.signals: New test directory.
7747 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7748 signals.c signals.exp}: New or moved files.
7749
7750Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7751
7752 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7753
7754Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7755
7756 * gdb.base/return.exp: Xfail `return double' test failure
7757 on at least Solaris 2.3 and handle future/past versions on
7758 a case by case basis as appropriate. Also update message
7759 to include i*86 failures.
7760
7761Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7762
7763 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7764
7765 * lib/gdb.exp: Fix comment which erroneously identified
7766 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7767 gdb_file_cmd not gdb_load).
7768 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7769
7770 * gdb.base/setvar.exp: Make test names consistent between pass and
7771 fail cases. Use gdb_test more.
7772
7773Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7774
7775 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7776
7777Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7778
7779 * gdb.base/help.exp: Fix expected help string for `show commands'.
7780
7781Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7782
7783 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7784
7785 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7786 of a text section.
7787
7788Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7789
7790 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7791 that loop eventually terminates. Fix Connection refused logic so
7792 that testsuite will expire nicely.
7793
7794Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7795
7796 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7797 config/rom68k.exp: New tcl glue for the appropriate monitors.
7798 These all just end up calling monitor.exp.
7799 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7800 refused' by retrying. Cleanup some timeout issues.
7801 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7802 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7803 callers don't have to set/restore global timeout variable.
7804
7805 * The following set of changes centralizes management of the global
7806 timeout variable. This way, it can be set in one target dependent
7807 place instead of dozens of places scattered throughout the test suite.
7808 If you need to lengthen a timeout, then you should either set timeout
7809 in one of the config/{target}.exp files, or multiply it by a factor.
7810 Setting it to an absolute value is always going to lose for some
7811 targets.
7812 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7813 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7814 * gdb.base/funcargs.exp: Don't set timeout.
7815 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7816 * gdb.base/printcmds.exp (test_print_string_constants
7817 test_print_array_constants): Don't set timeout.
7818 * gdb.base/ptype.exp: Don't set timeout.
7819 * gdb.base/recurse.exp: Don't set timeout.
7820 * gdb.base/return.exp: Don't set timeout.
7821 * gdb.base/watchpoint.exp: Don't set timeout.
7822 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7823 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7824
7825Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7826
7827 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7828
7829Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7830
7831 * lib/gdb.exp: Disable chill tests for irix5.
7832
7833Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7834
7835 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7836 each test pass or fail.
7837
7838Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7839
7840 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7841 xlc not gcc.
7842
7843Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7844
7845 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7846
7847Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7848
7849 * config/est.exp: Fix copyright and comments. Remove dead code.
7850 Use targetname, serialport and baud variables instead of fixed
7851 constants.
7852 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7853 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7854
7855Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7856
7857 * gdb.base/watchpoint.exp: Don't run
7858 test_watchpoint_triggered_in_syscall for sunos.
7859
7860Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7861
7862 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7863 they don't seem to exist. Do include stdio.h.
7864
7865Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7866
7867 * gdb.base/a1-selftest.exp: Add alpha xfail.
7868
7869Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7870
7871 * gdb.base/watchpoint.c (main): Prompt before calling read().
7872 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7873 Revise accordingly. Remove cruft about sending "123" several
7874 times, until it gets noticed. Clean up the "print buf[0]" stuff
7875 so that it passes or fails, and waits for prompts in the usual way.
7876
7877Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7878
7879 * gdb.base/recurse.exp: Fix comment.
7880
7881 * TODO: Remove item about printing variables in nodebug.exp. Add
7882 item about enabling tests which are only run on some targets.
7883
7884 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7885 fail, make test names unique, use new gdb_test convention
7886 regarding pattern, use gdb_test more, etc.).
7887
7888 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7889 fail, make test names unique, etc.).
7890
7891Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7892
7893 * gdb.base/nodebug.c: Change return type of top and middle to
7894 short.
7895 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7896 are fixed by the recent mdebugread.c changes. Allow `short ()'
7897 as type for top and middle.
7898
7899Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7900
7901 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7902 nearly as I can tell, the whole thing was an accident in Stu's
7903 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7904 to replace a send/expect pair with gdb_test, but ended up only
7905 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7906 of 30 Mar 1995 took care of it, but left this vestigial comment
7907 which I am now nuking.
7908
7909Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7910
7911 * gdb.base/break.exp: Look for different line number for
7912 breakpoint at main depending on usestubs.
7913
7914Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7915
7916 * gdb.base/list.exp: Adjust some alternate expect patterns to
7917 match recent list0.c change. Add alternate expect pattern for
7918 output from `list default lines around main' for optimizing
7919 compilers.
7920
7921Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7922
7923 * lib/gdb.exp: If nosignals is not set, set it to 0.
7924
7925Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7926
7927 * config/slite-gdb.exp: Responds to load symbol table prompt.
7928 * gdb.base/break.exp: Adjust line number, fix rerun.
7929 * gdb.base/langs0.c: Add #ifdef usestubs.
7930
7931Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7932
7933 * gdb.base/list.exp: Adjust line contents after adding new lines in
7934 list0.c. Also fix a syntax error.
7935
7936 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7937 * gdb.base/break.exp: ditto.
7938 * gdb.base/list.exp: ditto.
7939 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7940 * gdb.base/run.c: ditto.
7941 * gdb.base/list0.c: ditto.
7942 * gdb.base/funcargs.c: ditto.
7943
7944Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7945
7946 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7947 $targetname, $serialport and $baud instead of hardwired variables.
7948 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7949 target doesn't support signals.
7950
7951Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7952
7953 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7954
7955Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7956
7957 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7958 Don't rely on the value of an auto variable before it has been
7959 initialized. Use gdb_test more.
7960
7961Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7962
7963 * lib/gdb.exp (default_gdb_version): A version number must start
7964 with a digit, but other than that contains all characters up to
7965 the first whitespace character.
7966
7967Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7968
7969 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7970
7971Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7972
7973 * gdb.c++/*.exp: Warn if executable does not exist. The original
7974 reason for skipping the warning was that configure.in sometimes
7975 intentionally skipped building the executables but the tcl code
7976 had no way of knowing. That (a) was always bogus with respect to
7977 error handling, (b) is no longer true (right now there is no way
7978 to skip C++ tests).
7979
7980 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7981
7982Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7983
7984 * gdb.base/list.exp: Add expect patterns for output from
7985 SunPRO compiled executables.
7986 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7987 types.
7988
7989Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7990
7991 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7992 number (we are already testing that the correct source line text
7993 gets printed).
7994
7995 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7996 that is what is intended, but something needed to be done to get
7997 sunos4 native working again.
7998
7999 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8000
8001 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8002 apparently went with a (very) old xfail.
8003
8004Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8005
8006 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8007 runto_main is a proc in gdb.exp that will do 'step' for target use
8008 stubs.
8009 * gdb.base/exprs.exp: ditto.
8010 * gdb.base/interrupt.exp: ditto.
8011 * gdb.base/opaque.exp: ditto.
8012 * gdb.base/printcmds.exp: ditto.
8013 * gdb.base/ptype.exp: ditto.
8014 * gdb.base/scope.exp: ditto.
8015 * gdb.base/setvar.exp: ditto.
8016 * gdb.base/signals.exp: ditto.
8017 * gdb.base/twice.exp: ditto.
8018 * gdb.c++/classes.exp: ditto.
8019 * gdb.c++/inherit.exp: ditto.
8020 * gdb.c++/templates.exp: ditto.
8021 * gdb.base/break.exp: no run and hit main for stubs. Change line
8022 numbers for breakpoints and info breakpoint.
8023 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8024 breakpoint().
8025 * gdb.base/callfuncs.c: ditto.
8026 * gdb.base/exprs: ditto.
8027 * gdb.base/interrupt.c: ditto.
8028 * gdb.base/opaque0.c: ditto.
8029 * gdb.base/printcmds.c: ditto.
8030 * gdb.base/ptype.c: ditto.
8031 * gdb.base/scope0.c: ditto.
8032 * gdb.base/setvar.c: ditto.
8033 * gdb.base/signals.c: ditto.
8034 * gdb.base/twice.c: ditto.
8035 * gdb.c++/misc.cc: ditto.
8036 * gdb.c++/templates.cc: ditto.
8037
8038Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8039
8040 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8041
8042 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8043 somewhere between `read' and `main.c'. I'm pretty sure the
8044 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8045 and it isn't particularly useful.
8046
8047 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8048
8049Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8050
8051 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8052
8053Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8054
8055 * config/mt-slite: add LIBS and -nostdlib.
8056 * config/slite-gdb.exp: add this new file to support sparclite target.
8057
8058Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8059
8060 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8061
8062 * gdb.base/a2-run.exp: Change argument to istarget from
8063 "*-*-vxworks" to "*-*-vxworks*".
8064 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8065
8066Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8067
8068 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8069 will not runto main but do a 'step' to step out of breakpoint().
8070 * config/mt-slite: add -Dusestubs.
8071
8072Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8073
8074 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8075 instead of just @.
8076
8077 * gdb.base/signals.exp: Add test for "handle all print".
8078 * TODO: Remove "handle all print". Also remove item about
8079 checking copyright date (I don't like the idea of a spurious FAIL
8080 based on when we run the tests).
8081
8082 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8083 for SunOS4 (reason for failure not investigated). Remove
8084 redundant test for $binfile.
8085
8086 * gdb.base/nodebug.c (array_index): Call malloc.
8087
8088 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8089
8090Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8091
8092 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8093 conventions and slightly simplify the matching regexp.
8094
8095Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8096
8097 * gdb.base/break.exp: Update gdb_test invocation to use new
8098 convention.
8099
8100 * lib/gdb.exp: If noargs is not set, set it to 0.
8101
8102 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8103 tests unique.
8104
8105 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8106
8107Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8108
8109 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8110 one argument of type "<non-float parameter>".
8111
8112Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8113
8114 * config/rom68k.exp: New file to support Motorola IDP board.
8115 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8116 * gdb.base/break.c: Change things around so that this program
8117 doesn't depend upon args. This is necessary to make remote
8118 targets work (in general, they can't take args).
8119 * gdb.base/break.exp: Don't try to send args to program. Don't
8120 expect output. Also, replace lots of code with gdb_test.
8121
8122Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8123
8124 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8125 printing of '\'' (which is what the comment says we are testing,
8126 even though we were not), not '''.
8127 (test_integer_literals_rejected): Test that printing ''' is an error.
8128
8129 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8130 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8131 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8132 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8133 Use gdb_test not test_print_accept.
8134 * lib/gdb.exp: Remove test_print_accept.
8135
8136 * gdb.base/signals.exp (signal_tests_1): Make pass message
8137 consistent with fail message.
8138
8139 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8140 unsigned char; the bug (PR 1821) is fixed.
8141
8142 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8143
8144 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8145 successful tests--makes xfailing them work right.
8146
8147Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8148
8149 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8150 only \r\n, not .*. The test can pass .* as the last thing in
8151 $pattern if that is what it wants. In addition to providing this
8152 flexibility, this change should speed up pattern matching in cases
8153 where the pattern already ended with .* (there were a number of
8154 them). This change also helps catch bad patterns--in the old
8155 scheme the typo "char \*" instead of "char \\*" would pass. Now
8156 it is caught.
8157 * Many .exp files: Update callers.
8158
8159 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8160 clearer and does not spuriously match multiple ('s. Likewise for
8161 ) and *.
8162
8163 * gdb.base/nodebug.exp: Test ability to call a function and pass
8164 it a string (even with no debugging info).
8165
8166 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8167 "p '\'", which is the same as "p ''" once tcl gets done with
8168 quoting, to "p '\\'", which I suspect is what is intended (one
8169 backslash gets sent to GDB).
8170
8171 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8172
8173Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8174
8175 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8176 1817) was fixed literally years ago.
8177
8178Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8179
8180 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8181 test, it causes stepping out of call_after_alloca_subr with
8182 optimizing compilers.
8183 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8184 fails.
8185
8186 * gdb.c++/templates.exp: Source templ-info.exp only if
8187 the templates executable exists.
8188
8189 * gdb.c++/misc.cc (class Contains_static_instance,
8190 class Contains_nested_static_instance),
8191 gdb.c++/classes.exp (test_static_members): Test printing of
8192 a class that contains a static instance of the class.
8193
8194Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8195
8196 * gdb.base/langs2.c (cppsub_): Don't prototype.
8197 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8198 only, I believe).
8199
8200Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8201
8202 * lib/gdb.exp (skip_chill_tests): New procedure.
8203
8204 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8205
8206Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8207
8208 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8209 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8210
8211Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8212
8213 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8214
8215 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8216 disassemble 8, not 16, instructions for part 4.
8217
8218 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8219 support the latter anymore.
8220
8221 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8222 -DNO_PROTOTYPES.
8223 * gdb.base/callfuncs.c: Control use of prototypes based on
8224 NO_PROTOTYPES, not __STDC__.
8225 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8226 t_float_values2 tests if prototypes in use.
8227
8228 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8229 t_double_values): When checking differences against DELTA, check
8230 that difference is within the range (-DELTA,DELTA), not just
8231 (-infinity,DELTA).
8232
8233Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8234
8235 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8236 'file' command firts, then 'target', then 'load', this is due to gdb
8237 target set up.
8238 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8239
8240Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8241
8242 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8243 FP load/store variants.
8244 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8245
8246Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8247
8248 * gdb.base/term.exp: Do not give a warning if not native, it is
8249 not an abnormal condition.
8250
8251Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8252
8253 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8254 t_char_array".
8255
8256Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8257
8258 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8259 are getting the version number.
8260
8261 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8262 if not native, it is not an abnormal condition.
8263
8264Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8265
8266 * lib/gdb.exp: Just use "file exists", rather than undocumented
8267 dejagnu procedure "findfile".
8268
8269Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8270
8271 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8272 (LDFLAGS): Set to -Xlinker -Ur.
8273
8274 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8275 Removed, these values are set by lib/gdb.exp.
8276
8277 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8278
8279Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8280
8281 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8282 of replicating gdb startup code.
8283
8284 * config/mt-vxworks (LDFLAGS): Set to -r.
8285 (CFLAGS_FOR_TARGET): Removed.
8286
8287 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8288 (gdb) and gdb for vxworks uses (vxgdb).
8289
8290 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8291 executable is not in the tree and host != target, use sed and
8292 program_transform_name to determine the gdb name used by the
8293 target.
8294
8295 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8296 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8297
8298Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8299
8300 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8301 floats, chars, and shorts where there are ANSI-style function
8302 definitions.
8303
8304 * gdb.base/langs.exp, gdb.base/langs*: New test.
8305 * gdb.base/Makefile.in: Build it.
8306 * TODO: Remove item about checking that C names don't get C++
8307 demangling applied; this test tests it.
8308
8309Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8310
8311 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8312 went with the const70 xfail. The xfail went away a year ago.
8313
8314 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8315
8316 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8317 for hp300.
8318
8319 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8320
8321 * gdb.base/a1-selftest.exp: Don't run on hp300.
8322
8323Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8324
8325 * Makefile.in (site.exp): Set host_alias and target_alias as well
8326 as host_triplet and target_triplet.
8327
8328Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8329
8330 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8331
8332 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8333 places as other ecoff systems).
8334
8335 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8336 ultrix.
8337
8338Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8339
8340 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8341 remove them.
8342 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8343 variable and "variable" in addition to "data variable".
8344 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8345
8346 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8347 2.
8348 * gdb.base/list1.c (long_line): Add additional statement at start
8349 of function.
8350 * gdb.base/list.exp (test_forward_search): Update line number to
8351 reflect new statement.
8352
8353Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8354
8355 * gdb.base/signals.exp: Reinitialize searched source directories
8356 after gdb_start call.
8357
8358Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8359
8360 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8361 * gdb.stabs/Makefile.in: Likewise.
8362
8363 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8364 change. Instead split the tests into smaller pieces.
8365 * gdb.disasm/hppa.s: Corresponding changes.
8366
8367Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8368
8369 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8370 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8371
8372 * gdb.base/funcargs.exp: Modify many tests so that every test
8373 either passes or fails. Make some test names unique.
8374
8375Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8376
8377 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8378 Call stty to set interrupt character.
8379
8380 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8381 for HP assembler versus GNU assembler based on actual behavior of
8382 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8383
8384 * TODO: Suggest a few more stepping tests.
8385
8386Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8387
8388 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8389 restart GDB for h8300 after a continue.
8390 (return): Add pattern to match a29k-udi behavior.
8391 * gdb.base/nodebug.exp: Remove obsolete comment.
8392 * gdb.base/regs.exp: New file, testing of register displays.
8393 * gdb.base/return.exp: Fix typo in reference to $objdir.
8394 * gdb.base/whatis.exp: Always start with a fresh GDB.
8395
8396Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8397
8398 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8399 higher, these tests generate a lot of output.
8400
8401Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8402
8403 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8404 code following the catch silently ignored some errors; without the
8405 catch they should be thrown like any other tcl error. Also, the
8406 catch used "" instead of {} which meant all the callers who wanted
8407 to include one of the characters "[]$ had to quote it an extra time.
8408 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8409 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8410 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8411 Remove extra quoting.
8412
8413Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8414
8415 * gdb.base/commands.exp: Make test names unique; every test either
8416 passes or fails. Update some comments.
8417
8418 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8419
8420Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8421
8422 The following fixes a FAIL caused by the fact that the alpha stabs
8423 configuration didn't use the ".if alpha" code in weird.def.
8424 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8425 bit pointer, so the 32 bit version works even on the alpha.
8426 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8427 Remove the stuff which allowed us to have separate versions for
8428 alpha and everything else.
8429
8430 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8431 regexp which "info func operator\[\](" is supposed to match. Fix
8432 string to send to GDB. Note that GDB still doesn't work right. Add a
8433 new test for "info func .perator\[\](" which GDB does handle correctly.
8434
8435 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8436
8437Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8438
8439 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8440 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8441 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8442 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8443 it makes the tests harder to understand and confuses test-o-matic.
8444 The preferred style is that each test provides a PASS or a FAIL,
8445 and has a unique message (e.g. "continue #54" not just "continue")
8446 which is the same for the pass and the fail.
8447 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8448 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8449 to lib/gdb.exp.
8450 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8451 prt_accept which was basically the same thing. Likewise for
8452 test_print_reject and prt_reject.
8453 * lib/gdb.exp (test_print_reject): Add some more error message
8454 patterns to match from the former printcmds.exp (prt_reject).
8455 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8456 One defect of the passcount stuff is that some of it failed to
8457 report XPASS where appropriate.
8458 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8459 stuff before and after arg in expected pattern.
8460 (test_paddr_operator_functions): Re-do test without print_addr_of;
8461 this is the only test which seems to want extra stuff there.
8462
8463Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8464
8465 * gdb.base/nodebug.exp: Update new tests to reflect improved
8466 wording of gdb output.
8467
8468 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8469 and "ptype" work on variables in files compiled without -g.
8470 Replaces commented out "maint print msymbol" tests.
8471
8472Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8473
8474 * gdb.base/setvar.c (dummy): Call malloc.
8475
8476 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8477 losing with the irix4 sed.
8478
8479 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8480 ALRM" on irix4.
8481
8482Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8483
8484 * TODO: Remove items about corefile.exp testing new exec-file and
8485 backtrace; both are now done. Add items about printing enums.
8486
8487Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8488
8489 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8490 "get signal $thissig" test fails.
8491
8492 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8493
8494Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8495
8496 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8497 compiler warning with dec alpha compiler.
8498
8499 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8500 extra \n from gdb_test call (this explains why the prompt test
8501 that I removed yesterday was there).
8502 (user_defined_command_test): Remove extra \n and prompt test.
8503
8504 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8505 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8506 doesn't exist.
8507 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8508 Also remove alpha workaround, which turns out to be because
8509 SIGABRT == SIGLOST.
8510
8511 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8512
8513 * gdb.base/help.exp: Don't test "help show".
8514
8515Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8516
8517 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8518 "set print address" is on.
8519 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8520 pass prompt to gdb_test; gdb_test already looks for the prompt.
8521
8522 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8523
8524 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8525 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8526 was to make sure that gdb can read a core file. But (a) the "read
8527 the corefile" part didn't make it to a1-selftest.exp, we just
8528 delete the corefile after creating it, and (b) we test reading
8529 corefiles in corefile.exp anyway. Also, this test left around a
8530 xgdb process on Solaris.
8531
8532 * gdb.base/corefile.exp: Also test backtrace.
8533
8534Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8535
8536 * gdb.base/commands.exp: Test a simple user defined command with
8537 arguments and if/while statements; verify the full user command is
8538 printed by "show user".
8539
8540 * gdb.base/commands.exp: Test if/while commands as part of a
8541 breakpoint command list; verify they appear in breakpoint
8542 information.
8543
8544Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8545
8546 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8547 than by dividing by zero.
8548
8549Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8550
8551 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8552 performing an inferior call with watchpoints enabled.
8553 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8554 call.
8555
8556Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8557
8558 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8559 of "file" command.
8560
8561 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8562 Add additional pattern for when "int operator int(void);" appears
8563 in a different order.
8564
8565Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8566
8567 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8568
8569 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8570 and "signal" with ".*".
8571
8572Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8573
8574 * TODO: Add note about "handle all nostop".
8575
8576 * gdb.base/{sigall.c, sigall.exp}: New test.
8577 * gdb.base/Makefile.in: Add it.
8578
8579Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8580
8581 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8582 when invoking GDB, suppresses any windowing interface.
8583
8584Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8585
8586 * config/sim-gdb: New file, simulator testing support.
8587
8588Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8589
8590 * gdb.base/interrupt.exp: Test calling func1 twice.
8591
8592Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8593
8594 * gdb.base/list.exp (test_forward_search): Set timeout higher
8595 when we'll be getting lots of output from gdb.
8596
8597 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8598 "init_malloc" to after the expect statement. Run it if that
8599 regexp is taken, but also for two others which happen if source
8600 cannot be found.
8601
8602Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8603
8604 * gdb.base/printcmds.exp: New test, for printing register before
8605 program is running.
8606
8607Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8608
8609 * gdb.base/list.exp: Correct some alternate expect patterns
8610 to reflect changes in list1.c.
8611
8612Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8613
8614 * TODO: Add item regarding large frames.
8615
8616 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8617
8618 * TODO: Remove item about enabling return.exp; it
8619 is enabled. Suggest a few more "return" tests.
8620
8621Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8622
8623 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8624 anonymous unions.
8625
8626Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8627
8628 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8629 and pr-5646.o, so "make" is the same as "make all", not "make
8630 pr-4975.o".
8631
8632Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8633
8634 * gdb.base/list.exp: Adjust expectations to reflect changes in
8635 list1.c.
8636 (test_forward_search): New test proc.
8637 * gdb.base/list1.c (long_line): New function, has long source line.
8638
8639Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8640
8641 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8642 additional line of code that was added.
8643
8644Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8645
8646 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8647 tests so as not to overflow expect's input buffers.
8648 * gdb.disasm/hppa.exp: Corresponding changes.
8649
8650Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8651
8652 Beginnings of template debugging tests.
8653 * gdb.c++/templ-info.cc: New file to test for template
8654 debugging capability of the compiler.
8655 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8656 templ-info.cc.
8657 * gdb.c++/templates.cc: Add explicit template instantiations
8658 to enable compiling with -fno-implicit-templates. Add destructor
8659 and 'value' method to T5 class for template tests.
8660 * gdb.c++/templates.exp: Add testcases for printing of template
8661 types, setting breakpoints on template methods and calling a
beb998c6 8662 template method.
c906108c
SS
8663
8664Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8665
8666 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8667 branch target since some assemblers (gas-2.5) may emit a
8668 relocation for the branch instead of resolving it in the
8669 assembler.
8670
8671Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8672
8673 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8674 through signal handler.
8675
8676Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8677
8678 * configure.in (*-*-netware): Use config/mt-netware.
8679
8680 * config/mt-netware: New file.
8681 * config/mt-i386-netware: Removed, separate configs for different
8682 netware architectures are no longer needed now that we have
8683 --with-headers.
8684
8685Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8686
8687 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8688 by the recent changes to use ANSI C arithmetic conversions.
8689
8690Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8691
8692 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8693 bug involving using inferior_pid to figure out whether to select a
8694 frame.
8695
8696Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8697
8698 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8699 match the current disassembler output.
8700
8701Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8702
8703 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8704 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8705 types, expect "int" as type of integer values (for now).
8706
8707Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8708
8709 * gdb.base/commands.exp: New tests for if/while commands.
8710
8711Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8712
8713 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8714 by .*, since hex values have different syntax in Chill mode.
8715
8716Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8717
8718 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8719 linefeed from expect pattern for repeated types with indices > 9.
8720
8721Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8722
8723 First part of Fortran test suite.
8724 * gdb.fortran: New directory.
8725 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8726
8727Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8728
8729 * gdb.base/default.exp: Update expect pattern for load command
8730 without arguments.
8731
8732Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8733
8734 * configure.in: Change i386 to i[345]86.
8735 * gdb.base/configure.in: Likewise.
8736 * gdb.c++/configure.in: Likewise.
8737 * gdb.chill/configure.in: Likewise.
8738
8739Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8740
8741 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8742 patterns, since that is not a valid context for comments.
8743
8744Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8745
8746 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8747 repeated types and repeated types with indices > 9.
8748
8749Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8750
8751 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8752 2417; old bug has been fixed.
8753
8754Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8755
8756 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8757 send the newline ourselves instead of assuming gdb_test will do
8758 so when passed an empty input string.
8759
8760 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8761 stabs testcode.
8762
8763Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8764
8765 * lib/gdb.exp (gdb_test): Don't send anything if the first
8766 argument is an empty string. This makes cases where we want to
8767 match output that is already in expect's buffers (for example,
8768 matching a breakpoint after gdb_run_cmd has been called) work
8769 reliably.
8770
8771Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8772
8773 * config/netware.exp: New file.
8774
8775Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8776
8777 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8778 the -B and -L prefixes so we can find the debugging stub.
8779
8780 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8781 there and we are using the gcc from the tree.
8782
8783 * gdb.base/types.c: Removed.
8784
8785 * gdb.base/configure.in: Look for makefile fragments in ../config.
8786 Recognize i386-*-netware.
8787 * gdb.c++/configure.in: Likewise.
8788
8789Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8790
8791 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8792 the correct TCL syntax.
8793
8794Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8795
8796 * gdb.base/opaque.exp: use runto instead of messing around with
8797 breakpoints. Simplify by using gdb_test.
8798
8799 * gdb.base/bitfields.exp: restart between tests on netware targets
8800 because breakpoints aren't relocated after target death. Run
8801 processes to completion.
8802
8803 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8804
8805Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8806
8807 * Makefile.in: Remove extra tabs that confuse some versions
8808 of "make". Use the newly built gdb to test with by default,
8809 rather than the first one in the tester's search path.
8810
8811Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8812
8813 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8814
8815 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8816 condition help.
8817
8818Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8819
8820 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8821
8822 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8823 running.
8824 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8825 * gdb.base/funcargs.exp: Likewise.
8826
8827 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8828 * gdb.base/funcargs.exp: Likewise.
8829
8830 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8831 message is "".
8832
8833Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8834
8835 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8836 return,signals,twice}.exp: Handle non-existant binaries
8837 consistantly.
8838
8839 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8840 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8841 might testing a cross development system.
8842
8843Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8844
8845 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8846 runtest script is relative to ${srcdir}, not ${rootdir}.
8847
8848Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8849
8850 * gdb.base/signals.exp: Allow for optionality of breakpoint
8851 address.
8852
8853Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8854
8855 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8856
8857Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8858
8859 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8860 for size_t definition.
8861 * gdb.c++/templates.cc: Likewise
8862
8863 * config/mt-i386-netware: New file.
8864
8865 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8866 defined.
8867
8868 * gdb.base/Makefile.in: Added support for systems that name core
8869 files by appending "core" to the program name.
8870 * gdb.base/a1-selftest.exp: Likewise.
8871
8872Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8873
8874 * gdb.base/return.exp: Add comment and message for `return double'
8875 test failure on Sparc Solaris.
8876
8877Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8878
8879 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8880
8881Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8882
8883 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8884 from optimizing them away.
8885 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8886 patterns to include default constructors and assignment operators,
8887 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8888 character in the output of the virtual base pointer.
8889
8890Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8891
8892 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8893 expression match in print_addr_of to avoid unintented matches.
8894 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8895 versions up to 2.5.8.
8896
8897Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8898
8899 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8900 included file to run under newer versions of expect.
8901 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8902 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8903 Remove xfail for the virtual table of BDDHookV.
8904
8905Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8906
8907 * lib/gdb.exp (string_to_regexp): Set a default result.
8908 (default_gdb_start): Fix misleading message.
8909
8910Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8911
8912 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8913 Remove all CC, etc definitions.
8914 * config/mt-hpux: New file.
8915 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8916 (CFLAGS, LDFLAGS): Define.
8917 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8918
8919 * Makefile.in (site.exp): Don't insert host_os, etc.
8920 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8921 (distclean): Check existence of subdir.
8922 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8923 * gdb.base/Makefile.in: General cleanup and simplification.
8924 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8925 to build executables. Use default rule to build .o files.
8926 (EXPECT, RUNTEST, CC): Fix relative pathname.
8927 (site.exp): Don't insert host_os, etc.
8928 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8929 and/or SIGUSR1 defined.
8930 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8931 * gdb.c++/Makefile.in: General cleanup and simplification.
8932 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8933 (CFLAGS): Remove.
8934 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8935
8936Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8937
8938 * gdb.base/recurse.exp: Misc changes to get tests running again
8939 after Kung's changes to the watchpoint code.
8940 * gdb.base/watchpoint.exp: Likewise.
8941
8942Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8943
8944 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8945
8946Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8947
8948 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8949 * lib/gdb.exp (default_gdb_start): Define.
8950 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8951 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8952 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8953 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8954 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8955 Don't call gdb_target_udi in between tests.
8956
8957Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8958
8959 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8960 (which was basically just a local version of the same thing). In
8961 addition to avoiding duplication, gdb_test_exact is faster.
8962 * lib/gdb.exp (gdb_test_exact): Fix typo.
8963
8964 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8965 don't give an error.
8966
8967 * gdb.base/term.exp: Call delete_breakpoints before starting.
8968
8969 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8970 (t10): Add comment.
8971
8972Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8973
8974 Reorganization of the GDB Test Suite.
8975
8976 * gdb.base: New directory, contains all the basic tests.
8977 * gdb.c++: New directory, tests specific to C++.
8978 * gdb.chill: New directory, tests specific to Chill.
8979 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8980 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8981 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8982 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8983 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8984 t30-31 to chill).
8985 * */gdbme.*: Rename to match appropriate expect scripts.
8986 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8987 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8988 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8989 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8990 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8991 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8992 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8993 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8994 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8995 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8996 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8997 gdb.c++/virtfunc.cc: New names of C++ files.
8998 * gdb.chill/chillvars.ch: New name of Chill file.
8999 * gdb.base/configure.in, gdb.c++/configure.in,
9000 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9001 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9002 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9003 * configure.in (configdirs): Update to reflect directory changes.
9004 (target_abbrev): No longer define for any configuration.
9005 * Makefile.in: Cosmetic improvements to header comments.
9006
9007Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9008
9009 Various changes to gdb.t31:
9010
9011 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9012 * gdbme.ch: Make all key-words and predefineds be upper-case.
9013 * chillvars.exp: Expect key-words and predefinds in upper-case.
9014
9015 * chillvars.exp: Use gdb_test_exact many places.
9016 Change expected output for arrays (which now includes index labels).
9017
9018 * pr-5020.exp, gdme.ch (module PR_5020):
9019 New test, for PR-5020.
9020
9021Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9022
9023 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9024 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9025
9026Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9027
9028 * Makefile.in: Fix bit-rot in definitions of CHILL,
9029 CHILL_FOR_TARGET and Chill_LIB.
9030 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9031 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9032 CHILL, and CHILL_LIB.
9033
9034Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9035
9036 * Revert the previous changes. Please see Rob's directory
9037 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9038
9039Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9040
9041 * Makefile.in, configure.in, config/mips-gdb.exp,
9042 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9043 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9044 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9045 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9046 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9047 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9048 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9049 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9050 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9051 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9052 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9053 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9054 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9055 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9056 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9057 changes from 94Q1.
9058
9059Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9060
9061 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9062 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9063 Rob's new testing fragments.
9064
9065Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9066
9067 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9068 lib/gdb.exp: Replace error proc calls with perror.
9069
9070Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9071
9072 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9073 version also, match on casted version strings, and match on
9074 gdb startup case where the line numbers might be messed up.
9075
9076Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9077
9078 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9079 (CFLAGS): Delete it from here.
9080
9081Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9082
9083 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9084
9085Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9086
9087 * Makefile.in (RUNTEST): Default to just "runtest".
9088
9089Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9090
9091 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9092 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9093 the code has been restructured.
9094
9095Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9096
9097 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9098 \n, not just one of each.
9099
9100 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9101 /bin/cc gives a warning if you do.
9102
9103Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9104
beb998c6 9105 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9106 __t10ListS_link1ZUiRCUiPT0
9107
9108Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9109
9110 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9111 on local variables in recursive functions.
9112
9113 * gdb.t07/Makefile.in: Build the new test.
9114
9115Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9116
9117 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9118 directly. Instead compare the return values from actual calls.
9119
9120Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9121
9122 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9123
9124Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9125
9126 * From Peter Schauer with minor modifications.
9127 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9128 stops in mid-line in the caller. Add xfail for returning a float
9129 value on X86 targets.
9130
9131Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9132
9133 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9134 to avoid expect lossage.
9135 (fmem_LRbug_tests): Likewise.
9136 * gdb.disasm/hppa.s: Corresponding changes.
9137
9138 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9139 conditions to work with latest dejagnu/expect.
9140
9141 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9142 expected to fail on the PA.
9143 (backtrace in call with trampolines): Explicitly require main
9144 to be frame #1 (no trampolines should show up in backtrace).
9145
9146 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9147 "continue -expect".
9148 * gdb.t06/break.exp: Likewise.
9149 * gdb.t07/watchpoint.exp: Likewise.
9150 * gdb.t13/bitfields.exp: Likewise.
9151 * gdb.t15/{funcargs,return}.exp: Likewise.
9152 * gdb.stabs/weird.exp: Likewise.
9153 * config/{mips,udi}-gdb.exp: Likewise.
9154
9155 * hppa.sed: Enclose comments within a sed command to avoid
9156 losing with the old OSF1 sed.
9157
9158Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9159
9160 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9161 sequent dynix.
9162 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9163 * gdb.t15/funcargs.exp: Conditionally step again to really
9164 finish from marker_call_with_trampolines. Handle the case where
9165 the first step from within call_with_trampolines already steps
9166 us back to main.
9167 * gdb.t15/gdbme.c: Add comment to closing brace of
9168 call_with_trampolines for funcargs.exp.
9169
9170Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9171
beb998c6 9172 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9173 Fix typo(s).
9174
9175Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9176
9177 * gdb.t07/gdbme.c: More code for watchpoint testing.
9178
9179 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9180 "Hardware watchpoint" throughout file.
9181 (test_watchpoint_triggered_in_syscall): New test.
9182 (test_complex_watchpoint): New test.
9183
9184Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9185
9186 * gdbme.c (call_with_trampolines): New function to try and step
9187 into. Tests trampoline problems on the PA.
9188
9189 * funcargs.exp (localvars_in_indirect_call): No longer expect
9190 stepping into indirect call to fail on PAs.
9191 (test_stepping_over_trampolines): New test.
9192
9193Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9194
9195 * TODO: Add suggestions for static member function tests, and
9196 completion tests.
9197
9198Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9199
9200 * TODO: Add suggestions for "p/a" tests.
9201
9202 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9203 (default_gdb_exit): Replace all the hair with sending "quit" to
9204 the process with a simple close.
9205
9206Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9207
9208 * TODO: Add suggestions for shared library tests.
9209
9210Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9211
9212 * TODO: Add suggestions for x/s tests.
9213
9214Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9215
9216 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9217 "enable once", and "enable breakpoints once" with ".*".
9218
9219Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9220
9221 * TODO: Add suggestions about structure passing tests.
9222
9223Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9224
9225 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9226 the primary1 test, use work around if __GNUC__ < 2.
9227 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9228 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9229 Test for bad output rather than waiting for timeout. Issue
9230 second continue only if first continue failed.
9231
9232Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9233
9234 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9235 operator[] test with gdb_test because the old code didn't seem to
9236 be getting the quoting right with the new dejagnu.
9237
9238Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9239
9240 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9241 one from the path.
9242 * Makefile.in: Use a fresh expect if there is one, use runtest
9243 from the src tree if there is one.
beb998c6 9244
c906108c
SS
9245Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9246
9247 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9248 next over recursive call. Revise the tests from that point on
9249 (which had been skipped) to match GDB's actual (correct) output.
9250
9251 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9252 with next over a breakpoint whose condition is false.
9253
9254 * gdb.t00/help.exp: Comment out "help set print" tests just like
9255 (and for same reason as) "help set" test.
9256
9257Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9258
9259 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9260 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9261
9262Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9263
9264 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9265 necessary gdb_target_udi.
9266
9267 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9268
9269 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9270 1838 and 2417; they are fixed.
9271
9272 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9273 gdb.t03/ptype.exp (ptype structure, ptype union):
9274 Remove xfails; the test is looser than when the xfails were added.
9275
9276 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9277 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9278
9279 * gdb.t01/run.exp: Only run shell test if isnative.
9280
9281 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9282 since "run" automatically loads if necessary. Call gdb_target_udi
9283 after the "file" since "file" kills any execution target.
9284
9285 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9286 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9287 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9288 argument for UDI.
9289
9290Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9291
9292 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9293
9294 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9295
9296Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9297
9298 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9299 properly quoting regexps. This makes the second argument to
9300 demangle a fixed string, which matches the callers, instead of a
9301 shell-style pattern which is what the previous implementation
9302 used. Update some of the callers.
9303
9304Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9305
9306 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9307 (comib_nullified_tests): Fix typo.
9308 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9309 strings. No longer expected to fail.
9310
9311 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9312 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9313 strings. No longer expected to fail.
9314
9315 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9316 string. No longer expected to fail.
9317
9318Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9319
9320 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9321 No longer expected to fail.
9322
9323 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9324 string. No longer expected to fail.
9325
9326Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9327
9328 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9329 only in the names (I probably got most of them). I was even
9330 generous with some which differed in underscores in names, and
9331 probably missed a few, and I *still* was able to remove almost a
9332 third of the file with almost no impact on testsuite coverage.
9333
9334Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9335
9336 * gdb.t00/default.exp: Match udi_attach error message as well as
9337 the one from child_attach.
9338
9339 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9340
9341 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9342
9343 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9344 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9345
9346 * Move test with enums and partial symbols back to
9347 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9348 Reverts the change of 26 May 93. Per today's change to
9349 stabs.texinfo, the behavior that weird.exp was expecting was
9350 unreasonable; what is important is that the compiler+gdb get
9351 things right, which happens with a recent gcc. Also fix the test
9352 to deal with native compilers which put out the stab gdb can't
9353 deal with.
9354
9355Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9356
9357 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9358 in the names. The main thing these accomplish is to slow things down.
9359 Many more such duplicates surely remain.
9360
9361 * gdb.t00/help.exp: Comment out "help support" test just like
9362 (and for same reason as) "help set" test.
9363
9364Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9365
9366 * gdb.t06/break.exp: Remove setup_xfails for
9367 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9368 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9369 about known bug in gcc to include up through 2.5.8.
9370 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9371 well as "_vb$".
9372 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9373 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9374 with latest gcc and gdb.
9375 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9376 well as "_vb$".
9377
9378Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9379
9380 * configure.in (hppa*-*-*): Also configure and build stabs-only
9381 tests.
9382
9383Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9384
9385 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9386 * gdb.t10/configure.in (hppa*-*-*): Use it.
9387
9388Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9389
9390 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9391
9392Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9393
9394 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9395 versions prior to 1.13.5.
9396
9397Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9398
9399 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9400 the prompt is at the start of a line.
9401
9402Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9403
9404 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9405 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9406 in the copr tests now.
9407 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9408 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9409 expected to fail.
9410
9411Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9412
9413 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9414 gdb.t31/chillvars.exp, lib/gdb.exp:
9415 Tweak to run under either version of expect.
9416 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9417 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9418 * gdb.t11/list.exp: Remove extraneous whitespace.
9419
9420Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9421
9422 * gdb.t16/printcmds.exp (test_print_strings): Accept
9423 "(unsigned char *) " before the string.
9424
9425 * TODO: Add notes about printing of fancy types and GDB expressions.
9426
9427Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9428
9429 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9430 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 9431 if doing mips-idt-ecoff.
c906108c
SS
9432
9433Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9434
9435 * Most .exp files: Tweak to run under either version of expect.
9436
9437Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9438
9439 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9440 xfails; I'm not sure why they are failing, but not because of PR 1806.
9441
9442Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9443
9444 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9445 defined in lib/gdb.exp.
9446
9447Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9448
9449 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9450 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9451 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9452 have to be typeless.
9453
9454Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9455
9456 * TODO: Add suggestion for copyright year test.
9457
9458Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9459
9460 * configure.in (*-*-lynxos*): Add stabs tests.
9461
9462Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9463
9464 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9465 so insert a tab before any assembler directive in column zero.
9466
9467 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9468 stores.
9469 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9470 stores.
9471 (fpu_short_memory_tests): Likewise.
9472
9473Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9474
9475 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9476 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9477 .stabs directives in comments.
9478
9479Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9480
9481 * TODO: New file, describing tests we could write.
9482 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9483
9484Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9485
9486 * gdb.t06/signals.exp: Add kludge to force re-sync.
9487
9488 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9489 to xgdb instead of gdb, get out of gdb.
9490
9491Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9492
9493 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9494 for info.
9495
9496Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9497
9498 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9499 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9500 * gdb.stabs/hppa.sed: New sed script for the PA.
9501
9502Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9503
9504 * gdb.stabs: Re-write weird.def and configuration to use sed
9505 instead of cpp. sed is portable and POSIX; cpp is neither.
9506
9507Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9508
9509 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9510
9511Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9512
9513 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9514
9515Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9516
9517 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9518 "_vb$".
9519 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9520 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9521
9522Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9523
9524 * lib/gdb.exp: Comment out code which depends on non-existent
9525 `transform' procedure.
9526
9527Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9528
9529 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9530 * lib/gdb.exp: Transform tool name.
9531 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9532 1.1's new error handling system.
9533
9534Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9535
9536 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9537
9538Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9539
9540 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9541 They made pattern matching so slow that timeouts happened on
9542 heavily loaded systems. Now any output from "show print" which
9543 gets us back to the GDB prompt is a PASS.
9544
9545Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9546
9547 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9548
9549Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9550
9551 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9552
9553 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9554 It is not from PR 3220.
9555
9556Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9557
9558 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9559 just started failing because they depended on the order the
9560 subcommands are presented, or exact docstring text. This kind of
9561 test is a pain and has minimal benefit.
9562
9563Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9564
9565 * gdb.t09/corefile.exp: At end of test, use "core" command with
9566 no arguments.
9567
9568Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9569
9570 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9571 17}/Makefile.in: Make it possible to run the testsuite with Sun
9572 make and CC = cross gcc by adding explicit build rules for .o
9573 files.
9574
9575Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9576
9577 * gdb.t15/funcargs.exp: Don't put comments on same line as
9578 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9579
c906108c
SS
9580Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9581
9582 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9583
9584Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9585
9586 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9587 * gdb.t20/inherit.exp: remove three dumplicate entries.
9588
9589Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9590
9591 * gdb.t06/break.exp: For "next over recursive call", fail on any
9592 incorrect output, not just on "factorial (value=2)".
9593
9594Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9595
9596 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9597 working now. Add an xfail if accesing a bss variable causes
9598 a memory error if the target is not yet run.
9599
9600Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9601
9602 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9603 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9604 name of __st* demangling (2 strings). Did Kung really get the
9605 more than 95 others right without testing them?
9606
9607Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9608
9609 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9610
9611Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9612
9613 * configure.in (configdirs): Add gdb.disasm
9614 * gdb.disasm: New directory for GDB disassembler tests.
9615 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9616
9617Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9618
9619 * gdb.t00/help.exp: Don't test "help set".
9620
9621 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9622 from within expect statements. None of these happen anymore and
9623 they cause regressions to be silently unnoticed.
9624
9625 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9626 messages) about known failures with gcc cygnus-2.4.5-930417.
9627
9628 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9629 comp-info.exp so it gets built if it doesn't exist.
9630
9631 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9632 it is no longer used.
9633 * gdb.t13/comp-info.c: Removed.
9634
9635Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9636
9637 * gdb.t06/signals.exp: Add xfail for sun3.
9638
9639Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9640
9641 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9642 relevant because ^C doesn't get sent but failure can be reproduced
9643 interactively).
9644
9645Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9646
9647 * gdb.stabs/alpha.mt: New configuration file for alpha.
9648 * gdb.stabs/configure.in: Use it.
9649 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9650 sharing with alpha.mt, redefine long to word via preprocessor.
9651 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9652 for alpha.
9653 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9654 native cc.
9655 * gdb.t00/teststrategy.exp: Change expect string so that we
9656 consume the `(xgdb)' from the command echo and from the gdb prompt.
9657 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9658 gdb currently compares all values as long, so this failure probably
9659 applies to any configuration where LONGEST is bigger than a target int.
9660 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9661 with gcc.
9662 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9663 to handle opaque pointers, gcc is.
9664 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9665 as first argument. Include <sys/types.h> and change all operator
9666 new definitions to use size_t.
9667 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9668 now that we use size_t.
9669
9670Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9671
9672 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9673 a long or float array cast all array members to the same type.
9674 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9675 with 64 bit longs.
9676 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9677 on alpha.
9678 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9679
9680Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9681
9682 * gdb.t24 (demangle.exp): Constructors of templates have names like
9683 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9684 section 14.6 of the ARM.
9685
9686 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9687 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9688 accomplish little and slow down the testsuite.
9689
9690 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9691 Accept spaces various places.
9692
9693Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9694
9695 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9696 with watchpoint enabled.
9697
9698 * Makefile.in: Remove definition of CC and remove the second
9699 definition of CXX (the "CXX = gcc" one remains). These definitions
9700 were causing backquotes to be expanded within backquotes, which
9701 doesn't work.
9702
9703Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9704
9705 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9706
9707Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9708
9709 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9710 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9711 by mips cc and contains no stabs entries.
9712
9713Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9714
9715 * config/vx-gdb.exp: Use fake device to load files rather than
9716 NFS.
9717 * lib/gdb.exp: New proc to do "file" command.
9718 * config/unix-gdb.exp: Use new "file" proc.
9719
9720Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9721
9722 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9723 Rework board rebooting slightly.
9724 (gdb_exit): Don't exit from the remote shell; there isn't one.
9725 * gdb.stabs/weird.exp: If a program is being debugged already,
9726 kill it.
9727 * gdb.t04/setvar.exp: Stop and restart gdb.
9728 * gdb.t05/expr.exp: Likewise.
9729 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9730 restart gdb and reload the program.
9731 * gdb.t08/opaque.exp: Likewise.
9732 * gdb.t12/scope.exp: Likewise.
9733 * gdb.t13/bitfields.exp: Likewise.
9734 * gdb.t15/funcargs.exp: Likewise.
9735 * gdb.t20/classes.exp: Likewise.
9736 * gdb.t03/ptype.exp: Increase timeout.
9737 * gdb.t16/printcmds.exp (test_print_string_constants,
9738 test_print_array_constants): Likewise.
9739 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9740 * gdb.t20/classes.exp (do_tests): Likewise.
9741 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9742
9743Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9744
9745 * gdb.stabs: Renamed *wierd* to *weird*.
9746
9747Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9748
9749 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9750 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9751
9752Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9753
9754 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9755 (do_tests): Remove xfail for whatis on one_var and two_var.
9756
9757Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9758
9759 * Makefile.in: Made cross building work better by adding
9760 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9761
9762Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9763
9764 * gdb.t15/{return.c,return.exp,Makefile.in}:
9765 New test, currently commented out.
9766
9767Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9768
9769 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9770 still running and removes the leftover named socket so GDb can do
9771 clean restarts.
9772
9773Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9774
9775 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9776 console, not GDB.
9777 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9778 cross testing works better with "make check"
9779 * config/unix-gdb: Use default procedures for exit and version.
9780 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9781 with the newest VxWorks.
9782
9783Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9784
9785 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9786 old form.
9787
9788 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9789 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9790
9791 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9792
9793 * config/unix-gdb.exp: Remove this version of gdb_exit
9794 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9795 Rob says he'll look at it when he gets back to testing boards.
9796
9797Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9798
9799 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9800 an expected fail for certain ptype commands.
9801
9802 * gdb.t20/classes.exp: Update expected results of "ptype class
9803 Base1" to account for the constructor that now appears in the type.
9804
9805Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9806
9807 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9808 disappeared from list.
9809 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9810 "alldone" proc with call to cleanup and exit.
9811 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9812 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9813 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9814 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9815 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9816 "alldone" proc with simple returns that suppress remaining
9817 tests. The alldone proc went away many months ago.
9818
9819Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9820
9821 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9822
9823 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9824
9825Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9826
9827 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9828 as vax gdb will display them.
9829
9830Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9831
9832 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9833 optimizers.
9834
9835 * scope.exp: Change "bad value for localval" messages so each one
9836 is unique.
9837
9838 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9839 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9840
9841 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9842
9843Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9844
9845 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9846 doesn't exist (due to optimization).
9847
9848Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9849
9850 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9851 contains \r because the filename is long.
9852
9853 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9854 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9855
9856Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9857
9858 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9859 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9860 Ultrix.
9861 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9862 int tests.
9863 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9864
9865Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9866
9867 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9868
9869 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9870 to match does not match the passing case but still matches the
c906108c
SS
9871 failing case.
9872
9873Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9874
9875 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9876
9877Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9878
9879 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9880 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9881 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9882 Remove various versions of gdb_exit.
9883 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9884 gdb_exit.
9885 * config/unix-gdb.exp: gdb_exit remains here, and should override
9886 the generic version, since it's doing a lot of wierd stuff that
9887 the other versions aren't. FIXME, fold it in, or abandon this
9888 version.
9889
9890Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9891
9892 * gdb.t24/demangle.exp: Add tests for PR 3220.
9893
9894Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9895
9896 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9897
9898Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9899
9900 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9901 "i386-*-*". Works for i486 as well.
9902
9903 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9904 bug, and expand domain of xfail to all SVR4 systems, since the
9905 actual problem is likely to be in generic SVR4 /proc support.
9906
9907Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9908
9909 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9910
9911Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9912
9913 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9914 xfails for other systems. Match a missing 'Continuing.' as an
9915 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9916
9917 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9918 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9919 Only issue warning for missing executables if -all option is used.
9920
9921 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9922 file if -all option is used. It's like an unpredictable XFAIL.
9923
9924Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9925
9926 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9927 for dynamically linked binaries.
9928
9929 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9930
9931Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9932
9933 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9934 to state that this is a known bug in old versions of g++.
9935
9936Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9937
9938 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9939 while waiting for `Continuing'.
9940
9941Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9942
9943 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9944 in text, data, and bss.
9945 * gdb.t10/nodebug.c: Add local and global test variables for
9946 initialized and uninitialized data.
9947
9948Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9949
9950 * config/unix-gdb.exp (gdb_exit): Add "wait".
9951
9952Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9953
9954 * gdb.t06/signals.exp: xfail the continue from the handler for all
9955 targets.
9956
9957 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9958 function with watchpoints enabled, the i386 call dummy starts with
9959 a call.
9960
9961 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9962 386 bsd names its corefiles.
9963
9964Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9965
9966 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9967 compilers don't grok it.
9968 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9969 with small octal ints rather than character constants, which
9970 are signed and might not fit if first promoted to int.
9971
9972Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9973
9974 * gdb.t09/Makefile.in (clean): Remove corefile.
9975
9976Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9977
9978 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9979
9980Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9981 and Jim Kingdon (kingdon@cygnus.com)
9982
9983 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9984 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9985 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9986
9987Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9988
9989 * gdb.t17/interrupt.exp: Add xfail for hppa.
9990
9991Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9992
9993 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9994 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9995 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9996 to determine signed-ness of bitfields and use the result to setup
9997 the xfail.
9998 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9999 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10000 call line is reached if necessary.
10001
10002Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10003
10004 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10005
10006Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10007
10008 * gdb.t06/break.exp: Also test `clear' command.
10009
10010Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10011
10012 * gdb.t00/teststrategy.exp: Remove extra quote.
10013
10014 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10015 watchpoint enabled to be for all non-68k machines.
10016
10017 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10018
10019Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10020
10021 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10022 targets use aout.mt instead of ecoff.mt as gas understands
10023 standard aout format.
10024
10025Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10026
10027 * lib/gdb.exp (runto): Don't insist that function we are running to
10028 was compiled with -g.
10029
10030 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10031
10032 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10033 to get back into the read system call.
10034 Accept leading newline in case where we woke it up.
10035
10036Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10037
10038 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10039 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10040 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10041 enable ecoff configuration.
10042
10043Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10044
10045 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10046
10047Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10048
10049 * gdb.t16/printcmds.exp: Add another printf test.
10050
10051Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10052
10053 * configure.in: If configured -with-stabs on any target, add
10054 stabsdirs to configdirs.
10055
10056Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10057
10058 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10059 fun" so pattern does not match the command itself.
10060
10061Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10062
10063 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10064
10065Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10066
10067 * gdb.t17/interrupt.exp: Test for more things.
10068
10069Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10070
10071 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10072 compiler arranges the code and line numbers.
10073
10074 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10075
10076Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10077
10078 * gdb.t00/help.exp: Increase expect input buffer size.
10079
10080Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10081
10082 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10083
10084 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10085
10086 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10087
10088 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10089 [0-9]*, not just [0-9].
10090
10091Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10092
10093 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10094
10095 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10096
10097Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10098
10099 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10100
10101Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10102
10103 * gdb.t06/signals.c: Add xfails for sun3.
10104
10105 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10106
10107 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10108 test_stepping tests.
10109
10110Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10111
10112 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10113
10114 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10115
10116 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10117 rather than actually putting it through cpp twice.
10118
10119 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10120
10121Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10122
10123 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10124 no longer needed.
10125
10126Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10127
10128 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10129
10130 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10131 C++ features prints as "struct", make it a pass, not an xfail.
10132
10133Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10134
10135 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10136 Don't require VA to print as "class" rather than "struct".
10137
10138Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10139
10140 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10141
10142Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10143
10144 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10145
10146Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10147
10148 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10149 order.
10150
10151Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10152
10153 * gdb.t16/printcmds.exp: Add printf tests.
10154
10155 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10156
10157 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10158
10159Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10160
10161 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10162 pass counts, to counteract any existing or future setup_xfails.
10163
10164Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10165
10166 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10167 {BEGIN,END}_COMMON for common block instead of STAB.
10168 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10169
10170 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10171 intp_var should be N_GSYM not N_LSYM.
10172 wierd-aout.S: Use a label for the value of the N_SO.
10173 wierd.def: Remove all backslashes.
10174 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10175
10176Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10177
10178 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10179 get the expected next to inheritance3.
10180
10181Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10182
10183 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10184 now that gcc-2.4 gets it right.
10185
10186Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10187
10188 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10189
10190 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10191 generating comp-info.exp which works for cross-compilation.
10192
10193Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10194
10195 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10196 "*-*-sysv4.*".
10197
10198Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10199
10200 * gdb.t01/run.exp: Start with a fresh gdb.
10201 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10202 SVR4.x.
10203
10204Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10205
10206 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10207 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10208 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10209 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10210 things to remove.
10211
10212Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10213
10214 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10215 test cases from bug reports.
10216
10217Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10218
10219 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10220 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10221 avoid spurious xfails.
10222 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10223 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10224 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10225
10226Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10227
10228 * gdb.t00/teststrategy.exp: Rework to provide more useful
10229 description of each test, fix problem with systems that define
10230 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10231 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10232 results for "next over recursive call" so timeouts aren't taken
10233 by error.
10234
10235Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10236
10237 * gdb.t12/scope.exp: Test printing of variables before run.
10238
10239 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10240 printed in wrong order due to sorting.
10241
10242Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10243
10244 * gdb.t00/teststrategy.exp: Fix expected results for printing
10245 user entered string constant. Is array of char, prints with no
10246 address.
10247
10248 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10249 commands.
10250 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10251 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10252 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10253 of struct of char arrays.
10254 * gdb.t00/radix.exp: New tests for radix commands.
10255
10256Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10257
10258 * gdb.t16/printcmd.exp: Print a variable before running program
10259 (with xfail for AIX).
10260
10261Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10262
10263 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10264
10265 * gdb.t16/printcmd.exp: Don't print variables before running program.
10266
10267 * gdb.t06/break.exp: Don't require envp argument to main.
10268
10269 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10270
10271 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10272 Add xfails for rs6000.
10273
10274 * gdb.t02/whatis.exp: Change other tests not to re-test something
10275 we already tested.
10276
10277 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10278 each type used has a variable of that type.
10279
10280Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10281
10282 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10283
10284Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10285
10286 * configure.in: change srctrigger to be a file, not a directory
10287
10288Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10289
10290 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10291
10292 * gdb.t11/list.exp: Fixed a couple of typos.
10293
10294Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10295
10296 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10297 is fixed and PR is closed.
10298 * gdb.t16 (gdbme.c): Add simple test string variable.
10299 * gdb.t16 (printcmds.exp): Add tests with simple test string
10300 variable, primarily for boundaries on "set print elements".
10301
10302Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10303
10304 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10305 Make leading 0's optional and don't expect a tab in the middle
10306 of the number.
10307
10308 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10309
10310 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10311 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10312 don't end command passed to gdb_test with newline.
10313
10314 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10315 signed keyword away, don't expect signed bitfields to be signed.
10316
10317 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10318 printing with only as many 1's as are in the field as well as printing
10319 with 32 1's (see comment).
10320
10321Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10322
10323 * gdb.t00/default.exp: Start with a fresh gdb.
10324 * configure.in (configdirs): Remove gdb.t31 until the chill
10325 compiler works again. It no longer is able to find chillrt0
10326 since it isn't in libchill.a anymore.
10327 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10328 wierd.o, make more modular.
10329 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10330 spurious newlines that caused problems.
10331
10332Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10333
10334 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10335 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10336 gdb.stabs/wierd.{exp,def}: Many new tests.
10337
10338 * gdb.t00/default.exp: update info line for new message.
10339
10340 * gdb.t02/{whatis.exp,gdbme.c}:
10341 Test that "char *" doesn't print as "caddr_t".
10342
10343Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10344
10345 * gdb.t00/help.exp: Use .* in place of some help messages which
10346 just changed.
10347 gdb.t00/default.exp: Update "info frame" test for new message.
10348 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10349 Remove some xfails
10350
10351Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10352
10353 * gdb.t03/{gdbme.c,ptype.exp}:
10354 Add tests for typedef'd struct and union without tags.
10355 Also check "whatis" on a variable of a typedef'd enum without a tag.
10356
10357 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10358 PRMS 1823; the bug still exists but isn't reproduced by this test
10359 anymore), and remove rs6000 XFAIL (the bug is fixed).
10360
10361 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10362 duplicated from whatis.exp. For those that are left, accept
10363 "long", "long int", or "int" for long variables (whatis.exp already
10364 has an XFAIL for "int", so no need to fail it here).
10365
10366 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10367 Deal with GCC's names for types now that GDB uses the compiler's names.
10368
10369 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10370 setup_xfail's for sunos4. If we #defined the signed keyword away,
10371 don't expect GDB to know that char it is signed.
10372
10373 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10374
10375Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10376
10377 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10378 should work on any system, regardless of debugging format.
10379 * gdb.t21/demangle.exp: Move to gdb.t24.
10380 * gdb.t24/demangle.exp: Move from gdb.t21.
10381 * gdb.t24/{Makefile.in, configure.in}: New files.
10382
10383Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10384
10385 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10386 * gdb.stabs: New directory.
10387
10388Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10389
10390 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10391 not just "Quit anyway?".
10392
10393Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10394
10395 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10396 that all setup_xfails are immediately followed by clear_xfails.
10397
10398Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10399
10400 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10401 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10402 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10403 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10404 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10405 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10406 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10407 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10408 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10409 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10410 gdb.t31/chillvars.exp, lib/gdb.exp:
10411 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10412 bug-gdb@prep.ai.mit.edu.
10413
10414Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10415
10416 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10417 with 0.0, not integer 0.
10418
10419Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10420
10421 * gdb.t06/break.exp: Update for "Kill the program" message change.
10422
10423Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10424
10425 * Makefile.in (GDBFLAGS): Set to -nx.
10426 * Makefile.in (site.exp): Use GDBFLAGS.
10427
10428Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10429
10430 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10431 Makefiles.
10432 (check): depend on just-check.
10433 (just-check): added so that tests can be run without a noop
10434 build pass.
10435
10436Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10437
10438 Switch to using configure's configdirs.
10439 * Makefile.in (Makefile): add configure.in dependency.
10440 (SUBDIRS): removed redundant assignment.
10441 * configure.in: switch subdirs assignment to configdirs.
10442 * gdb.t*/configure.in: new files.
10443
10444Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10445
10446 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10447 works.
10448
10449Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10450
10451 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10452 in explicit rules. Apparently this is not supported by some makes.
10453
10454Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10455
10456 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10457
10458Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10459
10460 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10461 disappeared.
10462
10463Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10464
10465 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10466
10467Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10468
10469 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10470 watchpoint problem that is now fixed.
10471 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10472 uninitialized convenience variables.
10473 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10474 structures.
10475
10476Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10477
10478 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10479 which causes expect to get out of sync with gdb on long output
10480 from help set.
10481 * gdb.t09/corefile.exp: Make expected pattern for core file
10482 failing signal and frame output format less sun specific.
10483
10484Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10485
10486 * gdb.t31/chillvars.exp: Add and remove initial dummy
10487 breakpoint, so that symbol table is forced in.
10488 (Needed at least on Sunos4, though it seems not SVR4.)
10489 * gdb.t31/chillvars.exp: Update for changed output format.
10490
10491Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10492
10493 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10494
10495Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10496
10497 * Makefile.in: Added --srcdir when invoking runtest, removed the
10498 need for a local config file. (optional now)
10499
10500Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10501
10502 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10503 failure count used to force early termination. Add some more
10504 expected failures for gnu style demangling.
10505
10506Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10507
10508 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10509 pmi variable from gdb.t20/gdbme to get optimized away.
10510 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10511 Check for written corefile upon timeout _and_ eof.
10512
10513Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10514
10515 * config/unix-gdb.exp: Add missing return 0.
10516
10517Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10518
10519 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10520 test termination.
10521
10522Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10523
10524 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10525 disappeared.
10526
10527Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10528
10529 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10530 time as i860 support works.
10531
beb998c6 10532 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10533 "backtrace 100\r" rather than just "backtrace\r", to match last
10534 change.
10535
10536Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10537
10538 * config/udi-gdb.exp (gdb_exit): Remove close command.
10539 (gdb_target_udi): New procedure to set the UDI target.
10540 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10541 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10542 Added waits for prompts after several question responses. Added
10543 some more responses used by a29k-amd-udi-gdb.
10544 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10545 pass different arguments, restart UDI connection after program
10546 completion.
10547 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10548 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10549 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10550 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10551 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10552 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10553 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10554 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10555 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10556 after program completion.
10557 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10558 compiled with a SELECT_VECS setting.
10559 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10560 infinite recursion.
10561
10562 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10563 Added checks for COFF results, and made them expected failures for
10564 all targets. It would be better to make them expected failures
10565 for COFF targets only.
10566
10567Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10568
10569 * Makefile.in: add null dvi target, don't bother to recurse
10570 through test directories for info and install-info; rename
10571 $(datadir) to be dejagnu instead of deja-gnu
10572
10573Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10574
10575 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10576 compiler to coredump.
10577 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10578 code.
10579
10580Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10581
10582 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10583 coredump.
10584 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10585 code.
10586
10587Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10588
10589 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10590 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10591 which in a shell. Deletes xgdb when done.
10592 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10593 Tests the return from the "set height" or "set width" commands.
10594 Added a few return codes where needed.
10595
10596Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10597
10598 * Makefile.in (SUBDIRS): Add gdb.t17.
10599 * configure.in (subdirs): Add gdb.t17.
10600 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10601 files to test gdb's calling of functions in the inferior with
10602 the correct arguments and gdb's ability to retrieve any
10603 result returned.
10604
10605Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10606
10607 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10608 may be called after gdb goes away. Previous versions of expect
10609 needed these to avoid file descriptor leaks, but they cause
10610 errors with the current revision of expect.
10611 * gdb.t00/gdbvars.exp: Use -re on expected output after
10612 setting sevenbit-strings.
10613 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10614 to set sevenbit-strings consistent across tests.
10615 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10616 set sevenbit-strings consistent across tests.
10617
10618Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10619
10620 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10621 expected output to match current "expect" expectations.
10622
10623Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10624
10625 * gdb.t00/default.exp: Change expected output for default "source"
10626 command, to match new gdb behavior which requires a filename to
10627 source.
10628
10629Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10630
10631 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10632 expected fail for i486-*-* that misses the marker2 function.
10633 * gdb.t10/crossload.exp (bfddefault): Allow successful
10634 recognition of a format to pass even if no symbols are found.
10635 Explicitly catch failures where the format is not recognized
10636 or is ambiguous, and add the reason to the fail message.
10637 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10638 the cause is and invalid target and add reason to failure message.
10639 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10640 elf32-i386, elf32-sparc, and elf32-i860.
10641 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10642 Set up expected failure for 'filename'::variable scope resolution,
10643 which is now apparently broken on all targets.
10644 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10645 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10646 gdb.t23/templates.exp: Change failure for missing binfile into
10647 just a warning.
10648 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10649 references.
10650
10651Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10652
10653 * gdb.t00/default.exp: Add expected output for default "source"
10654 command, to match new gdb behavior.
10655 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10656
10657Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10658
10659 * config/*-gdb.exp: returns an error, rather than exiting on
10660 internal errors.
10661
10662Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10663
10664 * gdb.t03/gdbme.c: Add pointer to struct variable.
10665 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10666 referencing struct members.
10667
10668Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10669
10670 * configure.in (mips-idt-ecoff): New target.
10671 * config/mips-gdb.exp: New file for remote board using MIPS remote
10672 debugging protocol.
10673
10674 * Redid configuration scheme. Removed gdb.t*/configure.in.
10675 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10676 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10677 distclean targets. Built executables via .o files. Adjusted
10678 tests to account for source files in $(srcdir) rather than
10679 $(objdir).
10680 * lib/gdb.exp (runto): Don't expect () after the function name,
10681 because it may have arguments.
10682
10683Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10684
10685 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10686 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10687 expected failures for mips-idt-* and mips-sgi-*.
10688 * gdb.t00/default.exp (attach): Kill process if requested.
10689 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10690 that does not read core files.
10691 * gdb.t01/run.exp: Removed checks for exit status code.
10692 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10693 it is linked in.
10694 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10695 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10696 appropriate, rather than doing it by hand.
10697 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10698 execution.
10699 * gdb.t10/crossload.exp: Kill existing program if needed.
10700 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10701 appropriate, rather than doing it by hand. Always increase
10702 timeout for this test, not just for VxWorks.
10703
10704Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10705
10706 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10707 of Chill STRUCT types and STRUCT values.
10708 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10709 than "char".
10710 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10711 struct2): New struct definitions and initializations to test
c906108c
SS
10712 simple Chill STRUCT types.
10713
10714Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10715
10716 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10717 the null byte at the end of strings.
10718 * gdb.t00/default.exp: Make show version insensitive to copyright
10719 date.
10720 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10721 to avoid dependencies on target char signedness.
10722 * gdb.t16/printcmds.exp: Update expected results for explicitly
10723 unsigned char.
10724 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10725 now work.
10726 * gdb.t21/demangle.exp: Add many more patterns for template
10727 demangling, most of them being expected failures.
10728 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10729 string we are matching for, to match on the whole string.
10730 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10731 and fix a whole bunch that had incorrect expected output but were
10732 passing anyway because of the bug in "proc demangle".
10733 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10734 type.
10735 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10736
10737Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10738
10739 * gdb/testsuite: made modifications to testcases, etc., to allow
10740 them to work properly given the reorganization of deja-gnu and the
10741 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10742
10743Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10744
10745 * gdb/testsuite: Initial creation of gdb/testsuite.
10746 Migrated dejagnu testcases and support files for testing nm to
10747 gdb/testsuite from deja-gnu. These files were moved "as is"
10748 with no modifications. This migration is part of a major overhaul
10749 of dejagnu. The modifications to these testcases, etc., which
10750 will allow them to work with the new version of dejagnu will be
10751 made in a future update.
10752\f
10753Local Variables:
ef043731 10754mode: change-log
c906108c
SS
10755left-margin: 8
10756fill-column: 74
10757version-control: never
10758End:
This page took 1.341323 seconds and 4 git commands to generate.