]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
PR binutils/609
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
bec39cab
AC
12005-01-07 Andrew Cagney <cagney@gnu.org>
2
3 * configure.ac: Rename configure.in, require autoconf 2.59.
4 * configure: Re-generate.
5 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
6 * gdb.stabs/configure: Re-generate.
7 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
8 * gdb.hp/configure: Re-generate.
9 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
10 autoconf 2.59.
11 * gdb.hp/gdb.objdbg/configure: Re-generate.
12 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13 autoconf 2.59.
14 * gdb.hp/gdb.defects/configure: Re-generate.
15 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
16 autoconf 2.59.
17 * gdb.hp/gdb.compat/configure: Re-generate.
18 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19 autoconf 2.59.
20 * gdb.hp/gdb.base-hp/configure: Re-generate.
21 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
22 autoconf 2.59.
23 * gdb.hp/gdb.aCC/configure: Re-generate.
24
f10b16d4
JB
252004-12-15 Jim Blandy <jimb@redhat.com>
26
27 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
28 under NPTL when there is debugging info available for libpthread.
29
fb6e1814
JG
302004-12-13 Jerome Guitton <guitton@gnat.com>
31
32 * gdb.ada/fixed_points.c: New file.
33 * gdb.ada/fixed_points.exp: New file.
34
fe46cd3a
RC
352004-12-03 Randolph Chung <tausq@debian.org>
36
37 * gdb.arch/pa-nullify.exp: New file.
38 * gdb.arch/pa-nullify.s: New file.
39
8de0841b
RC
402004-11-30 Randolph Chung <tausq@debian.org>
41
42 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
43 instead of "tbug". Fix regexp to work properly with gdb_test.
44
c8170782
PH
452004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
46
47 * gdb.base/bitfields2.exp: New test.
48 * gdb.base/bitfields2.c: New file.
49
954269c2
RE
502004-11-28 Richard Earnshaw <rearnsha@arm.com>
51
52 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
53
0107feed
RC
542004-11-16 Randolph Chung <tausq@debian.org>
55
56 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
57
f073ae8c
DJ
582004-11-14 Daniel Jacobowitz <dan@debian.org>
59
60 * gdb.threads/threadapply.exp: Correct "macro details" test.
61
19ad59e7
JJ
622004-11-11 Jeff Johnston <jjohnstn@redhat.com>
63
64 * gdb.threads/threadapply.exp: New test.
65 * gdb.threads/threadapply.c: New file.
66
9cf0961b
MK
672004-11-07 Mark Kettenis <kettenis@gnu.org>
68
69 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
70 frames.
71
c789492a
FL
722004-11-05 Felix Lee <felix+log1@specifixinc.com>
73
74 * gdb.base/cursal.exp: New file.
75 * gdb.base/cursal.c: New file.
76
a1e167bb
AC
772004-11-03 Andrew Cagney <cagney@gnu.org>
78
79 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
80
b7cbf173
MK
812004-10-30 Mark Kettenis <kettenis@gnu.org>
82
83 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
84 NetBSD/ELF targets.
85
88f9d34f
JB
862004-10-29 Joel Brobecker <brobecker@gnat.com>
87
88 * gdb.threads/bp_in_thread.c: New file, copied from
89 pthread_cond_wait.c.
90 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
91 file, rather than reusing the .c file from another testcase.
92
ca7d6a0c
JB
932004-10-20 Joel Brobecker <brobecker@gnat.com>
94
95 * gdb.ada/null_record.exp: Check where we stopped after
96 sending the start command, instead of where the associated
97 temporary breakpoint was inserted.
98
0d863d03
AC
992004-10-14 Andrew Cagney <cagney@gnu.org>
100
101 * gdb.mi/gdb701.c (main): Return 0.
102
d11e72cb
DJ
1032004-10-13 Daniel Jacobowitz <dan@debian.org>
104
d40539a4 105 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 106
e1923096
JJ
1072004-10-12 Jeff Johnston <jjohnstn@redhat.com>
108
109 * gdb.threads/schedlock.c: Add comment markers to use to find
110 line numbers.
111 * gdb.threads/schedlock.exp: Adjust regex to handle the new
112 comments.
113 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
114 breakpoint lines.
115
ec8ba2c9
DJ
1162004-10-12 Daniel Jacobowitz <dan@debian.org>
117
118 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
119
0eb3658b
DJ
1202004-10-12 Daniel Jacobowitz <dan@debian.org>
121
122 * configure.in: Add gdb.dwarf2.
123 * configure: Regenerated.
124 * Makefile.in: Add gdb.dwarf2.
125 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
126 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
127 gdb.dwarf2/file1.txt: New files.
128
a271cc33
OF
1292004-10-11 Orjan Friberg <orjanf@axis.com>
130
131 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
132 of "run", since the latter doesn't work with remote targets. Adjust
133 the breakpoint numbering accordingly.
134 * gdb.threads/pthread_cond_wait.exp: Ditto.
135
895ce074
MC
1362004-10-08 Michael Chastain <mec.gnu@mindspring.com>
137
138 * gdb.base/overlays.exp: Update copyright years.
139
6be3092d
KI
1402004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
141
142 * gdb.base/overlays.exp: Disable if target is Linux.
143
e05389b8
FL
1442004-10-06 Felix Lee <felix+log1@specifixinc.com>
145
146 * config/gdbserver.exp (gdb_load): Use right filename on remote.
147
73cb587d
KI
1482004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
149
150 * gdb.asm/asm-source.exp: Add m32r-linux target.
151 * gdb.asm/m32r-linux.inc: New file.
152
3c0edcdc
AC
1532004-09-24 Andrew Cagney <cagney@redhat.com>
154 David Anderson <anderson@redhat.com>
155
156 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
157 command fails, assume things will work.
158 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
159 (_GNU_SOURCE): Define.
160 (print_unsigned, print_hex): Change parameter to "long long".
161 (print_byte_count): New function, use to print byte counts.
162 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
163 O_LARGEFILE.
164 (main): Compute an upper bound on a corefile in max_core_size.
165 Limit memory chunk size to max_core_size. Limit total memory
166 allocated to max_core_size.
167
4bb3667f
AC
1682004-09-23 Andrew Cagney <cagney@gnu.org>
169
170 * gdb.base/bigcore.exp: Replace the code that creates a corefile
171 from a separate process with code that creates a corefile by
172 making the inferior dump core.
173
60fe1a51
MK
1742004-09-23 Mark Kettenis <kettenis@gnu.org>
175
176 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
177 block.
178
8e937346
MC
1792004-09-23 Michael Chastain <mec.gnu@mindspring.com>
180
181 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
182 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
183 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
184 Likewise.
185
7213f6d6
JJ
1862004-09-20 Jeff Johnston <jjohnstn@redhat.com>
187
188 * gdb.java/jprint.exp: New test case for java inferior call.
189 * gdb.java/jprint.java: Ditto.
190
eac69dca
JB
1912004-09-15 Joel Brobecker <brobecker@gnat.com>
192
193 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
194
22227696
MC
1952004-09-14 Michael Chastain <mec.gnu@mindspring.com>
196
197 * gdb.threads/killed.c: Include <stdlib.h>.
198 * gdb.threads/pthreads.c: Likewise.
199
7dd403a4
MC
2002004-09-14 Michael Chastain <mec.gnu@mindspring.com>
201
202 * gdb.threads/killed.c: Add copyright notice.
203
33f2d567
JM
2042004-09-10 Jason Molenda (jmolenda@apple.com)
205
206 * gdb.base/define.exp: Two new tests to verify zero space chars
207 after 'if' and 'while' commands in a user-defined command is correctly
208 parsed.
209
e05b62ac
AC
2102004-09-08 Andrew Cagney <cagney@gnu.org>
211
212 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
213 delivery test with duplicate at end of file.
214
9cbe82da
MK
2152004-09-06 Mark Kettenis <kettenis@jive.nl>
216
217 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
218
564803d9
MC
2192004-09-05 Michael Chastain <mec.gnu@mindspring.com>
220
221 * config/hppro.exp: Removed.
222
7c6807ce
MC
2232004-09-05 Michael Chastain <mec.gnu@mindspring.com>
224
225 * config/sparclet.exp: Removed.
226
bf7e26dd
MC
2272004-09-05 Michael Chastain <mec.gnu@mindspring.com>
228
229 * config/udi.exp: Removed.
230
714e341b
MC
2312004-09-02 Michael Chastain <mec.gnu@mindspring.com>
232
233 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
234 of "exp_continue".
235 (advancei): Likewise.
236
1236e623
JJ
2372004-09-01 Jeff Johnston <jjohnstn@redhat.com>
238
239 * gdb.base/unload.exp: Fix so messages aren't duplicated.
240
3bdcad15
MI
2412004-09-01 Manoj Iyer <manjo@austin.ibm.com>
242
228af206 243 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
244 to check for nodebug in executable.
245 * gdb.gdb/observer.exp (setup_test): Likewise.
246 * gdb.gdb/selftest.exp (test_with_self): Likewise.
247 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
248
c72b934c
AC
2492004-09-01 Andrew Cagney <cagney@gnu.org>
250
251 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
252 files.
253
edd9b715
JJ
2542004-09-01 Jeff Johnston <jjohnstn@redhat.com>
255
256 * gdb.base/unload.exp: Fix expected warning message to match
257 latest format.
258
fb4ce06b
CV
2592004-09-01 Corinna Vinschen <vinschen@redhat.com>
260
261 * gdb.base/call-rt-st.exp: Fix typos.
262
ce78e7c3
MI
2632004-08-31 Manoj Iyer <manjo@austin.ibm.com>
264
265 * gdb.threads/thread_check.exp: New testcase.
266 * gdb.threads/thread_check.c: New testcase.
267
2dedb159
AC
2682004-08-31 Andrew Cagney <cagney@gnu.org>
269
270 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
271 (skip_to_handler_entry): New procedures. Test stepping into a
272 handler when the breakpoint is at the handler's entry point.
273
68f53502
AC
2742004-08-30 Andrew Cagney <cagney@gnu.org>
275
276 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
277 gdb/1757.
278
3e3ffd2b
MC
2792004-08-27 Michael Chastain <mec.gnu@mindspring.com>
280
281 With code from Manoj Iyer <manjo@austin.ibm.com>:
282 * lib/gdb.exp (gdb_file_cmd): Return more information in the
283 return value. Add an arm for "no debugging symbols found".
284 Change a stray "error" to "perror".
285 (gdb_run_cmd): Adapt to new return value.
286 * gdb.base/remote.exp: Adapt to new return value.
287 * gdb.gdb/complaints.exp: Likewise.
288 * gdb.gdb/observer.exp: Likewise.
289 * gdb.gdb/selftest.exp: Likewise.
290 * gdb.gdb/xfullpath.exp: Likewise.
291
4b6f5fd2
JB
2922004-08-27 Joel Brobecker <brobecker@gnat.com>
293
294 * gdb.threads/bp_in_thread.exp: New testcase.
295
e5b25496
MC
2962004-08-27 Michael Chastain <mec.gnu@mindspring.com>
297
298 Fix PR testsuite/1735.
299 * gdb.threads/schedlock.c (thread_function): Add a cast
300 to suppress a gcc warning.
301 * gdb.threads/thread-specific.c (thread_function): Likewise.
302
934353d6
MC
3032004-08-26 Michael Chastain <mec.gnu@mindspring.com>
304
305 * gdb.base/unload.c: Include <stdlib.h>.
306
f98a0aef 3072004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 308
f98a0aef 309 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
310 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
311 synchronized after the "return".
312
5a2e8882
MC
3132004-08-26 Michael Chastain <mec.gnu@mindspring.com>
314
315 * gdb.mi/basics.c: Include <stdio.h>.
316 * gdb.mi/pthreads.c: Include <stdlib.h>.
317 * gdb.mi/var-cmd.c: Include <stdlib.h>.
318
a9640423
MC
3192004-08-26 Michael Chastain <mec.gnu@mindspring.com>
320
321 * gdb.threads/schedlock.c: Add copyright notice.
322
b04e311d
AC
3232004-08-25 Andrew Cagney <cagney@gnu.org>
324
325 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
326 (skip_over_handler, breakpoint_over_hander): New test procedures.
327 (advance, advancei): Add a proper prefix, do not use
328 rerun_to_main.
329 * gdb.base/sigstep.c (main): Change to use an infinite loop.
330
7c27f15b
MC
3312004-08-24 Michael Chastain <mec.gnu@mindspring.com>
332
333 * gdb.mi/basics.c: Add copyright notice.
334 * gdb.mi/var-cmd.c: Add copyright notice.
335
fffc87ae
MC
3362004-08-23 Michael Chastain <mec.gnu@mindspring.com>
337
338 * lib/gdb.exp: Remove signed_keyword_not_used.
339 * lib/compiler.c: Likewise.
340 * lib/compiler.cc: Likewise.
341
d782e0bf
MC
3422004-08-23 Michael Chastain <mec.gnu@mindspring.com>
343
344 * gdb.base/whatis.c: Remove conditional disabling of "signed".
345 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
346
96033e83
MC
3472004-08-23 Michael Chastain <mec.gnu@mindspring.com>
348
349 * gdb.base/whatis.c: Add copyright notice.
350
cf38c229
MK
3512004-08-20 Mark Kettenis <kettenis@gnu.org>
352
353 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
354 it to skip the breakpoints encoded in the inline assembly.
355
f4b49756
MC
3562004-08-20 Michael Chastain <mec.gnu@mindspring.com>
357
358 * Makefile.in: Add gdb.fortran.
359
2f193b69
MC
3602004-08-20 Michael Chastain <mec.gnu@mindspring.com>
361
362 * gdb.base/call-sc.exp (test_scalar_returns):
363 Fix cut-and-paste glitch in "Make fun return now".
364
89a237cb
MC
3652004-08-17 Michael Chastain <mec.gnu@mindspring.com>
366
367 * configure.in: Add gdb.fortran.
368 * configure: Regenerate.
369 * gdb.fortran/Makefile.in: New file.
370 * lib/gdb.exp (skip_fortran_tests): New procedure.
371
469aff8e
MC
3722004-08-17 Michael Chastain <mec.gnu@mindspring.com>
373
374 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
375 reference to bug-gnu@prep.ai.mit.edu.
376 * gdb.mi/mi-var-child.exp: Likewise.
377 * gdb.mi/mi-var-cmd.exp: Likewise.
378 * gdb.mi/mi-var-display.exp: Likewise.
379 * gdb.mi/mi2-var-block.exp: Likewise.
380 * gdb.mi/mi2-var-child.exp: Likewise.
381 * gdb.mi/mi2-var-cmd.exp: Likewise.
382 * gdb.mi/mi2-var-display.exp: Likewise.
383
00b51b9f
MK
3842004-08-15 Mark Kettenis <kettenis@gnu.org>
385
386 * gdb.base/unload.c (main): Make local variable msg const.
387
45f07fef
MC
3882004-08-15 Michael Chastain <mec.gnu@mindspring.com>
389
390 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
391 to bug-gnu@prep.ai.mit.edu.
392 * gdb.mi/mi-disassemble.exp: Likewise.
393 * gdb.mi/mi-eval.exp: Likewise.
394 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
395 default line number.
396 * gdb.mi/mi-return.exp: Likewise.
397 * gdb.mi/mi-simplerun.exp: Likewise.
398 * gdb.mi/mi-stack.exp: Likewise.
399 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
400 number with explicit range test.
401 * gdb.mi/mi-watch.exp: Likewise.
402 * gdb.mi/mi2-break.exp: Likewise.
403 * gdb.mi/mi2-cli.exp: Likewise.
404 * gdb.mi/mi2-disassemble.exp: Likewise.
405 * gdb.mi/mi2-eval.exp: Likewise.
406 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
407 default line number.
408 * gdb.mi/mi2-return.exp: Likewise.
409 * gdb.mi/mi2-simplerun.exp: Likewise.
410 * gdb.mi/mi2-stack.exp: Likewise.
411 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
412 number with explicit range test.
413 * gdb.mi/mi2-watch.exp: Likewise.
414
dd8c8ee7
MC
4152004-08-15 Michael Chastain <mec.gnu@mindspring.com>
416
417 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
418 * gdb.cp/m-static.exp: Likewise.
419 * gdb.cp/rtti.exp: Likewise.
420
4e838464
MK
4212004-08-14 Mark Kettenis <kettenis@gnu.org>
422
423 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
424
8d8cb839
EZ
4252004-08-14 Eli Zaretskii <eliz@gnu.org>
426
427 * ChangeLog: Prefix Local Variables with semi-colons and indent
428 the reference to older ChangeLog files, to fix fontification in
429 Emacs.
430
deea8bb0
MC
4312004-08-13 Michael Chastain <mec.gnu@mindspring.com>
432
433 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
434 * gdb.mi/mi2-break.exp: Likewise.
435
c3297504
MC
4362004-08-13 Michael Chastain <mec.gnu@mindspring.com>
437
438 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
439
25808999
MC
4402004-08-13 Michael Chastain <mec.gnu@mindspring.com>
441
442 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
443
226a8d71
MC
4442004-08-13 Michael Chastain <mec.gnu@mindspring.com>
445
446 * gdb.cp/classes.exp: Remove unused declarations. Just let
447 test names default instead of providing special names. Remove
448 extraneous demangler test.
449
37fdf854
JJ
4502004-08-12 Jeff Johnston <jjohnstn@redhat.com>
451
452 * gdb.base/unload.exp: New test for breakpoints in dynamically
453 loaded libraries.
454 * gdb.base/unload.c: Ditto.
455 * gdb.base/unloadshr.c: Ditto.
456
2d3a7986
MC
4572004-08-12 Michael Chastain <mec.gnu@mindspring.com>
458
459 * gdb.cp/classes.exp (test_ptype_class_objects): Call
460 cp_test_ptype_class.
461 (test_enums): Likewise.
462
c72b934c
AC
4632004-08-10 Andrew Cagney <cagney@gnu.org>
464
465 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
466 files.
467
cc503c8a
AC
4682004-08-10 Andrew Cagney <cagney@gnu.org>
469
470 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
471 init_malloc call.
472
902f2ccb
MC
4732004-08-10 Michael Chastain <mec.gnu@mindspring.com>
474
475 * ChangeLog: Add copyright notice. The notice is copied
476 from emacs 21.3 top level ChangeLog.
477
78c90502
MC
4782004-08-09 Michael Chastain <mec.gnu@mindspring.com>
479
480 * lib/cp-support.exp: New file.
481 * lib/cp-support.exp (cp_test_type_class): New function.
482 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
483 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
484 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
485 cp_test_ptype_class.
486
88e5ea78
MC
4872004-08-09 Michael Chastain <mec.gnu@mindspring.com>
488
489 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
490 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
491 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
492 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
493 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
494 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
495 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
496 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
497 gdb.mi/mi2-watch.exp: Update copyright years.
498
6a89fc9c
MK
4992004-08-09 Mark Kettenis <kettenis@gnu.org>
500
501 * gdb.base/sigaltstack.exp: Provide proper anchoring.
502
1482e0de
MC
5032004-08-09 Michael Chastain <mec.gnu@mindspring.com>
504
505 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
506 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
507 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
508 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
509 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
510 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
511 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
512 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
513 gdb.mi/mi-watch.exp: Update copyright years.
514
1a5ce3f3
DJ
5152004-08-08 Daniel Jacobowitz <dan@debian.org>
516
517 PR gdb/1738
518 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
519 from a breakpoint with a pending signal.
520
04f6ecf2
DJ
5212004-08-08 Daniel Jacobowitz <dan@debian.org>
522
523 PR gdb/1736
524 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
525 * gdb.base/sigaltstack.exp (finish_test): Consume output until
526 the prompt.
527 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
528
54d90d35
DJ
5292004-08-08 Daniel Jacobowitz <dan@debian.org>
530
531 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
532
d2f6abb0
DJ
5332004-08-08 Daniel Jacobowitz <dan@debian.org>
534
535 PR gdb/1736
536 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
537 for i?86-*-linux*.
538
5598c03d
DJ
5392004-08-08 Daniel Jacobowitz <dan@debian.org>
540
541 * gdb.arch/i386-prologue.exp: Compile without debug information.
542
c6fee705
MC
5432004-08-08 Michael Chastain <mec.gnu@mindspring.com>
544
545 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
546 rather than asking gdb to search.
547
dd90efdb
MC
5482004-08-05 Michael Chastain <mec.gnu@mindspring.com>
549
550 * gdb.base/gcore.c: Include <string.h>.
551
1e84bec1
MC
5522004-08-05 Michael Chastain <mec.gnu@mindspring.com>
553
554 * gdb.base/gcore.c: Add copyright notice.
555
e425eb2b
MC
5562004-08-05 Michael Chastain <mec.gnu@mindspring.com>
557
558 * gdb.base/freebpcmd.c: Include <stdio.h>.
559 * gdb.base/long_long.c: Include <string.h>.
560 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
561 * gdb.base/siginfo.c: Include <string.h>.
562 * gdb.base/sigstep.c: Include <string.h>.
563
cb9aaed5
MC
5642004-08-04 Michael Chastain <mec.gnu@mindspring.com>
565
566 * gdb.base/complex.c: Include <stdlib.h>.
567
55944f3d
MC
5682004-08-04 Michael Chastain <mec.gnu@mindspring.com>
569
570 * gdb.base/complex.c: Add copyright notice.
571
7b2953d9
MC
5722004-08-04 Michael Chastain <mec.gnu@mindspring.com>
573
574 * gdb.base/charset.c: Include <stdlib.h>.
575
c9133d23
MC
5762004-08-04 Michael Chastain <mec.gnu@mindspring.com>
577
578 * gdb.base/auxv.c: Include <stdlib.h>.
579
0a8490ad
MC
5802004-08-04 Michael Chastain <mec.gnu@mindspring.com>
581
582 * gdb.base/auxv.c: Add copyright notice.
583
3426d5ec
MC
5842004-08-04 Michael Chastain <mec.gnu@mindspring.com>
585
586 * gdb.base/coremaker.c: Add copyright notice.
587 * gdb.base/coremaker2.c: Add copyright notice.
588
8da195dd
AC
5892004-08-04 Andrew Cagney <cagney@gnu.org>
590
591 * gdb.base/store.exp: Update copyright.
592 (check_set, up_set, check_struct, up_struct): Add a prefix to test
593 names, do not import gdb_prompt.
594
8d394f98
AC
5952004-08-01 Andrew Cagney <cagney@gnu.org>
596
597 Fix PR testsuite/1729.
598 * gdb.base/dump.exp: Add test name to callers of capture_value, do
599 not use capture_value with value 4.
600 (capture_value): Add optional test name parameter.
601 (test_reload_saved_value, test_restore_saved_value): Use $msg as
602 the prefix, pass to capture_value.
603
b6702b23
MK
6042004-08-01 Mark Kettenis <kettenis@gnu.org>
605
606 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
607 * gdb.arch/i386-prologue.c (standard): New prototype and function.
608 (main): Call new function.
609
c203e0ca
MC
6102004-07-31 Michael Chastain <mec.gnu@mindspring.com>
611
612 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
613
a7995a30
MC
6142004-07-31 Michael Chastain <mec.gnu@mindspring.com>
615
616 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
617
9366563b
MC
6182004-07-31 Michael Chastain <mec.gnu@mindspring.com>
619
b6eeaf26 620 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
621 Accept more values of vtbl pointer. Remove some messages
622 about "obsolete gcc or gdb".
623
2fc1f950
MC
6242004-07-30 Michael Chastain <mec.gnu@mindspring.com>
625
626 * gdb.cp/classes.exp: Accept more varieties of ptype output.
627
c724d49b
MC
6282004-07-30 Michael Chastain <mec.gnu@mindspring.com>
629
630 * gdb.base/asm-source.exp: Properly convert target board
631 debug flags from gcc format to binutils format.
632
736b0fce
MK
6332004-07-28 Mark Kettenis <kettenis@gnu.org>
634
635 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
636 gdb1718". PR backtrace/1718 partially fixed.
637
5633ea5c
JJ
6382004-07-27 Jeff Johnston <jjohnstn@redhat.com>
639
640 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
641
575eebb1
NC
6422004-07-26 Nick Clifton <nickc@redhat.com>
643
644 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
645 good default value for a specific architecture is available then
646 set it to that value. Otherwise default to the -gstabs switch.
647 Remove the -g... switches from the asm-flags variable. Allow the
648 target board info to override the value if it wants to. Pass the
649 switch on the assembler command line.
650
62104619
MK
6512004-07-23 Mark Kettenis <kettenis@gnu.org>
652
653 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
654 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
655 (main): Call new function.
656
4a1135b8
MC
6572004-07-22 Michael Chastain <mec.gnu@mindspring.com>
658
659 Test for PR exp/1715.
660 * gdb.base/radix.exp: Refactor common procedures. Make all
661 test names unique. Change XFAIL to KFAIL.
662
8a12c1f0
MC
6632004-07-20 Michael Chastain <mec.gnu@mindspring.com>
664
665 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
666 * gdb.ada/gnat_ada.gin: ... to here.
667 * configure.in: Use gnat_ada.gin.
668 * configure: Regenerate.
669
23b451cf
AC
6702004-07-20 Andrew Cagney <cagney@gnu.org>
671
672 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
673 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
674 XFAILs. Clean up test messages and comments. Check backtraces.
675 Delete re-sync code.
676
ab618a02
MC
6772004-07-19 Michael Chastain <mec.gnu@mindspring.com>
678
679 Fix PR cli/740.
680 * gdb.base/annota1.exp: Honor gdb,nosignals.
681 * gdb.base/annota3.exp: Likewise.
682
46dad340
MC
6832004-07-19 Michael Chastain <mec.gnu@mindspring.com>
684
685 * lib/java.exp: Update copyright notice.
686
756d8c70
AC
6872004-07-19 Andrew Cagney <cagney@gnu.org>
688
689 * gdb.base/selftest.exp: Copy file from here ...
690 * gdb.gdb/selftest.exp: ... to here.
691
586027e6
AC
6922004-07-16 Andrew Cagney <cagney@redhat.com>
693
694 * lib/insight-support.exp: Delete file.
695 * lib/java.exp (java_init): Fix copyright.
696
029d2200
AC
6972004-07-16 Andrew Cagney <cagney@gnu.org>
698
699 * gdb.base/restore.c: Append "prologue" to comments marking the a
700 function's prologue.
701 * gdb.base/restore.exp: Update copyright, re-indent.
702 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
703 callerN" prefix where needed. Update patterns that match a
704 function's prologue.
705
653b62c5
MC
7062004-07-16 Michael Chastain <mec.gnu@mindspring.com>
707
708 * gdb.base/restore.c: Add copyright notice.
709
f7d690e5
AC
7102004-07-16 Andrew Cagney <cagney@gnu.org>
711
712 * gdb.base/logical.exp: Update copyright.
713 (evaluate): New procedure. Use to re-implement tests using
714 several tables.
715
d629a7cb
MH
7162004-07-14 Martin Hunt <hunt@redhat.com>
717
718 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
719 which fixes some problems where init.tcl was not found.
720
9c7bb332
AC
7212004-07-13 Andrew Cagney <cagney@gnu.org>
722
6bf46641
AC
723 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
724 (check_sizeof, check_valueof): Do not include the output in the
725 test name. Use gdb_test.
726 (get_valueof): Use gdb_test_multiple.
727
c4ffd4c0
AC
728 * gdb.base/step-test.exp: Update copyright. Use
729 gdb_test_multiple. Ensure that test names do not include
730 architecture dependent output.
731
ab89363a
AC
732 * gdb.gdb/observer.exp: Update copyright.
733 (setup_test): Use gdb_test_multiple.
734 (attach_first_observer, attach_second_observer)
735 (attach_third_observer, detach_first_observer)
736 (detach_second_observer, detach_third_observer)
737 (reset_counters, check_counters): Make $message a prefix.
738 (test_normal_stop_notifications): Add "args" parameter - a list of
739 init functions to be called. Make $message a prefix,
740 (test_observer_normal_stop): Change the message prefixes so that
741 they are unique, pass the attach / detach procedures to
742 test_normal_stop_notifications.
743
ec58997a
AC
744 * gdb.base/signull.exp (test_segv): Prefix all tests with
745 "${name}". Clean up test messages.
746
b475183b
AC
747 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
748
9c7bb332
AC
749 * gdb.base/ena-dis-br.exp: Update copyright.
750 (break_at): New function. Replace send_gdb with gdb_test,
751 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
752 ignore count, not stopped at bpt", with KFAIL.
753
2dd95497
CV
7542004-07-13 Corinna Vinschen <vinschen@redhat.com>
755
756 * gdb.base/attach.exp: Remove cleanupfile handling.
757
419e626b
AC
7582004-07-12 Andrew Cagney <cagney@gnu.org>
759
760 * gdb.base/annota1.exp: Cleanup corefile test name.
761 * gdb.base/annota3.exp: Ditto.
762
8b1b3228
AC
7632004-07-12 Andrew Cagney <cagney@gnu.org>
764
78650829
AC
765 * gdb.base/signals.exp: Clean up copyright, re-indent.
766
8b1b3228
AC
767 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
768 gdb_test and gdb_test_multiple.
769
935c2760
JJ
7702004-07-08 Jeff Johnston <jjohnstn@redhat.com>
771
772 * gdb.java/jmain.exp: Fix expected line number for main to
773 break at. Set XFAIL for break at main test since gcj does not
774 provide line number info for first statement in main.
775
1544280f
AC
7762004-07-08 Andrew Cagney <cagney@gnu.org>
777
1279f4ff
AC
778 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
779
1544280f
AC
780 * gdb.base/sigbpt.exp: Make the common part of each test name a
781 prefix instead of suffix.
782
bcc82369
BR
7832004-07-07 Bob Rossi <bob_rossi@cox.net>
784
785 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
786 test from test_tbreak_creation_and_listing to
787 test_file_list_exec_source_file
788 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
789 Changed name of test from test_tbreak_creation_and_listing to
790 test_file_list_exec_source_file
791
23f4b0aa
JJ
7922004-07-07 Jeff Johnston <jjohnstn@redhat.com>
793
794 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
795 the jmisc() constructor instead of <init>.
796 * gdb.java/jmisc1.exp: Ditto.
797
56401cd5
AC
7982004-07-07 Andrew Cagney <cagney@gnu.org>
799
800 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
801 corrupting the PC.
802
44ae2f6a
MC
8032004-07-06 Michael Chastain <mec.gnu@mindspring.com>
804
805 * gdb.cp/templates.exp: Accept whitespace change in demangler
806 output.
807
45a83408
AC
8082004-07-06 Andrew Cagney <cagney@gnu.org>
809
810 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
811
d205ad70
MC
8122004-07-02 Michael Chastain <mec.gnu@mindspring.com>
813
814 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
815 * lib/compiler.cc: Likewise.
816
06ea1a61
MC
8172004-06-30 Michael Chastain <mec.gnu@mindspring.com>
818
819 * lib/compiler.cc: Work around string preprocessing problem
820 with old hp c++ compiler.
821 * lib/compiler.c: Likewise.
822
daab1251
CV
8232004-06-29 Corinna Vinschen <vinschen@redhat.com>
824
825 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
826 directives to conditionalize symbol prefixing.
827 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
828 additional_flags handling. Add underscore prefix for Cygwin.
829 * gdb.arch/i386-unwind.c: Use preprocessor directives to
830 conditionalize symbol prefixing.
831 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
832 additional_flags handling. Add underscore prefix for Cygwin.
833
cc984116
CV
8342004-06-29 Corinna Vinschen <vinschen@redhat.com>
835
836 * gdb.base/bigcore.exp: Skip test on Cygwin.
837
c279b077
MC
8382004-06-28 Michael Chastain <mec.gnu@mindspring.com>
839
840 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
841 formats for "info register". Use gdb_test_multiple. Fix
842 the "invalid register" test.
843
0e915747
CV
8442004-06-28 Corinna Vinschen <vinschen@redhat.com>
845
846 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
847 PID for Cygwin. Add Cygwin specific strings to check for in some
848 tests.
849 (do_attach_tests): Add a test for user interaction when attaching
850 to a process with no matching symbol table already loaded.
851
11422c86
AC
8522004-06-26 Andrew Cagney <cagney@gnu.org>
853
854 Test PR java/1567 and PR java/1565.
855 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
856 * gdb.java/jmisc2.exp: Delete file.
857
cefbce26
MC
8582004-06-26 Michael Chastain <mec.gnu@mindspring.com>
859
860 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
861
e19f872c
CV
8622004-06-25 Corinna Vinschen <vinschen@redhat.com>
863
864 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
865 attach process.
866
d931ba3b
MC
8672004-06-23 Michael Chastain <mec.gnu@mindspring.com>
868
869 * gdb.cp/pr-1553.exp: Remove.
870
aef68c48
MC
8712004-06-22 Michael Chastain <mec.gnu@mindspring.com>
872
873 * gdb.cp/pr-1553.cc: Remove.
874 * gdb.cp/pr-1553.exp: Disable this test.
875
8d5df71a
JB
8762004-06-20 Jim Blandy <jimb@redhat.com>
877
878 Fix PR testsuite/1680.
879 * gdb.arch/i386-sse.exp: Properly quote curly braces in
880 regular expressions.
881
4ac6f39d
MC
8822004-06-19 Michael Chastain <mec.gnu@mindspring.com>
883
884 Fix PR testsuite/1679.
885 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
886 Issue an UNSUPPORTED result instead.
887
1b413552
JB
8882004-06-18 Jim Blandy <jimb@redhat.com>
889
890 * gdb.base/charset.exp: Only send a control-C if we see a new
891 prompt and incomplete command.
892
6daa6ebd
MC
8932004-06-18 Michael Chastain <mec.gnu@mindspring.com>
894
895 * gdb.cp/pr-574.cc: Add copyright notice.
896
51fa4ae0
JB
8972004-06-17 Jim Blandy <jimb@redhat.com>
898
899 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
900 cases where the regexp has no groups; this grabs random text from
901 the previous test suite, whatever that was.
902
8fea26c5
MC
9032004-06-17 Michael Chastain <mec.gnu@mindspring.com>
904
905 * gdb.cp/printmethod.cc: Add copyright notice.
906
1e3aeb41
MC
9072004-06-16 Michael Chastain <mec.gnu@mindspring.com>
908
909 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
910
9d9030bc
AC
9112004-06-16 Andrew Cagney <cagney@gnu.org>
912
913 * gdb.base/signull.c: Update copyright. Include <string.h>.
914 (bowler): Replace data_pointer with data_read
915 and data_write cases. Add code_descriptor case.
916 (zero, desc): New array and pointer.
917 (data, code): Change to simple pointers.
918 * gdb.base/signull.exp: Fix probe pattern matching a function
919 descriptor SIGSEGV. Replace data_pointer with data_read and
920 data_write tests.
921
acd4ad44
AC
9222004-06-16 Andrew Cagney <cagney@gnu.org>
923
924 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
925
08fd625c
MC
9262004-06-15 Michael Chastain <mec.gnu@mindspring.com>
927
928 * gdb.base/long_long.c: Add copyright notice.
929
1903502c
MC
9302004-06-15 Michael Chastain <mec.gnu@mindspring.com>
931
932 * gdb.base/long_long.exp: Remove reference to
933 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
934 to gdb_breakpoint and gdb_continue_to_breakpoint.
935
83313cb1
JB
9362004-06-14 Jim Blandy <jimb@redhat.com>
937
938 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
939 endian case.
940
1bf404ef
AC
9412004-06-14 Andrew Cagney <cagney@gnu.org>
942
943 * gdb.base/gcore.exp (capture_command_output): Delete the always
944 passing tests containing inferior values.
945 * gdb.base/ending-run.exp: Do not include the breakpoint address
946 in the test message. Update copyright.
947 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
948 size in the test name, use gdb_test_multiple. Update copyright.
949
ef220b33
MC
9502004-06-14 Michael Chastain <mec.gnu@mindspring.com>
951
952 * gdb.cp/ref-types.cc: Add copyright notice.
953
4f70a4c9
MC
9542004-06-14 Michael Chastain <mec.gnu@mindspring.com>
955
956 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
957 hp_aCC_compiler.
958 * lib/compiler.cc: Likewise.
959 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
960 'set' commands. Log diagnostics for other lines. Set
961 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
962
335928ac
MC
9632004-06-13 Michael Chastain <mec.gnu@mindspring.com>
964
965 * gdb.cp/try_catch.cc: Add copyright notice.
966
2efb12e8
MC
9672004-06-12 Michael Chastain <mec.gnu@mindspring.com>
968
969 * gdb.cp/userdef.cc: Add copyright notice.
970
0bbed51a
MC
9712004-06-11 Michael Chastain <mec.gnu@mindspring.com>
972
973 * gdb.cp/virtfunc.cc: Add copyright notice.
974
e12a46c9
RC
9752004-06-11 Randolph Chung <tausq@debian.org>
976
977 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
978 problem.
979
338e05af
AC
9802004-06-10 Andrew Cagney <cagney@gnu.org>
981
982 * lib/compiler.cc, lib/compiler.c: Append either
983 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
984 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
985 instead of gcc-3-3.
986
dc3f10cb
AC
9872004-06-09 Andrew Cagney <cagney@gnu.org>
988
b4d946af
AC
989 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
990 gdb/1455, bug is specific to "long long" and "double".
991
dc3f10cb
AC
992 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
993 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
994 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
995 fixed.
996
b5c0bfa2
AC
9972004-06-09 Andrew Cagney <cagney@gnu.org>
998
999 * gdb.base/structs.exp (test_struct_returns): Replace
1000 "return_value_unknown" and "finish_value_unknown" by
1001 "return_value_known" and "finish_value_known". Instead of
1002 "return_value_unknown" iff "finish_value_unknown", check
1003 "return_value_known" implies "finish_value_known".
1004
caeb605f
MH
10052004-06-08 Martin Hunt <hunt@redhat.com>
1006
1007 * gdb.base/float.exp: Add pattern for mips targets.
1008
c892bb64
RC
10092004-06-08 Randolph Chung <tausq@debian.org>
1010
1011 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
1012 message for unknown architectures more clear.
1013
48306d3e
JB
10142004-06-08 Joel Brobecker <brobecker@gnat.com>
1015
1016 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
1017 start the execution of the program.
1018
83ecb59f
JB
10192004-06-07 Jim Blandy <jimb@redhat.com>
1020
1021 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
1022 * gdb.arch/i386-cpuid.h: New helper file.
1023
55264cb4
RC
10242004-06-07 Randolph Chung <tausq@debian.org>
1025
1026 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
1027 has started.
1028
23cadb28
RM
10292004-06-04 Roland McGrath <roland@redhat.com>
1030
1031 Fix PR gdb/1647.
1032 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
1033 differently to be robust to output buffering differences.
1034
51d01eda
MC
10352004-06-04 Michael Chastain <mec.gnu@mindspring.com>
1036
1037 * gdb.threads/pthreads.exp: Update copyright years.
1038 (check_control_c): Change asynchronous 'after' to synchronous.
1039
f4fc3b93
RM
10402004-06-04 Roland McGrath <roland@redhat.com>
1041
1042 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
1043 next gdb prompt.
1044
4013522b
MC
10452004-06-02 Michael Chastain <mec.gnu@mindspring.com>
1046
1047 Fix PR gdb/1636.
1048 * gdb.threads/manythreads.exp: Change asynchronous 'after'
1049 calls to synchronous.
1050
7a8f1e6b
JB
10512004-05-26 Jim Blandy <jimb@redhat.com>
1052
1053 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
1054
81bb3443
RC
10552004-05-24 Randolph Chung <tausq@debian.org>
1056
1057 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
1058 * gdb.asm/pa.inc: New file.
1059
8f5a3103
MK
10602004-05-22 Mark Kettenis <kettenis@gnu.org>
1061
1062 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
1063
734b8fe8
JB
10642004-05-21 Joel Brobecker <brobecker@gnat.com>
1065 Daniel Jacobowitz <drow@mvista.com>
1066
1067 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
1068 GDB prompt.
1069
725603e1
UW
10702004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1071
f4fc3b93 1072 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
1073 setjmp/longjmp. Use sigaction instead of signal.
1074
8b923272
JB
10752004-05-19 J. Brobecker <brobecker@gnat.com>
1076 Michael Snyder <msnyder@redhat.com>
1077
1078 * gdb.threads/pthread_cond_wait.c: New file.
1079 * gdb.threads/pthread_cond_wait.exp: New testcase.
1080
8bfabb04
AC
10812004-05-13 Andrew Cagney <cagney@redhat.com>
1082
1083 * gdb.base/signull.exp, gdb.base/signull.c: New files.
1084 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
1085
42edda50
AC
10862004-05-11 Andrew Cagney <cagney@redhat.com>
1087
1088 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
1089 fixed but revealed gdb/1639.
1090
d303a6c7
AC
10912004-05-10 Andrew Cagney <cagney@redhat.com>
1092
1093 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
1094 func1" and "next to 2nd alarm", kernel bug avoided.
1095
bf08c2a1
DJ
10962004-05-10 Daniel Jacobowitz <dan@debian.org>
1097
1098 PR external/1568
1099 * gdb.base/bigcore.exp: Check the size of the dumped core file.
1100 XFAIL if it is smaller than bytes_allocated.
1101 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
1102 (main): Make chunks_allocated unsigned. Correct comment.
1103
c0586a34
JB
11042004-05-07 Joel Brobecker <brobecker@gnat.com>
1105
1106 * gdb.arch/powerpc-aix-prologue.c: New file.
1107 * gdb.arch/powerpc-aix-prologue.exp: New file.
1108
f2785d12
JB
11092004-05-07 Jim Blandy <jimb@redhat.com>
1110
1111 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
1112 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
1113
bd7f6e30
JB
11142004-05-06 Joel Brobecker <brobecker@gnat.com>
1115
1116 * gdb.base/sep.exp: No longer setup_kfail when the program was
1117 built with dwarf2.
1118
0a5e7efe
JI
11192004-05-05 Jim Ingham <jingham@apple.com>
1120
1121 * gdb.base/pending.exp: Make sure pending breakpoints
1122 preserve the ignore count.
f4fc3b93 1123
a8958849
MK
11242004-04-27 Jerome Guitton <guitton@gnat.com>
1125
1126 * i386-prologue.exp: Add testcase for jump instruction as first
1127 instruction of the real code.
1128 * i386-prologue.c (jump_at_beginning): New function.
1129
7e103f5b
MK
11302004-04-28 Mark Kettenis <kettenis@gnu.org>
1131
1132 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
1133 x86_64-*-*.
1134
5d38b224
MK
11352004-04-28 Mark Kettenis <kettenis@gnu.org>
1136
1137 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
1138 i*86-*-*.
1139
0ef32fd9
MK
11402004-04-25 Mark Kettenis <kettenis@gnu.org>
1141
1142 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
1143 expression that checks the return type.
1144
71d7dd7c
AC
11452004-04-23 Andrew Cagney <cagney@redhat.com>
1146
1147 * gdb.base/call-sc.exp: New test of scalar call/return values.
1148 * gdb.base/call-sc.c: Ditto.
1149
1e9f977e
JJ
11502004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1151
1152 * gdb.threads/manythreads.c: Reduce thread stack size.
1153
899d9e3a
JJ
11542004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1155
1156 * gdb.threads/manythreads.c: Add copyright notice.
1157
61bcae62
AC
11582004-04-23 Andrew Cagney <cagney@redhat.com>
1159
1160 * gdb.base/siginfo.exp: Better handle step out of signal.
1161 * gdb.base/sigstep.exp: Ditto.
1162
7339a42e
JJ
11632004-04-22 Jeff Johnston <jjohnstn@redhat.com>
1164 Daniel Jacobowitz <drow@mvista.com>
1165
1166 * gdb.threads/manythreads.c: New testcase.
1167 * gdb.threads/manythreads.exp: Ditto.
1168
5c98409b
JB
11692004-04-22 Jim Blandy <jimb@redhat.com>
1170
1171 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
1172 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
1173
3b611f1a
MC
11742004-04-21 Michael Chastain <mec.gnu@mindspring.com>
1175
1176 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
1177
f0fd9238
AC
11782004-04-21 Andrew Cagney <cagney@redhat.com>
1179
1180 * gdb.base/sigstep.c: New file.
1181 * gdb.base/sigstep.exp: New file.
1182
90990674
JB
11832004-04-16 Joel Brobecker <brobecker@gnat.com>
1184
1185 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
1186 call to observer_notify_normal_stop.
1187
78cef34b
AC
11882004-04-15 Andrew Cagney <cagney@redhat.com>
1189
1190 * gdb.base/siginfo.c: New file.
1191 * gdb.base/siginfo.exp: New file.
1192
d2343407
JB
11932004-04-12 J. Brobecker <brobecker@gnat.com>
1194
1195 * gdb.base/sep.exp: Fix typo in comment.
1196
a2dba3c8
JB
11972004-04-12 J. Brobecker <brobecker@gnat.com>
1198
1199 * gdb.base/sep.c: New file.
1200 * gdb.base/sep-proc.c: New file.
1201 * gdb.base/sep.exp: New testcase.
1202
15f7b60e
MK
12032004-04-09 Mark Kettenis <kettenis@gnu.org>
1204
1205 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
1206 support.
1207
44f4de1a
AC
12082004-04-05 Andrew Cagney <cagney@redhat.com>
1209
1210 * gdb.base/sigaltstack.c: New file.
1211 * gdb.base/sigaltstack.exp: New file.
1212
ef04f396
JB
12132004-04-04 Joel Brobecker <brobecker@gnat.com>
1214
1215 * gdb.base/foll-fork.exp: Update the expected output for
1216 "help set follow-fork-mode", to match a change that was made
1217 to the help of this variable on 2004-01-13.
1218
d40d2c92
JB
12192004-04-01 Joel Brobecker <brobecker@gnat.com>
1220
1221 * lib/ada.exp: Add copyright notice.
1222 * bar.ads: Likewise.
1223 * bar.adb: Likewise.
1224 * null_record.adb: Likewise.
1225 * null_record.exp: Likewise.
1226 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
1227
f86ef5a3
JB
12282004-04-01 Joel Brobecker <brobecker@gnat.com>
1229
1230 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
1231 * configure: Regenerate.
1232
414e70e3
JB
12332004-04-01 Joel Brobecker <brobecker@gnat.com>
1234
1235 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
1236 to build the application. Remove the message printed when in
1237 verbose mode, redundant with the UNSUPPORTED message above.
1238
f0aaee49
JB
12392004-03-31 Joel Brobecker <brobecker@gnat.com>
1240
1241 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
1242 * gdb.ada (null_record.exp): New testcase.
1243
ac81cb54
JB
12442004-03-31 Joel Brobecker <brobecker@gnat.com>
1245
1246 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
1247
854af2f7
JB
12482004-03-31 Joel Brobecker <brobecker@gnat.com>
1249
1250 * gdb.ada: New subdirectory.
1251 * gdb.ada/Makefile.in: New file.
1252 * gdb.ada/gnat_ada.gpr.in: New file.
1253
034cb681
JB
12542004-03-31 Joel Brobecker <brobecker@gnat.com>
1255
1256 * lib/ada.exp: New file.
1257
78a1a894
DJ
12582004-03-24 Daniel Jacobowitz <drow@mvista.com>
1259
1260 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
1261 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
1262
4b2b3b3e
AC
12632004-03-22 Andrew Cagney <cagney@redhat.com>
1264
1265 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
1266 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
1267 Problem identified by Ulrich Weigand.
1268
23c73aa3
DC
12692004-03-17 David Carlton <carlton@kealia.com>
1270
1271 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
1272 PR c++/826.
1273
d63a86f8
RM
12742004-03-16 Roland McGrath <roland@redhat.com>
1275
1276 * gdb.base/auxv.exp: New file.
1277 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
1278
0e02aa50
DC
12792004-03-12 David Carlton <carlton@kealia.com>
1280
1281 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
1282 * gdb.cp/pr-1553.cc: Ditto.
1283 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
1284 pass branch.
1285
c20b71be
MC
12862004-03-12 Michael Chastain <mec.gnu@mindspring.com>
1287
1288 * gdb.cp/templates.exp: Accept more template types.
1289
c7414a01
MC
12902004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1291
1292 From Corinna Vinschen with modifications.
1293 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
1294 local variable obj_with_enum.
1295 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
1296 results with obj_with_enum.
1297
ed69573c
MC
12982004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1299
1300 * gdb.cp/classes.cc: New file, copied from misc.cc.
1301 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
1302
28301461
MC
13032004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1304
1305 * gdb.cp/misc.cc: Add copyright notice.
1306
1198ecbe
DC
13072004-03-05 David Carlton <carlton@kealia.com>
1308
1309 * gdb.cp/rtti.exp: Add 'print *obj3' test.
1310 * gdb.cp/rtti.h: Update copyright.
1311 (namespace n2::n3): New.
1312 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
1313 (n2::n3::func3): New.
1314 (main): Call n2::n3::func3.
1315 * gdb.cp/rtti2.cc: Update copyright.
1316 (n2::create3): New.
1317
9e08c470
MK
13182004-03-04 Mark Kettenis <kettenis@gnu.org>
1319
1320 * gdb.asm/openbsd.inc: Fix typo.
1321
4bebc3aa
FF
13222004-03-03 Fred Fish <fnf@redhat.com>
1323
1324 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
1325 "val" instead of unused "size". Update copyright year.
1326
6ea9fb37
DJ
13272004-02-29 Daniel Jacobowitz <drow@mvista.com>
1328
1329 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
1330 to use unsigned char.
1331 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
1332 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
1333
23b23974
DJ
13342004-02-29 Daniel Jacobowitz <drow@mvista.com>
1335
1336 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
1337 line of output.
1338
7574fd53
DJ
13392004-02-28 Daniel Jacobowitz <drow@mvista.com>
1340
1341 * gdb.base/relocate.c (dummy): Initialize.
1342
a195357f
DJ
13432004-02-28 Daniel Jacobowitz <drow@mvista.com>
1344
1345 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
1346 a breakpoint at exit.
1347
72fd54a9
FF
13482004-02-27 Fred Fish <fnf@redhat.com>
1349
1350 * gdb.base/chng-syms.exp: Add expect condition to match failing
1351 case that isn't a timeout.
1352
b9d23137
AC
13532004-02-27 Andrew Cagney <cagney@redhat.com>
1354
1355 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
1356 support.
1357
15d208f6 13582004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 1359
15d208f6
FF
1360 * gdb.arch/gdb1431.c: Remove.
1361 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
1362 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
1363 of "until" incorrectly.
1364
98f9cd2d
JB
13652004-02-26 J. Brobecker <brobecker@gnat.com>
1366
1367 * gdb.cp/class2.cc (empty): New class.
1368 (refer): New function.
1369 (main): Declare an object of type empty and use it.
1370 * gdb.cp/class2.exp: Print the value of an object of type empty.
1371
9b50c11b
JJ
13722004-02-26 Jeff Johnston <jjohnstn@redhat.com>
1373
1374 * gdb.base/langs.exp: Update query string to match the
1375 new nquery format used for pending breakpoints.
1376
0dcd613f
AC
13772004-02-26 Andrew Cagney <cagney@redhat.com>
1378
1379 Fix PR i18n/1570.
1380 * gdb.base/charset.c: Update copyright notice.
1381 (main, init_string): Remove the escape character '\e' tests.
1382 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
1383 * gdb.base/charset.exp (valid_host_charset): Ditto.
1384 * gdb.base/setvar.exp: Ditto.
1385
b8a56647
AC
13862004-02-24 Andrew Cagney <cagney@redhat.com>
1387
90d59e34
AC
1388 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
1389 mmapped data in core file" PASS and FAIL messages consistent.
1390
b8a56647
AC
1391 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
1392 setting a breakpoint. Work around PR java/1565.
1393
9f27c604
JJ
13942004-02-23 Jeff Johnston <jjohnstn@redhat.com>
1395
1396 * lib/gdb.exp (gdb_breakpoint): Update query string to match
1397 new nquery format.
1398 * gdb.base/pending.exp: Ditto.
1399
3224a706
MK
14002004-02-22 Mark Kettenis <kettenis@gnu.org>
1401
1402 * configure.in: Run stabs tests on *BSD.
1403 * configure: Regenerated.
1404
41e0a9ca
MK
14052004-02-21 Mark Kettenis <kettenis@gnu.org>
1406
1407 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
1408
1e1b3428
FF
14092004-02-20 Fred Fish <fnf@redhat.com>
1410
1411 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
1412 blank in test for "returns short", for consistency with other
1413 "returns xxx" tests. Update copyright year.
1414
f9a7572a
FF
14152004-02-19 Fred Fish <fnf@redhat.com>
1416
1417 New testcase for PR breakpoint/1558.
1418 * gdb.arch/gdb1558.exp: New file.
1419 * gdb.arch/gdb1558.c: New file.
1420
b2ce2854
EZ
14212004-02-19 Elena Zannoni <ezannoni@redhat.com>
1422
1423 * gdb.base/nodebug.exp: Fix typo.
1424
e7c9ff01
JB
14252004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1426
1427 Committed by Jim Blandy <jimb@redhat.com>.
1428
62f4b920
JB
1429 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
1430
2db536a1
JB
1431 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
1432
e7c9ff01
JB
1433 * gdb.base/float.exp: Support s390*-*-* targets.
1434
f3205b34
AF
14352004-02-17 Adam Fedor <fedor@gnu.org>
1436
1437 * gdb.base/gdb1555.exp: New file.
1438 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
1439
9d62932d
EZ
14402004-02-17 Elena Zannoni <ezannoni@redhat.com>
1441
1442 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
1443
344c9711
FF
14442004-02-16 Fred Fish <fnf@redhat.com>
1445
1446 * gdb.arch/gdb1291.c: Remove
1447 * gdb.arch/gdb1291.s: New test input file.
1448 * gdb.arch/gdb1291.exp: Expand test to check case that should not
1449 fail. Test for correct result, known incorrect result, other
1450 failures and timeouts.
1451
2d822687
AC
14522004-02-16 Andrew Cagney <cagney@redhat.com>
1453
1454 * gdb.base/bigcore.exp: New file.
1455 * gdb.base/bigcore.c: New file.
1456
dac15b66
AC
14572004-02-13 Andrew Cagney <cagney@redhat.com>
1458
1459 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
1460 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
1461 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
1462 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
1463 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
1464 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
1465 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
1466 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
1467 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
1468 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
1469
6bdfc2c4
JJ
14702004-02-11 Jeff Johnston <jjohnstn@redhat.com>
1471
1472 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
1473 executed is an alloc instruction.
1474
87b3ede8
DC
14752004-02-11 David Carlton <carlton@kealia.com>
1476
1477 * gdb.cp/breakpoint.exp: New.
1478 * gdb.cp/breakpoint.cc: New.
1479
6e19e2bf
MC
14802004-02-11 Michael Chastain <mec.gnu@mindspring.com>
1481
1482 Partial fix for PR gdb/1543.
1483 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
1484 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
1485 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
1486 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
1487 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
1488 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
1489 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
1490 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
1491 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
1492 to bug-gdb@prep.ai.mit.edu .
1493 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
1494 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
1495 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
1496 Likewise.
1497
5c5455dc
AC
14982004-02-10 Andrew Cagney <cagney@redhat.com>
1499
1500 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
1501 using gdb_internal_error_resync.
1502
9cf689d7
DJ
15032004-02-09 Daniel Jacobowitz <drow@mvista.com>
1504
1505 * gdb.threads/thread-specific.exp: Stop early if no threads are
1506 found.
1507
d2dc51db
MC
15082004-02-09 Michael Chastain <mec.gnu@mindspring.com>
1509
1510 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
1511
14b1a056
DJ
15122004-02-08 Daniel Jacobowitz <drow@mvista.com>
1513
1514 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
1515 breakpoints.
1516
83f66e8f
DJ
15172004-02-07 Daniel Jacobowitz <drow@mvista.com>
1518
1519 * config/sim.exp (gdb_load): Handle $arg == "".
1520 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
1521 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
1522
30fc0091
EZ
15232004-02-07 Elena Zannoni <ezannoni@redhat.com>
1524
1525 * gdb.base/maint.exp: Update test to reflect
1526 obstack changes.
1527
4d806929
JJ
15282004-02-04 Jeff Johnston <jjohnstn@redhat.com>
1529
1530 * gdb.base/pendshr.c (pendfunc): New function that calls
1531 pendfunc1.
1532 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
1533
7bfdd688
FF
15342004-02-04 Fred Fish <fnf@redhat.com>
1535
1536 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
1537 function symbols and update copyright years.
1538 * gdb.arch/gdb1291.c: Ditto.
1539
aaa08ee4
MC
15402004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1541
1542 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
1543
dbad7755
MC
15442004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1545
1546 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
1547
ec4646ef
MC
15482004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1549
1550 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
1551
1b802196
FF
15522004-02-02 Fred Fish <fnf@redhat.com>
1553
1554 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
1555 remote targets. Update copyright years.
1556
18fe2033
JJ
15572004-02-02 Jeff Johnston <jjohnstn@redhat.com>
1558
1559 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
1560 support.
1561 * gdb.base/langs.exp: Fix test which attempts to create
1562 breakpoint on non-existent function to handle new pending
1563 support.
1564 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
1565 a breakpoint.
1566 * gdb.base/pending.exp: New test.
1567 * gdb.base/pending.c: New file.
1568 * gdb.base/pendshr.c: Ditto.
1569
8d577d32
DC
15702004-02-02 David Carlton <carlton@kealia.com>
1571
1572 * gdb.cp/overload.exp: Add overloadNamespace tests.
1573 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
1574 (overloadNamespace, XXX): New.
1575 (main): Call XXX::marker2.
1576
3ad13771
FF
15772004-02-01 Fred Fish <fnf@redhat.com>
1578
1579 * gdb.base/dump.exp: Use runto_main instead of "runto main".
1580 * gdb.base/finish.exp: Ditto.
1581 * gdb.base/gcore.exp: Ditto.
1582 * gdb.base/huge.exp: Ditto.
1583 * gdb.base/info-proc.exp: Ditto.
1584 * gdb.base/return2.exp: Ditto.
1585 * gdb.threads/gcore-thread.exp: Ditto.
1586
44c75849
DJ
15872004-02-01 Daniel Jacobowitz <drow@mvista.com>
1588
1589 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
1590
005bc093
MK
15912004-02-01 Mark Kettenis <kettenis@gnu.org>
1592
1593 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
1594 that opening the file succeeds on OpenBSD.
1595
c47cebdb
DJ
15962004-02-01 Daniel Jacobowitz <drow@mvista.com>
1597
1598 * gdb.threads/thread-specific.c: New file.
1599 * gdb.threads/threads-specific.exp: New test script.
1600 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
1601 to expect_out.
1602
5a01311c
MK
16032004-02-01 Mark Kettenis <kettenis@gnu.org>
1604
1605 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
1606 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
1607 only on the "print_small_structs from print_long_arg_list" test.
1608
ce22a4f1
DJ
16092004-02-01 Daniel Jacobowitz <drow@mvista.com>
1610
1611 * gdb.base/completion.exp: Kill a stray backslash.
1612
1613 From Jim Ingham <jingham@apple.com>:
1614 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
1615 agrees with the result from sending a tab.
1616
abbab9d3
DJ
16172004-01-31 Daniel Jacobowitz <drow@mvista.com>
1618
1619 * gdb.base/chng-syms.exp: Remove stray newline.
1620
53904d1e
MK
16212004-01-31 Mark Kettenis <kettenis@gnu.org>
1622
1623 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
1624 *-*-openbsd*.
1625 * gdb.asm/openbsd.inc: New file.
1626
3a4b3aac
MK
16272004-01-30 Mark Kettenis <kettenis@gnu.org>
1628
1629 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
1630 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
1631 *-*solaris2*. Remove commented out default settings for
1632 asm-flags. Replace gdb_compile with target_link.
1633
ebac27b4
MC
16342004-01-29 Michael Chastain <mec.gnu@mindspring.com>
1635
1636 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
1637 for all tests. Remove old hp-ux and cygnus xfail cases.
1638
d8679d84
PH
16392004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
1640
1641 * gdb.base/chng-syms.exp: New file.
1642 * gdb.base/chng-syms.c: New file.
1643
0a55bc22
MC
16442004-01-24 Michael Chastain <mec.gnu@mindspring.com>
1645
1646 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
1647 Provide arms for current output in all my configurations.
1648
94b8e876
MC
16492004-01-24 Michael Chastain <mec.gnu@mindspring.com>
1650
1651 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
1652 * lib/compiler.cc: Likewise.
1653 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
1654 get the right preprocessor. Eval the output directly. Remove
1655 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
1656 hp_f77_compiler and hp_f90_compiler completely.
1657 (gdb_preprocess): Delete.
1658 (get_compiler): Delete.
1659
7cf03d44
MK
16602004-01-24 Mark Kettenis <kettenis@gnu.org>
1661
1662 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
1663 <string.h>.
1664
68b6dce9
NR
16652004-01-24 Nick Roberts <nick@nick.uklinux.net>
1666
1667 * gdb.mi/mi-stack.exp: Update copyright.
1668
b368761e
DC
16692004-01-23 David Carlton <carlton@kealia.com>
1670
1671 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
1672 test for cp_lookup_transparent_type.
1673 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
1674 call them.
1675
f2061b53
DJ
16762004-01-23 Daniel Jacobowitz <drow@mvista.com>
1677
1678 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
1679 after -var-update.
1680
37fc574a
DC
16812004-01-23 David Carlton <carlton@kealia.com>
1682
1683 * gdb.cp/namespace.cc (C::ensureRefs): New.
1684 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
1685
8e94b928
NR
16862004-01-20 Nick Roberts <nick@nick.uklinux.net>
1687
1688 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
1689 case "-stack-list-locals 2".
1690 * gdb.mi/mi-var-child.exp: Test for case
1691 "-var-list-children --all-values NAME".
1692
997b0952
MC
16932004-01-18 Michael Chastain <mec.gnu@mindspring.com>
1694
1695 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
1696
52470da3
MK
16972004-01-18 Mark Kettenis <kettenis@gnu.org>
1698
7049b4b8
MK
1699 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
1700 used with gdb_test_multiple.
1701
52470da3
MK
1702 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
1703 read at address 0. This fixes PR testsuite/1504.
1704
da6012e5
DJ
17052004-01-18 Daniel Jacobowitz <drow@mvista.com>
1706
1707 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
1708 Remove downloading, guessing the host executable, the calls to
1709 gdb_file_cmd and gdb_target_cmd, and "load" support.
1710 (infer_host_exec): New function broken out from gdb_load.
1711 (gdb_load): New wrapper for gdbserver_gdb_load.
1712 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
1713 gdb_target_cmd. Use -target-select.
1714 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
1715 Download binaries to the host. Clear last_mi_remote_file when
1716 we load a new binary.
1717 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
1718 call gdbserver_gdb_load and mi_gdb_target_cmd.
1719
32c70722
MC
17202004-01-17 Michael Chastain <mec.gnu@mindspring.com>
1721
1722 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
1723 type patterns.
1724
b0cecf36
MC
17252004-01-17 Michael Chastain <mec.gnu@mindspring.com>
1726
1727 * gdb.cp/templates.exp: Fix typo in test name of
1728 "print Foo<volatile char*>::foo".
1729
4120d7e6
MC
17302004-01-15 Michael Chastain <mec.gnu@mindspring.com>
1731
1732 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
1733
f679e530
BE
17342004-01-16 Ben Elliston <bje@wasabisystems.com>
1735
1736 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
1737 (clean mostlyclean): Remove empty rm.
1738
091c48f6
MC
17392004-01-15 Michael Chastain <mec.gnu@mindspring.com>
1740
1741 * gdb.base/setvar.exp: Add copyright years.
1742
3e5fc8d2
DC
17432004-01-14 David Carlton <carlton@bactrian.org>
1744
1745 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
1746 PR c++/1511 and update coment.
1747 * gdb.cp/templates.exp: Update patterns to match current output.
1748 If changes involve something other than whitespace, KFAIL
1749 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
1750
63d06c5c
DC
17512004-01-14 David Carlton <carlton@kealia.com>
1752
1753 * gdb.cp/namespace.exp: Add tests involving classes defined within
1754 namespaces.
1755 * gdb.cp/namespace.cc (C::CClass): New.
1756 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
1757
a51dab88
EZ
17582004-01-14 Elena Zannoni <ezannoni@redhat.com>
1759
1760 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
1761 what debug info we have. Print a better message if something goes
1762 wrong while producing the separate debug info file.
1763
a476ccc9
MC
17642004-01-14 Michael Chastain <mec.gnu@mindspring.com>
1765
1766 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
1767
f453692c
MC
17682004-01-14 Michael Chastain <mec.gnu@mindspring.com>
1769
1770 * gdb.base/callfuncs.c: Add copyright notice.
1771
f40063a5
MC
17722004-01-13 Michael Chastain <mec.gnu@mindspring.com>
1773
1774 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
1775 inheritance. PR gdb/1498, PR gcc/13539.
1776
19ac3974
EZ
17772004-01-13 Elena Zannoni <ezannoni@redhat.com>
1778
1779 * gdb.threads/gcore-thread.exp: Prefix name of binary with
1780 test specific name.
1781 * gdb.mi/gdb669.exp: Ditto.
1782 * gdb.mi/mi-pthreads.exp: Ditto.
1783 * gdb.mi/mi1-pthreads.exp: Ditto.
1784 * gdb.mi/mi2-pthreads.exp: Ditto.
1785
56c97c6e
MC
17862004-01-12 Michael Chastain <mec.gnu@mindspring.com>
1787
1788 * gdb.cp/member-ptr.cc: Add copyright notice.
1789
a0644324
MC
17902004-01-12 Michael Chastain <mec.gnu@mindspring.com>
1791
1792 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
1793 some patterns for recent versions of gcc and hpacc. Delete
1794 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
1795 Delete tests that access a NULL pointer-to-member-data. This
1796 script is still disabled for gcc.
1797
32fabe09
EZ
17982004-01-12 Elena Zannoni <ezannoni@redhat.com>
1799
1800 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
1801 escaped correctly.
1802
1f8a6abb
EZ
18032004-01-12 Elena Zannoni <ezannoni@redhat.com>
1804
1805 * gdb.base/sepdebug.exp: New file.
1806 * gdb.base/sepdebug.c: New file.
1807 * lib/gdb.exp (separate_debug_filename): New procedure.
1808 (gdb_gnu_strip_debug): New procedure.
1809
48efe704
AC
18102004-01-12 Andrew Cagney <cagney@redhat.com>
1811
1812 * gdb.mi/ChangeLog: Delete file. Renamed to ...
1813 * gdb.mi/ChangeLog-1999-2003: New file.
1814
a9415475
AC
18152004-01-12 Andrew Cagney <cagney@redhat.com>
1816
1817 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
1818 "Renaming a directory to a non-empty directory returns ENOTEMPTY
1819 or EEXIST", treat EBUSY as an XFAIL.
1820
83b8cf9d
MC
18212004-01-11 Michael Chastain <mec.gnu@mindspring.com>
1822
1823 * gdb.base/scope.exp: Remove obsolete setup_xfail for
1824 hp_cc_compiler.
1825
9939d2a8
MC
18262004-01-10 Michael Chastain <mec.gnu@mindspring.com>
1827
1828 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
1829 decorations.
1830
1ff8cadf
MC
18312004-01-10 Michael Chastain <mec.gnu@mindspring.com>
1832
1833 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
1834 and "(aCC)" decorations. Remove obsolete doco about old
1835 test results.
1836
6fa9022e
MC
18372004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1838
1839 * gdb.cp/exception.exp: Fix typo in doco.
1840
209721fe
MK
18412004-01-09 Mark Kettenis <kettenis@gnu.org>
1842
1843 * gdb.base/gdb1476.exp: Fix typo.
1844
ef11303e
MC
18452004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1846
1847 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
1848 file.
1849
041ab88c
MC
18502004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1851
1852 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
1853 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
1854 Use gdb_compile. Remove restriction on gcc. Add some patterns
1855 for recent version of gdb. Delete second half, which was a copy
1856 of the first half with different build flags. This test is
1857 still disabled because it is still not ready for production.
1858
e36d075a
MC
18592004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1860
1861 * gdb.cp/exception.cc: Add copyright notice.
1862 * gdb.cp/exception.exp: Add a notice that this file is broken
1863 because of line number changes caused by addition of copyright
1864 notice.
1865
42b190ad
MC
18662004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1867
1868 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
1869 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
1870
8f25f06b
MC
18712004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1872
1873 * gdb.cp/classes.exp: Accept gnu abi 2.
1874 * gdb.cp/derivation.exp: Likewise.
1875 * gdb.cp/overload.exp: Likewise.
1876 * gdb.cp/virtfunc.exp: Likewise.
1877
06ded8b8
MC
18782004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1879
1880 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
1881 semicolon after end of function.
1882
77c26ae3
MC
18832004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1884
1885 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
1886 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
1887 boilerplate code for compiling and running the program under
1888 test. Add some string method tests.
1889
20757486
MC
18902004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1891
1892 * gdb.cp/bs15503.cc: Add copyright notice.
1893 * gdb.cp/bs15503.exp: Adjust line number.
1894
0fd3b503
MC
18952004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1896
1897 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
1898 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
1899
10d1bea8
MC
19002004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1901
1902 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
1903 hp_cc_compiler.
1904
2789202a
MC
19052004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1906
1907 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
1908 * gdb.cp/ctti.exp: Use the marker instead of "next".
1909 With gcc, run further before bailing.
1910
b862f14c
MC
19112004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1912
1913 * gdb.cp/cttiadd.cc: Add copyright notice.
1914 * gdb.cp/cttiadd1.cc: Likewise.
1915 * gdb.cp/cttiadd2.cc: Likewise.
1916 * gdb.cp/cttiadd3.cc: Likewise.
1917
96da2469
MC
19182004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1919
1920 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
1921 Use gdb_test, gdb_test_multiple. Use floating-point values that
1922 have exact representations in IEEE-ish formats.
1923
053248ff
MC
19242004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1925
1926 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
1927 compilers. Delete duplicate call to get_compiler_info.
1928 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
1929 * gdb.base/volatile.exp: Likewise.
1930
84acecdd
MK
19312004-01-07 Mark Kettenis <kettenis@gnu.org>
1932
1933 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
1934 memory at address 0.
1935
fe11a27f
MC
19362004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1937
1938 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
1939 to test for hp-ux assembler. Fix copyright years.
1940
60ad077b
AC
19412004-01-07 Andrew Cagney <cagney@redhat.com>
1942
1943 * gdb.base/fileio.c (strerrno): Add "EBUSY".
1944
1c9b8f33
AC
19452004-01-07 Andrew Cagney <cagney@redhat.com>
1946
1947 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
1948 when creating the read-only file. From analysis by Roland McGrath
1949 and Elena Zannoni.
1950
753ccc7a
MC
19512004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1952
1953 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
1954
eca3e36b
MC
19552004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1956
1957 * gdb.base/cvexpr.c: Be type-safe with function pointers and
1958 data pointers.
1959
f8d4bac4
MC
19602004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1961
1962 * gdb.cp/m-static.exp: Compile one source file at a time.
1963 Delete unused call to get_compiler_info.
1964
9b4e0f94
MC
19652004-01-06 Michael Chastain <mec.gnu@mindspring.com>
1966
1967 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
1968 * gdb.base/call-rt-st.exp: Likewise.
1969 * gdb.base/nodebug.exp: Likewise.
1970 * gdb.base/volatile.exp: Likewise.
1971 * gdb.cp/ref-types.exp: Likewise.
1972 * gdb.cp/templates.exp: Likewise.
1973
023c1024
MK
19742004-01-05 Mark Kettenis <kettenis@gnu.org>
1975
1976 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
1977
19703c4a
MC
19782004-01-05 Michael Chastain <mec.gnu@mindspring.com>
1979
1980 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
1981 hppa*-hp-hpux*.
1982
18b67037
MK
19832004-01-04 Mark Kettenis <kettenis@gnu.org>
1984
ba6219c8
MK
1985 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1986 x86_64-*-*.
1987
18b67037
MK
1988 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
1989 sparc64-*-* and sparc*-solaris2*.
1990
1bfbbb9d
MK
19912004-01-04 Mark Kettenis <kettenis@gnu.org>
1992
1993 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
1994 return ${tests}" test. The ${tests} already mentions the
1995 filename.
1996
06846494
MC
19972004-01-02 Michael Chastain <mec.gnu@mindspring.com>
1998
1999 * gdb.cp/local.exp: Accept gcc abi 2.
2000
3b0cb202
MC
20012004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2002
2003 * gdb.cp/templates.exp: Accept gcc abi 2.
2004
0643ec3f
MC
20052004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2006
2007 * lib/compiler.cc: Remove supports_template_debugging.
2008 * gdb.cp/templates.exp: Do not test supports_template_debugging.
2009
d231d0b1
MC
20102004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2011
2012 * gdb.cp/namespace.exp: Accept gcc abi 2.
2013
44ffb27c
MC
20142004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2015
2016 * gdb.cp/method.exp: Accept gcc abi 2.
2017
184ad485
MC
20182004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2019
2020 * gdb.cp/classes.exp: Generate identical results as old version.
2021 * gdb.cp/derivation.exp: Likewise.
2022 * gdb.cp/overload.exp: Likewise.
2023 * gdb.cp/virtfunc.exp: Likewise.
2024
116f09e7
MC
20252004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2026
2027 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
2028 mysterious bug with sourceware version of expect.
2029
b1379776
MC
20302004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2031
2032 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
2033 current versions of gcc, including gcc abi 2. Remove gratuitous
2034 restart of test program. Use gdb_test_multiple and gdb_test for
2035 all tests. Add patterns to xfail missing "const" in "const char *"
2036 and kfail PR gdb/1155.
2037
6b7a4c0e
MC
20382004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2039
2040 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
2041 current versions of gcc, including gcc abi 2. Remove gratuitous
2042 restart of test program. Use gdb_test_multiple and gdb_test for
2043 all tests. Add patterns to kfail PR gdb/1498.
2044
51615d72
MC
20452003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2046
2047 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
2048 current versions of gcc, including gcc abi 2. Use "breakpoint"
2049 and "continue" instead of restarting the target program. Use
2050 gdb_test_multiple and gdb_test for all tests.
2051
7b79a9d7
MK
20522004-01-01 Mark Kettenis <kettenis@gnu.org>
2053
2054 * gdb.asm/asm-source.exp: Update copyright year. Link statically
2055 for *-*-solaris2*.
2056
1cd3489f
MC
20572003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2058
2059 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
2060 current versions of gcc, including gcc abi 2. Use "breakpoint"
2061 and "continue" instead of restarting the target program several
2062 times. Use gdb_test_multiple and gdb_test for all tests.
2063
850742db
MC
20642003-12-18 Michael Chastain <mec.gnu@mindspring.com>
2065
2066 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
2067 source files.
2068
eb4bbda8
MC
20692003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2070
2071 * gdb.base/environ.exp: Handle compiling test case from multiple
2072 source files.
2073
e42c7771
MC
20742003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2075
2076 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2077
80e4b428
JB
20782003-12-17 Jim Blandy <jimb@redhat.com>
2079
5f06973a
JB
2080 * gdb.base/freebpcmd.c: Add copyright notice.
2081
80e4b428
JB
2082 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
2083
0ab84fb7
MC
20842003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2085
2086 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
2087
1b3bb3d0
JB
20882003-12-13 Jim Blandy <jimb@redhat.com>
2089
2090 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
2091
3a4c9371
KB
20922003-12-12 Kevin Buettner <kevinb@redhat.com>
2093
2094 * gdb.asm/frv.inc: New file.
2095 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
2096
a1dea79a
FF
20972003-12-09 Fred Fish <fnf@redhat.com>
2098
2099 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
2100 functions to break1.c and leave prototypes behind. Add more
2101 "set breakpoint NN here" comments.
2102 * gdb.base/break1.c: New file.
2103
2104 * gdb.base/break.exp: Handle compiling test case from multiple
2105 source files and change source file references as needed.
2106 * gdb.base/completion.exp: Ditto.
2107 * gdb.base/condbreak.exp: Ditto.
2108 * gdb.base/define.exp: Ditto.
2109 * gdb.base/ena-dis-br.exp: Ditto.
2110 * gdb.base/info-proc.exp: Ditto.
2111 * gdb.base/maint.exp: Ditto.
2112 * gdb.base/until.exp: Ditto.
2113
2114 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
2115 hardcoded line numbers.
2116 * gdb.base/define.exp: Ditto.
2117 * gdb.base/ena-dis-br.exp: Ditto.
2118 * gdb.base/maint.exp: Ditto.
2119 * gdb.base/until.exp: Ditto.
2120
2121 * gdb.base/completion.exp: Use "break1" for completion tests since
2122 "break" is no longer a unique prefix.
2123
5266b69c
AC
21242003-12-06 Andrew Cagney <cagney@redhat.com>
2125
2126 * gdb.base/structs.exp (test_struct_returns): When applicable, set
2127 "return_value_unimplemented". When an unimplemented struct return
2128 architecture, report incorrect values as a KFAIL
2129
374451f0
MC
21302003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2131
2132 * gdb.cp/rtti.exp: Accept new wording of warning from
2133 cp_lookup_rtti_type.
2134
ba9b20a7
MC
21352003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2136
2137 Partial fix for PR testsuite/1456.
2138 * gdb.base/scope.exp (test_at_main): Replace references to
2139 gcc_compiled with calls to test_compiler_info.
2140 (test_at_foo): Likewise.
2141 (test_at_bar): Likewise.
2142
b74b6d0b
MC
21432003-12-04 Michael Chastain <mec.gnu@mindspring.com>
2144
2145 Partial fix for PR testsuite/1456.
2146 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
2147 to test_compiler_info.
2148
ccfa3402
MC
21492003-12-03 Michael Chastain <mec.gnu@mindspring.com>
2150
2151 * gdb.base/so-impl-ld.exp: Update copyright notice.
2152
f6246aba
MC
21532003-12-02 Michael Chastain <mec.gnu@mindspring.com>
2154
2155 Partial fix for PR testsuite/1456.
2156 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
2157 to test_compiler_info.
2158
13ae734a
MC
21592003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2160
2161 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
2162 from current versions of gdb. Clean up regular expressions.
2163 Delete redundant timeout case.
2164
d8e1cdee
MC
21652003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2166
2167 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
2168 from current versions of gdb. Clean up regular expressions.
2169 Delete redundant timeout case.
2170
96457b64
MC
21712003-12-01 Michael Chastain <mec.gnu@mindspring.com>
2172
2173 Partial fix for PR testsuite/1456.
2174 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
2175 gcc_compiled with call to test_compiler_info.
2176
f35309fc
MC
21772003-11-30 Michael Chastain <mec.gnu@mindspring.com>
2178
2179 Partial fix for PR testsuite/1456.
2180 * gdb.base/list.exp (test_list_function): Delete unused declaration
2181 of gcc_compiled.
2182
d7afdf9b
MC
21832003-11-29 Michael Chastain <mec.gnu@mindspring.com>
2184
2185 Partial fix for PR testsuite/1456.
2186 * gdb.base/complex.exp: Replace reference to gcc_compiled with
2187 call to test_compiler_info.
2188
71507b56
MK
21892003-11-29 Mark Kettenis <kettenis@gnu.org>
2190
2191 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
2192 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
2193 it to create the appropriate note.inc.
2194 * gdb.asm/asmsrc1.s: Include "note.inc".
2195 * gdb.asm/netbsd.inc: New file.
2196 * gdb.asm/empty.inc: New file.
2197
f81f93f7
MC
21982003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2199
2200 Partial fix for PR testsuite/1456.
2201 * gdb.base/constvars.exp: Replace references to gcc_compiled with
2202 calls to test_compiler_info.
2203
9a77938e
MC
22042003-11-27 Michael Chastain <mec.gnu@mindspring.com>
2205
2206 Partial fix for PR testsuite/1456.
2207 * gdb.base/volatile.exp: Replace references to gcc_compiled with
2208 calls to test_compiler_info.
2209
e8367dc7
MK
22102003-11-27 Mark Kettenis <kettenis@gnu.org>
2211
2212 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
2213 pattern for the KFAILs.
2214
526c61ee
AF
22152003-11-25 Adam Fedor <fedor@gnu.org>
2216
2217 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
2218 * gdb.objc/objcdecode.m: New file.
2219
28f2d600
AF
22202003-11-25 Adam Fedor <fedor@gnu.org>
2221
2222 * gdb.objc/nondebug.exp: Test for PR objc/1236.
2223 * gdb.objc/nondebug.m: New file.
2224
a3895cee
BE
22252003-11-26 Ben Elliston <bje@wasabisystems.com>
2226
2227 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2228 NetBSD as it does on FreeBSD. Modelled on a similar change by
2229 Mark Kettenis on 2003-05-30.
2230 (link-flags): Set to "--entry _start" regardless of target.
2231 Special linker flags are to be appended to $link-flags.
2232 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2233
c9f2c8a3
MC
22342003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2235
2236 * gdb.cp/method.exp: Accept output of new demangler.
2237
15a0587a 22382003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
2239
2240 * gdb/class2.exp: New file.
2241 * gdb/class2.cc: New file.
2242
3c00b570
MC
22432003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2244
2245 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
2246 of new demangler.
2247
7027acc7
MK
22482003-11-23 Mark Kettenis <kettenis@gnu.org>
2249
2250 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
2251 of gdb_test "run".
2252
b0e1598a
MK
22532003-11-23 Mark Kettenis <kettenis@gnu.org>
2254
2255 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
2256 "continue" into "run".
2257
4d9eda44
MC
22582003-11-23 Michael Chastain <mec.gnu@mindspring.com>
2259
2260 Partial fix for PR testsuite/1456.
2261 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
2262 call to test_compiler_info.
2263 * gdb.cp/ctti.exp: Likewise.
2264 * gdb.cp/derivation.exp: Likewise.
2265 * gdb.cp/member-ptr.exp: Likewise.
2266 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
2267 reference to gcc_compiled.
2268
22692003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
2270
2271 Fix PR testsuite/1463.
2272 * gdb.base/structs.exp (start_structs_test): Call
2273 get_debug_format before using the debug format.
2274
d422fe19
AC
22752003-11-22 Andrew Cagney <cagney@redhat.com>
2276
2277 * lib/gdb.exp (gdb_test_multiple): Add simple example.
2278 * gdb.base/structs.exp: Use gdb_test_multiple.
2279
039cf96d
AC
22802003-11-20 Andrew Cagney <cagney@redhat.com>
2281
6882279b
AC
2282 * gdb.base/structs.exp: Handle and recover from internal errors.
2283 Replace "foo${n}" with "foo<n>" in test messages.
2284
e53890ae
AC
2285 * gdb.base/structs.exp: Update copyright. Rewrite.
2286 * gdb.base/structs.c: Update copyright. Rewrite.
2287
2b211c59
AC
2288 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
2289 resync count exceeded.
d63a86f8 2290
039cf96d
AC
2291 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
2292 from the internal error.
2293 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
2294 Original from Jim Blandy.
2295 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 2296
eac98b22
AC
22972003-11-19 Andrew Cagney <cagney@redhat.com>
2298
2299 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
2300 KFAIL.
2301
67455b2a
MK
23022003-11-17 Mark Kettenis <kettenis@gnu.org>
2303
2304 New testcase for PR backtrace/1435.
2305 * gdb.arch/i386-unwind.exp: New file.
2306 * gdb.arch/i386-unwind.c: New file.
2307
853d6e5b
AC
23082003-11-17 Andrew Cagney <cagney@redhat.com>
2309
2310 * lib/gdb.exp (compiler_info): New global.
2311 (test_compiler_info): New function.
2312 (get_compiler_info): Set compiler_info.
2313 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
2314 "compiler_info" to gcc-<major>-<minor>.
2315
38cf6e11
MC
23162003-11-15 Michael Chastain <mec.gnu@mindspring.com>
2317
2318 * gdb.trace/configure: Remove.
2319
a50d3602
EZ
23202003-11-13 Elena Zannoni <ezannoni@redhat.com>
2321
2322 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 2323 breakpoints.
a50d3602
EZ
2324 * gdb.base/break.exp: Remove all references to explicit line
2325 numbers.
2326
d9407aaa
NC
23272003-11-11 Nick Clifton <nickc@redhat.com>
2328
2329 * gdb.base/shreloc.exp: Do not run for targets which do not
2330 support shared objects.
2331
db488fc1
CV
23322003-11-10 Corinna Vinschen <vinschen@redhat.com>
2333
2334 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
2335 Don't run tests if nofileio flag is given.
2336
6a90a18e
EZ
23372003-11-07 Elena Zannoni <ezannoni@redhat.com>
2338
2339 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
2340 as well as 'Watchpoint'.
2341
0b915e9c
EZ
23422003-11-06 Elena Zannoni <ezannoni@redhat.com>
2343
2344 Reported by Jim Ingham <jingham@apple.com>:
2345 * gdb.base/annota1.exp: Match at least one occurrence of the
2346 signal handler annotation.
2347
d7e4b55f
EZ
23482003-11-06 Elena Zannoni <ezannoni@redhat.com>
2349
2350 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
2351 as well as 'Watchpoint'.
2352
2fe4e8d0
MC
23532003-11-05 Michael Chastain <mec@shout.net>
2354
2355 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
2356
6ef88553
KW
23572003-11-03 Kris Warkentin <kewarken@qnx.com>
2358
2359 * gdb.arch/gdb1291.c: New test file.
2360 * gdb.arch/gdb1291.exp: New test script.
2361 * gdb.arch/gdb1431.c: New test file.
2362 * gdb.arch/gdb1431.exp: New test script.
2363
ae7dc4d8
MC
23642003-10-22 Michael Chastain <mec@shout.net>
2365
2366 * gdb.mi/pthreads.c: Add copyright notice.
2367
c39d7427
MC
23682003-10-22 Michael Chastain <mec@shout.net>
2369
2370 * gdb.threads/pthreads.c: Add copyright notice.
2371
8b7d96c1
MC
23722003-10-20 Michael Chastain <mec@shout.net>
2373
2374 * gdb.base/gdb1056.exp: New test script.
2375
d1d69fdd
DJ
23762003-10-13 Daniel Jacobowitz <drow@mvista.com>
2377
2378 * gdb.threads/killed.exp: Use gdb_run_cmd.
2379
7d605576
DJ
23802003-10-13 Daniel Jacobowitz <drow@mvista.com>
2381
2382 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
2383 create a core file.
2384 * gdb.threads/gcore-thread.exp: Likewise.
2385
618ec112
CV
23862003-10-13 Corinna Vinschen <vinschen@redhat.com>
2387
2388 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
2389 type, based on char type.
2390 (struct bit_flags_short_t): New bitfield type, based on short type.
2391 (init_bit_flags_char): New fuction.
2392 (init_bit_flags_short): Ditto.
2393 (print_bit_flags_char): Ditto.
2394 (print_bit_flags_short): Ditto.
2395 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
2396
9367a73c
MC
23972003-10-11 Michael Chastain <mec@shout.net>
2398
2399 * gdb.base/call-rt-st.exp: Update copyright year.
2400
1decf120
KI
24012003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
2402
2403 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
2404 * gdb.disasm/sh3.s: Ditto.
2405
5445b2ae
DJ
24062003-10-07 Daniel Jacobowitz <drow@mvista.com>
2407
2408 * gdb.threads/switch-threads.exp: New test.
2409 * gdb.threads/switch-threads.c: New source file.
2410
aec24853
CV
24112003-10-07 Corinna Vinschen <vinschen@redhat.com>
2412
2413 * gdb.base/ending-run.exp: Add sh specific case.
2414
adc7428d
AC
24152003-10-06 Andrew Cagney <cagney@redhat.com>
2416
2417 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
2418 * gdb.disasm/mn10200.exp: Delete obsolete file.
2419
c9d37158
DJ
24202003-09-29 Daniel Jacobowitz <drow@mvista.com>
2421
2422 * ChangeLog: Correct an entry command.exp -> commands.exp.
2423 * gdb.base/commands.exp (bp_deleted_in_command_test)
2424 (temporary_breakpoint_commands): Check noargs.
2425
79c2c32d
DC
24262003-09-25 David Carlton <carlton@kealia.com>
2427
2428 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
2429 of some print tests, where appropriate. Add tests for C::D::cd,
2430 E::ce, F::cXfX, G::XgX.
2431 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
2432
594e6d67
RE
24332003-09-25 Richard Earnshaw <rearnsha@arm.com>
2434
2435 * lib/java.exp (java_init): Import target_alias before using it.
2436
10f0d451
DC
24372003-09-25 David Carlton <carlton@kealia.com>
2438
2439 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
2440
274bcba0
EZ
24412003-09-23 Elena Zannoni <ezannoni@redhat.com>
2442
d63a86f8 2443 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
2444 weirdness.
2445
cdbf20f7
MC
24462003-09-17 Michael Chastain <mec@shout.net>
2447
2448 * gdb.cp/gdb1355.exp: New file.
2449 * gdb.cp/gdb1355.c: New file.
2450
71e06f80
CV
24512003-09-15 Corinna Vinschen <vinschen@redhat.com>
2452
2453 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
2454 * gdb.asm/sh.inc: New file.
2455
5c4e30ca
DC
24562003-09-11 David Carlton <carlton@kealia.com>
2457
bd45b7af
DC
2458 * gdb.cp/namespace.exp: Add tests for namespace types.
2459 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
2460 (test_namespace): New.
2461
1c199746
EZ
24622003-09-11 Elena Zannoni <ezannoni@redhat.com>
2463
2464 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 2465 * gdb.stabs/weird.exp: Ditto.
1c199746 2466
04ed252f
MC
24672003-09-08 Michael Chastain <mec@shout.net>
2468
2469 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2470
d8a2d9e7
MC
24712003-09-07 Michael Chastain <mec@shout.net>
2472
2473 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
2474 'parse error'.
2475
161afb24
MK
24762003-09-07 Mark Kettenis <m.kettenis@osp.nl>
2477
2478 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
2479
49f2741a
MC
24802003-08-30 Michael Chastain <mec@shout.net>
2481
2482 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
2483 * gdb.gdb/observer.exp: Ditto.
2484 * gdb.gdb/xfullpath.exp: Ditto.
2485
8afa723e
MK
24862003-08-29 Mark Kettenis <kettenis@gnu.org>
2487
2488 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
2489 *-*-*bsd*.
2490
f31dfe3b
JJ
24912003-08-28 Jeff Johnston <jjohnstn@redhat.com>
2492
2493 * gdb.base/dump.exp: Skip for ia64.
2494
4630e498
JJ
24952003-08-25 Jeff Johnston <jjohnstn@redhat.com>
2496
2497 * gdb.asm/asm-source.exp: Add ia64 support.
2498 * gdb.asm/ia64.inc: New file.
2499
1105b7ef
MC
25002003-08-22 Michael Chastain <mec@shout.net>
2501
2502 * gdb.cp: New directory.
2503 * gdb.cp/*: Copy from gdb.c++/*.
2504 * gdb.c++/*: Remove.
2505 * Makefile.in: Change gdb.c++ to gdb.cp.
2506 * configure.in: Ditto.
2507 * configure: Regnerate.
2508
c945b932
MK
25092003-08-18 Mark Kettenis <kettenis@gnu.org>
2510
2511 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
2512 * gdb.arch/i386-prologue.c (gdb1338): Add function.
2513
2b66634b
DJ
25142003-08-17 Daniel Jacobowitz <drow@mvista.com>
2515
2516 * mi-var-display.exp (-var-list-children weird): Accept function
2517 pointers with argument types.
2518 * mi1-var-display.exp (-var-list-children weird): Likewise.
2519 * mi2-var-display.exp (-var-list-children weird): Likewise.
2520
a356f73b
DJ
25212003-08-17 Daniel Jacobowitz <drow@mvista.com>
2522
2523 * gdb.base/annota3.exp: Add missing newline.
2524
483417b8
MC
25252003-08-06 Michael Chastain <mec@shout.net>
2526
2527 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
2528
c99c59c3
MS
25292003-08-12 Michael Snyder <msnyder@redhat.com>
2530
2531 * gdb.base/float.exp: Add test for SH.
2532
55ed7501
MK
25332003-08-10 Mark Kettenis <kettenis@gnu.org>
2534
2535 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
2536
1a371f2e
EZ
25372003-08-07 Elena Zannoni <ezannoni@redhat.com>
2538
2539 * gdb.base/completion.exp: Remove reduntant completion test
2540 on filename.
2541
e0f353ce
EZ
25422003-08-07 Elena Zannoni <ezannoni@redhat.com>
2543
2544 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
2545 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
2546 gdb.trace/save-trace.exp: Make sure that full pathnames are
2547 escaped correctly.
2548
5710a1af 25492003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 2550
5710a1af
EZ
2551 * configure.in: Don't generate config.h from config.hin.
2552 * configure: Regenerate.
2553 * config.hin: Remove file.
2554 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
2555 * gdb.threads/pthreads.c: Ditto.
2556
dcd81ce9
DJ
25572003-08-07 Daniel Jacobowitz <drow@mvista.com>
2558
2559 From Kei Sakamoto <sakamoto.kei@renesas.com>:
2560 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
2561 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
2562 Replace ld24 with seth/add3.
2563
6009d884
AC
25642003-08-02 Andrew Cagney <cagney@redhat.com>
2565
2566 * gdb.base/annota3.exp: New file.
2567 * gdb.base/annota3.c: New file.
2568 * gdb.c++/annota3.exp: New file.
2569 * gdb.c++/annota3.cc: New file.
2570
51514e06
MC
25712003-07-29 Michael Chastain <mec@shout.net>
2572
2573 * gdb.threads/tls.c (spin): Check errno only if sem_wait
2574 actually failed.
2575 (do_pass): Likewise.
2576 * gdb.threads/tls.exp: Always initialize no_of_threads.
2577
4ee6625b
DJ
25782003-07-27 Daniel Jacobowitz <drow@mvista.com>
2579
2580 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
2581 pattern.
2582 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
2583 * gdb.threads/tls.exp: Recognize one case of the host library not
2584 supporting TLS.
2585
225f2bf6
AC
25862003-07-27 Andrew Cagney <cagney@redhat.com>
2587
2588 * gdb.base/fileio.exp: Use SH when running commands using
2589 remote_exec.
2590
bcb27c9f
DJ
25912003-07-24 Daniel Jacobowitz <drow@mvista.com>
2592
2593 From Kei Sakamoto <sakamoto.kei@renesas.com>:
2594 * gdb.base/relocate.c (dummy): New padding array.
2595
3d67be83
MS
25962003-07-22 Michael Snyder <msnyder@redhat.com>
2597
d63a86f8 2598 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
2599
2600 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
2601 patterns to be more general, accepting old and new output.
2602 Some output chars (such as '+') also must be quoted.
d63a86f8 2603 Some addresses are displayed numerically instead of
3d67be83
MS
2604 symbolically.
2605
57ba3b85
MS
26062003-07-23 Michael Snyder <msnyder@redhat.com>
2607
686d097c
MS
2608 * gdb.base/return2.exp: Don't test long-long return.
2609
57ba3b85
MS
2610 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
2611 * gdb.disasm/t01_mov.exp: Ditto.
2612 * gdb.disasm/t02_mova.s: Ditto.
2613 * gdb.disasm/t02_mova.exp: Ditto.
2614 * gdb.disasm/t03_add.s: Ditto.
2615 * gdb.disasm/t03_add.exp: Ditto.
2616 * gdb.disasm/t04_sub.s: Ditto.
2617 * gdb.disasm/t04_sub.exp: Ditto.
2618 * gdb.disasm/t05_cmp.s: Ditto.
2619 * gdb.disasm/t05_cmp.exp: Ditto.
2620 * gdb.disasm/t06_ari2.s: Ditto.
2621 * gdb.disasm/t06_ari2.exp: Ditto.
2622 * gdb.disasm/t07_ari3.s: Ditto.
2623 * gdb.disasm/t07_ari3.exp: Ditto.
2624 * gdb.disasm/t08_or.s: Ditto.
2625 * gdb.disasm/t08_or.exp: Ditto.
2626 * gdb.disasm/t09_xor.s: Ditto.
2627 * gdb.disasm/t09_xor.exp: Ditto.
2628 * gdb.disasm/t10_and.s: Ditto.
2629 * gdb.disasm/t10_and.exp: Ditto.
2630 * gdb.disasm/t11_logs.s: Ditto.
2631 * gdb.disasm/t11_logs.exp: Ditto.
2632 * gdb.disasm/t12_bit.s: Ditto.
2633 * gdb.disasm/t12_bit.exp: Ditto.
2634 * gdb.disasm/t13_otr.s: Ditto.
2635 * gdb.disasm/t13_otr.exp: Ditto.
2636
e00759ef
EZ
26372003-07-22 Elena Zannoni <ezannoni@redhat.com>
2638
2639 * gdb.threads/tls.exp :Add kfail for 'info address' case.
2640
8bc2021f
EZ
26412003-07-22 Elena Zannoni <ezannoni@redhat.com>
2642
2643 * gdb.threads/tls.c : New file.
2644 * gdb.threads/tls.exp : New file.
2645 * gdb.threads/tls-main.c : New file.
2646 * gdb.threads/tls-shared.c : New file.
2647 * gdb.threads/tls-shared.exp : New file.
2648
89320c4c
AS
26492003-07-22 Andreas Schwab <schwab@suse.de>
2650
2651 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
2652
180dea7c
AS
26532003-07-20 Andreas Schwab <schwab@suse.de>
2654
2655 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
2656 due to insn reordering.
2657
0714963c
AC
26582003-07-15 Andrew Cagney <cagney@redhat.com>
2659
2660 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
2661
98a23b3f
MC
26622003-07-15 Michael Chastain <mec@shout.net>
2663
2664 * gdb.base/gdb1250.exp: New file.
2665 * gdb.base/gdb1250.c: New file.
2666
27e417a2
ML
26672003-07-09 Michal Ludvig <mludvig@suse.cz>
2668
2669 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
2670 expansion of size_t to 'unsigned long', not only to 'unsigned'.
2671
8bc2021f
EZ
26722003-07-09 Elena Zannoni <ezannoni@redhat.com>
2673
2674 * gdb.threads/tls.c: New file.
2675 * gdb.threads/tls.exp: New file.
2676 * gdb.threads/tls-main.c: New file.
2677 * gdb.threads/tls-shared.c: New file.
2678 * gdb.threads/tls-shared.exp: New file.
2679
d99968dc
EZ
26802003-07-09 Elena Zannoni <ezannoni@redhat.com>
2681
2682 * gdb.base/annota1.exp: Make sure that we properly escape the
2683 full path of the source file. Xfail more permissive patterns,
d63a86f8 2684 due to a compiler debug info problem.
d99968dc 2685
83876b3b
AS
26862003-07-07 Andreas Schwab <schwab@suse.de>
2687
2705e972
AS
2688 * gdb.asm/m68k.inc: New file.
2689 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
2690
83876b3b
AS
2691 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
2692 arguments"): Also match negative number.
2693
2694 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2695
3a871b37
DJ
26962003-07-03 Daniel Jacobowitz <drow@mvista.com>
2697
2698 * gdb.base/store.c (charest): New typedef.
2699 (add_char): Rename to add_charest, update.
2700 (wack_char): Rename to wack_charest, update types. Return l + r
2701 to keep r live across the call.
2702 (wack_short, wack_int, wack_long, wack_longest, wack_float)
2703 (wack_double, wack_doublest): Return l + r to keep r live across
2704 the call.
2705 * gdb.base/store.exp: Accomodate store.c changes.
2706
b2a7f303
DC
27072003-06-30 David Carlton <carlton@kealia.com>
2708
2709 * gdb.c++/maint.exp (test_invalid_name): New.
2710 (test_first_component): Add tests for invalid names.
2711
3c6cb4a1
MC
27122003-06-29 Michael Chastain <mec@shout.net>
2713
2714 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
2715 output of '<VTT for class>' for virtual base classes.
2716
f1c2644b
DJ
27172003-06-29 Daniel Jacobowitz <drow@mvista.com>
2718
2719 * gdb.base/completion.exp: Tab-complete "complet" instead of
2720 "compl".
2721 * gdb.base/complex.exp, gdb.base/complex.c: New files.
2722
18080350
DJ
27232003-06-29 Daniel Jacobowitz <drow@mvista.com>
2724
2725 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
2726 * gdb.base/volatile.exp: Likewise.
2727
f56973f8
DJ
27282003-06-29 Daniel Jacobowitz <drow@mvista.com>
2729
2730 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
2731 gdb/1265.
2732
27332003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
2734 Daniel Jacobowitz <drow@mvista.com>
2735
2736 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
2737 initial line count of 'captured_main' from 26 to 32.
2738 (test_with_self): Allow xmalloc call to be interleaved with the
2739 preceding two lines.
2740
e766d4d6
JB
27412003-06-24 Joel Brobecker <brobecker@gnat.com>
2742
2743 * gdb.base/bang.exp: New testcase.
2744
f125c9a4
JB
27452003-06-23 Joel Brobecker <brobecker@gnat.com>
2746
2747 * gdb.base/langs.exp: Add some tests for the "minimal" language
2748 support.
2749
6e25beaf
EZ
27502003-06-23 Elena Zannoni <ezannoni@redhat.com>
2751
2752 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
2753 the testcase.
2754
2f816dda
DJ
27552003-06-22 Daniel Jacobowitz <drow@mvista.com>
2756
2757 * gdb.base/relocate.exp: Test add-symbol-file with a variable
2758 offset.
2759
db5a5748
DJ
27602003-06-22 Daniel Jacobowitz <drow@mvista.com>
2761
2762 * gdb.c++/pr-1210.cc: New file.
2763 * gdb.c++/pr-1210.exp: New file.
2764
1df0c130
DJ
27652003-06-21 Daniel Jacobowitz <drow@mvista.com>
2766
2767 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
2768 000-exec-continue.
2769
a92feac0
MK
27702003-06-15 Mark Kettenis <kettenis@gnu.org>
2771
2772 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
2773 on *-*-*bsd* instead of *-*-freebsd*.
2774
81a58f5b
AC
27752003-06-14 Andrew Cagney <cagney@redhat.com>
2776
2777 * gdb.base/store.exp: Test longest and doublest. Test all
2778 parameters. Weaken return statement match.
2779 * gdb.base/store.c: Add longest and doublest - aka long long and
2780 long double functions. Put all parameters into local register
2781 variables. Use negative values.
2782
b257a0d3
AC
27832003-06-14 Andrew Cagney <cagney@redhat.com>
2784
2785 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
2786 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
2787 exit status.
2788 * gdb.base/fileio.exp: Disable target when nointerrupts and
2789 noinferiorio, instead of limiting it to remote. Use remote_exec
2790 instead of system.
d63a86f8 2791
21c38304
JJ
27922003-06-12 Jeff Johnston <jjohnstn@redhat.com>
2793
2794 * gdb.base/float.exp: Add ia64 support.
2795
1bcdb424
CV
27962003-06-12 Corinna Vinschen <vinschen@redhat.com>
2797
2798 * gdb.base/fileio.exp: Run only on remote targets.
2799
6aeb981f
CV
28002003-06-10 Corinna Vinschen <vinschen@redhat.com>
2801
2802 * gdb.base/fileio.c: New file, testing File-I/O.
2803 * gdb.base/fileio.exp: Ditto.
2804
53df362e
RG
28052003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
2806
2807 * gdb.base/shreloc.exp: New file, check symbol values obtained from
2808 shared objects after relocation at load time (gdb PR/1132).
2809 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
2810 as above, part of the shared object relocation test.
2811
ffee1b46
MK
28122003-06-08 Mark Kettenis <kettenis@gnu.org>
2813
b5ca3722
MK
2814 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
2815 fully filled history list.
2816 * gdb.base/gdb_history: New file.
2817
03ed860d
MK
2818 * gdb.base/signals.exp: XFAIL "continue to func1" on
2819 i*86-*-freebsd*.
2820
ffee1b46
MK
2821 * gdb.base/attach.exp: When trying to attach to a nonexistent
2822 process, make it possible to specify the PID based on the target,
2823 and do so for *-*-freebsd*.
2824
d80dbb52
RH
28252003-06-02 Richard Henderson <rth@redhat.com>
2826
2827 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
2828
6dd77b81
RH
28292003-06-02 Richard Henderson <rth@redhat.com>
2830
2831 * gdb.base/selftest.exp: Next over lim_at_start initialization.
2832
f6347e16
RH
28332003-06-02 Richard Henderson <rth@redhat.com>
2834
2835 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
2836
2c161407
DJ
28372003-06-01 Daniel Jacobowitz <drow@mvista.com>
2838
2839 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
2840 of globalvar.
2841
572eb746
MK
28422003-06-01 Mark Kettenis <kettenis@gnu.org>
2843
2844 * gdb.asm/asm-source.exp: Check for memory read errors in
2845 disassembler test on *BSD too.
2846
9e9617a5
RH
28472003-06-01 Richard Henderson <rth@redhat.com>
2848
2849 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
2850 for .frame.
2851 (gdbasm_call): Lose ldgp.
2852 (gdbasm_startup): Add frame information.
2853 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
2854
7b34ad4e
MK
28552003-05-31 Mark Kettenis <kettenis@gnu.org>
2856
2857 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
2858 i?86-*-*.
2859
10059fdf
MK
28602003-05-30 Mark Kettenis <kettenis@gnu.org>
2861
2862 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2863 FreeBSD.
2864
acf4b816
RH
28652003-05-29 Richard Henderson <rth@redhat.com>
2866
2867 * gdb.asm/alpha.inc: New file.
2868 * gdb.asm/asm-source.exp: Use it.
2869
e9ecd949
JB
28702003-05-29 Jim Blandy <jimb@redhat.com>
2871
2872 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
2873 'core.PID'.
2874
e3e5a4f3
JB
28752003-05-22 Jim Blandy <jimb@redhat.com>
2876
2877 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
2878 backtrace.
d63a86f8 2879
72fe3d25
DC
28802003-05-20 David Carlton <carlton@math.stanford.edu>
2881
2882 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
2883 this time.
2884
58da2eb2
DC
28852003-05-19 David Carlton <carlton@bactrian.org>
2886
2887 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
2888 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
2889
1fcb5155
DC
28902003-05-19 David Carlton <carlton@bactrian.org>
2891
2892 * gdb.c++/namespace.exp: Add namespace scope and anonymous
2893 namespace tests.
2894 Bump copyright date.
2895 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
2896 (main): Call C::D::marker2.
2897 * gdb.c++/namespace1.cc: New file.
2898
85e85163
JJ
28992003-05-14 Jeff Johnston <jjohnstn@redhat.com>
2900
2901 Roland McGrath <roland@redhat.com>
d63a86f8 2902 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
2903 there is no manager thread.
2904
a25fbfec
JJ
29052003-05-08 Jeff Johnston <jjohnstn@redhat.com>
2906
d63a86f8
RM
2907 * gdb.threads/schedlock.exp: Remove assumption that all threads
2908 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
2909 in one of the child threads rather than the main thread.
2910
be375bae
JB
29112003-05-07 Jim Blandy <jimb@redhat.com>
2912
09bf6082
JB
2913 Add support for assembly source testing on the s390x.
2914 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
2915 architecture.
2916 * gdb.asm/s390x.inc: New file.
2917
be375bae
JB
2918 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
2919 succession of 'if' statements.
2920
00905d52
AC
29212003-05-05 Andrew Cagney <cagney@redhat.com>
2922
2923 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
2924
b1e29e33
AC
29252003-05-05 Andrew Cagney <cagney@redhat.com>
2926
2927 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
2928 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2929
e33d66ec
EZ
29302003-05-02 Elena Zannoni <ezannoni@redhat.com>
2931
2932 * gdb.base/charset.exp: Update based on new behavior of set/show
2933 charset commands.
2934
2b6fd0d8
AC
29352003-05-01 Andrew Cagney <cagney@redhat.com>
2936
2937 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
2938 variable do not give memory errors.
2939
130cacce
AF
29402003-04-30 Adam Fedor <fedor@gnu.org>
2941
2942 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
2943 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
2944 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
2945 gdb.objc/basicclass.m: : New files
2946
2947 * lib/gdb.exp (gdb_compile_objc): New procedure.
2948
bea71854
DJ
29492003-04-27 Daniel Jacobowitz <drow@mvista.com>
2950
2951 * gdb.base/signals.exp: Make backtrace tests more specific.
2952
0f20eeea
DC
29532003-04-23 David Carlton <carlton@bactrian.org>
2954
2955 * gdb.c++/maint.exp (test_first_component): Add tests for
2956 'operator' in more locations.
2957
c8c4d8dc
KB
29582003-04-16 Kevin Buettner <kevinb@redhat.com>
2959
2960 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
2961
3fe60e3c
EZ
29622003-04-16 Elena Zannoni <ezannoni@redhat.com>
2963
2964 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
2965 func marke' instead. Update test name.
2966
9219021c
DC
29672003-04-15 David Carlton <carlton@math.stanford.edu>
2968
2969 * gdb.c++/maint.exp: New file.
2970
5dd55bdd
EZ
29712003-04-14 Elena Zannoni <ezannoni@redhat.com>
2972
2973 * gdb.threads/schedlock.c: Change type of thread function argument
2974 to long, to avoid warnings on 64-bit platforms.
2975
00890572
EZ
29762003-04-14 Elena Zannoni <ezannoni@redhat.com>
2977
2978 * gdb.base/attach.exp: Add new message from ptrace in case of
2979 attaching to nonexistent process.
d63a86f8 2980
93201743
JB
29812003-04-11 Jim Blandy <jimb@redhat.com>
2982
2983 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2984 gdb.c++/userdef.cc: Place comments on the lines to which the
2985 marker function might return.
2986 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
2987 gdb.c++/userdef.exp: Look for those comments to check that we've
2988 returned to the right place, instead of checking line numbers.
2989
2a11c64d
EZ
29902003-04-11 Elena Zannoni <ezannoni@redhat.com>
2991
2992 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
2993 match on sourcefile name, instead of directory name.
2994
68ab8fc5
EZ
29952003-04-10 Elena Zannoni <ezannoni@redhat.com>
2996
d63a86f8 2997 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
2998 working directory name.
2999
5624293a
JB
30002003-04-09 Jim Blandy <jimb@redhat.com>
3001
3002 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3003 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
3004 after an inferior function call, report the failure, but allow the
3005 test to continue.
3006
f1f02ee4
SC
30072003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3008
3009 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3010 with -DPROTOTYPES.
3011
6eb79af0
SC
30122003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3013
3014 * gdb.base/break.exp: Revert last patch.
3015
8dfb4cf0
SC
30162003-04-04 Stephane Carrez <stcarrez@nerim.fr>
3017
3018 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3019 with -DPROTOTYPES.
3020
ed4c619a
AC
30212003-04-02 Andrew Cagney <cagney@redhat.com>
3022
3023 * gdb.base/callfuncs.exp: Make "print add" messages unique.
3024 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
3025 matching directories by the name breakpoint.
3026 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
3027 Make "continue to marker1" consistent.
3028 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
3029 message consistent.
3030 * lib/gdb.exp: Put "the program is no longer running", and "the
3031 program exited" in parenthesis.
3032 * lib/mi-support.exp: Ditto.
d63a86f8 3033
4e35d5f0 30342003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 3035
4e35d5f0
BR
3036 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
3037
71900fe8
AC
30382003-03-29 Andrew Cagney <cagney@redhat.com>
3039
3040 * gdb.base/sizeof.c (main): Print the value of '\377'.
3041 * gdb.base/sizeof.exp: Check the sign of '\377'.
3042
c0655a16
MC
30432003-03-27 Michael Chastain <mec@shout.net>
3044
3045 * gdb.base/gdb1090.exp: New file.
3046 * gdb.base/gdb1090.cc: New file.
3047
5b2a3989
JB
30482003-03-27 J. Brobecker <brobecker@gnat.com>
3049
3050 * gdb.gdb/observer.exp: New regression test.
3051
79876890
MC
30522003-03-27 Michael Chastain <mec@shout.net>
3053
3054 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
3055 * gdb.base/ptype.exp: Likewise.
3056
6eac95e3
CV
30572003-03-27 Corinna Vinschen <vinschen@redhat.com>
3058
3059 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
3060
e8c71839
MC
30612003-03-26 Michael Chastain <mec@shout.net>
3062
3063 * gdb.base/ptype.exp: Actually use some typedef'd types.
3064
71b10041
SC
30652003-03-21 Stephane Carrez <stcarrez@nerim.fr>
3066
3067 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
3068 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
3069
2512cf80
CV
30702003-03-20 Corinna Vinschen <vinschen@redhat.com>
3071
3072 * gdb.base/default.exp: Fix regular expression.
3073
0d195a4f
CV
30742003-03-20 Corinna Vinschen <vinschen@redhat.com>
3075
3076 * gdb.base/args.exp: Fix regular expression.
3077
8a2dbca8
CV
30782003-03-20 Corinna Vinschen <vinschen@redhat.com>
3079
3080 * gdb.base/help.exp: Allow Win32 child process.
3081
bf028682
CV
30822003-03-20 Corinna Vinschen <vinschen@redhat.com>
3083
3084 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
3085 when stepping out of main().
3086
182dbe85
CV
30872003-03-20 Corinna Vinschen <vinschen@redhat.com>
3088
3089 * gdb.base/default.exp: Check for win32 specific message when calling
3090 "run" without executable.
3091
d67a6ba5
CV
30922003-03-20 Corinna Vinschen <vinschen@redhat.com>
3093
3094 * gdb.base/args.exp: Expect .exe in output.
3095
a955b5bb
CV
30962003-03-20 Corinna Vinschen <vinschen@redhat.com>
3097
3098 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
3099 Cygwin native.
3100
bf6bad4b
AC
31012003-03-17 Andrew Cagney <cagney@redhat.com>
3102
3103 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
3104 vector registes.
3105 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
3106 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
3107
293e9a31
DC
31082003-03-17 David Carlton <carlton@math.stanford.edu>
3109
3110 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
3111 test, for PR breakpoints/38.
3112 Call test_watchpoint_and_breakpoint.
3113 * gdb.base/watchpoint.c (func3): New function.
3114 (main): Call func3.
3115
5330f2db
DC
31162003-03-04 David Carlton <carlton@math.stanford.edu>
3117
3118 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
3119 Garply<Garply<char> >:: garply".
3120 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
3121 with respect to PR c++/1111; note also PR c++/1113.
3122 (test_template_breakpoints): KFAIL "constructor breakpoint" with
3123 respect to PR c++/1062.
3124 KFAIL "destructor breakpoint" with respect to PR c++/1112.
3125
6ece72da
DC
31262003-03-03 David Carlton <carlton@math.stanford.edu>
3127
3128 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
3129 with respect to PR c++/57.
3130 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
3131 c++/826.
3132 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
3133 respect to PR c++/57.
3134
85ca1584
DC
31352003-03-03 David Carlton <carlton@math.stanford.edu>
3136
3137 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
3138 respect to PR c++/33 into FAILs.
3139
98e9c5b8
MC
31402003-03-03 Michael Chastain <mec@shout.net>
3141
7bedbf27
MC
3142 * configure.in: Update copyright years.
3143
31442003-03-03 Michael Chastain <mec@shout.net>
3145
3146 * Makefile.in: Update copyright years.
98e9c5b8 3147
f683e100
DC
31482003-02-28 David Carlton <carlton@math.stanford.edu>
3149
3150 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
3151 print class instead of struct and/or superfluous protection
3152 specifiers, as long as the resulting output is equivalent to the
3153 source code.
3154 Delete FIXME from end of messages on tests that don't need
3155 fixing.
3156
a9e0cf2c
DC
31572003-02-28 David Carlton <carlton@math.stanford.edu>
3158
3159 * gdb.c++/templates.exp (do_tests): Allow const in the two
3160 Foo<volatile char *>::foo tests.
3161
e8d359df
MS
31622003-02-27 Michael Snyder <msnyder@redhat.com>
3163
d63a86f8 3164 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
3165 will be consistant.
3166
0b71dc91
DC
31672003-02-26 David Carlton <carlton@math.stanford.edu>
3168
3169 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
3170 char *>::foo" test with respect to PR c++/33. Create a new test
3171 which is identical to that one except that it doesn't put the
3172 space between the "char" and the "*"; KFAIL it, too.
3173
dd14ab43
DC
31742003-02-26 David Carlton <carlton@math.stanford.edu>
3175
3176 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
3177 template types into either PASSes or KFAILs (corresponding to PR
3178 c++/57). Tweak indentation. Update copyright.
3179
1146c7f1
SC
31802003-02-23 Stephane Carrez <stcarrez@nerim.fr>
3181
3182 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
3183
74641dfb
MC
31842003-02-13 Michael Chastain <mec@shout.net>
3185
3186 * gdb.base/exprs.exp: Remove i960 remnants.
3187 * gdb.base/funcargs.exp: Likewise.
3188 * gdb.base/list.exp: Likewise.
3189 * gdb.base/ptype.exp: Likewise.
3190
559cd2d0
DC
31912003-02-14 David Carlton <carlton@math.stanford.edu>
3192
3193 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
3194 pEe->D::vg()" from XFAIL to KFAIL.
3195
c4f90d87
JM
31962003-02-13 Jason Molenda (jmolenda@apple.com)
3197
3198 * gdb.base/maint.exp: Update maint print statistics regexp to include
3199 new entries.
3200
cbc4d97c
MC
32012003-02-13 Michael Chastain <mec@shout.net>
3202
3203 * gdb.c++/inherit.exp: Remove call to get_debug_format.
3204
40f235b7
MC
32052003-02-12 Michael Chastain <mec@shout.net>
3206
3207 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
3208 * gdb.c++/inherit.exp: Likewise.
3209 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
3210 * gdb.c++/templates.exp: Likewise.
3211 * gdb.c++/virtfunc.exp: Likewise.
3212
c56716b0
JM
32132003-02-06 Jason Molenda (jason-cl@molenda.com)
3214
3215 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
3216 why the code is written that way.
3217
070afcf8
MC
32182003-02-05 Michael Chastain <mec@shout.net>
3219
3220 * gdb.base/dump.exp: Add missing copyright line.
3221
5d0331e5
JM
32222003-02-05 Jason Molenda (jason-cl@molenda.com)
3223
f7ae6d3e 3224 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
3225 at the beginning so the breakpoint doesn't get set on the loop.
3226
92851186
MC
32272003-02-05 Michael Chastain <mec@shout.net>
3228
3229 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
3230 output for configurations with gcc 2.95.3.
3231
cbf1e085
AC
32322003-02-05 Keith Seitz <keiths@redhat.com>
3233 Andrew Cagney <ac131313@redhat.com>
3234
3235 * gdb.mi/mi-cli.exp: New file.
d63a86f8 3236
29518e1e
MC
32372003-02-04 Michael Chastain <mec@shout.net>
3238
3239 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
3240 Call perror and then continue.
3241
5af1d5f3
MC
32422003-02-03 Michael Chastain <mec@shout.net>
3243
3244 * gdb.c++/pr-1023.cc: New file.
3245 * gdb.c++/pr-1023.exp: New file.
3246
6b549786
JB
32472003-02-05 Jim Blandy <jimb@redhat.com>
3248
3249 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
3250 it's local to foobar. Check for it there, and check that it's not
3251 present in main.
3252 * gdb.c++/local.cc (marker2): New function.
3253 (foobar): Call marker1.
3254 (main): Call marker2 instead of marker1.
3255
67f16606
AC
32562003-02-04 Andrew Cagney <ac131313@redhat.com>
3257
3258 * gdb.disasm/mn10200.exp: Obsolete file.
3259 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
3260 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
3261 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
3262
1c5cb38e
DC
32632003-02-04 David Carlton <carlton@math.stanford.edu>
3264
3265 * gdb.c++/overload.exp: Test intToChar(1).
3266 * gdb.c++/overload.cc (intToChar): New.
3267 (main): Call intToChar.
3268
d1fe6965
DC
32692003-02-03 David Carlton <carlton@math.stanford.edu>
3270
3271 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
3272 'might_kfail' arg.
3273 KFAIL some of the continue_to_bp_overloaded calls, according to
3274 PR c++/1025.
3275
9ba61c5d
MC
32762003-02-01 Michael Chastain <mec@shout.net>
3277
3278 * gdb.base/advance.c (marker1): New marker function.
3279 * gdb.base/advance.exp: When the 'advance' command lands on the
3280 return breakpoint, it can legitimately stop on either the
3281 current line or the next line. Accommodate both outcomes.
3282 * gdb.base/until.exp: Likewise.
3283
e7494ffb
AC
32842003-02-02 Andrew Cagney <ac131313@redhat.com>
3285
3286 2002-11-10 Jason Molenda (jason-cl@molenda.com):
3287 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
3288 now a list, not a tuple.
3289 * gdb.mi/mi-var-display.exp: Ditto.
3290 * gdb.mi/gdb792.exp: Ditto.
3291
075559bc
AC
32922003-02-01 Andrew Cagney <ac131313@redhat.com>
3293
3294 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
3295 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
3296 stack backtraces.
3297 * gdb.mi/mi-syn-frame.c: Part of same.
3298
2bd4c7b1
MK
32992003-02-01 Mark Kettenis <kettenis@gnu.org>
3300
3301 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3302 gdb.mi/mi1-pthreads.exp: Return instead of calling
3303 gdb_suppress_entire_file.
3304
eabd8992
MS
33052003-02-01 Mark Salter <msalter@redhat.com>
3306
3307 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
3308
71469e2f
MS
33092003-01-31 Mark Salter <msalter@redhat.com>
3310
3311 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
3312 Support empty arg.
3313
38a94d44
MC
33142003-01-30 Michael Chastain <mec@shout.net>
3315
3316 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
3317 This was a workaround for a UTF-8 bug in readline 4.3. The bug
3318 has been fixed in gdb/readline on 2003-01-09.
3319
19ea9e73
MS
33202003-01-29 Michael Snyder <msnyder@redhat.com>
3321
e8d359df
MS
3322 * gdb.base/maint.exp: Allow for leading underscore in symbol.
3323 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
3324 * gdb.base/args.exp: Skip if target does not support args passing.
3325
2307bd6a
DJ
33262003-01-22 Daniel Jacobowitz <drow@mvista.com>
3327
19ea9e73 3328 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
3329 gdb_test. Accept a list of expect arguments as the third
3330 parameter.
3331 (gdb_test): Use it.
3332
f2dd3617
EZ
33332003-01-20 Elena Zannoni <ezannoni@redhat.com>
3334
3335 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
3336 allow for different test tree configurations. Update some
3337 tescases accordingly.
3338 * gdb.arch/altivec-regs.exp: Ditto.
3339 * gdb.asm/asm-source.exp: Ditto.
3340 * gdb.base/advance.exp: Ditto.
3341 * gdb.base/display.exp: Ditto.
d63a86f8 3342 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
3343 * gdb.base/mips_pro.exp: Ditto.
3344 * gdb.base/overlays.exp: Ditto.
3345 * gdb.base/relocate.exp: Ditto.
3346 * gdb.base/setshow.exp: Ditto.
3347 * gdb.base/step-line.exp: Ditto.
3348 * gdb.base/step-test.exp: Ditto.
3349 * gdb.base/until.exp: Ditto.
3350 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
3351
c71cdefd
DC
33522003-01-17 David Carlton <carlton@math.stanford.edu>
3353
3354 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
3355 corresponding to PR c++/945.
3356 Update copyright.
3357
fdba05d7
DC
33582003-01-17 David Carlton <carlton@math.stanford.edu>
3359
3360 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
3361 corresponding to PR c++/68.
3362
33632003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
3364
3365 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
3366 (test_paddr_hairy_functions): Call print_addr_2_kfail for
3367 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
3368
c362c33a
EZ
33692003-01-15 Elena Zannoni <ezannoni@redhat.com>
3370
0fbc361c
EZ
3371 * gdb.base/break.exp: Fix change of default location, because of
3372 removal of until tests.
3373 * gdb.base/help.exp: Update test for new 'until' help message.
3374 Add test for help on 'advance'.
c362c33a
EZ
3375 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
3376
dabf8a35
MK
33772003-01-15 Mark Kettenis <kettenis@gnu.org>
3378
3379 * gdb.base/default.exp: Adapt "info float" test for recent changes
3380 to that command. Add test for "info vector".
3381 * gdb.base/float.exp: New file. Add test for "info float" that
3382 resembles the old test in gdb.base/default.exp.
3383
a1769aca
DC
33842003-01-15 David Carlton <carlton@math.stanford.edu>
3385
3386 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
3387
82025e13
EZ
33882003-01-15 Elena Zannoni <ezannoni@redhat.com>
3389
3390 * gdb.base/break.exp: Move the tests of until command from here...
3391 * gdb.base/until.exp: ... to here. New file. Add other tests.
3392 * gdb.base/advance.c: New file.
3393 * gdb.base/advance.exp: New file.
3394
8f9ab801
EZ
33952003-01-14 Elena Zannoni <ezannoni@redhat.com>
3396
3397 * gdb.base/args.c: New file.
3398 * gdb.base/args.exp: New file.
3399
9ae66589
DJ
34002003-01-14 Daniel Jacobowitz <drow@mvista.com>
3401
3402 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
3403
8d77e5c3
DJ
34042003-01-14 Daniel Jacobowitz <drow@mvista.com>
3405
3406 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
3407
12d2f0a1
DJ
34082003-01-14 Daniel Jacobowitz <drow@mvista.com>
3409
3410 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
3411 dates.
3412
6ca37014
DJ
34132003-01-13 Daniel Jacobowitz <drow@mvista.com>
3414
3415 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
3416
b0023472
DJ
34172003-01-13 Daniel Jacobowitz <drow@mvista.com>
3418
3419 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
3420 (ptype &*"foo").
3421 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
3422
d6abaea5
DJ
34232002-01-13 Daniel Jacobowitz <drow@mvista.com>
3424
3425 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
3426 * gdb.mi/mi1-console.exp: Likewise.
3427
dfd536a7
DJ
34282002-01-13 Daniel Jacobowitz <drow@mvista.com>
3429
3430 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
3431 * gdb.mi/mi1-console.exp: Likewise.
3432
a1fb14a2
DJ
34332003-01-13 Daniel Jacobowitz <drow@mvista.com>
3434
3435 * gdb.c++/overload.exp: Remove some fixed XFAILs.
3436
c4cf40b7
DJ
34372003-01-09 Daniel Jacobowitz <drow@mvista.com>
3438
3439 * gdb.base/detach.exp: New test.
3440
696d5a5b
DJ
34412003-01-09 Daniel Jacobowitz <drow@mvista.com>
3442
3443 * Makefile.in (ALL_SUBDIRS): New variable.
3444 (subdirs, clean, distclean): Use it.
3445 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
3446 regenerating Makefile, since it is generated from the top level.
3447 * gdb.asm/Makefile.in: Likewise.
3448 * gdb.base/Makefile.in: Likewise.
3449 * gdb.c++/Makefile.in: Likewise.
3450 * gdb.disasm/Makefile.in: Likewise.
3451 * gdb.java/Makefile.in: Likewise.
3452 * gdb.mi/Makefile.in: Likewise.
3453 * gdb.threads/Makefile.in: Likewise.
3454 * gdb.trace/Makefile.in: Likewise.
3455
754533e4
DC
34562003-01-09 David Carlton <carlton@math.stanford.edu>
3457
3458 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
3459 Add copyright year 2003.
3460
d8b3e9ee
MC
34612003-01-06 Michael Chastain <mec@shout.net>
3462
3463 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
3464 When selecting a thread, 'line' and 'file' are optional.
3465 * gdb.mi/mi1-pthreads.exp: Likewise.
3466
8e9e0fe6
AS
34672003-01-06 Andreas Schwab <schwab@suse.de>
3468
3469 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
3470 failures.
3471
b5ab8ff3
DJ
34722003-01-04 Daniel Jacobowitz <drow@mvista.com>
3473
3474 Fix PR gdb/844
3475 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
3476 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
3477
3478 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
3479 instead of calling gdb_suppress_entire_file.
3480 * gdb.threads/print-threads.exp: Likewise.
3481 * gdb.threads/schedlock.exp: Likewise.
3482
3483 * gdb.threads/killed.exp: Return instead of calling
3484 gdb_suppress_entire_file.
3485 * gdb.threads/linux-dp.exp: Likewise.
3486 * gdb.threads/pthreads.exp: Likewise.
3487
1e698235
DJ
34882003-01-04 Daniel Jacobowitz <drow@mvista.com>
3489
3490 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
3491 stabs.
3492 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
3493 * gdb.base/whatis.exp: Always allow (void) after function names.
3494
147ff08c
DJ
34952003-01-04 Daniel Jacobowitz <drow@mvista.com>
3496
3497 * gdb.c++/casts.exp: Correct regexp.
3498
dc62bfc2
MK
34992003-01-04 Mark Kettenis <kettenis@gnu.org>
3500
3501 * configure.in: Call AC_CONFIG_HEADER. Don't call
3502 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
3503 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
3504 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
3505 aforementioned directories in the AC_OUPUT call.
3506 * config.hin: New file.
3507 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3508 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
3509 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
3510 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
3511 pass -I$objdir instead of -I$objdir/$subdir in compilation.
3512 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
3513 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
3514 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
3515 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
3516 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
3517 gdb.threads/configure.in, gdb.threads/configure,
3518 gdb.threads/config.in, gdb.trace/configure.in,
3519 gdb.trace/configure: Removed.
3520
77afa639
MC
35212003-01-03 Michael Chastain <mec@shout.net>
3522
3523 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
3524 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
3525
7634bb6e
DJ
35262003-01-03 Daniel Jacobowitz <drow@mvista.com>
3527
3528 * gdb.base/store.exp: Fix regular expressions.
3529
b39c905e
MK
35302002-12-28 Mark Kettenis <kettenis@gnu.org>
3531
3532 * configure.in: Rewrite.
3533 * configure: Regenerated.
3534
0a8551dd
DC
35352003-01-03 David Carlton <carlton@math.stanford.edu>
3536
3537 * gdb.base/psymtab.exp: New file.
3538 * gdb.base/psymtab1.c: Ditto.
3539 * gdb.base/psymtab2.c: Ditto.
3540
c60b7188
AF
35412002-12-23 Adam Fedor <fedor@gnu.org>
3542
3543 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
3544
ee73db83
DC
35452002-12-23 David Carlton <carlton@math.stanford.edu>
3546
3547 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
3548 and current_directory initialization.
3549
d6c1774e
JB
35502002-12-22 Jim Blandy <jimb@redhat.com>
3551
f0a847b8
JB
3552 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
3553 rather than as part of the output file name.
3554
d6c1774e
JB
3555 * gdb.base/attach.exp: There's no need to copy the test program to
3556 /tmp; that was only ever necessary on HP/UX, and this test is
3557 entirely disabled there anyway.
3558
f0708dbb
JB
35592002-12-21 Jim Blandy <jimb@redhat.com>
3560
4c2acfea
JB
3561 * gdb.c++/psmang.exp: Doc fix.
3562
f0708dbb
JB
3563 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
3564 test.
3565
9579e000
DC
35662002-12-20 David Carlton <carlton@math.stanford.edu>
3567
3568 * gdb.c++/annota2.exp: KFAIL annotate-quit.
3569
d1810171
MC
35702002-12-18 Michael Chastain <mec@shout.net>
3571
3572 * gdb.c++/annota2.exp: Add copyright year 2002.
3573
76565097
DC
35742002-12-17 David Carlton <carlton@math.stanford.edu>
3575
3576 * gdb.c++/try_catch.cc: Add marker comments.
3577 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
3578 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
3579 * gdb.c++/m-static.cc: Ditto.
3580 * gdb.c++/m-static1.cc: Ditto.
3581 * gdb.c++/try_catch.cc: Ditto.
3582
da81390b
JJ
35832002-12-16 Jeff Johnston <jjohnstn@redhat.com>
3584
3585 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
3586 to see whether we are using the new -environment-directory
3587 command which resets via -r or the old version of the command
3588 which may prompt the user. Part of fix for gdb/741.
3589
b304d130
AC
35902002-12-13 Andrew Cagney <ac131313@redhat.com>
3591
3592 * gdb.fortran/types.exp: Update obsolete comment.
3593 * gdb.fortran/exprs.exp: Ditto.
3594 * lib/gdb.exp: Delete obsolete code.
3595 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
3596 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
3597 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
3598 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
3599 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
3600 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
3601 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
3602 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
3603 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
3604 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
3605 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
3606 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
3607 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
3608 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
3609 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
3610 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
3611 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
3612 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
3613 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
3614 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
3615 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
3616 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
3617 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
3618 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
3619 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
3620 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
3621 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
3622 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
3623 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
3624 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
3625 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
3626 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
3627 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
3628 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
3629 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
3630 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
3631 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
3632
a23b6e6a
DC
36332002-12-11 David Carlton <carlton@math.stanford.edu>
3634
3635 * gdb.c++/m-data.exp: Add test for members that shadow global
3636 variables: see PR gdb/804.
3637 * gdb.c++/m-data.cc: Ditto.
3638
6604731b
DJ
36392002-12-10 Daniel Jacobowitz <drow@mvista.com>
3640
3641 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
3642
de46ecd7
DC
36432002-12-06 David Carlton <carlton@math.stanford.edu>
3644
3645 * gdb.base/store.c: Don't declare functions static.
3646
27e829d0
AC
36472002-12-04 Andrew Cagney <ac131313@redhat.com>
3648
3649 * gdb.base/store.exp, gdb.base/store.c: New files.
3650
92806416
DJ
36512002-12-03 Daniel Jacobowitz <drow@mvista.com>
3652
3653 * gdb.base/selftest.exp: Update for current gdb.
3654
3bcbaac5
DJ
36552002-12-03 Daniel Jacobowitz <drow@mvista.com>
3656
3657 * gdb.base/maint.exp: Only dump symbols from one source file
3658 or objfile.
3659
f4f00b1f
DJ
36602002-12-03 Daniel Jacobowitz <drow@mvista.com>
3661
3662 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
3663 function call.
3664
f1c8a949
JB
36652002-11-25 Jim Blandy <jimb@redhat.com>
3666
3667 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
3668 function appearing in error message.
3669
9e297a97
DJ
36702002-11-21 Daniel Jacobowitz <drow@mvista.com>
3671
3672 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
3673
1f312e79
JJ
36742002-11-08 Jeff Johnston <jjohnstn@redhat.com>
3675
d63a86f8
RM
3676 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
3677 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
3678 should be in mi console format. This is part of fix for PR gdb/604.
3679
83c31e7d
FN
36802002-09-18 Fernando Nasser <fnasser@redhat.com>
3681
3682 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
3683 which explicitly prints the zero offset as "+0".
3684
322b3f65
DJ
36852002-10-22 Daniel Jacobowitz <drow@mvista.com>
3686
3687 * gdb.threads/schedlock.c (args): Make unsigned.
3688
36892002-10-21 Daniel Jacobowitz <drow@mvista.com>
3690
3691 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
3692 numbers. Allow "foo2|selected stack frame".
3693 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
3694 * gdb.asm/asmsrc2.s: Likewise.
3695 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
3696 comments.
3697 * gdb.asm/mips.inc: New file.
3698
5e2fe5b8
AF
36992002-10-18 Adam Fedor <fedor@gnu.org>
3700
3701 * gdb.base/default.exp: Update expected output to include 'ObjC'.
3702 * gdb.base/help.exp: Likewise.
3703
abe1a5d0
KB
37042002-10-17 Kevin Buettner <kevinb@redhat.com>
3705
3706 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
3707 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
3708
10abb1d4
JB
37092002-10-02 Jim Blandy <jimb@redhat.com>
3710
3711 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
3712
1f609b42
AC
37132002-10-01 Andrew Cagney <ac131313@redhat.com>
3714
3715 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
3716 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
3717 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
3718 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
3719 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
3720 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
3721 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
3722
0aee02e4
AC
37232002-09-29 Andrew Cagney <ac131313@redhat.com>
3724
3725 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
3726 * mi0-disassemble.exp, mi0-eval.exp: Delete.
3727 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
3728 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
3729 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
3730 * mi0-var-block.exp, mi0-var-child.exp: Delete.
3731 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 3732
6fde09ad
KB
37332002-09-27 Kevin Buettner <kevinb@redhat.com>
3734
3735 * gdb.base/annota1.exp (info break): Make directory components of
3736 path optional since not all compilers emit this debug information.
3737
3738 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
3739 step ends up stepping out of the function instead of stopping on
3740 the epilogue.
3741
9e8aab75
KS
37422002-09-26 Keith Seitz <keiths@redhat.com>
3743
3744 * lib/insight-support.exp (gdbtk_start): Figure out where
3745 the insight executable is based on where gdb is. Use this
3746 executable to start insight instead of gdb.
3747
e36180d7
AC
37482002-09-25 Andrew Cagney <cagney@redhat.com>
3749
3750 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
3751
9dd34b2b
AC
37522002-09-24 Andrew Cagney <ac131313@redhat.com>
3753
3754 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
3755 test_isolated_complaints.
3756 (test_empty_complaint): New function.
3757 (test_empty_complaints): New function. Check no output when no
3758 complaints.
d63a86f8 3759
dea97812
KB
37602002-09-19 Jim Blandy <jimb@redhat.com>
3761
3762 * gdb.base/charset.exp, gdb.base/charset.c: New files.
3763
54951bd7
AC
37642002-09-19 Andrew Cagney <ac131313@redhat.com>
3765
3766 * gdb.gdb/complaints.exp: New file.
3767
dec43320
AC
37682002-09-18 Andrew Cagney <ac131313@redhat.com>
3769
3770 * gdb.base/maint.exp: Check `help maint internal-warning'.
3771
e70d6e3f
DC
37722002-09-18 David Carlton <carlton@math.stanford.edu>
3773
3774 * gdb.c++/m-static.exp: Remove breakpoints depending on line
3775 numbers, and replace them by a single breakpoint after the
3776 constructors are all finished.
3777 Add test 4.
3778 * gdb.c++/m-static.cc: Add test 4.
3779 * gdb.c++/m-static.h: New file.
3780 * gdb.c++/m-static1.cc: New file.
3781
3782 * gdb.c++/printmethod.exp: New file.
3783 * gdb.c++/printmethod.cc: New file.
3784
3785 * gdb.c++/pr-574.exp: New file.
3786 * gdb.c++/pr-574.cc: New file.
3787
afb5c968
CV
37882002-09-18 Corinna Vinschen <vinschen@redhat.com>
3789
3790 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
3791 embedded targets which never actually exit.
3792
31e45dee
FN
37932002-09-18 Fernando Nasser <fnasser@redhat.com>
3794
3795 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
3796 "don't step after run" as unresolved or unsupported, instead of xfail.
3797
a283c5a1
CV
37982002-09-18 Corinna Vinschen <vinschen@redhat.com>
3799
3800 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
3801 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
3802 Add newline to expected string in "step out of main (status wrapper)"
3803 case.
3804
11350d2a
CV
38052002-09-18 Corinna Vinschen <vinschen@redhat.com>
3806
3807 * lib/gdb.exp (rerun_to_main): Allow restarting application.
3808 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
3809
0deec7d6
TT
38102002-09-17 Tom Tromey <tromey@redhat.com>
3811
3812 * gdb.base/printcmds.exp (test_print_string_constants): Expect
3813 \000, not \0, in double-quoted string.
3814
b2b4a1b5
CV
38152002-09-14 Corinna Vinschen <vinschen@redhat.com>
3816
c9d37158 3817 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
3818 string after running the commands execution on breakpoint tests.
3819
1c56143a
CV
38202002-09-13 Corinna Vinschen <vinschen@redhat.com>
3821
3822 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
3823
37f8da45
JB
38242002-09-12 Joel Brobecker <brobecker@gnat.com>
3825
3826 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
3827
08b468e0
KS
38282002-09-10 Keith Seitz <keiths@redhat.com>
3829
3830 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
3831 runto proc.
3832 (mi_run_to_main): Use mi_runto.
3833 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
3834
dc360f58
KS
38352002-09-10 Keith Seitz <keiths@redhat.com>
3836
3837 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
3838 regexp for stopping at main. Could have multiple event notifications.
3839 Don't assume that main was declared with no parameters.
3840 (mi_next): Use mi_step_to.
3841 (mi_step): Use mi_next_to.
3842
ce3abcfb
CV
38432002-09-09 Corinna Vinschen <vinschen@redhat.com>
3844
3845 * gdb.base/default.exp: Fix expected string in `info float' test.
3846
d1f5b980
BE
38472002-09-09 Ben Elliston <bje@redhat.com>
3848
3849 * config/mips.exp: Update comments.
3850 * config/mips-idt.exp: Likewise.
3851 * config/nind.exp: Likewise.
3852 * config/slite.exp: Likewise.
3853 * config/sparclet.exp: Likewise.
3854 * config/udi.exp: Likewise.
3855 * config/vx.exp: Likewise.
3856 * config/vxworks29k.exp: Likewise.
3857
2f71430b
JB
38582002-09-05 Jim Blandy <jimb@redhat.com>
3859
3860 * gdb.threads/killed.exp: Fix test failure message.
3861
7ddebc7e
KS
38622002-09-04 Keith Seitz <keiths@redhat.com>
3863
3864 * lib/mi-support.exp: Update copyright.
3865 (mi_gdb_test): Increase the priority of the expected pattern
3866 so that it matches gdb_test.
3867
0ae67eb3
KS
38682002-09-03 Keith Seitz <keiths@redhat.com>
3869
3870 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
3871 Use integer comparison instead of string comparison for testing
3872 whether binary was built.
3873
38fc42c8
JB
38742002-09-03 Jim Blandy <jimb@redhat.com>
3875
3876 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
3877
b6ff0e81
JB
38782002-08-29 Jim Blandy <jimb@redhat.com>
3879
3880 * gdb.threads/pthreads.exp: Move the portable thread compilation
3881 code into a function in lib/gdb.exp, and call that from here.
3882 * lib/gdb.exp (gdb_compile_pthreads): New function.
3883
07c98896
KS
38842002-08-29 Keith Seitz <keiths@redhat.com>
3885
3886 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
3887 expect_out so that callers can get at it.
3888
0312286c
DJ
38892002-08-23 Daniel Jacobowitz <drow@mvista.com>
3890
3891 * gdb.threads/print-threads.c: New file.
3892 * gdb.threads/print-threads.exp: New file.
3893 * gdb.threads/schedlock.c: New file.
3894 * gdb.threads/schedlock.exp: New file.
3895
dd039bc4
EZ
38962002-08-22 Elena Zannoni <ezannoni@redhat.com>
3897
3898 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
3899 not altivec.c.
3900
1f36144c
MK
39012002-08-17 Mark Kettenis <kettenis@gnu.org>
3902
3903 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
3904 targets. The problem should be fixed now.
3905
16057ec7 39062002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
3907
3908 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
3909 2002-07-24 change that removes final dots from error messages.
3910
3c1499ad
TT
39112002-08-13 Tom Tromey <tromey@redhat.com>
3912
3913 * gdb.base/readline.exp: New file.
3914
a20ce2c3
AC
39152002-08-01 Andrew Cagney <ac131313@redhat.com>
3916
3917 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
3918 supress message.
3919
db034ac5
AC
39202002-08-01 Andrew Cagney <cagney@redhat.com>
3921
3922 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
3923 CHILL_FOR_TARGET and CHILL_LIB.
3924 * configure.in (configdirs): Remove gdb.chill.
3925 * configure: Regenerate.
3926 * lib/gdb.exp: Obsolete references to chill.
3927 * gdb.fortran/types.exp: Ditto.
3928 * gdb.fortran/exprs.exp: Ditto.
3929
3e000b18
KB
39302002-07-30 Kevin Buettner <kevinb@redhat.com>
3931
3932 * gdb.base/shlib-call.exp (additional_flags): Conditionally
3933 set Irix-specific compile and link flags.
3934
28f4966b
KB
39352002-07-29 Kevin Buettner <kevinb@redhat.com>
3936
3937 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
3938 source files. The ``-o'' option doesn't work with the ``-E'' option
3939 when using the Irix compiler.
3940
46c0d5a6
DJ
39412002-07-19 Daniel Jacobowitz <drow@mvista.com>
3942
3943 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
3944 Improve support for reusing an exec file. Copy exec file
3945 to target, and run gdbserver on the target instead of on the host.
3946
eecf4bed
JB
39472002-07-18 Jim Blandy <jimb@redhat.com>
3948
0f815cdf
JB
3949 * gdb.base/ending-run.exp: Don't expect to see the program end in
3950 some orderly fashion when we're running on a real stand-alone
3951 board.
3952
eecf4bed
JB
3953 * gdb.base/interrupt.exp: Correct logic for skipping tests on
3954 targets that don't support interrupts.
3955
52d309e4
JB
39562002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
3957
3958 * gdb.base/attach.exp: Add patterns to match output from /proc-based
3959 systems.
3960 Move comments in expect statements to inside the actions, so that they
3961 don't get matched against.
3962
ff683d9e
MK
39632002-07-10 Mark Kettenis <kettenis@gnu.org>
3964
3965 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
3966 function when asleep" test.
3967
b5356753
AC
39682002-07-10 Andrew Cagney <ac131313@redhat.com>
3969
3970 * gdb.base/page.exp: Rewrite to handle problems with very long
3971 `info set' output. Update copyright.
3972
6aa4d13a
AC
39732002-06-26 Andrew Cagney <ac131313@redhat.com>
3974
3975 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
3976 gdb.threads-hp.
3977 * gdb.hp/configure: Regenerate.
3978 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
3979 * gdb.hp/gdb.threads-hp/configure: Delete file.
3980 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
3981
8cf8c2b8
AC
39822002-06-22 Andrew Cagney <ac131313@redhat.com>
3983
3984 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
3985 setlocale, bindtextdomain and textdomain.
3986
6827a8f8
JB
39872002-06-11 Jim Blandy <jimb@redhat.com>
3988
919d772c
JB
3989 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
3990 preprocessor macro information is present.
3991
6827a8f8
JB
3992 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
3993 tests.
3994
c15b0d21
MS
39952002-06-06 Michael Snyder <msnyder@redhat.com>
3996
c5984d70
MS
3997 * gdb.base/overlays.exp: Record addresses of overlay
3998 functions in TCL variables rather than in GDB variables,
3999 to avoid having GDB convert them to pointers (with loss
4000 of information).
4001
d63a86f8 4002 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 4003 default linker script changes.
c15b0d21
MS
4004 * gdb.base/long_long.exp: Add check for sizeof (long double).
4005
be26fe0d
ML
40062002-06-06 Michal Ludvig <mludvig@suse.cz>
4007
4008 * gdb.asm/asm-source.exp: Add x86-64 target.
4009 * gdb.asm/x86_64.inc: New.
d63a86f8 4010
258093ca 40112002-05-30 Michael Chastain <mec@shout.net>
258093ca 4012
4b3153f1 4013 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
4014 * gdb.c++/m-static.cc: New file.
4015 * gdb.c++/m-static.exp: New file.
4016
241264c6
MS
40172002-05-28 Michael Snyder <msnyder@redhat.com>
4018
4019 * gdb.base/call-ar-st.exp: Allow for reduced floating point
4020 precision.
4021
9bba8c8f 40222002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 4023
4b3153f1 4024 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
4025 * gdb.c++/m-data.cc: New file.
4026 * gdb.c++/m-data.exp: New file.
4027
40282002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 4029
4b3153f1 4030 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 4031 * gdb.c++/try_catch.cc: New file.
d63a86f8 4032 * gdb.c++/try_catch.exp: New file.
9bba8c8f 4033
def1b996
MC
40342002-05-27 Michael Chastain <mec@shout.net>
4035
4036 * gdb.c++/local.exp: Accept more nested types in output.
4037
522ba268
MC
40382002-05-26 Michael Chastain <mec@shout.net>
4039
4040 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
4041
277254ba
MS
40422002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
4043
4044 * lib/gdb.exp (gdb_wrapper_init): Just because
4045 gdb_wrapper_file exists, this does not mean that the file
4046 should not be rebuilt. That is what gdb_wrapper_initialized
4047 is for.
4048 (default_gdb_init): Reset gdb_wrapper_initialized.
4049
b61a8733
MS
40502002-05-23 Michael Snyder <msnyder@redhat.com>
4051
d63a86f8 4052 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
4053 the precision of the floating point test results.
4054 * gdb.base/call-rt-st.exp: Ditto.
4055
b61a8733
MS
4056 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
4057 * gdb.base/call-rt-st.exp: Ditto.
4058
56f6e910
MC
40592002-05-19 Michael Chastain <mec@shout.net>
4060
4061 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
4062
ad0b0016
EZ
40632002-05-19 Elena Zannoni <ezannoni@redhat.com>
4064
4065 * configure.in (configdirs): Add gdb.arch.
4066 * configure: Regenerate.
4067
f617d2b6
JB
40682002-05-17 Jim Blandy <jimb@redhat.com>
4069
4070 * gdb.base/completion.exp: Recognize the more detailed error
4071 messages produced by the macro expander's lexical analyzer.
4072
eac2a696
EZ
40732002-05-14 Elena Zannoni <ezannoni@redhat.com>
4074
4075 * gdb.arch/altivec-abi.c: New file.
4076 * gdb.arch/altivec-abi.exp: New file.
4077 * gdb.arch/altivec-regs.c: New file.
4078 * gdb.arch/altivec-regs.exp: New file.
4079
2fdde8f8
DJ
40802002-05-14 Daniel Jacobowitz <drow@mvista.com>
4081
4082 * gdb.base/maint.exp (maint print type): Update for new type
4083 structure.
d63a86f8 4084
e31f1a7c
EZ
40852002-05-14 Elena Zannoni <ezannoni@redhat.com>
4086
4087 * gdb.arch: New directory.
4088 * gdb.arch/configure.in: New file.
4089 * gdb.arch/configure: New file.
4090 * gdb.arch/Makefile.in: New file.
4091
db589741
CV
40922002-05-13 Corinna Vinschen <vinschen@redhat.com>
4093
4094 * gdb.asm/asm-source.exp: Add v850 as supported target.
4095 * gdb.asm/v850.inc: New file.
4096
8ce2a7dc
DJ
40972002-05-13 Daniel Jacobowitz <drow@mvista.com>
4098
4099 * gdb.c++/annota2.exp (annotate-quit): Add comment.
4100
df763c7f
DJ
41012002-05-12 Daniel Jacobowitz <drow@mvista.com>
4102
4103 * gdb.base/break.exp: Check 'break "marker2"'.
4104
377daeed
MS
41052002-05-10 Michael Snyder <msnyder@redhat.com>
4106
4107 * gdb.base/long_long.exp: Fix typo.
4108
c4b7bc2b
JB
41092002-05-10 Jim Blandy <jimb@redhat.com>
4110
ecac9a4e
JB
4111 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
4112 a bug.
4113
c4b7bc2b
JB
4114 * gdb.base/printcmds.exp (test_integer_literals_rejected):
4115 Recognize more detailed error message produced by the macro
4116 expander's lexical analyzer.
4117 * lib/gdb.exp (test_print_reject): Same.
4118
e71019a1
MK
41192002-05-09 Mark Kettenis <kettenis@gnu.org>
4120
4121 * gdb.c++/method.exp: Fix typo.
4122
fedfc8e6
MS
41232002-05-08 Michael Snyder <msnyder@redhat.com>
4124
166a1957
MS
4125 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
4126 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 4127 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
4128 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
4129 Add iftarget clause for strongarm.
d63a86f8 4130
f1c47eb2
MS
41312002-05-06 Michael Snyder <msnyder@redhat.com>
4132
cb9a9d3e
MS
4133 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
4134 (gdb_continue_to_end): Accept output from status wrapper.
4135 * gdb.base/ending-run.exp: Add case for output from status wrapper.
4136 Clean up fail messages to match pass messages.
4137
f1c47eb2
MS
4138 Enable the "needs_status_wrapper" testsuite feature.
4139 * lib/gdb.exp (gdb_wrapper_init): New procedure.
4140 (gdb_compile): Conditionally call gdb_wrapper_init.
4141 * gdb.base/a2-run.exp: Recognize output from status wrapper.
4142 * gdb.c++/method.exp: Recognize output from status wrapper.
4143
6079c749
BE
41442002-05-06 Ben Elliston <bje@redhat.com>
4145From Graydon Hoare <graydon@redhat.com>
4146
4147 * config/sid.exp: Include support for "rawsid" protocol.
4148
188baff3
JB
41492002-05-03 Jim Blandy <jimb@redhat.com>
4150
4151 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
4152 * gdb.c++/hang3.C: New file.
4153
b9c07f0f
AC
41542002-05-04 Andrew Cagney <ac131313@redhat.com>
4155
4156 * gdb.base/default.exp: Remove obsolete code.
4157 * gdb.c++/misc.exp: Ditto. Update copyright.
4158 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
4159 * gdb.base/whatis.exp: Ditto. Update copyright.
4160 * gdb.base/scope.exp: Ditto. Update copyright.
4161 * gdb.base/ptype.exp: Ditto. Update copyright.
4162 * gdb.base/printcmds.exp: Ditto. Update copyright.
4163 * gdb.base/opaque.exp: Ditto. Update copyright.
4164 * gdb.base/list.exp: Ditto.
4165 * gdb.base/funcargs.exp: Ditto. Update copyright.
4166 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
4167 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
4168 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
4169 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
4170 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
4171 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
4172
5c7a0397
MS
41732002-05-02 Michael Snyder <msnyder@redhat.com>
4174
d6dcc264 4175 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
4176 * gdb.base/long_long.exp: Add xscale target.
4177 * gdb.base/default.exp: Add xscale target.
4178
eb7f1c48
JB
41792002-05-01 Jim Blandy <jimb@redhat.com>
4180
4181 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
4182 gdb.c++/hang.exp: New test.
4183
a6befae8
FF
41842002-05-01 Fred Fish <fnf@redhat.com>
4185
4186 * gdb.base/completion.exp: Handle completions of "./Make" for
4187 more than one completion possibility, as is the case when we
4188 build and test in the source tree.
4189
0a310277
AG
41902002-04-29 Anthony Green <green@redhat.com>
4191
4192 * gdb.java/jmisc1.exp: New file.
4193 * gdb.java/jmisc2.exp: New file.
4194
6ff9af88
DJ
41952002-04-24 Daniel Jacobowitz <drow@mvista.com>
4196
4197 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
4198
96b3d632
EZ
41992002-04-23 Elena Zannoni <ezannoni@redhat.com>
4200
4201 * gdb.base/help.exp: Change 'help status' to allow for target
4202 dependent output differences.
4203
5019bb54
MC
42042002-04-22 Michael Chastain <mec@shout.net>
4205
4206 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
4207
a805a116
MC
42082002-04-22 Michael Chastain <mec@shout.net>
4209
4210 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
4211
a1706bfd
DM
42122002-04-17 David S. Miller <davem@redhat.com>
4213
4214 * gdb.asm/sparc64.inc: New file.
4215 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
4216
a73a20a2
EZ
42172002-04-19 Elena Zannoni <ezannoni@redhat.com>
4218
4219 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
4220 instruction file directly into the build tree. Clean up at end of
4221 test.
4222
ba678339
DM
42232002-04-18 David S. Miller <davem@redhat.com>
4224
4225 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
4226 handle 64-bit platforms correctly.
4227 * gdb.base/maint.exp: Likewise.
4228
b03399da
KB
42292002-04-18 Kevin Buettner <kevinb@redhat.com>
4230
4231 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
4232 ``-fpic'' when compiling files comprising a shared library, but
4233 it does need additional linker flags in order to find shared
4234 libraries at run time.
4235
e2004992
KB
42362002-04-18 Kevin Buettner <kevinb@redhat.com>
4237
4238 * gdb.base/cvexpr.c (use): New function.
4239 (main): Invoke use() on all global variables to prevent
4240 some linkers from deleting these otherwise unused symbols.
4241
d8937120
MC
42422002-04-17 Michael Chastain <mec@shout.net>
4243From David S. Miller <davem@redhat.com>
4244
4245 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
4246 handle 64-bit platforms correctly.
4247
ffd61a58
MS
42482002-04-12 Michael Snyder <msnyder@redhat.com>
4249From Jim Blandy <jimb@redhat.com>
4250 * gdb.base/foo.c (foox): Remove section attribute; the linker
4251 script can handle this instead.
4252 * gdb.base/bar.c (barx): Same.
4253 * gdb.base/baz.c (bazx): Same.
4254 * gdb.base/grbx.c (grbxx): Same.
4255
4256 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
4257 manager doesn't automatically unmap overlays unnecessarily.
4258
6b8426a6
MH
42592002-04-10 Martin M. Hunt <hunt@redhat.com>
4260
4261 * gdb.base/ending-run.exp: Fix pattern for Mips targets
4262 stepping out of main.
4263
34af4875
MC
42642002-04-09 Michael Chastain <mec@shout.net>
4265
4266 * gdb.c++/local.cc (main): Move call to marker1() inside nested
4267 scope so that the nested scope tests will make sense.
4268 * gdb.c++/local.exp: Write patterns that actually work with gcc
4269 (the HP patterns "were never known to work with gcc").
4270 Keep the old aCC patterns too.
4271
2d1676a0
DJ
42722002-04-09 Daniel Jacobowitz <drow@mvista.com>
4273
4274 * gdb.base/attach.exp: Correct target board test.
4275
3a63e3f9
MC
42762002-04-08 Michael Chastain <mec@shout.net>
4277
4278 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
4279 in a const method. Add some xfail and fail cases for configurations
4280 that do not emit the "const ...".
4281
f18dabd2
MC
42822002-04-07 Michael Chastain <mec@shout.net>
4283
4284 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
4285 Accept "A * const" and "const A * const" as type of "this".
4286 Fix spelling of getFunky throughout. Make messages uniform.
4287
0fcddd82
EZ
42882002-04-07 Elena Zannoni <ezannoni@redhat.com>
4289
4290 Work around for PR gdb/285:
4291 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
4292
16a8534a
EZ
42932002-04-07 Elena Zannoni <ezannoni@redhat.com>
4294
4295 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
4296 instructions file at run time instead of configure time.
4297 Sometimes we run the test in a directory that is not the one we
4298 configured in.
4299 * gdb.asm/configure.in: Delete creation of symlink.
4300 * gdb.asm/configure: Regenerate.
4301
24181d81
JB
43022002-04-05 J. Brobecker <brobecker@gnat.com>
4303
4304 * gdb.gdb/xfullpath.exp: New test, to exercise the new
4305 xfullpath () function.
4306
7cdb7107
DJ
43072002-04-04 Daniel Jacobowitz <drow@mvista.com>
4308
4309 * gdb.asm/Makefile.in: Correct dependencies.
4310
4311 * gdb.asm/powerpc.inc: New file.
4312 * gdb.asm/asm-source.exp: Add PowerPC.
4313 * gdb.asm/configure.in: Likewise.
4314 * gdb.asm/configure: Regenerated.
4315
a7d17088
DJ
43162002-04-04 Daniel Jacobowitz <drow@mvista.com>
4317
4318 * gdb.base/relocate.exp: New file.
4319 * gdb.base/relocate.c: New file.
4320
cd721503
FF
43212002-04-04 Fred Fish <fnf@redhat.com>
4322
4323 * gdb.base/step-test.exp: Update comment regarding stopping in
4324 memcpy/bcopy calls inserted as part of the compiler runtime.
4325
b22ad7a7
MS
43262002-04-04 Michael Snyder <msnyder@redhat.com>
4327
4328 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
4329
5f279fa6
DJ
43302002-04-03 Daniel Jacobowitz <drow@mvista.com>
4331
4332 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
4333 (gdb_expect): Remove $notransfer hack.
4334
dd0fd3ce
DJ
43352002-04-02 Daniel Jacobowitz <drow@mvista.com>
4336
4337 * gdb.c++/classes.exp ("calling method for small class"): Match
4338 updated register output.
4339
1e50cda1
DJ
43402002-03-30 Daniel Jacobowitz <drow@mvista.com>
4341
4342 Fix PR gdb/452
4343 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
4344 when finished. Make gdb_file_cmd send "exec-file" when
4345 appropriate.
4346
24015922
DJ
43472002-03-30 Daniel Jacobowitz <drow@mvista.com>
4348
4349 * gdb.base/attach.exp: Remove extra setup_xfail.
4350
dd7dfd64
MS
43512002-03-26 Michael Snyder <msnyder@redhat.com>
4352
4353 * gdb.base/default.exp: Add tests for dump, append, and restore.
4354 * gdb.base/help.exp: Add tests for dump, append, and restore.
4355 * gdb.base/dump.exp: New file, test dump, append and restore.
4356 * gdb.base/dump.c: New file.
4357
48b2f8d7
MS
43582002-03-27 Michael Snyder <msnyder@redhat.com>
4359
d63a86f8 4360 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
4361 clean-ups in help messages.
4362
05b4d525
FF
43632002-03-26 Fred Fish <fnf@redhat.com>
4364
4365 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
4366 have debugging info for those functions and the compiler uses them
4367 internally to copy structs around.
4368
d7679631
FF
43692002-03-26 Fred Fish <fnf@redhat.com>
4370
4371 * gdb.base/list.exp: Revert the change made yesterday and add note
4372 about why we don't list the default lines for remote targets.
4373
523ac3f9
MS
43742002-03-25 Michael Snyder <msnyder@redhat.com>
4375
4376 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
4377
754b2b8d
FF
43782002-03-25 Fred Fish <fnf@redhat.com>
4379
4380 * gdb.base/list.exp: This test works on remote targets so remove
4381 the short circuit for remote targets. Update copyright.
4382
33c3e192
FF
43832002-03-25 Fred Fish <fnf@redhat.com>
4384
4385 * gdb.base/attach.exp: Fix logic error that was suppressing this
4386 test for all non hppa*-*-hpux* targets, instead of the hp target.
4387 Move comments closer to the suppression point. Also now need to
4388 check that we are running natively.
4389
d43e73ee
MS
43902002-03-22 Michael Snyder <msnyder@redhat.com>
4391
882c8f02
MS
4392 * gdb.base/default.exp: Add test for gcore. Update copyright.
4393 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 4394
04c12f60
FF
43952002-03-06 Fred Fish <fnf@redhat.com>
4396
4397 * gdb.base/funcargs.c: Remove extraneous ';' character.
4398 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
4399
b43df995
MC
44002002-03-04 Michael Chastain <mec@shout.net>
4401
4402 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
4403 accommodate gcc v3 function signature.
4404 * gdb.mi/mi0-var-cmd-exp: Ditto.
4405
92362027
AC
44062002-02-24 Andrew Cagney <ac131313@redhat.com>
4407
4408 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
4409 ``GNU/Linux'' or ``Linux kernel''
4410 * testsuite/gdb.threads/pthreads.c: Ditto.
4411
258ad32d
MC
44122002-02-24 Michael Chastain <mec@shout.net>
4413
4414 * gdb.threads/pthreads.c (thread1): Add a return statement.
4415 (thread2): Likewise.
4416 (foo): Likewise.
4417
04c3b3d4
MC
44182002-02-23 Michael Chastain <mec@shout.net>
4419
4420 * gdb.threads/linux-dp.c (philosopher): Add a return statement
4421 to placate gcc.
4422
5a2a0a20
MC
44232002-02-23 Michael Chastain <mec@shout.net>
4424
4425 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
4426 test "ptype bint". The test passes on all my stabs configurations.
4427
a640f7fc
JB
44282002-02-21 Jim Blandy <jimb@redhat.com>
4429
27924826
JB
4430 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
4431 filename at a time, and watch for the ones we want to see.
4432
a640f7fc
JB
4433 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
4434 types of pointers to prototyped functions.
4435
edcc8c75
AC
44362002-02-20 Andrew Cagney <ac131313@redhat.com>
4437
4438 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
4439 signed, unsigned and straight char.
4440 (padding_char, padding_short, padding_int, padding_long,
4441 padding_long_long, padding_float, padding_double,
4442 padding_long_double): New global variables.
4443 (fill, fill_structs): New functions.
4444
4445 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
4446 for correctly sized writes. Update copyright.
4447 (get_valueof): New procedure.
4448 (get_sizeof): Call get_valueof.
4449 (check_valueof): New procedure.
4450 (check_padding): New procedure.
4451
ac57ea44
MC
44522002-02-20 Michael Chastain <mec@shout.net>
4453
4454 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
4455 to setup_xfail. Document some of the remaining calls.
4456
7a10c941
MC
44572002-02-18 Michael Chastain <mec@shout.net>
4458
4459 * gdb.c++/userdef.exp: Update copyright year.
4460
fb8acdcc
DJ
44612002-02-18 Daniel Jacobowitz <drow@mvista.com>
4462
4463 * gdb.c++/userdef.exp: Test overloaded operators properly.
4464 Remove xfails.
4465
fda6ae12
MS
44662002-02-14 Michael Snyder <msnyder@redhat.com>
4467
4468 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
4469
676a0442
DJ
44702002-02-14 Daniel Jacobowitz <drow@mvista.com>
4471
4472 * gdb.base/a2-run.exp: Check for a remote target properly.
4473 * gdb.base/annota1.exp: Likewise.
4474 * gdb.base/list.exp: Likewise.
4475 * gdb.base/reread.exp: Likewise.
4476 * gdb.base/scope.exp: Likewise.
4477 * gdb.base/shlib-call.exp: Likewise.
4478 * gdb.base/term.exp: Likewise.
4479 * gdb.c++/annota2.exp: Likewise.
4480
78b4f468
RE
44812002-02-13 Richard Earnshaw <rearnsha@arm.com>
4482
4483 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
4484
9a81ba51
MC
44852002-02-10 Michael Chastain <mec@shout.net>
4486
4487 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
4488 (call_after_alloca): Ditto.
4489
004af6c7
DJ
44902002-02-10 Daniel Jacobowitz <drow@mvista.com>
4491
4492 * gdb.base/ending-run.exp: Guard "cont" test with
4493 gdb_skip_stdio_test.
4494
37225f62
JB
44952002-02-06 Jim Blandy <jimb@redhat.com>
4496
4497 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
4498 from here...
4499 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
4500 To here. Disable this test on non-HP platforms. Add big comment.
4501
fe6fdd96
MS
45022002-02-04 Michael Snyder <msnyder@redhat.com>
4503
4504 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
4505 other than d10v and m32r.
4506
036fad3f
RE
45072002-02-02 Richard Earnshaw <rearnsha@arm.com>
4508
4509 * gdb.base/default.exp: Rewrite test patterns to reduce time
4510 taken to match them.
4511
7148ab62
DJ
45122002-01-30 Daniel Jacobowitz <drow@mvista.com>
4513
4514 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
4515 Allow a start function above main.
4516 * gdb.threads/linux-dp.exp: Fix copyright date.
4517
396cc255
DJ
45182002-01-30 Daniel Jacobowitz <drow@mvista.com>
4519
4520 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
4521 (check_philosopher_stack): Check for manager thread before checking
4522 for a just-starting thread.
4523
f038d31b
DJ
45242002-01-30 Daniel Jacobowitz <drow@mvista.com>
4525
4526 From Neil Booth <neil@daikokuya.demon.co.uk>:
4527 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
4528 warnings.
4529
b3ff9d9a
FF
45302002-01-21 Fred Fish <fnf@redhat.com>
4531
4532 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
4533 not caller.
4534
39ad761d
JB
45352002-01-21 Jim Blandy <jimb@redhat.com>
4536
4537 * gdb.base/reread.exp: Check that GDB properly re-reads the
4538 executable file when it changes while no inferior is running.
4539
aaf320fa
FF
45402002-01-21 Fred Fish <fnf@redhat.com>
4541
4542 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
4543 optionally accept the "shlib events" variation.
4544
808a31f5
JB
45452002-01-21 Jim Blandy <jimb@redhat.com>
4546
4547 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
4548 call `fflush' after every `printf', so that the output is produced
4549 at predictable points, regardless of whatever buffering does (or
4550 doesn't) take place.
4551 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
4552 at different points.
4553
4420d5e2
DJ
45542002-01-20 Daniel Jacobowitz <drow@mvista.com>
4555
4556 * gdb.c++/inherit.exp: Update copyright years.
4557 * gdb.c++/method.exp: Likewise.
4558
3e36a0f4
DJ
45592002-01-20 Daniel Jacobowitz <drow@mvista.com>
4560
4561 * gdb.c++/classes.exp: Update for improved v3 support and skipping
4562 artificial methods/arguments.
4563 * gdb.c++/derivation.exp: Likewise.
4564 * gdb.c++/inherit.exp: Likewise.
4565 * gdb.c++/method.exp: Likewise.
4566 * gdb.c++/virtfunc.exp: Likewise.
4567
b4ceaee6
AC
45682002-01-18 Andrew Cagney <ac131313@redhat.com>
4569
4570 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
4571 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
4572 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
4573 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
4574 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
4575 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
4576
ecace851
JB
45772002-01-17 Jim Blandy <jimb@redhat.com>
4578
4579 * gdb.asm/asm-source.exp (info symbol): Take another shot at
4580 anchoring the pattern matching the entry point symbol's name.
4581
375fc983
AC
45822002-01-17 Andrew Cagney <ac131313@redhat.com>
4583
4584 * gdb.base/maint.exp: Update ``maint internal-error'' to match
4585 continue/quit query. Update copyright.
4586
fe6fdd96
MS
45872002-01-14 Michael Snyder <msnyder@redhat.com>
4588
4589 * gdb.base/gcore.exp: Remove extra debugging output.
4590
e017c81f
DJ
45912002-01-13 Daniel Jacobowitz <drow@mvista.com>
4592
4593 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
4594 for slightly dubious v2 mangled string.
4595
37ab3bf8
DJ
45962002-01-13 Daniel Jacobowitz <drow@mvista.com>
4597
4598 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
4599
1bc05c3a 46002002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 4601
1bc05c3a 4602 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 4603
1bc05c3a
JM
4604 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
4605 constructors.
4606 * gdb.c++/derivation.exp: Likewise.
4607 * gdb.c++/templates.exp: Likewise.
4608 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 4609
1bc05c3a
JM
46102002-01-10 Michael Snyder <msnyder@redhat.com>
4611
4612 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 4613
a911c360
MS
46142002-01-08 Michael Snyder <msnyder@redhat.com>
4615
4616 * gdb.base/gcore.exp: New test for generate-core-file command.
4617 * gdb.base/gcore.c: Testcase for above.
4618 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
4619
ea2119ec
JM
46202002-01-08 Jason Merrill <jason@redhat.com>
4621
4622 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
4623
68203136
FF
46242002-01-07 Fred Fish <fnf@redhat.com>
4625
4626 * gdb.c++/overload.exp: Remove unconditional xfails for:
4627 print foo_instance1.overloadargs(1)
4628 print foo_instance1.overloadargs(1, 2)
4629 print foo_instance1.overloadargs(1, 2, 3)
4630 print foo_instance1.overloadargs(1, 2, 3, 4)
4631 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
4632 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
4633 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
4634 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
4635 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
4636 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
4637 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
4638 print foo_instance1.overload1arg()
4639 print foo_instance1.overload1arg((char)arg2)
4640 print foo_instance1.overload1arg((signed char)arg3)
4641 print foo_instance1.overload1arg((unsigned char)arg4)
4642 print foo_instance1.overload1arg((int)arg7)
4643 print foo_instance1.overload1arg((unsigned int)arg8)
4644 print foo_instance1.overload1arg((float)arg11)
4645 print foo_instance1.overload1arg((double)arg12)
d63a86f8 4646
21b9b5b1
MS
46472002-01-07 Michael Snyder <msnyder@redhat.com>
4648
4649 * gdb.base/huge.exp: New test. Print a very large target data object.
4650 (skip_huge_test): New test variable. Define if you want to skip this
4651 test. The test reads an 8 megabyte data object from the target, so it
4652 might be very time consuming on remote targets with a slow connection.
4653 * gdb.base/huge.c: New file. Test case for above.
4654
725f922e
FF
46552002-01-07 Fred Fish <fnf@redhat.com>
4656
4657 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
4658 g_instance.bfoo, and g_instance.cfoo.
4659
634d57ec
JL
4660Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
4661
f286b2c3
JL
4662 * gdb.base/break.c (multi_line_if_conditional): New function.
4663 (multi_ilne_while_conditional): Likewise.
4664 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
4665 IF or WHILE condition puts the breakpoint at the start of
4666 the condition.
4667
634d57ec
JL
4668 * gdb.base/selftest.exp (backtrace through signal handler): Remove
4669 hppa*-*-hpux* expected failure.
4670 * gdb.base/structs.exp (do_function_calls): Similarly.
4671
4672 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
4673 watchpoints.
4674
9fbfe2dc
AC
46752002-01-06 Andrew Cagney <ac131313@redhat.com>
4676
4677 Fix PR gdb/66.
4678 * gdb.base/structs.exp: Replace skip for a29k with skip for
4679 gdb,cannot_call_functions.
4680 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
4681 * gdb.base/callfuncs.exp: Ditto.
4682 * gdb.base/call-rt-st.exp: Ditto.
4683 * gdb.base/call-strs.exp: Ditto.
4684 * gdb.base/callfwmall.exp: Ditto.
4685 * gdb.base/scope.exp: Obsolete xfail a29k.
4686 * gdb.c++/misc.exp: Ditto.
4687 * gdb.c++/cplusfuncs.exp: Ditto.
4688 * gdb.base/ptype.exp: Ditto.
4689 * gdb.base/printcmds.exp: Ditto.
4690 * gdb.base/opaque.exp: Ditto.
4691 * gdb.base/list.exp: Ditto.
4692 * gdb.base/funcargs.exp: Ditto.
4693 * gdb.base/default.exp: Ditto.
4694
8ddad156
MS
46952002-01-04 Michael Snyder <msnyder@redhat.com>
4696
ca4976a6 4697 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
4698 * gdb.base/maint.exp: Add tests for maint info sections options.
4699
1b074332
JL
4700Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
4701
4702 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
4703
7d159115
CV
47042001-12-20 Corinna Vinschen <vinschen@redhat.com>
4705
4706 * gdb.asm/arm.inc: New file.
4707 * gdb.asm/asm-source.exp: Add arm targets.
4708 * gdb.asm/configure.in: Ditto.
4709 * gdb.asm/configure: Recreated from configure.in.
4710
8fb87725
JL
4711Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
4712
afabe08c
JL
4713 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
4714 with HP's compiler.
4715 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
4716 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
4717 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
4718 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
4719
4720 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
4721 either HP's compilers or GCC.
4722
db521deb
JL
4723 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
4724 a SIGBUS or SIGSEGV.
4725
4726 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
4727
4728 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
4729 can be compiled with either HP's compiler or GCC.
4730
cfa88ab7
JL
4731 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
4732 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
4733 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
4734
ca344dff
JL
4735 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
4736 to match current gdb output. Update due to using auto-solib-limit
4737 for limiting instead of overloading auto-solib-add.
4738 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
4739 test program.
4740
3f3c6e55 4741 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
4742 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
4743 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
4744 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
4745 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
4746 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
4747 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
4748 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
4749 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
4750 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
4751 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
4752 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
4753 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 4754
8fb87725
JL
4755 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
4756 a SIGTRAP to the inferior.
4757
cf599fa7
CV
47582001-12-19 Corinna Vinschen <vinschen@redhat.com>
4759
4760 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
4761 Substitute call to target_link by call to gdb_compile.
4762
2cd045cd
JL
4763Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
4764
4765 * gdb.base/break.exp: Fix HP specific search string when testing
4766 backtracing in a called function.
4767
d63a86f8 4768 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
4769 compiling the test with HP's compilers.
4770 * gdb.base/volatile.exp: Similarly.
4771
99ebe9ac
JB
47722001-12-19 Jim Blandy <jimb@redhat.com>
4773
4774 * gdb.base/printcmds.exp: Expect the null character to be printed
4775 as '\0', and the '\013' to be printed as '\v'.
4776 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
4777 * gdb.base/setvar.exp: Same.
4778
b9891b29
JB
47792001-12-17 Jim Blandy <jimb@redhat.com>
4780
0eba65ab
JB
4781 * gdb.base/completion.exp: Rather than completing very long
4782 filenames, which can make the readline library produce output we
4783 don't recognize, cd to the directory first, and then complete
4784 using nice, short relative paths.
4785
6970b5b1
JB
4786 * gdb.base/completion.exp: On some systems, there is, in fact, a
4787 variable named `b' in scope, since GDB treats all static
4788 variables as being in scope. So use `no_var_named_this'
4789 instead of `b'.
4790
b9891b29
JB
4791 * gdb.base/corefile.exp: Recognize the message saying that GDB
4792 can't find the core file's registers as a failure.
4793
e6ccd35f
JSC
47942001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
4795
4796 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
4797 test expect string more specific.
4798
105ba819
CV
47992001-12-13 Corinna Vinschen <vinschen@redhat.com>
4800
4801 * gdb.asm/asm-source.exp: Add support for xstormy16.
4802 * gdb.asm/configure.in: Ditto.
4803 * gdb.asm/configure: Rebuild.
4804 * gdb.asm/xstormy16.inc: New file.
4805
e9e79dd9
FF
48062001-12-10 Fred Fish <fnf@redhat.com>
4807
4808 * gdb.base/maint.exp: Update to match changes in type dumping code.
4809
347dc97d
JB
48102001-12-10 Jim Blandy <jimb@redhat.com>
4811
4812 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
4813 matching the entry point symbol's name at the beginning of the
4814 line.
4815
5178b9d6
DJ
48162001-12-07 Daniel Jacobowitz <drow@mvista.com>
4817
4818 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
4819 gdb.c++/inherit.exp, gdb.c++/method.exp,
4820 gdb.c++/namespace.exp, gdb.c++/templates.exp,
4821 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
4822 and class layout support.
4823
af890c52
DJ
48242001-12-07 Daniel Jacobowitz <drow@mvista.com>
4825
4826 * gdb.c++/classes.exp: Add test for static member function.
4827 * gdb.c++/misc.cc: Add class with static member function.
4828
7a345fb3
JB
48292001-12-07 Jim Blandy <jimb@redhat.com>
4830
f2e54a80 4831 If GDB says it can't find the struct the function returned, report
8032bf31
JB
4832 those tests as `unsupported'.
4833 * gdb.base/call-rt-st.exp (print_struct_call): New function.
4834 Rewrite subsequent tests to use it.
4835
4836 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
4837 those tests as `unsupported'.
4838 * gdb.base/structs.exp (call_struct_func): New function.
4839 (do_function_calls): Use call_struct_func to call the functions
4840 returning structs.
4841
0bc69509
JB
4842 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
4843 whether functions are prototyped or not, so we can't possibly pass
4844 arguments to t_float_values2 properly.
4845
7a345fb3
JB
4846 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
4847 value of `timeout' for targets other than the mips*tx39-*.
4848
edb6ede1
MS
48492001-12-06 Michael Snyder <msnyder@redhat.com>
4850
d63a86f8 4851 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
4852 and detect whether the start symbol has a leading underscore.
4853
2d842f13
JB
48542001-12-04 Jim Blandy <jimb@redhat.com>
4855
4856 * gdb.base/completion.exp: Clarify indentation.
4857
68550daf
JB
48582001-12-03 Jim Blandy <jimb@redhat.com>
4859
4860 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
4861 variables on the S/390, not `.word'.
4862
cd5195a8
JB
48632001-11-30 Jim Blandy <jimb@redhat.com>
4864
4865 Add assembly-source tests for s390-ibm-linux.
4866 * gdb.asm/s390.inc: New file.
4867 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
4868 the S/390 architecture.
4869 * gdb.asm/configure: Regenerated.
4870
ca9efc90
MS
48712001-11-30 Michael Snyder <msnyder@redhat.com>
4872
4873 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
4874 next, info source, info sources, info line, global and static
4875 variables, and static functions.
4876 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
4877 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
4878 * gdb.asm/asmsrc1.s: Add a static function and some variables.
4879 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
4880 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
4881 (gdbasm_leave): Restore frame pointer.
4882 (gdbasm_startup): Copy stack set-up from crt0.S.
4883
d0e66976
FN
48842001-11-26 Fernando Nasser <fnasser@redhat.com>
4885
4886 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
4887 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
4888 to a local (non-static) variable. Copy tstruct.a to a static buffer
4889 and return a pointer to that buffer.
4890 * gdb.base/callfwmall.c (t_structs_a): Ditto.
4891
e2334072
MK
48922001-11-24 Mark Kettenis <kettenis@gnu.org>
4893
4894 * gdb.asm/configure.in: Fix recognition of ix86 target.
4895 * gdb.asm/configure: Regenerate.
4896
756caa3d
MS
48972001-11-21 Michael Snyder <msnyder@redhat.com>
4898
4899 * gdb.asm/sparc.inc: New file.
4900 * gdb.asm/asm-source.exp: Recognize sparc target.
4901 * gdb.asm/configure.in: Recognize sparc target.
4902 * gdb.asm/configure: Regenerate.
d63a86f8 4903
9a4d72d5
MS
49042001-11-21 Michael Snyder <msnyder@redhat.com>
4905
4906 * gdb.asm/m32r.inc: New file.
4907 * gdb.asm/asm-source.exp: Recognize m32r target.
4908 * gdb.asm/configure.in: Recognize m32r target.
4909 * gdb.asm/configure: Regenerate.
4910
a773d1cd
MS
49112001-11-20 Michael Snyder <msnyder@redhat.com>
4912
017ac23d
MS
4913 * gdb.asm/i386.inc: New file.
4914 * gdb.asm/asm-source.exp: Recognize ix86 target.
4915 * gdb.asm/configure.in: Recognize ix86 target.
4916 * gdb.asm/configure: Regenerate.
4917
a773d1cd
MS
4918 * gdb.c++/namespace.exp: Fix quotes in output messages.
4919
bb632afb
MS
49202001-11-14 Michael Snyder <msnyder@redhat.com>
4921
25d559ca 4922 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
4923 qualifier in a type cast expression, to designate an address
4924 in the instruction space (Harvard architecture).
4925
4749e309
MS
49262001-11-13 Michael Snyder <msnyder@redhat.com>
4927
4928 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
4929 Tests for expressions using 'const' and 'volatile'.
4930
25050984
CV
49312001-11-13 Corinna Vinschen <vinschen@redhat.com>
4932
4933 * gdb.asm/asm-sources.exp: Allow defining linker flags.
4934
1902c51f
DJ
49352001-11-12 Daniel Jacobowitz <drow@mvista.com>
4936
4937 * lib/mi-support.exp (mi_run_to_helper): Move comments
4938 outside of gdb_expect.
4939
dcf95b47
DJ
49402001-11-11 Daniel Jacobowitz <drow@mvista.com>
4941
4942 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
4943 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
4944 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
4945 mi0_run_to): New functions.
4946 * gdb.mi/mi-simplerun.exp: Use them.
4947 * gdb.mi/mi0-simplerun.exp: Likewise.
4948 * gdb.mi/mi-var-cmd.exp: Likewise.
4949 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 4950
45b074e1
AC
49512001-11-10 Andrew Cagney <ac131313@redhat.com>
4952
4953 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
4954 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
4955
bf50d346
AC
49562001-11-09 Andrew Cagney <ac131313@redhat.com>
4957
4958 * gdb.base/restore.exp: Include $expected value in restored test
4959 message.
4960
9383332c
AC
49612001-11-09 Andrew Cagney <ac131313@redhat.com>
4962
4963 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
4964 implemented.
4965
db62520a
MS
49662001-11-08 Michael Snyder <msnyder@redhat.com>
4967
4968 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
4969 Add pass/fail message for stop at breakpoint in call dummy function.
4970
b5703437
MS
49712001-11-07 Michael Snyder <msnyder@redhat.com>
4972
d63a86f8
RM
4973 * gdb.c++/templates.exp (test_template_breakpoints):
4974 If we get an overload menu, but it does not match what
760f6330 4975 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
4976 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
4977 making the whitespace optional. Argument for "new" may be
4978 "unsigned" as well as "unsigned int/long".
d63a86f8 4979 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
4980 making the whitespace optional. Also replace "(void) with
4981 "((void|)), making the keyword "void" optional.
d63a86f8 4982 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
4983 making the whitespace optional. Also replace "(void) with
4984 "((void|)), making the keyword "void" optional.
3bf40917
MS
4985 * gdb.base/callfuncs.c (t_float_values): This function must
4986 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 4987 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
4988 can be tested against both cases. Usually one case involves
4989 promotion of float to double, while the other does not.
4990 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
4991 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
4992 includes a stack frame for "start".
4993
c8ab4e6d
JB
49942001-11-05 Jim Blandy <jimb@redhat.com>
4995
4996 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
4997 pointers are 32 bits long, and that offsets of relocs are always
4998 stored in the data (REL-style), and not in the reloc entry itself
4999 (RELA-style).
5000 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
5001 stabs.
5002
3f08ced9
MS
50032001-11-01 Michael Snyder <msnyder@redhat.com>
5004
5005 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
5006 and regular expression operators by using quoting.
5007
cbfa24cd
MS
50082001-10-31 Michael Snyder <msnyder@redhat.com>
5009
5010 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
5011 depending on what the symbol table contains.
5012 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
5013 the output of the ptype command. Similarly, accept both "const &"
5014 and "const&".
5015
aaa68313
CV
50162001-10-31 Corinna Vinschen <vinschen@redhat.com>
5017
5018 * gdb.base/miscexprs.c (main): Add usage of preprocessor
5019 symbol `STORAGE' to allow to choose the storage class of
5020 the local datastructures.
5021 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
5022 compiler directive.
5023
91740388
MS
50242001-10-30 Michael Snyder <msnyder@redhat.com>
5025
5026 * gdb.base/jump.exp: Allow it to run for all targets.
5027
1b7c05e7
CV
50282001-10-29 Corinna Vinschen <vinschen@redhat.com>
5029
5030 * gdb.base/call-ar-st.c (print_double_array): Match for loop
5031 with new double_array size.
5032 (main): Change storage class of all local variables to static.
5033 Reduce size of double_array to 9.
5034 * gdb.base/call-ar-st.exp: Increase timeout value.
5035 Change expected output for double array to match new size in
5036 call-ar-st.c.
5037
36a22261
CV
50382001-10-29 Corinna Vinschen <vinschen@redhat.com>
5039
5040 * gdb.base/ending-run.exp: Create identical output when passing
5041 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 5042 Stormy16 target.
36a22261 5043
92b8ae91
MK
50442001-10-28 Mark Kettenis <kettenis@gnu.org>
5045
5046 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
5047 that we catch the expected failure under Linux/x86.
5048
cb135b83
OF
50492001-10-29 Orjan Friberg <orjanf@axis.com>
5050
5051 * gdb.base/setvar.exp: Escape curly braces.
5052 * gdb.stabs/weird.exp: Ditto.
5053
6884aa54
DJ
50542001-10-27 Daniel Jacobowitz <drow@mvista.com>
5055
5056 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
5057 * gdm.mi/mi0-hack-cli.exp: Likewise.
5058
0398c9aa
AC
50592001-10-25 Andrew Cagney <ac131313@redhat.com>
5060
5061 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
5062 messages.
5063
d20bf2e8
AC
50642001-10-21 Andrew Cagney <ac131313@redhat.com>
5065
5066 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
5067 checking MI enabled.
5068
03dd63aa
CV
50692001-10-09 Corinna Vinschen <vinschen@redhat.com>
5070
5071 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
5072
1d9d99f3
FCE
50732001-10-04 Frank Ch. Eigler <fche@redhat.com>
5074
5075 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
5076 if gdb child process crashes, just signal an error.
5077
838ae6c4
JB
50782001-10-02 Jim Blandy <jimb@redhat.com>
5079
5080 * lib/gdb.exp (test_xfail_format): Simplify.
5081
5082 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
5083 front of the variable name `format'. Simplify `if'.
5084
8f0cbc1c
DJ
50852001-10-01 Daniel Jacobowitz <drow@mvista.com>
5086
5087 * gdb.threads/pthreads.exp: Wait for output and delay
5088 before sending ^C.
5089
1f08dafd
DJ
50902001-10-01 Daniel Jacobowitz <drow@mvista.com>
5091
5092 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
5093 some incorrect output instead of timing out.
5094 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
5095
674f90ff
CV
50962001-09-28 Corinna Vinschen <vinschen@redhat.com>
5097
5098 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
5099 check to allow additional `int'.
5100
9b284272
DJ
51012001-09-27 Daniel Jacobowitz <drow@mvista.com>
5102
5103 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
5104 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
5105
b55a4771
MS
51062001-09-27 Michael Snyder <msnyder@redhat.com>
5107
5108 * lib/gdb.exp (test_debug_format): New proc.
5109 (setup_xfail_format): Use new proc test_debug_format.
5110 * gdb.base/constvars.exp (local_compiler_xfail_check): New
5111 proc; use new service proc test_debug_format.
5112 Replace all other "gcc_compiled" tests with this test.
5113 * gdb.base/volatile.exp (local_compiler_xfail_check): New
5114 proc; use new service proc test_debug_format.
5115 Replace all other "gcc_compiled" tests with this test.
5116
51172001-09-27 Michael Snyder <msnyder@redhat.com>
5118
5119 * gdb.base/cvexpr.exp: New file.
5120 * gdb.base/cvexpr.c: New file
5121 Test for expressions using const and volatile keywords.
5122
4e6667ac
CV
51232001-09-26 Corinna Vinschen <vinschen@redhat.com>
5124
5125 * gdb.base/constvars.exp: Check for different orders of keywords
5126 and additional "int" strings in output.
5127
4f337972
AC
51282001-09-22 Andrew Cagney <ac131313@redhat.com>
5129
5130 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
5131 responses from "help maint".
5132
2015650d
FCE
51332001-09-19 Frank Ch. Eigler <fche@redhat.com>
5134
5135 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
5136 to localhost:NNN instead of :NNN, in case Xvfb is listening
5137 only on TCP.
5138
f3bcedc1
CV
51392001-09-19 Corinna Vinschen <vinschen@redhat.com>
5140
5141 * gdb.base/recurse.exp: When checking leaving the watchpoint
5142 scope, recognize when gdb is in function's epilogue and pass.
5143
6b819c92
KS
51442001-09-18 Keith Seitz <keiths@redhat.com>
5145
5146 * lib/insight-support.exp (_gdbtk_export_target_info): Add
5147 support for running tests against sid targets.
5148 (gdbtk_done): Ditto.
5149
a10c9419
CV
51502001-09-18 Corinna Vinschen <vinschen@redhat.com>
5151
5152 * gdb.base/ending-run.c (main): Set stdout buffersize
5153 to the same reasonable value for any target.
5154 * gdb.base/ending-run.exp: Add a regular expression
5155 to make testsuite happy on Sanyo Stormy16 target.
5156
739d0d99
CV
51572001-09-17 Corinna Vinschen <vinschen@redhat.com>
5158
5159 * gdb.base/display.c (do_loops): Add float variable `f'.
5160 Increment f in loop.
5161 * gdb.base/display.exp: Increment timeout by 60 seconds.
5162 Change float display test to use variable `f'.
5163
1b8947f0
JB
51642001-09-17 Jim Blandy <jimb@redhat.com>
5165
5166 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
5167 overflowing the limited breakpoint tables on some ROM monitors
5168 (like the ROM68K).
5169
9890ac81
FCE
51702001-09-15 Frank Ch. Eigler <fche@redhat.com>
5171
5172 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
5173 the "-ac" (disable access control) flag.
5174
6db765ea
JH
51752001-08-30 Jeff Holcomb <jeffh@redhat.com>
5176
5177 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
5178 ints.
5179
4c32cc04
KS
51802001-08-30 Keith Seitz <keiths@redhat.com>
5181
5182 * lib/gdb.exp: Move all insight-related functionality into
5183 separate file.
5184 * lib/insight-support.exp: New file.
5185
8d6e6f81
FCE
51862001-08-29 Frank Ch. Eigler <fche@redhat.com>
5187
5188 * config/sid.exp (sid_start): Never set sid verbosity; disable
5189 expect_background {} that consumed its stdout; tolerate </dev/null.
5190 Attempt to set endianness override in "sid" protocol mode. Cleanup.
5191
6a90e1d0
AC
51922001-08-18 Andrew Cagney <ac131313@redhat.com>
5193
5194 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
5195 CLI jump command to start it.
5196 (mi_run_to_main): Fail immediatly when unexpected output.
5197
1759b3c3
AC
51982001-08-18 Andrew Cagney <ac131313@redhat.com>
5199
5200 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
5201 beginning of function. Fix PR gdb/191.
5202
61d11d80
FCE
52032001-08-16 Frank Ch. Eigler <fche@redhat.com>
5204
5205 * config/sid.exp (sid_start): Don't warn if we cannot figure out
5206 what to force sid endianness to.
5207
942a4df2
KS
52082001-08-15 Keith Seitz <keiths@redhat.com>
5209
5210 * lib/gdb.exp (gdbtk_start): Don't set environment
5211 variables for TCL_LIBRARY and friends. Insight will
5212 now figure these out for itself.
5213
0521c418
MS
52142001-08-02 Michael Snyder <msnyder@redhat.com>
5215
5216 * gdb.base/completion.exp: Remove the symbol "a64l" from
5217 the expect string; this is target-specific, and not related
5218 to what is being tested.
5219
74a9a58a
DB
52202001-08-02 Dave Brolley <brolley@redhat.com>
5221
5222 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
5223
c70819fa
MS
52242001-07-25 Michael Snyder <msnyder@redhat.com>
5225
c2b8fa57
MS
5226 * gdb.base/consecutive.exp: New file. Test stepping over
5227 breakpoints on consecutive instructions.
5228 * gdb.base/consecutive.c: New file.
5229
c70819fa
MS
5230 * gdb.base/call-rt-st.exp: Use double-backslash to quote
5231 curly braces in regular expressions.
5232
2b1a1355
MS
52332001-07-25 Michael Snyder <msnyder@redhat.com>
5234
5235 * gdb.base/ending-run.exp: Accept "Program exited normally" as
5236 legitimate output from stepping out of main.
5237
413eca6f
KS
52382001-07-22 Keith Seitz <keiths@redhat.com>
5239
5240 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
5241 the empty string, do not run the tests.
5242
7e5a9322
SC
52432001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5244
5245 * gdb.base/long_long.exp: Detect size of pointer. Take into
5246 account 2-byte pointers when testing for p/a results.
5247
de58f10f
SC
52482001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5249
d63a86f8 5250 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
5251 and defined to 1K for m68hc11.
5252 (random_data): Reduce table to 1K for embedded platforms (68hc11).
5253 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
5254 (sizeof_random_data): New variable to tell the size of the data table;
5255 don't test past this size; always run to main.
5256
d6f5fea1
SC
52572001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5258
5259 * gdb.base/return2.exp: return of long long and double fails for
5260 68HC11; don't execute these tests on that platform.
5261 * gdb.base/return.exp: Return of a double fails for 68hc11.
5262
c477543d
SC
52632001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5264
5265 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
5266 tests that print a float.
5267 * call-rt-st.exp: Likewise.
5268
63cf1c79
MK
52692001-07-12 Mark Kettenis <kettenis@gnu.org>
5270
5271 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
5272 running this test on Linux.
5273
112f9ab5
MC
52742001-06-24 Michael Chastain <chastain@redhat.com>
5275
5276 * gdb.base/arithmet.exp: Remove some tests to make all test names
5277 unique.
5278
4970cb0f
MS
52792001-07-03 Michael Snyder <msnyder@redhat.com>
5280
5281 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
5282 the output of the ptype command.
5283
d85da69f
MS
52842001-07-02 Michael Snyder <msnyder@redhat.com>
5285
4c8a82de
MS
5286 * gdb.base/completion.exp: Don't assume that break.c is the only
5287 source file that may contain functions named "marker".
d85da69f
MS
5288 * gdb.base/corefile.exp: Quote the curly braces in regexp.
5289
8afc772b
AC
52902001-06-28 Andrew Cagney <ac131313@redhat.com>
5291
5292 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
5293 of files to delete.
5294
5295 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
5296 * gdb.disasm/h8300s.exp: New file.
5297 gdb.disasm/h8300s.s: Likewise.
5298
cff22675
AC
52992001-06-27 Andrew Cagney <ac131313@redhat.com>
5300
5301 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
5302 empty breakpoint tables.
5303
68c81b54
AC
53042001-06-25 Andrew Cagney <ac131313@redhat.com>
5305
5306 * lib/mi-support.exp: Update args=... part of stop-reason
5307 patterns. Accept either a list or a tuple.
5308
2dd62704
AC
53092001-06-23 Andrew Cagney <ac131313@redhat.com>
5310
5311 * lib/mi-support.exp: Remove local emacs variable defining
5312 change-log-default-name.
5313
b4127474
MC
53142001-06-22 Michael Chastain <chastain@redhat.com>
5315
5316 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
5317 This is operationally compatible with the previous version.
5318
8dbfb380
JB
53192001-06-13 Jim Blandy <jimb@redhat.com>
5320
5321 * lib/gdb.exp (gdb_test): Doc fix.
5322
f2d8c86d
MC
53232001-06-10 Michael Chastain <chastain@redhat.com>
5324
5325 * gdb.base/exprs.exp: Remove a duplicate test.
5326
81564d34
JB
53272001-06-06 Jim Blandy <jimb@redhat.com>
5328
5329 * gdb.base/return2.exp (main): Use values to test float and double
5330 returns that are not NaN's, to avoid being confused by IEEE
5331 comparison rules.
5332
da55addb
MS
53332001-06-04 Michael Snyder <msnyder@redhat.com>
5334
5335 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 5336 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
5337 rather than wait for 12 more tests to time out.
5338
42c65987
JB
53392001-06-06 Jim Blandy <jimb@redhat.com>
5340
b18bced9 5341 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 5342 Don't forget to match the GDB prompt.
b18bced9 5343
42c65987
JB
5344 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
5345
5b41e5f0
JB
53462001-06-04 Jim Blandy <jimb@redhat.com>
5347
5348 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
5349 command.
5350
015e046f
KB
53512001-05-31 Kevin Buettner <kevinb@redhat.com>
5352
5353 * gdb.base/annota1.exp (info break): Match four or more spaces
5354 after "Address".
5355
fb1ffbbe
MC
53562001-05-31 Michael Chastain <chastain@redhat.com>
5357
5358 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
5359 (dm_type_int_star): Likewise.
5360 (dm_type_long_star): Likewise.
5361 (dm_type_void_star): Likewise.
5362
5ea2a32c
KB
53632001-05-29 Kevin Buettner <kevinb@redhat.com>
5364
5365 * gdb.base/completion.exp (INPUTRC): Set this environment variable
5366 to a known value in order to get consistent results regardless
5367 of the setting of INPUTRC or the presence or contents of .inputrc.
5368
ae23c492
MS
53692001-05-24 Michael Snyder <msnyder@redhat.com>
5370
ac55707e
MS
5371 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
5372 Don't require that the main thread and the manager thread are the
5373 first in the list.
5374
ae23c492
MS
5375 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
5376 debugging. If test fails, issue an "unsupported" not a "fail".
5377
400071f1
JB
53782001-05-24 Jim Blandy <jimb@redhat.com>
5379
5380 Don't assume that short is shorter than int.
5381 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
5382 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 5383 this isn't true.
400071f1
JB
5384 ("print unsigned char == (~0)"): Add test that verifies that ~0,
5385 an int, is not equal to ~0 stored in an unsigned char. This tests
5386 the same thing that the previous test meant to, but works on
5387 16-bit machines, too.
5388 ("print unsigned char != (~0)"): Same test, complemented.
5389
0816a3e5
MS
53902001-05-24 Michael Snyder <msnyder@redhat.com>
5391
5392 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 5393 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
5394 and prevents dejagnu getting out of step.
5395
f6dc23a9
KB
53962001-05-23 Kevin Buettner <kevinb@redhat.com>
5397
5398 * gdb.base/finish.exp (finish_void): Revise pattern for
5399 stopping on the call statement to not permit stopping at
5400 the start of the instructions comprising the call sequence.
5401
7dbd117d
MC
54022001-05-19 Michael Chastain <chastain@redhat.com>
5403
5404 * gdb.base/callfuncs.exp: Make all test names unique.
5405 * gdb.base/commands.exp: Make all test names unique.
5406 * gdb.base/condbreak.exp: Make all test names unique.
5407 * gdb.base/dbx.exp: Make all test names unique.
5408 * gdb.base/default.exp: Make all test names unique.
5409 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
5410 and TIMEOUT messages to their corresponding PASS message.
5411 * gdb.base/ending-run.exp: Make all test names unique.
5412 * gdb.base/long_long.exp: Remove duplicate test.
5413
6b0b0a9e
KB
54142001-05-21 Kevin Buettner <kevinb@redhat.com>
5415
5416 * gdb.base/finish.exp (finish_void): Allow "finish" command to
5417 stop on the call statement as well as the statement after the
5418 call.
5419
2caa35cb
MS
54202001-05-21 Michael Snyder <msnyder@redhat.com>
5421
5422 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
5423
40713331
EZ
54242001-05-10 Elena Zannoni <ezannoni@redhat.com>
5425
5426 * gdb.base/completion.exp: Revamp test. Make it execute on all
5427 platforms.
5428
c2c1be8d
EZ
54292001-05-10 Elena Zannoni <ezannoni@redhat.com>
5430
2c9cd303
EZ
5431 * config/gdbserver.exp (gdb_load): Handle the case
5432 in which the arguments to gdbserver are given in the
5433 baseboard configuration file.
5434 Also handle the case in which the server needs to do a
5435 load.
5436
9671de48
KS
54372001-05-07 Keith Seitz <keiths@cygnus.com>
5438
5439 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
5440 set up the display for testing.
5441 (gdbtk_start): Convert all paths to paths that tcl will like.
5442 Export target information to environment.
5443 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
5444 necessary.
5445 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
5446 (to_tcl_path): New proc to convert a given pathname into
5447 a path acceptible as an argument to a tcl command.
5448 (_gdbtk_export_target_info): New proc to export target info
5449 into the environment for gdbtk testing.
5450 (gdbtk_done): New proc to signal end-of-test.
5451
5a360f47
JB
54522001-05-06 Jim Blandy <jimb@redhat.com>
5453
5454 * restore.c: Make the code of caller0 correspond to its comment.
5455
66c756c6
MS
54562001-05-03 Michael Snyder <msnyder@redhat.com>
5457
5458 * config/sid.exp (gdb_target_sid): Check for error messages.
5459 On error or timeout, don't make expect exit (which will terminate
5460 all subsequent tests); instead just make gdb exit.
d63a86f8 5461 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
5462 return a negative value.
5463
a966fde5
JB
54642001-04-24 Jim Blandy <jimb@redhat.com>
5465
851c18e0
JB
5466 * gdb.c++/templates.exp: If we see the prompt for the overload
5467 list, but we haven't recognized any of the longer patterns,
5468 arrange for this test to fail, not hang.
5469
a966fde5
JB
5470 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
5471 variations.
5472
db144853
MC
54732001-04-22 Michael Chastain <chastain@redhat.com>
5474
5475 * gdb.c++/local.exp: Use the 'runto' library function.
5476 * gdb.c++/namespace.exp: Likewise.
5477 * gdb.c++/overload.exp: Likewise.
5478
3207ec21
KB
54792001-03-26 Kevin Buettner <kevinb@redhat.com>
5480
5481 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
5482 * gdb.base/step-line.exp: New file. Test step/next in presence of
5483 #line directives.
5484 * gdb.base/step-line.c: New file. Test program for the above.
5485 * gdb.base/step-line.inp: New file. We pretend that this file has
5486 been transformed by some other tool into step-line.c.
5487
13b57657
JB
54882001-03-21 Jim Blandy <jimb@redhat.com>
5489
5490 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
5491 unmangled operator names.
5492
754cbe1c
JB
54932001-03-20 Jim Blandy <jimb@redhat.com>
5494
5495 * gdb.threads/linux-dp.exp: Recognize an additional message
5496 generated by GDB when it doesn't understand how to debug threads
5497 on the target system.
5498
177495c9
AC
54992001-03-19 Andrew Cagney <ac131313@redhat.com>
5500
5501 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
5502
f266096b
MC
55032001-03-12 Michael Chastain <chastain@redhat.com>
5504
5505 * gdb.c++/derivation.exp: Use the 'runto' library function.
5506
cac3c2ff
MC
55072001-03-12 Michael Chastain <chastain@redhat.com>
5508
5509 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
5510
b6c11a24
MC
55112001-02-24 Michael Chastain <chastain@redhat.com>
5512
5513 * gdb.c++/ref-types.exp: Change handwritten code to library
5514 function 'runto'.
5515
6bae5bce
OF
55162001-03-16 Orjan Friberg <orjanf@axis.com>
5517
5518 * gdb.base/signals.exp: Set count to 0 explicitly.
5519
0015fd9a
MS
55202001-03-15 Mark Salter <msalter@redhat.com>
5521
5522 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
5523 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
5524 (gdb_load): Add support for additional target_info: gdb_download_size
5525 and gdb_load_timeout.
0015fd9a 5526
fc33412a
DT
5527Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
5528
5529 * gdb.base/annota1.exp: Move test of isnative to earlier in the
5530 file -- to prevent failing when the compile fails but we have no
5531 intention of running the tests anyway.
5532
5533 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
5534 tests if set.
5535
5536 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
5537 integers.
5538
5539 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
5540 * gdb.c++/namespace.exp: Ditto.
5541
115f06de
OF
55422001-03-07 Orjan Friberg <orjanf@axis.com>
5543
5544 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
5545 * gdb.base/pointers.exp: Relax pattern match of decimals.
5546
b6ba6518
KB
55472001-03-06 Kevin Buettner <kevinb@redhat.com>
5548
5549 * Makefile.in, config/abug.exp, config/cfdbug.exp,
5550 config/cpu32bug.exp, config/dve.exp, config/est.exp,
5551 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
5552 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
5553 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
5554 config/sh.exp, config/sid.exp, config/slite.exp,
5555 config/sparclet.exp, config/udi.exp, config/unknown.exp,
5556 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
5557 config/vxworks.exp, config/vxworks29k.exp,
5558 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
5559 gdb.base/all-bin.exp, gdb.base/annota1.exp,
5560 gdb.base/arithmet.exp, gdb.base/assign.exp,
5561 gdb.base/async.exp, gdb.base/attach.exp,
5562 gdb.base/bitfields.exp, gdb.base/bitops.exp,
5563 gdb.base/break.exp, gdb.base/call-ar-st.exp,
5564 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
5565 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
5566 gdb.base/commands.exp, gdb.base/completion.exp,
5567 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
5568 gdb.base/constvars.exp, gdb.base/corefile.exp,
5569 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
5570 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
5571 gdb.base/ending-run.exp, gdb.base/environ.exp,
5572 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
5573 gdb.base/finish.exp, gdb.base/foll-exec.exp,
5574 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
5575 gdb.base/funcargs.exp, gdb.base/help.exp,
5576 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
5577 gdb.base/logical.exp, gdb.base/long_long.exp,
5578 gdb.base/maint.exp, gdb.base/mips_pro.exp,
5579 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
5580 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
5581 gdb.base/pointers.exp, gdb.base/printcmds.exp,
5582 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
5583 gdb.base/regs.exp, gdb.base/relational.exp,
5584 gdb.base/remote.exp, gdb.base/reread.exp,
5585 gdb.base/restore.exp, gdb.base/return2.exp,
5586 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
5587 gdb.base/selftest.exp, gdb.base/setshow.exp,
5588 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
5589 gdb.base/sigall.exp, gdb.base/signals.exp,
5590 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
5591 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
5592 gdb.base/step-test.exp, gdb.base/structs.c,
5593 gdb.base/structs.exp, gdb.base/structs2.exp,
5594 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
5595 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
5596 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
5597 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5598 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
5599 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
5600 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
5601 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
5602 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
5603 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
5604 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
5605 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
5606 gdb.fortran/types.exp, gdb.java/jmisc.exp,
5607 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
5608 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
5609 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5610 gdb.trace/circ.exp, gdb.trace/collection.exp,
5611 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5612 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5613 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
5614 gdb.trace/report.exp, gdb.trace/save-trace.exp,
5615 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5616 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
5617 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
5618 notices.
5619
dc96c6c7 56202001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
5621
5622 * gdb.base/varargs.c (find_max_double): Fix printf format string:
5623 first arg is int not float.
5624
dc96c6c7 56252001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
5626
5627 * gdb.base/reread.exp: Unsupported for non-native targets;
5628 doesn't work for remote debugging.
5629
9b0c4aeb
FN
56302001-02-19 Fernando Nasser <fnasser@redhat.com>
5631
5632 From Drew Moseley <dmoseley@redhat.com>
5633 * gdb.base/ending-run.exp: Properly handle the BSP state when
5634 stepping past the end of main.
5635
02aa71d5
MC
56362001-02-19 John Moore <jmoore@redhat.com>
5637
5638 * gdb.base/commands.exp (infrun_breakpoint_command_test):
5639 Converted HPUX fix for non-expected items following multiple
5640 step commands into general solution for all platforms.
5641
1fa449a4
MC
56422001-02-18 Michael Chastain <chastain@redhat.com>
5643
5644 * gdb.c++/classes.exp (do_tests): Change runto statements
5645 from "runto 'foo(void)'" to "runto 'foo'". This makes the
5646 statements demangler agnostic.
5647 * gdb.c++/virtfunc.exp (do_tests): Likewise.
5648 (gdb_virtfunc_restart): Likewise.
5649
b2f9ec70
MC
56502001-02-14 Michael Chastain <chastain@redhat.com>
5651
5652 * gdb.c++/inherit.exp (do_tests): Change runto statements
5653 from "runto 'foo(void)'" to "runto 'foo'". This makes the
5654 statements demangler agnostic.
5655
cf74b8ca
AC
5656Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
5657
5658 * gdb.threads/pthreads.exp: Unify pass/fail messages for
5659 ``continue to bkpt at common_routine in thread 2'' and ``stopped
5660 before calling common_routine 15 times'' tests.
5661
99f78f56
MC
56622001-02-11 Michael Chastain <chastain@redhat.com>
5663
5664 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
5665 Helps the test script figure out which demangler is in use.
5666 (dm_type_foo_ref): Ditto.
5667 (dm_type_int_star): Ditto.
5668 (dm_type_long_star): Ditto.
5669 (dm_type_unsigned_int): Ditto.
5670 (dm_type_void): Ditto.
5671 (dm_type_void_star): Ditto.
99707966 5672 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
5673 Probe the gdb demangler and set variables to accommodate
5674 formatting differences.
5675 (info_func_regexp): New function. Same as info_func, but
5676 matches against a regexp.
5677 (info_func): Match against a literal string.
5678 (print_addr_2): New function. Match against a literal string,
5679 which can be different from the input to gdb.
5680 (print_addr): Simply call print_addr_2 with the same argument twice.
5681 (test_lookup_operator_functions): Use demangler formatting variables.
5682 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
5683 the tests in the same order as the C++ class declaration.
5684 (test_paddr_operator_functions): Ditto.
5685 (test_paddr_overloaded_functions): Ditto.
5686 (test_paddr_hairy_functions): Use demangler formatting variables.
5687 Add reference to gdb/19 for related tests.
5688 (do_tests): Call probe_demangler.
5689
1de8f023
KB
56902001-01-30 Kevin Buettner <kevinb@redhat.com>
5691
5692 * gdb.c++/templates.cc (printf): Remove unused function definition.
5693
ca3f91ed
MS
56942001-01-26 Felix Lee <flee@redhat.com>
5695
5696 * sid.exp (sid_exit): Pass host, not target, to remote_close.
5697
56982001-01-25 matthew green <mrg@redhat.com>
5699
5700 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
5701 up sid.
5702 (sid_exit): Call `remote_pop_conn' after GDB is gone.
5703
57042001-01-25 matthew green <mrg@redhat.com>
5705
5706 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 5707 Deprecate $sid_spawn_id.
ca3f91ed
MS
5708 (sid_exit): Remove code necessary only for `spawn.'
5709
57102001-01-25 matthew green <mrg@redhat.com>
5711
5712 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
5713
fb18ec4a
MC
57142001-01-28 Michael Chastain <chastain@redhat.com>
5715
5716 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
5717 to call when tests fail. It takes gdb out of the overloaded
5718 function choice menu back to the main prompt, so that the test
5719 program stays synchronized.
5720 (set_bp_overloaded): New proc to collect all the common
5721 code for setting a breakpoint on an overloaded name. Calls
5722 take_gdb_out_of_choice_menu when needed.
5723 (menu_overload1arg): New variable to collect the repeated
5724 instances of the expected menu for an overloaded name. Change
5725 the regular expression to handle changes in g++ type encoding:
5726 "void" can be either "void" or "", and "unsigned int" can be
5727 either "unsigned int" or "unsigned".
5728 (continue_to_bp_overloaded): Change regular expressions to handle
5729 changes in g++ type encoding.
5730 (no proc): Call take_gdb_out_of_choice_menu when needed.
5731 Remove redundant calls to "info break". Accept either "canceled"
5732 or "cancelled". Change regular expressions in "info break"
5733 calls to handle changes in g++ type encoding. Give all tests
5734 unique strings.
5735
9c646a6e
BE
57362001-01-17 Ben Elliston <bje@redhat.com>
5737
5738 * config/sid.exp: New file.
5739
9549d9c1
AC
5740Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
5741
5742 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
5743
dc96c6c7 57442000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
5745
5746 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
5747 Add a RE to accept a non-ascii char if one is ever presented.
5748
b4df4f68
FN
57492000-12-20 Fernando Nasser <fnasser@redhat.com>
5750
297dd0fd 5751 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 5752
dc96c6c7 57532000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 5754
d63a86f8 5755 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
5756 in regexp. One '\' does not suffice on Linux.
5757
4a7bddb6
MC
57582000-12-09 Michael Chastain <chastain@redhat.com>
5759
5760 * gdb.base/break.exp (test_clear_command): Use a marker function
5761 rather than 'main' for the test function. Also move this
5762 test to an execution point where the marker function names are
5763 guaranteed to be bound to functions. (Executing tests after a
5764 'finish' from main runs into name conflicts with local names
5765 in __libc_start_main).
5766
dc96c6c7 57672000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
5768
5769 * gdb.base/finish.exp: New test for gdb's "finish" command.
5770 * gdb.base/return2.exp: New test for gdb's "return" command.
5771 * gdb.base/return2.c: New source file for above.
5772
dc96c6c7 57732000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
5774
5775 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
5776 * gdb.base/miscexprs.exp: Ditto.
5777 * gdb.base/pointers.exp: Ditto.
5778 * gdb.c++/derivation.exp: Ditto.
5779 * gdb.c++/local.exp: Ditto.
5780 * gdb.c++/namespace.exp: Ditto.
5781 * gdb.c++/overload.exp: Ditto.
5782 * gdb.c++/ref-types.exp: Ditto.
5783
dc96c6c7 57842000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
5785
5786 * gdb.base/constvars.exp: Test result of "up" command.
5787 * gdb.base/miscexprs.exp: Ditto.
5788 * gdb.base/pointers.exp: Ditto.
5789 * gdb.base/scope.exp: Ditto.
5790 * gdb.c++/derivation.exp: Ditto.
5791 * gdb.c++/local.exp: Ditto.
5792 * gdb.c++/namespace.exp: Ditto.
5793 * gdb.c++/overload.exp: Ditto.
5794 * gdb.c++/ref-types.exp: Ditto.
5795
44097287
FN
57962000-11-22 Michael Chastain <chastain@redhat.com>
5797
5798 * mips_pro.exp: Accept either "middle -> top -> main" or
5799 "middle -> main" in the backtrace, because gcc can optimize
5800 tail calls to jumps. Remove setup_xfail for the hppa case.
5801 Add a comment with the original warning messages from PR 3016,
5802 which was filed in 1993, to preserve them for posterity.
5803
9d2e1bab
ND
58042000-11-17 Nick Duffek <nsd@redhat.com>
5805
5806 * lib/gdb.exp (gdb_test): Override timeout with board info.
5807
1aca8eb7
ND
58082000-11-17 Nick Duffek <nsd@redhat.com>
5809
5810 * gdb.base/display.exp: Don't kill running stub. Add "again" to
5811 the second kill and detach messages.
5812
93076499
ND
58132000-11-17 Nick Duffek <nsd@redhat.com>
5814
5815 * configure.in: Add AC_EXEEXT.
5816 * configure: Regenerate.
5817 * Makefile.in (just-check): Export EXEEXT.
5818 * lib/gdb.exp ($EXEEXT): Import from environment.
5819 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
5820 expect "maint dump-me" on Cygwin.
5821 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
5822 $EXEEXT.
5823
30e87cd3
ND
58242000-11-17 Nick Duffek <nsd@redhat.com>
5825
5826 * gdb.base/break.exp: Test backtrace and finish from called
5827 function on all platforms, not just HP-UX.
5828
dc96c6c7 58292000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
5830
5831 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
5832 code from gdb_target_monitor, so it can be used independantly
5833 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 5834
dc96c6c7 58352000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
5836
5837 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
5838 * gdb.base/corefile.exp: Expect the message "Program is being
5839 debugged already" when we send the "corefile" command, since
5840 the preceeding gdb_load may have connected gdb to a remote target.
5841 * gdb.base/display.exp: Disable hardware watchpoints if new
5842 board info variable "no_hardware_watchpoints" is true.
5843 Replace single-letter commands with more readable ones.
5844 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
5845 if new board info variable "no_hardware_watchpoints" is true.
5846 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
5847 to see if stdio (printf) testing is possible.
5848 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
5849 board info variable "no_hardware_watchpoints" is true. Use new
5850 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
5851
39124dea
FN
58522000-11-13 Fernando Nasser <fnasser@redhat.com>
5853
5854 From Orjan Friberg <orjanf@axis.com>:
5855 * gdb.base/printcmds.exp: Escape curly braces followed by a number
5856 in array print pattern match.
5857
a9e2e984
FN
58582000-11-09 Fernando Nasser <fnasser@redhat.com>
5859
5860 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
5861 spelling "cancelled" to U.S. spelling "canceled" to match changes
5862 made to gdb.
5863 * gdb.c++/ovldbreak.exp: Ditto.
5864
c7db355b
PS
58652000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5866
5867 * gdb.base/callfuncs.c (main): Moved to end of file, call
5868 t_double_values to initialize the FPU before inferior calls are made.
5869 * gdb.base/callfuncs.exp: Test for register preservation after calling
5870 inferior functions. Add tests for continuining, finishing and
5871 returning from a stop in a call dummy.
5872
dc96c6c7 58732000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
5874
5875 * gdb.base/commands.exp: Break up long lines, and re-indent.
5876
dc96c6c7 58772000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
5878
5879 * config/gdbserver.exp: Rewritten from the ground up, to make it
5880 compatible with the current dejagnu tree, and to make it work with
5881 the new "gdbserver" in libremote.
5882
dc96c6c7 58832000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
5884
5885 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
5886 * gdb.base/varargs.exp: Skip entire test if no printf support.
5887 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
5888 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
5889
dc96c6c7 58902000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
5891
5892 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
5893 no floating point support.
5894 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
5895 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
5896 * gdb.base/call-rt-st.exp: Ditto.
5897 * gdb.base/call-strs.exp: Ditto.
5898
bac5fc66
JG
58992000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
5900
5901 * gdb.base/sizeof.c: include <stdio.h>.
5902
5903 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
5904 'finish', otherwise uncaptured gdb_prompt would potentially
5905 throw remaining test points out of sync.
5906
b22a6027
SB
59072000-07-26 Scott Bambrough <scottb@netwinder.org>
5908
5909 * gdb.base/recurse.exp: Run tests for all targets.
5910 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
5911 gnu-oldld case on ARM.
5912 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
5913 for ARM targets.
d63a86f8 5914
d8231941
AG
5915Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
5916
5917 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
5918 * gdb.java/configure: Rebuild.
5919
8caabe69
AG
5920Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
5921
5922 * gdb.java/jv-exp.exp: New file.
5923
9d273ca3
AG
5924Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
5925
5926 * configure: Rebuilt.
5927 * configure.in (configdirs): Add gdb.java.
5928 * gdb.java/jmisc.java: New file.
5929 * gdb.java/jmisc.exp: New file.
5930 * gdb.java/Makefile.in: New file.
5931 * gdb.java/configure: Rebuilt.
5932 * gdb.java/configure.in: New file.
5933 * lib/java.exp: New file.
5934
4f823a66
AC
5935Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
5936
5937 * gdb.base/exprs.exp: Test casts to a pointer including over and
5938 underflow.
5939
2391e11d
AC
5940Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
5941
5942 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
5943 and the compilers sizes.
5944
54602222
ND
59452000-07-09 Nick Duffek <nsd@redhat.com>
5946
5947 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
5948 (use_methods): New function.
5949 (main): Call use_methods().
5950 * gdb.c++/classes.exp (test_method_param_class): New procedure.
5951 (do_tests): Call test_method_param_class.
5952
2bec0572
ND
59532000-07-09 Nick Duffek <nsd@redhat.com>
5954
5955 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
5956 spelling.
5957 (test_enums): New procedure. Move enum tests from end of script
5958 to here. Set breakpoint on function name instead of line number.
5959 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
5960 (enums2): New marker function.
5961 (enums1): New function.
5962 (main): Call enums1(). Move enum tests to enums1().
5963
78492fde
AC
5964Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
5965
5966 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
5967 compile/link program. Update line numbers.
5968 * gdb.asm/d10v.inc: Define ``startup''.
5969 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 5970
49a2cef8
AC
5971Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
5972
5973 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
5974
3e6c8688
EZ
59752000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5976
5977 * gdb.base/maint.exp: Add 'maint print architecture' item to output
5978 of 'help maint print' command.
5979
9ff5cbe9
AC
5980Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
5981
5982 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
5983 they use gdb_expect_list.
5984
17c579bd
AC
5985Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
5986
5987 * gdb.base/commands.exp: Use ``set remote
5988 memory-read-packet-size'' instead of ``set endian big'' to test
5989 long commands.
5990
e6d71bf3
DB
59912000-06-03 Daniel Berlin <dan@cgsoftware.com>
5992
5993 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 5994 g++, and stop skipping them.
e6d71bf3
DB
5995
5996 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
5997 work under g++.
5998
d63a86f8 5999 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
6000 initialization.
6001
dc96c6c7 60022000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
6003
6004 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
6005 the regular expression: accept an (almost) arbitrary sequence of
6006 "frames-invalid" and "breakpoints-invalid" messages both before
6007 and after the "starting" message.
6008
dc96c6c7 60092000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
6010
6011 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 6012
dc96c6c7 60132000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
6014
6015 * gdb.base/annota1.exp (annotate-signal-handler-caller):
6016 Relax the regular expression a little, make it pass on Solaris 8.
6017
8216cda9
KB
60182000-05-12 Kevin Buettner <kevinb@redhat.com>
6019
6020 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 6021 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
6022 Instead, it is permissible for gdb to stop on the line of the
6023 call itself.
6024
1a570b2f
MS
60252000-05-12 Michael Snyder <msnyder@.cygnus.com>
6026
6027 * gdb.base/break.exp (bp on small function, optimized file):
6028 Add a second pass pattern. The behavior differs here between stabs
6029 and dwarf for one-line functions. Stabs preserves two line symbols
6030 (one before the prologue and one after) with the same line number,
6031 but dwarf regards these as duplicates and discards one of them.
6032 Therefore the address after the prologue (where the breakpoint is)
6033 has no exactly matching line symbol, and GDB reports the breakpoint
6034 as if it were in the middle of a line rather than at the beginning.
6035
dc96c6c7 60362000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 6037
d63a86f8 6038 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
6039 rather than "send_gdb" (for consistancy).
6040
7d418785
AC
6041Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
6042
6043 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
6044 * gdb.c++/templates.cc: Properly check for GCC version number.
6045 * lib/compiler.cc: Likewise
6046
dc96c6c7 60472000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 6048
d63a86f8 6049 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
6050 gdb may not stop at the first line of main, due to code motion.
6051
dc96c6c7 60522000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
6053
6054 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
6055 This test depends on parsing the printf output from the target.
6056 Since the sparclet stub doesn't do stdio, this will never work.
6057 * gdb.base/call-rt-st.exp: ditto.
6058 * gdb.base/call-strs: ditto.
6059
dc96c6c7 60602000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
6061
6062 * gdb.base/miscexprs.exp: make sizeof long array test portable.
6063
6064 * gdb.base/ending-run.exp: After connecting to a remote target,
6065 but before running, the target will appear to be in a random
6066 location. Specify both a file and a line for breakpoints.
6067 Also, the function that calls main may be called 'init'
6068 rather than 'start'.
6069
a5a51225
EZ
60702000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6071
6072 * gdb.base/help.exp: Update output for add-symbol-file command.
6073
7930cc7c
FN
60742000-04-10 Fernando Nasser <fnasser@cygnus.com>
6075
6076 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6077 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
6078
23e37ab1
C
60792000-04-07 J.T. Conklin <jtc@redback.com>
6080
e93c542c
C
6081 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
6082
23e37ab1
C
6083 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
6084
591b8fa3
PDM
6085Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
6086
6087 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
6088 values that can be represented exactly.
6089 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
6090 above change, and to not check against the directory part of the source
6091 file name.
6092 (step into print_long_arg_list): Likewise.
6093 (print print_small_structs from print_long_arg_list): Likewise.
6094 (print print_long_arg_list): Likewise.
6095
7a495180
EZ
60962000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6097
30b53638 6098 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 6099
beb998c6
AC
6100Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
6101
6102 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
6103
1c689132
DB
61042000-03-25 Daniel Berlin <dan@cgsoftware.com>
6105
6106 * gdb.base/commands.exp (deprecated_command_test): Add test for
6107 deprecate with no arguments.
6108
c1790a9d
JL
61092000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
6110
6111 * gdb.base/break.exp: Add new test for setting breakpoints on
6112 optimized code so we can test breakpoints work even when function
6113 prologues may be optimized away
6114
003ba290
FN
61152000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
6116
6117 From David Whedon <dwhedon@gordian.com>
6118 * gdb.base/commands.exp : Added command deprecator tests.
6119
6837a0a2
DB
61202000-03-22 Daniel Berlin <dan@cgsoftware.com>
6121
6122 * gdb.base/help.exp: Added test for new apropos command.
6123
b9593231
KB
61242000-03-21 Kevin Buettner <kevinb@redhat.com>
6125
6126 * gdb.base/pointers.c (usevar): New function.
6127 (main): Make sure that global variables v_int_pointer2, rptr,
6128 and y are all referenced someplace in the program by calling
6129 usevar() on them. [Some linkers delete symbols which are
6130 never referenced. The space remains, but there's no way to
6131 get a (symbolic) handle on the variable from the debugger.]
6132
751a959b
EZ
61332000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6134
6135 * gdb.base/printcmds.c: Add typedeffed arrays.
6136
6137 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
6138 procedure to test arrays that are typedef'd.
6139
73a93a32
JI
61402000-03-13 James Ingham <jingham@leda.cygnus.com>
6141
6142 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 6143 the library directories.
73a93a32 6144
fb40c209
AC
6145Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
6146
6147 * configure.in (configdirs): Add sub directory gdb.mi.
6148 * configure: Re-generate.
6149
6150 * gdb.mi: New directory.
d63a86f8 6151
ee4dd2c9
AC
61522000-02-25 Scott Bambrough <scottb@netwinder.org>
6153
6154 * gdb.base/long_long.exp: Correct test suite failure when printing
6155 a long long value as a double on ARM platforms.
6156
70f0cc22
JB
61572000-02-16 Jim Blandy <jimb@redhat.com>
6158
6159 * gdb.base/break.exp ("breakpoint line number"): Make sure the
6160 default source file is set properly before running this test.
6161
853819b8
EZ
61622000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6163
6164 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
6165 gdbtk/library directory, not in gdbtcl2.
6166
dfcd3bfb
JM
61672000-02-04 Jim Blandy <jimb@redhat.com>
6168
6169 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
6170 backslash from regexp pattern.
6171
6172 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
6173 procedure. Use it to run all the "continue to bp overloaded"
6174 tests. Note that this changes the names of the tests slightly.
6175 If the breakpoint hit message includes a hex PC value, because
6176 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
6177 from the real source code, still consider that a pass.
6178
6179 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
6180 XFAIL here if the breakpoint message contains a hex address. Note
6181 similar change on 1999-11-02.
6182
6183 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
6184
6185 * gdb.base/ptype.exp: Establish a default source file before
6186 calling get_debug_format.
6187
61882000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
6189
6190 * gdb.base/watchpoint.exp: Remove duplication of test messages.
6191
8b93c638
JM
61922000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6193
6194 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
6195 of successive stepi commands -- while in the prologue we should see
6196 the function entry bracket.
6197
61982000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6199
6200 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
6201 reach __change_mode() when stepping through the end of main().
6202
c5394b80
JM
62032000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
6204
6205 * gdb.base/default.exp: Fix expected pattern.
6206 * gdb.base/help.exp: Same.
6207
0d06e24b
JM
62082000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6209
6210 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
6211 Don't use xfail's because that affects only the following test.
d63a86f8 6212
0d06e24b
JM
6213 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
6214 solaris or linux.
6215
6216 * gdb.base/selftest.exp: Update to reflect changes to main.c.
6217
dc96c6c7 62182000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 6219
d63a86f8 6220 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
6221 "A syntax error" rather than "A parse error". Accept both.
6222
62232000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
6224
6225 * gdb.base/default.exp: Remove OS dependent string from "target
6226 remote" test.
6227 * gdb.base/help.exp: Same for "help target remote" test.
6228
c3f6f71d
JM
62292000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6230
6231 From Jim Kingdon <kingdon@redhat.com>:
6232
6233 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
6234 prompt (cleanup rather than necessity, but still might keep output
6235 from spilling to next test).
6236
62372000-01-02 Fred Fish <fnf@cygnus.com>
6238
6239 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
6240 AIX, which defines them in <sys/types.h>.
6241
ed9a39eb 62421999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 6243
ed9a39eb
JM
6244 * gdb.base/default.exp: Match arm* etc instead of arm in "info
6245 float" test.
6246
62471999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 6248
ed9a39eb 6249 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
6250
6251 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
6252 outermost frame disallowed".
6253
62541999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
6255
6256 * gdb.base/setvar.exp: New tests for setting the value of a struct
6257 with a constant list.
6258
62591999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
6260
6261 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
6262 require the user to type a cast before setting the value of a struct.
6263
de57eccd
JM
62641999-12-06 Jim Blandy <jimb@cygnus.com>
6265
6266 * gdb.base/default.exp: Expect the new 'info float' command on
6267 all i386 platforms.
6268
6269 * gdb.threads/linux-dp.exp: Expand our ability to recognize
6270 LinuxThreads libraries that don't support debugging.
6271
c2d11a7d
JM
6272Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6273
6274 * gdb.base/remote.c: Fill the buffer with truely random data.
6275 Change the buffer type to ``unsigned char'' to simplify size
6276 arithmetic.
6277
6278 * gdb.base/remote.exp: Reduce download numbers by one. Typical
6279 stub only handles 400-1 byte packets. Verify that the download
6280 worked.
6281
62821999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
6283
6284 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
6285 tests, using UNRESOLVED for the untested cases. Also, does not wait
6286 for a timeout if the prompt was received before a recognizable pattern.
6287
62881999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
6289
6290 * lib/gdb.exp (gdb_expect_list): Fix spelling.
6291
62921999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6293
6294 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
6295 watchpoints.
6296
62971999-11-24 Jason Merrill <jason@casey.cygnus.com>
6298
6299 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
6300
6301 * gdb.c++/local.exp: Be more flexible in recognizing local class
6302 name mangling. Don't allow horribly truncated method names.
6303 * gdb.c++/derivation.exp: Expect protected inheritance.
6304 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
6305 * gdb.c++/virtfunc.exp: Likewise.
6306 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
6307 when printing a nested enum.
6308
63091999-11-22 Jim Blandy <jimb@cygnus.com>
6310
6311 * gdb.base/step-test.exp: Properly await GDB's response to setting
6312 a breakpoint on the call to large_struct_by_value.
6313
6314 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
6315 just because we have debug info for the `start' function.
6316
63171999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
6318
6319 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
6320 "Unknown signal" messages, which indicate (on LinuxThreads) that
6321 GDB doesn't know how to debug threads on this system. This is
6322 better than hanging while philosopher 0 dumps chatter into gdb.log.
6323
63241999-11-18 Tom Tromey <tromey@cygnus.com>
6325
6326 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
6327
63281999-11-18 Fred Fish <fnf@cygnus.com>
6329
6330 * gdb.base/coremaker2.c: Add sample program for generating
6331 cores that is more self contained than coremaker.c. Eventually
6332 I'll add more code to this and tie it into the testsuite.
6333
4ce44c66
JM
63341999-11-12 Stan Shebs <shebs@andros.cygnus.com>
6335
6336 * gdb.base/dollar.exp: Remove, now in gdb.hp.
6337
63381999-11-10 Jimmy Guo <guo@cup.hp.com>
6339
6340 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
6341 from $srcdir/lib/.
6342 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
6343 and gdb.c++/.
6344
6345 * gdb.c++/derivation.exp: remove redundant get compiler info code.
6346
d63a86f8 6347 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
6348 'continue with watch' test point.
6349
63501999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
6351
6352 Merged from p2linux-990323-branch:
d63a86f8 6353
4ce44c66
JM
6354 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
6355
11cf8741
JM
6356Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
6357
6358 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
6359 {limit,fixed}''. Test ``set download-write-size''.
6360
6361Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
6362
6363 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
6364 gdb_expect_list.
6365
6366Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
6367
6368 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
6369
63701999-11-03 Mark Salter <msalter@cygnus.com>
6371
6372 * gdb.base/break.exp: Fix "stub continue" pattern.
6373
63741999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
6375
6376 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
6377
63781999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
6379
6380 * gdb.base/display.exp ("finish"): Add timeout clause.
6381
6382 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
6383 plain prompt clause, so this doesn't have to time out in order to
6384 fail.
6385
6386 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
6387 breakpoint hit messages include an address.
6388
6389 * gdb.base/display.exp: Don't forget to escape parens in regular
6390 expressions. Unix regexp notatation sucks.
6391
63921999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6393
6394 * gdb.base/annota1.exp: Test for annotate-signalled: change output
6395 order for 'signalled' message.
6396
5c44784c
JM
63971999-11-01 Stan Shebs <shebs@andros.cygnus.com>
6398
6399 From Jimmy Guo <guo@cup.hp.com>:
6400 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
6401 * gdb.base/annota1.c: Add code for tests to work with.
6402
64031999-10-26 Frank Ch. Eigler <fche@cygnus.com>
6404
6405 * gdb.base/remote.exp: New test for remote downloading settings.
6406 * gdb.base/remote.c: New file with large .data.
6407
917317f4
JM
64081999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
6409
6410 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
6411 for LinuxThreads support, merged from the Code Fusion branch.
6412
6413Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
6414
6415 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
6416 containing exp_continue into a while within an expect. Don't
6417 attempt a start more than three times. Check return value from
6418 gdb_load.
d63a86f8 6419
2df3850c
JM
6420Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
6421
6422 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
6423 a pass case.
6424
2acceee2
JM
64251999-10-01 Kevin Buettner <kevinb@cygnus.com>
6426
6427 * gdb.base/break.c (main): Added a statement that we can step
6428 off of.
6429 * gdb.base/break.exp: Added tests for setting a breakpoint
6430 at an offset and stepping onto a breakpoint.
6431
64321999-10-01 Fred Fish <fnf@cygnus.com>
6433
d63a86f8 6434 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
6435 gdb output.
6436
c2c6d25f
JM
64371999-09-18 Jim Blandy <jimb@cris.red-bean.com>
6438
6439 * gdb.base/break.exp: Code locations are in hex, don't forget!
6440 (For HP-UX.)
6441
64421999-09-17 Stan Shebs <shebs@andros.cygnus.com>
6443
6444 * condbreak.exp: Use break.c as test program.
6445 * condbreak.c: Remove, redundant with break.c.
6446
64471999-09-15 Stan Shebs <shebs@andros.cygnus.com>
6448
6449 * config/monitor.exp (gdb_target_monitor): Disable X- and
6450 Z-packets if the target needs it.
6451
64521999-09-13 James Ingham <jingham@leda.cygnus.com>
6453
6454 * gdb.c++/overload.exp: Added tests for listing overloaded
6455 functions with function pointers in the arg, explicitly calling
6456 out the version you want.
6457
cff3e48b
JM
64581999-09-09 Stan Shebs <shebs@andros.cygnus.com>
6459
6460 * long_long.exp: Add variations of test cases that work for
6461 targets with 16-bit ints and 32-bit doubles.
6462
d4f3574e
SS
64631999-09-08 Stan Shebs <shebs@andros.cygnus.com>
6464
6465 * break.c (main): Compare a possibly-uninitialized argc with an
6466 unlikely value that fits in 16 bits.
6467
64681999-09-07 Stan Shebs <shebs@andros.cygnus.com>
6469
6470 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
6471 0xfeeb, don't want negative numbers if ints are 16 bits.
6472
6473 * lib/gdb.exp (skip_cplus_tests): New proc.
6474 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6475 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
6476 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
6477 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
6478 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
6479 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
6480 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
6481 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
6482
6483 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
6484
6485Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
6486
6487 * gdb.base/corefile.exp (up): Allow a parameter to appear
6488 in the frame that we're going up to.
6489
6490 From Jim Blandy <jimb@cygnus.com>:
6491
6492 * gdb.base/default.exp (info float): Expect some output now.
6493
6494 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
6495 returning floating-point values to fail on the x86.
6496 * gdb.base/callfwmall.exp (do_function_calls): Same.
6497
6498 * gdb.base/list.exp (test_listsize): Correct expectations for
6499 listing line 1 with listsize 2. Also, listing a single line
6500 works now, as does listing three lines. [Kevin's note: There
6501 were a number of other cases fixed too where the expectations
6502 differed...]
6503
65041999-09-02 Stan Shebs <shebs@andros.cygnus.com>
6505
6506 * gdb.base/selftest.exp: Add case for when version prints as
6507 constant string instead of char pointer.
6508
104c1213
JM
65091999-08-25 Stan Shebs <shebs@andros.cygnus.com>
6510
6511 * gdb.base/ending-run.exp: Add Solaris case for what happens when
6512 stepping out of main.
6513
6514 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
6515 G++ used.
6516
6517 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
6518 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
6519
6520 * gdb.c++/ovldbreak.exp: Update match string in test that
6521 includes a warning of multiple breakpoints.
6522
65231999-08-24 Stan Shebs <shebs@andros.cygnus.com>
6524
6525 * gdb.base/display.exp: Improve precision of step-after-finish
6526 added yesterday.
6527
6528 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
6529 test.
6530
6531 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
6532 configs when using G++, not just hppa*.
6533
65341999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6535
6536 * gdb.base/async.c: New file.
6537 * gdb.base/async.exp: New file.
6538
6539Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
6540
6541 * gdb.base/break.exp: Tweak PA specific tests to properly handle
6542 PA64.
6543
53a5351d
JM
6544Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
6545
104c1213
JM
6546 * gdb.base/display.exp: "finish" can leave us mid-line on many
6547 targets, deal with it. Add a small constant to main, instead of
6548 1000 since main+1000 may not be a valid address in the target.
6549
53a5351d
JM
6550 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
6551 on hpux11.
6552
6553 * gdb.base/attach.exp: Handle another hpux11 error message variant
6554 when attaching to a process that does not exist.
6555
65561999-08-19 J.T. Conklin <jtc@redback.com>
6557
6558 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
6559 characters in 'continue to 1241' test.
6560
65611999-08-17 Stan Shebs <shebs@andros.cygnus.com>
6562
6563 * gdb.base/call-ar-st.exp: Add a shorter match case for the
6564 stop in print_long_arg_list, define and use a whitespace
6565 variable in print_small_structs test, add an XFAIL for Solaris.
6566 * gdb.base/dbx.exp: XFAIL func commands until somebody is
6567 interested enough to fix.
6568
7be570e7
JM
65691999-08-13 Keith Seitz <keiths@cygnus.com>
6570
6571 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
6572 (dbx_gdb_load): Remove. Use gdb_load instead, since that
6573 proc knows about targets other than the natives.
6574 (test_assign): Use "gdb_run_cmd" to "run" the target.
6575 Check that we've actually hit the breakpoint at main.
6576 When we attempt to assign a value to a local variable, check
6577 that the variable is in the current scope, i.e., don't use
6578 a test with an empty result.
6579
6580Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
6581
6582 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
6583 command.
6584
65851999-08-09 Stan Shebs <shebs@andros.cygnus.com>
6586
6587 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6588 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
6589 gdb.compat, gdb.threads-hp.
6590 gdb.hp/configure, gdb.hp/configure.in: New files.
6591 gdb.hp/Makefile.in: Recurse into new subdirs.
6592 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
6593 gdb.hp/gdb.objdbg: New directory, tests for debugging info
6594 in object files.
6595 gdb.hp/tools: New directory, aux tools for HP-specific tests.
6596
96baa820
JM
65971999-08-05 Stan Shebs <shebs@andros.cygnus.com>
6598
6599 * gdb.base/display.exp: Help expect by putting a newline in the
6600 funky printf, remove a bogus p/a test.
6601
66021999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6603
6604 * gdb.base/display.exp: Make sure that when we say 'run', we are
6605 connected to the target. This is necessary when running not
6606 natively.
6607
66081999-08-03 Stan Shebs <shebs@andros.cygnus.com>
6609
6610 * gdb.base/step-test.exp: Removed some extraneous messages.
6611
6612 * gdb.base/long_long.exp: Don't run memory examination tests
6613 on little-endian targets (they will need a different set of
6614 results to match).
6615
66161999-08-02 Stan Shebs <shebs@andros.cygnus.com>
6617
6618 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
6619 until somebody decides to fix GDB.
6620
6621 * gdb.base/long_long.c: Stop compiler complaint by specifying long
6622 constant as "ULL".
6623 * gdb.base/long_long.exp: Loosen x/c test, add partial result
6624 matches for a couple x/2 commands.
6625
a0b3c4fd
JM
66261999-07-30 Stan Shebs <shebs@andros.cygnus.com>
6627
6628 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
6629 by merging in ref-types2 tests.
6630 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
6631
6632 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6633 * gdb.c++/Makefile.in: Add standard actions.
6634 (EXECUTABLES): Rename from PROGS, update list.
6635 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
6636 from gdb.hp.
6637 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
6638 foo and bar locals.
6639 * gdb.c++/anon-union.exp: Fix tests to match.
6640 * gdb.c++/classes.exp: Run if HP compiler used, add extra
6641 expect matches to handle output variations.
6642 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
6643 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
6644 output, add HP alternatives for new and delete prints.
6645 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
6646 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
6647 * gdb.c++/demangle.exp: Use $style when reporting failure.
6648 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
6649 * gdb.c++/inherit.exp: Run if HP compiler used, add some
6650 match alternatives.
6651 * gdb.c++/local.exp: Add match alternatives or xfails for HP
6652 compilers.
6653 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
6654 * gdb.c++/method.exp: Add match alternatives.
6655 * gdb.c++/misc.cc: Add bool types.
6656 * gdb.c++/misc.exp: Add tests for bool types.
6657 * gdb.c++/overload.exp: Add xfails.
6658 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
6659 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
6660 add some more template parameter tests (only for HP currently).
6661 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
6662 * gdb.c++/virtfunc.cc: Add return type and value for main.
6663 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
6664 match alternatives.
d63a86f8 6665
a0b3c4fd
JM
66661999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6667
6668 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
6669
66701999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
6671
6672 * gdb.base/signals.exp: Don't expect getting a backtrace from
6673 within a signal handler to fail on Linux.
6674
66751999-07-29 Stan Shebs <shebs@andros.cygnus.com>
6676
6677 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6678 * lib/gdb.exp: Remove some gratuitious semicolons.
6679 (delete_breakpoints): Increase timeout.
6680 (gdb_expect): Add -notransfer option.
6681 (gdb_test): Use -notransfer option.
6682 (get_compiler_info): Add f77 case.
6683 (get_compiler): New proc, split out from gdb_preprocess, add f77
6684 case.
6685 (gdb_preprocess): Call get_compiler.
6686
6687 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
6688 * gdb.base/attach.exp, gdb.base/display.exp,
6689 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
6690 gdb.base/long_long.exp, gdb.base/printcmds.exp,
6691 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
6692 third arg to gdb_test.
6693 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
6694 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
6695 HP-UX xfails, add others.
6696 * gdb.base/completion.exp: Reflect name change of self-test.
6697 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
6698 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
6699 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
6700 HP failure number.
6701 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
6702 useless HP-UX 10.30 references.
6703 * gdb.base/maint.exp: Loosen matches.
6704 * gdb.base/pointers.c (main): Declare more_code.
6705 * gdb.base/pointers.exp: Match on output of a `next'.
6706 * gdb.base/structs.c: Add prototypes.
6707 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
6708 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
6709
67101999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6711
6712 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
6713 command.
6714
67151999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6716
6717 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
6718 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
6719
6720 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
6721 debug info. Deal with lack of signal hanlder info in stack.
6722
6723 From Jim Kingdon <kingdon@redhat.com>:
6724 * gdb.base/annota1.exp: If printf has debug info, deal with it.
6725
5a2468f5
JM
67261999-07-19 Stan Shebs <shebs@andros.cygnus.com>
6727
6728 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
6729 gdb.base/foll-vfork.exp: Don't run for crosses.
6730
adf40b2e
JM
6731Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6732
6733 * gdb.base/configure.in: Check for gdbvars.exp instead of
6734 a1-selftest.exp.
6735 * gdb.base/configure: Re-generate.
6736
67371999-07-12 Stan Shebs <shebs@andros.cygnus.com>
6738
6739 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
6740 in trying to run first and name is too long.
6741
6742 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
6743 pointers2.c and pointers2.exp, respectively.
6744 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
6745 doschk happier.
6746
43e526b9
JM
67471999-07-08 Stan Shebs <shebs@andros.cygnus.com>
6748
6749 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
6750 callfuncs2.c and callfuncs2.exp.
6751
6752 * gdb.base/list.exp: Remove mistaken xfails.
6753 * gdb.base/list0.h: Add optional prototypes.
6754
9846de1b
JM
6755Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
6756
6757 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
6758 calling malloc.
6759 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
6760 * ptype.exp: Move test for get_debug_format to before its first
6761 use.
6762
67631999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6764
6765 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
6766 * gdb.base/annota2.cc, annota2.exp: Move from here.
6767 * gdb.c++/annota2.cc, annota2.exp: To here.
6768 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
6769
43ff13b4
JM
6770Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
6771
6772 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
6773 a consistent format.
6774
085dd6e6
JM
67751999-06-25 Stan Shebs <shebs@andros.cygnus.com>
6776
6777 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6778 * lib/gdb.exp (get_compiler_info): Add detection for assorted
6779 HP compilers, also set the globals $true and $false.
6780
6781 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
6782 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
6783 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
6784 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
6785 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
6786 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
6787 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
6788 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
6789 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
6790 whatis.c} Add C++ compatible function definitions and return
6791 types, add includes for library functions.
6792 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
6793 * gdb.base/step-test.c (myglob): Rename from glob.
6794 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
6795 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
6796 files, move here from gdb.hp.
6797 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
6798 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
6799 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
6800 Adjust line numbers in regexps.
6801
6802 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
6803 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
6804 instead of 0/1.
6805
6806 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
6807 foll-vfork.exp: New files, move here from gdb.hp.
6808 * gdb.base/page.exp: New file, test of pagination command.
6809
6810 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
6811 recursion test.
6812 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
6813
6814 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
6815 gdb.base/solib.exp: Fix compiler invocation process.
6816
6817 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
6818 HP-UX 11, turn off overload resolution explicitly.
6819 * gdb.base/commands.exp: Set argument list explicitly, add
6820 watchpoint test.
6821 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
6822 them work.
6823 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
6824 expressions properly.
6825 * gdb.base/corefile.exp: Loosen the match slightly.
6826 * gdb.base/default.exp: Allow "Error accessing memory" message
6827 also.
6828 * gdb.base/display.exp: Skip over x/0 j if PA64.
6829 * gdb.base/funcargs.exp: Add xfails for HP-UX.
6830 * gdb.base/interrupt.exp: Ditto.
6831 * gdb.base/langs.exp: Add symbolic matches governed by compiler
6832 in use.
6833 * gdb.base/list.exp: Add xfails for HP-UX.
6834 * gdb.base/long_long.exp: Refine some of the numeric matches.
6835 * gdb.base/mips_pro.exp: Xfail on HP-UX.
6836 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
6837 * gdb.base/nodebug.exp: Succeed on more varieties of output.
6838 * gdb.base/opaque.exp: Remove some HP-UX xfails.
6839 * gdb.base/ptype.exp: Succeed on more varieties of output.
6840 * gdb.base/scope.exp: Add xfails for HP-UX.
6841 * gdb.base/sect-cmd.exp: Add more cases.
6842 * gdb.base/setvar.exp: Add xfails for HP-UX.
6843 * gdb.base/shlib-call.exp: Loosen some matches slightly.
6844 * gdb.base/signals.exp: Match on void symbolically.
6845 * gdb.base/step-test.exp: Add case for PA64.
6846 * gdb.base/term.exp: Add exit and restart.
6847 * gdb.base/twice.exp: Clean up after self.
6848 * gdb.base/varargs.exp: Disable overload resolution explicitly.
6849 * gdb.base/whatis.exp: Allow more ways to pass tests.
6850
6851 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
6852 no longer useful.
6853
6854Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
6855
6856 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
6857 list of patterns.
6858 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
6859 print_double_array(double_array)", "continuing to breakpoint
6860 1018", "print print_double_array(array_d)" and "continuing to
6861 1034" tests.
d63a86f8 6862
085dd6e6
JM
68631999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
6864
6865 * Makefile.in: Add empty html and install-html targets.
6866
68671999-06-24 Stan Shebs <shebs@andros.cygnus.com>
6868
6869 * config/mt-*: Remove, these haven't been used since 1996.
6870
68711999-06-22 Stan Shebs <shebs@andros.cygnus.com>
6872
6873 * gdb.base/call-strs.c, gdb.base/ending-run.c,
6874 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
6875 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
6876
9e0b60a8
JM
68771999-06-18 Stan Shebs <shebs@andros.cygnus.com>
6878
6879 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
6880 simpler match case for the ptype of the big class.
6881
68821999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6883
6884 * gdb.exp: Fix test for gdb_prompt existence.
6885
68861999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6887
6888 * gdb.exp (gdb_test): Add fail after calls to perror.
6889
68901999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6891
6892 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
6893
68941999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6895
6896 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
6897
0f71a2f6
JM
6898Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
6899
6900 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
6901 malloc() is linked in.
6902
69031999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
6904
6905 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
6906 step at end.
6907
6908 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
6909
69101999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
6911
6912 * gdb.java/jv-print.exp: New file. (Our first Java test!)
6913
cce74817
JM
6914Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
6915
6916 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
6917 * gdb.base/mips_pro.exp: Likewise.
6918
69191999-06-02 Keith Seitz <keiths@cygnus.com>
6920
6921 * gdb.c++/templates.cc: Change all "new" operators to throw
6922 an exception.
6923 * gdb.c++/cplusfuncs.cc: Likewise.
6924
6925 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
6926
6927Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
6928
6929 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
6930 * gdb.base/ending-run.exp: When stepping out of main, accept a
6931 step into an arbitrary assembler file.
6932
392a587b
JM
69331999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6934
d63a86f8 6935 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 6936 "breakpoint-invalid" to be printed.
d63a86f8 6937 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
6938 number of "frames-invalid" and "breakpoint-invalid" to be printed.
6939 * gdb.base/annota2.cc: Initialize a.x to 0.
6940
9e086581
JM
69411999-05-17 Keith Seitz <keiths@cygnus.com>
6942
6943 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
6944 when "skip_float_tests" set.
6945 Ditto for "print print_double_array(array_d)", "print print_small_structs",
6946 "print print_ten_doubles", and "step into print_long_arg_list".
6947 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
6948 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
6949 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
6950 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
6951 "skip_float_tests" is set.
6952 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
6953 when "skip_float_tests" set.
d63a86f8 6954
cd0fc7c3
SS
69551999-05-06 Keith Seitz <keiths@cygnus.com>
6956
6957 * gdb.base/annota2.cc: Include stdio.h.
6958
6959Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
6960
6961 * gdb.base/crossload.exp: Remove, this has been disabled ever
6962 since BFD stopped including all targets, and cross-GDB gets
6963 plenty of testing anyway.
6964 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
6965 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
6966 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
6967 * gdb.base/README: Remove, was doc for this.
6968 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
6969 needed.
6970
b83266a0
SS
69711999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6972
6973 * gdb.base/call-ar-st.exp: Fix one regular expression in test
6974 output.
6975
6976 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
6977 * gdb.base/annota2.exp: New file. More annotation tests.
6978 * gdb.base/annota1.c: New file. Source file for annota1.exp.
6979 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
6980
69811999-04-23 Angela Marie Thomas <angela@cygnus.com>
6982
6983 * config/cfdbug.exp: New file.
6984
7a292a7a
SS
69851999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
6986
6987 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
6988 Marcus Daniel's and Dale Hawkins's demangler crashes.
6989
6990 * gdb.c++/demangle.exp (test_gnu_style_demangling,
6991 test_lucid_style_demangling, test_arm_style_demangling,
6992 test_hp_style_demangling): Try Tom Tromey's core-dumping
6993 identifier under each demangling style.
6994
69951999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
6996
6997 * gdb.c++/demangle.exp: Include the current demangling style
6998 in all test names.
6999 (current_demangling_style): New global variable.
7000 (set_demangling_style, test_demangling_core, test_demangling,
7001 test_demangling_exact): New functions.
7002 (test_gnu_style_demangling, test_lucid_style_demangling,
7003 test_arm_style_demangling, test_hp_style_demangling): Use those,
7004 instead of calling gdb_test and gdb_test_exact directly.
7005 (catch_demangling_errors): New function, which reports errors
7006 signalled by the demangling test functions in an orderly way.
7007 (do_tests): Use catch_demangling_errors.
7008
70091999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
7010
7011 * gdb.base/signals.exp (test_handle_all_print): Use () for
7012 grouping in expressions, not {}.
7013
7014 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
7015 initialized yet.
7016
70171999-04-01 Stan Shebs <shebs@andros.cygnus.com>
7018
7019 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
7020 are listed.
7021
70221999-03-26 Stan Shebs <shebs@andros.cygnus.com>
7023
7024 * gdb.stabs/weird.exp: Test for CC being defined before
7025 looking at its value.
7026
70271999-03-25 Stan Shebs <shebs@andros.cygnus.com>
7028
7029 * gdb.base/call-ar-st.exp: Remove stray '#'.
7030 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
7031 "short int" and "long int".
7032 * gdb.c++/overload.cc: Cast the string added in the previous
7033 change, to mollify finicky HP compiler.
7034 * gdb.hp/reg-test.exp (testfile): Fix file name.
7035 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 7036
7a292a7a
SS
7037 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
7038 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
7039 alternate form of enum ptype.
7040
c906108c
SS
70411999-03-23 Stan Shebs <shebs@andros.cygnus.com>
7042
7a292a7a
SS
7043 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
7044 * gdb.hp/*.exp: Change all to run compiler probe only after
7045 passing skip_hp_tests, so as not to waste time on guaranteed
7046 failure.
7047
c906108c
SS
7048 * gdb.c++/overload.cc: Pass string instead of char addr, always
7049 init ccpfoo.
7050 * gdb.c++/templates.cc: Fix syntax error.
7051
7a292a7a
SS
7052Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7053
7054 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 7055 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
7056 command.
7057
70581999-03-18 James Ingham <jingham@cygnus.com>
7059
7060 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
7061
7062 * gdb.c++/method.exp: It was testing an uninitialized int on the
7063 stack and assuming it was positive.
7064
7065 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
7066
7067 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 7068 keep it from killing the rest of the tests.
7a292a7a
SS
7069 Use gdb_continue_to_end.
7070
7071 * gdb.base/sigall.exp: use gdb_continue_to_end.
7072
7073 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
7074
7075 * gdb.base/display.exp: use runto_main, not run.
7076
d63a86f8
RM
7077 * gdb.base/default.exp: Check for the current error message in the
7078 r abbreviation test.
7a292a7a
SS
7079 Add strongarm to the targets that know info float.
7080
d63a86f8 7081 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
7082 run which doesn't work with monitors.
7083
7084 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
7085
7086 * gdb.base/break.exp: use the gdb_continue_to_end proc.
7087
7088 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
7089 program. Traps the case (in Cygmon) when the program never really
7090 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
7091 more places, so I used my name. Sorry Mark...
7092
7093 * config/monitor.exp (gdb_target_monitor): added another
7094 target_info parameter: remotebinarydownload. This will set the
7095 remotebinarydownload flag if this is causing some boards trouble.
7096
70971999-03-18 Mark Salter <msalter@cygnus.com>
7098
7099 * lib/gdb.exp (continue_to_exit): New function.
7100
7101 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
7102 * gdb.base/ending-run.exp: Ditto.
7103 * gdb.base/step-test.exp: Ditto.
7104
71051999-03-16 Stan Shebs <shebs@andros.cygnus.com>
7106
7107 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
7108 (suggested by Art Haas <ahaas@neosoft.com>).
7109
71101999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
7111
7112 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7113
7114Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
7115
7116 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
7117 descriptions of types (short unsigned int vs unsigned short, etc).
7118
71191999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
7120
7121 * gdb.base/call-strs.exp: Don't assume that `step' will step over
7122 a call to strlen; sometimes we do have sources.
7123
71241999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
7125
7126 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
7127 character, so GDB won't print garbage after its end.
d63a86f8 7128
c906108c
SS
7129 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
7130 breakpoint there instead. Sometimes GCC emits memcpy to handle
7131 the large structures being passed by value, so we step into that
7132 instead of sum_array_print, which obscures what we're really testing.
7133 * gdb.base/step-test.exp: However, we do want a test that notices
7134 the bizarre steps into memcpy, so do that here. Add check for
7135 stepping into function calls that pass large structures by value.
7136 ("Is that a noun clause, or are you just happy to see me?")
7137 Remove all references to specific line numbers.
7138 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
7139 New type and function.
7140 (main): Call large_struct_by_value, passing it a large struct by value.
7141 * lib/gdb.exp (gdb_get_line_number): New function.
7142
7143 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
7144 more portable.
7145
7a292a7a
SS
71461999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
7147
c906108c
SS
7148 * lib/gdb.exp: Doc fixes.
7149
7a292a7a
SS
71501999-03-05 Nick Clifton <nickc@cygnus.com>
7151
d63a86f8 7152 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
7153
71541999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
7155
c906108c
SS
7156 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
7157 commands. They're not germane to this test, and they don't work
7158 that way on remote targets.
7159
3fc11d3e
JM
71601999-03-01 James Ingham <jingham@cygnus.com>
7161
7162 * Changelog entries merged over from gdb development branch.
7163
3fc11d3e
JM
7164 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
7165
7166 * lib/gdb.exp (gdbtk_analyze_results): Generic function
7167 for outputting results of test run.
7168
2d4a1622 7169 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
7170
7171 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 7172
7a292a7a
SS
71731999-02-25 Felix Lee <flee@cygnus.com>
7174
7175 * lib/gdb.exp (debug_format): initialize
7176
c906108c
SS
71771999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
7178
7179 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
7180 * gdb.base/call-rt-st.c: Ditto.
7181
c906108c
SS
71821999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
7183
7184 * gdb.threads/pthreads.exp (horiz): New variable.
7185 (test_startup): Fix regexps that capture thread numbers.
7186
71871999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
7188
7189 * gdb.base/smoke.exp: Disambiguate two test case names (both
7190 called ``print'').
7191
7192Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7193
7194 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
7195 compilation.
7196
71971999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7198
7199 * gdb.base/miscexprs.exp: Change patterns to match GDB's
7200 actual output formatting.
7201 * gdb.base/smoke.exp: GDB removes leading 0's.
7202 * gdb.base/volatile.exp: Don't check type of remuneration;
7203 that variable is no longer defined in constvars.c.
7204 * gdb.base/step-test.c (main): Exit with explicit exit code.
7205 * gdb.base/step-test.exp: Remove two nexti checks--they are
7206 not portable.
7207
72081999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7209
7210 * gdb.base/help.exp ("help delete display"): Fix test to match
7211 gdb's output.
7212
7213 * gdb.base/long_long.c (known_types): Initialize values to zero.
7214 * gdb.base/long_long.exp: Step one more line
7215 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 7216 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
7217 unique test case names.
7218
7219Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7220
d63a86f8 7221 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
7222
7223 * gdb.c++/method.exp: Add missing close brace.
7224
72251999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
7226
7227 * gdb.base/maint.exp: Use 'set height 0' to disable page
7228 prompting, not 'set height 400'.
7229
7230 Fix a bunch of timeouts.
7231 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
7232 four separate tests, so expect doesn't take forever to match a ton
7233 of text against a regexp with lots of .* forms.
7234 ("maint print psymbols", "maint print symbols"): Make some of
7235 these greps more selective, so that expect doesn't try to wade
7236 through huge piles of output and time out.
7237
7238 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
7239
7240 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
7241 tests: one which doesn't expect shlib events to be reported, and
7242 another which does, but is XFAIL for all platforms other than
7243 HP/UX.
7244
7245 * gdb.base/break.exp: Teach the test suite that the `catch
7246 fork', `catch vfork', and `catch exec' commands produce error
7247 messages on platforms that don't provide these features.
7248
7249Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7250
7251 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
7252 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
7253 (shortening names from solib_threshold.exp etc), won't run on
7254 anything but HP-UX for the foreseeable future.
7255 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
7256 reflect move.
7257
7258Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
7259
7260 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7261 gdb.trace/Makefile.in (clean): Remove all test executables.
7262
7263Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
7264
7265 * gdb.base/shlib-call.exp: add test cases to verify that gdb
7266 successfully re-sets breakpoints in shared libraries.
7267 * gdb.base/shmain.c (main): return 0, don't fall off the end.
7268
7269Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7270
d63a86f8
RM
7271 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
7272 and compiled w/o GCC.
c906108c
SS
7273
7274 * gdb.hp/watch-cmd.exp: ditto.
7275
7276 * gdb.hp/watch-hp.exp: ditto.
7277
7278 * gdb.hp/xdb1.exp: ditto.
7279
7280 * gdb.hp/xdb2.exp: ditto.
7281
7282 * gdb.hp/dbx.exp: ditto.
7283
7284Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
7285
7286 * constvars.c: Remove C++-isms.
7287 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
7288 with GCC.
7289
7290Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
7291
7292 The following changes are part of the HP merge.
7293
7294 * gdb.base/break.exp: new tests to verify that catchpoints for
7295 fork, vfork, and exec don't trigger inappropriately.
7296
7297 * gdb.base/opaque.exp: compile one file at a time, then link.
7298
7299 * gdb.base/signals.exp: be more restrictive about which hppa
7300 systems receive a setup_xfail. new tests.
7301
7302 * gdb.base/solib_threshold.build: new file.
7303 * gdb.base/solib_threshold.exp: new file.
7304 * gdb.base/solib_threshold.link_opts: new file.
7305 * gdb.base/solib_threshold.mk: new file.
7306 * gdb.base/gen_solib_threshold.c: new file.
7307
7308 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
7309 tests. New tests for enums inside classes.
7310
7311 * gdb.c++/compiler.cc: indicate support of template debugging.
7312
7313 * gdb.c++/demangle.exp: run hp style demangling tests.
7314
7315 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
7316 tests.
7317
7318 * gdb.c++/misc.cc: changes to support new tests.
7319
7320 * gdb.c++/templates.cc: changes to support HP's compiler; changes
7321 to support new tests.
7322
7323 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
7324 gcc, then skip these tests.
7325
7326Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
7327
7328 The following files are part of the HP merge; some had longer
7329 names at HP, but have been renamed to be no more than 14
7330 characters in length.
7331
7332 * gdb.hp/ambiguous.cc: new file.
7333 * gdb.hp/ambiguous.exp: new file.
7334 * gdb.hp/attach.exp: new file.
7335 * gdb.hp/attach2.exp: new file.
7336 * gdb.hp/classes-hp.exp: new file.
7337 * gdb.hp/ctti.exp: new file.
7338 * gdb.hp/ctti-add.cc: new file.
7339 * gdb.hp/ctti-add1.cc: new file.
7340 * gdb.hp/ctti-add2.cc: new file.
7341 * gdb.hp/ctti-add3.cc: new file.
7342 * gdb.hp/dbx.exp: new file.
7343 * gdb.hp/exception.cc: new file.
7344 * gdb.hp/exception.exp: new file.
7345 * gdb.hp/foll-exec.c: new file.
7346 * gdb.hp/foll-exec.exp: new file.
7347 * gdb.hp/foll-fork.c: new file.
7348 * gdb.hp/foll-fork.exp: new file.
7349 * gdb.hp/foll-vfork.c: new file.
7350 * gdb.hp/foll-vfork.exp: new file.
7351 * gdb.hp/inherit-hp.exp: new file.
7352 * gdb.hp/more-steps.exp: new file.
7353 * gdb.hp/namespace.cc: new file.
7354 * gdb.hp/namespace.exp: new file.
7355 * gdb.hp/optimize.exp: new file.
7356 * gdb.hp/pxdb.c: new file.
7357 * gdb.hp/pxdb.exp: new file.
7358 * gdb.hp/quicksort.exp: new file.
7359 * gdb.hp/reg-test.exp: new file.
7360 * gdb.hp/reg-test.s: new file.
7361 * gdb.hp/sized-enum.c: new file.
7362 * gdb.hp/sized-enum.exp: new file.
7363 * gdb.hp/start-stop.exp: new file.
7364 * gdb.hp/templ-hp.cc: new file.
7365 * gdb.hp/templ-hp.exp: new file.
7366 * gdb.hp/thr-lib.c: new file.
7367 * gdb.hp/thr-lib.exp: new file.
7368 * gdb.hp/thr-lib.h: new file.
7369 * gdb.hp/thr-liblib.c: new file.
7370 * gdb.hp/virtfun-hp.c: new file.
7371 * gdb.hp/virtfun-hp.exp: new file.
7372 * gdb.hp/watch-cmd.exp: new file.
7373 * gdb.hp/watch-hp.exp: new file.
7374 * gdb.hp/xdb1.exp: new file.
7375 * gdb.hp/xdb2.exp: new file.
7376 * gdb.hp/xdb3.exp: new file.
7377
7378Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
7379
7380 The following files are part of the HP merge; some had longer
7381 names at HP, but have been renamed to be no more than 14
7382 characters in length.
7383
7384 * gdb.base/ss.h: new file.
7385 * gdb.base/call-ar-st.c: new file.
7386 * gdb.base/call-ar-st.exp: new file.
7387 * gdb.base/call-rt-st.c: new file.
7388 * gdb.base/call-rt-st-exp: new file.
7389 * gdb.base/call-strs.exp: new file.
7390 * gdb.base/ena-dis-br.exp: new file.
7391 * gdb.base/environ.exp: new file.
7392 * gdb.base/long_long.exp: new file.
7393 * gdb.base/sect-cmd.exp: new file.
7394 * gdb.base/shlib-cl2.exp: new file.
7395 * gdb.base/smoke.exp: new file.
7396 * gdb.base/so-impl-ld.c: new file.
7397 * gdb.base/so-impl-ld.exp: new file.
7398 * gdb.base/so-indr-cl.c: new file.
7399 * gdb.base/so-indr-cl.exp: new file.
7400 * gdb.base/varargs.exp: new file.
7401 * gdb.base/volatile.exp: new file.
7402 * gdb.base/whatis-exp.exp: new file.
7a292a7a 7403 * gdb.base/display.exp: new file.
c906108c
SS
7404 * gdb.c++/derivation.exp: new file.
7405 * gdb.c++/local.exp: new file.
7406 * gdb.c++/member-ptr.exp: new file.
7407 * gdb.c++/overload.exp: new file.
7408 * gdb.c++/ovldbreak.exp: new file.
7409 * gdb.c++/ref-types.exp: new file.
7410 * gdb.c++/ref-types2.exp: new file.
7411 * gdb.c++/userdef.exp: new file.
d63a86f8 7412
c906108c
SS
7413Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
7414
7415 * gdb.base/default.exp: Reflect wording change in remote.c.
7416
dc96c6c7 7417Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7418
7419 * gdb.base/help.exp: Update to reflect current text.
7420
7421Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
7422
7423 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
7424 they're stack variables and contain garbage.
7425 * gdb.c++/anon-union.exp: new file.
7426
7427 The following changes were made by David Taylor
7428 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7429 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7430 in changes by HP.
7431
7432 * gdb.base/bitops.exp: new file.
7433 * gdb.base/default.exp: change expected messages for catch and
7434 info catch tests to reflect HP merge changes.
7435 * gdb.base/enable-disable-break.exp
7436 * gdb.base/ending-run.c: new file.
7437 * gdb.base/long_long.c: new file.
7438 * gdb.base/maint.exp: new file.
7439 * gdb.base/pointers2.exp: new file.
7440 * gdb.base/shlib-call2.exp: new file.
7441 * gdb.base/solib.exp: new file.
7442 * gdb.base/step-test.c: new file.
7443 * gdb.c++/anon-union.cc: new file.
7444 * gdb.c++/local.cc: new file.
7445 * gdb.c++/member-pointer.cc: new file.
7446 * gdb.c++/method.cc: new file.
7447 * gdb.c++/ref-types.cc: new file.
7448 * gdb.c++/ref-types2.cc: new file.
7449 * gdb.c++/userdef.cc: new file.
d63a86f8 7450
c906108c
SS
7451 * gdb.base/scope.exp: compile one file at a time, then link.
7452 * gdb.base/langs.exp: ditto.
7453 * gdb.base/list.exp: ditto.
d63a86f8 7454
c906108c
SS
7455Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
7456
7457 The following changes were made by David Taylor
7458 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7459 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7460 in changes by HP.
d63a86f8 7461
c906108c
SS
7462 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
7463 skip tests. When compiling pass c++ flag to gdb_compile.
7464 * gdb.c++/
d63a86f8 7465
c906108c
SS
7466 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
7467 test for on hppa*-*-hpux*; use args to see if c++ was specified.
7468 (skip_hp_tests): new function.
7469 (gdb_preprocess): new function.
7470
7471 * configure.in (hpdir): decide whether to configure gdb.hp.
7472 * configure: regenerated.
7473
7474 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
7475 to delete on clean.
7476 (EXECUTABLES): update to reflect new additions.
7477 * gdb.base/commands.exp: update message expected.
7478 * gdb.base/default.exp: add copyright notice.
7479 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
7480 * gdb.base/help.exp: update messages to reflect current text.
7481 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
7482 targets for recurse tests.
7483 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
7484 skip this file.
7485
7486 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
7487 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
7488 compilation.
7489 * gdb.c++/misc.exp: ditto.
7490 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
7491 run the tests. tell gdb_compile that it's a c++ compilation.
7492
7493 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 7494
c906108c
SS
7495 * gdb.base/all-bin.exp: new file.
7496 * gdb.base/arithmet.exp: new file.
7497 * gdb.base/assign.exp: new file.
7498 * gdb.base/completion.exp: new file.
7499 * gdb.base/cond-expr.exp: new file.
7500 * gdb.base/condbreak.exp: new file.
7501 * gdb.base/define.exp: new file.
7502 * gdb.base/dollar.exp: new file.
7503 * gdb.base/environment.exp: new file.
7504 * gdb.base/eval-skip.exp: new file.
7505 * gdb.base/jump.exp: new file.
7506 * gdb.base/logical.exp: new file.
7507 * gdb.base/pointers.exp: new file.
7508 * gdb.base/relational.exp: new file.
7509 * gdb.base/section_command.exp: new file.
7510 * gdb.base/whatis-expr.exp: new file.
7511
7512 * gdb.base/all-types.c: new file.
7513 * gdb.base/call-array-struct.c: new file.
7514 * gdb.base/call-return-struct.c: new file.
7515 * gdb.base/call-strings.c: new file.
7516 * gdb.base/callfuncs2.c: new file.
7517 * gdb.base/condbreak.c: new file.
7518 * gdb.base/constvars.c: new file.
7519 * gdb.base/display.c: new file.
7520 * gdb.base/int-type.c: new file.
7521 * gdb.base/jump.c: new file.
7522 * gdb.base/miscexprs.c: new file.
7523 * gdb.base/pointers.c: new file.
7524 * gdb.base/pointers2.c: new file.
7525 * gdb.base/shmain.c: new file.
7526 * gdb.base/shr1.c: new file.
7527 * gdb.base/shr2.c: new file.
7528 * gdb.base/solib.c: new file.
7529 * gdb.base/solib1.c: new file.
7530 * gdb.base/solib2.c: new file.
7531 * gdb.base/varargs.c: new file.
7532 * gdb.c++/derivation.cc: new file.
7533 * gdb.c++/overload.cc: new file.
7534 * gdb.c++/ovldbreak.cc: new file.
7535 * gdb.hp/attach.c: new file.
7536 * gdb.hp/attach2.c: new file.
7537 * gdb.hp/average.c: new file.
7538 * gdb.hp/compiler.c: new file.
7539 * gdb.hp/compiler.cc: new file.
7540 * gdb.hp/execd-program.c: new file.
7541 * gdb.hp/follow-exec.c: new file.
7542 * gdb.hp/follow-fork.c: new file.
7543 * gdb.hp/follow-vfork-and-exec.c: new file.
7544 * gdb.hp/misc-hp.cc: new file.
7545 * gdb.hp/more-steps.c: new file.
7546 * gdb.hp/optimize.c: new file.
7547 * gdb.hp/quicksort.c: new file.
7548 * gdb.hp/run-hp.c: new file.
7549 * gdb.hp/start-stop.c: new file.
7550 * gdb.hp/sum.c: new file.
7551 * gdb.hp/templates-hp.cc: new file.
7552 * gdb.hp/thread-local-in-lib.c: new file.
7553 * gdb.hp/thread-local-in-lib.h: new file.
7554 * gdb.hp/thread-local-in-lib.lib.c: new file.
7555 * gdb.hp/vforked-program.c: new file.
7556 * gdb.hp/virtfunc-hp.cc: new file.
7557 * gdb.hp/watchpoint-hp.c: new file.
7558 * gdb.hp/xdb.c: new file.
7559 * gdb.hp/xdb0.c: new file.
7560 * gdb.hp/xdb0.h: new file.
7561 * gdb.hp/xdb1.c: new file.
7562
7563Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
7564
7565 The following change was made by Edith Epstein
7566 <eepstein@cygnus.com> as part of a project to merge in changes
7567 originally made by HP; HP did not create ChangeLog entries.
7568
7569 * gdb.c++/demangle.exp: changed the expected output for some
7570 ARM-style mangling -- removed second reference to datatype.
7571 For example, maint demangle __dt__11T1__pt__2_cFv
7572 T1<char>::~T1<char>(void)
7573 becomes,
7574 maint demangle __dt__11T1__pt__2_cFv
7575 T1<char>::~T1(void)
7576
7577 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 7578
c906108c
SS
7579Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
7580
7581 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
7582 * gdb.trace/backtrace.exp: Likewise.
7583 * gdb.trace/circ.exp: Likewise.
7584 * gdb.trace/collection.exp: Likewise.
7585 * gdb.trace/deltrace.exp: Likewise.
7586 * gdb.trace/infotrace.exp: Likewise.
7587 * gdb.trace/limits.exp: Likewise.
7588 * gdb.trace/packetlen.exp: Likewise.
7589 * gdb.trace/passc-dyn.exp: Likewise.
7590 * gdb.trace/passcount.exp: Likewise.
7591 * gdb.trace/report.exp: Likewise.
7592 * gdb.trace/save-trace.exp: Likewise.
7593 * gdb.trace/tfind.exp: Likewise.
7594 * gdb.trace/tracecmd.exp: Likewise.
7595 * gdb.trace/while-dyn.exp: Likewise.
7596 * gdb.trace/while-stepping.exp: Likewise.
7597
75981998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
7599
7600 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
7601
7602Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
7603
7604 From Brendan Kehoe:
7605 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
7606 int return types.
7607
7608Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
7609
7610 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
7611 remote dos host testing right.
7612
7613Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
7614
7615 * gdb.base/corefile.exp: remove some xfails.
7616
7617Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
7618
7619 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
7620 have different timestamps.
7621
7622Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
7623
7624 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
7625 gdb.base/default.exp: Replace "exec" with "executable".
7626
7627Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
7628
7629 * gdb.base/default.exp: Change else if to elseif from previous
7630 delta.
7631
7632Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
7633
7634 * gdb.base/default.exp: Add brace missing from previous delta.
7635
7636Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
7637
7638 * gdb.base/default.exp: Support test for info float for all
7639 varieties of arm toolchain.
7640
dc96c6c7 7641Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7642
7643 * gdb.trace/*.exp: remove "remote_download" command.
7644
dc96c6c7 7645Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7646
7647 * gdb.trace/*.exp: remove -gdwarf from compile.
7648
7649Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
7650
7651 * gdb.trace/configure.in(AC_INIT): typo
7652 * gdb.trace/configure: regenerated
7653
dc96c6c7 7654Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7655
7656 * config/m68k-emc.exp: New file.
7657 * lib/<emc-support.exp trace-support.exp}: New files.
7658 * configure.in: add new test directory gdb.trace.
7659 * gdb.trace/{configure configure.in Makefile.in}: New files.
7660 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
7661 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
7662 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
7663 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
7664 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
7665 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
7666 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 7667
dc96c6c7 7668Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7669
7670 * gdb.c++/classes.exp: Change all regular expressions to match
7671 arbitrary combinations of newline/carriage-return, so that they
7672 will work equally well on Unix and Windows.
7673 * gdb.c++/inherit.exp: ditto.
7674 * gdb.c++/virtfunc.exp: ditto.
7675
76761998-08-11 Dawn Perchik <dawn@cygnus.com>
7677
7678 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
7679
c2d11a7d
JM
7680Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
7681
7682 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
7683 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
7684 to use a0-a3/d0-d3 as needed.
7685
7686Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
7687
7688 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
7689 * gdb.disasm/am33.exp: Corresponding changes.
7690
c906108c
SS
76911998-07-11 Felix Lee <flee@cygnus.com>
7692
7693 * gdb.base/callfuncs.exp: add cmp10 test.
7694 * gdb.base/callfuncs.c (cmp10): new function.
7695
7696Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
7697
d63a86f8 7698 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
7699 into two parts to get around a synchronization problem in expect.
7700
3fc11d3e
JM
7701Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
7702
7703 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
7704
7705 * configure.in: Add options for gdbtk testsuite.
7706
7707 * configure: Regenerate.
7708
7709 * gdb.gdbtk: New directory to hold gdbtk tests.
7710
c906108c
SS
7711Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7712
7713 * gdb.fortran/types.exp: Escape brackets in expect patterns
7714 for test_float_literal_types_accepted tests.
7715 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
7716 before run test.
7717
c2d11a7d
JM
7718Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
7719
7720 * am33.exp: Just compile, do not link the testcase.
7721 * am33.s: Add ".am33" pseudoop to force am33 mode.
7722
c906108c
SS
77231998-06-25 Felix Lee <flee@cygnus.com>
7724
7725 * gdb.base/setshow.exp: make sure $pc is sane.
7726
7727 * gdb.stabs/weird.exp: split expect patterns properly.
7728
c2d11a7d
JM
7729Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
7730
7731 * gdb.disasm/am33.s: New disassembler testfile for the am33.
7732 * gdb.disasm/am33.exp: Run it.
7733
dc96c6c7 7734Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7735
7736 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
7737 match processing (and eliminate spurious timeouts when running).
7738
dc96c6c7 7739Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7740
7741 * gdb.base/signals.exp (test_handle_all_print): put back Mach
7742 exception test, but conditionalize it on target [mach | gnu].
7743
dc96c6c7 7744Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7745
7746 * gdb.base/overlays.exp: fixup compile line for linker script.
7747
7748Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
7749
7750 * gdb.fortran/types.exp: don't guess at float size.
7751
7752Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
7753
7754 * gdb.base/exprs.exp: delete test that depends on int size.
7755
7756Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
7757
7758 * config/sim.exp: Removed checks for target triplets.
7759 (gdb_target_sim): Use gdb,target_sim_options.
7760
7761Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
7762
7763 * gdb.base/reread.exp: New file.
7764 * gdb.base/reread1.c: New file.
7765 * gdb.base/reread2.c: New file.
7766
7767Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
7768
7769 * config/sim.exp: Use 'target sim -sparclite' when running
7770 SPARClite programs.
7771
7772Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
7773
7774 * gdb.base/structs2.exp: New file.
7775 * gdb.base/structs2.c: New file.
7776
7777Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
7778
7779 * gdb.asm/common.inc: New file.
7780 * gdb.asm/d10v.inc: New file.
7781 * asm-source.exp: Pass -I's to gas to find .inc files.
7782 Update line numbers in expected output.
7783 * asmsrc1.s: Rewrite.
7784 * asmsrc2.s: Rewrite.
7785 * configure.in: Create arch.inc symlink.
7786 * configure: Regenerate.
7787 * Makefile.in (distclean): Delete arch.inc.
7788
7789Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
7790
7791 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
7792 (t_enum_value2): ditto
7793 (t_enum_value3): ditto
7794 (main): ditto
7795Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7796
7797 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
7798 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
7799 change.
7800 Use gdb_test instead of send_gdb/gdb_expect sequences.
7801
7802Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
7803
7804 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
7805 not void.
7806
7807Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
7808
7809 * gdb.base/branches.c: Code with lots of loops and
7810 subroutines. Used to test gdbs ability to single step through PC
7811 changes, especially to test mips-tdep.c:mips_next_pc
7812
7813Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
7814
7815 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
7816 more rigorous EGCS C++ error checking.
7817
7818Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7819
7820 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 7821 tests.
c906108c 7822 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 7823 function when asleep.
c906108c 7824 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
7825 for i*86 Linux and SVR4 signal handling problems.
7826 Remove linux xfail for `next to handler in signals_tests_1', fixed
7827 by recent infrun.c change.
c906108c 7828 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 7829 stack backtraces.
c906108c
SS
7830 Adjust expect pattern in `handle all print' test to match Apr 28 1997
7831 target.[ch] change.
7832
7833Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
7834
7835 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
7836 for a newline from gdb before continuing.
7837 (default_gdb_exit): Just look for y or n.
7838 (gdb_test): Detect abnormal exit from GDB running on DOS; if
7839 it does, fail the rests of the tests in the file.
7840
7841Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
7842
7843 * config/cygmon.exp: New file.
7844
7845Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
7846
7847 * gdb.base/list.exp: Fix problem with "list default lines around
7848 main" test on remote targets.
7849
7850 * gdb.base/scope.exp: Fix problem with filelocal_bss before
7851 run test on remote targets.
7852
7853Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
7854
7855 * gdb.asm: New directory.
7856 * configure.in: Configure it.
7857 * configure: Regenerate.
7858 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
7859 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
7860
7861Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
7862
7863 * config/mn10300-eval.exp: New file to support MN10300 eval board.
7864
dc96c6c7 7865Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 7866
c906108c
SS
7867 * gdb.base/overlays (several files): Merge the two overlay
7868 managers into one. Change variables (foox, barx, bazx, grbxx)
7869 back into ints but force them to load in their proper sections.
7870
7871Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
7872
7873 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
7874 on-chip insn memory and IMAP1 to upper 128k.
7875 (D10VCopy): Handle memory regions crossing 16k boundaries.
7876 (D10VCopy): Transfer data in 32 bit chunks.
7877
7878Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
7879
7880 * gdb.base/overlays.c (main): Exit normally when result is
7881 correct.
7882
7883 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
7884 map. Include space for printf in .text segment.
7885
7886 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
7887 updated d10v memory VMA/LMA map.
7888 (D10VCopy): Call D10VTranslate.
d63a86f8 7889
c906108c
SS
7890Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
7891
7892 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
7893
7894 * gdb.base/bar.c (barx, bar): Change variable to small array so
7895 that it won't be put into the .sdata - small data -
7896 section. Update reference.
7897 * gdb.base/baz.c (bazx, baz): Ditto.
7898 * gdb.base/foo.c (foox, foo): Ditto.
7899 * gdb.base/grbx.c (grbxx, grbx): Ditto.
7900
7901 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
7902 to be arrays.
d63a86f8 7903
dc96c6c7 7904Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 7905
c906108c
SS
7906 * gdb.base/overlays.exp: fix up and get working again.
7907 Add tests for backtraces from an overlay function.
d63a86f8 7908
c906108c
SS
7909Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
7910
7911 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
7912 "calling function with watchpoint enabled".
7913
7914Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
7915
7916 * gdb.base/break.exp (test_next_with_recursion): Remove
7917 gdb_suppress_tests for d10v-*-*.
7918 * lib/gdb.exp (gdb_suppress_tests): Disable this function
7919 pending review of whether it is useful or not.
7920
7921Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
7922
7923 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
7924
7925Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
7926
7927 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
7928 * config/dve.exp: New file to support Densan boards.
7929
7930Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
7931
7932 * gdb.base/interrupt.exp: Document problem of simulators, signals,
7933 reads and BSD.
7934
7935Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
7936
7937 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
7938 response.
7939
7940 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
7941
7942Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
7943
7944 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
7945 test.
7946
7947 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
7948 target_sizeof_long and target_bigendian_p.
7949 (structs_by_value, structs_by_reference): Check values according
7950 to targets word size and endianess.
d63a86f8 7951
c906108c
SS
7952Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
7953
7954 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
7955 output.
7956
7957Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
7958
7959 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
7960 Update test of set args help to match source change.
7961
7962Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
7963
7964 * gdb.base/default.exp: Expect help system output to be in
7965 alphabetical order.
7966 * gdb.base/help.exp: Ditto.
7967
7968Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
7969
7970 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
7971 "i*86-pc-linux-gnu*".
7972 * gdb.base/interrupt.exp: Ditto.
7973 * gdb.base/corefile.exp: Ditto.
7974
7975 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
7976 define vxworks when building the testcase.
7977
7978 * gdb.base/ptype.exp: Fix testnames to be unique.
7979 * gdb.base/radix.exp: Ditto.
7980 * gdb.base/term.exp: Ditto.
7981 * gdb.base/whatis.exp: Ditto.
7982 * gdb.c++/classes.exp: Ditto.
7983
7984Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
7985
7986 * gdb.base/callfuncs.exp: Fix indentation.
7987
7988 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
7989 suppress_flag has been set.
7990 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
7991 target feature.
7992
7993Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
7994
7995 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
7996 the testcase.
7997
7998 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
7999 set_debug_traps() and breakpoint().
8000 * gdb.c++/misc.cc (main): Ditto.
8001 * gdb.c++/templates.cc (main): Ditto.
8002 * gdb.c++/virtfunc.cc (main): Ditto.
8003
8004Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
8005
8006 * lib/gdb.exp(gdb_step_for_stub): New function.
8007 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
8008 exists, reload the executable and do a "continue" instead of
8009 doing a jump.
8010 (runto_main): Use gdb_step_for_stub.
d63a86f8 8011
c906108c
SS
8012 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
8013 tests to have unique names.
8014 * gdb.base/callfuncs.exp: Ditto.
8015 * gdb.base/commands.exp: Ditto.
8016 * gdb.base/default.exp: Ditto.
8017 * gdb.base/help.exp: Ditto.
8018 * gdb.base/list.exp: Ditto.
8019 * gdb.base/opaque.exp: Ditto.
8020 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
8021 similar tests.
d63a86f8 8022
c906108c
SS
8023 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
8024 * gdb.c++/cplusfuncs.cc: Ditto.
8025 * gdb.c++/virtfunc.cc: Ditto.
8026
8027 * config/monitor.exp: Keep track of the last file we saw, rather
8028 than trying to get the info from gdb.
8029
8030 * gdb.fortran/types.exp: Move comment to previous line.
8031
8032Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
8033
8034 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
8035 target mode.
8036
8037Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
8038
8039 From Bob Manson:
8040 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
8041 string from GDB when it connects.
8042
8043 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
8044
8045Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
8046
8047 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
8048 if we can't get a debug format from GDB (we may be testing an
8049 older GDB). Use a 10 second timeout when checking for the format.
8050
8051 * gdb.stabs/weird.exp: Fix quoting.
8052
8053 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
8054
8055Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
8056
8057 * config/arm-ice.exp: New file.
8058
8059Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
8060
8061 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
8062 until it has been modified to work with the new testsuite.
8063
99707966 8064 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
8065 testcase won't compile, cause all of the testcases in the file to
8066 fail instead.
8067
8068 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
8069 (gdb_clear_suppressed): New procedure.
8070 (gdb_stop_suppressing_tests): Only clear suppress_flag if
8071 it contains a positive value.
8072
8073Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
8074
8075 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
8076
8077 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
8078
8079Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
8080
8081 * lib/gdb.exp (setup_xfail_format): New function.
8082 (get_debug_format): New function to get debug format.
8083 (debug_format): New global variable to hold last value set
8084 by get_debug_format.
8085 * gdb.base/list.exp: Call get_debug_format and expect some
8086 tests to fail for DWARF 1 and COFF formats.
8087 * gdb.c++/ptype.exp: Ditto.
8088 * gdb.c++/classes.exp: Ditto.
8089 * gdb.c++/cplusfuncs.exp: Ditto.
8090 * gdb.c++/inherit.exp: Ditto.
8091 * gdb.c++/templates.exp: Ditto.
8092 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 8093
c906108c
SS
8094Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
8095
8096 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
8097 host doesn't have a currently-open connection.
8098
8099 * config/sparclet.exp: Cleanups and fixes to make it generic for
8100 any gdb stub target. Handle cases where gdb doesn't respond when
8101 interrupted in a sane fashion.
8102
8103 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
8104 same thing in a totally different way.
8105
8106 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
8107 setting "timeout".
8108 (gdb_start): We set the global gdb_prompt variable in
8109 default_gdb_init now.
8110
8111Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
8112
8113 * gdb.base/printcmds.exp: Fix "check for floating addition"
8114 regexp to accept results within approx +/- .01 of exact value.
8115 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
8116
8117Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
8118
8119 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
8120 properly.
8121 (gdb_expect): Add optional timeout parameter, and add timeout
8122 value to various calls.
8123 (gdb_suppress_tests): Only give one warning message per group.
8124
8125Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
8126
8127 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
8128 global variables. Handle getting a value for $timeout more
8129 gracefully.
8130
8131Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8132
8133 * lib/gdb.exp: Close connection to remote host if gdb doesn't
8134 initialize.
8135 (default_gdb_init): New procedure; allow gdb_init to be overridden
8136 by a target configuration file.
8137 (gdb_expect): Pass the timeout to remote_expect.
8138
8139 * config/monitor.exp(gdb_load): Fix typo in regexp.
8140
8141Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
8142
8143 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
8144
8145Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
8146
8147 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
8148 here. Call gdb_target_exec before rebooting the target, to make
8149 sure the connection to the target is closed.
8150 (gdb_load): Pass the name of the executable to gdb_target_monitor.
8151 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
8152 Also detect "Timeout reading from remote" error.
8153
8154 * config/gdbserver.exp: Pass the executable being loaded to
8155 gdb_target_monitor. Don't call gdb_file_cmd here; let
8156 gdb_target_monitor do it.
8157
8158 * gdb.disasm/hppa.exp: Don't use exec_output.
8159
8160Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
8161
8162 * gdb.base/list.exp: If we're debugging a non-native target,
8163 try to set the pc register to point to the start of the
8164 program before doing the first list command.
8165
8166 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
8167 test_calls after restarting.
8168
8169 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
8170 reloading.
8171
8172 * gdb.base/watchpoint.exp: Fix typo.
8173
8174 * gdb.base/setshow.exp: Check for use_gdb_stub.
8175
8176 * gdb.base/break.exp: Fix continue until exit test for the gdb
8177 stub case.
8178 * gdb.base/langs.exp: Ditto.
8179
8180 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
8181 gdb_load_offset. If we weren't given a file to load, figure out
8182 what the current file is and use it.
8183
8184 * config/i386-bozo.exp: New file.
8185
8186Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
8187
8188 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
8189 feature.
8190
8191 * config/proelf.exp: New entry.
8192
8193Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
8194
8195 * lib/gdb.exp: Remove spurious .* patterns at the beginning
8196 of regexps.
8197
8198 * gdb.base/watchpoint.exp: Don't run the test_stepping
8199 tests if gdb can't call functions on the target.
8200
8201 * gdb.base/setshow.exp: Don't run the set prompt tests if
8202 the board has gdb_prompt set.
8203
8204Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
8205
8206 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
8207 * gdb.base/commands.exp: Likewise.
8208 * gdb.base/setshow.exp: Likewise.
8209
8210Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
8211
8212 * config/monitor.exp(gdb_start): Look for gdb_prompt target
8213 feature.
8214
8215 * config/i960.exp: New file.
8216
8217Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
8218
8219 * gdb.base/funcargs.exp: Check for gdb,short_int target
8220 feature instead of looking for explicit target triplets.
8221
dc96c6c7 8222Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 8223
d63a86f8 8224 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
8225 "p 123DEADBEEF", to check parse_number.
8226 * top.c: change "to enable to enable" to "to enable" in a couple
8227 of help strings.
8228
8229Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
8230
8231 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
8232 on the mn10300.
d63a86f8 8233
c906108c
SS
8234Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
8235
8236 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
8237 where the test executable is run with explicit args.
8238 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
8239
8240Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
8241
8242 * gdb.base/run.c: Use FAKEARGV to build test executable that
8243 does not require a command line arg, since most simulators
8244 don't currently support passing such an arg into the simulated
8245 program.
8246 * gdb.base/commands.exp: Change tests to insert the proper
8247 value as the arg to the first recursive factorial call. Change
8248 compilation line to define FAKEARGV at compile time.
8249
8250Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
8251
8252 * gdb.base/recurse.exp: Enable these tests for the mn10300.
8253 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
8254 function with watchpoint enabled" test.
8255
8256Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
8257
8258 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
8259 Don't call gdb_test when the command doesn't return to a gdb prompt.
8260
8261 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
8262 "Tests restarted" messages.
8263
8264Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
8265
8266 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
8267
dc96c6c7 8268Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8269
8270 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
8271 for INFO SYMBOL; add help tests for OVERLAY commands.
8272 * gdb.base/default.exp: add tests for INFO SYMBOL command;
8273 add tests for OVERLAY commands
8274 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
8275 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
8276 * gdb.base/sigall.c: add usestubs code frag
8277 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 8278
c906108c
SS
8279Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
8280
8281 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
8282 failures.
8283 (gdb_stop_suppressing_tests): Note that tests have restarted.
8284
8285Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
8286
8287 * config/h8300.exp: New file.
8288
8289Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
8290
8291 * gdb.base/setshow.exp: Check for the existence of a
8292 feature, not its value.
8293
8294Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
8295
8296 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
8297
8298 * gdb.base/scope.exp: It's now init0(), not init().
8299
8300 * gdb.base/scope0.c: For now, change init() to be init0().
8301
8302 * config/monitor.exp: Use gdb_serial in preference to serial
8303 or netport.
8304
8305 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
8306 and it's not already set.
8307
8308Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
8309
8310 * gdb.base/setshow.exp: Only test the run command if the target
8311 isn't using a stub and if it supports argument passing.
8312
8313Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
8314
8315 * config/udi.exp(gdb_start): Make sure UDICONF is set
8316 properly before starting gdb.
8317
8318Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
8319
8320 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
8321 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
8322 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
8323
8324Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
8325
8326 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
8327 specialized code to reboot the board, use remote_reboot instead.
8328
8329 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
8330
8331 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
8332
8333 * config/monitor.exp: Make sure we disconnect from the target.
8334 Also, try a reboot/reload cycle instead of failing if the
8335 load fails.
8336
8337Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
8338
8339 * gdb.base/default.exp: Don't set match_max.
8340 * gdb.base/help.exp: Ditto.
8341 * gdb.base/list.exp: Ditto.
8342 * gdb.base/signals.exp: Ditto.
8343
8344 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
8345 set, use remote_ld to download the testcase instead of
8346 the GDB loader.
8347
8348Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
8349
8350 * config/vr5000.exp: New file.
8351
8352 * config/monitor.exp(gdb_target_monitor): Add pattern for
8353 "Ending remote" to detect errors in connecting.
8354
8355 * gdb.base/setshow.exp: Add .* within auto language test.
8356
8357 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
8358 target feature.
8359
8360 * config/monitor.exp(gdb_load): Check for a failure when loading,
8361 and reboot the board if necessary.
8362
8363 * gdb.base/setvar.exp(test_set): Handle multiple prints within
8364 a set of tests. Remove print.* from the patterns being checked.
8365
8366Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
8367
8368 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
8369 refer to gdb_spawn_id.
8370
8371 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
8372 longer used.
8373 * config/sparclet.exp: Ditto.
8374 * config/sparclet-old.exp: Ditto.
8375 * config/slite.exp: Ditto.
8376 * config/sim.exp: Ditto.
8377 * gdb.base/funcargs.exp: Ditto.
8378
8379 * lib/gdb.exp:Remove references to gdb_spawn_id.
8380 (gdb_expect): Move to remote.exp.
8381
8382Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
8383
8384 * config/monitor.exp: Detect the "Couldn't establish connection"
8385 message from GDB.
8386
8387Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
8388
8389 * gdb.base/bitfields.exp: Use runto instead of explicit
8390 gdb_run_cmd/gdb_expect sequences.
8391
8392 * gdb.base/break.exp(text_next_with_recursion): Add match for
8393 gdb_expect call.
8394
8395 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
8396 We also need to handle the "A program is being debugged already"
8397 prompt from gdb. Use gdb_test to set the baud rate.
8398
8399 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
8400 to 20000. Really. I mean it.
8401
8402Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8403
8404 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
8405 fails. If suppress_flag is set, skip perror message about not
8406 being able to send to GDB.
8407 (send_gdb): If suppress_flag is set, don't try to send commands to
8408 GDB.
8409 (gdb_expect): If suppress_flag is set, always fail immediately.
8410 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
8411 (gdb_init): Call gdb_stop_suppressing_tests.
8412 (default_gdb_exit): Ditto.
8413 (default_gdb_start): Ditto.
8414
8415 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
8416 gdb_stop_suppressing_tests as appropriate.
8417 * gdb.base/break.exp: Ditto.
8418 * gdb.base/callfuncs.exp: Ditto.
8419 * gdb.base/commands.exp: Ditto.
8420 * gdb.base/exprs.exp: Ditto.
8421 * gdb.base/funcargs.exp: Ditto.
8422 * gdb.base/list.exp: Ditto.
8423 * gdb.base/recurse.exp: Ditto.
8424 * gdb.base/scope.exp: Ditto.
8425 * gdb.base/structs.exp: Ditto.
8426 * gdb.c++/inherit.exp: Ditto.
8427
8428Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
8429
8430 * config/vr4300.exp: New file.
8431
99707966 8432 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 8433
99707966 8434 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
8435
8436Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
8437
8438 * lib/gdb.exp(gdb_init): New function.
8439
8440 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
8441 for each individual variable set.
8442
8443 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
8444 name.
8445
8446 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
8447
8448 * gdb.base/scope.exp: Use gdb_test.
8449
8450 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
8451 aborting; the testsuite driver will do that for us (see
8452 gdb_finish). Also, use gdb_test in a few more places.
8453
8454Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
8455
8456 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
8457
8458Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
8459
8460 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
8461 and "add_tests" are not at the same address.
8462
8463Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
8464
8465 * gdb.base/ptype.exp: Use gdb_test.
8466
8467Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
8468
8469 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
8470 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
8471 left in. No longer expect them to fail.
8472
8473 * gdb.stabs/*.mt; Deleted, no longer used.
8474 * gdb.stabs/configure.in: Remove references to target makefile
8475 frags.
8476 * gdb.stabs/configure: Rebuilt.
8477
8478 * gdb.disasm/*.mt: Deleted, no longer used.
8479 * gdb.disasm/configure.in: Remove references to target makefile
8480 frags. Use "sh3.s" as the unique filename for this directory.
8481 * gdb.disasm/configure: Rebuilt.
8482
8483 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
8484 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
8485 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
8486
8487Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
8488
8489 * config/udi.exp: Use mondfe,name instead of remote_host.
8490
8491Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
8492
8493 * gdb.base/watchpoint.exp: Don't expect a failure when calling
8494 a function with a watchpoint enabled on the mn10200.
8495
8496 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
8497 before trying to create it!
8498
8499Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
8500
8501 * config/vx.exp: Use hostname instead of netport.
8502
8503 * config/vxworks.exp: New file.
8504
8505 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
8506
8507 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
8508 gdb before assuming everything worked. Send a ^C if a timeout
8509 occurs.
8510
8511 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
8512 $gdb_spawn_id directly.
8513 (gdb_run_cmd): Try _start as well as start. Use the target feature
8514 gdb,start_symbol as the symbol to start from when jumping.
8515
8516Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
8517
8518 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
8519 redundant) test.
8520
8521 * gdb.base/recurse.exp: Relax final value test for 'b' so that
8522 it doesn't lose for 16bit integer systems.
8523
8524Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
8525
8526 * gdb.fortran/types.exp: If the target doesn't support "double"
8527 data types, then expect "real" types to only be 4 bytes.
8528
8529 * gdb.c++/virtfunc.exp: Expect failure for virtual function
8530 call tests if the target doesn't support inferior function calls.
8531
8532 * gdb.base/printcmds.exp: Allow minor deviation in FP values
8533 in printf tests.
8534
8535Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
8536
8537 * gdb.base/help.exp: Disable "help set", "help show", and
8538 "help support". Simplify regexp for "help stack".
8539
8540 * gdb.base/default.exp: Set match_max to 5000 and the timeout
8541 to 60 seconds. Temporarily set match_max to 15000 around the
8542 "info copying" test.
8543
8544 * gdb.base/nodebug.exp: Don't try to do an inferior function
8545 call if the target doesn't support them.
8546 * gdb.base/printcmds.exp: Likewise.
8547 * gdb.base/setvar.exp: Likewise.
8548 * gdb.base/structs.exp: Likewise.
8549 * gdb.c++/templates.exp: Likewise.
8550 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
8551
8552 * gdb.base/recurse.exp: Enable for the mn10200.
8553
8554 * configure.in: Do configure gdb.stabs directory for *-*-elf
8555 targets.
8556 * configure: Rebuilt.
8557
8558 * gdb.base/break.exp: Check for gdb,noresults before testing
8559 exit status and/or results from the target.
8560 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
8561 * lib/gdb.exp: Remove old (now bogus) initialization of
8562 noinferior, noargs, noresults and nosignals.
8563
8564Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
8565
8566 * config/sh.exp: New file.
8567
8568 * config/slite.exp: Try to connect multiple times to the board
8569 before rebooting. Only send a "monitor run" if need_monitor_run
8570 is set.
8571
8572 * gdb.base/break.exp: Don't do the "stub continue" test if
8573 the target has gdb_stub set.
8574
8575 * gdb.base/callfuncs.exp: Increase the timeout.
8576
8577 * gdb.base/interrupt.exp: Don't even try to compile the testcase
8578 if the target has gdb,noinferiorio set.
8579
8580 * gdb.base/list.exp: Increase match_max to 10000 characters.
8581
8582 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
8583
8584 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
8585 target.
8586
8587 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
8588
8589Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
8590
8591 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
8592 trying to delete the copy of gdb. Catch the file delete so we
8593 don't die if the delete fails; also, the file should be copied to
8594 the host, not to the build.
8595
8596Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
8597
8598 * lib/gdb.exp(gdb_test): Surround the result pattern with
8599 parenthesis in case it contains multiple regexps separated
8600 with |.
8601
8602 * gdb.base/watchpoint.exp: Use gdb_test.
8603 * gdb.base/default.exp: Ditto.
8604
8605Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
8606
99707966 8607 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 8608
c906108c
SS
8609 * gdb.base/scope.exp: Use gdb_test.
8610 * gdb.c++/classes.exp: Ditto.
8611 * gdb.c++/inherit.exp: Ditto.
8612
8613Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
8614
8615 * gdb.base/crossload.exp: Don't use execute_anywhere, use
8616 remote_exec instead.
8617 * gdb.base/corefile.exp: Don't be ridiculous.
8618 * gdb.base/*.c: Add missing stub invocations.
8619
8620Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
8621
8622 * config/slite.exp: Miscellaneous fixes.
8623
8624 * lib/gdb.exp: Fix runto.
8625
8626 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
8627 the target.
8628
8629 * gdb.base/watchpoint.exp: Fix regexp.
8630
8631 * lib/gdb.exp(default_gdb_exit): Add a catch to the
8632 close and wait commands, as the descriptor may now be
8633 invalid. Always call "remote_close host".
8634
8635Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
8636
8637 Major rewrite for testsuite revision.
d63a86f8 8638
c906108c
SS
8639 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
8640 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
8641 instead of relying on spawn_id to always contain a valid
8642 spawn id.
8643 (get_compiler_info): New procedure to build the ${binfile}.ci
8644 file, instead of replicating this in N different places.
8645 (gdb_compile): New procedure.
d63a86f8 8646
c906108c
SS
8647 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
8648 appropriate arguments) instead of compile. Use gdb_test in a lot
8649 more places. Use send_gdb instead of send. Always run gdb_start
8650 at the start of a testcase, as this is no longer done magically.
8651
8652 config/*-gdb.exp: Rename without the -gdb suffix.
8653
8654 config/mips.exp: Use remote_close instead of exit_remote_shell.
8655 config/monitor.exp: Use target_info instead of looking at
8656 baud, timeout, etc.
8657 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
8658
8659Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8660
8661 * gdb.c++/templates.exp (test_ptype_of_templates),
8662 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
8663 Update expect patterns for destructors and assignment operators
8664 to match corresponding c-typeprint.c changes.
8665 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
8666 to destructor breakpoint test, GDB should be able to set the
8667 destructor breakpoint without specifying arguments.
8668
8669Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
8670
8671 * gdb.threads/pthreads.exp: Change result for failure to compile due
8672 to lack of pthreads runtime support from an error to simply an
8673 unsupported test, per dejagnu standards.
8674
8675Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8676
8677 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
8678 where GDB exits to reduce pattern match time.
8679 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
8680
8681 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
8682
dc96c6c7 8683Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8684
8685 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
8686 * gdb.base/default.exp: ditto.
8687 * gdb.base/nodebug.exp: ditto.
8688 * gdb.base/printcmds.exp: ditto.
8689 * gdb.base/ptype.exp: ditto.
8690 * gdb.base/setvar.exp: ditto.
8691 * gdb.base/structs.exp: ditto.
8692 * gdb.base/setshow.c: Guard against uninitialized values of argc.
8693
8694Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
8695
8696 * configure, */configure: Rebuild with autoconf 2.12.
8697
8698Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
8699
8700 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
8701 use new i*86-pc-linux*-gnu quads.
8702 * gdb.base/corefile.exp: Ditto.
8703 * gdb.base/signals.exp: Ditto.
8704 * gdb.base/sigall.exp: Ditto.
8705 * gdb.base/interrupt.exp: Ditto.
8706
8707 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
8708 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
8709 RedHat 4.0.
d63a86f8 8710
c906108c
SS
8711 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
8712 linux. This allows the test case to at least compile on latest
8713 linux, but still not run due to missing the threads runtime library.
8714
8715Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8716
8717 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
8718 directory to search gdb directory. Accept and step over conditional
8719 stack alignment code. Consume $prompt in failure cases.
8720 Reset timeout to $oldtimeout instead of some arbitrary value.
8721 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
8722 timeout problems with infinite stack backtraces.
8723 * gdb.base/ptype.exp (ptype struct link, union tu_link):
8724 Accept function parameters for linkfunc member.
8725
8726Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
8727
8728 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
8729 (CXXFLAGS): Remove, unreferenced.
8730 (B_OPTIONS): Add for -B options and add code to initialize with
8731 previous -B options and also add -B option to pick up cross compiled
8732 runtime.
8733 (TARGET_INCLUDES): Add for -I options and add code to initialize when
8734 doing cross compiles.
8735 (target_alias): Declare global.
8736 (xgcc): Set variable to full path of gcc in build tree. Use findfile
8737 to verify that gcc exists in build tree, and if so set CC to that
8738 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 8739
c906108c
SS
8740Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
8741
8742 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
8743 ptype test for anonymous union. Fixup testcase to match
8744 current gcc debug output.
8745
8746Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
8747
8748 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
8749 force argument to an unsigned long type.
8750
8751Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
8752
8753 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
8754 tests and anonymous union print/ptype tests.
8755 * gdb.base/list.exp (test_forward-search): Increase timeout by
8756 5 minutes for the "search extremely long line" case.
8757 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
8758 completely optional and that the pass/fail messages use the command as
8759 the message if that third arg is a null string.
8760 (gdb_test_exact): Arrange that a null string pattern means match a
8761 null string output rather than any output, which might include random
8762 errors.
8763 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
8764 backtrace test.
8765 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
8766 always failing and failure is now exposed by gdb.exp changes.
8767
8768Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
8769
8770 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
8771 weren't being noted.
8772
8773Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8774
8775 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
8776 * gdb.stabs/weird.exp: Remove v_comb xfails.
8777
dc96c6c7 8778Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8779
8780 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
8781 list.exp scope.exp watchpoint.exp]
8782 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 8783
dc96c6c7 8784Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8785
8786 * config/monitor.exp: Increase download timeout to 1000 seconds.
8787
dc96c6c7 8788Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8789
8790 * config/m32r.exp: Increase timeout to 120 seconds.
8791
8792Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
8793
8794 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
8795 and accept older ordering as obsolescent gcc or gdb.
8796 * gdb.c++/templates.exp: Ditto.
8797 * gdb.c++/virtfunc.exp: Ditto.
8798
8799Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
8800
8801 * gdb.base/coremaker.c: Add code to mmap some data so we
8802 can check that it ends up in the core file.
8803 * gdb.base/corefile.exp: Add test to read mmapped data
8804 from core file.
8805
dc96c6c7 8806Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8807
8808 * config/m32r.exp: New file.
8809
8810Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
8811
8812 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
8813 that cflags can contains -gstabs, and work correctly for other tests.
8814
dc96c6c7 8815Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8816
8817 * gdb.base/setshow.exp: New file, tests show and set.
8818 * gdb.base/setshow.c: New file, tests show and set.
8819 * gdb.base/help.exp: Add test for help set|show annotate.
8820 * gdb.base/default.exp: Add test for set|show annotate.
8821
8822Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
8823
8824 * testsuite/gdb.base/break.exp: Make backtrace from factorial
8825 errors unique.
8826 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
8827 explicitly.
8828
8829Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
8830
8831 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
8832 and width commands. This is done elsewhere.
8833 * (gdb_start): Don't call gdb_start_sim here. That's already
8834 done in gdb_load. This fixes lots of failures in default.exp.
8835
8836Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
8837
8838 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
8839 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
8840 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
8841 in the same we we treat other failures (since it may be an expected
8842 condition), rather than as an error.
8843 * gdb.base/signals.exp (test_handle_all_print): Revert back to
8844 old test format.
8845
8846Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
8847
8848 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
8849 (distclean maintainer-clean realclean): No need to remove files
8850 twice. Nuke the duplicates.
8851 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 8852 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
8853 Remove config.h along with other config files.
8854
8855Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
8856
8857 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
8858 "p func1 ()" and note that rests of tests are skipped.
8859 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
8860 setup_xfails for "print func2::coremaker_local".
8861 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
8862 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
8863 affected by the previous run test.
8864 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
8865 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
8866 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
8867 "pass int powerset tuple" and "pass modeless int powerset tuple".
8868 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
8869 "real write 4" and "real write 8".
8870 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
8871 setup_xfails for "print vs1 after tuple assign 2",
8872 "print \$i after tuple assign 2", and
8873 "print vs2 after tuple assign 2".
8874 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
8875 meaningful error message and return -1 so the caller can
8876 suppress further tests and avoid a cascade of errors.
d63a86f8 8877
c906108c
SS
8878Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
8879
8880 * gdb.base/a1-selftest.exp: Tweak tests to account for new
8881 format for printing version.
8882 * gdb.base/default.exp: Ditto.
8883 * gdb.base/interrupt.exp: Fix problem with cascade of
8884 errors if child process dies while calling a function.
d63a86f8 8885
c906108c
SS
8886Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
8887
8888 * Makefile.in (VPATH): Add
8889 * Makefile.in (Makefile, config.status): Fix rules so things get
8890 remade when necessary.
8891
8892Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
8893
8894 * Makefile.in (just-check): Add path to sibling expect dir
8895 to environment variable specified by RPATH_ENVVAR.
8896
8897Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
8898
8899 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
8900 (just-check): Add shared library paths for libstdc++, tk,
8901 tcl, bfd, and opcodes to the environment variable specified
8902 in RPATH_ENVVAR.
8903 * configure.in: Add support to recognize --enable-shared flag
8904 and generate correct value for RPATH_ENVVAR.
8905 * configure: Regenerated with autoconf.
8906
8907Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
8908
8909 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
8910 include all osf versions.
8911 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
8912 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
8913 when target is linux. When failing to build pthreads test
8914 executable, give more meaningful message.
8915 * gdb.threads/pthreads.c: Hpux also uses old definition of second
8916 arg for pthread_create.
d63a86f8 8917
c906108c
SS
8918Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
8919
8920 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
8921 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
8922 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
8923 and -lpthreads (everybody else).
8924 (test_startup): Fail gracefully if threads are not supported.
8925 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
8926 "p/c array_index("abcdef",2)" when not gcc compiled.
8927 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
8928 "print func2::coremaker_local" when not gcc compiled.
8929 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
8930 "ptype on opaque struct tagname (statically)",
8931 "ptype on opaque struct tagname (dynamically) 1", and
8932 "ptype on opaque struct tagname (dynamically) 2"
8933 for not compiled with gcc.
8934 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
8935 backtrace when compiled with gcc.
d63a86f8 8936 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
8937 than always return success.
8938
8939Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
8940
8941 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
8942
8943Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
8944
8945 * gdb.base/structs.exp: Undo last change.
8946
8947Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
8948
8949 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
8950 encapsulate all the steps/nexts done during self test, starting
8951 at main, and makes them less sensitive to optimization issues.
8952 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
8953 signal handler" test.
8954 * gdb.threads/pthreads.exp: Only run this for native configs.
8955 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
8956 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
8957 tests.
8958 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
8959 for "runto test_calls(void)" test.
d63a86f8 8960
c906108c
SS
8961Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
8962
8963 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
8964 and don't expect address info in breakpoint confirmations.
8965
8966Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
8967
8968 * gdb.base/list.exp (test_forward_search): Increase timeout
8969 temporarily by 60 seconds for searching extremely long line,
8970 and then reset to old value when done. Increase expect input
8971 buffer to 10000.
8972
8973Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
8974
8975 * gdb.base/list.exp (test_forward_search): Fix to handle very
8976 long source line without overflowing expect's input buffer.
8977
8978Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
8979
8980 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
8981 "buffer_full".
8982
8983 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
8984 "buffer_full".
8985
8986 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
8987 "buffer_full".
8988
8989 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
8990 "buffer_full".
8991
8992Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
8993
8994 * configure.in (configdirs): Add gdb.threads.
8995 * configure: Regenerated with autoconf.
8996 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
8997 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
8998 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 8999
c906108c
SS
9000Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
9001
9002 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
9003
9004Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
9005
9006 * gdb.base/signals.exp (test_handle_all_print): Test separately for
9007 each signal's status in the output of "handle all print".
9008 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
9009 the \r\n sequence that immediately precedes the gdb prompt.
9010 * gdb.base/a1-selftest.exp: Save original timeout and restore
9011 after test.
9012
9013Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
9014
9015 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
9016 symbol.
9017
9018Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
9019
9020 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
9021
9022Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
9023
9024 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
9025 timeout by 60 seconds.
9026
9027Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
9028
9029 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
9030 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
9031 error return.
9032
9033Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
9034
9035 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
9036 gdb initialization, also report how long dejagnu waited. Restore
9037 old timeout before doing error return. Temporarily increase timeout
9038 by 3 minutes to allow for slow startups over heavy NFS use.
9039
9040Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
9041
9042 * lib/gdb.exp: Report timeout value for verbosity level 2.
9043 * config/gdbserver.exp: Ditto.
9044 * config/hppro.exp: Ditto.
9045 * config/mips-gdb.exp: Ditto.
9046 * config/monitor.exp: Ditto.
9047 * config/netware.exp: Ditto.
9048 * config/sim-gdb.exp: Ditto.
9049 * config/slite-gdb.exp: Ditto.
9050 * config/udi-gdb.exp: Ditto.
9051 * config/unix-gdb.exp: Ditto.
9052 * config/vx-gdb.exp: Ditto.
9053 * gdb.base/a1-selftest.exp: Ditto.
9054 * gdb.base/a2-run.exp: Ditto.
9055 * gdb.base/break.exp: Ditto.
9056 * gdb.base/corefile.exp: Ditto.
9057 * gdb.base/list.exp: Ditto.
9058 * gdb.base/recurse.exp: Ditto.
9059 * gdb.base/scope.exp: Ditto.
9060 * gdb.base/signals.exp: Ditto.
9061
9062Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9063
9064 * gdb.threads/Makefile.in (docdir): Removed.
9065
9066Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9067
9068 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 9069 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 9070 @srcdir@.
d63a86f8 9071 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
9072 autoconf 2.5 or higher.
9073 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
9074
9075Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
9076
9077 * configure: Regenerated.
9078 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
9079 avoid name clashes with SunOS headers.
9080
9081Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
9082
9083 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
9084
9085Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
9086
9087 * gdb.base/callfuncs.exp: Finish last change -- make sure the
9088 prototype information ends up in the compiler info file.
9089
9090Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
9091
9092 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
9093 attempting to regenerate it. Eliminate use of a temporary file
9094 and just generate the info file directly. Source it immediately,
9095 for consistency of use.
9096 * gdb.base/corefile.exp: Ditto
9097 * gdb.base/exprs.exp: Ditto.
9098 * gdb.base/funcargs.exp: Ditto.
9099 * gdb.base/langs.exp: Ditto.
9100 * gdb.base/list.exp: Ditto.
9101 * gdb.base/mips_pro.exp: Ditto.
9102 * gdb.base/nodebug.exp: Ditto.
9103 * gdb.base/opaque.exp: Ditto.
9104 * gdb.base/ptype.exp: Ditto.
9105 * gdb.base/scope.exp: Ditto.
9106 * gdb.base/setvar.exp: Ditto.
9107 * gdb.base/signals.exp: Ditto.
9108 * gdb.base/whatis.exp: Ditto.
9109 * gdb.c++/templates.exp: Ditto.
9110 * gdb.c++/virtfunc.exp: Ditto.
9111 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
9112 whether or not to add -lstdc++ to the compile command line args.
9113
9114Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9115
9116 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
9117 it got fixed by the recent lookup_minimal_symbol_by_pc change.
9118 Increase timeout, a lot of single stepping might be needed if the
9119 target has no hardware watchpoints.
9120
9121Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
9122
9123 * gdb.base/break.exp: Ignore compiler warnings when compiling
9124 break.c.
9125 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
9126 * gdb.base/default.exp: Add h8300 xfails. Handle messages
9127 from remote-sim.
9128 * gdb.base/exprs.exp: Add h8300 xfails.
9129 * gdb.base/funcargs.exp: Likewise.
9130 * gdb.base/nodebug.exp: Likewise.
9131 * gdb.base/printcmds.exp: Likewise.
9132 * gdb.base/ptype.exp: Likewise.
9133 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
9134 h8300 xfails.
d63a86f8 9135 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
9136 on the h8300.
9137 * gdb.base/funcargs.c: Explicitly make last constant argument to
9138 call_after_alloca_subr an unsigned long type.
9139 * gdb.base/return.c: Include stdio.h.
9140
9141Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
9142
9143 * config/abug.exp: New file for the older Motorola Bug monitor
9144 that runs on the mvme13x series VME boards.
9145 * config/monitor.exp: Use the new config array for target settings
9146 if they exist.
9147
9148Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
9149
9150 * sim-gdb.exp: Make the SH simulator allocate less space when
9151 it is targeted.
9152
9153Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
9154
9155 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
9156 test.
9157
9158Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
9159
9160 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
9161 "rs6000-*-*" for "list function in include file" when gcc compiled.
9162 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
9163 for "p ctable1[120]".
9164 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
9165 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
9166 Remove setup_xfail for "rs6000-*-*" for
9167 "print 'scope0.c'::filelocal before run".
9168 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
9169 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
9170 since some compilers don't allow both options to be given
9171 on the same command line. Create object file and move it.
d63a86f8 9172
c906108c
SS
9173Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
9174
9175 * gdb.base/corefile.exp: Always regenerate the core file, since
9176 we always regenerate the coremaker program. Detect special case
9177 where registers cannot be read from core file.
d63a86f8 9178
c906108c
SS
9179Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
9180
9181 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
9182 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
9183 * gdb.c++/templates.exp: Only match on basename of file since
9184 some formats like xcoff don't encode directory information.
9185 * gdb.stabs/weird.exp: Use the right sed script for powerpc
9186 and rs6000 AIX xcoff targets.
9187 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
9188 * configure: Regenerate.
9189 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
9190 here, rather than in distclean.
d63a86f8 9191
c906108c
SS
9192Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
9193
9194 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
9195 defined, and use it to compile the test case with -O2. The
9196 native compilation still uses no optimization.
9197 * gdb.base/mips_pro.c: Remove inline assembly code since
9198 it is compiled PIC by default, which results in assembler
9199 warnings that make the testsuite think the compilation
9200 was unsuccessful.
9201
9202Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
9203
9204 * gdb.c++/misc.exp: Add note to message for
9205 "print s.a for foo struct" that this is a known gcc 2.7.2
9206 and earlier bug.
9207
9208Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
9209
9210 * gdb.base/break.exp: Fix pattern for matching "Delete all
9211 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
9212 setup_xfail for deleting all breakpoints test. Fix various
9213 timeout messages to include "(timeout)".
9214 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
9215 for "p t_float_values2(3.14159,float_val2)".
9216 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
9217 for "continue to call2g" when gcc compiled.
9218 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
9219 "up to foo in langs.exp", "show language at foo in langs.exp",
9220 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
9221 and "show language at fsub in langs.exp".
9222 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
9223 "list line 1 in include file", "list message for lines past EOF",
9224 "list function in include file", "list list0.h:foo", and
9225 "list filename:function; nonexistant function".
9226 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
9227 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
9228 and "ptype t_char_array" to be for native cc only.
d63a86f8 9229
c906108c
SS
9230Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
9231
d63a86f8 9232 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
9233 setup_xfail for "print coremaker_bss", "print coremaker_ro",
9234 "print func2::coremaker_local", and "backtrace in corefile.exp".
9235
9236Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
9237
9238 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
9239 "bt in signals.exp". This problem only appears when running
9240 the testsuite, and then only intermittently.
9241
9242Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
9243
9244 * gdb.base/return.exp (return_tests): Differentiate between
9245 two tests of continuing.
9246
9247Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
9248
9249 * */Makefile.in (maintainer-clean): Remove config.log.
9250 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
9251 * gdb.c++/Makefile.in (PROGS): Add inherit.
9252 (clean): Remove *.ci.
9253
9254Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
9255
9256 * gdb.c++/misc.cc: Add test code from Mike Stump.
9257 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
9258
9259Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
9260
9261 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
9262 to "alpha-*-osf2*" and add comment.
9263 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
9264 setup_xfail for "step over execarg initialization" and
9265 "step over corearg initialization".
9266 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
9267 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
9268 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
9269 gcc compiled for "print coremaker_bss", "print coremaker_ro",
9270 "print func2::coremaker_local", and "backtrace in corefile.exp".
9271 * gdb.base/signals.exp: Build and source signals.ci.
9272 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
9273 to be for gcc only.
9274 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 9275
c906108c
SS
9276Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9277
9278 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
9279 Feb 3 procfs.c change.
9280
9281Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
9282
9283 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
9284
9285Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
9286
9287 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
9288 from dejagnu's apparent default of 10 seconds, which gives random
9289 results when running the tests over NFS on moderately loaded systems.
9290 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
9291
9292Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
9293
9294 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
9295 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
9296 result reports.
9297
9298Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
9299
9300 * configure.in (CY_AC_PATH_TCLH): Remove.
9301 * configure: Regenerate.
9302
9303Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
9304
9305 * gdb.c++/Makefile.in (clean): Add missing '{'.
9306
9307Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
9308
9309 * lib/gdb.exp: Provide a default value for noinferior.
9310
9311 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
9312 Load libgloss.exp.
9313
9314Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
9315
9316 * gdb.disasm/hppa.exp: Compile directly into an executable, use
9317 the executable, not the .o to run the tests from.
9318
9319Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
9320
9321 * gdb.base/break.exp: Don't test for program exit or exit status
9322 if $noresults if nonzero.
9323 * gdb.base/langs.exp: Likewise.
9324 * gdb.base/watchpoint.exp: Likewise.
9325
9326 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
9327 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
9328 trying to compile the testcase.
9329
9330Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
9331
9332 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
9333 * gdb.base/signals.exp (continue to handler): Likewise.
9334
9335Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
9336
9337 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
9338
9339 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
9340
9341Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
9342
9343 * gdb.base/corefile.exp: Recognize "not found" as failure
9344 when trying to determine if a core file was generated.
9345 If no core file was generate the first time, try again without
9346 the ulimit -c to work around braindamaged shells.
9347
9348Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
9349
9350 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
9351 [] tests with "test" and enclose string in quotes.
9352 * gdb.stabs/configure: Rebuild
d63a86f8 9353
c906108c
SS
9354Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
9355
9356 Changes in sync with expect:
9357 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
9358 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
9359 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
9360 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
9361 argument to AC_REQUIRE.
9362 * configure: Regenerated.
9363
9364Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
9365
9366 * gdb.base/corefile.exp: When generating a core, discard any
9367 error messages about ulimit not found and the "core dumped"
9368 message from the shell that runs the coredumper.
9369
9370Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
9371
9372 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
9373
9374 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
9375 which sed script to run. Expect failure for v_comb test
9376 on PA targets too.
d63a86f8 9377
c906108c
SS
9378Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
9379
9380 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
9381 "print func2::coremaker_local" and for "backtrace in corefile.exp"
9382
9383Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
9384
9385 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
9386 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
9387 "sparc-sun-solaris*" xfails for "p v_comb".
9388 * lib/gdb.exp (default_gdb_start): Fix typo.
9389 * gdb.base/corefile.exp: Allow "Core was generated by ..."
9390 messages to not include the full program name that caused
9391 the core dump since some systems (such as solaris) apparently
9392 truncate this path to about 80 characters.
9393 When generating a core file first try increasing the core file
9394 size limit to unlimited since some systems may default it to
9395 zero, and it is harmless to try it. Move the test for failing
9396 to generate a core file to where it will actually get executed.
9397 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
9398 new gdb result from g++ debug info improvements and make old
9399 pattern obsolescent. Also account for size_t differences
9400 (may be int or long).
9401 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
9402 initialization before function call is placed in the delay slot
9403 and thus appears to be skipped over by commands such as "next".
9404
9405Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
9406
9407 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
9408
9409Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
9410
9411 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
9412 input source file; fix code to compile test to deal with this
9413 convention.
9414 * gdb.c++/*.exp: Likewise.
9415
9416Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
9417
9418 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
9419 "bt in signals.exp".
9420
9421Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
9422
9423 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
9424 "step over execarg initialization" and
9425 "step over corearg initialization".
9426
9427Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
9428
9429 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
9430 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
9431
9432Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
9433
9434 From Rob Savoye (rob@poseidon.cygnus.com)
9435 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
9436 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
9437 configure.in}, gdb.disasm/{Makefile.in, configure.in},
9438 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
9439 configure.in}: Major reworking for autoconfig.
9440 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
9441 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
9442 New files.
9443 * config/unix-gdb.exp: Make GDB global.
9444 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
9445 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
9446 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
9447 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
9448 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
9449 term.exp, twice.exp, watchpoint.exp, whatis.exp},
9450 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
9451 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
9452 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
9453 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
9454 pr-8136.exp, result.exp, string.exp, tuples.exp},
9455 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
9456 to returns as necessary, arrange for test to compile own testcase
9457 executable.
9458 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 9459
c906108c
SS
9460Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
9461
9462 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
9463 clear_xfail at end of test which might not call either pass or fail.
9464 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
9465 "backtrace through signal handler".
9466
9467Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9468
9469 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
9470 continuing from a job control stop signal.
9471 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
9472
9473Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
9474
9475 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
9476 * gdb.base/corefile.exp: Likewise.
9477 * gdb.base/funcargs.exp: Likewise.
9478
9479Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
9480
9481 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
9482 * config/monitor.exp: Add support for setting baud rate.
9483
9484Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
9485
9486 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
9487 i*86-*-linux* xfails for "backtrace through signal handler".
9488 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
9489 "print func2::coremaker_local".
9490 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
9491 alpha-dec-osf2* xfail for
9492 "delete all breakpoints when none".
9493
9494Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
9495
9496 * gdb.base/break.exp: Change test that deletes all breakpoints
9497 when no user breakpoints are installed. A post 4.15 change
9498 causes gdb to no longer prompt in this case.
9499
9500Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
9501
9502 * gdb.base/return.exp (return_tests): Change xfail for test
9503 "correct value returned double test" to stop xfailing at
9504 Solaris 2.5. Apparently the bug has been fixed.
9505
9506Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
9507
9508 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
9509 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
9510
9511Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
9512
9513 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
9514 * gdb.disasm/hppa.s: Corresponding changes.
9515
9516Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
9517
9518 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
9519 makefile fragment.
9520 * config/mt-hpux: Deleted.
9521
9522Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
9523
d63a86f8 9524 * Many files: When warning about suppressed tests due to a
c906108c
SS
9525 nonexistant test binary, avoid incrementing the warning count.
9526
9527Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
9528
9529 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 9530
c906108c
SS
9531Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9532
9533 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
9534 "sparc-*-solaris2*".
9535
9536Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9537
9538 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
9539 Add global and local variables and initialize them.
9540 * gdb.base/corefile.exp: Test correct mapping of corefile sections
9541 by printing variables. Remove rs6000 and powerpc xfails, BFD now
9542 extracts the file name and terminating signal from the core file.
9543 * TODO: Remove note about tests for correct mapping of corefile.
9544 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
9545 from optimizing it away.
9546 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
9547 handles common blocks.
9548
9549Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
9550
9551 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
9552 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
9553
9554Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
9555
9556 * Makefile.in (maintainer-clean): New target, synonym for
9557 realclean.
9558 * gdb.base/Makefile.in (maintainer-clean): Likewise.
9559 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
9560 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
9561 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
9562 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
9563 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
9564
9565Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
9566
9567 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
9568 xfails when not gcc compiled for "print foo::funclocal".
9569 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
9570 "print foo::funclocal at foo",
9571 "print 'scope1.c'::foo::funclocal at foo",
9572 "print foo::funclocal_bss at foo",
9573 "print 'scope1.c'::foo::funclocal_bss at foo",
9574 "print foo::funclocal_ro at foo",
9575 "print 'scope1.c'::foo::funclocal_ro at foo",
9576 "print bar::funclocal at foo" and
9577 "print 'scope1.c'::bar::funclocal at foo".
9578 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
9579 gcc compiled for "print foo::funclocal at bar".
9580 Expand all messages to ensure that they identify that
9581 the test is at bar().
9582 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
9583 gcc compiled for:
9584 "ptype on opaque struct pointer (statically)",
9585 "ptype on opaque struct tagname (statically)",
9586 "ptype on opaque struct pointer (dynamically) 1",
9587 "ptype on opaque struct tagname (dynamically) 1",
9588 "ptype on opaque struct pointer (dynamically) 2" and
9589 "ptype on opaque struct tagname (dynamically) 2
9590 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
9591 gcc compiled for:
9592 "p datalocal"
9593 "whatis datalocal",
9594 "ptype datalocal",
9595 "p bsslocal",
9596 "whatis bsslocal", and
9597 "ptype bsslocal".
9598 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
9599 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
9600 when not gcc compiled.
9601 * gdb.base/funcargs.exp (float_and_integral_args): Add
9602 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
9603 compiled.
9604 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
9605 "backtrace from call6a" when not gcc compiled.
9606 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
9607 "backtrace from call7a" when not gcc compiled.
9608 * gdb.base/callfuncs.exp (do_function_calls):
9609 Add "hppa*-*-hpux*" xfail when not gcc compiled for
9610 "p t_char_array_values(char_array_val2,char_array_val1)",
9611 "p t_char_array_values(char_array_val1,char_array_val2)",
9612 "p t_char_array_values("carray 1","carray 2")",
9613 "p t_char_array_values("carray 1",char_array_val2)",
9614 "p t_char_array_values(char_array_val1,"carray 2")",
9615 "p sum_args(1,{2})",
9616 "p sum_args(2,{2,3})",
9617 "p sum_args(3,{2,3,4})",
9618 "p sum_args(4,{2,3,4,5})"
9619 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
9620 "backtrace in corefile.exp" when not gcc compiled.
9621
9622Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9623
9624 * gdb.base/signals.exp: Rewrite `handle all print' test as
9625 a procedure. Accept blanks or TABs as whitespace, increase
9626 timeout and expect input buffer size for the large output
9627 from the command. Remove "i*86-*-bsdi2.0" xfail.
9628
9629Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9630
9631 * gdb.base/setvar.exp: Add new testcases for truncation when
9632 assigning invalid values to bitfields.
9633
9634Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
9635
d63a86f8 9636 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
9637 mips-sgi-irix* xfail for
9638 "call inferior func with struct - returns char *"
9639 and fix test so that an optional (unsigned char *) cast is
9640 accepted in the result.
9641
9642Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
9643
9644 * gdb.base/funcargs.exp (float_and_integral_args): Remove
9645 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
9646 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
9647 * gdb.base/signals.exp: Remove duplicate "handle all print" test
9648 that accidentally got checked in.
9649
9650Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
9651
d63a86f8 9652 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
9653 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
9654 compiled test.
9655 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
9656 Add mips-sgi-irix5* xfail for not gcc compiled.
9657 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
9658 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
9659 "p top", "whatis top", "p middle", and "whatis middle".
9660 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
9661 "whatis signed char" for not gcc compiled.
9662 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
9663 "set variable signed char=-1 (-1)" and
9664 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
9665 * gdb.base/funcargs.exp (float_and_integral_args):
9666 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
9667 Add mips-sgi-irix* xfail when not gcc compiled for
9668 "continue to call2b".
9669 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
9670 "continue to call2g".
9671 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
9672 "backtrace from call6a"
9673 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
9674 "backtrace from call7k".
9675 Add mips-sgi-irix5* xfail when not gcc compiled for
9676 "backtrace from call7a".
9677 (localvars_after_alloca): Fix gdb_test cmds for
9678 "print * after runto ...".
9679 Remove rs6000-*-* xfails for
9680 "print i after runto localvars_after_alloca" and
9681 "print l after runto localvars_after_alloca"
9682 for all compilers.
9683 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
9684 when not compiled with gcc, for:
9685 "print signed char == (minus)",
9686 "print signed char != (minus)",
9687 "print signed char < (minus)",
9688 "print signed char > (minus)".
9689 * gdb.base/callfuncs.exp (do_function_calls):
9690 Add mips-sgi-irix* xfail, when compiled with native compiler, for
9691 "call inferior func with struct - returns char *".
d63a86f8 9692 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
9693 "correct value returned double test" to include Solaris 2.4.
9694 * gdb.base/funcargs.exp (float_and_integral_args):
9695 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 9696
c906108c
SS
9697Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9698
9699 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
9700 enumeration bitfields if compiling with GNU C.
9701 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
9702 to empty' prompt.
9703
9704Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
9705
9706 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
9707 test for PRO targets.
9708
9709 * gdb.base/funcargs.exp: Avoid ever setting more than 8
9710 breakpoints in the inferior at any given time by making
9711 two groups of breakpoints for call2*, call6* and call7*
9712 tests.
9713
9714Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9715
9716 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
9717 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
9718 from optimizing it away.
9719 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
9720 "call inferior func with struct".
9721
9722Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
9723
9724 * configure.in: Only configure gdb.chill for particular targets.
9725
9726Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
9727
9728 * gdb.base/Makefile.in: Add action to .c.o transformation
9729 rule that generates a .ci file for each .o file and remove
9730 explicit .c.o rules except for callfuncs.o.
9731 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
9732 generates a .ci file for each .o file and remove explicit
9733 .cc.o rules.
9734 (clean): Remove *.tmp *.ci files.
9735 (EXECUTABLES): Remove templ-info.exp.
9736 * gdb.base/compiler.c: New file.
9737 * gdb.c++/compiler.cc: New file
9738 * gdb.base/scope.exp: Source gdb.base/scope.ci.
9739 Change rs6000-*-* xfail for
9740 "print 'scope0.c'::filelocal_ro" and
9741 "print 'scope1.c'::filelocal" and
9742 "print 'scope1.c'::filelocal_bss" and
9743 "print 'scope1.c'::filelocal_ro" and
9744 "print 'scope1.c'::foo::funclocal" and
9745 "print 'scope1.c'::foo::funclocal_ro" and
9746 "print 'scope1.c'::bar::funclocal" and
9747 "print 'scope0.c'::filelocal_ro" and
9748 "print 'scope1.c'::filelocal at foo" and
9749 "print 'scope1.c'::filelocal_bss at foo" and
9750 "print 'scope1.c'::filelocal_ro at foo" and
9751 "print 'scope1.c'::foo::funclocal at foo" and
9752 "print 'scope1.c'::foo::funclocal_bss at foo" and
9753 "print 'scope1.c'::foo::funclocal_ro at foo" and
9754 "print 'scope1.c'::bar::funclocal at foo" and
9755 "print 'scope0.c'::filelocal_ro" and
9756 "print 'scope1.c'::filelocal" and
9757 "print 'scope1.c'::filelocal_bss" and
9758 "print 'scope1.c'::filelocal_ro" and
9759 "print 'scope1.c'::foo::funclocal" and
9760 "print 'scope1.c'::foo::funclocal_bss" and
9761 "print 'scope1.c'::foo::funclocal_ro" and
9762 "print 'scope1.c'::bar::funclocal" and
9763 "print 'scope1.c'::bar::funclocal_bss"
9764 to only be xfail'd when not compiled with gcc.
d63a86f8 9765 Add rs6000-*-* xfail for
c906108c
SS
9766 "print 'scope0.c'::filelocal_bss before run"
9767 when compiled with gcc.
9768 (test_at_main): Add rs6000-*-* xfail for
9769 "print filelocal_ro in test_at_main"
9770 when compiled with gcc.
9771 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 9772 Add rs6000-*-aix* xfail for
c906108c
SS
9773 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
9774 "ptype t_char_array", not compiled with gcc.
9775 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
9776 xfail for "list foo (in include file)" when gcc compiled.
9777 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
9778 (integral_args): Add rs6000-*-* xfail for
9779 "run to call0a" if not compiled with gcc.
9780 (unsigned_integral_args): Add rs6000-*-* xfail for
9781 "run to call1a" if not compiled with gcc.
9782 (float_and_integral_args): Add rs6000-*-* xfail for
9783 "run to call2a" if not compiled with gcc and for
9784 "continue to call2b" for any compiler.
9785 Add rs6000-*-* xfail to
9786 "print f1 after run to call2a" for gcc compiled.
9787 (discard_and_shuffle): Add rs6000-*-* xfail for
9788 "run to call6a".
9789 (shuffle_round_robin): Add rs6000-*-* xfail for
9790 "backtrace from call7a" if not compiled with gcc.
9791 Add rs6000-*-* xfail for
9792 "backtrace from call7b" if compiled with gcc.
9793 (call_after_alloca): Add rs6000-*-* xfail for
9794 "print c in call_after_alloca" and
9795 "print s in call_after_alloca" and
9796 "backtrace from call_after_alloca_subr"
9797 if not compiled with gcc.
9798 (localvars_in_indirect_call): Add rs6000-*-* xfail for
9799 "print c in localvars_in_indirect_call" and
9800 "print c in localvars_in_indirect_call" and
9801 "backtrace in indirectly called function" and
9802 "stepping into indirectly called function"
9803 if not compiled with gcc.
9804 (localvars_after_alloca): Add rs6000-*-* xfail for
9805 "print c after runto localvars_after_alloca" and
9806 "print s after runto localvars_after_alloca" and
9807 "print i after runto localvars_after_alloca" and
9808 "print l after runto localvars_after_alloca"
9809 for all compilers.
9810 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
9811 than whatis-info.exp.
9812 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
9813 than opaque-info.exp.
9814 Setup rs6000-*-* xfail for
d63a86f8 9815 "ptype on opaque struct pointer (statically)" and
c906108c
SS
9816 "ptype on opaque struct pointer (dynamically)" when
9817 not compiled with gcc.
9818 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
9819 rather than callf-info.exp.
9820 (do_function_calls): Add clear_xfail for rs6000-*-* for
9821 "p t_float_values2(3.14159,float_val2)". Seems to work
9822 fine there, both with xlc and gcc. Need to find out what
9823 it is doing right and fix other platforms.
9824 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
9825 "call inferior func with struct - returns int",
9826 "call inferior func with struct - returns long",
9827 "call inferior func with struct - returns float",
9828 "call inferior func with struct - returns double",
9829 "call inferior func with struct - returns char *",
9830 but only if not gcc compiled (presumes xlc compiled).
9831 Change rs6000-*-* xfails for
9832 "call inferior func with struct - returns char" and
9833 " call inferior func with struct - returns short" to only
9834 xfail if not using gcc.
9835 (clean mostlyclean): Remove *.ci and *.tmp files.
9836 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
9837 than templ-info.exp.
9838 * gdb.base/langs.exp: Source gdb.base/langs.ci.
9839 Add rs6000-*-* xfail for "up to foo in langs.exp"
9840 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
9841 when not gcc compiled.
d63a86f8 9842
c906108c
SS
9843Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9844
9845 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
9846 * gdb.base/corefile.exp: Likewise.
9847 * gdb.base/list.exp: Likewise.
9848 * gdb.base/scope.exp: Likewise.
9849 * gdb.base/siganls.exp: Likewise.
9850
9851 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
9852 compiler output.
9853 * gdb.base/whatis.exp: Likewise.
9854
9855Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
9856
9857 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
9858 failure (opcode table has been fixed to match reality).
9859
9860Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
9861
9862 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
9863 "call inferior func with struct - returns char",
9864 "call inferior func with struct - returns short"
9865
9866 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
9867 "print 'scope0.c'::filelocal at main",
9868 "print 'scope0.c'::filelocal_bss in test_at_main",
9869 "print 'scope0.c'::filelocal at foo",
9870 "print 'scope0.c'::filelocal_bss in test_at_foo",
9871 "print 'scope0.c'::filelocal at bar",
9872 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 9873
c906108c
SS
9874 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
9875 in source file 1". This bug seems to have been fixed with both
9876 gcc and native cc (was native assembler bug?).
9877
9878Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
9879
9880 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
9881 "backtrace through signal handler" to "i*86-*-sysv4*".
9882 * gdb.base/signals.exp: Add xfail for "'next' behaved as
9883 continue" case. Add "known SVR4 bug" to fail message.
9884 Add "i*86-*-bsdi2.0" xfail for "handle all print".
9885 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
9886 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
9887 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
9888 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
9889 "up to foo in langs.exp", "show language at foo in
9890 langs.exp", "up to cppsub_ in langs.exp", "show
9891 language at cppsub_ in langs.exp", "up to fsub in
9892 langs.exp", and "show language at fsub in langs.exp".
9893 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
9894 "bactrace in corefile.exp".
9895 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
9896 "call inferior function with struct - returns float" and
9897 "call inferior function with struct - returns double".
d63a86f8 9898
c906108c
SS
9899Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
9900
9901 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
9902 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
9903 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
9904 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
9905
9906Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
9907
9908 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
9909 (or overriden) "CHILL" macro rather then bare "gcc".
9910 Also look for ../../gcc/xgcc since that is what we will
9911 actually need, not "Makefile". Remove following assignment
9912 of CHILL to CHILL_FOR_TARGET because that results in
9913 recursive definition.
9914
9915Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
9916
9917 * gdb.base/corefile.exp: Change xfail for backtrace in
9918 corefile.exp from linuxaout to all linux.
9919 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
9920 cases where we miss the breakpoint at the signal handler
9921 for some reason. Setup xfail for linuxoldld/linuxaout and
9922 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
9923 hitting SIGURG breakpoint.
9924 * gdb.base/signals.exp: Setup xfail for "next" acting like
9925 continue to add linuxoldld. Setup xfail for all linux for
9926 "next to handler in signals_tests_1", "backtrace in
9927 signals_tests_1", "continue to func1", "pass SIGUSR1",
9928 and continue to handler".
9929
9930Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
9931
9932 * Update all FSF addresses except those in COPYING* files.
9933
9934Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
9935
9936 * gdb.base/a2-run.exp: Change messages to be more explicit about
9937 the status of args, and quote binfile in results.
9938
9939Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
9940
9941 * gdb.base/callfuncs.exp: Add tests for passing structs to
9942 inferior functions and return various types.
9943 * gdb.base/callfuncs.c: Add functions to receive a struct
9944 and return a member of the struct, in various types.
9945
9946Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9947
9948 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
9949
9950Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
9951
9952 * config/vxworks29k.exp: New file, sources vxworks.exp.
9953
9954Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9955
9956 * config/gdbremote.exp: New file. Testing framework using
9957 gdbserver.
9958
9959Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
9960
9961 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
9962 "call function when asleep" and "send end of file".
9963 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
9964 for "backtrace in corefile.exp".
9965 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
9966 for "backtrace through signal handler".
9967 * gdb.base/corefile.exp: Make sure we actually generate a core file
9968 before trying the core tests. Some systems allow the user to suppress
9969 generation of core files and default to that (linux for example).
9970 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
9971 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
9972
9973Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9974
9975 * gdb.threads: New directory with some crude multi-threaded
9976 gdb tests (step.exp and step2.exp).
9977 * config/mt-lynx (STEP_EXECUTABLE): Define.
9978 (THREADFLAGS): Define.
9979
9980Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
9981
9982 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
9983
9984 * gdb.base/signals.exp: Disable whole file for lynx until
9985 further notice.
9986
9987 * gdb.base/signals.exp: xfail test where "next" acts like
9988 "continue" for lynx.
9989
9990 * gdb.base/interrupt.exp: xfail test for calling function while
9991 inferior is asleep for lynx.
9992
9993 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
9994 than one cr-lf after each command.
9995
9996Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9997
9998 * configure.in: Reinstate setting of stabsdirs variable, fix
9999 typo in setting up configdirs for native builds.
10000
10001 * gdb.base/return.exp: Fix typo in return double test.
10002 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
10003 compiler from optimizing them away.
10004
10005Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
10006
10007 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
10008 sequences to be echo'd by gdb when using gdb_test.
10009 * gdb.chill/chexp.exp: Likewise.
10010 * gdb.fortran/exprs.exp: Likewise
10011
10012Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10013
10014 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
10015 after the inferior gdb has started.
10016
10017 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
10018 after each command.
10019 * gdb.base/funcargs.exp: Likewise.
10020 * gdb.base/gdbvars.exp: Likewise.
10021 * gdb.base/interrupt.exp: Likewise.
10022 * gdb.base/list.exp: Likewise.
10023 * gdb.base/watchpoint.exp: Likewise.
10024 * gdb.c++/demangle.exp: Likewise.
10025 * gdb.c++/inherit.exp: Likewise.
10026 * gdb.chill/chexp.exp: Likewise.
10027 * gdb.fortran/exprs.exp: Likewise.
10028
10029 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
10030 test if we can't handle IO to/from the inferior.
10031
10032 * gdb.c++/misc.exp: Always check for a program already being
10033 started after sending a "run" command to gdb.
10034
10035 * gdb.base/twice.exp: Start with a fresh gdb.
10036
10037 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
10038 only depend on gdb's expression code, not the chill runtime.
10039
10040 * gdb.base/return.c: Put return values into variables so we
10041 can have gdb print them rather than depending on the program
10042 to print them.
10043 * gdb.base/return.exp: Corresponding changes.
10044
10045 * lib/gdb.exp: Provide default value for noinferiorio.
10046 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
10047 the inferior.
10048
10049 * gdb.base/break.exp: Always check for a program already being
10050 started after sending a "run" command to gdb.
10051 (text_next_with_recursion): Don't check the output from the
10052 program's printf statement. Instead just make sure the program
10053 exited.
10054
10055 * gdb.base/commands.exp: Protect tests which need arguments with
10056 $noargs conditionals.
10057
10058Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10059
10060 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
10061 of structure member arrays to match gdb/valops.c:value_addr change.
10062
10063Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
10064
10065 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
10066 cases.
10067
10068Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
10069
10070 * configure.in (configdirs): Remove gdb.chill from default list
10071 of subdirs and then add it back in only if doing a native build.
10072 The current chill compiler does not yet work in any cross build.
10073 * Revert all signal changes from Jul 6.
10074 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
10075 for sh-hms targets, allowing these tests to link, with no other
10076 changes. Testing is suppressed by setting "nosignals" in site.exp.
10077
10078Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
10079
10080 * configure.in (signaldirs): Define and add to configdirs for all
10081 targets except some specific ones that are known to not support signals.
10082 Also clean up formatting.
10083 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
10084 (signals, sigall): Remove rules to build.
10085 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
10086 Moved to new gdb.signals directory.
10087 * gdb.signals: New test directory.
10088 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
10089 signals.c signals.exp}: New or moved files.
10090
10091Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
10092
10093 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
10094
10095Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
10096
10097 * gdb.base/return.exp: Xfail `return double' test failure
10098 on at least Solaris 2.3 and handle future/past versions on
10099 a case by case basis as appropriate. Also update message
10100 to include i*86 failures.
10101
10102Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10103
10104 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
10105
10106 * lib/gdb.exp: Fix comment which erroneously identified
10107 gdb_file_cmd as gdb_load (the 19 May change was in fact to
10108 gdb_file_cmd not gdb_load).
10109 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
10110
10111 * gdb.base/setvar.exp: Make test names consistent between pass and
10112 fail cases. Use gdb_test more.
10113
10114Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10115
10116 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
10117
10118Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10119
10120 * gdb.base/help.exp: Fix expected help string for `show commands'.
10121
10122Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
10123
10124 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
10125
10126 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
10127 of a text section.
10128
10129Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
10130
10131 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
10132 that loop eventually terminates. Fix Connection refused logic so
10133 that testsuite will expire nicely.
10134
10135Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
10136
10137 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
10138 config/rom68k.exp: New tcl glue for the appropriate monitors.
10139 These all just end up calling monitor.exp.
10140 * config/monitor.exp (gdb_target_monitor): Handle `Connection
10141 refused' by retrying. Cleanup some timeout issues.
10142 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
10143 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
10144 callers don't have to set/restore global timeout variable.
10145
10146 * The following set of changes centralizes management of the global
10147 timeout variable. This way, it can be set in one target dependent
10148 place instead of dozens of places scattered throughout the test suite.
10149 If you need to lengthen a timeout, then you should either set timeout
10150 in one of the config/{target}.exp files, or multiply it by a factor.
10151 Setting it to an absolute value is always going to lose for some
10152 targets.
10153 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
10154 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
10155 * gdb.base/funcargs.exp: Don't set timeout.
10156 * gdb.base/list.exp (test_forward_search): Only use local timeout.
10157 * gdb.base/printcmds.exp (test_print_string_constants
10158 test_print_array_constants): Don't set timeout.
10159 * gdb.base/ptype.exp: Don't set timeout.
10160 * gdb.base/recurse.exp: Don't set timeout.
10161 * gdb.base/return.exp: Don't set timeout.
10162 * gdb.base/watchpoint.exp: Don't set timeout.
10163 * gdb.c++/classes.exp (do_tests): Don't set timeout.
10164 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
10165
10166Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
10167
10168 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
10169
10170Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10171
10172 * lib/gdb.exp: Disable chill tests for irix5.
10173
10174Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10175
10176 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
10177 each test pass or fail.
10178
10179Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10180
10181 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
10182 xlc not gcc.
10183
10184Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
10185
10186 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
10187
10188Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
10189
10190 * config/est.exp: Fix copyright and comments. Remove dead code.
10191 Use targetname, serialport and baud variables instead of fixed
10192 constants.
10193 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
10194 * config/cpu32bug.exp: New file to support cpu32bug monitors.
10195
10196Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10197
10198 * gdb.base/watchpoint.exp: Don't run
10199 test_watchpoint_triggered_in_syscall for sunos.
10200
10201Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10202
10203 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
10204 they don't seem to exist. Do include stdio.h.
10205
10206Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10207
10208 * gdb.base/a1-selftest.exp: Add alpha xfail.
10209
10210Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10211
10212 * gdb.base/watchpoint.c (main): Prompt before calling read().
10213 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10214 Revise accordingly. Remove cruft about sending "123" several
10215 times, until it gets noticed. Clean up the "print buf[0]" stuff
10216 so that it passes or fails, and waits for prompts in the usual way.
10217
10218Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10219
10220 * gdb.base/recurse.exp: Fix comment.
10221
10222 * TODO: Remove item about printing variables in nodebug.exp. Add
10223 item about enabling tests which are only run on some targets.
10224
10225 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
10226 fail, make test names unique, use new gdb_test convention
10227 regarding pattern, use gdb_test more, etc.).
10228
10229 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
10230 fail, make test names unique, etc.).
10231
10232Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10233
10234 * gdb.base/nodebug.c: Change return type of top and middle to
10235 short.
10236 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
10237 are fixed by the recent mdebugread.c changes. Allow `short ()'
10238 as type for top and middle.
10239
10240Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10241
10242 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
10243 nearly as I can tell, the whole thing was an accident in Stu's
10244 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
10245 to replace a send/expect pair with gdb_test, but ended up only
10246 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
10247 of 30 Mar 1995 took care of it, but left this vestigial comment
10248 which I am now nuking.
10249
10250Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10251
10252 * gdb.base/break.exp: Look for different line number for
10253 breakpoint at main depending on usestubs.
10254
10255Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10256
10257 * gdb.base/list.exp: Adjust some alternate expect patterns to
10258 match recent list0.c change. Add alternate expect pattern for
10259 output from `list default lines around main' for optimizing
10260 compilers.
10261
10262Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10263
10264 * lib/gdb.exp: If nosignals is not set, set it to 0.
10265
10266Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
10267
10268 * config/slite-gdb.exp: Responds to load symbol table prompt.
10269 * gdb.base/break.exp: Adjust line number, fix rerun.
10270 * gdb.base/langs0.c: Add #ifdef usestubs.
10271
10272Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
10273
10274 * gdb.base/list.exp: Adjust line contents after adding new lines in
10275 list0.c. Also fix a syntax error.
10276
10277 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
10278 * gdb.base/break.exp: ditto.
10279 * gdb.base/list.exp: ditto.
10280 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
10281 * gdb.base/run.c: ditto.
10282 * gdb.base/list0.c: ditto.
10283 * gdb.base/funcargs.c: ditto.
10284
10285Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
10286
10287 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
10288 $targetname, $serialport and $baud instead of hardwired variables.
10289 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
10290 target doesn't support signals.
10291
10292Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
10293
10294 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
10295
10296Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10297
10298 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
10299 Don't rely on the value of an auto variable before it has been
10300 initialized. Use gdb_test more.
10301
10302Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10303
10304 * lib/gdb.exp (default_gdb_version): A version number must start
10305 with a digit, but other than that contains all characters up to
10306 the first whitespace character.
10307
10308Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10309
10310 * gdb.base/commands.exp (breakpoint_command_test): New tests.
10311
10312Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10313
10314 * gdb.c++/*.exp: Warn if executable does not exist. The original
10315 reason for skipping the warning was that configure.in sometimes
10316 intentionally skipped building the executables but the tcl code
10317 had no way of knowing. That (a) was always bogus with respect to
10318 error handling, (b) is no longer true (right now there is no way
10319 to skip C++ tests).
10320
10321 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
10322
10323Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10324
10325 * gdb.base/list.exp: Add expect patterns for output from
10326 SunPRO compiled executables.
10327 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
10328 types.
10329
10330Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10331
10332 * gdb.base/break.exp (test_next_with_recursion): Accept any line
10333 number (we are already testing that the correct source line text
10334 gets printed).
10335
10336 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
10337 that is what is intended, but something needed to be done to get
10338 sunos4 native working again.
10339
10340 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
10341
10342 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
10343 apparently went with a (very) old xfail.
10344
10345Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
10346
10347 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
10348 runto_main is a proc in gdb.exp that will do 'step' for target use
10349 stubs.
10350 * gdb.base/exprs.exp: ditto.
10351 * gdb.base/interrupt.exp: ditto.
10352 * gdb.base/opaque.exp: ditto.
10353 * gdb.base/printcmds.exp: ditto.
10354 * gdb.base/ptype.exp: ditto.
10355 * gdb.base/scope.exp: ditto.
10356 * gdb.base/setvar.exp: ditto.
10357 * gdb.base/signals.exp: ditto.
10358 * gdb.base/twice.exp: ditto.
10359 * gdb.c++/classes.exp: ditto.
10360 * gdb.c++/inherit.exp: ditto.
10361 * gdb.c++/templates.exp: ditto.
10362 * gdb.base/break.exp: no run and hit main for stubs. Change line
10363 numbers for breakpoints and info breakpoint.
10364 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
10365 breakpoint().
10366 * gdb.base/callfuncs.c: ditto.
10367 * gdb.base/exprs: ditto.
10368 * gdb.base/interrupt.c: ditto.
10369 * gdb.base/opaque0.c: ditto.
10370 * gdb.base/printcmds.c: ditto.
10371 * gdb.base/ptype.c: ditto.
10372 * gdb.base/scope0.c: ditto.
10373 * gdb.base/setvar.c: ditto.
10374 * gdb.base/signals.c: ditto.
10375 * gdb.base/twice.c: ditto.
10376 * gdb.c++/misc.cc: ditto.
10377 * gdb.c++/templates.cc: ditto.
10378
10379Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10380
10381 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
10382
10383 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
10384 somewhere between `read' and `main.c'. I'm pretty sure the
10385 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
10386 and it isn't particularly useful.
10387
10388 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
10389
10390Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10391
10392 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
10393
10394Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
10395
10396 * config/mt-slite: add LIBS and -nostdlib.
10397 * config/slite-gdb.exp: add this new file to support sparclite target.
10398
10399Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
10400
10401 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
10402
10403 * gdb.base/a2-run.exp: Change argument to istarget from
10404 "*-*-vxworks" to "*-*-vxworks*".
10405 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
10406
10407Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
10408
10409 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
10410 will not runto main but do a 'step' to step out of breakpoint().
10411 * config/mt-slite: add -Dusestubs.
10412
10413Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10414
10415 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
10416 instead of just @.
10417
10418 * gdb.base/signals.exp: Add test for "handle all print".
10419 * TODO: Remove "handle all print". Also remove item about
10420 checking copyright date (I don't like the idea of a spurious FAIL
10421 based on when we run the tests).
10422
10423 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
10424 for SunOS4 (reason for failure not investigated). Remove
10425 redundant test for $binfile.
10426
10427 * gdb.base/nodebug.c (array_index): Call malloc.
10428
10429 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
10430
10431Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
10432
10433 * gdb.base/recurse.exp: Update gdb_test invocation to use new
10434 conventions and slightly simplify the matching regexp.
10435
10436Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10437
10438 * gdb.base/break.exp: Update gdb_test invocation to use new
10439 convention.
10440
10441 * lib/gdb.exp: If noargs is not set, set it to 0.
10442
10443 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
10444 tests unique.
10445
10446 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
10447
10448Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10449
10450 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
10451 one argument of type "<non-float parameter>".
10452
10453Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
10454
10455 * config/rom68k.exp: New file to support Motorola IDP board.
10456 * gdb.base/a2-run.exp: Skip this file if noargs is set.
10457 * gdb.base/break.c: Change things around so that this program
10458 doesn't depend upon args. This is necessary to make remote
10459 targets work (in general, they can't take args).
10460 * gdb.base/break.exp: Don't try to send args to program. Don't
10461 expect output. Also, replace lots of code with gdb_test.
10462
10463Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10464
10465 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
10466 printing of '\'' (which is what the comment says we are testing,
10467 even though we were not), not '''.
10468 (test_integer_literals_rejected): Test that printing ''' is an error.
10469
10470 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10471 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
10472 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
10473 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
10474 Use gdb_test not test_print_accept.
10475 * lib/gdb.exp: Remove test_print_accept.
10476
10477 * gdb.base/signals.exp (signal_tests_1): Make pass message
10478 consistent with fail message.
10479
10480 * gdb.base/whatis.exp: Remove xfails for printing char vs.
10481 unsigned char; the bug (PR 1821) is fixed.
10482
10483 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
10484
10485 * gdb.base/scope.exp (test_at_localscopes): Call pass for
10486 successful tests--makes xfailing them work right.
10487
10488Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10489
10490 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
10491 only \r\n, not .*. The test can pass .* as the last thing in
10492 $pattern if that is what it wants. In addition to providing this
10493 flexibility, this change should speed up pattern matching in cases
10494 where the pattern already ended with .* (there were a number of
10495 them). This change also helps catch bad patterns--in the old
10496 scheme the typo "char \*" instead of "char \\*" would pass. Now
10497 it is caught.
10498 * Many .exp files: Update callers.
10499
10500 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
10501 clearer and does not spuriously match multiple ('s. Likewise for
10502 ) and *.
10503
10504 * gdb.base/nodebug.exp: Test ability to call a function and pass
10505 it a string (even with no debugging info).
10506
10507 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
10508 "p '\'", which is the same as "p ''" once tcl gets done with
10509 quoting, to "p '\\'", which I suspect is what is intended (one
10510 backslash gets sent to GDB).
10511
10512 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
10513
10514Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10515
10516 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
10517 1817) was fixed literally years ago.
10518
10519Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10520
10521 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
10522 test, it causes stepping out of call_after_alloca_subr with
10523 optimizing compilers.
10524 (localvars_in_indirect_call): Consume GDB prompt if `finish'
10525 fails.
10526
10527 * gdb.c++/templates.exp: Source templ-info.exp only if
10528 the templates executable exists.
10529
10530 * gdb.c++/misc.cc (class Contains_static_instance,
10531 class Contains_nested_static_instance),
10532 gdb.c++/classes.exp (test_static_members): Test printing of
10533 a class that contains a static instance of the class.
10534
10535Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10536
10537 * gdb.base/langs2.c (cppsub_): Don't prototype.
10538 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
10539 only, I believe).
10540
10541Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10542
10543 * lib/gdb.exp (skip_chill_tests): New procedure.
10544
10545 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
10546
10547Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
10548
10549 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
10550 each expect pattern. Cuts runtime from 12 to about 4 seconds.
10551
10552Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10553
10554 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
10555
10556 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
10557 disassemble 8, not 16, instructions for part 4.
10558
10559 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
10560 support the latter anymore.
10561
10562 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
10563 -DNO_PROTOTYPES.
10564 * gdb.base/callfuncs.c: Control use of prototypes based on
10565 NO_PROTOTYPES, not __STDC__.
10566 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
10567 t_float_values2 tests if prototypes in use.
10568
10569 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
10570 t_double_values): When checking differences against DELTA, check
10571 that difference is within the range (-DELTA,DELTA), not just
10572 (-infinity,DELTA).
10573
10574Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
10575
10576 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
10577 'file' command firts, then 'target', then 'load', this is due to gdb
10578 target set up.
10579 * config/mips-gdb.exp: Fix a couple regular exp bugs.
10580
10581Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
10582
10583 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
10584 FP load/store variants.
10585 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
10586
10587Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
10588
10589 * gdb.base/term.exp: Do not give a warning if not native, it is
10590 not an abnormal condition.
10591
10592Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
10593
10594 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
10595 t_char_array".
10596
10597Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
10598
10599 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
10600 are getting the version number.
10601
10602 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
10603 if not native, it is not an abnormal condition.
10604
10605Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10606
10607 * lib/gdb.exp: Just use "file exists", rather than undocumented
10608 dejagnu procedure "findfile".
10609
10610Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10611
10612 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
10613 (LDFLAGS): Set to -Xlinker -Ur.
10614
10615 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
10616 Removed, these values are set by lib/gdb.exp.
10617
10618 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
10619
10620Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10621
10622 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
10623 of replicating gdb startup code.
10624
10625 * config/mt-vxworks (LDFLAGS): Set to -r.
10626 (CFLAGS_FOR_TARGET): Removed.
10627
10628 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
10629 (gdb) and gdb for vxworks uses (vxgdb).
10630
10631 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
10632 executable is not in the tree and host != target, use sed and
10633 program_transform_name to determine the gdb name used by the
10634 target.
10635
10636 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
10637 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
10638
10639Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10640
10641 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
10642 floats, chars, and shorts where there are ANSI-style function
10643 definitions.
10644
10645 * gdb.base/langs.exp, gdb.base/langs*: New test.
10646 * gdb.base/Makefile.in: Build it.
10647 * TODO: Remove item about checking that C names don't get C++
10648 demangling applied; this test tests it.
10649
10650Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10651
10652 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
10653 went with the const70 xfail. The xfail went away a year ago.
10654
10655 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
10656
10657 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
10658 for hp300.
10659
10660 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
10661
10662 * gdb.base/a1-selftest.exp: Don't run on hp300.
10663
10664Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10665
10666 * Makefile.in (site.exp): Set host_alias and target_alias as well
10667 as host_triplet and target_triplet.
10668
10669Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10670
10671 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
10672
10673 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
10674 places as other ecoff systems).
10675
10676 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
10677 ultrix.
10678
10679Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10680
10681 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
10682 remove them.
10683 * gdb.base/nodebug.exp: Accept "function" in addition to "text
10684 variable and "variable" in addition to "data variable".
10685 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
10686
10687 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
10688 2.
10689 * gdb.base/list1.c (long_line): Add additional statement at start
10690 of function.
10691 * gdb.base/list.exp (test_forward_search): Update line number to
10692 reflect new statement.
10693
10694Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10695
10696 * gdb.base/signals.exp: Reinitialize searched source directories
10697 after gdb_start call.
10698
10699Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
10700
10701 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
10702 * gdb.stabs/Makefile.in: Likewise.
10703
10704 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
10705 change. Instead split the tests into smaller pieces.
10706 * gdb.disasm/hppa.s: Corresponding changes.
10707
10708Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10709
10710 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10711 Quote ^C when passing it to stty. For some shells ^ is a pipe.
10712
10713 * gdb.base/funcargs.exp: Modify many tests so that every test
10714 either passes or fails. Make some test names unique.
10715
10716Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10717
10718 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10719 Call stty to set interrupt character.
10720
10721 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
10722 for HP assembler versus GNU assembler based on actual behavior of
10723 $(CC), rather than assuming that $(AS) is always the GNU assembler.
10724
10725 * TODO: Suggest a few more stepping tests.
10726
10727Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
10728
10729 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
10730 restart GDB for h8300 after a continue.
10731 (return): Add pattern to match a29k-udi behavior.
10732 * gdb.base/nodebug.exp: Remove obsolete comment.
10733 * gdb.base/regs.exp: New file, testing of register displays.
10734 * gdb.base/return.exp: Fix typo in reference to $objdir.
10735 * gdb.base/whatis.exp: Always start with a fresh GDB.
10736
10737Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10738
10739 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
10740 higher, these tests generate a lot of output.
10741
10742Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10743
10744 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
10745 code following the catch silently ignored some errors; without the
10746 catch they should be thrown like any other tcl error. Also, the
10747 catch used "" instead of {} which meant all the callers who wanted
10748 to include one of the characters "[]$ had to quote it an extra time.
10749 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
10750 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
10751 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
10752 Remove extra quoting.
10753
10754Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
10755
10756 * gdb.base/commands.exp: Make test names unique; every test either
10757 passes or fails. Update some comments.
10758
10759 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
10760
10761Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10762
10763 The following fixes a FAIL caused by the fact that the alpha stabs
10764 configuration didn't use the ".if alpha" code in weird.def.
10765 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
10766 bit pointer, so the 32 bit version works even on the alpha.
10767 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
10768 Remove the stuff which allowed us to have separate versions for
10769 alpha and everything else.
10770
10771 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
10772 regexp which "info func operator\[\](" is supposed to match. Fix
10773 string to send to GDB. Note that GDB still doesn't work right. Add a
10774 new test for "info func .perator\[\](" which GDB does handle correctly.
10775
10776 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
10777
10778Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10779
10780 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
10781 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
10782 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
10783 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
10784 it makes the tests harder to understand and confuses test-o-matic.
10785 The preferred style is that each test provides a PASS or a FAIL,
10786 and has a unique message (e.g. "continue #54" not just "continue")
10787 which is the same for the pass and the fail.
10788 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10789 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
10790 to lib/gdb.exp.
10791 * gdb.base/printcmds.exp: Use test_print_accept. Remove
10792 prt_accept which was basically the same thing. Likewise for
10793 test_print_reject and prt_reject.
10794 * lib/gdb.exp (test_print_reject): Add some more error message
10795 patterns to match from the former printcmds.exp (prt_reject).
10796 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
10797 One defect of the passcount stuff is that some of it failed to
10798 report XPASS where appropriate.
10799 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
10800 stuff before and after arg in expected pattern.
10801 (test_paddr_operator_functions): Re-do test without print_addr_of;
10802 this is the only test which seems to want extra stuff there.
10803
10804Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10805
10806 * gdb.base/nodebug.exp: Update new tests to reflect improved
10807 wording of gdb output.
10808
10809 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
10810 and "ptype" work on variables in files compiled without -g.
10811 Replaces commented out "maint print msymbol" tests.
10812
10813Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10814
10815 * gdb.base/setvar.c (dummy): Call malloc.
10816
10817 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
10818 losing with the irix4 sed.
10819
10820 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
10821 ALRM" on irix4.
10822
10823Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10824
10825 * TODO: Remove items about corefile.exp testing new exec-file and
10826 backtrace; both are now done. Add items about printing enums.
10827
10828Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10829
10830 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
10831 "get signal $thissig" test fails.
10832
10833 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
10834
10835Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10836
10837 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
10838 compiler warning with dec alpha compiler.
10839
10840 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
10841 extra \n from gdb_test call (this explains why the prompt test
10842 that I removed yesterday was there).
10843 (user_defined_command_test): Remove extra \n and prompt test.
10844
10845 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
10846 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
10847 doesn't exist.
10848 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
10849 Also remove alpha workaround, which turns out to be because
10850 SIGABRT == SIGLOST.
10851
10852 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
10853
10854 * gdb.base/help.exp: Don't test "help show".
10855
10856Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10857
10858 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
10859 "set print address" is on.
10860 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
10861 pass prompt to gdb_test; gdb_test already looks for the prompt.
10862
10863 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
10864
10865 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
10866 was a vestige of the manual TESTSTRATEGY, and the purpose of it
10867 was to make sure that gdb can read a core file. But (a) the "read
10868 the corefile" part didn't make it to a1-selftest.exp, we just
10869 delete the corefile after creating it, and (b) we test reading
10870 corefiles in corefile.exp anyway. Also, this test left around a
10871 xgdb process on Solaris.
10872
10873 * gdb.base/corefile.exp: Also test backtrace.
10874
10875Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
10876
10877 * gdb.base/commands.exp: Test a simple user defined command with
10878 arguments and if/while statements; verify the full user command is
10879 printed by "show user".
10880
10881 * gdb.base/commands.exp: Test if/while commands as part of a
10882 breakpoint command list; verify they appear in breakpoint
10883 information.
10884
10885Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10886
10887 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
10888 than by dividing by zero.
10889
10890Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
10891
10892 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
10893 performing an inferior call with watchpoints enabled.
10894 * gdb.base/watchpoint.c (main): Delete second unnecessary read
10895 call.
10896
10897Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10898
10899 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
10900 of "file" command.
10901
10902 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
10903 Add additional pattern for when "int operator int(void);" appears
10904 in a different order.
10905
10906Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10907
10908 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
10909
10910 * gdb.base/help.exp: Replace most of docstrings for "info signals"
10911 and "signal" with ".*".
10912
10913Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10914
10915 * TODO: Add note about "handle all nostop".
10916
10917 * gdb.base/{sigall.c, sigall.exp}: New test.
10918 * gdb.base/Makefile.in: Add it.
10919
10920Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
10921
10922 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
10923 when invoking GDB, suppresses any windowing interface.
10924
10925Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
10926
10927 * config/sim-gdb: New file, simulator testing support.
10928
10929Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
10930
10931 * gdb.base/interrupt.exp: Test calling func1 twice.
10932
10933Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
10934
10935 * gdb.base/list.exp (test_forward_search): Set timeout higher
10936 when we'll be getting lots of output from gdb.
10937
10938 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
10939 "init_malloc" to after the expect statement. Run it if that
10940 regexp is taken, but also for two others which happen if source
10941 cannot be found.
10942
10943Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10944
10945 * gdb.base/printcmds.exp: New test, for printing register before
10946 program is running.
10947
10948Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10949
10950 * gdb.base/list.exp: Correct some alternate expect patterns
10951 to reflect changes in list1.c.
10952
10953Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10954
10955 * TODO: Add item regarding large frames.
10956
10957 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
10958
10959 * TODO: Remove item about enabling return.exp; it
10960 is enabled. Suggest a few more "return" tests.
10961
10962Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10963
10964 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
10965 anonymous unions.
10966
10967Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10968
10969 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
10970 and pr-5646.o, so "make" is the same as "make all", not "make
10971 pr-4975.o".
10972
10973Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
10974
10975 * gdb.base/list.exp: Adjust expectations to reflect changes in
10976 list1.c.
10977 (test_forward_search): New test proc.
10978 * gdb.base/list1.c (long_line): New function, has long source line.
10979
10980Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
10981
10982 * gdb.base/a1-selftest.exp: Change initial stepping to know about
10983 additional line of code that was added.
10984
10985Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
10986
10987 * gdb.disasm/hppa.s: Break the large branching tests into smaller
10988 tests so as not to overflow expect's input buffers.
10989 * gdb.disasm/hppa.exp: Corresponding changes.
10990
10991Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10992
10993 Beginnings of template debugging tests.
10994 * gdb.c++/templ-info.cc: New file to test for template
10995 debugging capability of the compiler.
10996 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
10997 templ-info.cc.
10998 * gdb.c++/templates.cc: Add explicit template instantiations
10999 to enable compiling with -fno-implicit-templates. Add destructor
11000 and 'value' method to T5 class for template tests.
11001 * gdb.c++/templates.exp: Add testcases for printing of template
11002 types, setting breakpoints on template methods and calling a
d63a86f8 11003 template method.
c906108c
SS
11004
11005Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
11006
11007 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
11008 branch target since some assemblers (gas-2.5) may emit a
11009 relocation for the branch instead of resolving it in the
11010 assembler.
11011
11012Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11013
11014 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
11015 through signal handler.
11016
11017Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11018
11019 * configure.in (*-*-netware): Use config/mt-netware.
11020
11021 * config/mt-netware: New file.
11022 * config/mt-i386-netware: Removed, separate configs for different
11023 netware architectures are no longer needed now that we have
11024 --with-headers.
11025
11026Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11027
11028 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
11029 by the recent changes to use ANSI C arithmetic conversions.
11030
11031Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11032
11033 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
11034 bug involving using inferior_pid to figure out whether to select a
11035 frame.
11036
11037Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
11038
11039 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
11040 match the current disassembler output.
11041
11042Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
11043
11044 * gdb.fortran/exprs.exp: Expect VOID instead of void.
11045 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
11046 types, expect "int" as type of integer values (for now).
11047
11048Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
11049
11050 * gdb.base/commands.exp: New tests for if/while commands.
11051
11052Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
11053
11054 * lib/gdb.exp (runto): Replace sub-pattern for hex value
11055 by .*, since hex values have different syntax in Chill mode.
11056
11057Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11058
11059 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
11060 linefeed from expect pattern for repeated types with indices > 9.
11061
11062Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
11063
11064 First part of Fortran test suite.
11065 * gdb.fortran: New directory.
11066 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
11067
11068Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11069
11070 * gdb.base/default.exp: Update expect pattern for load command
11071 without arguments.
11072
11073Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11074
11075 * configure.in: Change i386 to i[345]86.
11076 * gdb.base/configure.in: Likewise.
11077 * gdb.c++/configure.in: Likewise.
11078 * gdb.chill/configure.in: Likewise.
11079
11080Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
11081
11082 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
11083 patterns, since that is not a valid context for comments.
11084
11085Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
11086
11087 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
11088 repeated types and repeated types with indices > 9.
11089
11090Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
11091
11092 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
11093 2417; old bug has been fixed.
11094
11095Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
11096
11097 * gdb.base/interrupt.exp: When trying to wake up the inferior,
11098 send the newline ourselves instead of assuming gdb_test will do
11099 so when passed an empty input string.
11100
11101 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
11102 stabs testcode.
11103
11104Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11105
11106 * lib/gdb.exp (gdb_test): Don't send anything if the first
11107 argument is an empty string. This makes cases where we want to
11108 match output that is already in expect's buffers (for example,
11109 matching a breakpoint after gdb_run_cmd has been called) work
11110 reliably.
11111
11112Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11113
11114 * config/netware.exp: New file.
11115
11116Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11117
11118 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
11119 the -B and -L prefixes so we can find the debugging stub.
11120
11121 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
11122 there and we are using the gcc from the tree.
11123
11124 * gdb.base/types.c: Removed.
11125
11126 * gdb.base/configure.in: Look for makefile fragments in ../config.
11127 Recognize i386-*-netware.
11128 * gdb.c++/configure.in: Likewise.
11129
11130Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11131
11132 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
11133 the correct TCL syntax.
11134
11135Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11136
11137 * gdb.base/opaque.exp: use runto instead of messing around with
11138 breakpoints. Simplify by using gdb_test.
11139
11140 * gdb.base/bitfields.exp: restart between tests on netware targets
11141 because breakpoints aren't relocated after target death. Run
11142 processes to completion.
11143
11144 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
11145
11146Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
11147
11148 * Makefile.in: Remove extra tabs that confuse some versions
11149 of "make". Use the newly built gdb to test with by default,
11150 rather than the first one in the tester's search path.
11151
11152Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
11153
11154 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
11155
11156 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
11157 condition help.
11158
11159Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11160
11161 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
11162
11163 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
11164 running.
11165 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
11166 * gdb.base/funcargs.exp: Likewise.
11167
11168 * gdb.base/bitfields.exp: Simplify by using gdb_test.
11169 * gdb.base/funcargs.exp: Likewise.
11170
11171 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
11172 message is "".
11173
11174Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11175
11176 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
11177 return,signals,twice}.exp: Handle non-existant binaries
11178 consistantly.
11179
11180 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
11181 * gdb.base/Makefile.in: Don't try to generate a core dump, we
11182 might testing a cross development system.
11183
11184Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11185
11186 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
11187 runtest script is relative to ${srcdir}, not ${rootdir}.
11188
11189Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
11190
11191 * gdb.base/signals.exp: Allow for optionality of breakpoint
11192 address.
11193
11194Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11195
11196 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
11197
11198Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11199
11200 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
11201 for size_t definition.
11202 * gdb.c++/templates.cc: Likewise
11203
11204 * config/mt-i386-netware: New file.
11205
11206 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
11207 defined.
11208
11209 * gdb.base/Makefile.in: Added support for systems that name core
11210 files by appending "core" to the program name.
11211 * gdb.base/a1-selftest.exp: Likewise.
11212
11213Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11214
11215 * gdb.base/return.exp: Add comment and message for `return double'
11216 test failure on Sparc Solaris.
11217
11218Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
11219
11220 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
11221
11222Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11223
11224 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
11225 from optimizing them away.
11226 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
11227 patterns to include default constructors and assignment operators,
11228 to match gcc versions beyond 2.5.8. Accept any cplus demangling
11229 character in the output of the virtual base pointer.
11230
11231Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11232
11233 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
11234 expression match in print_addr_of to avoid unintented matches.
11235 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
11236 versions up to 2.5.8.
11237
11238Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11239
11240 * gdb.base/list.exp: Tweak alternate pattern for listing of an
11241 included file to run under newer versions of expect.
11242 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
11243 consecutive >'s in templates to accomodate recent cplus-dem.c change.
11244 Remove xfail for the virtual table of BDDHookV.
11245
11246Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
11247
11248 * lib/gdb.exp (string_to_regexp): Set a default result.
11249 (default_gdb_start): Fix misleading message.
11250
11251Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
11252
11253 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
11254 Remove all CC, etc definitions.
11255 * config/mt-hpux: New file.
11256 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
11257 (CFLAGS, LDFLAGS): Define.
11258 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
11259
11260 * Makefile.in (site.exp): Don't insert host_os, etc.
11261 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
11262 (distclean): Check existence of subdir.
11263 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
11264 * gdb.base/Makefile.in: General cleanup and simplification.
11265 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11266 to build executables. Use default rule to build .o files.
11267 (EXPECT, RUNTEST, CC): Fix relative pathname.
11268 (site.exp): Don't insert host_os, etc.
11269 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
11270 and/or SIGUSR1 defined.
11271 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
11272 * gdb.c++/Makefile.in: General cleanup and simplification.
11273 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11274 (CFLAGS): Remove.
11275 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
11276
11277Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
11278
11279 * gdb.base/recurse.exp: Misc changes to get tests running again
11280 after Kung's changes to the watchpoint code.
11281 * gdb.base/watchpoint.exp: Likewise.
11282
11283Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
11284
11285 * lib/gdb.exp (string_to_regexp): Convert {\} also.
11286
11287Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
11288
11289 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
11290 * lib/gdb.exp (default_gdb_start): Define.
11291 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
11292 gdb.base/funcargs.exp, gdb.base/opaque.exp,
11293 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
11294 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
11295 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
11296 Don't call gdb_target_udi in between tests.
11297
11298Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11299
11300 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
11301 (which was basically just a local version of the same thing). In
11302 addition to avoiding duplication, gdb_test_exact is faster.
11303 * lib/gdb.exp (gdb_test_exact): Fix typo.
11304
11305 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
11306 don't give an error.
11307
11308 * gdb.base/term.exp: Call delete_breakpoints before starting.
11309
11310 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
11311 (t10): Add comment.
11312
11313Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11314
11315 Reorganization of the GDB Test Suite.
11316
11317 * gdb.base: New directory, contains all the basic tests.
11318 * gdb.c++: New directory, tests specific to C++.
11319 * gdb.chill: New directory, tests specific to Chill.
11320 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
11321 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
11322 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
11323 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
11324 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
11325 t30-31 to chill).
11326 * */gdbme.*: Rename to match appropriate expect scripts.
11327 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
11328 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
11329 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
11330 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
11331 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
11332 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
11333 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
11334 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
11335 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
11336 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
11337 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
11338 gdb.c++/virtfunc.cc: New names of C++ files.
11339 * gdb.chill/chillvars.ch: New name of Chill file.
11340 * gdb.base/configure.in, gdb.c++/configure.in,
11341 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
11342 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
11343 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
11344 * configure.in (configdirs): Update to reflect directory changes.
11345 (target_abbrev): No longer define for any configuration.
11346 * Makefile.in: Cosmetic improvements to header comments.
11347
11348Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
11349
11350 Various changes to gdb.t31:
11351
11352 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
11353 * gdbme.ch: Make all key-words and predefineds be upper-case.
11354 * chillvars.exp: Expect key-words and predefinds in upper-case.
11355
11356 * chillvars.exp: Use gdb_test_exact many places.
11357 Change expected output for arrays (which now includes index labels).
11358
11359 * pr-5020.exp, gdme.ch (module PR_5020):
11360 New test, for PR-5020.
11361
11362Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
11363
11364 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
11365 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
11366
11367Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
11368
11369 * Makefile.in: Fix bit-rot in definitions of CHILL,
11370 CHILL_FOR_TARGET and Chill_LIB.
11371 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
11372 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
11373 CHILL, and CHILL_LIB.
11374
11375Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
11376
11377 * Revert the previous changes. Please see Rob's directory
11378 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
11379
11380Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
11381
11382 * Makefile.in, configure.in, config/mips-gdb.exp,
11383 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
11384 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
11385 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
11386 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
11387 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
11388 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
11389 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
11390 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
11391 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
11392 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
11393 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
11394 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
11395 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
11396 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
11397 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
11398 changes from 94Q1.
11399
11400Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
11401
11402 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
11403 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
11404 Rob's new testing fragments.
11405
11406Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
11407
11408 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
11409 lib/gdb.exp: Replace error proc calls with perror.
11410
11411Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11412
11413 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
11414 version also, match on casted version strings, and match on
11415 gdb startup case where the line numbers might be messed up.
11416
11417Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
11418
11419 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
11420 (CFLAGS): Delete it from here.
11421
11422Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
11423
11424 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
11425
11426Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
11427
11428 * Makefile.in (RUNTEST): Default to just "runtest".
11429
11430Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11431
11432 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
11433 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
11434 the code has been restructured.
11435
11436Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11437
11438 * gdb.t00/default.exp (set write): Allow any number of \r and/or
11439 \n, not just one of each.
11440
11441 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
11442 /bin/cc gives a warning if you do.
11443
11444Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
11445
d63a86f8 11446 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
11447 __t10ListS_link1ZUiRCUiPT0
11448
11449Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11450
11451 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
11452 on local variables in recursive functions.
11453
11454 * gdb.t07/Makefile.in: Build the new test.
11455
11456Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11457
11458 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
11459 directly. Instead compare the return values from actual calls.
11460
11461Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
11462
11463 * Makefile.in (check): Set TCL_LIBRARY for runtest.
11464
11465Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11466
11467 * From Peter Schauer with minor modifications.
11468 * gdb.t15/return.exp (return_tests): Handle targets where "return"
11469 stops in mid-line in the caller. Add xfail for returning a float
11470 value on X86 targets.
11471
11472Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11473
11474 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
11475 to avoid expect lossage.
11476 (fmem_LRbug_tests): Likewise.
11477 * gdb.disasm/hppa.s: Corresponding changes.
11478
11479 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
11480 conditions to work with latest dejagnu/expect.
11481
11482 * gdb.t15/funcargs.exp (finish from indirect call): No longer
11483 expected to fail on the PA.
11484 (backtrace in call with trampolines): Explicitly require main
11485 to be frame #1 (no trampolines should show up in backtrace).
11486
11487 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
11488 "continue -expect".
11489 * gdb.t06/break.exp: Likewise.
11490 * gdb.t07/watchpoint.exp: Likewise.
11491 * gdb.t13/bitfields.exp: Likewise.
11492 * gdb.t15/{funcargs,return}.exp: Likewise.
11493 * gdb.stabs/weird.exp: Likewise.
11494 * config/{mips,udi}-gdb.exp: Likewise.
11495
11496 * hppa.sed: Enclose comments within a sed command to avoid
11497 losing with the old OSF1 sed.
11498
11499Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11500
11501 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
11502 sequent dynix.
11503 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
11504 * gdb.t15/funcargs.exp: Conditionally step again to really
11505 finish from marker_call_with_trampolines. Handle the case where
11506 the first step from within call_with_trampolines already steps
11507 us back to main.
11508 * gdb.t15/gdbme.c: Add comment to closing brace of
11509 call_with_trampolines for funcargs.exp.
11510
11511Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11512
d63a86f8 11513 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
11514 Fix typo(s).
11515
11516Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11517
11518 * gdb.t07/gdbme.c: More code for watchpoint testing.
11519
11520 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
11521 "Hardware watchpoint" throughout file.
11522 (test_watchpoint_triggered_in_syscall): New test.
11523 (test_complex_watchpoint): New test.
11524
11525Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11526
11527 * gdbme.c (call_with_trampolines): New function to try and step
11528 into. Tests trampoline problems on the PA.
11529
11530 * funcargs.exp (localvars_in_indirect_call): No longer expect
11531 stepping into indirect call to fail on PAs.
11532 (test_stepping_over_trampolines): New test.
11533
11534Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11535
11536 * TODO: Add suggestions for static member function tests, and
11537 completion tests.
11538
11539Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11540
11541 * TODO: Add suggestions for "p/a" tests.
11542
11543 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
11544 (default_gdb_exit): Replace all the hair with sending "quit" to
11545 the process with a simple close.
11546
11547Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11548
11549 * TODO: Add suggestions for shared library tests.
11550
11551Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11552
11553 * TODO: Add suggestions for x/s tests.
11554
11555Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11556
11557 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
11558 "enable once", and "enable breakpoints once" with ".*".
11559
11560Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11561
11562 * TODO: Add suggestions about structure passing tests.
11563
11564Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11565
11566 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
11567 the primary1 test, use work around if __GNUC__ < 2.
11568 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
11569 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
11570 Test for bad output rather than waiting for timeout. Issue
11571 second continue only if first continue failed.
11572
11573Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11574
11575 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
11576 operator[] test with gdb_test because the old code didn't seem to
11577 be getting the quoting right with the new dejagnu.
11578
11579Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
11580
11581 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
11582 one from the path.
11583 * Makefile.in: Use a fresh expect if there is one, use runtest
11584 from the src tree if there is one.
d63a86f8 11585
c906108c
SS
11586Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11587
11588 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
11589 next over recursive call. Revise the tests from that point on
11590 (which had been skipped) to match GDB's actual (correct) output.
11591
11592 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
11593 with next over a breakpoint whose condition is false.
11594
11595 * gdb.t00/help.exp: Comment out "help set print" tests just like
11596 (and for same reason as) "help set" test.
11597
11598Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11599
11600 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
11601 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
11602
11603Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11604
11605 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
11606 necessary gdb_target_udi.
11607
11608 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
11609
11610 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
11611 1838 and 2417; they are fixed.
11612
11613 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
11614 gdb.t03/ptype.exp (ptype structure, ptype union):
11615 Remove xfails; the test is looser than when the xfails were added.
11616
11617 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
11618 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
11619
11620 * gdb.t01/run.exp: Only run shell test if isnative.
11621
11622 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
11623 since "run" automatically loads if necessary. Call gdb_target_udi
11624 after the "file" since "file" kills any execution target.
11625
11626 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
11627 GDB. GDB doesn't work that way (not anymore at least) on UDI.
11628 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
11629 argument for UDI.
11630
11631Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11632
11633 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
11634
11635 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
11636
11637Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11638
11639 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
11640 properly quoting regexps. This makes the second argument to
11641 demangle a fixed string, which matches the callers, instead of a
11642 shell-style pattern which is what the previous implementation
11643 used. Update some of the callers.
11644
11645Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11646
11647 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
11648 (comib_nullified_tests): Fix typo.
11649 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
11650 strings. No longer expected to fail.
11651
11652 * gdb.disasm/hppa.s (addib_tests): Fix typo.
11653 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
11654 strings. No longer expected to fail.
11655
11656 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
11657 string. No longer expected to fail.
11658
11659Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11660
11661 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
11662 No longer expected to fail.
11663
11664 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
11665 string. No longer expected to fail.
11666
11667Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11668
11669 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
11670 only in the names (I probably got most of them). I was even
11671 generous with some which differed in underscores in names, and
11672 probably missed a few, and I *still* was able to remove almost a
11673 third of the file with almost no impact on testsuite coverage.
11674
11675Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11676
11677 * gdb.t00/default.exp: Match udi_attach error message as well as
11678 the one from child_attach.
11679
11680 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
11681
11682 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
11683
11684 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
11685 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
11686
11687 * Move test with enums and partial symbols back to
11688 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
11689 Reverts the change of 26 May 93. Per today's change to
11690 stabs.texinfo, the behavior that weird.exp was expecting was
11691 unreasonable; what is important is that the compiler+gdb get
11692 things right, which happens with a recent gcc. Also fix the test
11693 to deal with native compilers which put out the stab gdb can't
11694 deal with.
11695
11696Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11697
11698 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
11699 in the names. The main thing these accomplish is to slow things down.
11700 Many more such duplicates surely remain.
11701
11702 * gdb.t00/help.exp: Comment out "help support" test just like
11703 (and for same reason as) "help set" test.
11704
11705Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
11706
11707 * gdb.t06/break.exp: Remove setup_xfails for
11708 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
11709 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
11710 about known bug in gcc to include up through 2.5.8.
11711 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
11712 well as "_vb$".
11713 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
11714 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
11715 with latest gcc and gdb.
11716 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
11717 well as "_vb$".
11718
11719Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11720
11721 * configure.in (hppa*-*-*): Also configure and build stabs-only
11722 tests.
11723
11724Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11725
11726 * gdb.t10/hppa.mt: A makefile fragment for the PA.
11727 * gdb.t10/configure.in (hppa*-*-*): Use it.
11728
11729Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11730
11731 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
11732
11733Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11734
11735 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
11736 versions prior to 1.13.5.
11737
11738Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11739
11740 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
11741 the prompt is at the start of a line.
11742
11743Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11744
11745 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
11746 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
11747 in the copr tests now.
11748 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
11749 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
11750 expected to fail.
11751
11752Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
11753
11754 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
11755 gdb.t31/chillvars.exp, lib/gdb.exp:
11756 Tweak to run under either version of expect.
11757 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
11758 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
11759 * gdb.t11/list.exp: Remove extraneous whitespace.
11760
11761Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11762
11763 * gdb.t16/printcmds.exp (test_print_strings): Accept
11764 "(unsigned char *) " before the string.
11765
11766 * TODO: Add notes about printing of fancy types and GDB expressions.
11767
11768Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
11769
11770 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
11771 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 11772 if doing mips-idt-ecoff.
c906108c
SS
11773
11774Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
11775
11776 * Most .exp files: Tweak to run under either version of expect.
11777
11778Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11779
11780 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
11781 xfails; I'm not sure why they are failing, but not because of PR 1806.
11782
11783Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
11784
11785 * config/unix-gdb.exp: Remove gdb_unload cause it's already
11786 defined in lib/gdb.exp.
11787
11788Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11789
11790 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
11791 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
11792 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
11793 have to be typeless.
11794
11795Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11796
11797 * TODO: Add suggestion for copyright year test.
11798
11799Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
11800
11801 * configure.in (*-*-lynxos*): Add stabs tests.
11802
11803Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
11804
11805 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
11806 so insert a tab before any assembler directive in column zero.
11807
11808 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
11809 stores.
11810 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
11811 stores.
11812 (fpu_short_memory_tests): Likewise.
11813
11814Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11815
11816 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
11817 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
11818 .stabs directives in comments.
11819
11820Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11821
11822 * TODO: New file, describing tests we could write.
11823 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
11824
11825Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11826
11827 * gdb.t06/signals.exp: Add kludge to force re-sync.
11828
11829 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
11830 to xgdb instead of gdb, get out of gdb.
11831
11832Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
11833
11834 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
11835 for info.
11836
11837Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
11838
11839 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
11840 * gdb.stabs/configure.in (hppa*-*-*): Use it.
11841 * gdb.stabs/hppa.sed: New sed script for the PA.
11842
11843Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11844
11845 * gdb.stabs: Re-write weird.def and configuration to use sed
11846 instead of cpp. sed is portable and POSIX; cpp is neither.
11847
11848Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11849
11850 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
11851
11852Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11853
11854 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
11855
11856Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11857
11858 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
11859 "_vb$".
11860 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
11861 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
11862
11863Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11864
11865 * lib/gdb.exp: Comment out code which depends on non-existent
11866 `transform' procedure.
11867
11868Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
11869
11870 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
11871 * lib/gdb.exp: Transform tool name.
11872 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
11873 1.1's new error handling system.
11874
11875Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11876
11877 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
11878
11879Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11880
11881 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
11882 They made pattern matching so slow that timeouts happened on
11883 heavily loaded systems. Now any output from "show print" which
11884 gets us back to the GDB prompt is a PASS.
11885
11886Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
11887
11888 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
11889
11890Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11891
11892 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
11893
11894 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
11895 It is not from PR 3220.
11896
11897Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11898
11899 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
11900 just started failing because they depended on the order the
11901 subcommands are presented, or exact docstring text. This kind of
11902 test is a pain and has minimal benefit.
11903
11904Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11905
11906 * gdb.t09/corefile.exp: At end of test, use "core" command with
11907 no arguments.
11908
11909Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
11910
11911 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
11912 17}/Makefile.in: Make it possible to run the testsuite with Sun
11913 make and CC = cross gcc by adding explicit build rules for .o
11914 files.
11915
11916Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11917
11918 * gdb.t15/funcargs.exp: Don't put comments on same line as
11919 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 11920
c906108c
SS
11921Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11922
11923 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
11924
11925Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
11926
11927 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
11928 * gdb.t20/inherit.exp: remove three dumplicate entries.
11929
11930Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11931
11932 * gdb.t06/break.exp: For "next over recursive call", fail on any
11933 incorrect output, not just on "factorial (value=2)".
11934
11935Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11936
11937 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
11938 working now. Add an xfail if accesing a bss variable causes
11939 a memory error if the target is not yet run.
11940
11941Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11942
11943 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
11944 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
11945 name of __st* demangling (2 strings). Did Kung really get the
11946 more than 95 others right without testing them?
11947
11948Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
11949
11950 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
11951
11952Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
11953
11954 * configure.in (configdirs): Add gdb.disasm
11955 * gdb.disasm: New directory for GDB disassembler tests.
11956 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
11957
11958Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11959
11960 * gdb.t00/help.exp: Don't test "help set".
11961
11962 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
11963 from within expect statements. None of these happen anymore and
11964 they cause regressions to be silently unnoticed.
11965
11966 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
11967 messages) about known failures with gcc cygnus-2.4.5-930417.
11968
11969 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
11970 comp-info.exp so it gets built if it doesn't exist.
11971
11972 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
11973 it is no longer used.
11974 * gdb.t13/comp-info.c: Removed.
11975
11976Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
11977
11978 * gdb.t06/signals.exp: Add xfail for sun3.
11979
11980Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11981
11982 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
11983 relevant because ^C doesn't get sent but failure can be reproduced
11984 interactively).
11985
11986Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11987
11988 * gdb.stabs/alpha.mt: New configuration file for alpha.
11989 * gdb.stabs/configure.in: Use it.
11990 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
11991 sharing with alpha.mt, redefine long to word via preprocessor.
11992 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
11993 for alpha.
11994 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
11995 native cc.
11996 * gdb.t00/teststrategy.exp: Change expect string so that we
11997 consume the `(xgdb)' from the command echo and from the gdb prompt.
11998 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
11999 gdb currently compares all values as long, so this failure probably
12000 applies to any configuration where LONGEST is bigger than a target int.
12001 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
12002 with gcc.
12003 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
12004 to handle opaque pointers, gcc is.
12005 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
12006 as first argument. Include <sys/types.h> and change all operator
12007 new definitions to use size_t.
12008 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
12009 now that we use size_t.
12010
12011Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12012
12013 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
12014 a long or float array cast all array members to the same type.
12015 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
12016 with 64 bit longs.
12017 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
12018 on alpha.
12019 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
12020
12021Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12022
12023 * gdb.t24 (demangle.exp): Constructors of templates have names like
12024 vector<int>::vector(int) not vector<int>::vector<int>(int). See
12025 section 14.6 of the ARM.
12026
12027 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
12028 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
12029 accomplish little and slow down the testsuite.
12030
12031 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
12032 Accept spaces various places.
12033
12034Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12035
12036 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
12037 with watchpoint enabled.
12038
12039 * Makefile.in: Remove definition of CC and remove the second
12040 definition of CXX (the "CXX = gcc" one remains). These definitions
12041 were causing backquotes to be expanded within backquotes, which
12042 doesn't work.
12043
12044Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
12045
12046 * gdb.t17/callfuncs.exp: Add "return 0" to end.
12047
12048Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12049
12050 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
12051 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
12052 by mips cc and contains no stabs entries.
12053
12054Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
12055
12056 * config/vx-gdb.exp: Use fake device to load files rather than
12057 NFS.
12058 * lib/gdb.exp: New proc to do "file" command.
12059 * config/unix-gdb.exp: Use new "file" proc.
12060
12061Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12062
12063 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
12064 Rework board rebooting slightly.
12065 (gdb_exit): Don't exit from the remote shell; there isn't one.
12066 * gdb.stabs/weird.exp: If a program is being debugged already,
12067 kill it.
12068 * gdb.t04/setvar.exp: Stop and restart gdb.
12069 * gdb.t05/expr.exp: Likewise.
12070 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
12071 restart gdb and reload the program.
12072 * gdb.t08/opaque.exp: Likewise.
12073 * gdb.t12/scope.exp: Likewise.
12074 * gdb.t13/bitfields.exp: Likewise.
12075 * gdb.t15/funcargs.exp: Likewise.
12076 * gdb.t20/classes.exp: Likewise.
12077 * gdb.t03/ptype.exp: Increase timeout.
12078 * gdb.t16/printcmds.exp (test_print_string_constants,
12079 test_print_array_constants): Likewise.
12080 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
12081 * gdb.t20/classes.exp (do_tests): Likewise.
12082 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
12083
12084Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
12085
12086 * gdb.stabs: Renamed *wierd* to *weird*.
12087
12088Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12089
12090 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
12091 for timeout. Add "known gcc 2.4.5 bug" to failure message.
12092
12093Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12094
12095 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
12096 (do_tests): Remove xfail for whatis on one_var and two_var.
12097
12098Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
12099
12100 * Makefile.in: Made cross building work better by adding
12101 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
12102
12103Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12104
12105 * gdb.t15/{return.c,return.exp,Makefile.in}:
12106 New test, currently commented out.
12107
12108Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
12109
12110 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
12111 still running and removes the leftover named socket so GDb can do
12112 clean restarts.
12113
12114Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
12115
12116 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
12117 console, not GDB.
12118 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
12119 cross testing works better with "make check"
12120 * config/unix-gdb: Use default procedures for exit and version.
12121 * config/vx-gdb.exp: Cleaned up and massaged back to working order
12122 with the newest VxWorks.
12123
12124Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12125
12126 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
12127 old form.
12128
12129 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
12130 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
12131
12132 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
12133
12134 * config/unix-gdb.exp: Remove this version of gdb_exit
12135 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
12136 Rob says he'll look at it when he gets back to testing boards.
12137
12138Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
12139
12140 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
12141 an expected fail for certain ptype commands.
12142
12143 * gdb.t20/classes.exp: Update expected results of "ptype class
12144 Base1" to account for the constructor that now appears in the type.
12145
12146Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
12147
12148 * configure.in (configdirs): Restore gdb.t04, which mysteriously
12149 disappeared from list.
12150 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
12151 "alldone" proc with call to cleanup and exit.
12152 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
12153 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
12154 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
12155 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
12156 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
12157 "alldone" proc with simple returns that suppress remaining
12158 tests. The alldone proc went away many months ago.
12159
12160Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12161
12162 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
12163
12164 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
12165
12166Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12167
12168 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
12169 as vax gdb will display them.
12170
12171Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12172
12173 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
12174 optimizers.
12175
12176 * scope.exp: Change "bad value for localval" messages so each one
12177 is unique.
12178
12179 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
12180 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
12181
12182 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
12183
12184Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12185
12186 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
12187 doesn't exist (due to optimization).
12188
12189Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12190
12191 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
12192 contains \r because the filename is long.
12193
12194 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
12195 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
12196
12197Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12198
12199 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
12200 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
12201 Ultrix.
12202 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
12203 int tests.
12204 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
12205
12206Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
12207
12208 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
12209
12210 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 12211 to match does not match the passing case but still matches the
c906108c
SS
12212 failing case.
12213
12214Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12215
12216 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
12217
12218Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
12219
12220 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
12221 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
12222 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
12223 Remove various versions of gdb_exit.
12224 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
12225 gdb_exit.
12226 * config/unix-gdb.exp: gdb_exit remains here, and should override
12227 the generic version, since it's doing a lot of wierd stuff that
12228 the other versions aren't. FIXME, fold it in, or abandon this
12229 version.
12230
12231Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12232
12233 * gdb.t24/demangle.exp: Add tests for PR 3220.
12234
12235Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12236
12237 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
12238
12239Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
12240
12241 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
12242 "i386-*-*". Works for i486 as well.
12243
12244 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
12245 bug, and expand domain of xfail to all SVR4 systems, since the
12246 actual problem is likely to be in generic SVR4 /proc support.
12247
12248Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12249
12250 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
12251
12252Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
12253
12254 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
12255 xfails for other systems. Match a missing 'Continuing.' as an
12256 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
12257
12258 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
12259 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
12260 Only issue warning for missing executables if -all option is used.
12261
12262 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
12263 file if -all option is used. It's like an unpredictable XFAIL.
12264
12265Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12266
12267 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
12268 for dynamically linked binaries.
12269
12270 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
12271
12272Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12273
12274 * gdb.t20/inherit.exp: Change message for "print tagless struct"
12275 to state that this is a known bug in old versions of g++.
12276
12277Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12278
12279 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
12280 while waiting for `Continuing'.
12281
12282Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
12283
12284 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
12285 in text, data, and bss.
12286 * gdb.t10/nodebug.c: Add local and global test variables for
12287 initialized and uninitialized data.
12288
12289Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12290
12291 * config/unix-gdb.exp (gdb_exit): Add "wait".
12292
12293Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12294
12295 * gdb.t06/signals.exp: xfail the continue from the handler for all
12296 targets.
12297
12298 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
12299 function with watchpoints enabled, the i386 call dummy starts with
12300 a call.
12301
12302 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
12303 386 bsd names its corefiles.
12304
12305Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
12306
12307 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
12308 compilers don't grok it.
12309 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
12310 with small octal ints rather than character constants, which
12311 are signed and might not fit if first promoted to int.
12312
12313Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
12314
12315 * gdb.t09/Makefile.in (clean): Remove corefile.
12316
12317Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12318
12319 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
12320
12321Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12322 and Jim Kingdon (kingdon@cygnus.com)
12323
12324 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
12325 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
12326 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
12327
12328Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12329
12330 * gdb.t17/interrupt.exp: Add xfail for hppa.
12331
12332Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12333
12334 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
12335 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
12336 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
12337 to determine signed-ness of bitfields and use the result to setup
12338 the xfail.
12339 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
12340 * gdb.t15/funcargs.exp: Use them to step until the second indirect
12341 call line is reached if necessary.
12342
12343Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12344
12345 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
12346
12347Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12348
12349 * gdb.t06/break.exp: Also test `clear' command.
12350
12351Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12352
12353 * gdb.t00/teststrategy.exp: Remove extra quote.
12354
12355 * gdb.t07/watchpoint.exp: Change xfail for calling function with
12356 watchpoint enabled to be for all non-68k machines.
12357
12358 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
12359
12360Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12361
12362 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
12363 targets use aout.mt instead of ecoff.mt as gas understands
12364 standard aout format.
12365
12366Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12367
12368 * lib/gdb.exp (runto): Don't insist that function we are running to
12369 was compiled with -g.
12370
12371 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
12372
12373 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
12374 to get back into the read system call.
12375 Accept leading newline in case where we woke it up.
12376
12377Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12378
12379 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
12380 to make the stabs test work on ecoff systems using gcc and -with-stabs.
12381 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
12382 enable ecoff configuration.
12383
12384Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12385
12386 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
12387
12388Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12389
12390 * gdb.t16/printcmds.exp: Add another printf test.
12391
12392Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
12393
12394 * configure.in: If configured -with-stabs on any target, add
12395 stabsdirs to configdirs.
12396
12397Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12398
12399 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
12400 fun" so pattern does not match the command itself.
12401
12402Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12403
12404 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
12405
12406Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12407
12408 * gdb.t17/interrupt.exp: Test for more things.
12409
12410Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12411
12412 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
12413 compiler arranges the code and line numbers.
12414
12415 * gdb.t17/interrupt.exp: Don't send \n after ^C.
12416
12417Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12418
12419 * gdb.t00/help.exp: Increase expect input buffer size.
12420
12421Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12422
12423 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
12424
12425 * gdb.t07/watchpoint.exp: Add xfail for hppa.
12426
12427 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
12428
12429 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
12430 [0-9]*, not just [0-9].
12431
12432Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12433
12434 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
12435
12436 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
12437
12438Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12439
12440 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
12441
12442Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12443
12444 * gdb.t06/signals.c: Add xfails for sun3.
12445
12446 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
12447
12448 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
12449 test_stepping tests.
12450
12451Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12452
12453 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
12454
12455 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
12456
12457 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
12458 rather than actually putting it through cpp twice.
12459
12460 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
12461
12462Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
12463
12464 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
12465 no longer needed.
12466
12467Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12468
12469 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
12470
12471 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
12472 C++ features prints as "struct", make it a pass, not an xfail.
12473
12474Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12475
12476 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
12477 Don't require VA to print as "class" rather than "struct".
12478
12479Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
12480
12481 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
12482
12483Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12484
12485 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
12486
12487Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12488
12489 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
12490 order.
12491
12492Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12493
12494 * gdb.t16/printcmds.exp: Add printf tests.
12495
12496 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
12497
12498 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
12499
12500Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
12501
12502 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
12503 pass counts, to counteract any existing or future setup_xfails.
12504
12505Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12506
12507 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
12508 {BEGIN,END}_COMMON for common block instead of STAB.
12509 * gdb.stabs/wierd.exp: Add xfail for rs6000.
12510
12511 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
12512 intp_var should be N_GSYM not N_LSYM.
12513 wierd-aout.S: Use a label for the value of the N_SO.
12514 wierd.def: Remove all backslashes.
12515 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
12516
12517Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12518
12519 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
12520 get the expected next to inheritance3.
12521
12522Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12523
12524 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
12525 now that gcc-2.4 gets it right.
12526
12527Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12528
12529 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
12530
12531 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
12532 generating comp-info.exp which works for cross-compilation.
12533
12534Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
12535
12536 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
12537 "*-*-sysv4.*".
12538
12539Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
12540
12541 * gdb.t01/run.exp: Start with a fresh gdb.
12542 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
12543 SVR4.x.
12544
12545Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
12546
12547 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
12548 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
12549 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
12550 Makefile.in (distclean, realclean): Remove gdbme.c from list of
12551 things to remove.
12552
12553Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
12554
12555 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
12556 test cases from bug reports.
12557
12558Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
12559
12560 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
12561 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
12562 avoid spurious xfails.
12563 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
12564 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
12565 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
12566
12567Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
12568
12569 * gdb.t00/teststrategy.exp: Rework to provide more useful
12570 description of each test, fix problem with systems that define
12571 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
12572 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
12573 results for "next over recursive call" so timeouts aren't taken
12574 by error.
12575
12576Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
12577
12578 * gdb.t12/scope.exp: Test printing of variables before run.
12579
12580 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
12581 printed in wrong order due to sorting.
12582
12583Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
12584
12585 * gdb.t00/teststrategy.exp: Fix expected results for printing
12586 user entered string constant. Is array of char, prints with no
12587 address.
12588
12589 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
12590 commands.
12591 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
12592 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
12593 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
12594 of struct of char arrays.
12595 * gdb.t00/radix.exp: New tests for radix commands.
12596
12597Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
12598
12599 * gdb.t16/printcmd.exp: Print a variable before running program
12600 (with xfail for AIX).
12601
12602Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
12603
12604 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
12605
12606 * gdb.t16/printcmd.exp: Don't print variables before running program.
12607
12608 * gdb.t06/break.exp: Don't require envp argument to main.
12609
12610 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
12611
12612 * gdb.t02/whatis.exp, gdb.t11/list.exp:
12613 Add xfails for rs6000.
12614
12615 * gdb.t02/whatis.exp: Change other tests not to re-test something
12616 we already tested.
12617
12618 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
12619 each type used has a variable of that type.
12620
12621Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
12622
12623 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
12624
12625Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
12626
12627 * configure.in: change srctrigger to be a file, not a directory
12628
12629Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
12630
12631 * configure.in (mips-idt-ecoff*): Added trailing '*'.
12632
12633 * gdb.t11/list.exp: Fixed a couple of typos.
12634
12635Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
12636
12637 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
12638 is fixed and PR is closed.
12639 * gdb.t16 (gdbme.c): Add simple test string variable.
12640 * gdb.t16 (printcmds.exp): Add tests with simple test string
12641 variable, primarily for boundaries on "set print elements".
12642
12643Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
12644
12645 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
12646 Make leading 0's optional and don't expect a tab in the middle
12647 of the number.
12648
12649 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
12650
12651 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
12652 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
12653 don't end command passed to gdb_test with newline.
12654
12655 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
12656 signed keyword away, don't expect signed bitfields to be signed.
12657
12658 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
12659 printing with only as many 1's as are in the field as well as printing
12660 with 32 1's (see comment).
12661
12662Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
12663
12664 * gdb.t00/default.exp: Start with a fresh gdb.
12665 * configure.in (configdirs): Remove gdb.t31 until the chill
12666 compiler works again. It no longer is able to find chillrt0
12667 since it isn't in libchill.a anymore.
12668 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
12669 wierd.o, make more modular.
12670 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
12671 spurious newlines that caused problems.
12672
12673Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12674
12675 * Move test with enums and partial symbols from gdb.t03/ptype.exp
12676 to gdb.stabs/wierd.exp since GCC has worked around the bug.
12677 gdb.stabs/wierd.{exp,def}: Many new tests.
12678
12679 * gdb.t00/default.exp: update info line for new message.
12680
12681 * gdb.t02/{whatis.exp,gdbme.c}:
12682 Test that "char *" doesn't print as "caddr_t".
12683
12684Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12685
12686 * gdb.t00/help.exp: Use .* in place of some help messages which
12687 just changed.
12688 gdb.t00/default.exp: Update "info frame" test for new message.
12689 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
12690 Remove some xfails
12691
12692Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12693
12694 * gdb.t03/{gdbme.c,ptype.exp}:
12695 Add tests for typedef'd struct and union without tags.
12696 Also check "whatis" on a variable of a typedef'd enum without a tag.
12697
12698 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
12699 PRMS 1823; the bug still exists but isn't reproduced by this test
12700 anymore), and remove rs6000 XFAIL (the bug is fixed).
12701
12702 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
12703 duplicated from whatis.exp. For those that are left, accept
12704 "long", "long int", or "int" for long variables (whatis.exp already
12705 has an XFAIL for "int", so no need to fail it here).
12706
12707 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
12708 Deal with GCC's names for types now that GDB uses the compiler's names.
12709
12710 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
12711 setup_xfail's for sunos4. If we #defined the signed keyword away,
12712 don't expect GDB to know that char it is signed.
12713
12714 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
12715
12716Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
12717
12718 * configure.in (configdirs): Add gdb.t24 for C++ tests that
12719 should work on any system, regardless of debugging format.
12720 * gdb.t21/demangle.exp: Move to gdb.t24.
12721 * gdb.t24/demangle.exp: Move from gdb.t21.
12722 * gdb.t24/{Makefile.in, configure.in}: New files.
12723
12724Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12725
12726 * configure.in: Do gdb.stabs and C++ tests only for stabs.
12727 * gdb.stabs: New directory.
12728
12729Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12730
12731 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
12732 not just "Quit anyway?".
12733
12734Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
12735
12736 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
12737 that all setup_xfails are immediately followed by clear_xfails.
12738
12739Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
12740
12741 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
12742 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
12743 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
12744 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
12745 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
12746 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12747 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12748 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
12749 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
12750 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
12751 gdb.t31/chillvars.exp, lib/gdb.exp:
12752 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
12753 bug-gdb@prep.ai.mit.edu.
12754
12755Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
12756
12757 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
12758 with 0.0, not integer 0.
12759
12760Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
12761
12762 * gdb.t06/break.exp: Update for "Kill the program" message change.
12763
12764Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
12765
12766 * Makefile.in (GDBFLAGS): Set to -nx.
12767 * Makefile.in (site.exp): Use GDBFLAGS.
12768
12769Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
12770
12771 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
12772 Makefiles.
12773 (check): depend on just-check.
12774 (just-check): added so that tests can be run without a noop
12775 build pass.
12776
12777Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
12778
12779 Switch to using configure's configdirs.
12780 * Makefile.in (Makefile): add configure.in dependency.
12781 (SUBDIRS): removed redundant assignment.
12782 * configure.in: switch subdirs assignment to configdirs.
12783 * gdb.t*/configure.in: new files.
12784
12785Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
12786
12787 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
12788 works.
12789
12790Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
12791
12792 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
12793 in explicit rules. Apparently this is not supported by some makes.
12794
12795Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
12796
12797 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
12798
12799Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12800
12801 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
12802 disappeared.
12803
12804Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
12805
12806 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
12807
12808Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
12809
12810 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
12811 watchpoint problem that is now fixed.
12812 * gdb.t30/chexp.exp: Remove setup_xfail for printing
12813 uninitialized convenience variables.
12814 * gdb.t31/chillvars.exp: Fix expected patterns for printing
12815 structures.
12816
12817Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12818
12819 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
12820 which causes expect to get out of sync with gdb on long output
12821 from help set.
12822 * gdb.t09/corefile.exp: Make expected pattern for core file
12823 failing signal and frame output format less sun specific.
12824
12825Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
12826
12827 * gdb.t31/chillvars.exp: Add and remove initial dummy
12828 breakpoint, so that symbol table is forced in.
12829 (Needed at least on Sunos4, though it seems not SVR4.)
12830 * gdb.t31/chillvars.exp: Update for changed output format.
12831
12832Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
12833
12834 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
12835
12836Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
12837
12838 * Makefile.in: Added --srcdir when invoking runtest, removed the
12839 need for a local config file. (optional now)
12840
12841Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
12842
12843 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
12844 failure count used to force early termination. Add some more
12845 expected failures for gnu style demangling.
12846
12847Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12848
12849 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
12850 pmi variable from gdb.t20/gdbme to get optimized away.
12851 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
12852 Check for written corefile upon timeout _and_ eof.
12853
12854Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12855
12856 * config/unix-gdb.exp: Add missing return 0.
12857
12858Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12859
12860 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
12861 test termination.
12862
12863Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
12864
12865 * configure.in (subdirs): Put back gdb.t17 which mysteriously
12866 disappeared.
12867
12868Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
12869
12870 * gdb.t10/crossload.exp: Disable the i860-elf test until such
12871 time as i860 support works.
12872
d63a86f8 12873 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
12874 "backtrace 100\r" rather than just "backtrace\r", to match last
12875 change.
12876
12877Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
12878
12879 * config/udi-gdb.exp (gdb_exit): Remove close command.
12880 (gdb_target_udi): New procedure to set the UDI target.
12881 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
12882 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
12883 Added waits for prompts after several question responses. Added
12884 some more responses used by a29k-amd-udi-gdb.
12885 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
12886 pass different arguments, restart UDI connection after program
12887 completion.
12888 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
12889 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12890 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
12891 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
12892 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
12893 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
12894 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12895 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
12896 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
12897 after program completion.
12898 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
12899 compiled with a SELECT_VECS setting.
12900 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
12901 infinite recursion.
12902
12903 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
12904 Added checks for COFF results, and made them expected failures for
12905 all targets. It would be better to make them expected failures
12906 for COFF targets only.
12907
12908Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
12909
12910 * Makefile.in: add null dvi target, don't bother to recurse
12911 through test directories for info and install-info; rename
12912 $(datadir) to be dejagnu instead of deja-gnu
12913
12914Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
12915
12916 * gdb.t31/gdbme.ch: Re-enable code that previously caused
12917 compiler to coredump.
12918 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
12919 code.
12920
12921Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
12922
12923 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
12924 coredump.
12925 * gdb.t31/chillvars.exp: Comment out tests that depend on that
12926 code.
12927
12928Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
12929
12930 * gdb.t03/ptype.exp: tests for return code from gdb_test.
12931 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
12932 which in a shell. Deletes xgdb when done.
12933 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
12934 Tests the return from the "set height" or "set width" commands.
12935 Added a few return codes where needed.
12936
12937Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
12938
12939 * Makefile.in (SUBDIRS): Add gdb.t17.
12940 * configure.in (subdirs): Add gdb.t17.
12941 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
12942 files to test gdb's calling of functions in the inferior with
12943 the correct arguments and gdb's ability to retrieve any
12944 result returned.
12945
12946Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
12947
12948 * config/unix-gdb.exp (gdb_exit): Remove close commands that
12949 may be called after gdb goes away. Previous versions of expect
12950 needed these to avoid file descriptor leaks, but they cause
12951 errors with the current revision of expect.
12952 * gdb.t00/gdbvars.exp: Use -re on expected output after
12953 setting sevenbit-strings.
12954 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
12955 to set sevenbit-strings consistent across tests.
12956 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
12957 set sevenbit-strings consistent across tests.
12958
12959Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
12960
12961 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
12962 expected output to match current "expect" expectations.
12963
12964Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
12965
12966 * gdb.t00/default.exp: Change expected output for default "source"
12967 command, to match new gdb behavior which requires a filename to
12968 source.
12969
12970Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
12971
12972 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
12973 expected fail for i486-*-* that misses the marker2 function.
12974 * gdb.t10/crossload.exp (bfddefault): Allow successful
12975 recognition of a format to pass even if no symbols are found.
12976 Explicitly catch failures where the format is not recognized
12977 or is ambiguous, and add the reason to the fail message.
12978 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
12979 the cause is and invalid target and add reason to failure message.
12980 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
12981 elf32-i386, elf32-sparc, and elf32-i860.
12982 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
12983 Set up expected failure for 'filename'::variable scope resolution,
12984 which is now apparently broken on all targets.
12985 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
12986 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
12987 gdb.t23/templates.exp: Change failure for missing binfile into
12988 just a warning.
12989 gdb.t21/demangle.exp: Change all cfront references to 'arm'
12990 references.
12991
12992Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
12993
12994 * gdb.t00/default.exp: Add expected output for default "source"
12995 command, to match new gdb behavior.
12996 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
12997
12998Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
12999
13000 * config/*-gdb.exp: returns an error, rather than exiting on
13001 internal errors.
13002
13003Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
13004
13005 * gdb.t03/gdbme.c: Add pointer to struct variable.
13006 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
13007 referencing struct members.
13008
13009Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
13010
13011 * configure.in (mips-idt-ecoff): New target.
13012 * config/mips-gdb.exp: New file for remote board using MIPS remote
13013 debugging protocol.
13014
13015 * Redid configuration scheme. Removed gdb.t*/configure.in.
13016 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
13017 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
13018 distclean targets. Built executables via .o files. Adjusted
13019 tests to account for source files in $(srcdir) rather than
13020 $(objdir).
13021 * lib/gdb.exp (runto): Don't expect () after the function name,
13022 because it may have arguments.
13023
13024Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
13025
13026 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
13027 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
13028 expected failures for mips-idt-* and mips-sgi-*.
13029 * gdb.t00/default.exp (attach): Kill process if requested.
13030 * gdb.t00/help.exp (help target core, help target): Accept a gdb
13031 that does not read core files.
13032 * gdb.t01/run.exp: Removed checks for exit status code.
13033 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
13034 it is linked in.
13035 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
13036 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
13037 appropriate, rather than doing it by hand.
13038 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
13039 execution.
13040 * gdb.t10/crossload.exp: Kill existing program if needed.
13041 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
13042 appropriate, rather than doing it by hand. Always increase
13043 timeout for this test, not just for VxWorks.
13044
13045Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
13046
13047 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
13048 of Chill STRUCT types and STRUCT values.
13049 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
13050 than "char".
13051 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 13052 struct2): New struct definitions and initializations to test
c906108c
SS
13053 simple Chill STRUCT types.
13054
13055Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
13056
13057 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
13058 the null byte at the end of strings.
13059 * gdb.t00/default.exp: Make show version insensitive to copyright
13060 date.
13061 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
13062 to avoid dependencies on target char signedness.
13063 * gdb.t16/printcmds.exp: Update expected results for explicitly
13064 unsigned char.
13065 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
13066 now work.
13067 * gdb.t21/demangle.exp: Add many more patterns for template
13068 demangling, most of them being expected failures.
13069 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
13070 string we are matching for, to match on the whole string.
13071 * gdb.t21/demangle.exp: Add many new test strings to demangle,
13072 and fix a whole bunch that had incorrect expected output but were
13073 passing anyway because of the bug in "proc demangle".
13074 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
13075 type.
13076 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
13077
13078Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
13079
13080 * gdb/testsuite: made modifications to testcases, etc., to allow
13081 them to work properly given the reorganization of deja-gnu and the
13082 relocation of the testcases from deja-gnu to a "tool" subdirectory.
13083
13084Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
13085
13086 * gdb/testsuite: Initial creation of gdb/testsuite.
13087 Migrated dejagnu testcases and support files for testing nm to
13088 gdb/testsuite from deja-gnu. These files were moved "as is"
13089 with no modifications. This migration is part of a major overhaul
13090 of dejagnu. The modifications to these testcases, etc., which
13091 will allow them to work with the new version of dejagnu will be
13092 made in a future update.
48efe704 13093
8d8cb839 13094 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 13095\f
8d8cb839
EZ
13096;; Local Variables:
13097;; mode: change-log
13098;; left-margin: 8
13099;; fill-column: 74
13100;; version-control: never
13101;; End:
902f2ccb
MC
13102
13103 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
13104 2003, 2004 Free Software Foundation, Inc.
13105 Copying and distribution of this file, with or without modification,
13106 are permitted provided the copyright notice and this notice are preserved.