]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix unexpected failrues for arm toolchains
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
3f0f6ed2
JB
12004-02-24 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.ada/fixed_points.exp: Create compilation object directory
4 before running the test.
5 * gdb.ada/null_record.exp: Likewise.
6 * gdb.ada/packed_array.exp: Likewise.
7 * gdb.ada/start.exp: Likewise.
8
724f452b
JB
92005-02-15 Joel Brobecker <brobecker@adacore.com>
10
11 * gdb.ada/packed_array/pa.adb: New file.
12 * gdb.ada/packed_array.exp: New testcase.
13
57f5cdfb 142005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 15
1f393151
MK
16 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
17 files.
18
ebdda337
MK
19 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
20 on *-*-openbsd*. Correctly match whitespace in regukar
21 expressions.
22
cf309262
DJ
232005-02-10 Daniel Jacobowitz <dan@debian.org>
24
25 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
26 PR exp/1821
27 * gdb.base/gdb1821.c: New test file.
28 * gdb.base/gdb1821.exp: New test file.
29
3be49e7a
JB
302005-02-09 Joel Brobecker <brobecker@adacore.com>
31
32 * gdb.base/start.c: New file.
33 * gdb.base/start.exp: New testcase.
34
e292e67d
JB
352005-02-09 Joel Brobecker <brobecker@adacore.com>
36
37 * gdb.ada/start/dummy.adb: New file.
38 * gdb.ada/start.exp: New testcase.
39
dbdfa66c
CV
402005-02-09 Corinna Vinschen <vinschen@redhat.com>
41
42 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
43 for printing symbols and statistics.
44 Add test for using relative pathnames in "maint print msymbols" test.
45 Mark "maint info sections DATA" XFAIL on Cygwin.
46 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
47 tests.
48
d7941671
AC
492005-02-09 Andreas Schwab <schwab@suse.de>
50
51 Committed by Andrew Cagney <cagney@gnu.org>
52 * gdb.base/remotetimeout.exp: New file.
53
74e5ef44
MK
542005-02-07 Mark Kettenis <kettenis@gnu.org>
55
56 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
57
464dd14d
JB
582005-02-03 Joel Brobecker <brobecker@adacore.com>
59
60 * gdb.ada/gnat_ada.gpr: New file.
61 * gdb.ada/gnat_ada.gin: Delete, no longer used.
62 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
63 * configure.ac: No longer generate gnat_ada.gpr.
64 * configure: Regenerate.
65 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
66 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
67 * gdb.ada/null_record/bar.ads: Likewise.
68 * gdb.ada/null_record/bar.adb: Likewise.
69 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
70 * gdb.ada/null_record.exp (testdir): New variable.
71 (testfile): executable is now in testdir subdirectory.
72 (srcfile): Use full path to the main compilation unit.
73 * gdb.ada/fixed_points.exp: Same changes as above.
74
30d756ae
NR
752005-02-03 Nick Roberts <nickrob@snap.net.nz>
76
77 * gdb.base/interp.exp: New test.
78
9d799f85
AC
792005-01-24 Andrew Cagney <cagney@gnu.org>
80
81 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
82
15656118
AC
832005-01-19 Andrew Cagney <cagney@gnu.org>
84
a892c31b
AC
85 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
86 configure.ac not configure.in.
87
15656118
AC
88 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
89 of powerpc*-*-*.
90 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
91 * gdb.base/list.exp (test_list_function)
92 (test_list_filename_and_function): Ditto.
93 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
94
a7b01baf
AC
952005-01-16 Andrew Cagney <cagney@gnu.org>
96
17d92a02
AC
97 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
98
a7b01baf
AC
99 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
100
bc8332bb
AC
1012005-01-14 Andrew Cagney <cagney@gnu.org>
102
103 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
104 * gdb.mi/mi2-var-cmd.exp: Ditto.
105
4d074752
CV
1062005-01-10 Corinna Vinschen <vinschen@redhat.com>
107
108 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
109
bec39cab
AC
1102005-01-07 Andrew Cagney <cagney@gnu.org>
111
112 * configure.ac: Rename configure.in, require autoconf 2.59.
113 * configure: Re-generate.
114 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
115 * gdb.stabs/configure: Re-generate.
116 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
117 * gdb.hp/configure: Re-generate.
118 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
119 autoconf 2.59.
120 * gdb.hp/gdb.objdbg/configure: Re-generate.
121 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
122 autoconf 2.59.
123 * gdb.hp/gdb.defects/configure: Re-generate.
124 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
125 autoconf 2.59.
126 * gdb.hp/gdb.compat/configure: Re-generate.
127 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
128 autoconf 2.59.
129 * gdb.hp/gdb.base-hp/configure: Re-generate.
130 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
131 autoconf 2.59.
132 * gdb.hp/gdb.aCC/configure: Re-generate.
133
f10b16d4
JB
1342004-12-15 Jim Blandy <jimb@redhat.com>
135
136 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
137 under NPTL when there is debugging info available for libpthread.
138
fb6e1814
JG
1392004-12-13 Jerome Guitton <guitton@gnat.com>
140
141 * gdb.ada/fixed_points.c: New file.
142 * gdb.ada/fixed_points.exp: New file.
143
fe46cd3a
RC
1442004-12-03 Randolph Chung <tausq@debian.org>
145
146 * gdb.arch/pa-nullify.exp: New file.
147 * gdb.arch/pa-nullify.s: New file.
148
8de0841b
RC
1492004-11-30 Randolph Chung <tausq@debian.org>
150
151 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
152 instead of "tbug". Fix regexp to work properly with gdb_test.
153
c8170782
PH
1542004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
155
156 * gdb.base/bitfields2.exp: New test.
157 * gdb.base/bitfields2.c: New file.
158
954269c2
RE
1592004-11-28 Richard Earnshaw <rearnsha@arm.com>
160
161 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
162
0107feed
RC
1632004-11-16 Randolph Chung <tausq@debian.org>
164
165 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
166
f073ae8c
DJ
1672004-11-14 Daniel Jacobowitz <dan@debian.org>
168
169 * gdb.threads/threadapply.exp: Correct "macro details" test.
170
19ad59e7
JJ
1712004-11-11 Jeff Johnston <jjohnstn@redhat.com>
172
173 * gdb.threads/threadapply.exp: New test.
174 * gdb.threads/threadapply.c: New file.
175
9cf0961b
MK
1762004-11-07 Mark Kettenis <kettenis@gnu.org>
177
178 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
179 frames.
180
c789492a
FL
1812004-11-05 Felix Lee <felix+log1@specifixinc.com>
182
183 * gdb.base/cursal.exp: New file.
184 * gdb.base/cursal.c: New file.
185
a1e167bb
AC
1862004-11-03 Andrew Cagney <cagney@gnu.org>
187
188 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
189
b7cbf173
MK
1902004-10-30 Mark Kettenis <kettenis@gnu.org>
191
192 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
193 NetBSD/ELF targets.
194
88f9d34f
JB
1952004-10-29 Joel Brobecker <brobecker@gnat.com>
196
197 * gdb.threads/bp_in_thread.c: New file, copied from
198 pthread_cond_wait.c.
199 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
200 file, rather than reusing the .c file from another testcase.
201
ca7d6a0c
JB
2022004-10-20 Joel Brobecker <brobecker@gnat.com>
203
204 * gdb.ada/null_record.exp: Check where we stopped after
205 sending the start command, instead of where the associated
206 temporary breakpoint was inserted.
207
0d863d03
AC
2082004-10-14 Andrew Cagney <cagney@gnu.org>
209
210 * gdb.mi/gdb701.c (main): Return 0.
211
d11e72cb
DJ
2122004-10-13 Daniel Jacobowitz <dan@debian.org>
213
d40539a4 214 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 215
e1923096
JJ
2162004-10-12 Jeff Johnston <jjohnstn@redhat.com>
217
218 * gdb.threads/schedlock.c: Add comment markers to use to find
219 line numbers.
220 * gdb.threads/schedlock.exp: Adjust regex to handle the new
221 comments.
222 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
223 breakpoint lines.
224
ec8ba2c9
DJ
2252004-10-12 Daniel Jacobowitz <dan@debian.org>
226
227 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
228
0eb3658b
DJ
2292004-10-12 Daniel Jacobowitz <dan@debian.org>
230
231 * configure.in: Add gdb.dwarf2.
232 * configure: Regenerated.
233 * Makefile.in: Add gdb.dwarf2.
234 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
235 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
236 gdb.dwarf2/file1.txt: New files.
237
a271cc33
OF
2382004-10-11 Orjan Friberg <orjanf@axis.com>
239
240 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
241 of "run", since the latter doesn't work with remote targets. Adjust
242 the breakpoint numbering accordingly.
243 * gdb.threads/pthread_cond_wait.exp: Ditto.
244
895ce074
MC
2452004-10-08 Michael Chastain <mec.gnu@mindspring.com>
246
247 * gdb.base/overlays.exp: Update copyright years.
248
6be3092d
KI
2492004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
250
251 * gdb.base/overlays.exp: Disable if target is Linux.
252
e05389b8
FL
2532004-10-06 Felix Lee <felix+log1@specifixinc.com>
254
255 * config/gdbserver.exp (gdb_load): Use right filename on remote.
256
73cb587d
KI
2572004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
258
259 * gdb.asm/asm-source.exp: Add m32r-linux target.
260 * gdb.asm/m32r-linux.inc: New file.
261
3c0edcdc
AC
2622004-09-24 Andrew Cagney <cagney@redhat.com>
263 David Anderson <anderson@redhat.com>
264
265 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
266 command fails, assume things will work.
267 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
268 (_GNU_SOURCE): Define.
269 (print_unsigned, print_hex): Change parameter to "long long".
270 (print_byte_count): New function, use to print byte counts.
271 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
272 O_LARGEFILE.
273 (main): Compute an upper bound on a corefile in max_core_size.
274 Limit memory chunk size to max_core_size. Limit total memory
275 allocated to max_core_size.
276
4bb3667f
AC
2772004-09-23 Andrew Cagney <cagney@gnu.org>
278
279 * gdb.base/bigcore.exp: Replace the code that creates a corefile
280 from a separate process with code that creates a corefile by
281 making the inferior dump core.
282
60fe1a51
MK
2832004-09-23 Mark Kettenis <kettenis@gnu.org>
284
285 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
286 block.
287
8e937346
MC
2882004-09-23 Michael Chastain <mec.gnu@mindspring.com>
289
290 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
291 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
292 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
293 Likewise.
294
7213f6d6
JJ
2952004-09-20 Jeff Johnston <jjohnstn@redhat.com>
296
297 * gdb.java/jprint.exp: New test case for java inferior call.
298 * gdb.java/jprint.java: Ditto.
299
eac69dca
JB
3002004-09-15 Joel Brobecker <brobecker@gnat.com>
301
302 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
303
22227696
MC
3042004-09-14 Michael Chastain <mec.gnu@mindspring.com>
305
306 * gdb.threads/killed.c: Include <stdlib.h>.
307 * gdb.threads/pthreads.c: Likewise.
308
7dd403a4
MC
3092004-09-14 Michael Chastain <mec.gnu@mindspring.com>
310
311 * gdb.threads/killed.c: Add copyright notice.
312
33f2d567
JM
3132004-09-10 Jason Molenda (jmolenda@apple.com)
314
315 * gdb.base/define.exp: Two new tests to verify zero space chars
316 after 'if' and 'while' commands in a user-defined command is correctly
317 parsed.
318
e05b62ac
AC
3192004-09-08 Andrew Cagney <cagney@gnu.org>
320
321 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
322 delivery test with duplicate at end of file.
323
9cbe82da
MK
3242004-09-06 Mark Kettenis <kettenis@jive.nl>
325
326 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
327
564803d9
MC
3282004-09-05 Michael Chastain <mec.gnu@mindspring.com>
329
330 * config/hppro.exp: Removed.
331
7c6807ce
MC
3322004-09-05 Michael Chastain <mec.gnu@mindspring.com>
333
334 * config/sparclet.exp: Removed.
335
bf7e26dd
MC
3362004-09-05 Michael Chastain <mec.gnu@mindspring.com>
337
338 * config/udi.exp: Removed.
339
714e341b
MC
3402004-09-02 Michael Chastain <mec.gnu@mindspring.com>
341
342 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
343 of "exp_continue".
344 (advancei): Likewise.
345
1236e623
JJ
3462004-09-01 Jeff Johnston <jjohnstn@redhat.com>
347
348 * gdb.base/unload.exp: Fix so messages aren't duplicated.
349
3bdcad15
MI
3502004-09-01 Manoj Iyer <manjo@austin.ibm.com>
351
228af206 352 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
353 to check for nodebug in executable.
354 * gdb.gdb/observer.exp (setup_test): Likewise.
355 * gdb.gdb/selftest.exp (test_with_self): Likewise.
356 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
357
c72b934c
AC
3582004-09-01 Andrew Cagney <cagney@gnu.org>
359
360 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
361 files.
362
edd9b715
JJ
3632004-09-01 Jeff Johnston <jjohnstn@redhat.com>
364
365 * gdb.base/unload.exp: Fix expected warning message to match
366 latest format.
367
fb4ce06b
CV
3682004-09-01 Corinna Vinschen <vinschen@redhat.com>
369
370 * gdb.base/call-rt-st.exp: Fix typos.
371
ce78e7c3
MI
3722004-08-31 Manoj Iyer <manjo@austin.ibm.com>
373
374 * gdb.threads/thread_check.exp: New testcase.
375 * gdb.threads/thread_check.c: New testcase.
376
2dedb159
AC
3772004-08-31 Andrew Cagney <cagney@gnu.org>
378
379 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
380 (skip_to_handler_entry): New procedures. Test stepping into a
381 handler when the breakpoint is at the handler's entry point.
382
68f53502
AC
3832004-08-30 Andrew Cagney <cagney@gnu.org>
384
385 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
386 gdb/1757.
387
3e3ffd2b
MC
3882004-08-27 Michael Chastain <mec.gnu@mindspring.com>
389
390 With code from Manoj Iyer <manjo@austin.ibm.com>:
391 * lib/gdb.exp (gdb_file_cmd): Return more information in the
392 return value. Add an arm for "no debugging symbols found".
393 Change a stray "error" to "perror".
394 (gdb_run_cmd): Adapt to new return value.
395 * gdb.base/remote.exp: Adapt to new return value.
396 * gdb.gdb/complaints.exp: Likewise.
397 * gdb.gdb/observer.exp: Likewise.
398 * gdb.gdb/selftest.exp: Likewise.
399 * gdb.gdb/xfullpath.exp: Likewise.
400
4b6f5fd2
JB
4012004-08-27 Joel Brobecker <brobecker@gnat.com>
402
403 * gdb.threads/bp_in_thread.exp: New testcase.
404
e5b25496
MC
4052004-08-27 Michael Chastain <mec.gnu@mindspring.com>
406
407 Fix PR testsuite/1735.
408 * gdb.threads/schedlock.c (thread_function): Add a cast
409 to suppress a gcc warning.
410 * gdb.threads/thread-specific.c (thread_function): Likewise.
411
934353d6
MC
4122004-08-26 Michael Chastain <mec.gnu@mindspring.com>
413
414 * gdb.base/unload.c: Include <stdlib.h>.
415
f98a0aef 4162004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 417
f98a0aef 418 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
419 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
420 synchronized after the "return".
421
5a2e8882
MC
4222004-08-26 Michael Chastain <mec.gnu@mindspring.com>
423
424 * gdb.mi/basics.c: Include <stdio.h>.
425 * gdb.mi/pthreads.c: Include <stdlib.h>.
426 * gdb.mi/var-cmd.c: Include <stdlib.h>.
427
a9640423
MC
4282004-08-26 Michael Chastain <mec.gnu@mindspring.com>
429
430 * gdb.threads/schedlock.c: Add copyright notice.
431
b04e311d
AC
4322004-08-25 Andrew Cagney <cagney@gnu.org>
433
434 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
435 (skip_over_handler, breakpoint_over_hander): New test procedures.
436 (advance, advancei): Add a proper prefix, do not use
437 rerun_to_main.
438 * gdb.base/sigstep.c (main): Change to use an infinite loop.
439
7c27f15b
MC
4402004-08-24 Michael Chastain <mec.gnu@mindspring.com>
441
442 * gdb.mi/basics.c: Add copyright notice.
443 * gdb.mi/var-cmd.c: Add copyright notice.
444
fffc87ae
MC
4452004-08-23 Michael Chastain <mec.gnu@mindspring.com>
446
447 * lib/gdb.exp: Remove signed_keyword_not_used.
448 * lib/compiler.c: Likewise.
449 * lib/compiler.cc: Likewise.
450
d782e0bf
MC
4512004-08-23 Michael Chastain <mec.gnu@mindspring.com>
452
453 * gdb.base/whatis.c: Remove conditional disabling of "signed".
454 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
455
96033e83
MC
4562004-08-23 Michael Chastain <mec.gnu@mindspring.com>
457
458 * gdb.base/whatis.c: Add copyright notice.
459
cf38c229
MK
4602004-08-20 Mark Kettenis <kettenis@gnu.org>
461
462 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
463 it to skip the breakpoints encoded in the inline assembly.
464
f4b49756
MC
4652004-08-20 Michael Chastain <mec.gnu@mindspring.com>
466
467 * Makefile.in: Add gdb.fortran.
468
2f193b69
MC
4692004-08-20 Michael Chastain <mec.gnu@mindspring.com>
470
471 * gdb.base/call-sc.exp (test_scalar_returns):
472 Fix cut-and-paste glitch in "Make fun return now".
473
89a237cb
MC
4742004-08-17 Michael Chastain <mec.gnu@mindspring.com>
475
476 * configure.in: Add gdb.fortran.
477 * configure: Regenerate.
478 * gdb.fortran/Makefile.in: New file.
479 * lib/gdb.exp (skip_fortran_tests): New procedure.
480
469aff8e
MC
4812004-08-17 Michael Chastain <mec.gnu@mindspring.com>
482
483 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
484 reference to bug-gnu@prep.ai.mit.edu.
485 * gdb.mi/mi-var-child.exp: Likewise.
486 * gdb.mi/mi-var-cmd.exp: Likewise.
487 * gdb.mi/mi-var-display.exp: Likewise.
488 * gdb.mi/mi2-var-block.exp: Likewise.
489 * gdb.mi/mi2-var-child.exp: Likewise.
490 * gdb.mi/mi2-var-cmd.exp: Likewise.
491 * gdb.mi/mi2-var-display.exp: Likewise.
492
00b51b9f
MK
4932004-08-15 Mark Kettenis <kettenis@gnu.org>
494
495 * gdb.base/unload.c (main): Make local variable msg const.
496
45f07fef
MC
4972004-08-15 Michael Chastain <mec.gnu@mindspring.com>
498
499 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
500 to bug-gnu@prep.ai.mit.edu.
501 * gdb.mi/mi-disassemble.exp: Likewise.
502 * gdb.mi/mi-eval.exp: Likewise.
503 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
504 default line number.
505 * gdb.mi/mi-return.exp: Likewise.
506 * gdb.mi/mi-simplerun.exp: Likewise.
507 * gdb.mi/mi-stack.exp: Likewise.
508 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
509 number with explicit range test.
510 * gdb.mi/mi-watch.exp: Likewise.
511 * gdb.mi/mi2-break.exp: Likewise.
512 * gdb.mi/mi2-cli.exp: Likewise.
513 * gdb.mi/mi2-disassemble.exp: Likewise.
514 * gdb.mi/mi2-eval.exp: Likewise.
515 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
516 default line number.
517 * gdb.mi/mi2-return.exp: Likewise.
518 * gdb.mi/mi2-simplerun.exp: Likewise.
519 * gdb.mi/mi2-stack.exp: Likewise.
520 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
521 number with explicit range test.
522 * gdb.mi/mi2-watch.exp: Likewise.
523
dd8c8ee7
MC
5242004-08-15 Michael Chastain <mec.gnu@mindspring.com>
525
526 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
527 * gdb.cp/m-static.exp: Likewise.
528 * gdb.cp/rtti.exp: Likewise.
529
4e838464
MK
5302004-08-14 Mark Kettenis <kettenis@gnu.org>
531
532 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
533
8d8cb839
EZ
5342004-08-14 Eli Zaretskii <eliz@gnu.org>
535
536 * ChangeLog: Prefix Local Variables with semi-colons and indent
537 the reference to older ChangeLog files, to fix fontification in
538 Emacs.
539
deea8bb0
MC
5402004-08-13 Michael Chastain <mec.gnu@mindspring.com>
541
542 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
543 * gdb.mi/mi2-break.exp: Likewise.
544
c3297504
MC
5452004-08-13 Michael Chastain <mec.gnu@mindspring.com>
546
547 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
548
25808999
MC
5492004-08-13 Michael Chastain <mec.gnu@mindspring.com>
550
551 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
552
226a8d71
MC
5532004-08-13 Michael Chastain <mec.gnu@mindspring.com>
554
555 * gdb.cp/classes.exp: Remove unused declarations. Just let
556 test names default instead of providing special names. Remove
557 extraneous demangler test.
558
37fdf854
JJ
5592004-08-12 Jeff Johnston <jjohnstn@redhat.com>
560
561 * gdb.base/unload.exp: New test for breakpoints in dynamically
562 loaded libraries.
563 * gdb.base/unload.c: Ditto.
564 * gdb.base/unloadshr.c: Ditto.
565
2d3a7986
MC
5662004-08-12 Michael Chastain <mec.gnu@mindspring.com>
567
568 * gdb.cp/classes.exp (test_ptype_class_objects): Call
569 cp_test_ptype_class.
570 (test_enums): Likewise.
571
c72b934c
AC
5722004-08-10 Andrew Cagney <cagney@gnu.org>
573
574 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
575 files.
576
cc503c8a
AC
5772004-08-10 Andrew Cagney <cagney@gnu.org>
578
579 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
580 init_malloc call.
581
902f2ccb
MC
5822004-08-10 Michael Chastain <mec.gnu@mindspring.com>
583
584 * ChangeLog: Add copyright notice. The notice is copied
585 from emacs 21.3 top level ChangeLog.
586
78c90502
MC
5872004-08-09 Michael Chastain <mec.gnu@mindspring.com>
588
589 * lib/cp-support.exp: New file.
590 * lib/cp-support.exp (cp_test_type_class): New function.
591 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
592 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
593 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
594 cp_test_ptype_class.
595
88e5ea78
MC
5962004-08-09 Michael Chastain <mec.gnu@mindspring.com>
597
598 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
599 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
600 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
601 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
602 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
603 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
604 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
605 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
606 gdb.mi/mi2-watch.exp: Update copyright years.
607
6a89fc9c
MK
6082004-08-09 Mark Kettenis <kettenis@gnu.org>
609
610 * gdb.base/sigaltstack.exp: Provide proper anchoring.
611
1482e0de
MC
6122004-08-09 Michael Chastain <mec.gnu@mindspring.com>
613
614 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
615 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
616 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
617 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
618 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
619 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
620 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
621 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
622 gdb.mi/mi-watch.exp: Update copyright years.
623
1a5ce3f3
DJ
6242004-08-08 Daniel Jacobowitz <dan@debian.org>
625
626 PR gdb/1738
627 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
628 from a breakpoint with a pending signal.
629
04f6ecf2
DJ
6302004-08-08 Daniel Jacobowitz <dan@debian.org>
631
632 PR gdb/1736
633 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
634 * gdb.base/sigaltstack.exp (finish_test): Consume output until
635 the prompt.
636 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
637
54d90d35
DJ
6382004-08-08 Daniel Jacobowitz <dan@debian.org>
639
640 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
641
d2f6abb0
DJ
6422004-08-08 Daniel Jacobowitz <dan@debian.org>
643
644 PR gdb/1736
645 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
646 for i?86-*-linux*.
647
5598c03d
DJ
6482004-08-08 Daniel Jacobowitz <dan@debian.org>
649
650 * gdb.arch/i386-prologue.exp: Compile without debug information.
651
c6fee705
MC
6522004-08-08 Michael Chastain <mec.gnu@mindspring.com>
653
654 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
655 rather than asking gdb to search.
656
dd90efdb
MC
6572004-08-05 Michael Chastain <mec.gnu@mindspring.com>
658
659 * gdb.base/gcore.c: Include <string.h>.
660
1e84bec1
MC
6612004-08-05 Michael Chastain <mec.gnu@mindspring.com>
662
663 * gdb.base/gcore.c: Add copyright notice.
664
e425eb2b
MC
6652004-08-05 Michael Chastain <mec.gnu@mindspring.com>
666
667 * gdb.base/freebpcmd.c: Include <stdio.h>.
668 * gdb.base/long_long.c: Include <string.h>.
669 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
670 * gdb.base/siginfo.c: Include <string.h>.
671 * gdb.base/sigstep.c: Include <string.h>.
672
cb9aaed5
MC
6732004-08-04 Michael Chastain <mec.gnu@mindspring.com>
674
675 * gdb.base/complex.c: Include <stdlib.h>.
676
55944f3d
MC
6772004-08-04 Michael Chastain <mec.gnu@mindspring.com>
678
679 * gdb.base/complex.c: Add copyright notice.
680
7b2953d9
MC
6812004-08-04 Michael Chastain <mec.gnu@mindspring.com>
682
683 * gdb.base/charset.c: Include <stdlib.h>.
684
c9133d23
MC
6852004-08-04 Michael Chastain <mec.gnu@mindspring.com>
686
687 * gdb.base/auxv.c: Include <stdlib.h>.
688
0a8490ad
MC
6892004-08-04 Michael Chastain <mec.gnu@mindspring.com>
690
691 * gdb.base/auxv.c: Add copyright notice.
692
3426d5ec
MC
6932004-08-04 Michael Chastain <mec.gnu@mindspring.com>
694
695 * gdb.base/coremaker.c: Add copyright notice.
696 * gdb.base/coremaker2.c: Add copyright notice.
697
8da195dd
AC
6982004-08-04 Andrew Cagney <cagney@gnu.org>
699
700 * gdb.base/store.exp: Update copyright.
701 (check_set, up_set, check_struct, up_struct): Add a prefix to test
702 names, do not import gdb_prompt.
703
8d394f98
AC
7042004-08-01 Andrew Cagney <cagney@gnu.org>
705
706 Fix PR testsuite/1729.
707 * gdb.base/dump.exp: Add test name to callers of capture_value, do
708 not use capture_value with value 4.
709 (capture_value): Add optional test name parameter.
710 (test_reload_saved_value, test_restore_saved_value): Use $msg as
711 the prefix, pass to capture_value.
712
b6702b23
MK
7132004-08-01 Mark Kettenis <kettenis@gnu.org>
714
715 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
716 * gdb.arch/i386-prologue.c (standard): New prototype and function.
717 (main): Call new function.
718
c203e0ca
MC
7192004-07-31 Michael Chastain <mec.gnu@mindspring.com>
720
721 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
722
a7995a30
MC
7232004-07-31 Michael Chastain <mec.gnu@mindspring.com>
724
725 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
726
9366563b
MC
7272004-07-31 Michael Chastain <mec.gnu@mindspring.com>
728
b6eeaf26 729 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
730 Accept more values of vtbl pointer. Remove some messages
731 about "obsolete gcc or gdb".
732
2fc1f950
MC
7332004-07-30 Michael Chastain <mec.gnu@mindspring.com>
734
735 * gdb.cp/classes.exp: Accept more varieties of ptype output.
736
c724d49b
MC
7372004-07-30 Michael Chastain <mec.gnu@mindspring.com>
738
739 * gdb.base/asm-source.exp: Properly convert target board
740 debug flags from gcc format to binutils format.
741
736b0fce
MK
7422004-07-28 Mark Kettenis <kettenis@gnu.org>
743
744 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
745 gdb1718". PR backtrace/1718 partially fixed.
746
5633ea5c
JJ
7472004-07-27 Jeff Johnston <jjohnstn@redhat.com>
748
749 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
750
575eebb1
NC
7512004-07-26 Nick Clifton <nickc@redhat.com>
752
753 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
754 good default value for a specific architecture is available then
755 set it to that value. Otherwise default to the -gstabs switch.
756 Remove the -g... switches from the asm-flags variable. Allow the
757 target board info to override the value if it wants to. Pass the
758 switch on the assembler command line.
759
62104619
MK
7602004-07-23 Mark Kettenis <kettenis@gnu.org>
761
762 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
763 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
764 (main): Call new function.
765
4a1135b8
MC
7662004-07-22 Michael Chastain <mec.gnu@mindspring.com>
767
768 Test for PR exp/1715.
769 * gdb.base/radix.exp: Refactor common procedures. Make all
770 test names unique. Change XFAIL to KFAIL.
771
8a12c1f0
MC
7722004-07-20 Michael Chastain <mec.gnu@mindspring.com>
773
774 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
775 * gdb.ada/gnat_ada.gin: ... to here.
776 * configure.in: Use gnat_ada.gin.
777 * configure: Regenerate.
778
23b451cf
AC
7792004-07-20 Andrew Cagney <cagney@gnu.org>
780
781 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
782 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
783 XFAILs. Clean up test messages and comments. Check backtraces.
784 Delete re-sync code.
785
ab618a02
MC
7862004-07-19 Michael Chastain <mec.gnu@mindspring.com>
787
788 Fix PR cli/740.
789 * gdb.base/annota1.exp: Honor gdb,nosignals.
790 * gdb.base/annota3.exp: Likewise.
791
46dad340
MC
7922004-07-19 Michael Chastain <mec.gnu@mindspring.com>
793
794 * lib/java.exp: Update copyright notice.
795
756d8c70
AC
7962004-07-19 Andrew Cagney <cagney@gnu.org>
797
798 * gdb.base/selftest.exp: Copy file from here ...
799 * gdb.gdb/selftest.exp: ... to here.
800
586027e6
AC
8012004-07-16 Andrew Cagney <cagney@redhat.com>
802
803 * lib/insight-support.exp: Delete file.
804 * lib/java.exp (java_init): Fix copyright.
805
029d2200
AC
8062004-07-16 Andrew Cagney <cagney@gnu.org>
807
808 * gdb.base/restore.c: Append "prologue" to comments marking the a
809 function's prologue.
810 * gdb.base/restore.exp: Update copyright, re-indent.
811 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
812 callerN" prefix where needed. Update patterns that match a
813 function's prologue.
814
653b62c5
MC
8152004-07-16 Michael Chastain <mec.gnu@mindspring.com>
816
817 * gdb.base/restore.c: Add copyright notice.
818
f7d690e5
AC
8192004-07-16 Andrew Cagney <cagney@gnu.org>
820
821 * gdb.base/logical.exp: Update copyright.
822 (evaluate): New procedure. Use to re-implement tests using
823 several tables.
824
d629a7cb
MH
8252004-07-14 Martin Hunt <hunt@redhat.com>
826
827 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
828 which fixes some problems where init.tcl was not found.
829
9c7bb332
AC
8302004-07-13 Andrew Cagney <cagney@gnu.org>
831
6bf46641
AC
832 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
833 (check_sizeof, check_valueof): Do not include the output in the
834 test name. Use gdb_test.
835 (get_valueof): Use gdb_test_multiple.
836
c4ffd4c0
AC
837 * gdb.base/step-test.exp: Update copyright. Use
838 gdb_test_multiple. Ensure that test names do not include
839 architecture dependent output.
840
ab89363a
AC
841 * gdb.gdb/observer.exp: Update copyright.
842 (setup_test): Use gdb_test_multiple.
843 (attach_first_observer, attach_second_observer)
844 (attach_third_observer, detach_first_observer)
845 (detach_second_observer, detach_third_observer)
846 (reset_counters, check_counters): Make $message a prefix.
847 (test_normal_stop_notifications): Add "args" parameter - a list of
848 init functions to be called. Make $message a prefix,
849 (test_observer_normal_stop): Change the message prefixes so that
850 they are unique, pass the attach / detach procedures to
851 test_normal_stop_notifications.
852
ec58997a
AC
853 * gdb.base/signull.exp (test_segv): Prefix all tests with
854 "${name}". Clean up test messages.
855
b475183b
AC
856 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
857
9c7bb332
AC
858 * gdb.base/ena-dis-br.exp: Update copyright.
859 (break_at): New function. Replace send_gdb with gdb_test,
860 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
861 ignore count, not stopped at bpt", with KFAIL.
862
2dd95497
CV
8632004-07-13 Corinna Vinschen <vinschen@redhat.com>
864
865 * gdb.base/attach.exp: Remove cleanupfile handling.
866
419e626b
AC
8672004-07-12 Andrew Cagney <cagney@gnu.org>
868
869 * gdb.base/annota1.exp: Cleanup corefile test name.
870 * gdb.base/annota3.exp: Ditto.
871
8b1b3228
AC
8722004-07-12 Andrew Cagney <cagney@gnu.org>
873
78650829
AC
874 * gdb.base/signals.exp: Clean up copyright, re-indent.
875
8b1b3228
AC
876 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
877 gdb_test and gdb_test_multiple.
878
935c2760
JJ
8792004-07-08 Jeff Johnston <jjohnstn@redhat.com>
880
881 * gdb.java/jmain.exp: Fix expected line number for main to
882 break at. Set XFAIL for break at main test since gcj does not
883 provide line number info for first statement in main.
884
1544280f
AC
8852004-07-08 Andrew Cagney <cagney@gnu.org>
886
1279f4ff
AC
887 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
888
1544280f
AC
889 * gdb.base/sigbpt.exp: Make the common part of each test name a
890 prefix instead of suffix.
891
bcc82369
BR
8922004-07-07 Bob Rossi <bob_rossi@cox.net>
893
894 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
895 test from test_tbreak_creation_and_listing to
896 test_file_list_exec_source_file
897 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
898 Changed name of test from test_tbreak_creation_and_listing to
899 test_file_list_exec_source_file
900
23f4b0aa
JJ
9012004-07-07 Jeff Johnston <jjohnstn@redhat.com>
902
903 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
904 the jmisc() constructor instead of <init>.
905 * gdb.java/jmisc1.exp: Ditto.
906
56401cd5
AC
9072004-07-07 Andrew Cagney <cagney@gnu.org>
908
909 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
910 corrupting the PC.
911
44ae2f6a
MC
9122004-07-06 Michael Chastain <mec.gnu@mindspring.com>
913
914 * gdb.cp/templates.exp: Accept whitespace change in demangler
915 output.
916
45a83408
AC
9172004-07-06 Andrew Cagney <cagney@gnu.org>
918
919 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
920
d205ad70
MC
9212004-07-02 Michael Chastain <mec.gnu@mindspring.com>
922
923 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
924 * lib/compiler.cc: Likewise.
925
06ea1a61
MC
9262004-06-30 Michael Chastain <mec.gnu@mindspring.com>
927
928 * lib/compiler.cc: Work around string preprocessing problem
929 with old hp c++ compiler.
930 * lib/compiler.c: Likewise.
931
daab1251
CV
9322004-06-29 Corinna Vinschen <vinschen@redhat.com>
933
934 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
935 directives to conditionalize symbol prefixing.
936 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
937 additional_flags handling. Add underscore prefix for Cygwin.
938 * gdb.arch/i386-unwind.c: Use preprocessor directives to
939 conditionalize symbol prefixing.
940 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
941 additional_flags handling. Add underscore prefix for Cygwin.
942
cc984116
CV
9432004-06-29 Corinna Vinschen <vinschen@redhat.com>
944
945 * gdb.base/bigcore.exp: Skip test on Cygwin.
946
c279b077
MC
9472004-06-28 Michael Chastain <mec.gnu@mindspring.com>
948
949 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
950 formats for "info register". Use gdb_test_multiple. Fix
951 the "invalid register" test.
952
0e915747
CV
9532004-06-28 Corinna Vinschen <vinschen@redhat.com>
954
955 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
956 PID for Cygwin. Add Cygwin specific strings to check for in some
957 tests.
958 (do_attach_tests): Add a test for user interaction when attaching
959 to a process with no matching symbol table already loaded.
960
11422c86
AC
9612004-06-26 Andrew Cagney <cagney@gnu.org>
962
963 Test PR java/1567 and PR java/1565.
964 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
965 * gdb.java/jmisc2.exp: Delete file.
966
cefbce26
MC
9672004-06-26 Michael Chastain <mec.gnu@mindspring.com>
968
969 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
970
e19f872c
CV
9712004-06-25 Corinna Vinschen <vinschen@redhat.com>
972
973 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
974 attach process.
975
d931ba3b
MC
9762004-06-23 Michael Chastain <mec.gnu@mindspring.com>
977
978 * gdb.cp/pr-1553.exp: Remove.
979
aef68c48
MC
9802004-06-22 Michael Chastain <mec.gnu@mindspring.com>
981
982 * gdb.cp/pr-1553.cc: Remove.
983 * gdb.cp/pr-1553.exp: Disable this test.
984
8d5df71a
JB
9852004-06-20 Jim Blandy <jimb@redhat.com>
986
987 Fix PR testsuite/1680.
988 * gdb.arch/i386-sse.exp: Properly quote curly braces in
989 regular expressions.
990
4ac6f39d
MC
9912004-06-19 Michael Chastain <mec.gnu@mindspring.com>
992
993 Fix PR testsuite/1679.
994 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
995 Issue an UNSUPPORTED result instead.
996
1b413552
JB
9972004-06-18 Jim Blandy <jimb@redhat.com>
998
999 * gdb.base/charset.exp: Only send a control-C if we see a new
1000 prompt and incomplete command.
1001
6daa6ebd
MC
10022004-06-18 Michael Chastain <mec.gnu@mindspring.com>
1003
1004 * gdb.cp/pr-574.cc: Add copyright notice.
1005
51fa4ae0
JB
10062004-06-17 Jim Blandy <jimb@redhat.com>
1007
1008 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
1009 cases where the regexp has no groups; this grabs random text from
1010 the previous test suite, whatever that was.
1011
8fea26c5
MC
10122004-06-17 Michael Chastain <mec.gnu@mindspring.com>
1013
1014 * gdb.cp/printmethod.cc: Add copyright notice.
1015
1e3aeb41
MC
10162004-06-16 Michael Chastain <mec.gnu@mindspring.com>
1017
1018 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
1019
9d9030bc
AC
10202004-06-16 Andrew Cagney <cagney@gnu.org>
1021
1022 * gdb.base/signull.c: Update copyright. Include <string.h>.
1023 (bowler): Replace data_pointer with data_read
1024 and data_write cases. Add code_descriptor case.
1025 (zero, desc): New array and pointer.
1026 (data, code): Change to simple pointers.
1027 * gdb.base/signull.exp: Fix probe pattern matching a function
1028 descriptor SIGSEGV. Replace data_pointer with data_read and
1029 data_write tests.
1030
acd4ad44
AC
10312004-06-16 Andrew Cagney <cagney@gnu.org>
1032
1033 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
1034
08fd625c
MC
10352004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1036
1037 * gdb.base/long_long.c: Add copyright notice.
1038
1903502c
MC
10392004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1040
1041 * gdb.base/long_long.exp: Remove reference to
1042 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
1043 to gdb_breakpoint and gdb_continue_to_breakpoint.
1044
83313cb1
JB
10452004-06-14 Jim Blandy <jimb@redhat.com>
1046
1047 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
1048 endian case.
1049
1bf404ef
AC
10502004-06-14 Andrew Cagney <cagney@gnu.org>
1051
1052 * gdb.base/gcore.exp (capture_command_output): Delete the always
1053 passing tests containing inferior values.
1054 * gdb.base/ending-run.exp: Do not include the breakpoint address
1055 in the test message. Update copyright.
1056 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
1057 size in the test name, use gdb_test_multiple. Update copyright.
1058
ef220b33
MC
10592004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1060
1061 * gdb.cp/ref-types.cc: Add copyright notice.
1062
4f70a4c9
MC
10632004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1064
1065 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
1066 hp_aCC_compiler.
1067 * lib/compiler.cc: Likewise.
1068 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
1069 'set' commands. Log diagnostics for other lines. Set
1070 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
1071
335928ac
MC
10722004-06-13 Michael Chastain <mec.gnu@mindspring.com>
1073
1074 * gdb.cp/try_catch.cc: Add copyright notice.
1075
2efb12e8
MC
10762004-06-12 Michael Chastain <mec.gnu@mindspring.com>
1077
1078 * gdb.cp/userdef.cc: Add copyright notice.
1079
0bbed51a
MC
10802004-06-11 Michael Chastain <mec.gnu@mindspring.com>
1081
1082 * gdb.cp/virtfunc.cc: Add copyright notice.
1083
e12a46c9
RC
10842004-06-11 Randolph Chung <tausq@debian.org>
1085
1086 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
1087 problem.
1088
338e05af
AC
10892004-06-10 Andrew Cagney <cagney@gnu.org>
1090
1091 * lib/compiler.cc, lib/compiler.c: Append either
1092 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
1093 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
1094 instead of gcc-3-3.
1095
dc3f10cb
AC
10962004-06-09 Andrew Cagney <cagney@gnu.org>
1097
b4d946af
AC
1098 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
1099 gdb/1455, bug is specific to "long long" and "double".
1100
dc3f10cb
AC
1101 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
1102 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
1103 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
1104 fixed.
1105
b5c0bfa2
AC
11062004-06-09 Andrew Cagney <cagney@gnu.org>
1107
1108 * gdb.base/structs.exp (test_struct_returns): Replace
1109 "return_value_unknown" and "finish_value_unknown" by
1110 "return_value_known" and "finish_value_known". Instead of
1111 "return_value_unknown" iff "finish_value_unknown", check
1112 "return_value_known" implies "finish_value_known".
1113
caeb605f
MH
11142004-06-08 Martin Hunt <hunt@redhat.com>
1115
1116 * gdb.base/float.exp: Add pattern for mips targets.
1117
c892bb64
RC
11182004-06-08 Randolph Chung <tausq@debian.org>
1119
1120 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
1121 message for unknown architectures more clear.
1122
48306d3e
JB
11232004-06-08 Joel Brobecker <brobecker@gnat.com>
1124
1125 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
1126 start the execution of the program.
1127
83ecb59f
JB
11282004-06-07 Jim Blandy <jimb@redhat.com>
1129
1130 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
1131 * gdb.arch/i386-cpuid.h: New helper file.
1132
55264cb4
RC
11332004-06-07 Randolph Chung <tausq@debian.org>
1134
1135 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
1136 has started.
1137
23cadb28
RM
11382004-06-04 Roland McGrath <roland@redhat.com>
1139
1140 Fix PR gdb/1647.
1141 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
1142 differently to be robust to output buffering differences.
1143
51d01eda
MC
11442004-06-04 Michael Chastain <mec.gnu@mindspring.com>
1145
1146 * gdb.threads/pthreads.exp: Update copyright years.
1147 (check_control_c): Change asynchronous 'after' to synchronous.
1148
f4fc3b93
RM
11492004-06-04 Roland McGrath <roland@redhat.com>
1150
1151 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
1152 next gdb prompt.
1153
4013522b
MC
11542004-06-02 Michael Chastain <mec.gnu@mindspring.com>
1155
1156 Fix PR gdb/1636.
1157 * gdb.threads/manythreads.exp: Change asynchronous 'after'
1158 calls to synchronous.
1159
7a8f1e6b
JB
11602004-05-26 Jim Blandy <jimb@redhat.com>
1161
1162 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
1163
81bb3443
RC
11642004-05-24 Randolph Chung <tausq@debian.org>
1165
1166 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
1167 * gdb.asm/pa.inc: New file.
1168
8f5a3103
MK
11692004-05-22 Mark Kettenis <kettenis@gnu.org>
1170
1171 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
1172
734b8fe8
JB
11732004-05-21 Joel Brobecker <brobecker@gnat.com>
1174 Daniel Jacobowitz <drow@mvista.com>
1175
1176 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
1177 GDB prompt.
1178
725603e1
UW
11792004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1180
f4fc3b93 1181 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
1182 setjmp/longjmp. Use sigaction instead of signal.
1183
8b923272
JB
11842004-05-19 J. Brobecker <brobecker@gnat.com>
1185 Michael Snyder <msnyder@redhat.com>
1186
1187 * gdb.threads/pthread_cond_wait.c: New file.
1188 * gdb.threads/pthread_cond_wait.exp: New testcase.
1189
8bfabb04
AC
11902004-05-13 Andrew Cagney <cagney@redhat.com>
1191
1192 * gdb.base/signull.exp, gdb.base/signull.c: New files.
1193 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
1194
42edda50
AC
11952004-05-11 Andrew Cagney <cagney@redhat.com>
1196
1197 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
1198 fixed but revealed gdb/1639.
1199
d303a6c7
AC
12002004-05-10 Andrew Cagney <cagney@redhat.com>
1201
1202 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
1203 func1" and "next to 2nd alarm", kernel bug avoided.
1204
bf08c2a1
DJ
12052004-05-10 Daniel Jacobowitz <dan@debian.org>
1206
1207 PR external/1568
1208 * gdb.base/bigcore.exp: Check the size of the dumped core file.
1209 XFAIL if it is smaller than bytes_allocated.
1210 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
1211 (main): Make chunks_allocated unsigned. Correct comment.
1212
c0586a34
JB
12132004-05-07 Joel Brobecker <brobecker@gnat.com>
1214
1215 * gdb.arch/powerpc-aix-prologue.c: New file.
1216 * gdb.arch/powerpc-aix-prologue.exp: New file.
1217
f2785d12
JB
12182004-05-07 Jim Blandy <jimb@redhat.com>
1219
1220 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
1221 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
1222
bd7f6e30
JB
12232004-05-06 Joel Brobecker <brobecker@gnat.com>
1224
1225 * gdb.base/sep.exp: No longer setup_kfail when the program was
1226 built with dwarf2.
1227
0a5e7efe
JI
12282004-05-05 Jim Ingham <jingham@apple.com>
1229
1230 * gdb.base/pending.exp: Make sure pending breakpoints
1231 preserve the ignore count.
f4fc3b93 1232
a8958849
MK
12332004-04-27 Jerome Guitton <guitton@gnat.com>
1234
1235 * i386-prologue.exp: Add testcase for jump instruction as first
1236 instruction of the real code.
1237 * i386-prologue.c (jump_at_beginning): New function.
1238
7e103f5b
MK
12392004-04-28 Mark Kettenis <kettenis@gnu.org>
1240
1241 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
1242 x86_64-*-*.
1243
5d38b224
MK
12442004-04-28 Mark Kettenis <kettenis@gnu.org>
1245
1246 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
1247 i*86-*-*.
1248
0ef32fd9
MK
12492004-04-25 Mark Kettenis <kettenis@gnu.org>
1250
1251 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
1252 expression that checks the return type.
1253
71d7dd7c
AC
12542004-04-23 Andrew Cagney <cagney@redhat.com>
1255
1256 * gdb.base/call-sc.exp: New test of scalar call/return values.
1257 * gdb.base/call-sc.c: Ditto.
1258
1e9f977e
JJ
12592004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1260
1261 * gdb.threads/manythreads.c: Reduce thread stack size.
1262
899d9e3a
JJ
12632004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1264
1265 * gdb.threads/manythreads.c: Add copyright notice.
1266
61bcae62
AC
12672004-04-23 Andrew Cagney <cagney@redhat.com>
1268
1269 * gdb.base/siginfo.exp: Better handle step out of signal.
1270 * gdb.base/sigstep.exp: Ditto.
1271
7339a42e
JJ
12722004-04-22 Jeff Johnston <jjohnstn@redhat.com>
1273 Daniel Jacobowitz <drow@mvista.com>
1274
1275 * gdb.threads/manythreads.c: New testcase.
1276 * gdb.threads/manythreads.exp: Ditto.
1277
5c98409b
JB
12782004-04-22 Jim Blandy <jimb@redhat.com>
1279
1280 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
1281 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
1282
3b611f1a
MC
12832004-04-21 Michael Chastain <mec.gnu@mindspring.com>
1284
1285 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
1286
f0fd9238
AC
12872004-04-21 Andrew Cagney <cagney@redhat.com>
1288
1289 * gdb.base/sigstep.c: New file.
1290 * gdb.base/sigstep.exp: New file.
1291
90990674
JB
12922004-04-16 Joel Brobecker <brobecker@gnat.com>
1293
1294 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
1295 call to observer_notify_normal_stop.
1296
78cef34b
AC
12972004-04-15 Andrew Cagney <cagney@redhat.com>
1298
1299 * gdb.base/siginfo.c: New file.
1300 * gdb.base/siginfo.exp: New file.
1301
d2343407
JB
13022004-04-12 J. Brobecker <brobecker@gnat.com>
1303
1304 * gdb.base/sep.exp: Fix typo in comment.
1305
a2dba3c8
JB
13062004-04-12 J. Brobecker <brobecker@gnat.com>
1307
1308 * gdb.base/sep.c: New file.
1309 * gdb.base/sep-proc.c: New file.
1310 * gdb.base/sep.exp: New testcase.
1311
15f7b60e
MK
13122004-04-09 Mark Kettenis <kettenis@gnu.org>
1313
1314 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
1315 support.
1316
44f4de1a
AC
13172004-04-05 Andrew Cagney <cagney@redhat.com>
1318
1319 * gdb.base/sigaltstack.c: New file.
1320 * gdb.base/sigaltstack.exp: New file.
1321
ef04f396
JB
13222004-04-04 Joel Brobecker <brobecker@gnat.com>
1323
1324 * gdb.base/foll-fork.exp: Update the expected output for
1325 "help set follow-fork-mode", to match a change that was made
1326 to the help of this variable on 2004-01-13.
1327
d40d2c92
JB
13282004-04-01 Joel Brobecker <brobecker@gnat.com>
1329
1330 * lib/ada.exp: Add copyright notice.
1331 * bar.ads: Likewise.
1332 * bar.adb: Likewise.
1333 * null_record.adb: Likewise.
1334 * null_record.exp: Likewise.
1335 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
1336
f86ef5a3
JB
13372004-04-01 Joel Brobecker <brobecker@gnat.com>
1338
1339 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
1340 * configure: Regenerate.
1341
414e70e3
JB
13422004-04-01 Joel Brobecker <brobecker@gnat.com>
1343
1344 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
1345 to build the application. Remove the message printed when in
1346 verbose mode, redundant with the UNSUPPORTED message above.
1347
f0aaee49
JB
13482004-03-31 Joel Brobecker <brobecker@gnat.com>
1349
1350 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
1351 * gdb.ada (null_record.exp): New testcase.
1352
ac81cb54
JB
13532004-03-31 Joel Brobecker <brobecker@gnat.com>
1354
1355 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
1356
854af2f7
JB
13572004-03-31 Joel Brobecker <brobecker@gnat.com>
1358
1359 * gdb.ada: New subdirectory.
1360 * gdb.ada/Makefile.in: New file.
1361 * gdb.ada/gnat_ada.gpr.in: New file.
1362
034cb681
JB
13632004-03-31 Joel Brobecker <brobecker@gnat.com>
1364
1365 * lib/ada.exp: New file.
1366
78a1a894
DJ
13672004-03-24 Daniel Jacobowitz <drow@mvista.com>
1368
1369 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
1370 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
1371
4b2b3b3e
AC
13722004-03-22 Andrew Cagney <cagney@redhat.com>
1373
1374 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
1375 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
1376 Problem identified by Ulrich Weigand.
1377
23c73aa3
DC
13782004-03-17 David Carlton <carlton@kealia.com>
1379
1380 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
1381 PR c++/826.
1382
d63a86f8
RM
13832004-03-16 Roland McGrath <roland@redhat.com>
1384
1385 * gdb.base/auxv.exp: New file.
1386 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
1387
0e02aa50
DC
13882004-03-12 David Carlton <carlton@kealia.com>
1389
1390 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
1391 * gdb.cp/pr-1553.cc: Ditto.
1392 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
1393 pass branch.
1394
c20b71be
MC
13952004-03-12 Michael Chastain <mec.gnu@mindspring.com>
1396
1397 * gdb.cp/templates.exp: Accept more template types.
1398
c7414a01
MC
13992004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1400
1401 From Corinna Vinschen with modifications.
1402 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
1403 local variable obj_with_enum.
1404 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
1405 results with obj_with_enum.
1406
ed69573c
MC
14072004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1408
1409 * gdb.cp/classes.cc: New file, copied from misc.cc.
1410 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
1411
28301461
MC
14122004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1413
1414 * gdb.cp/misc.cc: Add copyright notice.
1415
1198ecbe
DC
14162004-03-05 David Carlton <carlton@kealia.com>
1417
1418 * gdb.cp/rtti.exp: Add 'print *obj3' test.
1419 * gdb.cp/rtti.h: Update copyright.
1420 (namespace n2::n3): New.
1421 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
1422 (n2::n3::func3): New.
1423 (main): Call n2::n3::func3.
1424 * gdb.cp/rtti2.cc: Update copyright.
1425 (n2::create3): New.
1426
9e08c470
MK
14272004-03-04 Mark Kettenis <kettenis@gnu.org>
1428
1429 * gdb.asm/openbsd.inc: Fix typo.
1430
4bebc3aa
FF
14312004-03-03 Fred Fish <fnf@redhat.com>
1432
1433 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
1434 "val" instead of unused "size". Update copyright year.
1435
6ea9fb37
DJ
14362004-02-29 Daniel Jacobowitz <drow@mvista.com>
1437
1438 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
1439 to use unsigned char.
1440 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
1441 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
1442
23b23974
DJ
14432004-02-29 Daniel Jacobowitz <drow@mvista.com>
1444
1445 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
1446 line of output.
1447
7574fd53
DJ
14482004-02-28 Daniel Jacobowitz <drow@mvista.com>
1449
1450 * gdb.base/relocate.c (dummy): Initialize.
1451
a195357f
DJ
14522004-02-28 Daniel Jacobowitz <drow@mvista.com>
1453
1454 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
1455 a breakpoint at exit.
1456
72fd54a9
FF
14572004-02-27 Fred Fish <fnf@redhat.com>
1458
1459 * gdb.base/chng-syms.exp: Add expect condition to match failing
1460 case that isn't a timeout.
1461
b9d23137
AC
14622004-02-27 Andrew Cagney <cagney@redhat.com>
1463
1464 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
1465 support.
1466
15d208f6 14672004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 1468
15d208f6
FF
1469 * gdb.arch/gdb1431.c: Remove.
1470 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
1471 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
1472 of "until" incorrectly.
1473
98f9cd2d
JB
14742004-02-26 J. Brobecker <brobecker@gnat.com>
1475
1476 * gdb.cp/class2.cc (empty): New class.
1477 (refer): New function.
1478 (main): Declare an object of type empty and use it.
1479 * gdb.cp/class2.exp: Print the value of an object of type empty.
1480
9b50c11b
JJ
14812004-02-26 Jeff Johnston <jjohnstn@redhat.com>
1482
1483 * gdb.base/langs.exp: Update query string to match the
1484 new nquery format used for pending breakpoints.
1485
0dcd613f
AC
14862004-02-26 Andrew Cagney <cagney@redhat.com>
1487
1488 Fix PR i18n/1570.
1489 * gdb.base/charset.c: Update copyright notice.
1490 (main, init_string): Remove the escape character '\e' tests.
1491 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
1492 * gdb.base/charset.exp (valid_host_charset): Ditto.
1493 * gdb.base/setvar.exp: Ditto.
1494
b8a56647
AC
14952004-02-24 Andrew Cagney <cagney@redhat.com>
1496
90d59e34
AC
1497 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
1498 mmapped data in core file" PASS and FAIL messages consistent.
1499
b8a56647
AC
1500 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
1501 setting a breakpoint. Work around PR java/1565.
1502
9f27c604
JJ
15032004-02-23 Jeff Johnston <jjohnstn@redhat.com>
1504
1505 * lib/gdb.exp (gdb_breakpoint): Update query string to match
1506 new nquery format.
1507 * gdb.base/pending.exp: Ditto.
1508
3224a706
MK
15092004-02-22 Mark Kettenis <kettenis@gnu.org>
1510
1511 * configure.in: Run stabs tests on *BSD.
1512 * configure: Regenerated.
1513
41e0a9ca
MK
15142004-02-21 Mark Kettenis <kettenis@gnu.org>
1515
1516 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
1517
1e1b3428
FF
15182004-02-20 Fred Fish <fnf@redhat.com>
1519
1520 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
1521 blank in test for "returns short", for consistency with other
1522 "returns xxx" tests. Update copyright year.
1523
f9a7572a
FF
15242004-02-19 Fred Fish <fnf@redhat.com>
1525
1526 New testcase for PR breakpoint/1558.
1527 * gdb.arch/gdb1558.exp: New file.
1528 * gdb.arch/gdb1558.c: New file.
1529
b2ce2854
EZ
15302004-02-19 Elena Zannoni <ezannoni@redhat.com>
1531
1532 * gdb.base/nodebug.exp: Fix typo.
1533
e7c9ff01
JB
15342004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1535
1536 Committed by Jim Blandy <jimb@redhat.com>.
1537
62f4b920
JB
1538 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
1539
2db536a1
JB
1540 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
1541
e7c9ff01
JB
1542 * gdb.base/float.exp: Support s390*-*-* targets.
1543
f3205b34
AF
15442004-02-17 Adam Fedor <fedor@gnu.org>
1545
1546 * gdb.base/gdb1555.exp: New file.
1547 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
1548
9d62932d
EZ
15492004-02-17 Elena Zannoni <ezannoni@redhat.com>
1550
1551 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
1552
344c9711
FF
15532004-02-16 Fred Fish <fnf@redhat.com>
1554
1555 * gdb.arch/gdb1291.c: Remove
1556 * gdb.arch/gdb1291.s: New test input file.
1557 * gdb.arch/gdb1291.exp: Expand test to check case that should not
1558 fail. Test for correct result, known incorrect result, other
1559 failures and timeouts.
1560
2d822687
AC
15612004-02-16 Andrew Cagney <cagney@redhat.com>
1562
1563 * gdb.base/bigcore.exp: New file.
1564 * gdb.base/bigcore.c: New file.
1565
dac15b66
AC
15662004-02-13 Andrew Cagney <cagney@redhat.com>
1567
1568 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
1569 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
1570 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
1571 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
1572 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
1573 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
1574 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
1575 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
1576 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
1577 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
1578
6bdfc2c4
JJ
15792004-02-11 Jeff Johnston <jjohnstn@redhat.com>
1580
1581 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
1582 executed is an alloc instruction.
1583
87b3ede8
DC
15842004-02-11 David Carlton <carlton@kealia.com>
1585
1586 * gdb.cp/breakpoint.exp: New.
1587 * gdb.cp/breakpoint.cc: New.
1588
6e19e2bf
MC
15892004-02-11 Michael Chastain <mec.gnu@mindspring.com>
1590
1591 Partial fix for PR gdb/1543.
1592 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
1593 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
1594 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
1595 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
1596 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
1597 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
1598 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
1599 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
1600 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
1601 to bug-gdb@prep.ai.mit.edu .
1602 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
1603 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
1604 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
1605 Likewise.
1606
5c5455dc
AC
16072004-02-10 Andrew Cagney <cagney@redhat.com>
1608
1609 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
1610 using gdb_internal_error_resync.
1611
9cf689d7
DJ
16122004-02-09 Daniel Jacobowitz <drow@mvista.com>
1613
1614 * gdb.threads/thread-specific.exp: Stop early if no threads are
1615 found.
1616
d2dc51db
MC
16172004-02-09 Michael Chastain <mec.gnu@mindspring.com>
1618
1619 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
1620
14b1a056
DJ
16212004-02-08 Daniel Jacobowitz <drow@mvista.com>
1622
1623 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
1624 breakpoints.
1625
83f66e8f
DJ
16262004-02-07 Daniel Jacobowitz <drow@mvista.com>
1627
1628 * config/sim.exp (gdb_load): Handle $arg == "".
1629 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
1630 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
1631
30fc0091
EZ
16322004-02-07 Elena Zannoni <ezannoni@redhat.com>
1633
1634 * gdb.base/maint.exp: Update test to reflect
1635 obstack changes.
1636
4d806929
JJ
16372004-02-04 Jeff Johnston <jjohnstn@redhat.com>
1638
1639 * gdb.base/pendshr.c (pendfunc): New function that calls
1640 pendfunc1.
1641 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
1642
7bfdd688
FF
16432004-02-04 Fred Fish <fnf@redhat.com>
1644
1645 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
1646 function symbols and update copyright years.
1647 * gdb.arch/gdb1291.c: Ditto.
1648
aaa08ee4
MC
16492004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1650
1651 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
1652
dbad7755
MC
16532004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1654
1655 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
1656
ec4646ef
MC
16572004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1658
1659 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
1660
1b802196
FF
16612004-02-02 Fred Fish <fnf@redhat.com>
1662
1663 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
1664 remote targets. Update copyright years.
1665
18fe2033
JJ
16662004-02-02 Jeff Johnston <jjohnstn@redhat.com>
1667
1668 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
1669 support.
1670 * gdb.base/langs.exp: Fix test which attempts to create
1671 breakpoint on non-existent function to handle new pending
1672 support.
1673 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
1674 a breakpoint.
1675 * gdb.base/pending.exp: New test.
1676 * gdb.base/pending.c: New file.
1677 * gdb.base/pendshr.c: Ditto.
1678
8d577d32
DC
16792004-02-02 David Carlton <carlton@kealia.com>
1680
1681 * gdb.cp/overload.exp: Add overloadNamespace tests.
1682 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
1683 (overloadNamespace, XXX): New.
1684 (main): Call XXX::marker2.
1685
3ad13771
FF
16862004-02-01 Fred Fish <fnf@redhat.com>
1687
1688 * gdb.base/dump.exp: Use runto_main instead of "runto main".
1689 * gdb.base/finish.exp: Ditto.
1690 * gdb.base/gcore.exp: Ditto.
1691 * gdb.base/huge.exp: Ditto.
1692 * gdb.base/info-proc.exp: Ditto.
1693 * gdb.base/return2.exp: Ditto.
1694 * gdb.threads/gcore-thread.exp: Ditto.
1695
44c75849
DJ
16962004-02-01 Daniel Jacobowitz <drow@mvista.com>
1697
1698 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
1699
005bc093
MK
17002004-02-01 Mark Kettenis <kettenis@gnu.org>
1701
1702 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
1703 that opening the file succeeds on OpenBSD.
1704
c47cebdb
DJ
17052004-02-01 Daniel Jacobowitz <drow@mvista.com>
1706
1707 * gdb.threads/thread-specific.c: New file.
1708 * gdb.threads/threads-specific.exp: New test script.
1709 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
1710 to expect_out.
1711
5a01311c
MK
17122004-02-01 Mark Kettenis <kettenis@gnu.org>
1713
1714 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
1715 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
1716 only on the "print_small_structs from print_long_arg_list" test.
1717
ce22a4f1
DJ
17182004-02-01 Daniel Jacobowitz <drow@mvista.com>
1719
1720 * gdb.base/completion.exp: Kill a stray backslash.
1721
1722 From Jim Ingham <jingham@apple.com>:
1723 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
1724 agrees with the result from sending a tab.
1725
abbab9d3
DJ
17262004-01-31 Daniel Jacobowitz <drow@mvista.com>
1727
1728 * gdb.base/chng-syms.exp: Remove stray newline.
1729
53904d1e
MK
17302004-01-31 Mark Kettenis <kettenis@gnu.org>
1731
1732 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
1733 *-*-openbsd*.
1734 * gdb.asm/openbsd.inc: New file.
1735
3a4b3aac
MK
17362004-01-30 Mark Kettenis <kettenis@gnu.org>
1737
1738 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
1739 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
1740 *-*solaris2*. Remove commented out default settings for
1741 asm-flags. Replace gdb_compile with target_link.
1742
ebac27b4
MC
17432004-01-29 Michael Chastain <mec.gnu@mindspring.com>
1744
1745 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
1746 for all tests. Remove old hp-ux and cygnus xfail cases.
1747
d8679d84
PH
17482004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
1749
1750 * gdb.base/chng-syms.exp: New file.
1751 * gdb.base/chng-syms.c: New file.
1752
0a55bc22
MC
17532004-01-24 Michael Chastain <mec.gnu@mindspring.com>
1754
1755 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
1756 Provide arms for current output in all my configurations.
1757
94b8e876
MC
17582004-01-24 Michael Chastain <mec.gnu@mindspring.com>
1759
1760 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
1761 * lib/compiler.cc: Likewise.
1762 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
1763 get the right preprocessor. Eval the output directly. Remove
1764 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
1765 hp_f77_compiler and hp_f90_compiler completely.
1766 (gdb_preprocess): Delete.
1767 (get_compiler): Delete.
1768
7cf03d44
MK
17692004-01-24 Mark Kettenis <kettenis@gnu.org>
1770
1771 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
1772 <string.h>.
1773
68b6dce9
NR
17742004-01-24 Nick Roberts <nick@nick.uklinux.net>
1775
1776 * gdb.mi/mi-stack.exp: Update copyright.
1777
b368761e
DC
17782004-01-23 David Carlton <carlton@kealia.com>
1779
1780 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
1781 test for cp_lookup_transparent_type.
1782 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
1783 call them.
1784
f2061b53
DJ
17852004-01-23 Daniel Jacobowitz <drow@mvista.com>
1786
1787 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
1788 after -var-update.
1789
37fc574a
DC
17902004-01-23 David Carlton <carlton@kealia.com>
1791
1792 * gdb.cp/namespace.cc (C::ensureRefs): New.
1793 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
1794
8e94b928
NR
17952004-01-20 Nick Roberts <nick@nick.uklinux.net>
1796
1797 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
1798 case "-stack-list-locals 2".
1799 * gdb.mi/mi-var-child.exp: Test for case
1800 "-var-list-children --all-values NAME".
1801
997b0952
MC
18022004-01-18 Michael Chastain <mec.gnu@mindspring.com>
1803
1804 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
1805
52470da3
MK
18062004-01-18 Mark Kettenis <kettenis@gnu.org>
1807
7049b4b8
MK
1808 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
1809 used with gdb_test_multiple.
1810
52470da3
MK
1811 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
1812 read at address 0. This fixes PR testsuite/1504.
1813
da6012e5
DJ
18142004-01-18 Daniel Jacobowitz <drow@mvista.com>
1815
1816 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
1817 Remove downloading, guessing the host executable, the calls to
1818 gdb_file_cmd and gdb_target_cmd, and "load" support.
1819 (infer_host_exec): New function broken out from gdb_load.
1820 (gdb_load): New wrapper for gdbserver_gdb_load.
1821 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
1822 gdb_target_cmd. Use -target-select.
1823 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
1824 Download binaries to the host. Clear last_mi_remote_file when
1825 we load a new binary.
1826 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
1827 call gdbserver_gdb_load and mi_gdb_target_cmd.
1828
32c70722
MC
18292004-01-17 Michael Chastain <mec.gnu@mindspring.com>
1830
1831 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
1832 type patterns.
1833
b0cecf36
MC
18342004-01-17 Michael Chastain <mec.gnu@mindspring.com>
1835
1836 * gdb.cp/templates.exp: Fix typo in test name of
1837 "print Foo<volatile char*>::foo".
1838
4120d7e6
MC
18392004-01-15 Michael Chastain <mec.gnu@mindspring.com>
1840
1841 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
1842
f679e530
BE
18432004-01-16 Ben Elliston <bje@wasabisystems.com>
1844
1845 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
1846 (clean mostlyclean): Remove empty rm.
1847
091c48f6
MC
18482004-01-15 Michael Chastain <mec.gnu@mindspring.com>
1849
1850 * gdb.base/setvar.exp: Add copyright years.
1851
3e5fc8d2
DC
18522004-01-14 David Carlton <carlton@bactrian.org>
1853
1854 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
1855 PR c++/1511 and update coment.
1856 * gdb.cp/templates.exp: Update patterns to match current output.
1857 If changes involve something other than whitespace, KFAIL
1858 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
1859
63d06c5c
DC
18602004-01-14 David Carlton <carlton@kealia.com>
1861
1862 * gdb.cp/namespace.exp: Add tests involving classes defined within
1863 namespaces.
1864 * gdb.cp/namespace.cc (C::CClass): New.
1865 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
1866
a51dab88
EZ
18672004-01-14 Elena Zannoni <ezannoni@redhat.com>
1868
1869 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
1870 what debug info we have. Print a better message if something goes
1871 wrong while producing the separate debug info file.
1872
a476ccc9
MC
18732004-01-14 Michael Chastain <mec.gnu@mindspring.com>
1874
1875 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
1876
f453692c
MC
18772004-01-14 Michael Chastain <mec.gnu@mindspring.com>
1878
1879 * gdb.base/callfuncs.c: Add copyright notice.
1880
f40063a5
MC
18812004-01-13 Michael Chastain <mec.gnu@mindspring.com>
1882
1883 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
1884 inheritance. PR gdb/1498, PR gcc/13539.
1885
19ac3974
EZ
18862004-01-13 Elena Zannoni <ezannoni@redhat.com>
1887
1888 * gdb.threads/gcore-thread.exp: Prefix name of binary with
1889 test specific name.
1890 * gdb.mi/gdb669.exp: Ditto.
1891 * gdb.mi/mi-pthreads.exp: Ditto.
1892 * gdb.mi/mi1-pthreads.exp: Ditto.
1893 * gdb.mi/mi2-pthreads.exp: Ditto.
1894
56c97c6e
MC
18952004-01-12 Michael Chastain <mec.gnu@mindspring.com>
1896
1897 * gdb.cp/member-ptr.cc: Add copyright notice.
1898
a0644324
MC
18992004-01-12 Michael Chastain <mec.gnu@mindspring.com>
1900
1901 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
1902 some patterns for recent versions of gcc and hpacc. Delete
1903 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
1904 Delete tests that access a NULL pointer-to-member-data. This
1905 script is still disabled for gcc.
1906
32fabe09
EZ
19072004-01-12 Elena Zannoni <ezannoni@redhat.com>
1908
1909 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
1910 escaped correctly.
1911
1f8a6abb
EZ
19122004-01-12 Elena Zannoni <ezannoni@redhat.com>
1913
1914 * gdb.base/sepdebug.exp: New file.
1915 * gdb.base/sepdebug.c: New file.
1916 * lib/gdb.exp (separate_debug_filename): New procedure.
1917 (gdb_gnu_strip_debug): New procedure.
1918
48efe704
AC
19192004-01-12 Andrew Cagney <cagney@redhat.com>
1920
1921 * gdb.mi/ChangeLog: Delete file. Renamed to ...
1922 * gdb.mi/ChangeLog-1999-2003: New file.
1923
a9415475
AC
19242004-01-12 Andrew Cagney <cagney@redhat.com>
1925
1926 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
1927 "Renaming a directory to a non-empty directory returns ENOTEMPTY
1928 or EEXIST", treat EBUSY as an XFAIL.
1929
83b8cf9d
MC
19302004-01-11 Michael Chastain <mec.gnu@mindspring.com>
1931
1932 * gdb.base/scope.exp: Remove obsolete setup_xfail for
1933 hp_cc_compiler.
1934
9939d2a8
MC
19352004-01-10 Michael Chastain <mec.gnu@mindspring.com>
1936
1937 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
1938 decorations.
1939
1ff8cadf
MC
19402004-01-10 Michael Chastain <mec.gnu@mindspring.com>
1941
1942 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
1943 and "(aCC)" decorations. Remove obsolete doco about old
1944 test results.
1945
6fa9022e
MC
19462004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1947
1948 * gdb.cp/exception.exp: Fix typo in doco.
1949
209721fe
MK
19502004-01-09 Mark Kettenis <kettenis@gnu.org>
1951
1952 * gdb.base/gdb1476.exp: Fix typo.
1953
ef11303e
MC
19542004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1955
1956 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
1957 file.
1958
041ab88c
MC
19592004-01-09 Michael Chastain <mec.gnu@mindspring.com>
1960
1961 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
1962 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
1963 Use gdb_compile. Remove restriction on gcc. Add some patterns
1964 for recent version of gdb. Delete second half, which was a copy
1965 of the first half with different build flags. This test is
1966 still disabled because it is still not ready for production.
1967
e36d075a
MC
19682004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1969
1970 * gdb.cp/exception.cc: Add copyright notice.
1971 * gdb.cp/exception.exp: Add a notice that this file is broken
1972 because of line number changes caused by addition of copyright
1973 notice.
1974
42b190ad
MC
19752004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1976
1977 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
1978 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
1979
8f25f06b
MC
19802004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1981
1982 * gdb.cp/classes.exp: Accept gnu abi 2.
1983 * gdb.cp/derivation.exp: Likewise.
1984 * gdb.cp/overload.exp: Likewise.
1985 * gdb.cp/virtfunc.exp: Likewise.
1986
06ded8b8
MC
19872004-01-08 Michael Chastain <mec.gnu@mindspring.com>
1988
1989 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
1990 semicolon after end of function.
1991
77c26ae3
MC
19922004-01-07 Michael Chastain <mec.gnu@mindspring.com>
1993
1994 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
1995 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
1996 boilerplate code for compiling and running the program under
1997 test. Add some string method tests.
1998
20757486
MC
19992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2000
2001 * gdb.cp/bs15503.cc: Add copyright notice.
2002 * gdb.cp/bs15503.exp: Adjust line number.
2003
0fd3b503
MC
20042004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2005
2006 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
2007 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
2008
10d1bea8
MC
20092004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2010
2011 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
2012 hp_cc_compiler.
2013
2789202a
MC
20142004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2015
2016 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
2017 * gdb.cp/ctti.exp: Use the marker instead of "next".
2018 With gcc, run further before bailing.
2019
b862f14c
MC
20202004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2021
2022 * gdb.cp/cttiadd.cc: Add copyright notice.
2023 * gdb.cp/cttiadd1.cc: Likewise.
2024 * gdb.cp/cttiadd2.cc: Likewise.
2025 * gdb.cp/cttiadd3.cc: Likewise.
2026
96da2469
MC
20272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2028
2029 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
2030 Use gdb_test, gdb_test_multiple. Use floating-point values that
2031 have exact representations in IEEE-ish formats.
2032
053248ff
MC
20332004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2034
2035 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
2036 compilers. Delete duplicate call to get_compiler_info.
2037 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
2038 * gdb.base/volatile.exp: Likewise.
2039
84acecdd
MK
20402004-01-07 Mark Kettenis <kettenis@gnu.org>
2041
2042 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
2043 memory at address 0.
2044
fe11a27f
MC
20452004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2046
2047 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
2048 to test for hp-ux assembler. Fix copyright years.
2049
60ad077b
AC
20502004-01-07 Andrew Cagney <cagney@redhat.com>
2051
2052 * gdb.base/fileio.c (strerrno): Add "EBUSY".
2053
1c9b8f33
AC
20542004-01-07 Andrew Cagney <cagney@redhat.com>
2055
2056 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
2057 when creating the read-only file. From analysis by Roland McGrath
2058 and Elena Zannoni.
2059
753ccc7a
MC
20602004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2061
2062 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
2063
eca3e36b
MC
20642004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2065
2066 * gdb.base/cvexpr.c: Be type-safe with function pointers and
2067 data pointers.
2068
f8d4bac4
MC
20692004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2070
2071 * gdb.cp/m-static.exp: Compile one source file at a time.
2072 Delete unused call to get_compiler_info.
2073
9b4e0f94
MC
20742004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2075
2076 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
2077 * gdb.base/call-rt-st.exp: Likewise.
2078 * gdb.base/nodebug.exp: Likewise.
2079 * gdb.base/volatile.exp: Likewise.
2080 * gdb.cp/ref-types.exp: Likewise.
2081 * gdb.cp/templates.exp: Likewise.
2082
023c1024
MK
20832004-01-05 Mark Kettenis <kettenis@gnu.org>
2084
2085 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
2086
19703c4a
MC
20872004-01-05 Michael Chastain <mec.gnu@mindspring.com>
2088
2089 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
2090 hppa*-hp-hpux*.
2091
18b67037
MK
20922004-01-04 Mark Kettenis <kettenis@gnu.org>
2093
ba6219c8
MK
2094 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2095 x86_64-*-*.
2096
18b67037
MK
2097 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2098 sparc64-*-* and sparc*-solaris2*.
2099
1bfbbb9d
MK
21002004-01-04 Mark Kettenis <kettenis@gnu.org>
2101
2102 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
2103 return ${tests}" test. The ${tests} already mentions the
2104 filename.
2105
06846494
MC
21062004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2107
2108 * gdb.cp/local.exp: Accept gcc abi 2.
2109
3b0cb202
MC
21102004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2111
2112 * gdb.cp/templates.exp: Accept gcc abi 2.
2113
0643ec3f
MC
21142004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2115
2116 * lib/compiler.cc: Remove supports_template_debugging.
2117 * gdb.cp/templates.exp: Do not test supports_template_debugging.
2118
d231d0b1
MC
21192004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2120
2121 * gdb.cp/namespace.exp: Accept gcc abi 2.
2122
44ffb27c
MC
21232004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2124
2125 * gdb.cp/method.exp: Accept gcc abi 2.
2126
184ad485
MC
21272004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2128
2129 * gdb.cp/classes.exp: Generate identical results as old version.
2130 * gdb.cp/derivation.exp: Likewise.
2131 * gdb.cp/overload.exp: Likewise.
2132 * gdb.cp/virtfunc.exp: Likewise.
2133
116f09e7
MC
21342004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2135
2136 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
2137 mysterious bug with sourceware version of expect.
2138
b1379776
MC
21392004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2140
2141 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
2142 current versions of gcc, including gcc abi 2. Remove gratuitous
2143 restart of test program. Use gdb_test_multiple and gdb_test for
2144 all tests. Add patterns to xfail missing "const" in "const char *"
2145 and kfail PR gdb/1155.
2146
6b7a4c0e
MC
21472004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2148
2149 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
2150 current versions of gcc, including gcc abi 2. Remove gratuitous
2151 restart of test program. Use gdb_test_multiple and gdb_test for
2152 all tests. Add patterns to kfail PR gdb/1498.
2153
51615d72
MC
21542003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2155
2156 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
2157 current versions of gcc, including gcc abi 2. Use "breakpoint"
2158 and "continue" instead of restarting the target program. Use
2159 gdb_test_multiple and gdb_test for all tests.
2160
7b79a9d7
MK
21612004-01-01 Mark Kettenis <kettenis@gnu.org>
2162
2163 * gdb.asm/asm-source.exp: Update copyright year. Link statically
2164 for *-*-solaris2*.
2165
1cd3489f
MC
21662003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2167
2168 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
2169 current versions of gcc, including gcc abi 2. Use "breakpoint"
2170 and "continue" instead of restarting the target program several
2171 times. Use gdb_test_multiple and gdb_test for all tests.
2172
850742db
MC
21732003-12-18 Michael Chastain <mec.gnu@mindspring.com>
2174
2175 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
2176 source files.
2177
eb4bbda8
MC
21782003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2179
2180 * gdb.base/environ.exp: Handle compiling test case from multiple
2181 source files.
2182
e42c7771
MC
21832003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2184
2185 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2186
80e4b428
JB
21872003-12-17 Jim Blandy <jimb@redhat.com>
2188
5f06973a
JB
2189 * gdb.base/freebpcmd.c: Add copyright notice.
2190
80e4b428
JB
2191 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
2192
0ab84fb7
MC
21932003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2194
2195 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
2196
1b3bb3d0
JB
21972003-12-13 Jim Blandy <jimb@redhat.com>
2198
2199 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
2200
3a4c9371
KB
22012003-12-12 Kevin Buettner <kevinb@redhat.com>
2202
2203 * gdb.asm/frv.inc: New file.
2204 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
2205
a1dea79a
FF
22062003-12-09 Fred Fish <fnf@redhat.com>
2207
2208 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
2209 functions to break1.c and leave prototypes behind. Add more
2210 "set breakpoint NN here" comments.
2211 * gdb.base/break1.c: New file.
2212
2213 * gdb.base/break.exp: Handle compiling test case from multiple
2214 source files and change source file references as needed.
2215 * gdb.base/completion.exp: Ditto.
2216 * gdb.base/condbreak.exp: Ditto.
2217 * gdb.base/define.exp: Ditto.
2218 * gdb.base/ena-dis-br.exp: Ditto.
2219 * gdb.base/info-proc.exp: Ditto.
2220 * gdb.base/maint.exp: Ditto.
2221 * gdb.base/until.exp: Ditto.
2222
2223 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
2224 hardcoded line numbers.
2225 * gdb.base/define.exp: Ditto.
2226 * gdb.base/ena-dis-br.exp: Ditto.
2227 * gdb.base/maint.exp: Ditto.
2228 * gdb.base/until.exp: Ditto.
2229
2230 * gdb.base/completion.exp: Use "break1" for completion tests since
2231 "break" is no longer a unique prefix.
2232
5266b69c
AC
22332003-12-06 Andrew Cagney <cagney@redhat.com>
2234
2235 * gdb.base/structs.exp (test_struct_returns): When applicable, set
2236 "return_value_unimplemented". When an unimplemented struct return
2237 architecture, report incorrect values as a KFAIL
2238
374451f0
MC
22392003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2240
2241 * gdb.cp/rtti.exp: Accept new wording of warning from
2242 cp_lookup_rtti_type.
2243
ba9b20a7
MC
22442003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2245
2246 Partial fix for PR testsuite/1456.
2247 * gdb.base/scope.exp (test_at_main): Replace references to
2248 gcc_compiled with calls to test_compiler_info.
2249 (test_at_foo): Likewise.
2250 (test_at_bar): Likewise.
2251
b74b6d0b
MC
22522003-12-04 Michael Chastain <mec.gnu@mindspring.com>
2253
2254 Partial fix for PR testsuite/1456.
2255 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
2256 to test_compiler_info.
2257
ccfa3402
MC
22582003-12-03 Michael Chastain <mec.gnu@mindspring.com>
2259
2260 * gdb.base/so-impl-ld.exp: Update copyright notice.
2261
f6246aba
MC
22622003-12-02 Michael Chastain <mec.gnu@mindspring.com>
2263
2264 Partial fix for PR testsuite/1456.
2265 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
2266 to test_compiler_info.
2267
13ae734a
MC
22682003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2269
2270 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
2271 from current versions of gdb. Clean up regular expressions.
2272 Delete redundant timeout case.
2273
d8e1cdee
MC
22742003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2275
2276 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
2277 from current versions of gdb. Clean up regular expressions.
2278 Delete redundant timeout case.
2279
96457b64
MC
22802003-12-01 Michael Chastain <mec.gnu@mindspring.com>
2281
2282 Partial fix for PR testsuite/1456.
2283 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
2284 gcc_compiled with call to test_compiler_info.
2285
f35309fc
MC
22862003-11-30 Michael Chastain <mec.gnu@mindspring.com>
2287
2288 Partial fix for PR testsuite/1456.
2289 * gdb.base/list.exp (test_list_function): Delete unused declaration
2290 of gcc_compiled.
2291
d7afdf9b
MC
22922003-11-29 Michael Chastain <mec.gnu@mindspring.com>
2293
2294 Partial fix for PR testsuite/1456.
2295 * gdb.base/complex.exp: Replace reference to gcc_compiled with
2296 call to test_compiler_info.
2297
71507b56
MK
22982003-11-29 Mark Kettenis <kettenis@gnu.org>
2299
2300 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
2301 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
2302 it to create the appropriate note.inc.
2303 * gdb.asm/asmsrc1.s: Include "note.inc".
2304 * gdb.asm/netbsd.inc: New file.
2305 * gdb.asm/empty.inc: New file.
2306
f81f93f7
MC
23072003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2308
2309 Partial fix for PR testsuite/1456.
2310 * gdb.base/constvars.exp: Replace references to gcc_compiled with
2311 calls to test_compiler_info.
2312
9a77938e
MC
23132003-11-27 Michael Chastain <mec.gnu@mindspring.com>
2314
2315 Partial fix for PR testsuite/1456.
2316 * gdb.base/volatile.exp: Replace references to gcc_compiled with
2317 calls to test_compiler_info.
2318
e8367dc7
MK
23192003-11-27 Mark Kettenis <kettenis@gnu.org>
2320
2321 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
2322 pattern for the KFAILs.
2323
526c61ee
AF
23242003-11-25 Adam Fedor <fedor@gnu.org>
2325
2326 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
2327 * gdb.objc/objcdecode.m: New file.
2328
28f2d600
AF
23292003-11-25 Adam Fedor <fedor@gnu.org>
2330
2331 * gdb.objc/nondebug.exp: Test for PR objc/1236.
2332 * gdb.objc/nondebug.m: New file.
2333
a3895cee
BE
23342003-11-26 Ben Elliston <bje@wasabisystems.com>
2335
2336 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2337 NetBSD as it does on FreeBSD. Modelled on a similar change by
2338 Mark Kettenis on 2003-05-30.
2339 (link-flags): Set to "--entry _start" regardless of target.
2340 Special linker flags are to be appended to $link-flags.
2341 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2342
c9f2c8a3
MC
23432003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2344
2345 * gdb.cp/method.exp: Accept output of new demangler.
2346
15a0587a 23472003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
2348
2349 * gdb/class2.exp: New file.
2350 * gdb/class2.cc: New file.
2351
3c00b570
MC
23522003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2353
2354 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
2355 of new demangler.
2356
7027acc7
MK
23572003-11-23 Mark Kettenis <kettenis@gnu.org>
2358
2359 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
2360 of gdb_test "run".
2361
b0e1598a
MK
23622003-11-23 Mark Kettenis <kettenis@gnu.org>
2363
2364 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
2365 "continue" into "run".
2366
4d9eda44
MC
23672003-11-23 Michael Chastain <mec.gnu@mindspring.com>
2368
2369 Partial fix for PR testsuite/1456.
2370 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
2371 call to test_compiler_info.
2372 * gdb.cp/ctti.exp: Likewise.
2373 * gdb.cp/derivation.exp: Likewise.
2374 * gdb.cp/member-ptr.exp: Likewise.
2375 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
2376 reference to gcc_compiled.
2377
23782003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
2379
2380 Fix PR testsuite/1463.
2381 * gdb.base/structs.exp (start_structs_test): Call
2382 get_debug_format before using the debug format.
2383
d422fe19
AC
23842003-11-22 Andrew Cagney <cagney@redhat.com>
2385
2386 * lib/gdb.exp (gdb_test_multiple): Add simple example.
2387 * gdb.base/structs.exp: Use gdb_test_multiple.
2388
039cf96d
AC
23892003-11-20 Andrew Cagney <cagney@redhat.com>
2390
6882279b
AC
2391 * gdb.base/structs.exp: Handle and recover from internal errors.
2392 Replace "foo${n}" with "foo<n>" in test messages.
2393
e53890ae
AC
2394 * gdb.base/structs.exp: Update copyright. Rewrite.
2395 * gdb.base/structs.c: Update copyright. Rewrite.
2396
2b211c59
AC
2397 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
2398 resync count exceeded.
d63a86f8 2399
039cf96d
AC
2400 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
2401 from the internal error.
2402 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
2403 Original from Jim Blandy.
2404 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 2405
eac98b22
AC
24062003-11-19 Andrew Cagney <cagney@redhat.com>
2407
2408 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
2409 KFAIL.
2410
67455b2a
MK
24112003-11-17 Mark Kettenis <kettenis@gnu.org>
2412
2413 New testcase for PR backtrace/1435.
2414 * gdb.arch/i386-unwind.exp: New file.
2415 * gdb.arch/i386-unwind.c: New file.
2416
853d6e5b
AC
24172003-11-17 Andrew Cagney <cagney@redhat.com>
2418
2419 * lib/gdb.exp (compiler_info): New global.
2420 (test_compiler_info): New function.
2421 (get_compiler_info): Set compiler_info.
2422 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
2423 "compiler_info" to gcc-<major>-<minor>.
2424
38cf6e11
MC
24252003-11-15 Michael Chastain <mec.gnu@mindspring.com>
2426
2427 * gdb.trace/configure: Remove.
2428
a50d3602
EZ
24292003-11-13 Elena Zannoni <ezannoni@redhat.com>
2430
2431 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 2432 breakpoints.
a50d3602
EZ
2433 * gdb.base/break.exp: Remove all references to explicit line
2434 numbers.
2435
d9407aaa
NC
24362003-11-11 Nick Clifton <nickc@redhat.com>
2437
2438 * gdb.base/shreloc.exp: Do not run for targets which do not
2439 support shared objects.
2440
db488fc1
CV
24412003-11-10 Corinna Vinschen <vinschen@redhat.com>
2442
2443 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
2444 Don't run tests if nofileio flag is given.
2445
6a90a18e
EZ
24462003-11-07 Elena Zannoni <ezannoni@redhat.com>
2447
2448 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
2449 as well as 'Watchpoint'.
2450
0b915e9c
EZ
24512003-11-06 Elena Zannoni <ezannoni@redhat.com>
2452
2453 Reported by Jim Ingham <jingham@apple.com>:
2454 * gdb.base/annota1.exp: Match at least one occurrence of the
2455 signal handler annotation.
2456
d7e4b55f
EZ
24572003-11-06 Elena Zannoni <ezannoni@redhat.com>
2458
2459 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
2460 as well as 'Watchpoint'.
2461
2fe4e8d0
MC
24622003-11-05 Michael Chastain <mec@shout.net>
2463
2464 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
2465
6ef88553
KW
24662003-11-03 Kris Warkentin <kewarken@qnx.com>
2467
2468 * gdb.arch/gdb1291.c: New test file.
2469 * gdb.arch/gdb1291.exp: New test script.
2470 * gdb.arch/gdb1431.c: New test file.
2471 * gdb.arch/gdb1431.exp: New test script.
2472
ae7dc4d8
MC
24732003-10-22 Michael Chastain <mec@shout.net>
2474
2475 * gdb.mi/pthreads.c: Add copyright notice.
2476
c39d7427
MC
24772003-10-22 Michael Chastain <mec@shout.net>
2478
2479 * gdb.threads/pthreads.c: Add copyright notice.
2480
8b7d96c1
MC
24812003-10-20 Michael Chastain <mec@shout.net>
2482
2483 * gdb.base/gdb1056.exp: New test script.
2484
d1d69fdd
DJ
24852003-10-13 Daniel Jacobowitz <drow@mvista.com>
2486
2487 * gdb.threads/killed.exp: Use gdb_run_cmd.
2488
7d605576
DJ
24892003-10-13 Daniel Jacobowitz <drow@mvista.com>
2490
2491 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
2492 create a core file.
2493 * gdb.threads/gcore-thread.exp: Likewise.
2494
618ec112
CV
24952003-10-13 Corinna Vinschen <vinschen@redhat.com>
2496
2497 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
2498 type, based on char type.
2499 (struct bit_flags_short_t): New bitfield type, based on short type.
2500 (init_bit_flags_char): New fuction.
2501 (init_bit_flags_short): Ditto.
2502 (print_bit_flags_char): Ditto.
2503 (print_bit_flags_short): Ditto.
2504 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
2505
9367a73c
MC
25062003-10-11 Michael Chastain <mec@shout.net>
2507
2508 * gdb.base/call-rt-st.exp: Update copyright year.
2509
1decf120
KI
25102003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
2511
2512 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
2513 * gdb.disasm/sh3.s: Ditto.
2514
5445b2ae
DJ
25152003-10-07 Daniel Jacobowitz <drow@mvista.com>
2516
2517 * gdb.threads/switch-threads.exp: New test.
2518 * gdb.threads/switch-threads.c: New source file.
2519
aec24853
CV
25202003-10-07 Corinna Vinschen <vinschen@redhat.com>
2521
2522 * gdb.base/ending-run.exp: Add sh specific case.
2523
adc7428d
AC
25242003-10-06 Andrew Cagney <cagney@redhat.com>
2525
2526 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
2527 * gdb.disasm/mn10200.exp: Delete obsolete file.
2528
c9d37158
DJ
25292003-09-29 Daniel Jacobowitz <drow@mvista.com>
2530
2531 * ChangeLog: Correct an entry command.exp -> commands.exp.
2532 * gdb.base/commands.exp (bp_deleted_in_command_test)
2533 (temporary_breakpoint_commands): Check noargs.
2534
79c2c32d
DC
25352003-09-25 David Carlton <carlton@kealia.com>
2536
2537 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
2538 of some print tests, where appropriate. Add tests for C::D::cd,
2539 E::ce, F::cXfX, G::XgX.
2540 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
2541
594e6d67
RE
25422003-09-25 Richard Earnshaw <rearnsha@arm.com>
2543
2544 * lib/java.exp (java_init): Import target_alias before using it.
2545
10f0d451
DC
25462003-09-25 David Carlton <carlton@kealia.com>
2547
2548 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
2549
274bcba0
EZ
25502003-09-23 Elena Zannoni <ezannoni@redhat.com>
2551
d63a86f8 2552 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
2553 weirdness.
2554
cdbf20f7
MC
25552003-09-17 Michael Chastain <mec@shout.net>
2556
2557 * gdb.cp/gdb1355.exp: New file.
2558 * gdb.cp/gdb1355.c: New file.
2559
71e06f80
CV
25602003-09-15 Corinna Vinschen <vinschen@redhat.com>
2561
2562 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
2563 * gdb.asm/sh.inc: New file.
2564
5c4e30ca
DC
25652003-09-11 David Carlton <carlton@kealia.com>
2566
bd45b7af
DC
2567 * gdb.cp/namespace.exp: Add tests for namespace types.
2568 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
2569 (test_namespace): New.
2570
1c199746
EZ
25712003-09-11 Elena Zannoni <ezannoni@redhat.com>
2572
2573 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 2574 * gdb.stabs/weird.exp: Ditto.
1c199746 2575
04ed252f
MC
25762003-09-08 Michael Chastain <mec@shout.net>
2577
2578 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2579
d8a2d9e7
MC
25802003-09-07 Michael Chastain <mec@shout.net>
2581
2582 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
2583 'parse error'.
2584
161afb24
MK
25852003-09-07 Mark Kettenis <m.kettenis@osp.nl>
2586
2587 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
2588
49f2741a
MC
25892003-08-30 Michael Chastain <mec@shout.net>
2590
2591 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
2592 * gdb.gdb/observer.exp: Ditto.
2593 * gdb.gdb/xfullpath.exp: Ditto.
2594
8afa723e
MK
25952003-08-29 Mark Kettenis <kettenis@gnu.org>
2596
2597 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
2598 *-*-*bsd*.
2599
f31dfe3b
JJ
26002003-08-28 Jeff Johnston <jjohnstn@redhat.com>
2601
2602 * gdb.base/dump.exp: Skip for ia64.
2603
4630e498
JJ
26042003-08-25 Jeff Johnston <jjohnstn@redhat.com>
2605
2606 * gdb.asm/asm-source.exp: Add ia64 support.
2607 * gdb.asm/ia64.inc: New file.
2608
1105b7ef
MC
26092003-08-22 Michael Chastain <mec@shout.net>
2610
2611 * gdb.cp: New directory.
2612 * gdb.cp/*: Copy from gdb.c++/*.
2613 * gdb.c++/*: Remove.
2614 * Makefile.in: Change gdb.c++ to gdb.cp.
2615 * configure.in: Ditto.
2616 * configure: Regnerate.
2617
c945b932
MK
26182003-08-18 Mark Kettenis <kettenis@gnu.org>
2619
2620 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
2621 * gdb.arch/i386-prologue.c (gdb1338): Add function.
2622
2b66634b
DJ
26232003-08-17 Daniel Jacobowitz <drow@mvista.com>
2624
2625 * mi-var-display.exp (-var-list-children weird): Accept function
2626 pointers with argument types.
2627 * mi1-var-display.exp (-var-list-children weird): Likewise.
2628 * mi2-var-display.exp (-var-list-children weird): Likewise.
2629
a356f73b
DJ
26302003-08-17 Daniel Jacobowitz <drow@mvista.com>
2631
2632 * gdb.base/annota3.exp: Add missing newline.
2633
483417b8
MC
26342003-08-06 Michael Chastain <mec@shout.net>
2635
2636 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
2637
c99c59c3
MS
26382003-08-12 Michael Snyder <msnyder@redhat.com>
2639
2640 * gdb.base/float.exp: Add test for SH.
2641
55ed7501
MK
26422003-08-10 Mark Kettenis <kettenis@gnu.org>
2643
2644 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
2645
1a371f2e
EZ
26462003-08-07 Elena Zannoni <ezannoni@redhat.com>
2647
2648 * gdb.base/completion.exp: Remove reduntant completion test
2649 on filename.
2650
e0f353ce
EZ
26512003-08-07 Elena Zannoni <ezannoni@redhat.com>
2652
2653 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
2654 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
2655 gdb.trace/save-trace.exp: Make sure that full pathnames are
2656 escaped correctly.
2657
5710a1af 26582003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 2659
5710a1af
EZ
2660 * configure.in: Don't generate config.h from config.hin.
2661 * configure: Regenerate.
2662 * config.hin: Remove file.
2663 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
2664 * gdb.threads/pthreads.c: Ditto.
2665
dcd81ce9
DJ
26662003-08-07 Daniel Jacobowitz <drow@mvista.com>
2667
2668 From Kei Sakamoto <sakamoto.kei@renesas.com>:
2669 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
2670 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
2671 Replace ld24 with seth/add3.
2672
6009d884
AC
26732003-08-02 Andrew Cagney <cagney@redhat.com>
2674
2675 * gdb.base/annota3.exp: New file.
2676 * gdb.base/annota3.c: New file.
2677 * gdb.c++/annota3.exp: New file.
2678 * gdb.c++/annota3.cc: New file.
2679
51514e06
MC
26802003-07-29 Michael Chastain <mec@shout.net>
2681
2682 * gdb.threads/tls.c (spin): Check errno only if sem_wait
2683 actually failed.
2684 (do_pass): Likewise.
2685 * gdb.threads/tls.exp: Always initialize no_of_threads.
2686
4ee6625b
DJ
26872003-07-27 Daniel Jacobowitz <drow@mvista.com>
2688
2689 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
2690 pattern.
2691 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
2692 * gdb.threads/tls.exp: Recognize one case of the host library not
2693 supporting TLS.
2694
225f2bf6
AC
26952003-07-27 Andrew Cagney <cagney@redhat.com>
2696
2697 * gdb.base/fileio.exp: Use SH when running commands using
2698 remote_exec.
2699
bcb27c9f
DJ
27002003-07-24 Daniel Jacobowitz <drow@mvista.com>
2701
2702 From Kei Sakamoto <sakamoto.kei@renesas.com>:
2703 * gdb.base/relocate.c (dummy): New padding array.
2704
3d67be83
MS
27052003-07-22 Michael Snyder <msnyder@redhat.com>
2706
d63a86f8 2707 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
2708
2709 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
2710 patterns to be more general, accepting old and new output.
2711 Some output chars (such as '+') also must be quoted.
d63a86f8 2712 Some addresses are displayed numerically instead of
3d67be83
MS
2713 symbolically.
2714
57ba3b85
MS
27152003-07-23 Michael Snyder <msnyder@redhat.com>
2716
686d097c
MS
2717 * gdb.base/return2.exp: Don't test long-long return.
2718
57ba3b85
MS
2719 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
2720 * gdb.disasm/t01_mov.exp: Ditto.
2721 * gdb.disasm/t02_mova.s: Ditto.
2722 * gdb.disasm/t02_mova.exp: Ditto.
2723 * gdb.disasm/t03_add.s: Ditto.
2724 * gdb.disasm/t03_add.exp: Ditto.
2725 * gdb.disasm/t04_sub.s: Ditto.
2726 * gdb.disasm/t04_sub.exp: Ditto.
2727 * gdb.disasm/t05_cmp.s: Ditto.
2728 * gdb.disasm/t05_cmp.exp: Ditto.
2729 * gdb.disasm/t06_ari2.s: Ditto.
2730 * gdb.disasm/t06_ari2.exp: Ditto.
2731 * gdb.disasm/t07_ari3.s: Ditto.
2732 * gdb.disasm/t07_ari3.exp: Ditto.
2733 * gdb.disasm/t08_or.s: Ditto.
2734 * gdb.disasm/t08_or.exp: Ditto.
2735 * gdb.disasm/t09_xor.s: Ditto.
2736 * gdb.disasm/t09_xor.exp: Ditto.
2737 * gdb.disasm/t10_and.s: Ditto.
2738 * gdb.disasm/t10_and.exp: Ditto.
2739 * gdb.disasm/t11_logs.s: Ditto.
2740 * gdb.disasm/t11_logs.exp: Ditto.
2741 * gdb.disasm/t12_bit.s: Ditto.
2742 * gdb.disasm/t12_bit.exp: Ditto.
2743 * gdb.disasm/t13_otr.s: Ditto.
2744 * gdb.disasm/t13_otr.exp: Ditto.
2745
e00759ef
EZ
27462003-07-22 Elena Zannoni <ezannoni@redhat.com>
2747
2748 * gdb.threads/tls.exp :Add kfail for 'info address' case.
2749
8bc2021f
EZ
27502003-07-22 Elena Zannoni <ezannoni@redhat.com>
2751
2752 * gdb.threads/tls.c : New file.
2753 * gdb.threads/tls.exp : New file.
2754 * gdb.threads/tls-main.c : New file.
2755 * gdb.threads/tls-shared.c : New file.
2756 * gdb.threads/tls-shared.exp : New file.
2757
89320c4c
AS
27582003-07-22 Andreas Schwab <schwab@suse.de>
2759
2760 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
2761
180dea7c
AS
27622003-07-20 Andreas Schwab <schwab@suse.de>
2763
2764 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
2765 due to insn reordering.
2766
0714963c
AC
27672003-07-15 Andrew Cagney <cagney@redhat.com>
2768
2769 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
2770
98a23b3f
MC
27712003-07-15 Michael Chastain <mec@shout.net>
2772
2773 * gdb.base/gdb1250.exp: New file.
2774 * gdb.base/gdb1250.c: New file.
2775
27e417a2
ML
27762003-07-09 Michal Ludvig <mludvig@suse.cz>
2777
2778 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
2779 expansion of size_t to 'unsigned long', not only to 'unsigned'.
2780
8bc2021f
EZ
27812003-07-09 Elena Zannoni <ezannoni@redhat.com>
2782
2783 * gdb.threads/tls.c: New file.
2784 * gdb.threads/tls.exp: New file.
2785 * gdb.threads/tls-main.c: New file.
2786 * gdb.threads/tls-shared.c: New file.
2787 * gdb.threads/tls-shared.exp: New file.
2788
d99968dc
EZ
27892003-07-09 Elena Zannoni <ezannoni@redhat.com>
2790
2791 * gdb.base/annota1.exp: Make sure that we properly escape the
2792 full path of the source file. Xfail more permissive patterns,
d63a86f8 2793 due to a compiler debug info problem.
d99968dc 2794
83876b3b
AS
27952003-07-07 Andreas Schwab <schwab@suse.de>
2796
2705e972
AS
2797 * gdb.asm/m68k.inc: New file.
2798 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
2799
83876b3b
AS
2800 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
2801 arguments"): Also match negative number.
2802
2803 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2804
3a871b37
DJ
28052003-07-03 Daniel Jacobowitz <drow@mvista.com>
2806
2807 * gdb.base/store.c (charest): New typedef.
2808 (add_char): Rename to add_charest, update.
2809 (wack_char): Rename to wack_charest, update types. Return l + r
2810 to keep r live across the call.
2811 (wack_short, wack_int, wack_long, wack_longest, wack_float)
2812 (wack_double, wack_doublest): Return l + r to keep r live across
2813 the call.
2814 * gdb.base/store.exp: Accomodate store.c changes.
2815
b2a7f303
DC
28162003-06-30 David Carlton <carlton@kealia.com>
2817
2818 * gdb.c++/maint.exp (test_invalid_name): New.
2819 (test_first_component): Add tests for invalid names.
2820
3c6cb4a1
MC
28212003-06-29 Michael Chastain <mec@shout.net>
2822
2823 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
2824 output of '<VTT for class>' for virtual base classes.
2825
f1c2644b
DJ
28262003-06-29 Daniel Jacobowitz <drow@mvista.com>
2827
2828 * gdb.base/completion.exp: Tab-complete "complet" instead of
2829 "compl".
2830 * gdb.base/complex.exp, gdb.base/complex.c: New files.
2831
18080350
DJ
28322003-06-29 Daniel Jacobowitz <drow@mvista.com>
2833
2834 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
2835 * gdb.base/volatile.exp: Likewise.
2836
f56973f8
DJ
28372003-06-29 Daniel Jacobowitz <drow@mvista.com>
2838
2839 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
2840 gdb/1265.
2841
28422003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
2843 Daniel Jacobowitz <drow@mvista.com>
2844
2845 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
2846 initial line count of 'captured_main' from 26 to 32.
2847 (test_with_self): Allow xmalloc call to be interleaved with the
2848 preceding two lines.
2849
e766d4d6
JB
28502003-06-24 Joel Brobecker <brobecker@gnat.com>
2851
2852 * gdb.base/bang.exp: New testcase.
2853
f125c9a4
JB
28542003-06-23 Joel Brobecker <brobecker@gnat.com>
2855
2856 * gdb.base/langs.exp: Add some tests for the "minimal" language
2857 support.
2858
6e25beaf
EZ
28592003-06-23 Elena Zannoni <ezannoni@redhat.com>
2860
2861 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
2862 the testcase.
2863
2f816dda
DJ
28642003-06-22 Daniel Jacobowitz <drow@mvista.com>
2865
2866 * gdb.base/relocate.exp: Test add-symbol-file with a variable
2867 offset.
2868
db5a5748
DJ
28692003-06-22 Daniel Jacobowitz <drow@mvista.com>
2870
2871 * gdb.c++/pr-1210.cc: New file.
2872 * gdb.c++/pr-1210.exp: New file.
2873
1df0c130
DJ
28742003-06-21 Daniel Jacobowitz <drow@mvista.com>
2875
2876 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
2877 000-exec-continue.
2878
a92feac0
MK
28792003-06-15 Mark Kettenis <kettenis@gnu.org>
2880
2881 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
2882 on *-*-*bsd* instead of *-*-freebsd*.
2883
81a58f5b
AC
28842003-06-14 Andrew Cagney <cagney@redhat.com>
2885
2886 * gdb.base/store.exp: Test longest and doublest. Test all
2887 parameters. Weaken return statement match.
2888 * gdb.base/store.c: Add longest and doublest - aka long long and
2889 long double functions. Put all parameters into local register
2890 variables. Use negative values.
2891
b257a0d3
AC
28922003-06-14 Andrew Cagney <cagney@redhat.com>
2893
2894 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
2895 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
2896 exit status.
2897 * gdb.base/fileio.exp: Disable target when nointerrupts and
2898 noinferiorio, instead of limiting it to remote. Use remote_exec
2899 instead of system.
d63a86f8 2900
21c38304
JJ
29012003-06-12 Jeff Johnston <jjohnstn@redhat.com>
2902
2903 * gdb.base/float.exp: Add ia64 support.
2904
1bcdb424
CV
29052003-06-12 Corinna Vinschen <vinschen@redhat.com>
2906
2907 * gdb.base/fileio.exp: Run only on remote targets.
2908
6aeb981f
CV
29092003-06-10 Corinna Vinschen <vinschen@redhat.com>
2910
2911 * gdb.base/fileio.c: New file, testing File-I/O.
2912 * gdb.base/fileio.exp: Ditto.
2913
53df362e
RG
29142003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
2915
2916 * gdb.base/shreloc.exp: New file, check symbol values obtained from
2917 shared objects after relocation at load time (gdb PR/1132).
2918 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
2919 as above, part of the shared object relocation test.
2920
ffee1b46
MK
29212003-06-08 Mark Kettenis <kettenis@gnu.org>
2922
b5ca3722
MK
2923 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
2924 fully filled history list.
2925 * gdb.base/gdb_history: New file.
2926
03ed860d
MK
2927 * gdb.base/signals.exp: XFAIL "continue to func1" on
2928 i*86-*-freebsd*.
2929
ffee1b46
MK
2930 * gdb.base/attach.exp: When trying to attach to a nonexistent
2931 process, make it possible to specify the PID based on the target,
2932 and do so for *-*-freebsd*.
2933
d80dbb52
RH
29342003-06-02 Richard Henderson <rth@redhat.com>
2935
2936 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
2937
6dd77b81
RH
29382003-06-02 Richard Henderson <rth@redhat.com>
2939
2940 * gdb.base/selftest.exp: Next over lim_at_start initialization.
2941
f6347e16
RH
29422003-06-02 Richard Henderson <rth@redhat.com>
2943
2944 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
2945
2c161407
DJ
29462003-06-01 Daniel Jacobowitz <drow@mvista.com>
2947
2948 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
2949 of globalvar.
2950
572eb746
MK
29512003-06-01 Mark Kettenis <kettenis@gnu.org>
2952
2953 * gdb.asm/asm-source.exp: Check for memory read errors in
2954 disassembler test on *BSD too.
2955
9e9617a5
RH
29562003-06-01 Richard Henderson <rth@redhat.com>
2957
2958 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
2959 for .frame.
2960 (gdbasm_call): Lose ldgp.
2961 (gdbasm_startup): Add frame information.
2962 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
2963
7b34ad4e
MK
29642003-05-31 Mark Kettenis <kettenis@gnu.org>
2965
2966 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
2967 i?86-*-*.
2968
10059fdf
MK
29692003-05-30 Mark Kettenis <kettenis@gnu.org>
2970
2971 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2972 FreeBSD.
2973
acf4b816
RH
29742003-05-29 Richard Henderson <rth@redhat.com>
2975
2976 * gdb.asm/alpha.inc: New file.
2977 * gdb.asm/asm-source.exp: Use it.
2978
e9ecd949
JB
29792003-05-29 Jim Blandy <jimb@redhat.com>
2980
2981 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
2982 'core.PID'.
2983
e3e5a4f3
JB
29842003-05-22 Jim Blandy <jimb@redhat.com>
2985
2986 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
2987 backtrace.
d63a86f8 2988
72fe3d25
DC
29892003-05-20 David Carlton <carlton@math.stanford.edu>
2990
2991 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
2992 this time.
2993
58da2eb2
DC
29942003-05-19 David Carlton <carlton@bactrian.org>
2995
2996 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
2997 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
2998
1fcb5155
DC
29992003-05-19 David Carlton <carlton@bactrian.org>
3000
3001 * gdb.c++/namespace.exp: Add namespace scope and anonymous
3002 namespace tests.
3003 Bump copyright date.
3004 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
3005 (main): Call C::D::marker2.
3006 * gdb.c++/namespace1.cc: New file.
3007
85e85163
JJ
30082003-05-14 Jeff Johnston <jjohnstn@redhat.com>
3009
3010 Roland McGrath <roland@redhat.com>
d63a86f8 3011 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
3012 there is no manager thread.
3013
a25fbfec
JJ
30142003-05-08 Jeff Johnston <jjohnstn@redhat.com>
3015
d63a86f8
RM
3016 * gdb.threads/schedlock.exp: Remove assumption that all threads
3017 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
3018 in one of the child threads rather than the main thread.
3019
be375bae
JB
30202003-05-07 Jim Blandy <jimb@redhat.com>
3021
09bf6082
JB
3022 Add support for assembly source testing on the s390x.
3023 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
3024 architecture.
3025 * gdb.asm/s390x.inc: New file.
3026
be375bae
JB
3027 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
3028 succession of 'if' statements.
3029
00905d52
AC
30302003-05-05 Andrew Cagney <cagney@redhat.com>
3031
3032 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
3033
b1e29e33
AC
30342003-05-05 Andrew Cagney <cagney@redhat.com>
3035
3036 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
3037 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
3038
e33d66ec
EZ
30392003-05-02 Elena Zannoni <ezannoni@redhat.com>
3040
3041 * gdb.base/charset.exp: Update based on new behavior of set/show
3042 charset commands.
3043
2b6fd0d8
AC
30442003-05-01 Andrew Cagney <cagney@redhat.com>
3045
3046 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
3047 variable do not give memory errors.
3048
130cacce
AF
30492003-04-30 Adam Fedor <fedor@gnu.org>
3050
3051 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
3052 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
3053 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
3054 gdb.objc/basicclass.m: : New files
3055
3056 * lib/gdb.exp (gdb_compile_objc): New procedure.
3057
bea71854
DJ
30582003-04-27 Daniel Jacobowitz <drow@mvista.com>
3059
3060 * gdb.base/signals.exp: Make backtrace tests more specific.
3061
0f20eeea
DC
30622003-04-23 David Carlton <carlton@bactrian.org>
3063
3064 * gdb.c++/maint.exp (test_first_component): Add tests for
3065 'operator' in more locations.
3066
c8c4d8dc
KB
30672003-04-16 Kevin Buettner <kevinb@redhat.com>
3068
3069 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
3070
3fe60e3c
EZ
30712003-04-16 Elena Zannoni <ezannoni@redhat.com>
3072
3073 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
3074 func marke' instead. Update test name.
3075
9219021c
DC
30762003-04-15 David Carlton <carlton@math.stanford.edu>
3077
3078 * gdb.c++/maint.exp: New file.
3079
5dd55bdd
EZ
30802003-04-14 Elena Zannoni <ezannoni@redhat.com>
3081
3082 * gdb.threads/schedlock.c: Change type of thread function argument
3083 to long, to avoid warnings on 64-bit platforms.
3084
00890572
EZ
30852003-04-14 Elena Zannoni <ezannoni@redhat.com>
3086
3087 * gdb.base/attach.exp: Add new message from ptrace in case of
3088 attaching to nonexistent process.
d63a86f8 3089
93201743
JB
30902003-04-11 Jim Blandy <jimb@redhat.com>
3091
3092 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3093 gdb.c++/userdef.cc: Place comments on the lines to which the
3094 marker function might return.
3095 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3096 gdb.c++/userdef.exp: Look for those comments to check that we've
3097 returned to the right place, instead of checking line numbers.
3098
2a11c64d
EZ
30992003-04-11 Elena Zannoni <ezannoni@redhat.com>
3100
3101 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
3102 match on sourcefile name, instead of directory name.
3103
68ab8fc5
EZ
31042003-04-10 Elena Zannoni <ezannoni@redhat.com>
3105
d63a86f8 3106 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
3107 working directory name.
3108
5624293a
JB
31092003-04-09 Jim Blandy <jimb@redhat.com>
3110
3111 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3112 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
3113 after an inferior function call, report the failure, but allow the
3114 test to continue.
3115
f1f02ee4
SC
31162003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3117
3118 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3119 with -DPROTOTYPES.
3120
6eb79af0
SC
31212003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3122
3123 * gdb.base/break.exp: Revert last patch.
3124
8dfb4cf0
SC
31252003-04-04 Stephane Carrez <stcarrez@nerim.fr>
3126
3127 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3128 with -DPROTOTYPES.
3129
ed4c619a
AC
31302003-04-02 Andrew Cagney <cagney@redhat.com>
3131
3132 * gdb.base/callfuncs.exp: Make "print add" messages unique.
3133 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
3134 matching directories by the name breakpoint.
3135 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
3136 Make "continue to marker1" consistent.
3137 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
3138 message consistent.
3139 * lib/gdb.exp: Put "the program is no longer running", and "the
3140 program exited" in parenthesis.
3141 * lib/mi-support.exp: Ditto.
d63a86f8 3142
4e35d5f0 31432003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 3144
4e35d5f0
BR
3145 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
3146
71900fe8
AC
31472003-03-29 Andrew Cagney <cagney@redhat.com>
3148
3149 * gdb.base/sizeof.c (main): Print the value of '\377'.
3150 * gdb.base/sizeof.exp: Check the sign of '\377'.
3151
c0655a16
MC
31522003-03-27 Michael Chastain <mec@shout.net>
3153
3154 * gdb.base/gdb1090.exp: New file.
3155 * gdb.base/gdb1090.cc: New file.
3156
5b2a3989
JB
31572003-03-27 J. Brobecker <brobecker@gnat.com>
3158
3159 * gdb.gdb/observer.exp: New regression test.
3160
79876890
MC
31612003-03-27 Michael Chastain <mec@shout.net>
3162
3163 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
3164 * gdb.base/ptype.exp: Likewise.
3165
6eac95e3
CV
31662003-03-27 Corinna Vinschen <vinschen@redhat.com>
3167
3168 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
3169
e8c71839
MC
31702003-03-26 Michael Chastain <mec@shout.net>
3171
3172 * gdb.base/ptype.exp: Actually use some typedef'd types.
3173
71b10041
SC
31742003-03-21 Stephane Carrez <stcarrez@nerim.fr>
3175
3176 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
3177 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
3178
2512cf80
CV
31792003-03-20 Corinna Vinschen <vinschen@redhat.com>
3180
3181 * gdb.base/default.exp: Fix regular expression.
3182
0d195a4f
CV
31832003-03-20 Corinna Vinschen <vinschen@redhat.com>
3184
3185 * gdb.base/args.exp: Fix regular expression.
3186
8a2dbca8
CV
31872003-03-20 Corinna Vinschen <vinschen@redhat.com>
3188
3189 * gdb.base/help.exp: Allow Win32 child process.
3190
bf028682
CV
31912003-03-20 Corinna Vinschen <vinschen@redhat.com>
3192
3193 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
3194 when stepping out of main().
3195
182dbe85
CV
31962003-03-20 Corinna Vinschen <vinschen@redhat.com>
3197
3198 * gdb.base/default.exp: Check for win32 specific message when calling
3199 "run" without executable.
3200
d67a6ba5
CV
32012003-03-20 Corinna Vinschen <vinschen@redhat.com>
3202
3203 * gdb.base/args.exp: Expect .exe in output.
3204
a955b5bb
CV
32052003-03-20 Corinna Vinschen <vinschen@redhat.com>
3206
3207 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
3208 Cygwin native.
3209
bf6bad4b
AC
32102003-03-17 Andrew Cagney <cagney@redhat.com>
3211
3212 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
3213 vector registes.
3214 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
3215 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
3216
293e9a31
DC
32172003-03-17 David Carlton <carlton@math.stanford.edu>
3218
3219 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
3220 test, for PR breakpoints/38.
3221 Call test_watchpoint_and_breakpoint.
3222 * gdb.base/watchpoint.c (func3): New function.
3223 (main): Call func3.
3224
5330f2db
DC
32252003-03-04 David Carlton <carlton@math.stanford.edu>
3226
3227 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
3228 Garply<Garply<char> >:: garply".
3229 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
3230 with respect to PR c++/1111; note also PR c++/1113.
3231 (test_template_breakpoints): KFAIL "constructor breakpoint" with
3232 respect to PR c++/1062.
3233 KFAIL "destructor breakpoint" with respect to PR c++/1112.
3234
6ece72da
DC
32352003-03-03 David Carlton <carlton@math.stanford.edu>
3236
3237 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
3238 with respect to PR c++/57.
3239 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
3240 c++/826.
3241 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
3242 respect to PR c++/57.
3243
85ca1584
DC
32442003-03-03 David Carlton <carlton@math.stanford.edu>
3245
3246 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
3247 respect to PR c++/33 into FAILs.
3248
98e9c5b8
MC
32492003-03-03 Michael Chastain <mec@shout.net>
3250
7bedbf27
MC
3251 * configure.in: Update copyright years.
3252
32532003-03-03 Michael Chastain <mec@shout.net>
3254
3255 * Makefile.in: Update copyright years.
98e9c5b8 3256
f683e100
DC
32572003-02-28 David Carlton <carlton@math.stanford.edu>
3258
3259 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
3260 print class instead of struct and/or superfluous protection
3261 specifiers, as long as the resulting output is equivalent to the
3262 source code.
3263 Delete FIXME from end of messages on tests that don't need
3264 fixing.
3265
a9e0cf2c
DC
32662003-02-28 David Carlton <carlton@math.stanford.edu>
3267
3268 * gdb.c++/templates.exp (do_tests): Allow const in the two
3269 Foo<volatile char *>::foo tests.
3270
e8d359df
MS
32712003-02-27 Michael Snyder <msnyder@redhat.com>
3272
d63a86f8 3273 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
3274 will be consistant.
3275
0b71dc91
DC
32762003-02-26 David Carlton <carlton@math.stanford.edu>
3277
3278 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
3279 char *>::foo" test with respect to PR c++/33. Create a new test
3280 which is identical to that one except that it doesn't put the
3281 space between the "char" and the "*"; KFAIL it, too.
3282
dd14ab43
DC
32832003-02-26 David Carlton <carlton@math.stanford.edu>
3284
3285 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
3286 template types into either PASSes or KFAILs (corresponding to PR
3287 c++/57). Tweak indentation. Update copyright.
3288
1146c7f1
SC
32892003-02-23 Stephane Carrez <stcarrez@nerim.fr>
3290
3291 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
3292
74641dfb
MC
32932003-02-13 Michael Chastain <mec@shout.net>
3294
3295 * gdb.base/exprs.exp: Remove i960 remnants.
3296 * gdb.base/funcargs.exp: Likewise.
3297 * gdb.base/list.exp: Likewise.
3298 * gdb.base/ptype.exp: Likewise.
3299
559cd2d0
DC
33002003-02-14 David Carlton <carlton@math.stanford.edu>
3301
3302 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
3303 pEe->D::vg()" from XFAIL to KFAIL.
3304
c4f90d87
JM
33052003-02-13 Jason Molenda (jmolenda@apple.com)
3306
3307 * gdb.base/maint.exp: Update maint print statistics regexp to include
3308 new entries.
3309
cbc4d97c
MC
33102003-02-13 Michael Chastain <mec@shout.net>
3311
3312 * gdb.c++/inherit.exp: Remove call to get_debug_format.
3313
40f235b7
MC
33142003-02-12 Michael Chastain <mec@shout.net>
3315
3316 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
3317 * gdb.c++/inherit.exp: Likewise.
3318 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
3319 * gdb.c++/templates.exp: Likewise.
3320 * gdb.c++/virtfunc.exp: Likewise.
3321
c56716b0
JM
33222003-02-06 Jason Molenda (jason-cl@molenda.com)
3323
3324 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
3325 why the code is written that way.
3326
070afcf8
MC
33272003-02-05 Michael Chastain <mec@shout.net>
3328
3329 * gdb.base/dump.exp: Add missing copyright line.
3330
5d0331e5
JM
33312003-02-05 Jason Molenda (jason-cl@molenda.com)
3332
f7ae6d3e 3333 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
3334 at the beginning so the breakpoint doesn't get set on the loop.
3335
92851186
MC
33362003-02-05 Michael Chastain <mec@shout.net>
3337
3338 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
3339 output for configurations with gcc 2.95.3.
3340
cbf1e085
AC
33412003-02-05 Keith Seitz <keiths@redhat.com>
3342 Andrew Cagney <ac131313@redhat.com>
3343
3344 * gdb.mi/mi-cli.exp: New file.
d63a86f8 3345
29518e1e
MC
33462003-02-04 Michael Chastain <mec@shout.net>
3347
3348 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
3349 Call perror and then continue.
3350
5af1d5f3
MC
33512003-02-03 Michael Chastain <mec@shout.net>
3352
3353 * gdb.c++/pr-1023.cc: New file.
3354 * gdb.c++/pr-1023.exp: New file.
3355
6b549786
JB
33562003-02-05 Jim Blandy <jimb@redhat.com>
3357
3358 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
3359 it's local to foobar. Check for it there, and check that it's not
3360 present in main.
3361 * gdb.c++/local.cc (marker2): New function.
3362 (foobar): Call marker1.
3363 (main): Call marker2 instead of marker1.
3364
67f16606
AC
33652003-02-04 Andrew Cagney <ac131313@redhat.com>
3366
3367 * gdb.disasm/mn10200.exp: Obsolete file.
3368 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
3369 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
3370 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
3371
1c5cb38e
DC
33722003-02-04 David Carlton <carlton@math.stanford.edu>
3373
3374 * gdb.c++/overload.exp: Test intToChar(1).
3375 * gdb.c++/overload.cc (intToChar): New.
3376 (main): Call intToChar.
3377
d1fe6965
DC
33782003-02-03 David Carlton <carlton@math.stanford.edu>
3379
3380 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
3381 'might_kfail' arg.
3382 KFAIL some of the continue_to_bp_overloaded calls, according to
3383 PR c++/1025.
3384
9ba61c5d
MC
33852003-02-01 Michael Chastain <mec@shout.net>
3386
3387 * gdb.base/advance.c (marker1): New marker function.
3388 * gdb.base/advance.exp: When the 'advance' command lands on the
3389 return breakpoint, it can legitimately stop on either the
3390 current line or the next line. Accommodate both outcomes.
3391 * gdb.base/until.exp: Likewise.
3392
e7494ffb
AC
33932003-02-02 Andrew Cagney <ac131313@redhat.com>
3394
3395 2002-11-10 Jason Molenda (jason-cl@molenda.com):
3396 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
3397 now a list, not a tuple.
3398 * gdb.mi/mi-var-display.exp: Ditto.
3399 * gdb.mi/gdb792.exp: Ditto.
3400
075559bc
AC
34012003-02-01 Andrew Cagney <ac131313@redhat.com>
3402
3403 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
3404 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
3405 stack backtraces.
3406 * gdb.mi/mi-syn-frame.c: Part of same.
3407
2bd4c7b1
MK
34082003-02-01 Mark Kettenis <kettenis@gnu.org>
3409
3410 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3411 gdb.mi/mi1-pthreads.exp: Return instead of calling
3412 gdb_suppress_entire_file.
3413
eabd8992
MS
34142003-02-01 Mark Salter <msalter@redhat.com>
3415
3416 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
3417
71469e2f
MS
34182003-01-31 Mark Salter <msalter@redhat.com>
3419
3420 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
3421 Support empty arg.
3422
38a94d44
MC
34232003-01-30 Michael Chastain <mec@shout.net>
3424
3425 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
3426 This was a workaround for a UTF-8 bug in readline 4.3. The bug
3427 has been fixed in gdb/readline on 2003-01-09.
3428
19ea9e73
MS
34292003-01-29 Michael Snyder <msnyder@redhat.com>
3430
e8d359df
MS
3431 * gdb.base/maint.exp: Allow for leading underscore in symbol.
3432 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
3433 * gdb.base/args.exp: Skip if target does not support args passing.
3434
2307bd6a
DJ
34352003-01-22 Daniel Jacobowitz <drow@mvista.com>
3436
19ea9e73 3437 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
3438 gdb_test. Accept a list of expect arguments as the third
3439 parameter.
3440 (gdb_test): Use it.
3441
f2dd3617
EZ
34422003-01-20 Elena Zannoni <ezannoni@redhat.com>
3443
3444 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
3445 allow for different test tree configurations. Update some
3446 tescases accordingly.
3447 * gdb.arch/altivec-regs.exp: Ditto.
3448 * gdb.asm/asm-source.exp: Ditto.
3449 * gdb.base/advance.exp: Ditto.
3450 * gdb.base/display.exp: Ditto.
d63a86f8 3451 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
3452 * gdb.base/mips_pro.exp: Ditto.
3453 * gdb.base/overlays.exp: Ditto.
3454 * gdb.base/relocate.exp: Ditto.
3455 * gdb.base/setshow.exp: Ditto.
3456 * gdb.base/step-line.exp: Ditto.
3457 * gdb.base/step-test.exp: Ditto.
3458 * gdb.base/until.exp: Ditto.
3459 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
3460
c71cdefd
DC
34612003-01-17 David Carlton <carlton@math.stanford.edu>
3462
3463 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
3464 corresponding to PR c++/945.
3465 Update copyright.
3466
fdba05d7
DC
34672003-01-17 David Carlton <carlton@math.stanford.edu>
3468
3469 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
3470 corresponding to PR c++/68.
3471
34722003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
3473
3474 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
3475 (test_paddr_hairy_functions): Call print_addr_2_kfail for
3476 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
3477
c362c33a
EZ
34782003-01-15 Elena Zannoni <ezannoni@redhat.com>
3479
0fbc361c
EZ
3480 * gdb.base/break.exp: Fix change of default location, because of
3481 removal of until tests.
3482 * gdb.base/help.exp: Update test for new 'until' help message.
3483 Add test for help on 'advance'.
c362c33a
EZ
3484 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
3485
dabf8a35
MK
34862003-01-15 Mark Kettenis <kettenis@gnu.org>
3487
3488 * gdb.base/default.exp: Adapt "info float" test for recent changes
3489 to that command. Add test for "info vector".
3490 * gdb.base/float.exp: New file. Add test for "info float" that
3491 resembles the old test in gdb.base/default.exp.
3492
a1769aca
DC
34932003-01-15 David Carlton <carlton@math.stanford.edu>
3494
3495 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
3496
82025e13
EZ
34972003-01-15 Elena Zannoni <ezannoni@redhat.com>
3498
3499 * gdb.base/break.exp: Move the tests of until command from here...
3500 * gdb.base/until.exp: ... to here. New file. Add other tests.
3501 * gdb.base/advance.c: New file.
3502 * gdb.base/advance.exp: New file.
3503
8f9ab801
EZ
35042003-01-14 Elena Zannoni <ezannoni@redhat.com>
3505
3506 * gdb.base/args.c: New file.
3507 * gdb.base/args.exp: New file.
3508
9ae66589
DJ
35092003-01-14 Daniel Jacobowitz <drow@mvista.com>
3510
3511 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
3512
8d77e5c3
DJ
35132003-01-14 Daniel Jacobowitz <drow@mvista.com>
3514
3515 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
3516
12d2f0a1
DJ
35172003-01-14 Daniel Jacobowitz <drow@mvista.com>
3518
3519 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
3520 dates.
3521
6ca37014
DJ
35222003-01-13 Daniel Jacobowitz <drow@mvista.com>
3523
3524 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
3525
b0023472
DJ
35262003-01-13 Daniel Jacobowitz <drow@mvista.com>
3527
3528 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
3529 (ptype &*"foo").
3530 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
3531
d6abaea5
DJ
35322002-01-13 Daniel Jacobowitz <drow@mvista.com>
3533
3534 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
3535 * gdb.mi/mi1-console.exp: Likewise.
3536
dfd536a7
DJ
35372002-01-13 Daniel Jacobowitz <drow@mvista.com>
3538
3539 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
3540 * gdb.mi/mi1-console.exp: Likewise.
3541
a1fb14a2
DJ
35422003-01-13 Daniel Jacobowitz <drow@mvista.com>
3543
3544 * gdb.c++/overload.exp: Remove some fixed XFAILs.
3545
c4cf40b7
DJ
35462003-01-09 Daniel Jacobowitz <drow@mvista.com>
3547
3548 * gdb.base/detach.exp: New test.
3549
696d5a5b
DJ
35502003-01-09 Daniel Jacobowitz <drow@mvista.com>
3551
3552 * Makefile.in (ALL_SUBDIRS): New variable.
3553 (subdirs, clean, distclean): Use it.
3554 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
3555 regenerating Makefile, since it is generated from the top level.
3556 * gdb.asm/Makefile.in: Likewise.
3557 * gdb.base/Makefile.in: Likewise.
3558 * gdb.c++/Makefile.in: Likewise.
3559 * gdb.disasm/Makefile.in: Likewise.
3560 * gdb.java/Makefile.in: Likewise.
3561 * gdb.mi/Makefile.in: Likewise.
3562 * gdb.threads/Makefile.in: Likewise.
3563 * gdb.trace/Makefile.in: Likewise.
3564
754533e4
DC
35652003-01-09 David Carlton <carlton@math.stanford.edu>
3566
3567 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
3568 Add copyright year 2003.
3569
d8b3e9ee
MC
35702003-01-06 Michael Chastain <mec@shout.net>
3571
3572 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
3573 When selecting a thread, 'line' and 'file' are optional.
3574 * gdb.mi/mi1-pthreads.exp: Likewise.
3575
8e9e0fe6
AS
35762003-01-06 Andreas Schwab <schwab@suse.de>
3577
3578 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
3579 failures.
3580
b5ab8ff3
DJ
35812003-01-04 Daniel Jacobowitz <drow@mvista.com>
3582
3583 Fix PR gdb/844
3584 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
3585 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
3586
3587 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
3588 instead of calling gdb_suppress_entire_file.
3589 * gdb.threads/print-threads.exp: Likewise.
3590 * gdb.threads/schedlock.exp: Likewise.
3591
3592 * gdb.threads/killed.exp: Return instead of calling
3593 gdb_suppress_entire_file.
3594 * gdb.threads/linux-dp.exp: Likewise.
3595 * gdb.threads/pthreads.exp: Likewise.
3596
1e698235
DJ
35972003-01-04 Daniel Jacobowitz <drow@mvista.com>
3598
3599 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
3600 stabs.
3601 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
3602 * gdb.base/whatis.exp: Always allow (void) after function names.
3603
147ff08c
DJ
36042003-01-04 Daniel Jacobowitz <drow@mvista.com>
3605
3606 * gdb.c++/casts.exp: Correct regexp.
3607
dc62bfc2
MK
36082003-01-04 Mark Kettenis <kettenis@gnu.org>
3609
3610 * configure.in: Call AC_CONFIG_HEADER. Don't call
3611 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
3612 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
3613 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
3614 aforementioned directories in the AC_OUPUT call.
3615 * config.hin: New file.
3616 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3617 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
3618 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
3619 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
3620 pass -I$objdir instead of -I$objdir/$subdir in compilation.
3621 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
3622 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
3623 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
3624 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
3625 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
3626 gdb.threads/configure.in, gdb.threads/configure,
3627 gdb.threads/config.in, gdb.trace/configure.in,
3628 gdb.trace/configure: Removed.
3629
77afa639
MC
36302003-01-03 Michael Chastain <mec@shout.net>
3631
3632 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
3633 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
3634
7634bb6e
DJ
36352003-01-03 Daniel Jacobowitz <drow@mvista.com>
3636
3637 * gdb.base/store.exp: Fix regular expressions.
3638
b39c905e
MK
36392002-12-28 Mark Kettenis <kettenis@gnu.org>
3640
3641 * configure.in: Rewrite.
3642 * configure: Regenerated.
3643
0a8551dd
DC
36442003-01-03 David Carlton <carlton@math.stanford.edu>
3645
3646 * gdb.base/psymtab.exp: New file.
3647 * gdb.base/psymtab1.c: Ditto.
3648 * gdb.base/psymtab2.c: Ditto.
3649
c60b7188
AF
36502002-12-23 Adam Fedor <fedor@gnu.org>
3651
3652 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
3653
ee73db83
DC
36542002-12-23 David Carlton <carlton@math.stanford.edu>
3655
3656 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
3657 and current_directory initialization.
3658
d6c1774e
JB
36592002-12-22 Jim Blandy <jimb@redhat.com>
3660
f0a847b8
JB
3661 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
3662 rather than as part of the output file name.
3663
d6c1774e
JB
3664 * gdb.base/attach.exp: There's no need to copy the test program to
3665 /tmp; that was only ever necessary on HP/UX, and this test is
3666 entirely disabled there anyway.
3667
f0708dbb
JB
36682002-12-21 Jim Blandy <jimb@redhat.com>
3669
4c2acfea
JB
3670 * gdb.c++/psmang.exp: Doc fix.
3671
f0708dbb
JB
3672 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
3673 test.
3674
9579e000
DC
36752002-12-20 David Carlton <carlton@math.stanford.edu>
3676
3677 * gdb.c++/annota2.exp: KFAIL annotate-quit.
3678
d1810171
MC
36792002-12-18 Michael Chastain <mec@shout.net>
3680
3681 * gdb.c++/annota2.exp: Add copyright year 2002.
3682
76565097
DC
36832002-12-17 David Carlton <carlton@math.stanford.edu>
3684
3685 * gdb.c++/try_catch.cc: Add marker comments.
3686 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
3687 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
3688 * gdb.c++/m-static.cc: Ditto.
3689 * gdb.c++/m-static1.cc: Ditto.
3690 * gdb.c++/try_catch.cc: Ditto.
3691
da81390b
JJ
36922002-12-16 Jeff Johnston <jjohnstn@redhat.com>
3693
3694 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
3695 to see whether we are using the new -environment-directory
3696 command which resets via -r or the old version of the command
3697 which may prompt the user. Part of fix for gdb/741.
3698
b304d130
AC
36992002-12-13 Andrew Cagney <ac131313@redhat.com>
3700
3701 * gdb.fortran/types.exp: Update obsolete comment.
3702 * gdb.fortran/exprs.exp: Ditto.
3703 * lib/gdb.exp: Delete obsolete code.
3704 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
3705 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
3706 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
3707 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
3708 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
3709 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
3710 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
3711 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
3712 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
3713 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
3714 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
3715 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
3716 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
3717 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
3718 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
3719 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
3720 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
3721 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
3722 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
3723 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
3724 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
3725 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
3726 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
3727 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
3728 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
3729 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
3730 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
3731 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
3732 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
3733 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
3734 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
3735 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
3736 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
3737 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
3738 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
3739 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
3740 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
3741
a23b6e6a
DC
37422002-12-11 David Carlton <carlton@math.stanford.edu>
3743
3744 * gdb.c++/m-data.exp: Add test for members that shadow global
3745 variables: see PR gdb/804.
3746 * gdb.c++/m-data.cc: Ditto.
3747
6604731b
DJ
37482002-12-10 Daniel Jacobowitz <drow@mvista.com>
3749
3750 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
3751
de46ecd7
DC
37522002-12-06 David Carlton <carlton@math.stanford.edu>
3753
3754 * gdb.base/store.c: Don't declare functions static.
3755
27e829d0
AC
37562002-12-04 Andrew Cagney <ac131313@redhat.com>
3757
3758 * gdb.base/store.exp, gdb.base/store.c: New files.
3759
92806416
DJ
37602002-12-03 Daniel Jacobowitz <drow@mvista.com>
3761
3762 * gdb.base/selftest.exp: Update for current gdb.
3763
3bcbaac5
DJ
37642002-12-03 Daniel Jacobowitz <drow@mvista.com>
3765
3766 * gdb.base/maint.exp: Only dump symbols from one source file
3767 or objfile.
3768
f4f00b1f
DJ
37692002-12-03 Daniel Jacobowitz <drow@mvista.com>
3770
3771 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
3772 function call.
3773
f1c8a949
JB
37742002-11-25 Jim Blandy <jimb@redhat.com>
3775
3776 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
3777 function appearing in error message.
3778
9e297a97
DJ
37792002-11-21 Daniel Jacobowitz <drow@mvista.com>
3780
3781 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
3782
1f312e79
JJ
37832002-11-08 Jeff Johnston <jjohnstn@redhat.com>
3784
d63a86f8
RM
3785 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
3786 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
3787 should be in mi console format. This is part of fix for PR gdb/604.
3788
83c31e7d
FN
37892002-09-18 Fernando Nasser <fnasser@redhat.com>
3790
3791 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
3792 which explicitly prints the zero offset as "+0".
3793
322b3f65
DJ
37942002-10-22 Daniel Jacobowitz <drow@mvista.com>
3795
3796 * gdb.threads/schedlock.c (args): Make unsigned.
3797
37982002-10-21 Daniel Jacobowitz <drow@mvista.com>
3799
3800 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
3801 numbers. Allow "foo2|selected stack frame".
3802 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
3803 * gdb.asm/asmsrc2.s: Likewise.
3804 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
3805 comments.
3806 * gdb.asm/mips.inc: New file.
3807
5e2fe5b8
AF
38082002-10-18 Adam Fedor <fedor@gnu.org>
3809
3810 * gdb.base/default.exp: Update expected output to include 'ObjC'.
3811 * gdb.base/help.exp: Likewise.
3812
abe1a5d0
KB
38132002-10-17 Kevin Buettner <kevinb@redhat.com>
3814
3815 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
3816 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
3817
10abb1d4
JB
38182002-10-02 Jim Blandy <jimb@redhat.com>
3819
3820 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
3821
1f609b42
AC
38222002-10-01 Andrew Cagney <ac131313@redhat.com>
3823
3824 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
3825 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
3826 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
3827 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
3828 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
3829 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
3830 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
3831
0aee02e4
AC
38322002-09-29 Andrew Cagney <ac131313@redhat.com>
3833
3834 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
3835 * mi0-disassemble.exp, mi0-eval.exp: Delete.
3836 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
3837 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
3838 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
3839 * mi0-var-block.exp, mi0-var-child.exp: Delete.
3840 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 3841
6fde09ad
KB
38422002-09-27 Kevin Buettner <kevinb@redhat.com>
3843
3844 * gdb.base/annota1.exp (info break): Make directory components of
3845 path optional since not all compilers emit this debug information.
3846
3847 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
3848 step ends up stepping out of the function instead of stopping on
3849 the epilogue.
3850
9e8aab75
KS
38512002-09-26 Keith Seitz <keiths@redhat.com>
3852
3853 * lib/insight-support.exp (gdbtk_start): Figure out where
3854 the insight executable is based on where gdb is. Use this
3855 executable to start insight instead of gdb.
3856
e36180d7
AC
38572002-09-25 Andrew Cagney <cagney@redhat.com>
3858
3859 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
3860
9dd34b2b
AC
38612002-09-24 Andrew Cagney <ac131313@redhat.com>
3862
3863 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
3864 test_isolated_complaints.
3865 (test_empty_complaint): New function.
3866 (test_empty_complaints): New function. Check no output when no
3867 complaints.
d63a86f8 3868
dea97812
KB
38692002-09-19 Jim Blandy <jimb@redhat.com>
3870
3871 * gdb.base/charset.exp, gdb.base/charset.c: New files.
3872
54951bd7
AC
38732002-09-19 Andrew Cagney <ac131313@redhat.com>
3874
3875 * gdb.gdb/complaints.exp: New file.
3876
dec43320
AC
38772002-09-18 Andrew Cagney <ac131313@redhat.com>
3878
3879 * gdb.base/maint.exp: Check `help maint internal-warning'.
3880
e70d6e3f
DC
38812002-09-18 David Carlton <carlton@math.stanford.edu>
3882
3883 * gdb.c++/m-static.exp: Remove breakpoints depending on line
3884 numbers, and replace them by a single breakpoint after the
3885 constructors are all finished.
3886 Add test 4.
3887 * gdb.c++/m-static.cc: Add test 4.
3888 * gdb.c++/m-static.h: New file.
3889 * gdb.c++/m-static1.cc: New file.
3890
3891 * gdb.c++/printmethod.exp: New file.
3892 * gdb.c++/printmethod.cc: New file.
3893
3894 * gdb.c++/pr-574.exp: New file.
3895 * gdb.c++/pr-574.cc: New file.
3896
afb5c968
CV
38972002-09-18 Corinna Vinschen <vinschen@redhat.com>
3898
3899 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
3900 embedded targets which never actually exit.
3901
31e45dee
FN
39022002-09-18 Fernando Nasser <fnasser@redhat.com>
3903
3904 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
3905 "don't step after run" as unresolved or unsupported, instead of xfail.
3906
a283c5a1
CV
39072002-09-18 Corinna Vinschen <vinschen@redhat.com>
3908
3909 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
3910 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
3911 Add newline to expected string in "step out of main (status wrapper)"
3912 case.
3913
11350d2a
CV
39142002-09-18 Corinna Vinschen <vinschen@redhat.com>
3915
3916 * lib/gdb.exp (rerun_to_main): Allow restarting application.
3917 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
3918
0deec7d6
TT
39192002-09-17 Tom Tromey <tromey@redhat.com>
3920
3921 * gdb.base/printcmds.exp (test_print_string_constants): Expect
3922 \000, not \0, in double-quoted string.
3923
b2b4a1b5
CV
39242002-09-14 Corinna Vinschen <vinschen@redhat.com>
3925
c9d37158 3926 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
3927 string after running the commands execution on breakpoint tests.
3928
1c56143a
CV
39292002-09-13 Corinna Vinschen <vinschen@redhat.com>
3930
3931 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
3932
37f8da45
JB
39332002-09-12 Joel Brobecker <brobecker@gnat.com>
3934
3935 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
3936
08b468e0
KS
39372002-09-10 Keith Seitz <keiths@redhat.com>
3938
3939 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
3940 runto proc.
3941 (mi_run_to_main): Use mi_runto.
3942 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
3943
dc360f58
KS
39442002-09-10 Keith Seitz <keiths@redhat.com>
3945
3946 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
3947 regexp for stopping at main. Could have multiple event notifications.
3948 Don't assume that main was declared with no parameters.
3949 (mi_next): Use mi_step_to.
3950 (mi_step): Use mi_next_to.
3951
ce3abcfb
CV
39522002-09-09 Corinna Vinschen <vinschen@redhat.com>
3953
3954 * gdb.base/default.exp: Fix expected string in `info float' test.
3955
d1f5b980
BE
39562002-09-09 Ben Elliston <bje@redhat.com>
3957
3958 * config/mips.exp: Update comments.
3959 * config/mips-idt.exp: Likewise.
3960 * config/nind.exp: Likewise.
3961 * config/slite.exp: Likewise.
3962 * config/sparclet.exp: Likewise.
3963 * config/udi.exp: Likewise.
3964 * config/vx.exp: Likewise.
3965 * config/vxworks29k.exp: Likewise.
3966
2f71430b
JB
39672002-09-05 Jim Blandy <jimb@redhat.com>
3968
3969 * gdb.threads/killed.exp: Fix test failure message.
3970
7ddebc7e
KS
39712002-09-04 Keith Seitz <keiths@redhat.com>
3972
3973 * lib/mi-support.exp: Update copyright.
3974 (mi_gdb_test): Increase the priority of the expected pattern
3975 so that it matches gdb_test.
3976
0ae67eb3
KS
39772002-09-03 Keith Seitz <keiths@redhat.com>
3978
3979 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
3980 Use integer comparison instead of string comparison for testing
3981 whether binary was built.
3982
38fc42c8
JB
39832002-09-03 Jim Blandy <jimb@redhat.com>
3984
3985 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
3986
b6ff0e81
JB
39872002-08-29 Jim Blandy <jimb@redhat.com>
3988
3989 * gdb.threads/pthreads.exp: Move the portable thread compilation
3990 code into a function in lib/gdb.exp, and call that from here.
3991 * lib/gdb.exp (gdb_compile_pthreads): New function.
3992
07c98896
KS
39932002-08-29 Keith Seitz <keiths@redhat.com>
3994
3995 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
3996 expect_out so that callers can get at it.
3997
0312286c
DJ
39982002-08-23 Daniel Jacobowitz <drow@mvista.com>
3999
4000 * gdb.threads/print-threads.c: New file.
4001 * gdb.threads/print-threads.exp: New file.
4002 * gdb.threads/schedlock.c: New file.
4003 * gdb.threads/schedlock.exp: New file.
4004
dd039bc4
EZ
40052002-08-22 Elena Zannoni <ezannoni@redhat.com>
4006
4007 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
4008 not altivec.c.
4009
1f36144c
MK
40102002-08-17 Mark Kettenis <kettenis@gnu.org>
4011
4012 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
4013 targets. The problem should be fixed now.
4014
16057ec7 40152002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
4016
4017 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
4018 2002-07-24 change that removes final dots from error messages.
4019
3c1499ad
TT
40202002-08-13 Tom Tromey <tromey@redhat.com>
4021
4022 * gdb.base/readline.exp: New file.
4023
a20ce2c3
AC
40242002-08-01 Andrew Cagney <ac131313@redhat.com>
4025
4026 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
4027 supress message.
4028
db034ac5
AC
40292002-08-01 Andrew Cagney <cagney@redhat.com>
4030
4031 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
4032 CHILL_FOR_TARGET and CHILL_LIB.
4033 * configure.in (configdirs): Remove gdb.chill.
4034 * configure: Regenerate.
4035 * lib/gdb.exp: Obsolete references to chill.
4036 * gdb.fortran/types.exp: Ditto.
4037 * gdb.fortran/exprs.exp: Ditto.
4038
3e000b18
KB
40392002-07-30 Kevin Buettner <kevinb@redhat.com>
4040
4041 * gdb.base/shlib-call.exp (additional_flags): Conditionally
4042 set Irix-specific compile and link flags.
4043
28f4966b
KB
40442002-07-29 Kevin Buettner <kevinb@redhat.com>
4045
4046 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
4047 source files. The ``-o'' option doesn't work with the ``-E'' option
4048 when using the Irix compiler.
4049
46c0d5a6
DJ
40502002-07-19 Daniel Jacobowitz <drow@mvista.com>
4051
4052 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
4053 Improve support for reusing an exec file. Copy exec file
4054 to target, and run gdbserver on the target instead of on the host.
4055
eecf4bed
JB
40562002-07-18 Jim Blandy <jimb@redhat.com>
4057
0f815cdf
JB
4058 * gdb.base/ending-run.exp: Don't expect to see the program end in
4059 some orderly fashion when we're running on a real stand-alone
4060 board.
4061
eecf4bed
JB
4062 * gdb.base/interrupt.exp: Correct logic for skipping tests on
4063 targets that don't support interrupts.
4064
52d309e4
JB
40652002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
4066
4067 * gdb.base/attach.exp: Add patterns to match output from /proc-based
4068 systems.
4069 Move comments in expect statements to inside the actions, so that they
4070 don't get matched against.
4071
ff683d9e
MK
40722002-07-10 Mark Kettenis <kettenis@gnu.org>
4073
4074 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
4075 function when asleep" test.
4076
b5356753
AC
40772002-07-10 Andrew Cagney <ac131313@redhat.com>
4078
4079 * gdb.base/page.exp: Rewrite to handle problems with very long
4080 `info set' output. Update copyright.
4081
6aa4d13a
AC
40822002-06-26 Andrew Cagney <ac131313@redhat.com>
4083
4084 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
4085 gdb.threads-hp.
4086 * gdb.hp/configure: Regenerate.
4087 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
4088 * gdb.hp/gdb.threads-hp/configure: Delete file.
4089 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
4090
8cf8c2b8
AC
40912002-06-22 Andrew Cagney <ac131313@redhat.com>
4092
4093 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
4094 setlocale, bindtextdomain and textdomain.
4095
6827a8f8
JB
40962002-06-11 Jim Blandy <jimb@redhat.com>
4097
919d772c
JB
4098 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
4099 preprocessor macro information is present.
4100
6827a8f8
JB
4101 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
4102 tests.
4103
c15b0d21
MS
41042002-06-06 Michael Snyder <msnyder@redhat.com>
4105
c5984d70
MS
4106 * gdb.base/overlays.exp: Record addresses of overlay
4107 functions in TCL variables rather than in GDB variables,
4108 to avoid having GDB convert them to pointers (with loss
4109 of information).
4110
d63a86f8 4111 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 4112 default linker script changes.
c15b0d21
MS
4113 * gdb.base/long_long.exp: Add check for sizeof (long double).
4114
be26fe0d
ML
41152002-06-06 Michal Ludvig <mludvig@suse.cz>
4116
4117 * gdb.asm/asm-source.exp: Add x86-64 target.
4118 * gdb.asm/x86_64.inc: New.
d63a86f8 4119
258093ca 41202002-05-30 Michael Chastain <mec@shout.net>
258093ca 4121
4b3153f1 4122 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
4123 * gdb.c++/m-static.cc: New file.
4124 * gdb.c++/m-static.exp: New file.
4125
241264c6
MS
41262002-05-28 Michael Snyder <msnyder@redhat.com>
4127
4128 * gdb.base/call-ar-st.exp: Allow for reduced floating point
4129 precision.
4130
9bba8c8f 41312002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 4132
4b3153f1 4133 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
4134 * gdb.c++/m-data.cc: New file.
4135 * gdb.c++/m-data.exp: New file.
4136
41372002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 4138
4b3153f1 4139 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 4140 * gdb.c++/try_catch.cc: New file.
d63a86f8 4141 * gdb.c++/try_catch.exp: New file.
9bba8c8f 4142
def1b996
MC
41432002-05-27 Michael Chastain <mec@shout.net>
4144
4145 * gdb.c++/local.exp: Accept more nested types in output.
4146
522ba268
MC
41472002-05-26 Michael Chastain <mec@shout.net>
4148
4149 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
4150
277254ba
MS
41512002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
4152
4153 * lib/gdb.exp (gdb_wrapper_init): Just because
4154 gdb_wrapper_file exists, this does not mean that the file
4155 should not be rebuilt. That is what gdb_wrapper_initialized
4156 is for.
4157 (default_gdb_init): Reset gdb_wrapper_initialized.
4158
b61a8733
MS
41592002-05-23 Michael Snyder <msnyder@redhat.com>
4160
d63a86f8 4161 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
4162 the precision of the floating point test results.
4163 * gdb.base/call-rt-st.exp: Ditto.
4164
b61a8733
MS
4165 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
4166 * gdb.base/call-rt-st.exp: Ditto.
4167
56f6e910
MC
41682002-05-19 Michael Chastain <mec@shout.net>
4169
4170 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
4171
ad0b0016
EZ
41722002-05-19 Elena Zannoni <ezannoni@redhat.com>
4173
4174 * configure.in (configdirs): Add gdb.arch.
4175 * configure: Regenerate.
4176
f617d2b6
JB
41772002-05-17 Jim Blandy <jimb@redhat.com>
4178
4179 * gdb.base/completion.exp: Recognize the more detailed error
4180 messages produced by the macro expander's lexical analyzer.
4181
eac2a696
EZ
41822002-05-14 Elena Zannoni <ezannoni@redhat.com>
4183
4184 * gdb.arch/altivec-abi.c: New file.
4185 * gdb.arch/altivec-abi.exp: New file.
4186 * gdb.arch/altivec-regs.c: New file.
4187 * gdb.arch/altivec-regs.exp: New file.
4188
2fdde8f8
DJ
41892002-05-14 Daniel Jacobowitz <drow@mvista.com>
4190
4191 * gdb.base/maint.exp (maint print type): Update for new type
4192 structure.
d63a86f8 4193
e31f1a7c
EZ
41942002-05-14 Elena Zannoni <ezannoni@redhat.com>
4195
4196 * gdb.arch: New directory.
4197 * gdb.arch/configure.in: New file.
4198 * gdb.arch/configure: New file.
4199 * gdb.arch/Makefile.in: New file.
4200
db589741
CV
42012002-05-13 Corinna Vinschen <vinschen@redhat.com>
4202
4203 * gdb.asm/asm-source.exp: Add v850 as supported target.
4204 * gdb.asm/v850.inc: New file.
4205
8ce2a7dc
DJ
42062002-05-13 Daniel Jacobowitz <drow@mvista.com>
4207
4208 * gdb.c++/annota2.exp (annotate-quit): Add comment.
4209
df763c7f
DJ
42102002-05-12 Daniel Jacobowitz <drow@mvista.com>
4211
4212 * gdb.base/break.exp: Check 'break "marker2"'.
4213
377daeed
MS
42142002-05-10 Michael Snyder <msnyder@redhat.com>
4215
4216 * gdb.base/long_long.exp: Fix typo.
4217
c4b7bc2b
JB
42182002-05-10 Jim Blandy <jimb@redhat.com>
4219
ecac9a4e
JB
4220 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
4221 a bug.
4222
c4b7bc2b
JB
4223 * gdb.base/printcmds.exp (test_integer_literals_rejected):
4224 Recognize more detailed error message produced by the macro
4225 expander's lexical analyzer.
4226 * lib/gdb.exp (test_print_reject): Same.
4227
e71019a1
MK
42282002-05-09 Mark Kettenis <kettenis@gnu.org>
4229
4230 * gdb.c++/method.exp: Fix typo.
4231
fedfc8e6
MS
42322002-05-08 Michael Snyder <msnyder@redhat.com>
4233
166a1957
MS
4234 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
4235 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 4236 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
4237 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
4238 Add iftarget clause for strongarm.
d63a86f8 4239
f1c47eb2
MS
42402002-05-06 Michael Snyder <msnyder@redhat.com>
4241
cb9a9d3e
MS
4242 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
4243 (gdb_continue_to_end): Accept output from status wrapper.
4244 * gdb.base/ending-run.exp: Add case for output from status wrapper.
4245 Clean up fail messages to match pass messages.
4246
f1c47eb2
MS
4247 Enable the "needs_status_wrapper" testsuite feature.
4248 * lib/gdb.exp (gdb_wrapper_init): New procedure.
4249 (gdb_compile): Conditionally call gdb_wrapper_init.
4250 * gdb.base/a2-run.exp: Recognize output from status wrapper.
4251 * gdb.c++/method.exp: Recognize output from status wrapper.
4252
6079c749
BE
42532002-05-06 Ben Elliston <bje@redhat.com>
4254From Graydon Hoare <graydon@redhat.com>
4255
4256 * config/sid.exp: Include support for "rawsid" protocol.
4257
188baff3
JB
42582002-05-03 Jim Blandy <jimb@redhat.com>
4259
4260 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
4261 * gdb.c++/hang3.C: New file.
4262
b9c07f0f
AC
42632002-05-04 Andrew Cagney <ac131313@redhat.com>
4264
4265 * gdb.base/default.exp: Remove obsolete code.
4266 * gdb.c++/misc.exp: Ditto. Update copyright.
4267 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
4268 * gdb.base/whatis.exp: Ditto. Update copyright.
4269 * gdb.base/scope.exp: Ditto. Update copyright.
4270 * gdb.base/ptype.exp: Ditto. Update copyright.
4271 * gdb.base/printcmds.exp: Ditto. Update copyright.
4272 * gdb.base/opaque.exp: Ditto. Update copyright.
4273 * gdb.base/list.exp: Ditto.
4274 * gdb.base/funcargs.exp: Ditto. Update copyright.
4275 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
4276 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
4277 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
4278 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
4279 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
4280 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
4281
5c7a0397
MS
42822002-05-02 Michael Snyder <msnyder@redhat.com>
4283
d6dcc264 4284 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
4285 * gdb.base/long_long.exp: Add xscale target.
4286 * gdb.base/default.exp: Add xscale target.
4287
eb7f1c48
JB
42882002-05-01 Jim Blandy <jimb@redhat.com>
4289
4290 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
4291 gdb.c++/hang.exp: New test.
4292
a6befae8
FF
42932002-05-01 Fred Fish <fnf@redhat.com>
4294
4295 * gdb.base/completion.exp: Handle completions of "./Make" for
4296 more than one completion possibility, as is the case when we
4297 build and test in the source tree.
4298
0a310277
AG
42992002-04-29 Anthony Green <green@redhat.com>
4300
4301 * gdb.java/jmisc1.exp: New file.
4302 * gdb.java/jmisc2.exp: New file.
4303
6ff9af88
DJ
43042002-04-24 Daniel Jacobowitz <drow@mvista.com>
4305
4306 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
4307
96b3d632
EZ
43082002-04-23 Elena Zannoni <ezannoni@redhat.com>
4309
4310 * gdb.base/help.exp: Change 'help status' to allow for target
4311 dependent output differences.
4312
5019bb54
MC
43132002-04-22 Michael Chastain <mec@shout.net>
4314
4315 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
4316
a805a116
MC
43172002-04-22 Michael Chastain <mec@shout.net>
4318
4319 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
4320
a1706bfd
DM
43212002-04-17 David S. Miller <davem@redhat.com>
4322
4323 * gdb.asm/sparc64.inc: New file.
4324 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
4325
a73a20a2
EZ
43262002-04-19 Elena Zannoni <ezannoni@redhat.com>
4327
4328 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
4329 instruction file directly into the build tree. Clean up at end of
4330 test.
4331
ba678339
DM
43322002-04-18 David S. Miller <davem@redhat.com>
4333
4334 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
4335 handle 64-bit platforms correctly.
4336 * gdb.base/maint.exp: Likewise.
4337
b03399da
KB
43382002-04-18 Kevin Buettner <kevinb@redhat.com>
4339
4340 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
4341 ``-fpic'' when compiling files comprising a shared library, but
4342 it does need additional linker flags in order to find shared
4343 libraries at run time.
4344
e2004992
KB
43452002-04-18 Kevin Buettner <kevinb@redhat.com>
4346
4347 * gdb.base/cvexpr.c (use): New function.
4348 (main): Invoke use() on all global variables to prevent
4349 some linkers from deleting these otherwise unused symbols.
4350
d8937120
MC
43512002-04-17 Michael Chastain <mec@shout.net>
4352From David S. Miller <davem@redhat.com>
4353
4354 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
4355 handle 64-bit platforms correctly.
4356
ffd61a58
MS
43572002-04-12 Michael Snyder <msnyder@redhat.com>
4358From Jim Blandy <jimb@redhat.com>
4359 * gdb.base/foo.c (foox): Remove section attribute; the linker
4360 script can handle this instead.
4361 * gdb.base/bar.c (barx): Same.
4362 * gdb.base/baz.c (bazx): Same.
4363 * gdb.base/grbx.c (grbxx): Same.
4364
4365 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
4366 manager doesn't automatically unmap overlays unnecessarily.
4367
6b8426a6
MH
43682002-04-10 Martin M. Hunt <hunt@redhat.com>
4369
4370 * gdb.base/ending-run.exp: Fix pattern for Mips targets
4371 stepping out of main.
4372
34af4875
MC
43732002-04-09 Michael Chastain <mec@shout.net>
4374
4375 * gdb.c++/local.cc (main): Move call to marker1() inside nested
4376 scope so that the nested scope tests will make sense.
4377 * gdb.c++/local.exp: Write patterns that actually work with gcc
4378 (the HP patterns "were never known to work with gcc").
4379 Keep the old aCC patterns too.
4380
2d1676a0
DJ
43812002-04-09 Daniel Jacobowitz <drow@mvista.com>
4382
4383 * gdb.base/attach.exp: Correct target board test.
4384
3a63e3f9
MC
43852002-04-08 Michael Chastain <mec@shout.net>
4386
4387 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
4388 in a const method. Add some xfail and fail cases for configurations
4389 that do not emit the "const ...".
4390
f18dabd2
MC
43912002-04-07 Michael Chastain <mec@shout.net>
4392
4393 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
4394 Accept "A * const" and "const A * const" as type of "this".
4395 Fix spelling of getFunky throughout. Make messages uniform.
4396
0fcddd82
EZ
43972002-04-07 Elena Zannoni <ezannoni@redhat.com>
4398
4399 Work around for PR gdb/285:
4400 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
4401
16a8534a
EZ
44022002-04-07 Elena Zannoni <ezannoni@redhat.com>
4403
4404 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
4405 instructions file at run time instead of configure time.
4406 Sometimes we run the test in a directory that is not the one we
4407 configured in.
4408 * gdb.asm/configure.in: Delete creation of symlink.
4409 * gdb.asm/configure: Regenerate.
4410
24181d81
JB
44112002-04-05 J. Brobecker <brobecker@gnat.com>
4412
4413 * gdb.gdb/xfullpath.exp: New test, to exercise the new
4414 xfullpath () function.
4415
7cdb7107
DJ
44162002-04-04 Daniel Jacobowitz <drow@mvista.com>
4417
4418 * gdb.asm/Makefile.in: Correct dependencies.
4419
4420 * gdb.asm/powerpc.inc: New file.
4421 * gdb.asm/asm-source.exp: Add PowerPC.
4422 * gdb.asm/configure.in: Likewise.
4423 * gdb.asm/configure: Regenerated.
4424
a7d17088
DJ
44252002-04-04 Daniel Jacobowitz <drow@mvista.com>
4426
4427 * gdb.base/relocate.exp: New file.
4428 * gdb.base/relocate.c: New file.
4429
cd721503
FF
44302002-04-04 Fred Fish <fnf@redhat.com>
4431
4432 * gdb.base/step-test.exp: Update comment regarding stopping in
4433 memcpy/bcopy calls inserted as part of the compiler runtime.
4434
b22ad7a7
MS
44352002-04-04 Michael Snyder <msnyder@redhat.com>
4436
4437 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
4438
5f279fa6
DJ
44392002-04-03 Daniel Jacobowitz <drow@mvista.com>
4440
4441 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
4442 (gdb_expect): Remove $notransfer hack.
4443
dd0fd3ce
DJ
44442002-04-02 Daniel Jacobowitz <drow@mvista.com>
4445
4446 * gdb.c++/classes.exp ("calling method for small class"): Match
4447 updated register output.
4448
1e50cda1
DJ
44492002-03-30 Daniel Jacobowitz <drow@mvista.com>
4450
4451 Fix PR gdb/452
4452 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
4453 when finished. Make gdb_file_cmd send "exec-file" when
4454 appropriate.
4455
24015922
DJ
44562002-03-30 Daniel Jacobowitz <drow@mvista.com>
4457
4458 * gdb.base/attach.exp: Remove extra setup_xfail.
4459
dd7dfd64
MS
44602002-03-26 Michael Snyder <msnyder@redhat.com>
4461
4462 * gdb.base/default.exp: Add tests for dump, append, and restore.
4463 * gdb.base/help.exp: Add tests for dump, append, and restore.
4464 * gdb.base/dump.exp: New file, test dump, append and restore.
4465 * gdb.base/dump.c: New file.
4466
48b2f8d7
MS
44672002-03-27 Michael Snyder <msnyder@redhat.com>
4468
d63a86f8 4469 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
4470 clean-ups in help messages.
4471
05b4d525
FF
44722002-03-26 Fred Fish <fnf@redhat.com>
4473
4474 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
4475 have debugging info for those functions and the compiler uses them
4476 internally to copy structs around.
4477
d7679631
FF
44782002-03-26 Fred Fish <fnf@redhat.com>
4479
4480 * gdb.base/list.exp: Revert the change made yesterday and add note
4481 about why we don't list the default lines for remote targets.
4482
523ac3f9
MS
44832002-03-25 Michael Snyder <msnyder@redhat.com>
4484
4485 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
4486
754b2b8d
FF
44872002-03-25 Fred Fish <fnf@redhat.com>
4488
4489 * gdb.base/list.exp: This test works on remote targets so remove
4490 the short circuit for remote targets. Update copyright.
4491
33c3e192
FF
44922002-03-25 Fred Fish <fnf@redhat.com>
4493
4494 * gdb.base/attach.exp: Fix logic error that was suppressing this
4495 test for all non hppa*-*-hpux* targets, instead of the hp target.
4496 Move comments closer to the suppression point. Also now need to
4497 check that we are running natively.
4498
d43e73ee
MS
44992002-03-22 Michael Snyder <msnyder@redhat.com>
4500
882c8f02
MS
4501 * gdb.base/default.exp: Add test for gcore. Update copyright.
4502 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 4503
04c12f60
FF
45042002-03-06 Fred Fish <fnf@redhat.com>
4505
4506 * gdb.base/funcargs.c: Remove extraneous ';' character.
4507 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
4508
b43df995
MC
45092002-03-04 Michael Chastain <mec@shout.net>
4510
4511 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
4512 accommodate gcc v3 function signature.
4513 * gdb.mi/mi0-var-cmd-exp: Ditto.
4514
92362027
AC
45152002-02-24 Andrew Cagney <ac131313@redhat.com>
4516
4517 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
4518 ``GNU/Linux'' or ``Linux kernel''
4519 * testsuite/gdb.threads/pthreads.c: Ditto.
4520
258ad32d
MC
45212002-02-24 Michael Chastain <mec@shout.net>
4522
4523 * gdb.threads/pthreads.c (thread1): Add a return statement.
4524 (thread2): Likewise.
4525 (foo): Likewise.
4526
04c3b3d4
MC
45272002-02-23 Michael Chastain <mec@shout.net>
4528
4529 * gdb.threads/linux-dp.c (philosopher): Add a return statement
4530 to placate gcc.
4531
5a2a0a20
MC
45322002-02-23 Michael Chastain <mec@shout.net>
4533
4534 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
4535 test "ptype bint". The test passes on all my stabs configurations.
4536
a640f7fc
JB
45372002-02-21 Jim Blandy <jimb@redhat.com>
4538
27924826
JB
4539 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
4540 filename at a time, and watch for the ones we want to see.
4541
a640f7fc
JB
4542 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
4543 types of pointers to prototyped functions.
4544
edcc8c75
AC
45452002-02-20 Andrew Cagney <ac131313@redhat.com>
4546
4547 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
4548 signed, unsigned and straight char.
4549 (padding_char, padding_short, padding_int, padding_long,
4550 padding_long_long, padding_float, padding_double,
4551 padding_long_double): New global variables.
4552 (fill, fill_structs): New functions.
4553
4554 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
4555 for correctly sized writes. Update copyright.
4556 (get_valueof): New procedure.
4557 (get_sizeof): Call get_valueof.
4558 (check_valueof): New procedure.
4559 (check_padding): New procedure.
4560
ac57ea44
MC
45612002-02-20 Michael Chastain <mec@shout.net>
4562
4563 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
4564 to setup_xfail. Document some of the remaining calls.
4565
7a10c941
MC
45662002-02-18 Michael Chastain <mec@shout.net>
4567
4568 * gdb.c++/userdef.exp: Update copyright year.
4569
fb8acdcc
DJ
45702002-02-18 Daniel Jacobowitz <drow@mvista.com>
4571
4572 * gdb.c++/userdef.exp: Test overloaded operators properly.
4573 Remove xfails.
4574
fda6ae12
MS
45752002-02-14 Michael Snyder <msnyder@redhat.com>
4576
4577 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
4578
676a0442
DJ
45792002-02-14 Daniel Jacobowitz <drow@mvista.com>
4580
4581 * gdb.base/a2-run.exp: Check for a remote target properly.
4582 * gdb.base/annota1.exp: Likewise.
4583 * gdb.base/list.exp: Likewise.
4584 * gdb.base/reread.exp: Likewise.
4585 * gdb.base/scope.exp: Likewise.
4586 * gdb.base/shlib-call.exp: Likewise.
4587 * gdb.base/term.exp: Likewise.
4588 * gdb.c++/annota2.exp: Likewise.
4589
78b4f468
RE
45902002-02-13 Richard Earnshaw <rearnsha@arm.com>
4591
4592 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
4593
9a81ba51
MC
45942002-02-10 Michael Chastain <mec@shout.net>
4595
4596 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
4597 (call_after_alloca): Ditto.
4598
004af6c7
DJ
45992002-02-10 Daniel Jacobowitz <drow@mvista.com>
4600
4601 * gdb.base/ending-run.exp: Guard "cont" test with
4602 gdb_skip_stdio_test.
4603
37225f62
JB
46042002-02-06 Jim Blandy <jimb@redhat.com>
4605
4606 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
4607 from here...
4608 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
4609 To here. Disable this test on non-HP platforms. Add big comment.
4610
fe6fdd96
MS
46112002-02-04 Michael Snyder <msnyder@redhat.com>
4612
4613 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
4614 other than d10v and m32r.
4615
036fad3f
RE
46162002-02-02 Richard Earnshaw <rearnsha@arm.com>
4617
4618 * gdb.base/default.exp: Rewrite test patterns to reduce time
4619 taken to match them.
4620
7148ab62
DJ
46212002-01-30 Daniel Jacobowitz <drow@mvista.com>
4622
4623 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
4624 Allow a start function above main.
4625 * gdb.threads/linux-dp.exp: Fix copyright date.
4626
396cc255
DJ
46272002-01-30 Daniel Jacobowitz <drow@mvista.com>
4628
4629 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
4630 (check_philosopher_stack): Check for manager thread before checking
4631 for a just-starting thread.
4632
f038d31b
DJ
46332002-01-30 Daniel Jacobowitz <drow@mvista.com>
4634
4635 From Neil Booth <neil@daikokuya.demon.co.uk>:
4636 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
4637 warnings.
4638
b3ff9d9a
FF
46392002-01-21 Fred Fish <fnf@redhat.com>
4640
4641 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
4642 not caller.
4643
39ad761d
JB
46442002-01-21 Jim Blandy <jimb@redhat.com>
4645
4646 * gdb.base/reread.exp: Check that GDB properly re-reads the
4647 executable file when it changes while no inferior is running.
4648
aaf320fa
FF
46492002-01-21 Fred Fish <fnf@redhat.com>
4650
4651 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
4652 optionally accept the "shlib events" variation.
4653
808a31f5
JB
46542002-01-21 Jim Blandy <jimb@redhat.com>
4655
4656 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
4657 call `fflush' after every `printf', so that the output is produced
4658 at predictable points, regardless of whatever buffering does (or
4659 doesn't) take place.
4660 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
4661 at different points.
4662
4420d5e2
DJ
46632002-01-20 Daniel Jacobowitz <drow@mvista.com>
4664
4665 * gdb.c++/inherit.exp: Update copyright years.
4666 * gdb.c++/method.exp: Likewise.
4667
3e36a0f4
DJ
46682002-01-20 Daniel Jacobowitz <drow@mvista.com>
4669
4670 * gdb.c++/classes.exp: Update for improved v3 support and skipping
4671 artificial methods/arguments.
4672 * gdb.c++/derivation.exp: Likewise.
4673 * gdb.c++/inherit.exp: Likewise.
4674 * gdb.c++/method.exp: Likewise.
4675 * gdb.c++/virtfunc.exp: Likewise.
4676
b4ceaee6
AC
46772002-01-18 Andrew Cagney <ac131313@redhat.com>
4678
4679 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
4680 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
4681 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
4682 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
4683 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
4684 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
4685
ecace851
JB
46862002-01-17 Jim Blandy <jimb@redhat.com>
4687
4688 * gdb.asm/asm-source.exp (info symbol): Take another shot at
4689 anchoring the pattern matching the entry point symbol's name.
4690
375fc983
AC
46912002-01-17 Andrew Cagney <ac131313@redhat.com>
4692
4693 * gdb.base/maint.exp: Update ``maint internal-error'' to match
4694 continue/quit query. Update copyright.
4695
fe6fdd96
MS
46962002-01-14 Michael Snyder <msnyder@redhat.com>
4697
4698 * gdb.base/gcore.exp: Remove extra debugging output.
4699
e017c81f
DJ
47002002-01-13 Daniel Jacobowitz <drow@mvista.com>
4701
4702 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
4703 for slightly dubious v2 mangled string.
4704
37ab3bf8
DJ
47052002-01-13 Daniel Jacobowitz <drow@mvista.com>
4706
4707 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
4708
1bc05c3a 47092002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 4710
1bc05c3a 4711 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 4712
1bc05c3a
JM
4713 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
4714 constructors.
4715 * gdb.c++/derivation.exp: Likewise.
4716 * gdb.c++/templates.exp: Likewise.
4717 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 4718
1bc05c3a
JM
47192002-01-10 Michael Snyder <msnyder@redhat.com>
4720
4721 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 4722
a911c360
MS
47232002-01-08 Michael Snyder <msnyder@redhat.com>
4724
4725 * gdb.base/gcore.exp: New test for generate-core-file command.
4726 * gdb.base/gcore.c: Testcase for above.
4727 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
4728
ea2119ec
JM
47292002-01-08 Jason Merrill <jason@redhat.com>
4730
4731 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
4732
68203136
FF
47332002-01-07 Fred Fish <fnf@redhat.com>
4734
4735 * gdb.c++/overload.exp: Remove unconditional xfails for:
4736 print foo_instance1.overloadargs(1)
4737 print foo_instance1.overloadargs(1, 2)
4738 print foo_instance1.overloadargs(1, 2, 3)
4739 print foo_instance1.overloadargs(1, 2, 3, 4)
4740 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
4741 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
4742 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
4743 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
4744 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
4745 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
4746 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
4747 print foo_instance1.overload1arg()
4748 print foo_instance1.overload1arg((char)arg2)
4749 print foo_instance1.overload1arg((signed char)arg3)
4750 print foo_instance1.overload1arg((unsigned char)arg4)
4751 print foo_instance1.overload1arg((int)arg7)
4752 print foo_instance1.overload1arg((unsigned int)arg8)
4753 print foo_instance1.overload1arg((float)arg11)
4754 print foo_instance1.overload1arg((double)arg12)
d63a86f8 4755
21b9b5b1
MS
47562002-01-07 Michael Snyder <msnyder@redhat.com>
4757
4758 * gdb.base/huge.exp: New test. Print a very large target data object.
4759 (skip_huge_test): New test variable. Define if you want to skip this
4760 test. The test reads an 8 megabyte data object from the target, so it
4761 might be very time consuming on remote targets with a slow connection.
4762 * gdb.base/huge.c: New file. Test case for above.
4763
725f922e
FF
47642002-01-07 Fred Fish <fnf@redhat.com>
4765
4766 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
4767 g_instance.bfoo, and g_instance.cfoo.
4768
634d57ec
JL
4769Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
4770
f286b2c3
JL
4771 * gdb.base/break.c (multi_line_if_conditional): New function.
4772 (multi_ilne_while_conditional): Likewise.
4773 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
4774 IF or WHILE condition puts the breakpoint at the start of
4775 the condition.
4776
634d57ec
JL
4777 * gdb.base/selftest.exp (backtrace through signal handler): Remove
4778 hppa*-*-hpux* expected failure.
4779 * gdb.base/structs.exp (do_function_calls): Similarly.
4780
4781 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
4782 watchpoints.
4783
9fbfe2dc
AC
47842002-01-06 Andrew Cagney <ac131313@redhat.com>
4785
4786 Fix PR gdb/66.
4787 * gdb.base/structs.exp: Replace skip for a29k with skip for
4788 gdb,cannot_call_functions.
4789 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
4790 * gdb.base/callfuncs.exp: Ditto.
4791 * gdb.base/call-rt-st.exp: Ditto.
4792 * gdb.base/call-strs.exp: Ditto.
4793 * gdb.base/callfwmall.exp: Ditto.
4794 * gdb.base/scope.exp: Obsolete xfail a29k.
4795 * gdb.c++/misc.exp: Ditto.
4796 * gdb.c++/cplusfuncs.exp: Ditto.
4797 * gdb.base/ptype.exp: Ditto.
4798 * gdb.base/printcmds.exp: Ditto.
4799 * gdb.base/opaque.exp: Ditto.
4800 * gdb.base/list.exp: Ditto.
4801 * gdb.base/funcargs.exp: Ditto.
4802 * gdb.base/default.exp: Ditto.
4803
8ddad156
MS
48042002-01-04 Michael Snyder <msnyder@redhat.com>
4805
ca4976a6 4806 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
4807 * gdb.base/maint.exp: Add tests for maint info sections options.
4808
1b074332
JL
4809Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
4810
4811 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
4812
7d159115
CV
48132001-12-20 Corinna Vinschen <vinschen@redhat.com>
4814
4815 * gdb.asm/arm.inc: New file.
4816 * gdb.asm/asm-source.exp: Add arm targets.
4817 * gdb.asm/configure.in: Ditto.
4818 * gdb.asm/configure: Recreated from configure.in.
4819
8fb87725
JL
4820Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
4821
afabe08c
JL
4822 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
4823 with HP's compiler.
4824 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
4825 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
4826 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
4827 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
4828
4829 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
4830 either HP's compilers or GCC.
4831
db521deb
JL
4832 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
4833 a SIGBUS or SIGSEGV.
4834
4835 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
4836
4837 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
4838 can be compiled with either HP's compiler or GCC.
4839
cfa88ab7
JL
4840 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
4841 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
4842 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
4843
ca344dff
JL
4844 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
4845 to match current gdb output. Update due to using auto-solib-limit
4846 for limiting instead of overloading auto-solib-add.
4847 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
4848 test program.
4849
3f3c6e55 4850 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
4851 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
4852 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
4853 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
4854 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
4855 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
4856 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
4857 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
4858 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
4859 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
4860 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
4861 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
4862 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 4863
8fb87725
JL
4864 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
4865 a SIGTRAP to the inferior.
4866
cf599fa7
CV
48672001-12-19 Corinna Vinschen <vinschen@redhat.com>
4868
4869 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
4870 Substitute call to target_link by call to gdb_compile.
4871
2cd045cd
JL
4872Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
4873
4874 * gdb.base/break.exp: Fix HP specific search string when testing
4875 backtracing in a called function.
4876
d63a86f8 4877 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
4878 compiling the test with HP's compilers.
4879 * gdb.base/volatile.exp: Similarly.
4880
99ebe9ac
JB
48812001-12-19 Jim Blandy <jimb@redhat.com>
4882
4883 * gdb.base/printcmds.exp: Expect the null character to be printed
4884 as '\0', and the '\013' to be printed as '\v'.
4885 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
4886 * gdb.base/setvar.exp: Same.
4887
b9891b29
JB
48882001-12-17 Jim Blandy <jimb@redhat.com>
4889
0eba65ab
JB
4890 * gdb.base/completion.exp: Rather than completing very long
4891 filenames, which can make the readline library produce output we
4892 don't recognize, cd to the directory first, and then complete
4893 using nice, short relative paths.
4894
6970b5b1
JB
4895 * gdb.base/completion.exp: On some systems, there is, in fact, a
4896 variable named `b' in scope, since GDB treats all static
4897 variables as being in scope. So use `no_var_named_this'
4898 instead of `b'.
4899
b9891b29
JB
4900 * gdb.base/corefile.exp: Recognize the message saying that GDB
4901 can't find the core file's registers as a failure.
4902
e6ccd35f
JSC
49032001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
4904
4905 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
4906 test expect string more specific.
4907
105ba819
CV
49082001-12-13 Corinna Vinschen <vinschen@redhat.com>
4909
4910 * gdb.asm/asm-source.exp: Add support for xstormy16.
4911 * gdb.asm/configure.in: Ditto.
4912 * gdb.asm/configure: Rebuild.
4913 * gdb.asm/xstormy16.inc: New file.
4914
e9e79dd9
FF
49152001-12-10 Fred Fish <fnf@redhat.com>
4916
4917 * gdb.base/maint.exp: Update to match changes in type dumping code.
4918
347dc97d
JB
49192001-12-10 Jim Blandy <jimb@redhat.com>
4920
4921 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
4922 matching the entry point symbol's name at the beginning of the
4923 line.
4924
5178b9d6
DJ
49252001-12-07 Daniel Jacobowitz <drow@mvista.com>
4926
4927 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
4928 gdb.c++/inherit.exp, gdb.c++/method.exp,
4929 gdb.c++/namespace.exp, gdb.c++/templates.exp,
4930 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
4931 and class layout support.
4932
af890c52
DJ
49332001-12-07 Daniel Jacobowitz <drow@mvista.com>
4934
4935 * gdb.c++/classes.exp: Add test for static member function.
4936 * gdb.c++/misc.cc: Add class with static member function.
4937
7a345fb3
JB
49382001-12-07 Jim Blandy <jimb@redhat.com>
4939
f2e54a80 4940 If GDB says it can't find the struct the function returned, report
8032bf31
JB
4941 those tests as `unsupported'.
4942 * gdb.base/call-rt-st.exp (print_struct_call): New function.
4943 Rewrite subsequent tests to use it.
4944
4945 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
4946 those tests as `unsupported'.
4947 * gdb.base/structs.exp (call_struct_func): New function.
4948 (do_function_calls): Use call_struct_func to call the functions
4949 returning structs.
4950
0bc69509
JB
4951 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
4952 whether functions are prototyped or not, so we can't possibly pass
4953 arguments to t_float_values2 properly.
4954
7a345fb3
JB
4955 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
4956 value of `timeout' for targets other than the mips*tx39-*.
4957
edb6ede1
MS
49582001-12-06 Michael Snyder <msnyder@redhat.com>
4959
d63a86f8 4960 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
4961 and detect whether the start symbol has a leading underscore.
4962
2d842f13
JB
49632001-12-04 Jim Blandy <jimb@redhat.com>
4964
4965 * gdb.base/completion.exp: Clarify indentation.
4966
68550daf
JB
49672001-12-03 Jim Blandy <jimb@redhat.com>
4968
4969 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
4970 variables on the S/390, not `.word'.
4971
cd5195a8
JB
49722001-11-30 Jim Blandy <jimb@redhat.com>
4973
4974 Add assembly-source tests for s390-ibm-linux.
4975 * gdb.asm/s390.inc: New file.
4976 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
4977 the S/390 architecture.
4978 * gdb.asm/configure: Regenerated.
4979
ca9efc90
MS
49802001-11-30 Michael Snyder <msnyder@redhat.com>
4981
4982 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
4983 next, info source, info sources, info line, global and static
4984 variables, and static functions.
4985 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
4986 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
4987 * gdb.asm/asmsrc1.s: Add a static function and some variables.
4988 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
4989 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
4990 (gdbasm_leave): Restore frame pointer.
4991 (gdbasm_startup): Copy stack set-up from crt0.S.
4992
d0e66976
FN
49932001-11-26 Fernando Nasser <fnasser@redhat.com>
4994
4995 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
4996 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
4997 to a local (non-static) variable. Copy tstruct.a to a static buffer
4998 and return a pointer to that buffer.
4999 * gdb.base/callfwmall.c (t_structs_a): Ditto.
5000
e2334072
MK
50012001-11-24 Mark Kettenis <kettenis@gnu.org>
5002
5003 * gdb.asm/configure.in: Fix recognition of ix86 target.
5004 * gdb.asm/configure: Regenerate.
5005
756caa3d
MS
50062001-11-21 Michael Snyder <msnyder@redhat.com>
5007
5008 * gdb.asm/sparc.inc: New file.
5009 * gdb.asm/asm-source.exp: Recognize sparc target.
5010 * gdb.asm/configure.in: Recognize sparc target.
5011 * gdb.asm/configure: Regenerate.
d63a86f8 5012
9a4d72d5
MS
50132001-11-21 Michael Snyder <msnyder@redhat.com>
5014
5015 * gdb.asm/m32r.inc: New file.
5016 * gdb.asm/asm-source.exp: Recognize m32r target.
5017 * gdb.asm/configure.in: Recognize m32r target.
5018 * gdb.asm/configure: Regenerate.
5019
a773d1cd
MS
50202001-11-20 Michael Snyder <msnyder@redhat.com>
5021
017ac23d
MS
5022 * gdb.asm/i386.inc: New file.
5023 * gdb.asm/asm-source.exp: Recognize ix86 target.
5024 * gdb.asm/configure.in: Recognize ix86 target.
5025 * gdb.asm/configure: Regenerate.
5026
a773d1cd
MS
5027 * gdb.c++/namespace.exp: Fix quotes in output messages.
5028
bb632afb
MS
50292001-11-14 Michael Snyder <msnyder@redhat.com>
5030
25d559ca 5031 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
5032 qualifier in a type cast expression, to designate an address
5033 in the instruction space (Harvard architecture).
5034
4749e309
MS
50352001-11-13 Michael Snyder <msnyder@redhat.com>
5036
5037 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
5038 Tests for expressions using 'const' and 'volatile'.
5039
25050984
CV
50402001-11-13 Corinna Vinschen <vinschen@redhat.com>
5041
5042 * gdb.asm/asm-sources.exp: Allow defining linker flags.
5043
1902c51f
DJ
50442001-11-12 Daniel Jacobowitz <drow@mvista.com>
5045
5046 * lib/mi-support.exp (mi_run_to_helper): Move comments
5047 outside of gdb_expect.
5048
dcf95b47
DJ
50492001-11-11 Daniel Jacobowitz <drow@mvista.com>
5050
5051 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
5052 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
5053 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
5054 mi0_run_to): New functions.
5055 * gdb.mi/mi-simplerun.exp: Use them.
5056 * gdb.mi/mi0-simplerun.exp: Likewise.
5057 * gdb.mi/mi-var-cmd.exp: Likewise.
5058 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 5059
45b074e1
AC
50602001-11-10 Andrew Cagney <ac131313@redhat.com>
5061
5062 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
5063 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
5064
bf50d346
AC
50652001-11-09 Andrew Cagney <ac131313@redhat.com>
5066
5067 * gdb.base/restore.exp: Include $expected value in restored test
5068 message.
5069
9383332c
AC
50702001-11-09 Andrew Cagney <ac131313@redhat.com>
5071
5072 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
5073 implemented.
5074
db62520a
MS
50752001-11-08 Michael Snyder <msnyder@redhat.com>
5076
5077 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
5078 Add pass/fail message for stop at breakpoint in call dummy function.
5079
b5703437
MS
50802001-11-07 Michael Snyder <msnyder@redhat.com>
5081
d63a86f8
RM
5082 * gdb.c++/templates.exp (test_template_breakpoints):
5083 If we get an overload menu, but it does not match what
760f6330 5084 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
5085 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
5086 making the whitespace optional. Argument for "new" may be
5087 "unsigned" as well as "unsigned int/long".
d63a86f8 5088 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
5089 making the whitespace optional. Also replace "(void) with
5090 "((void|)), making the keyword "void" optional.
d63a86f8 5091 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
5092 making the whitespace optional. Also replace "(void) with
5093 "((void|)), making the keyword "void" optional.
3bf40917
MS
5094 * gdb.base/callfuncs.c (t_float_values): This function must
5095 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 5096 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
5097 can be tested against both cases. Usually one case involves
5098 promotion of float to double, while the other does not.
5099 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
5100 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
5101 includes a stack frame for "start".
5102
c8ab4e6d
JB
51032001-11-05 Jim Blandy <jimb@redhat.com>
5104
5105 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
5106 pointers are 32 bits long, and that offsets of relocs are always
5107 stored in the data (REL-style), and not in the reloc entry itself
5108 (RELA-style).
5109 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
5110 stabs.
5111
3f08ced9
MS
51122001-11-01 Michael Snyder <msnyder@redhat.com>
5113
5114 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
5115 and regular expression operators by using quoting.
5116
cbfa24cd
MS
51172001-10-31 Michael Snyder <msnyder@redhat.com>
5118
5119 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
5120 depending on what the symbol table contains.
5121 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
5122 the output of the ptype command. Similarly, accept both "const &"
5123 and "const&".
5124
aaa68313
CV
51252001-10-31 Corinna Vinschen <vinschen@redhat.com>
5126
5127 * gdb.base/miscexprs.c (main): Add usage of preprocessor
5128 symbol `STORAGE' to allow to choose the storage class of
5129 the local datastructures.
5130 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
5131 compiler directive.
5132
91740388
MS
51332001-10-30 Michael Snyder <msnyder@redhat.com>
5134
5135 * gdb.base/jump.exp: Allow it to run for all targets.
5136
1b7c05e7
CV
51372001-10-29 Corinna Vinschen <vinschen@redhat.com>
5138
5139 * gdb.base/call-ar-st.c (print_double_array): Match for loop
5140 with new double_array size.
5141 (main): Change storage class of all local variables to static.
5142 Reduce size of double_array to 9.
5143 * gdb.base/call-ar-st.exp: Increase timeout value.
5144 Change expected output for double array to match new size in
5145 call-ar-st.c.
5146
36a22261
CV
51472001-10-29 Corinna Vinschen <vinschen@redhat.com>
5148
5149 * gdb.base/ending-run.exp: Create identical output when passing
5150 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 5151 Stormy16 target.
36a22261 5152
92b8ae91
MK
51532001-10-28 Mark Kettenis <kettenis@gnu.org>
5154
5155 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
5156 that we catch the expected failure under Linux/x86.
5157
cb135b83
OF
51582001-10-29 Orjan Friberg <orjanf@axis.com>
5159
5160 * gdb.base/setvar.exp: Escape curly braces.
5161 * gdb.stabs/weird.exp: Ditto.
5162
6884aa54
DJ
51632001-10-27 Daniel Jacobowitz <drow@mvista.com>
5164
5165 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
5166 * gdm.mi/mi0-hack-cli.exp: Likewise.
5167
0398c9aa
AC
51682001-10-25 Andrew Cagney <ac131313@redhat.com>
5169
5170 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
5171 messages.
5172
d20bf2e8
AC
51732001-10-21 Andrew Cagney <ac131313@redhat.com>
5174
5175 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
5176 checking MI enabled.
5177
03dd63aa
CV
51782001-10-09 Corinna Vinschen <vinschen@redhat.com>
5179
5180 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
5181
1d9d99f3
FCE
51822001-10-04 Frank Ch. Eigler <fche@redhat.com>
5183
5184 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
5185 if gdb child process crashes, just signal an error.
5186
838ae6c4
JB
51872001-10-02 Jim Blandy <jimb@redhat.com>
5188
5189 * lib/gdb.exp (test_xfail_format): Simplify.
5190
5191 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
5192 front of the variable name `format'. Simplify `if'.
5193
8f0cbc1c
DJ
51942001-10-01 Daniel Jacobowitz <drow@mvista.com>
5195
5196 * gdb.threads/pthreads.exp: Wait for output and delay
5197 before sending ^C.
5198
1f08dafd
DJ
51992001-10-01 Daniel Jacobowitz <drow@mvista.com>
5200
5201 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
5202 some incorrect output instead of timing out.
5203 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
5204
674f90ff
CV
52052001-09-28 Corinna Vinschen <vinschen@redhat.com>
5206
5207 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
5208 check to allow additional `int'.
5209
9b284272
DJ
52102001-09-27 Daniel Jacobowitz <drow@mvista.com>
5211
5212 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
5213 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
5214
b55a4771
MS
52152001-09-27 Michael Snyder <msnyder@redhat.com>
5216
5217 * lib/gdb.exp (test_debug_format): New proc.
5218 (setup_xfail_format): Use new proc test_debug_format.
5219 * gdb.base/constvars.exp (local_compiler_xfail_check): New
5220 proc; use new service proc test_debug_format.
5221 Replace all other "gcc_compiled" tests with this test.
5222 * gdb.base/volatile.exp (local_compiler_xfail_check): New
5223 proc; use new service proc test_debug_format.
5224 Replace all other "gcc_compiled" tests with this test.
5225
52262001-09-27 Michael Snyder <msnyder@redhat.com>
5227
5228 * gdb.base/cvexpr.exp: New file.
5229 * gdb.base/cvexpr.c: New file
5230 Test for expressions using const and volatile keywords.
5231
4e6667ac
CV
52322001-09-26 Corinna Vinschen <vinschen@redhat.com>
5233
5234 * gdb.base/constvars.exp: Check for different orders of keywords
5235 and additional "int" strings in output.
5236
4f337972
AC
52372001-09-22 Andrew Cagney <ac131313@redhat.com>
5238
5239 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
5240 responses from "help maint".
5241
2015650d
FCE
52422001-09-19 Frank Ch. Eigler <fche@redhat.com>
5243
5244 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
5245 to localhost:NNN instead of :NNN, in case Xvfb is listening
5246 only on TCP.
5247
f3bcedc1
CV
52482001-09-19 Corinna Vinschen <vinschen@redhat.com>
5249
5250 * gdb.base/recurse.exp: When checking leaving the watchpoint
5251 scope, recognize when gdb is in function's epilogue and pass.
5252
6b819c92
KS
52532001-09-18 Keith Seitz <keiths@redhat.com>
5254
5255 * lib/insight-support.exp (_gdbtk_export_target_info): Add
5256 support for running tests against sid targets.
5257 (gdbtk_done): Ditto.
5258
a10c9419
CV
52592001-09-18 Corinna Vinschen <vinschen@redhat.com>
5260
5261 * gdb.base/ending-run.c (main): Set stdout buffersize
5262 to the same reasonable value for any target.
5263 * gdb.base/ending-run.exp: Add a regular expression
5264 to make testsuite happy on Sanyo Stormy16 target.
5265
739d0d99
CV
52662001-09-17 Corinna Vinschen <vinschen@redhat.com>
5267
5268 * gdb.base/display.c (do_loops): Add float variable `f'.
5269 Increment f in loop.
5270 * gdb.base/display.exp: Increment timeout by 60 seconds.
5271 Change float display test to use variable `f'.
5272
1b8947f0
JB
52732001-09-17 Jim Blandy <jimb@redhat.com>
5274
5275 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
5276 overflowing the limited breakpoint tables on some ROM monitors
5277 (like the ROM68K).
5278
9890ac81
FCE
52792001-09-15 Frank Ch. Eigler <fche@redhat.com>
5280
5281 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
5282 the "-ac" (disable access control) flag.
5283
6db765ea
JH
52842001-08-30 Jeff Holcomb <jeffh@redhat.com>
5285
5286 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
5287 ints.
5288
4c32cc04
KS
52892001-08-30 Keith Seitz <keiths@redhat.com>
5290
5291 * lib/gdb.exp: Move all insight-related functionality into
5292 separate file.
5293 * lib/insight-support.exp: New file.
5294
8d6e6f81
FCE
52952001-08-29 Frank Ch. Eigler <fche@redhat.com>
5296
5297 * config/sid.exp (sid_start): Never set sid verbosity; disable
5298 expect_background {} that consumed its stdout; tolerate </dev/null.
5299 Attempt to set endianness override in "sid" protocol mode. Cleanup.
5300
6a90e1d0
AC
53012001-08-18 Andrew Cagney <ac131313@redhat.com>
5302
5303 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
5304 CLI jump command to start it.
5305 (mi_run_to_main): Fail immediatly when unexpected output.
5306
1759b3c3
AC
53072001-08-18 Andrew Cagney <ac131313@redhat.com>
5308
5309 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
5310 beginning of function. Fix PR gdb/191.
5311
61d11d80
FCE
53122001-08-16 Frank Ch. Eigler <fche@redhat.com>
5313
5314 * config/sid.exp (sid_start): Don't warn if we cannot figure out
5315 what to force sid endianness to.
5316
942a4df2
KS
53172001-08-15 Keith Seitz <keiths@redhat.com>
5318
5319 * lib/gdb.exp (gdbtk_start): Don't set environment
5320 variables for TCL_LIBRARY and friends. Insight will
5321 now figure these out for itself.
5322
0521c418
MS
53232001-08-02 Michael Snyder <msnyder@redhat.com>
5324
5325 * gdb.base/completion.exp: Remove the symbol "a64l" from
5326 the expect string; this is target-specific, and not related
5327 to what is being tested.
5328
74a9a58a
DB
53292001-08-02 Dave Brolley <brolley@redhat.com>
5330
5331 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
5332
c70819fa
MS
53332001-07-25 Michael Snyder <msnyder@redhat.com>
5334
c2b8fa57
MS
5335 * gdb.base/consecutive.exp: New file. Test stepping over
5336 breakpoints on consecutive instructions.
5337 * gdb.base/consecutive.c: New file.
5338
c70819fa
MS
5339 * gdb.base/call-rt-st.exp: Use double-backslash to quote
5340 curly braces in regular expressions.
5341
2b1a1355
MS
53422001-07-25 Michael Snyder <msnyder@redhat.com>
5343
5344 * gdb.base/ending-run.exp: Accept "Program exited normally" as
5345 legitimate output from stepping out of main.
5346
413eca6f
KS
53472001-07-22 Keith Seitz <keiths@redhat.com>
5348
5349 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
5350 the empty string, do not run the tests.
5351
7e5a9322
SC
53522001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5353
5354 * gdb.base/long_long.exp: Detect size of pointer. Take into
5355 account 2-byte pointers when testing for p/a results.
5356
de58f10f
SC
53572001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5358
d63a86f8 5359 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
5360 and defined to 1K for m68hc11.
5361 (random_data): Reduce table to 1K for embedded platforms (68hc11).
5362 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
5363 (sizeof_random_data): New variable to tell the size of the data table;
5364 don't test past this size; always run to main.
5365
d6f5fea1
SC
53662001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5367
5368 * gdb.base/return2.exp: return of long long and double fails for
5369 68HC11; don't execute these tests on that platform.
5370 * gdb.base/return.exp: Return of a double fails for 68hc11.
5371
c477543d
SC
53722001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5373
5374 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
5375 tests that print a float.
5376 * call-rt-st.exp: Likewise.
5377
63cf1c79
MK
53782001-07-12 Mark Kettenis <kettenis@gnu.org>
5379
5380 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
5381 running this test on Linux.
5382
112f9ab5
MC
53832001-06-24 Michael Chastain <chastain@redhat.com>
5384
5385 * gdb.base/arithmet.exp: Remove some tests to make all test names
5386 unique.
5387
4970cb0f
MS
53882001-07-03 Michael Snyder <msnyder@redhat.com>
5389
5390 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
5391 the output of the ptype command.
5392
d85da69f
MS
53932001-07-02 Michael Snyder <msnyder@redhat.com>
5394
4c8a82de
MS
5395 * gdb.base/completion.exp: Don't assume that break.c is the only
5396 source file that may contain functions named "marker".
d85da69f
MS
5397 * gdb.base/corefile.exp: Quote the curly braces in regexp.
5398
8afc772b
AC
53992001-06-28 Andrew Cagney <ac131313@redhat.com>
5400
5401 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
5402 of files to delete.
5403
5404 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
5405 * gdb.disasm/h8300s.exp: New file.
5406 gdb.disasm/h8300s.s: Likewise.
5407
cff22675
AC
54082001-06-27 Andrew Cagney <ac131313@redhat.com>
5409
5410 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
5411 empty breakpoint tables.
5412
68c81b54
AC
54132001-06-25 Andrew Cagney <ac131313@redhat.com>
5414
5415 * lib/mi-support.exp: Update args=... part of stop-reason
5416 patterns. Accept either a list or a tuple.
5417
2dd62704
AC
54182001-06-23 Andrew Cagney <ac131313@redhat.com>
5419
5420 * lib/mi-support.exp: Remove local emacs variable defining
5421 change-log-default-name.
5422
b4127474
MC
54232001-06-22 Michael Chastain <chastain@redhat.com>
5424
5425 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
5426 This is operationally compatible with the previous version.
5427
8dbfb380
JB
54282001-06-13 Jim Blandy <jimb@redhat.com>
5429
5430 * lib/gdb.exp (gdb_test): Doc fix.
5431
f2d8c86d
MC
54322001-06-10 Michael Chastain <chastain@redhat.com>
5433
5434 * gdb.base/exprs.exp: Remove a duplicate test.
5435
81564d34
JB
54362001-06-06 Jim Blandy <jimb@redhat.com>
5437
5438 * gdb.base/return2.exp (main): Use values to test float and double
5439 returns that are not NaN's, to avoid being confused by IEEE
5440 comparison rules.
5441
da55addb
MS
54422001-06-04 Michael Snyder <msnyder@redhat.com>
5443
5444 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 5445 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
5446 rather than wait for 12 more tests to time out.
5447
42c65987
JB
54482001-06-06 Jim Blandy <jimb@redhat.com>
5449
b18bced9 5450 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 5451 Don't forget to match the GDB prompt.
b18bced9 5452
42c65987
JB
5453 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
5454
5b41e5f0
JB
54552001-06-04 Jim Blandy <jimb@redhat.com>
5456
5457 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
5458 command.
5459
015e046f
KB
54602001-05-31 Kevin Buettner <kevinb@redhat.com>
5461
5462 * gdb.base/annota1.exp (info break): Match four or more spaces
5463 after "Address".
5464
fb1ffbbe
MC
54652001-05-31 Michael Chastain <chastain@redhat.com>
5466
5467 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
5468 (dm_type_int_star): Likewise.
5469 (dm_type_long_star): Likewise.
5470 (dm_type_void_star): Likewise.
5471
5ea2a32c
KB
54722001-05-29 Kevin Buettner <kevinb@redhat.com>
5473
5474 * gdb.base/completion.exp (INPUTRC): Set this environment variable
5475 to a known value in order to get consistent results regardless
5476 of the setting of INPUTRC or the presence or contents of .inputrc.
5477
ae23c492
MS
54782001-05-24 Michael Snyder <msnyder@redhat.com>
5479
ac55707e
MS
5480 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
5481 Don't require that the main thread and the manager thread are the
5482 first in the list.
5483
ae23c492
MS
5484 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
5485 debugging. If test fails, issue an "unsupported" not a "fail".
5486
400071f1
JB
54872001-05-24 Jim Blandy <jimb@redhat.com>
5488
5489 Don't assume that short is shorter than int.
5490 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
5491 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 5492 this isn't true.
400071f1
JB
5493 ("print unsigned char == (~0)"): Add test that verifies that ~0,
5494 an int, is not equal to ~0 stored in an unsigned char. This tests
5495 the same thing that the previous test meant to, but works on
5496 16-bit machines, too.
5497 ("print unsigned char != (~0)"): Same test, complemented.
5498
0816a3e5
MS
54992001-05-24 Michael Snyder <msnyder@redhat.com>
5500
5501 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 5502 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
5503 and prevents dejagnu getting out of step.
5504
f6dc23a9
KB
55052001-05-23 Kevin Buettner <kevinb@redhat.com>
5506
5507 * gdb.base/finish.exp (finish_void): Revise pattern for
5508 stopping on the call statement to not permit stopping at
5509 the start of the instructions comprising the call sequence.
5510
7dbd117d
MC
55112001-05-19 Michael Chastain <chastain@redhat.com>
5512
5513 * gdb.base/callfuncs.exp: Make all test names unique.
5514 * gdb.base/commands.exp: Make all test names unique.
5515 * gdb.base/condbreak.exp: Make all test names unique.
5516 * gdb.base/dbx.exp: Make all test names unique.
5517 * gdb.base/default.exp: Make all test names unique.
5518 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
5519 and TIMEOUT messages to their corresponding PASS message.
5520 * gdb.base/ending-run.exp: Make all test names unique.
5521 * gdb.base/long_long.exp: Remove duplicate test.
5522
6b0b0a9e
KB
55232001-05-21 Kevin Buettner <kevinb@redhat.com>
5524
5525 * gdb.base/finish.exp (finish_void): Allow "finish" command to
5526 stop on the call statement as well as the statement after the
5527 call.
5528
2caa35cb
MS
55292001-05-21 Michael Snyder <msnyder@redhat.com>
5530
5531 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
5532
40713331
EZ
55332001-05-10 Elena Zannoni <ezannoni@redhat.com>
5534
5535 * gdb.base/completion.exp: Revamp test. Make it execute on all
5536 platforms.
5537
c2c1be8d
EZ
55382001-05-10 Elena Zannoni <ezannoni@redhat.com>
5539
2c9cd303
EZ
5540 * config/gdbserver.exp (gdb_load): Handle the case
5541 in which the arguments to gdbserver are given in the
5542 baseboard configuration file.
5543 Also handle the case in which the server needs to do a
5544 load.
5545
9671de48
KS
55462001-05-07 Keith Seitz <keiths@cygnus.com>
5547
5548 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
5549 set up the display for testing.
5550 (gdbtk_start): Convert all paths to paths that tcl will like.
5551 Export target information to environment.
5552 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
5553 necessary.
5554 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
5555 (to_tcl_path): New proc to convert a given pathname into
5556 a path acceptible as an argument to a tcl command.
5557 (_gdbtk_export_target_info): New proc to export target info
5558 into the environment for gdbtk testing.
5559 (gdbtk_done): New proc to signal end-of-test.
5560
5a360f47
JB
55612001-05-06 Jim Blandy <jimb@redhat.com>
5562
5563 * restore.c: Make the code of caller0 correspond to its comment.
5564
66c756c6
MS
55652001-05-03 Michael Snyder <msnyder@redhat.com>
5566
5567 * config/sid.exp (gdb_target_sid): Check for error messages.
5568 On error or timeout, don't make expect exit (which will terminate
5569 all subsequent tests); instead just make gdb exit.
d63a86f8 5570 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
5571 return a negative value.
5572
a966fde5
JB
55732001-04-24 Jim Blandy <jimb@redhat.com>
5574
851c18e0
JB
5575 * gdb.c++/templates.exp: If we see the prompt for the overload
5576 list, but we haven't recognized any of the longer patterns,
5577 arrange for this test to fail, not hang.
5578
a966fde5
JB
5579 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
5580 variations.
5581
db144853
MC
55822001-04-22 Michael Chastain <chastain@redhat.com>
5583
5584 * gdb.c++/local.exp: Use the 'runto' library function.
5585 * gdb.c++/namespace.exp: Likewise.
5586 * gdb.c++/overload.exp: Likewise.
5587
3207ec21
KB
55882001-03-26 Kevin Buettner <kevinb@redhat.com>
5589
5590 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
5591 * gdb.base/step-line.exp: New file. Test step/next in presence of
5592 #line directives.
5593 * gdb.base/step-line.c: New file. Test program for the above.
5594 * gdb.base/step-line.inp: New file. We pretend that this file has
5595 been transformed by some other tool into step-line.c.
5596
13b57657
JB
55972001-03-21 Jim Blandy <jimb@redhat.com>
5598
5599 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
5600 unmangled operator names.
5601
754cbe1c
JB
56022001-03-20 Jim Blandy <jimb@redhat.com>
5603
5604 * gdb.threads/linux-dp.exp: Recognize an additional message
5605 generated by GDB when it doesn't understand how to debug threads
5606 on the target system.
5607
177495c9
AC
56082001-03-19 Andrew Cagney <ac131313@redhat.com>
5609
5610 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
5611
f266096b
MC
56122001-03-12 Michael Chastain <chastain@redhat.com>
5613
5614 * gdb.c++/derivation.exp: Use the 'runto' library function.
5615
cac3c2ff
MC
56162001-03-12 Michael Chastain <chastain@redhat.com>
5617
5618 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
5619
b6c11a24
MC
56202001-02-24 Michael Chastain <chastain@redhat.com>
5621
5622 * gdb.c++/ref-types.exp: Change handwritten code to library
5623 function 'runto'.
5624
6bae5bce
OF
56252001-03-16 Orjan Friberg <orjanf@axis.com>
5626
5627 * gdb.base/signals.exp: Set count to 0 explicitly.
5628
0015fd9a
MS
56292001-03-15 Mark Salter <msalter@redhat.com>
5630
5631 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
5632 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
5633 (gdb_load): Add support for additional target_info: gdb_download_size
5634 and gdb_load_timeout.
0015fd9a 5635
fc33412a
DT
5636Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
5637
5638 * gdb.base/annota1.exp: Move test of isnative to earlier in the
5639 file -- to prevent failing when the compile fails but we have no
5640 intention of running the tests anyway.
5641
5642 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
5643 tests if set.
5644
5645 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
5646 integers.
5647
5648 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
5649 * gdb.c++/namespace.exp: Ditto.
5650
115f06de
OF
56512001-03-07 Orjan Friberg <orjanf@axis.com>
5652
5653 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
5654 * gdb.base/pointers.exp: Relax pattern match of decimals.
5655
b6ba6518
KB
56562001-03-06 Kevin Buettner <kevinb@redhat.com>
5657
5658 * Makefile.in, config/abug.exp, config/cfdbug.exp,
5659 config/cpu32bug.exp, config/dve.exp, config/est.exp,
5660 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
5661 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
5662 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
5663 config/sh.exp, config/sid.exp, config/slite.exp,
5664 config/sparclet.exp, config/udi.exp, config/unknown.exp,
5665 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
5666 config/vxworks.exp, config/vxworks29k.exp,
5667 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
5668 gdb.base/all-bin.exp, gdb.base/annota1.exp,
5669 gdb.base/arithmet.exp, gdb.base/assign.exp,
5670 gdb.base/async.exp, gdb.base/attach.exp,
5671 gdb.base/bitfields.exp, gdb.base/bitops.exp,
5672 gdb.base/break.exp, gdb.base/call-ar-st.exp,
5673 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
5674 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
5675 gdb.base/commands.exp, gdb.base/completion.exp,
5676 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
5677 gdb.base/constvars.exp, gdb.base/corefile.exp,
5678 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
5679 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
5680 gdb.base/ending-run.exp, gdb.base/environ.exp,
5681 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
5682 gdb.base/finish.exp, gdb.base/foll-exec.exp,
5683 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
5684 gdb.base/funcargs.exp, gdb.base/help.exp,
5685 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
5686 gdb.base/logical.exp, gdb.base/long_long.exp,
5687 gdb.base/maint.exp, gdb.base/mips_pro.exp,
5688 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
5689 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
5690 gdb.base/pointers.exp, gdb.base/printcmds.exp,
5691 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
5692 gdb.base/regs.exp, gdb.base/relational.exp,
5693 gdb.base/remote.exp, gdb.base/reread.exp,
5694 gdb.base/restore.exp, gdb.base/return2.exp,
5695 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
5696 gdb.base/selftest.exp, gdb.base/setshow.exp,
5697 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
5698 gdb.base/sigall.exp, gdb.base/signals.exp,
5699 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
5700 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
5701 gdb.base/step-test.exp, gdb.base/structs.c,
5702 gdb.base/structs.exp, gdb.base/structs2.exp,
5703 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
5704 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
5705 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
5706 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5707 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
5708 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
5709 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
5710 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
5711 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
5712 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
5713 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
5714 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
5715 gdb.fortran/types.exp, gdb.java/jmisc.exp,
5716 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
5717 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
5718 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5719 gdb.trace/circ.exp, gdb.trace/collection.exp,
5720 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5721 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5722 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
5723 gdb.trace/report.exp, gdb.trace/save-trace.exp,
5724 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5725 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
5726 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
5727 notices.
5728
dc96c6c7 57292001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
5730
5731 * gdb.base/varargs.c (find_max_double): Fix printf format string:
5732 first arg is int not float.
5733
dc96c6c7 57342001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
5735
5736 * gdb.base/reread.exp: Unsupported for non-native targets;
5737 doesn't work for remote debugging.
5738
9b0c4aeb
FN
57392001-02-19 Fernando Nasser <fnasser@redhat.com>
5740
5741 From Drew Moseley <dmoseley@redhat.com>
5742 * gdb.base/ending-run.exp: Properly handle the BSP state when
5743 stepping past the end of main.
5744
02aa71d5
MC
57452001-02-19 John Moore <jmoore@redhat.com>
5746
5747 * gdb.base/commands.exp (infrun_breakpoint_command_test):
5748 Converted HPUX fix for non-expected items following multiple
5749 step commands into general solution for all platforms.
5750
1fa449a4
MC
57512001-02-18 Michael Chastain <chastain@redhat.com>
5752
5753 * gdb.c++/classes.exp (do_tests): Change runto statements
5754 from "runto 'foo(void)'" to "runto 'foo'". This makes the
5755 statements demangler agnostic.
5756 * gdb.c++/virtfunc.exp (do_tests): Likewise.
5757 (gdb_virtfunc_restart): Likewise.
5758
b2f9ec70
MC
57592001-02-14 Michael Chastain <chastain@redhat.com>
5760
5761 * gdb.c++/inherit.exp (do_tests): Change runto statements
5762 from "runto 'foo(void)'" to "runto 'foo'". This makes the
5763 statements demangler agnostic.
5764
cf74b8ca
AC
5765Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
5766
5767 * gdb.threads/pthreads.exp: Unify pass/fail messages for
5768 ``continue to bkpt at common_routine in thread 2'' and ``stopped
5769 before calling common_routine 15 times'' tests.
5770
99f78f56
MC
57712001-02-11 Michael Chastain <chastain@redhat.com>
5772
5773 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
5774 Helps the test script figure out which demangler is in use.
5775 (dm_type_foo_ref): Ditto.
5776 (dm_type_int_star): Ditto.
5777 (dm_type_long_star): Ditto.
5778 (dm_type_unsigned_int): Ditto.
5779 (dm_type_void): Ditto.
5780 (dm_type_void_star): Ditto.
99707966 5781 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
5782 Probe the gdb demangler and set variables to accommodate
5783 formatting differences.
5784 (info_func_regexp): New function. Same as info_func, but
5785 matches against a regexp.
5786 (info_func): Match against a literal string.
5787 (print_addr_2): New function. Match against a literal string,
5788 which can be different from the input to gdb.
5789 (print_addr): Simply call print_addr_2 with the same argument twice.
5790 (test_lookup_operator_functions): Use demangler formatting variables.
5791 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
5792 the tests in the same order as the C++ class declaration.
5793 (test_paddr_operator_functions): Ditto.
5794 (test_paddr_overloaded_functions): Ditto.
5795 (test_paddr_hairy_functions): Use demangler formatting variables.
5796 Add reference to gdb/19 for related tests.
5797 (do_tests): Call probe_demangler.
5798
1de8f023
KB
57992001-01-30 Kevin Buettner <kevinb@redhat.com>
5800
5801 * gdb.c++/templates.cc (printf): Remove unused function definition.
5802
ca3f91ed
MS
58032001-01-26 Felix Lee <flee@redhat.com>
5804
5805 * sid.exp (sid_exit): Pass host, not target, to remote_close.
5806
58072001-01-25 matthew green <mrg@redhat.com>
5808
5809 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
5810 up sid.
5811 (sid_exit): Call `remote_pop_conn' after GDB is gone.
5812
58132001-01-25 matthew green <mrg@redhat.com>
5814
5815 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 5816 Deprecate $sid_spawn_id.
ca3f91ed
MS
5817 (sid_exit): Remove code necessary only for `spawn.'
5818
58192001-01-25 matthew green <mrg@redhat.com>
5820
5821 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
5822
fb18ec4a
MC
58232001-01-28 Michael Chastain <chastain@redhat.com>
5824
5825 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
5826 to call when tests fail. It takes gdb out of the overloaded
5827 function choice menu back to the main prompt, so that the test
5828 program stays synchronized.
5829 (set_bp_overloaded): New proc to collect all the common
5830 code for setting a breakpoint on an overloaded name. Calls
5831 take_gdb_out_of_choice_menu when needed.
5832 (menu_overload1arg): New variable to collect the repeated
5833 instances of the expected menu for an overloaded name. Change
5834 the regular expression to handle changes in g++ type encoding:
5835 "void" can be either "void" or "", and "unsigned int" can be
5836 either "unsigned int" or "unsigned".
5837 (continue_to_bp_overloaded): Change regular expressions to handle
5838 changes in g++ type encoding.
5839 (no proc): Call take_gdb_out_of_choice_menu when needed.
5840 Remove redundant calls to "info break". Accept either "canceled"
5841 or "cancelled". Change regular expressions in "info break"
5842 calls to handle changes in g++ type encoding. Give all tests
5843 unique strings.
5844
9c646a6e
BE
58452001-01-17 Ben Elliston <bje@redhat.com>
5846
5847 * config/sid.exp: New file.
5848
9549d9c1
AC
5849Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
5850
5851 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
5852
dc96c6c7 58532000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
5854
5855 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
5856 Add a RE to accept a non-ascii char if one is ever presented.
5857
b4df4f68
FN
58582000-12-20 Fernando Nasser <fnasser@redhat.com>
5859
297dd0fd 5860 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 5861
dc96c6c7 58622000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 5863
d63a86f8 5864 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
5865 in regexp. One '\' does not suffice on Linux.
5866
4a7bddb6
MC
58672000-12-09 Michael Chastain <chastain@redhat.com>
5868
5869 * gdb.base/break.exp (test_clear_command): Use a marker function
5870 rather than 'main' for the test function. Also move this
5871 test to an execution point where the marker function names are
5872 guaranteed to be bound to functions. (Executing tests after a
5873 'finish' from main runs into name conflicts with local names
5874 in __libc_start_main).
5875
dc96c6c7 58762000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
5877
5878 * gdb.base/finish.exp: New test for gdb's "finish" command.
5879 * gdb.base/return2.exp: New test for gdb's "return" command.
5880 * gdb.base/return2.c: New source file for above.
5881
dc96c6c7 58822000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
5883
5884 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
5885 * gdb.base/miscexprs.exp: Ditto.
5886 * gdb.base/pointers.exp: Ditto.
5887 * gdb.c++/derivation.exp: Ditto.
5888 * gdb.c++/local.exp: Ditto.
5889 * gdb.c++/namespace.exp: Ditto.
5890 * gdb.c++/overload.exp: Ditto.
5891 * gdb.c++/ref-types.exp: Ditto.
5892
dc96c6c7 58932000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
5894
5895 * gdb.base/constvars.exp: Test result of "up" command.
5896 * gdb.base/miscexprs.exp: Ditto.
5897 * gdb.base/pointers.exp: Ditto.
5898 * gdb.base/scope.exp: Ditto.
5899 * gdb.c++/derivation.exp: Ditto.
5900 * gdb.c++/local.exp: Ditto.
5901 * gdb.c++/namespace.exp: Ditto.
5902 * gdb.c++/overload.exp: Ditto.
5903 * gdb.c++/ref-types.exp: Ditto.
5904
44097287
FN
59052000-11-22 Michael Chastain <chastain@redhat.com>
5906
5907 * mips_pro.exp: Accept either "middle -> top -> main" or
5908 "middle -> main" in the backtrace, because gcc can optimize
5909 tail calls to jumps. Remove setup_xfail for the hppa case.
5910 Add a comment with the original warning messages from PR 3016,
5911 which was filed in 1993, to preserve them for posterity.
5912
9d2e1bab
ND
59132000-11-17 Nick Duffek <nsd@redhat.com>
5914
5915 * lib/gdb.exp (gdb_test): Override timeout with board info.
5916
1aca8eb7
ND
59172000-11-17 Nick Duffek <nsd@redhat.com>
5918
5919 * gdb.base/display.exp: Don't kill running stub. Add "again" to
5920 the second kill and detach messages.
5921
93076499
ND
59222000-11-17 Nick Duffek <nsd@redhat.com>
5923
5924 * configure.in: Add AC_EXEEXT.
5925 * configure: Regenerate.
5926 * Makefile.in (just-check): Export EXEEXT.
5927 * lib/gdb.exp ($EXEEXT): Import from environment.
5928 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
5929 expect "maint dump-me" on Cygwin.
5930 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
5931 $EXEEXT.
5932
30e87cd3
ND
59332000-11-17 Nick Duffek <nsd@redhat.com>
5934
5935 * gdb.base/break.exp: Test backtrace and finish from called
5936 function on all platforms, not just HP-UX.
5937
dc96c6c7 59382000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
5939
5940 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
5941 code from gdb_target_monitor, so it can be used independantly
5942 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 5943
dc96c6c7 59442000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
5945
5946 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
5947 * gdb.base/corefile.exp: Expect the message "Program is being
5948 debugged already" when we send the "corefile" command, since
5949 the preceeding gdb_load may have connected gdb to a remote target.
5950 * gdb.base/display.exp: Disable hardware watchpoints if new
5951 board info variable "no_hardware_watchpoints" is true.
5952 Replace single-letter commands with more readable ones.
5953 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
5954 if new board info variable "no_hardware_watchpoints" is true.
5955 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
5956 to see if stdio (printf) testing is possible.
5957 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
5958 board info variable "no_hardware_watchpoints" is true. Use new
5959 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
5960
39124dea
FN
59612000-11-13 Fernando Nasser <fnasser@redhat.com>
5962
5963 From Orjan Friberg <orjanf@axis.com>:
5964 * gdb.base/printcmds.exp: Escape curly braces followed by a number
5965 in array print pattern match.
5966
a9e2e984
FN
59672000-11-09 Fernando Nasser <fnasser@redhat.com>
5968
5969 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
5970 spelling "cancelled" to U.S. spelling "canceled" to match changes
5971 made to gdb.
5972 * gdb.c++/ovldbreak.exp: Ditto.
5973
c7db355b
PS
59742000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5975
5976 * gdb.base/callfuncs.c (main): Moved to end of file, call
5977 t_double_values to initialize the FPU before inferior calls are made.
5978 * gdb.base/callfuncs.exp: Test for register preservation after calling
5979 inferior functions. Add tests for continuining, finishing and
5980 returning from a stop in a call dummy.
5981
dc96c6c7 59822000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
5983
5984 * gdb.base/commands.exp: Break up long lines, and re-indent.
5985
dc96c6c7 59862000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
5987
5988 * config/gdbserver.exp: Rewritten from the ground up, to make it
5989 compatible with the current dejagnu tree, and to make it work with
5990 the new "gdbserver" in libremote.
5991
dc96c6c7 59922000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
5993
5994 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
5995 * gdb.base/varargs.exp: Skip entire test if no printf support.
5996 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
5997 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
5998
dc96c6c7 59992000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
6000
6001 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
6002 no floating point support.
6003 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
6004 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
6005 * gdb.base/call-rt-st.exp: Ditto.
6006 * gdb.base/call-strs.exp: Ditto.
6007
bac5fc66
JG
60082000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
6009
6010 * gdb.base/sizeof.c: include <stdio.h>.
6011
6012 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
6013 'finish', otherwise uncaptured gdb_prompt would potentially
6014 throw remaining test points out of sync.
6015
b22a6027
SB
60162000-07-26 Scott Bambrough <scottb@netwinder.org>
6017
6018 * gdb.base/recurse.exp: Run tests for all targets.
6019 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
6020 gnu-oldld case on ARM.
6021 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
6022 for ARM targets.
d63a86f8 6023
d8231941
AG
6024Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
6025
6026 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
6027 * gdb.java/configure: Rebuild.
6028
8caabe69
AG
6029Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
6030
6031 * gdb.java/jv-exp.exp: New file.
6032
9d273ca3
AG
6033Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
6034
6035 * configure: Rebuilt.
6036 * configure.in (configdirs): Add gdb.java.
6037 * gdb.java/jmisc.java: New file.
6038 * gdb.java/jmisc.exp: New file.
6039 * gdb.java/Makefile.in: New file.
6040 * gdb.java/configure: Rebuilt.
6041 * gdb.java/configure.in: New file.
6042 * lib/java.exp: New file.
6043
4f823a66
AC
6044Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
6045
6046 * gdb.base/exprs.exp: Test casts to a pointer including over and
6047 underflow.
6048
2391e11d
AC
6049Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
6050
6051 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
6052 and the compilers sizes.
6053
54602222
ND
60542000-07-09 Nick Duffek <nsd@redhat.com>
6055
6056 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
6057 (use_methods): New function.
6058 (main): Call use_methods().
6059 * gdb.c++/classes.exp (test_method_param_class): New procedure.
6060 (do_tests): Call test_method_param_class.
6061
2bec0572
ND
60622000-07-09 Nick Duffek <nsd@redhat.com>
6063
6064 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
6065 spelling.
6066 (test_enums): New procedure. Move enum tests from end of script
6067 to here. Set breakpoint on function name instead of line number.
6068 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
6069 (enums2): New marker function.
6070 (enums1): New function.
6071 (main): Call enums1(). Move enum tests to enums1().
6072
78492fde
AC
6073Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
6074
6075 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
6076 compile/link program. Update line numbers.
6077 * gdb.asm/d10v.inc: Define ``startup''.
6078 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 6079
49a2cef8
AC
6080Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
6081
6082 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
6083
3e6c8688
EZ
60842000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6085
6086 * gdb.base/maint.exp: Add 'maint print architecture' item to output
6087 of 'help maint print' command.
6088
9ff5cbe9
AC
6089Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
6090
6091 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
6092 they use gdb_expect_list.
6093
17c579bd
AC
6094Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
6095
6096 * gdb.base/commands.exp: Use ``set remote
6097 memory-read-packet-size'' instead of ``set endian big'' to test
6098 long commands.
6099
e6d71bf3
DB
61002000-06-03 Daniel Berlin <dan@cgsoftware.com>
6101
6102 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 6103 g++, and stop skipping them.
e6d71bf3
DB
6104
6105 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
6106 work under g++.
6107
d63a86f8 6108 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
6109 initialization.
6110
dc96c6c7 61112000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
6112
6113 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
6114 the regular expression: accept an (almost) arbitrary sequence of
6115 "frames-invalid" and "breakpoints-invalid" messages both before
6116 and after the "starting" message.
6117
dc96c6c7 61182000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
6119
6120 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 6121
dc96c6c7 61222000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
6123
6124 * gdb.base/annota1.exp (annotate-signal-handler-caller):
6125 Relax the regular expression a little, make it pass on Solaris 8.
6126
8216cda9
KB
61272000-05-12 Kevin Buettner <kevinb@redhat.com>
6128
6129 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 6130 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
6131 Instead, it is permissible for gdb to stop on the line of the
6132 call itself.
6133
1a570b2f
MS
61342000-05-12 Michael Snyder <msnyder@.cygnus.com>
6135
6136 * gdb.base/break.exp (bp on small function, optimized file):
6137 Add a second pass pattern. The behavior differs here between stabs
6138 and dwarf for one-line functions. Stabs preserves two line symbols
6139 (one before the prologue and one after) with the same line number,
6140 but dwarf regards these as duplicates and discards one of them.
6141 Therefore the address after the prologue (where the breakpoint is)
6142 has no exactly matching line symbol, and GDB reports the breakpoint
6143 as if it were in the middle of a line rather than at the beginning.
6144
dc96c6c7 61452000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 6146
d63a86f8 6147 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
6148 rather than "send_gdb" (for consistancy).
6149
7d418785
AC
6150Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
6151
6152 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
6153 * gdb.c++/templates.cc: Properly check for GCC version number.
6154 * lib/compiler.cc: Likewise
6155
dc96c6c7 61562000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 6157
d63a86f8 6158 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
6159 gdb may not stop at the first line of main, due to code motion.
6160
dc96c6c7 61612000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
6162
6163 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
6164 This test depends on parsing the printf output from the target.
6165 Since the sparclet stub doesn't do stdio, this will never work.
6166 * gdb.base/call-rt-st.exp: ditto.
6167 * gdb.base/call-strs: ditto.
6168
dc96c6c7 61692000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
6170
6171 * gdb.base/miscexprs.exp: make sizeof long array test portable.
6172
6173 * gdb.base/ending-run.exp: After connecting to a remote target,
6174 but before running, the target will appear to be in a random
6175 location. Specify both a file and a line for breakpoints.
6176 Also, the function that calls main may be called 'init'
6177 rather than 'start'.
6178
a5a51225
EZ
61792000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6180
6181 * gdb.base/help.exp: Update output for add-symbol-file command.
6182
7930cc7c
FN
61832000-04-10 Fernando Nasser <fnasser@cygnus.com>
6184
6185 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6186 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
6187
23e37ab1
C
61882000-04-07 J.T. Conklin <jtc@redback.com>
6189
e93c542c
C
6190 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
6191
23e37ab1
C
6192 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
6193
591b8fa3
PDM
6194Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
6195
6196 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
6197 values that can be represented exactly.
6198 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
6199 above change, and to not check against the directory part of the source
6200 file name.
6201 (step into print_long_arg_list): Likewise.
6202 (print print_small_structs from print_long_arg_list): Likewise.
6203 (print print_long_arg_list): Likewise.
6204
7a495180
EZ
62052000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6206
30b53638 6207 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 6208
beb998c6
AC
6209Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
6210
6211 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
6212
1c689132
DB
62132000-03-25 Daniel Berlin <dan@cgsoftware.com>
6214
6215 * gdb.base/commands.exp (deprecated_command_test): Add test for
6216 deprecate with no arguments.
6217
c1790a9d
JL
62182000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
6219
6220 * gdb.base/break.exp: Add new test for setting breakpoints on
6221 optimized code so we can test breakpoints work even when function
6222 prologues may be optimized away
6223
003ba290
FN
62242000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
6225
6226 From David Whedon <dwhedon@gordian.com>
6227 * gdb.base/commands.exp : Added command deprecator tests.
6228
6837a0a2
DB
62292000-03-22 Daniel Berlin <dan@cgsoftware.com>
6230
6231 * gdb.base/help.exp: Added test for new apropos command.
6232
b9593231
KB
62332000-03-21 Kevin Buettner <kevinb@redhat.com>
6234
6235 * gdb.base/pointers.c (usevar): New function.
6236 (main): Make sure that global variables v_int_pointer2, rptr,
6237 and y are all referenced someplace in the program by calling
6238 usevar() on them. [Some linkers delete symbols which are
6239 never referenced. The space remains, but there's no way to
6240 get a (symbolic) handle on the variable from the debugger.]
6241
751a959b
EZ
62422000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6243
6244 * gdb.base/printcmds.c: Add typedeffed arrays.
6245
6246 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
6247 procedure to test arrays that are typedef'd.
6248
73a93a32
JI
62492000-03-13 James Ingham <jingham@leda.cygnus.com>
6250
6251 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 6252 the library directories.
73a93a32 6253
fb40c209
AC
6254Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
6255
6256 * configure.in (configdirs): Add sub directory gdb.mi.
6257 * configure: Re-generate.
6258
6259 * gdb.mi: New directory.
d63a86f8 6260
ee4dd2c9
AC
62612000-02-25 Scott Bambrough <scottb@netwinder.org>
6262
6263 * gdb.base/long_long.exp: Correct test suite failure when printing
6264 a long long value as a double on ARM platforms.
6265
70f0cc22
JB
62662000-02-16 Jim Blandy <jimb@redhat.com>
6267
6268 * gdb.base/break.exp ("breakpoint line number"): Make sure the
6269 default source file is set properly before running this test.
6270
853819b8
EZ
62712000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6272
6273 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
6274 gdbtk/library directory, not in gdbtcl2.
6275
dfcd3bfb
JM
62762000-02-04 Jim Blandy <jimb@redhat.com>
6277
6278 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
6279 backslash from regexp pattern.
6280
6281 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
6282 procedure. Use it to run all the "continue to bp overloaded"
6283 tests. Note that this changes the names of the tests slightly.
6284 If the breakpoint hit message includes a hex PC value, because
6285 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
6286 from the real source code, still consider that a pass.
6287
6288 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
6289 XFAIL here if the breakpoint message contains a hex address. Note
6290 similar change on 1999-11-02.
6291
6292 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
6293
6294 * gdb.base/ptype.exp: Establish a default source file before
6295 calling get_debug_format.
6296
62972000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
6298
6299 * gdb.base/watchpoint.exp: Remove duplication of test messages.
6300
8b93c638
JM
63012000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6302
6303 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
6304 of successive stepi commands -- while in the prologue we should see
6305 the function entry bracket.
6306
63072000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6308
6309 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
6310 reach __change_mode() when stepping through the end of main().
6311
c5394b80
JM
63122000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
6313
6314 * gdb.base/default.exp: Fix expected pattern.
6315 * gdb.base/help.exp: Same.
6316
0d06e24b
JM
63172000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6318
6319 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
6320 Don't use xfail's because that affects only the following test.
d63a86f8 6321
0d06e24b
JM
6322 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
6323 solaris or linux.
6324
6325 * gdb.base/selftest.exp: Update to reflect changes to main.c.
6326
dc96c6c7 63272000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 6328
d63a86f8 6329 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
6330 "A syntax error" rather than "A parse error". Accept both.
6331
63322000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
6333
6334 * gdb.base/default.exp: Remove OS dependent string from "target
6335 remote" test.
6336 * gdb.base/help.exp: Same for "help target remote" test.
6337
c3f6f71d
JM
63382000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6339
6340 From Jim Kingdon <kingdon@redhat.com>:
6341
6342 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
6343 prompt (cleanup rather than necessity, but still might keep output
6344 from spilling to next test).
6345
63462000-01-02 Fred Fish <fnf@cygnus.com>
6347
6348 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
6349 AIX, which defines them in <sys/types.h>.
6350
ed9a39eb 63511999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 6352
ed9a39eb
JM
6353 * gdb.base/default.exp: Match arm* etc instead of arm in "info
6354 float" test.
6355
63561999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 6357
ed9a39eb 6358 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
6359
6360 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
6361 outermost frame disallowed".
6362
63631999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
6364
6365 * gdb.base/setvar.exp: New tests for setting the value of a struct
6366 with a constant list.
6367
63681999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
6369
6370 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
6371 require the user to type a cast before setting the value of a struct.
6372
de57eccd
JM
63731999-12-06 Jim Blandy <jimb@cygnus.com>
6374
6375 * gdb.base/default.exp: Expect the new 'info float' command on
6376 all i386 platforms.
6377
6378 * gdb.threads/linux-dp.exp: Expand our ability to recognize
6379 LinuxThreads libraries that don't support debugging.
6380
c2d11a7d
JM
6381Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6382
6383 * gdb.base/remote.c: Fill the buffer with truely random data.
6384 Change the buffer type to ``unsigned char'' to simplify size
6385 arithmetic.
6386
6387 * gdb.base/remote.exp: Reduce download numbers by one. Typical
6388 stub only handles 400-1 byte packets. Verify that the download
6389 worked.
6390
63911999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
6392
6393 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
6394 tests, using UNRESOLVED for the untested cases. Also, does not wait
6395 for a timeout if the prompt was received before a recognizable pattern.
6396
63971999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
6398
6399 * lib/gdb.exp (gdb_expect_list): Fix spelling.
6400
64011999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6402
6403 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
6404 watchpoints.
6405
64061999-11-24 Jason Merrill <jason@casey.cygnus.com>
6407
6408 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
6409
6410 * gdb.c++/local.exp: Be more flexible in recognizing local class
6411 name mangling. Don't allow horribly truncated method names.
6412 * gdb.c++/derivation.exp: Expect protected inheritance.
6413 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
6414 * gdb.c++/virtfunc.exp: Likewise.
6415 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
6416 when printing a nested enum.
6417
64181999-11-22 Jim Blandy <jimb@cygnus.com>
6419
6420 * gdb.base/step-test.exp: Properly await GDB's response to setting
6421 a breakpoint on the call to large_struct_by_value.
6422
6423 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
6424 just because we have debug info for the `start' function.
6425
64261999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
6427
6428 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
6429 "Unknown signal" messages, which indicate (on LinuxThreads) that
6430 GDB doesn't know how to debug threads on this system. This is
6431 better than hanging while philosopher 0 dumps chatter into gdb.log.
6432
64331999-11-18 Tom Tromey <tromey@cygnus.com>
6434
6435 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
6436
64371999-11-18 Fred Fish <fnf@cygnus.com>
6438
6439 * gdb.base/coremaker2.c: Add sample program for generating
6440 cores that is more self contained than coremaker.c. Eventually
6441 I'll add more code to this and tie it into the testsuite.
6442
4ce44c66
JM
64431999-11-12 Stan Shebs <shebs@andros.cygnus.com>
6444
6445 * gdb.base/dollar.exp: Remove, now in gdb.hp.
6446
64471999-11-10 Jimmy Guo <guo@cup.hp.com>
6448
6449 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
6450 from $srcdir/lib/.
6451 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
6452 and gdb.c++/.
6453
6454 * gdb.c++/derivation.exp: remove redundant get compiler info code.
6455
d63a86f8 6456 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
6457 'continue with watch' test point.
6458
64591999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
6460
6461 Merged from p2linux-990323-branch:
d63a86f8 6462
4ce44c66
JM
6463 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
6464
11cf8741
JM
6465Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
6466
6467 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
6468 {limit,fixed}''. Test ``set download-write-size''.
6469
6470Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
6471
6472 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
6473 gdb_expect_list.
6474
6475Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
6476
6477 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
6478
64791999-11-03 Mark Salter <msalter@cygnus.com>
6480
6481 * gdb.base/break.exp: Fix "stub continue" pattern.
6482
64831999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
6484
6485 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
6486
64871999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
6488
6489 * gdb.base/display.exp ("finish"): Add timeout clause.
6490
6491 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
6492 plain prompt clause, so this doesn't have to time out in order to
6493 fail.
6494
6495 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
6496 breakpoint hit messages include an address.
6497
6498 * gdb.base/display.exp: Don't forget to escape parens in regular
6499 expressions. Unix regexp notatation sucks.
6500
65011999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6502
6503 * gdb.base/annota1.exp: Test for annotate-signalled: change output
6504 order for 'signalled' message.
6505
5c44784c
JM
65061999-11-01 Stan Shebs <shebs@andros.cygnus.com>
6507
6508 From Jimmy Guo <guo@cup.hp.com>:
6509 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
6510 * gdb.base/annota1.c: Add code for tests to work with.
6511
65121999-10-26 Frank Ch. Eigler <fche@cygnus.com>
6513
6514 * gdb.base/remote.exp: New test for remote downloading settings.
6515 * gdb.base/remote.c: New file with large .data.
6516
917317f4
JM
65171999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
6518
6519 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
6520 for LinuxThreads support, merged from the Code Fusion branch.
6521
6522Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
6523
6524 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
6525 containing exp_continue into a while within an expect. Don't
6526 attempt a start more than three times. Check return value from
6527 gdb_load.
d63a86f8 6528
2df3850c
JM
6529Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
6530
6531 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
6532 a pass case.
6533
2acceee2
JM
65341999-10-01 Kevin Buettner <kevinb@cygnus.com>
6535
6536 * gdb.base/break.c (main): Added a statement that we can step
6537 off of.
6538 * gdb.base/break.exp: Added tests for setting a breakpoint
6539 at an offset and stepping onto a breakpoint.
6540
65411999-10-01 Fred Fish <fnf@cygnus.com>
6542
d63a86f8 6543 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
6544 gdb output.
6545
c2c6d25f
JM
65461999-09-18 Jim Blandy <jimb@cris.red-bean.com>
6547
6548 * gdb.base/break.exp: Code locations are in hex, don't forget!
6549 (For HP-UX.)
6550
65511999-09-17 Stan Shebs <shebs@andros.cygnus.com>
6552
6553 * condbreak.exp: Use break.c as test program.
6554 * condbreak.c: Remove, redundant with break.c.
6555
65561999-09-15 Stan Shebs <shebs@andros.cygnus.com>
6557
6558 * config/monitor.exp (gdb_target_monitor): Disable X- and
6559 Z-packets if the target needs it.
6560
65611999-09-13 James Ingham <jingham@leda.cygnus.com>
6562
6563 * gdb.c++/overload.exp: Added tests for listing overloaded
6564 functions with function pointers in the arg, explicitly calling
6565 out the version you want.
6566
cff3e48b
JM
65671999-09-09 Stan Shebs <shebs@andros.cygnus.com>
6568
6569 * long_long.exp: Add variations of test cases that work for
6570 targets with 16-bit ints and 32-bit doubles.
6571
d4f3574e
SS
65721999-09-08 Stan Shebs <shebs@andros.cygnus.com>
6573
6574 * break.c (main): Compare a possibly-uninitialized argc with an
6575 unlikely value that fits in 16 bits.
6576
65771999-09-07 Stan Shebs <shebs@andros.cygnus.com>
6578
6579 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
6580 0xfeeb, don't want negative numbers if ints are 16 bits.
6581
6582 * lib/gdb.exp (skip_cplus_tests): New proc.
6583 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6584 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
6585 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
6586 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
6587 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
6588 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
6589 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
6590 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
6591
6592 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
6593
6594Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
6595
6596 * gdb.base/corefile.exp (up): Allow a parameter to appear
6597 in the frame that we're going up to.
6598
6599 From Jim Blandy <jimb@cygnus.com>:
6600
6601 * gdb.base/default.exp (info float): Expect some output now.
6602
6603 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
6604 returning floating-point values to fail on the x86.
6605 * gdb.base/callfwmall.exp (do_function_calls): Same.
6606
6607 * gdb.base/list.exp (test_listsize): Correct expectations for
6608 listing line 1 with listsize 2. Also, listing a single line
6609 works now, as does listing three lines. [Kevin's note: There
6610 were a number of other cases fixed too where the expectations
6611 differed...]
6612
66131999-09-02 Stan Shebs <shebs@andros.cygnus.com>
6614
6615 * gdb.base/selftest.exp: Add case for when version prints as
6616 constant string instead of char pointer.
6617
104c1213
JM
66181999-08-25 Stan Shebs <shebs@andros.cygnus.com>
6619
6620 * gdb.base/ending-run.exp: Add Solaris case for what happens when
6621 stepping out of main.
6622
6623 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
6624 G++ used.
6625
6626 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
6627 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
6628
6629 * gdb.c++/ovldbreak.exp: Update match string in test that
6630 includes a warning of multiple breakpoints.
6631
66321999-08-24 Stan Shebs <shebs@andros.cygnus.com>
6633
6634 * gdb.base/display.exp: Improve precision of step-after-finish
6635 added yesterday.
6636
6637 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
6638 test.
6639
6640 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
6641 configs when using G++, not just hppa*.
6642
66431999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6644
6645 * gdb.base/async.c: New file.
6646 * gdb.base/async.exp: New file.
6647
6648Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
6649
6650 * gdb.base/break.exp: Tweak PA specific tests to properly handle
6651 PA64.
6652
53a5351d
JM
6653Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
6654
104c1213
JM
6655 * gdb.base/display.exp: "finish" can leave us mid-line on many
6656 targets, deal with it. Add a small constant to main, instead of
6657 1000 since main+1000 may not be a valid address in the target.
6658
53a5351d
JM
6659 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
6660 on hpux11.
6661
6662 * gdb.base/attach.exp: Handle another hpux11 error message variant
6663 when attaching to a process that does not exist.
6664
66651999-08-19 J.T. Conklin <jtc@redback.com>
6666
6667 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
6668 characters in 'continue to 1241' test.
6669
66701999-08-17 Stan Shebs <shebs@andros.cygnus.com>
6671
6672 * gdb.base/call-ar-st.exp: Add a shorter match case for the
6673 stop in print_long_arg_list, define and use a whitespace
6674 variable in print_small_structs test, add an XFAIL for Solaris.
6675 * gdb.base/dbx.exp: XFAIL func commands until somebody is
6676 interested enough to fix.
6677
7be570e7
JM
66781999-08-13 Keith Seitz <keiths@cygnus.com>
6679
6680 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
6681 (dbx_gdb_load): Remove. Use gdb_load instead, since that
6682 proc knows about targets other than the natives.
6683 (test_assign): Use "gdb_run_cmd" to "run" the target.
6684 Check that we've actually hit the breakpoint at main.
6685 When we attempt to assign a value to a local variable, check
6686 that the variable is in the current scope, i.e., don't use
6687 a test with an empty result.
6688
6689Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
6690
6691 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
6692 command.
6693
66941999-08-09 Stan Shebs <shebs@andros.cygnus.com>
6695
6696 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6697 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
6698 gdb.compat, gdb.threads-hp.
6699 gdb.hp/configure, gdb.hp/configure.in: New files.
6700 gdb.hp/Makefile.in: Recurse into new subdirs.
6701 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
6702 gdb.hp/gdb.objdbg: New directory, tests for debugging info
6703 in object files.
6704 gdb.hp/tools: New directory, aux tools for HP-specific tests.
6705
96baa820
JM
67061999-08-05 Stan Shebs <shebs@andros.cygnus.com>
6707
6708 * gdb.base/display.exp: Help expect by putting a newline in the
6709 funky printf, remove a bogus p/a test.
6710
67111999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6712
6713 * gdb.base/display.exp: Make sure that when we say 'run', we are
6714 connected to the target. This is necessary when running not
6715 natively.
6716
67171999-08-03 Stan Shebs <shebs@andros.cygnus.com>
6718
6719 * gdb.base/step-test.exp: Removed some extraneous messages.
6720
6721 * gdb.base/long_long.exp: Don't run memory examination tests
6722 on little-endian targets (they will need a different set of
6723 results to match).
6724
67251999-08-02 Stan Shebs <shebs@andros.cygnus.com>
6726
6727 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
6728 until somebody decides to fix GDB.
6729
6730 * gdb.base/long_long.c: Stop compiler complaint by specifying long
6731 constant as "ULL".
6732 * gdb.base/long_long.exp: Loosen x/c test, add partial result
6733 matches for a couple x/2 commands.
6734
a0b3c4fd
JM
67351999-07-30 Stan Shebs <shebs@andros.cygnus.com>
6736
6737 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
6738 by merging in ref-types2 tests.
6739 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
6740
6741 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6742 * gdb.c++/Makefile.in: Add standard actions.
6743 (EXECUTABLES): Rename from PROGS, update list.
6744 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
6745 from gdb.hp.
6746 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
6747 foo and bar locals.
6748 * gdb.c++/anon-union.exp: Fix tests to match.
6749 * gdb.c++/classes.exp: Run if HP compiler used, add extra
6750 expect matches to handle output variations.
6751 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
6752 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
6753 output, add HP alternatives for new and delete prints.
6754 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
6755 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
6756 * gdb.c++/demangle.exp: Use $style when reporting failure.
6757 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
6758 * gdb.c++/inherit.exp: Run if HP compiler used, add some
6759 match alternatives.
6760 * gdb.c++/local.exp: Add match alternatives or xfails for HP
6761 compilers.
6762 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
6763 * gdb.c++/method.exp: Add match alternatives.
6764 * gdb.c++/misc.cc: Add bool types.
6765 * gdb.c++/misc.exp: Add tests for bool types.
6766 * gdb.c++/overload.exp: Add xfails.
6767 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
6768 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
6769 add some more template parameter tests (only for HP currently).
6770 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
6771 * gdb.c++/virtfunc.cc: Add return type and value for main.
6772 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
6773 match alternatives.
d63a86f8 6774
a0b3c4fd
JM
67751999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6776
6777 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
6778
67791999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
6780
6781 * gdb.base/signals.exp: Don't expect getting a backtrace from
6782 within a signal handler to fail on Linux.
6783
67841999-07-29 Stan Shebs <shebs@andros.cygnus.com>
6785
6786 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6787 * lib/gdb.exp: Remove some gratuitious semicolons.
6788 (delete_breakpoints): Increase timeout.
6789 (gdb_expect): Add -notransfer option.
6790 (gdb_test): Use -notransfer option.
6791 (get_compiler_info): Add f77 case.
6792 (get_compiler): New proc, split out from gdb_preprocess, add f77
6793 case.
6794 (gdb_preprocess): Call get_compiler.
6795
6796 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
6797 * gdb.base/attach.exp, gdb.base/display.exp,
6798 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
6799 gdb.base/long_long.exp, gdb.base/printcmds.exp,
6800 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
6801 third arg to gdb_test.
6802 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
6803 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
6804 HP-UX xfails, add others.
6805 * gdb.base/completion.exp: Reflect name change of self-test.
6806 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
6807 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
6808 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
6809 HP failure number.
6810 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
6811 useless HP-UX 10.30 references.
6812 * gdb.base/maint.exp: Loosen matches.
6813 * gdb.base/pointers.c (main): Declare more_code.
6814 * gdb.base/pointers.exp: Match on output of a `next'.
6815 * gdb.base/structs.c: Add prototypes.
6816 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
6817 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
6818
68191999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6820
6821 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
6822 command.
6823
68241999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6825
6826 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
6827 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
6828
6829 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
6830 debug info. Deal with lack of signal hanlder info in stack.
6831
6832 From Jim Kingdon <kingdon@redhat.com>:
6833 * gdb.base/annota1.exp: If printf has debug info, deal with it.
6834
5a2468f5
JM
68351999-07-19 Stan Shebs <shebs@andros.cygnus.com>
6836
6837 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
6838 gdb.base/foll-vfork.exp: Don't run for crosses.
6839
adf40b2e
JM
6840Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6841
6842 * gdb.base/configure.in: Check for gdbvars.exp instead of
6843 a1-selftest.exp.
6844 * gdb.base/configure: Re-generate.
6845
68461999-07-12 Stan Shebs <shebs@andros.cygnus.com>
6847
6848 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
6849 in trying to run first and name is too long.
6850
6851 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
6852 pointers2.c and pointers2.exp, respectively.
6853 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
6854 doschk happier.
6855
43e526b9
JM
68561999-07-08 Stan Shebs <shebs@andros.cygnus.com>
6857
6858 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
6859 callfuncs2.c and callfuncs2.exp.
6860
6861 * gdb.base/list.exp: Remove mistaken xfails.
6862 * gdb.base/list0.h: Add optional prototypes.
6863
9846de1b
JM
6864Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
6865
6866 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
6867 calling malloc.
6868 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
6869 * ptype.exp: Move test for get_debug_format to before its first
6870 use.
6871
68721999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6873
6874 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
6875 * gdb.base/annota2.cc, annota2.exp: Move from here.
6876 * gdb.c++/annota2.cc, annota2.exp: To here.
6877 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
6878
43ff13b4
JM
6879Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
6880
6881 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
6882 a consistent format.
6883
085dd6e6
JM
68841999-06-25 Stan Shebs <shebs@andros.cygnus.com>
6885
6886 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6887 * lib/gdb.exp (get_compiler_info): Add detection for assorted
6888 HP compilers, also set the globals $true and $false.
6889
6890 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
6891 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
6892 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
6893 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
6894 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
6895 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
6896 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
6897 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
6898 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
6899 whatis.c} Add C++ compatible function definitions and return
6900 types, add includes for library functions.
6901 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
6902 * gdb.base/step-test.c (myglob): Rename from glob.
6903 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
6904 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
6905 files, move here from gdb.hp.
6906 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
6907 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
6908 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
6909 Adjust line numbers in regexps.
6910
6911 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
6912 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
6913 instead of 0/1.
6914
6915 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
6916 foll-vfork.exp: New files, move here from gdb.hp.
6917 * gdb.base/page.exp: New file, test of pagination command.
6918
6919 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
6920 recursion test.
6921 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
6922
6923 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
6924 gdb.base/solib.exp: Fix compiler invocation process.
6925
6926 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
6927 HP-UX 11, turn off overload resolution explicitly.
6928 * gdb.base/commands.exp: Set argument list explicitly, add
6929 watchpoint test.
6930 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
6931 them work.
6932 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
6933 expressions properly.
6934 * gdb.base/corefile.exp: Loosen the match slightly.
6935 * gdb.base/default.exp: Allow "Error accessing memory" message
6936 also.
6937 * gdb.base/display.exp: Skip over x/0 j if PA64.
6938 * gdb.base/funcargs.exp: Add xfails for HP-UX.
6939 * gdb.base/interrupt.exp: Ditto.
6940 * gdb.base/langs.exp: Add symbolic matches governed by compiler
6941 in use.
6942 * gdb.base/list.exp: Add xfails for HP-UX.
6943 * gdb.base/long_long.exp: Refine some of the numeric matches.
6944 * gdb.base/mips_pro.exp: Xfail on HP-UX.
6945 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
6946 * gdb.base/nodebug.exp: Succeed on more varieties of output.
6947 * gdb.base/opaque.exp: Remove some HP-UX xfails.
6948 * gdb.base/ptype.exp: Succeed on more varieties of output.
6949 * gdb.base/scope.exp: Add xfails for HP-UX.
6950 * gdb.base/sect-cmd.exp: Add more cases.
6951 * gdb.base/setvar.exp: Add xfails for HP-UX.
6952 * gdb.base/shlib-call.exp: Loosen some matches slightly.
6953 * gdb.base/signals.exp: Match on void symbolically.
6954 * gdb.base/step-test.exp: Add case for PA64.
6955 * gdb.base/term.exp: Add exit and restart.
6956 * gdb.base/twice.exp: Clean up after self.
6957 * gdb.base/varargs.exp: Disable overload resolution explicitly.
6958 * gdb.base/whatis.exp: Allow more ways to pass tests.
6959
6960 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
6961 no longer useful.
6962
6963Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
6964
6965 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
6966 list of patterns.
6967 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
6968 print_double_array(double_array)", "continuing to breakpoint
6969 1018", "print print_double_array(array_d)" and "continuing to
6970 1034" tests.
d63a86f8 6971
085dd6e6
JM
69721999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
6973
6974 * Makefile.in: Add empty html and install-html targets.
6975
69761999-06-24 Stan Shebs <shebs@andros.cygnus.com>
6977
6978 * config/mt-*: Remove, these haven't been used since 1996.
6979
69801999-06-22 Stan Shebs <shebs@andros.cygnus.com>
6981
6982 * gdb.base/call-strs.c, gdb.base/ending-run.c,
6983 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
6984 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
6985
9e0b60a8
JM
69861999-06-18 Stan Shebs <shebs@andros.cygnus.com>
6987
6988 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
6989 simpler match case for the ptype of the big class.
6990
69911999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6992
6993 * gdb.exp: Fix test for gdb_prompt existence.
6994
69951999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
6996
6997 * gdb.exp (gdb_test): Add fail after calls to perror.
6998
69991999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7000
7001 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
7002
70031999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7004
7005 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
7006
0f71a2f6
JM
7007Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
7008
7009 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
7010 malloc() is linked in.
7011
70121999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
7013
7014 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
7015 step at end.
7016
7017 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
7018
70191999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
7020
7021 * gdb.java/jv-print.exp: New file. (Our first Java test!)
7022
cce74817
JM
7023Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
7024
7025 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
7026 * gdb.base/mips_pro.exp: Likewise.
7027
70281999-06-02 Keith Seitz <keiths@cygnus.com>
7029
7030 * gdb.c++/templates.cc: Change all "new" operators to throw
7031 an exception.
7032 * gdb.c++/cplusfuncs.cc: Likewise.
7033
7034 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
7035
7036Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
7037
7038 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
7039 * gdb.base/ending-run.exp: When stepping out of main, accept a
7040 step into an arbitrary assembler file.
7041
392a587b
JM
70421999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7043
d63a86f8 7044 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 7045 "breakpoint-invalid" to be printed.
d63a86f8 7046 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
7047 number of "frames-invalid" and "breakpoint-invalid" to be printed.
7048 * gdb.base/annota2.cc: Initialize a.x to 0.
7049
9e086581
JM
70501999-05-17 Keith Seitz <keiths@cygnus.com>
7051
7052 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
7053 when "skip_float_tests" set.
7054 Ditto for "print print_double_array(array_d)", "print print_small_structs",
7055 "print print_ten_doubles", and "step into print_long_arg_list".
7056 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
7057 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
7058 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
7059 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
7060 "skip_float_tests" is set.
7061 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
7062 when "skip_float_tests" set.
d63a86f8 7063
cd0fc7c3
SS
70641999-05-06 Keith Seitz <keiths@cygnus.com>
7065
7066 * gdb.base/annota2.cc: Include stdio.h.
7067
7068Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
7069
7070 * gdb.base/crossload.exp: Remove, this has been disabled ever
7071 since BFD stopped including all targets, and cross-GDB gets
7072 plenty of testing anyway.
7073 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
7074 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
7075 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
7076 * gdb.base/README: Remove, was doc for this.
7077 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
7078 needed.
7079
b83266a0
SS
70801999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7081
7082 * gdb.base/call-ar-st.exp: Fix one regular expression in test
7083 output.
7084
7085 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
7086 * gdb.base/annota2.exp: New file. More annotation tests.
7087 * gdb.base/annota1.c: New file. Source file for annota1.exp.
7088 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
7089
70901999-04-23 Angela Marie Thomas <angela@cygnus.com>
7091
7092 * config/cfdbug.exp: New file.
7093
7a292a7a
SS
70941999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
7095
7096 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
7097 Marcus Daniel's and Dale Hawkins's demangler crashes.
7098
7099 * gdb.c++/demangle.exp (test_gnu_style_demangling,
7100 test_lucid_style_demangling, test_arm_style_demangling,
7101 test_hp_style_demangling): Try Tom Tromey's core-dumping
7102 identifier under each demangling style.
7103
71041999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
7105
7106 * gdb.c++/demangle.exp: Include the current demangling style
7107 in all test names.
7108 (current_demangling_style): New global variable.
7109 (set_demangling_style, test_demangling_core, test_demangling,
7110 test_demangling_exact): New functions.
7111 (test_gnu_style_demangling, test_lucid_style_demangling,
7112 test_arm_style_demangling, test_hp_style_demangling): Use those,
7113 instead of calling gdb_test and gdb_test_exact directly.
7114 (catch_demangling_errors): New function, which reports errors
7115 signalled by the demangling test functions in an orderly way.
7116 (do_tests): Use catch_demangling_errors.
7117
71181999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
7119
7120 * gdb.base/signals.exp (test_handle_all_print): Use () for
7121 grouping in expressions, not {}.
7122
7123 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
7124 initialized yet.
7125
71261999-04-01 Stan Shebs <shebs@andros.cygnus.com>
7127
7128 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
7129 are listed.
7130
71311999-03-26 Stan Shebs <shebs@andros.cygnus.com>
7132
7133 * gdb.stabs/weird.exp: Test for CC being defined before
7134 looking at its value.
7135
71361999-03-25 Stan Shebs <shebs@andros.cygnus.com>
7137
7138 * gdb.base/call-ar-st.exp: Remove stray '#'.
7139 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
7140 "short int" and "long int".
7141 * gdb.c++/overload.cc: Cast the string added in the previous
7142 change, to mollify finicky HP compiler.
7143 * gdb.hp/reg-test.exp (testfile): Fix file name.
7144 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 7145
7a292a7a
SS
7146 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
7147 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
7148 alternate form of enum ptype.
7149
c906108c
SS
71501999-03-23 Stan Shebs <shebs@andros.cygnus.com>
7151
7a292a7a
SS
7152 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
7153 * gdb.hp/*.exp: Change all to run compiler probe only after
7154 passing skip_hp_tests, so as not to waste time on guaranteed
7155 failure.
7156
c906108c
SS
7157 * gdb.c++/overload.cc: Pass string instead of char addr, always
7158 init ccpfoo.
7159 * gdb.c++/templates.cc: Fix syntax error.
7160
7a292a7a
SS
7161Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7162
7163 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 7164 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
7165 command.
7166
71671999-03-18 James Ingham <jingham@cygnus.com>
7168
7169 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
7170
7171 * gdb.c++/method.exp: It was testing an uninitialized int on the
7172 stack and assuming it was positive.
7173
7174 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
7175
7176 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 7177 keep it from killing the rest of the tests.
7a292a7a
SS
7178 Use gdb_continue_to_end.
7179
7180 * gdb.base/sigall.exp: use gdb_continue_to_end.
7181
7182 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
7183
7184 * gdb.base/display.exp: use runto_main, not run.
7185
d63a86f8
RM
7186 * gdb.base/default.exp: Check for the current error message in the
7187 r abbreviation test.
7a292a7a
SS
7188 Add strongarm to the targets that know info float.
7189
d63a86f8 7190 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
7191 run which doesn't work with monitors.
7192
7193 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
7194
7195 * gdb.base/break.exp: use the gdb_continue_to_end proc.
7196
7197 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
7198 program. Traps the case (in Cygmon) when the program never really
7199 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
7200 more places, so I used my name. Sorry Mark...
7201
7202 * config/monitor.exp (gdb_target_monitor): added another
7203 target_info parameter: remotebinarydownload. This will set the
7204 remotebinarydownload flag if this is causing some boards trouble.
7205
72061999-03-18 Mark Salter <msalter@cygnus.com>
7207
7208 * lib/gdb.exp (continue_to_exit): New function.
7209
7210 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
7211 * gdb.base/ending-run.exp: Ditto.
7212 * gdb.base/step-test.exp: Ditto.
7213
72141999-03-16 Stan Shebs <shebs@andros.cygnus.com>
7215
7216 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
7217 (suggested by Art Haas <ahaas@neosoft.com>).
7218
72191999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
7220
7221 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7222
7223Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
7224
7225 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
7226 descriptions of types (short unsigned int vs unsigned short, etc).
7227
72281999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
7229
7230 * gdb.base/call-strs.exp: Don't assume that `step' will step over
7231 a call to strlen; sometimes we do have sources.
7232
72331999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
7234
7235 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
7236 character, so GDB won't print garbage after its end.
d63a86f8 7237
c906108c
SS
7238 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
7239 breakpoint there instead. Sometimes GCC emits memcpy to handle
7240 the large structures being passed by value, so we step into that
7241 instead of sum_array_print, which obscures what we're really testing.
7242 * gdb.base/step-test.exp: However, we do want a test that notices
7243 the bizarre steps into memcpy, so do that here. Add check for
7244 stepping into function calls that pass large structures by value.
7245 ("Is that a noun clause, or are you just happy to see me?")
7246 Remove all references to specific line numbers.
7247 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
7248 New type and function.
7249 (main): Call large_struct_by_value, passing it a large struct by value.
7250 * lib/gdb.exp (gdb_get_line_number): New function.
7251
7252 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
7253 more portable.
7254
7a292a7a
SS
72551999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
7256
c906108c
SS
7257 * lib/gdb.exp: Doc fixes.
7258
7a292a7a
SS
72591999-03-05 Nick Clifton <nickc@cygnus.com>
7260
d63a86f8 7261 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
7262
72631999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
7264
c906108c
SS
7265 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
7266 commands. They're not germane to this test, and they don't work
7267 that way on remote targets.
7268
3fc11d3e
JM
72691999-03-01 James Ingham <jingham@cygnus.com>
7270
7271 * Changelog entries merged over from gdb development branch.
7272
3fc11d3e
JM
7273 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
7274
7275 * lib/gdb.exp (gdbtk_analyze_results): Generic function
7276 for outputting results of test run.
7277
2d4a1622 7278 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
7279
7280 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 7281
7a292a7a
SS
72821999-02-25 Felix Lee <flee@cygnus.com>
7283
7284 * lib/gdb.exp (debug_format): initialize
7285
c906108c
SS
72861999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
7287
7288 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
7289 * gdb.base/call-rt-st.c: Ditto.
7290
c906108c
SS
72911999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
7292
7293 * gdb.threads/pthreads.exp (horiz): New variable.
7294 (test_startup): Fix regexps that capture thread numbers.
7295
72961999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
7297
7298 * gdb.base/smoke.exp: Disambiguate two test case names (both
7299 called ``print'').
7300
7301Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7302
7303 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
7304 compilation.
7305
73061999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7307
7308 * gdb.base/miscexprs.exp: Change patterns to match GDB's
7309 actual output formatting.
7310 * gdb.base/smoke.exp: GDB removes leading 0's.
7311 * gdb.base/volatile.exp: Don't check type of remuneration;
7312 that variable is no longer defined in constvars.c.
7313 * gdb.base/step-test.c (main): Exit with explicit exit code.
7314 * gdb.base/step-test.exp: Remove two nexti checks--they are
7315 not portable.
7316
73171999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7318
7319 * gdb.base/help.exp ("help delete display"): Fix test to match
7320 gdb's output.
7321
7322 * gdb.base/long_long.c (known_types): Initialize values to zero.
7323 * gdb.base/long_long.exp: Step one more line
7324 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 7325 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
7326 unique test case names.
7327
7328Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7329
d63a86f8 7330 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
7331
7332 * gdb.c++/method.exp: Add missing close brace.
7333
73341999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
7335
7336 * gdb.base/maint.exp: Use 'set height 0' to disable page
7337 prompting, not 'set height 400'.
7338
7339 Fix a bunch of timeouts.
7340 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
7341 four separate tests, so expect doesn't take forever to match a ton
7342 of text against a regexp with lots of .* forms.
7343 ("maint print psymbols", "maint print symbols"): Make some of
7344 these greps more selective, so that expect doesn't try to wade
7345 through huge piles of output and time out.
7346
7347 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
7348
7349 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
7350 tests: one which doesn't expect shlib events to be reported, and
7351 another which does, but is XFAIL for all platforms other than
7352 HP/UX.
7353
7354 * gdb.base/break.exp: Teach the test suite that the `catch
7355 fork', `catch vfork', and `catch exec' commands produce error
7356 messages on platforms that don't provide these features.
7357
7358Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7359
7360 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
7361 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
7362 (shortening names from solib_threshold.exp etc), won't run on
7363 anything but HP-UX for the foreseeable future.
7364 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
7365 reflect move.
7366
7367Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
7368
7369 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7370 gdb.trace/Makefile.in (clean): Remove all test executables.
7371
7372Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
7373
7374 * gdb.base/shlib-call.exp: add test cases to verify that gdb
7375 successfully re-sets breakpoints in shared libraries.
7376 * gdb.base/shmain.c (main): return 0, don't fall off the end.
7377
7378Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7379
d63a86f8
RM
7380 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
7381 and compiled w/o GCC.
c906108c
SS
7382
7383 * gdb.hp/watch-cmd.exp: ditto.
7384
7385 * gdb.hp/watch-hp.exp: ditto.
7386
7387 * gdb.hp/xdb1.exp: ditto.
7388
7389 * gdb.hp/xdb2.exp: ditto.
7390
7391 * gdb.hp/dbx.exp: ditto.
7392
7393Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
7394
7395 * constvars.c: Remove C++-isms.
7396 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
7397 with GCC.
7398
7399Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
7400
7401 The following changes are part of the HP merge.
7402
7403 * gdb.base/break.exp: new tests to verify that catchpoints for
7404 fork, vfork, and exec don't trigger inappropriately.
7405
7406 * gdb.base/opaque.exp: compile one file at a time, then link.
7407
7408 * gdb.base/signals.exp: be more restrictive about which hppa
7409 systems receive a setup_xfail. new tests.
7410
7411 * gdb.base/solib_threshold.build: new file.
7412 * gdb.base/solib_threshold.exp: new file.
7413 * gdb.base/solib_threshold.link_opts: new file.
7414 * gdb.base/solib_threshold.mk: new file.
7415 * gdb.base/gen_solib_threshold.c: new file.
7416
7417 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
7418 tests. New tests for enums inside classes.
7419
7420 * gdb.c++/compiler.cc: indicate support of template debugging.
7421
7422 * gdb.c++/demangle.exp: run hp style demangling tests.
7423
7424 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
7425 tests.
7426
7427 * gdb.c++/misc.cc: changes to support new tests.
7428
7429 * gdb.c++/templates.cc: changes to support HP's compiler; changes
7430 to support new tests.
7431
7432 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
7433 gcc, then skip these tests.
7434
7435Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
7436
7437 The following files are part of the HP merge; some had longer
7438 names at HP, but have been renamed to be no more than 14
7439 characters in length.
7440
7441 * gdb.hp/ambiguous.cc: new file.
7442 * gdb.hp/ambiguous.exp: new file.
7443 * gdb.hp/attach.exp: new file.
7444 * gdb.hp/attach2.exp: new file.
7445 * gdb.hp/classes-hp.exp: new file.
7446 * gdb.hp/ctti.exp: new file.
7447 * gdb.hp/ctti-add.cc: new file.
7448 * gdb.hp/ctti-add1.cc: new file.
7449 * gdb.hp/ctti-add2.cc: new file.
7450 * gdb.hp/ctti-add3.cc: new file.
7451 * gdb.hp/dbx.exp: new file.
7452 * gdb.hp/exception.cc: new file.
7453 * gdb.hp/exception.exp: new file.
7454 * gdb.hp/foll-exec.c: new file.
7455 * gdb.hp/foll-exec.exp: new file.
7456 * gdb.hp/foll-fork.c: new file.
7457 * gdb.hp/foll-fork.exp: new file.
7458 * gdb.hp/foll-vfork.c: new file.
7459 * gdb.hp/foll-vfork.exp: new file.
7460 * gdb.hp/inherit-hp.exp: new file.
7461 * gdb.hp/more-steps.exp: new file.
7462 * gdb.hp/namespace.cc: new file.
7463 * gdb.hp/namespace.exp: new file.
7464 * gdb.hp/optimize.exp: new file.
7465 * gdb.hp/pxdb.c: new file.
7466 * gdb.hp/pxdb.exp: new file.
7467 * gdb.hp/quicksort.exp: new file.
7468 * gdb.hp/reg-test.exp: new file.
7469 * gdb.hp/reg-test.s: new file.
7470 * gdb.hp/sized-enum.c: new file.
7471 * gdb.hp/sized-enum.exp: new file.
7472 * gdb.hp/start-stop.exp: new file.
7473 * gdb.hp/templ-hp.cc: new file.
7474 * gdb.hp/templ-hp.exp: new file.
7475 * gdb.hp/thr-lib.c: new file.
7476 * gdb.hp/thr-lib.exp: new file.
7477 * gdb.hp/thr-lib.h: new file.
7478 * gdb.hp/thr-liblib.c: new file.
7479 * gdb.hp/virtfun-hp.c: new file.
7480 * gdb.hp/virtfun-hp.exp: new file.
7481 * gdb.hp/watch-cmd.exp: new file.
7482 * gdb.hp/watch-hp.exp: new file.
7483 * gdb.hp/xdb1.exp: new file.
7484 * gdb.hp/xdb2.exp: new file.
7485 * gdb.hp/xdb3.exp: new file.
7486
7487Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
7488
7489 The following files are part of the HP merge; some had longer
7490 names at HP, but have been renamed to be no more than 14
7491 characters in length.
7492
7493 * gdb.base/ss.h: new file.
7494 * gdb.base/call-ar-st.c: new file.
7495 * gdb.base/call-ar-st.exp: new file.
7496 * gdb.base/call-rt-st.c: new file.
7497 * gdb.base/call-rt-st-exp: new file.
7498 * gdb.base/call-strs.exp: new file.
7499 * gdb.base/ena-dis-br.exp: new file.
7500 * gdb.base/environ.exp: new file.
7501 * gdb.base/long_long.exp: new file.
7502 * gdb.base/sect-cmd.exp: new file.
7503 * gdb.base/shlib-cl2.exp: new file.
7504 * gdb.base/smoke.exp: new file.
7505 * gdb.base/so-impl-ld.c: new file.
7506 * gdb.base/so-impl-ld.exp: new file.
7507 * gdb.base/so-indr-cl.c: new file.
7508 * gdb.base/so-indr-cl.exp: new file.
7509 * gdb.base/varargs.exp: new file.
7510 * gdb.base/volatile.exp: new file.
7511 * gdb.base/whatis-exp.exp: new file.
7a292a7a 7512 * gdb.base/display.exp: new file.
c906108c
SS
7513 * gdb.c++/derivation.exp: new file.
7514 * gdb.c++/local.exp: new file.
7515 * gdb.c++/member-ptr.exp: new file.
7516 * gdb.c++/overload.exp: new file.
7517 * gdb.c++/ovldbreak.exp: new file.
7518 * gdb.c++/ref-types.exp: new file.
7519 * gdb.c++/ref-types2.exp: new file.
7520 * gdb.c++/userdef.exp: new file.
d63a86f8 7521
c906108c
SS
7522Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
7523
7524 * gdb.base/default.exp: Reflect wording change in remote.c.
7525
dc96c6c7 7526Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7527
7528 * gdb.base/help.exp: Update to reflect current text.
7529
7530Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
7531
7532 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
7533 they're stack variables and contain garbage.
7534 * gdb.c++/anon-union.exp: new file.
7535
7536 The following changes were made by David Taylor
7537 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7538 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7539 in changes by HP.
7540
7541 * gdb.base/bitops.exp: new file.
7542 * gdb.base/default.exp: change expected messages for catch and
7543 info catch tests to reflect HP merge changes.
7544 * gdb.base/enable-disable-break.exp
7545 * gdb.base/ending-run.c: new file.
7546 * gdb.base/long_long.c: new file.
7547 * gdb.base/maint.exp: new file.
7548 * gdb.base/pointers2.exp: new file.
7549 * gdb.base/shlib-call2.exp: new file.
7550 * gdb.base/solib.exp: new file.
7551 * gdb.base/step-test.c: new file.
7552 * gdb.c++/anon-union.cc: new file.
7553 * gdb.c++/local.cc: new file.
7554 * gdb.c++/member-pointer.cc: new file.
7555 * gdb.c++/method.cc: new file.
7556 * gdb.c++/ref-types.cc: new file.
7557 * gdb.c++/ref-types2.cc: new file.
7558 * gdb.c++/userdef.cc: new file.
d63a86f8 7559
c906108c
SS
7560 * gdb.base/scope.exp: compile one file at a time, then link.
7561 * gdb.base/langs.exp: ditto.
7562 * gdb.base/list.exp: ditto.
d63a86f8 7563
c906108c
SS
7564Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
7565
7566 The following changes were made by David Taylor
7567 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7568 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7569 in changes by HP.
d63a86f8 7570
c906108c
SS
7571 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
7572 skip tests. When compiling pass c++ flag to gdb_compile.
7573 * gdb.c++/
d63a86f8 7574
c906108c
SS
7575 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
7576 test for on hppa*-*-hpux*; use args to see if c++ was specified.
7577 (skip_hp_tests): new function.
7578 (gdb_preprocess): new function.
7579
7580 * configure.in (hpdir): decide whether to configure gdb.hp.
7581 * configure: regenerated.
7582
7583 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
7584 to delete on clean.
7585 (EXECUTABLES): update to reflect new additions.
7586 * gdb.base/commands.exp: update message expected.
7587 * gdb.base/default.exp: add copyright notice.
7588 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
7589 * gdb.base/help.exp: update messages to reflect current text.
7590 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
7591 targets for recurse tests.
7592 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
7593 skip this file.
7594
7595 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
7596 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
7597 compilation.
7598 * gdb.c++/misc.exp: ditto.
7599 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
7600 run the tests. tell gdb_compile that it's a c++ compilation.
7601
7602 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 7603
c906108c
SS
7604 * gdb.base/all-bin.exp: new file.
7605 * gdb.base/arithmet.exp: new file.
7606 * gdb.base/assign.exp: new file.
7607 * gdb.base/completion.exp: new file.
7608 * gdb.base/cond-expr.exp: new file.
7609 * gdb.base/condbreak.exp: new file.
7610 * gdb.base/define.exp: new file.
7611 * gdb.base/dollar.exp: new file.
7612 * gdb.base/environment.exp: new file.
7613 * gdb.base/eval-skip.exp: new file.
7614 * gdb.base/jump.exp: new file.
7615 * gdb.base/logical.exp: new file.
7616 * gdb.base/pointers.exp: new file.
7617 * gdb.base/relational.exp: new file.
7618 * gdb.base/section_command.exp: new file.
7619 * gdb.base/whatis-expr.exp: new file.
7620
7621 * gdb.base/all-types.c: new file.
7622 * gdb.base/call-array-struct.c: new file.
7623 * gdb.base/call-return-struct.c: new file.
7624 * gdb.base/call-strings.c: new file.
7625 * gdb.base/callfuncs2.c: new file.
7626 * gdb.base/condbreak.c: new file.
7627 * gdb.base/constvars.c: new file.
7628 * gdb.base/display.c: new file.
7629 * gdb.base/int-type.c: new file.
7630 * gdb.base/jump.c: new file.
7631 * gdb.base/miscexprs.c: new file.
7632 * gdb.base/pointers.c: new file.
7633 * gdb.base/pointers2.c: new file.
7634 * gdb.base/shmain.c: new file.
7635 * gdb.base/shr1.c: new file.
7636 * gdb.base/shr2.c: new file.
7637 * gdb.base/solib.c: new file.
7638 * gdb.base/solib1.c: new file.
7639 * gdb.base/solib2.c: new file.
7640 * gdb.base/varargs.c: new file.
7641 * gdb.c++/derivation.cc: new file.
7642 * gdb.c++/overload.cc: new file.
7643 * gdb.c++/ovldbreak.cc: new file.
7644 * gdb.hp/attach.c: new file.
7645 * gdb.hp/attach2.c: new file.
7646 * gdb.hp/average.c: new file.
7647 * gdb.hp/compiler.c: new file.
7648 * gdb.hp/compiler.cc: new file.
7649 * gdb.hp/execd-program.c: new file.
7650 * gdb.hp/follow-exec.c: new file.
7651 * gdb.hp/follow-fork.c: new file.
7652 * gdb.hp/follow-vfork-and-exec.c: new file.
7653 * gdb.hp/misc-hp.cc: new file.
7654 * gdb.hp/more-steps.c: new file.
7655 * gdb.hp/optimize.c: new file.
7656 * gdb.hp/quicksort.c: new file.
7657 * gdb.hp/run-hp.c: new file.
7658 * gdb.hp/start-stop.c: new file.
7659 * gdb.hp/sum.c: new file.
7660 * gdb.hp/templates-hp.cc: new file.
7661 * gdb.hp/thread-local-in-lib.c: new file.
7662 * gdb.hp/thread-local-in-lib.h: new file.
7663 * gdb.hp/thread-local-in-lib.lib.c: new file.
7664 * gdb.hp/vforked-program.c: new file.
7665 * gdb.hp/virtfunc-hp.cc: new file.
7666 * gdb.hp/watchpoint-hp.c: new file.
7667 * gdb.hp/xdb.c: new file.
7668 * gdb.hp/xdb0.c: new file.
7669 * gdb.hp/xdb0.h: new file.
7670 * gdb.hp/xdb1.c: new file.
7671
7672Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
7673
7674 The following change was made by Edith Epstein
7675 <eepstein@cygnus.com> as part of a project to merge in changes
7676 originally made by HP; HP did not create ChangeLog entries.
7677
7678 * gdb.c++/demangle.exp: changed the expected output for some
7679 ARM-style mangling -- removed second reference to datatype.
7680 For example, maint demangle __dt__11T1__pt__2_cFv
7681 T1<char>::~T1<char>(void)
7682 becomes,
7683 maint demangle __dt__11T1__pt__2_cFv
7684 T1<char>::~T1(void)
7685
7686 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 7687
c906108c
SS
7688Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
7689
7690 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
7691 * gdb.trace/backtrace.exp: Likewise.
7692 * gdb.trace/circ.exp: Likewise.
7693 * gdb.trace/collection.exp: Likewise.
7694 * gdb.trace/deltrace.exp: Likewise.
7695 * gdb.trace/infotrace.exp: Likewise.
7696 * gdb.trace/limits.exp: Likewise.
7697 * gdb.trace/packetlen.exp: Likewise.
7698 * gdb.trace/passc-dyn.exp: Likewise.
7699 * gdb.trace/passcount.exp: Likewise.
7700 * gdb.trace/report.exp: Likewise.
7701 * gdb.trace/save-trace.exp: Likewise.
7702 * gdb.trace/tfind.exp: Likewise.
7703 * gdb.trace/tracecmd.exp: Likewise.
7704 * gdb.trace/while-dyn.exp: Likewise.
7705 * gdb.trace/while-stepping.exp: Likewise.
7706
77071998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
7708
7709 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
7710
7711Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
7712
7713 From Brendan Kehoe:
7714 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
7715 int return types.
7716
7717Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
7718
7719 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
7720 remote dos host testing right.
7721
7722Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
7723
7724 * gdb.base/corefile.exp: remove some xfails.
7725
7726Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
7727
7728 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
7729 have different timestamps.
7730
7731Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
7732
7733 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
7734 gdb.base/default.exp: Replace "exec" with "executable".
7735
7736Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
7737
7738 * gdb.base/default.exp: Change else if to elseif from previous
7739 delta.
7740
7741Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
7742
7743 * gdb.base/default.exp: Add brace missing from previous delta.
7744
7745Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
7746
7747 * gdb.base/default.exp: Support test for info float for all
7748 varieties of arm toolchain.
7749
dc96c6c7 7750Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7751
7752 * gdb.trace/*.exp: remove "remote_download" command.
7753
dc96c6c7 7754Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7755
7756 * gdb.trace/*.exp: remove -gdwarf from compile.
7757
7758Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
7759
7760 * gdb.trace/configure.in(AC_INIT): typo
7761 * gdb.trace/configure: regenerated
7762
dc96c6c7 7763Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7764
7765 * config/m68k-emc.exp: New file.
7766 * lib/<emc-support.exp trace-support.exp}: New files.
7767 * configure.in: add new test directory gdb.trace.
7768 * gdb.trace/{configure configure.in Makefile.in}: New files.
7769 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
7770 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
7771 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
7772 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
7773 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
7774 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
7775 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 7776
dc96c6c7 7777Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7778
7779 * gdb.c++/classes.exp: Change all regular expressions to match
7780 arbitrary combinations of newline/carriage-return, so that they
7781 will work equally well on Unix and Windows.
7782 * gdb.c++/inherit.exp: ditto.
7783 * gdb.c++/virtfunc.exp: ditto.
7784
77851998-08-11 Dawn Perchik <dawn@cygnus.com>
7786
7787 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
7788
c2d11a7d
JM
7789Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
7790
7791 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
7792 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
7793 to use a0-a3/d0-d3 as needed.
7794
7795Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
7796
7797 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
7798 * gdb.disasm/am33.exp: Corresponding changes.
7799
c906108c
SS
78001998-07-11 Felix Lee <flee@cygnus.com>
7801
7802 * gdb.base/callfuncs.exp: add cmp10 test.
7803 * gdb.base/callfuncs.c (cmp10): new function.
7804
7805Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
7806
d63a86f8 7807 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
7808 into two parts to get around a synchronization problem in expect.
7809
3fc11d3e
JM
7810Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
7811
7812 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
7813
7814 * configure.in: Add options for gdbtk testsuite.
7815
7816 * configure: Regenerate.
7817
7818 * gdb.gdbtk: New directory to hold gdbtk tests.
7819
c906108c
SS
7820Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7821
7822 * gdb.fortran/types.exp: Escape brackets in expect patterns
7823 for test_float_literal_types_accepted tests.
7824 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
7825 before run test.
7826
c2d11a7d
JM
7827Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
7828
7829 * am33.exp: Just compile, do not link the testcase.
7830 * am33.s: Add ".am33" pseudoop to force am33 mode.
7831
c906108c
SS
78321998-06-25 Felix Lee <flee@cygnus.com>
7833
7834 * gdb.base/setshow.exp: make sure $pc is sane.
7835
7836 * gdb.stabs/weird.exp: split expect patterns properly.
7837
c2d11a7d
JM
7838Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
7839
7840 * gdb.disasm/am33.s: New disassembler testfile for the am33.
7841 * gdb.disasm/am33.exp: Run it.
7842
dc96c6c7 7843Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7844
7845 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
7846 match processing (and eliminate spurious timeouts when running).
7847
dc96c6c7 7848Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7849
7850 * gdb.base/signals.exp (test_handle_all_print): put back Mach
7851 exception test, but conditionalize it on target [mach | gnu].
7852
dc96c6c7 7853Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7854
7855 * gdb.base/overlays.exp: fixup compile line for linker script.
7856
7857Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
7858
7859 * gdb.fortran/types.exp: don't guess at float size.
7860
7861Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
7862
7863 * gdb.base/exprs.exp: delete test that depends on int size.
7864
7865Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
7866
7867 * config/sim.exp: Removed checks for target triplets.
7868 (gdb_target_sim): Use gdb,target_sim_options.
7869
7870Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
7871
7872 * gdb.base/reread.exp: New file.
7873 * gdb.base/reread1.c: New file.
7874 * gdb.base/reread2.c: New file.
7875
7876Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
7877
7878 * config/sim.exp: Use 'target sim -sparclite' when running
7879 SPARClite programs.
7880
7881Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
7882
7883 * gdb.base/structs2.exp: New file.
7884 * gdb.base/structs2.c: New file.
7885
7886Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
7887
7888 * gdb.asm/common.inc: New file.
7889 * gdb.asm/d10v.inc: New file.
7890 * asm-source.exp: Pass -I's to gas to find .inc files.
7891 Update line numbers in expected output.
7892 * asmsrc1.s: Rewrite.
7893 * asmsrc2.s: Rewrite.
7894 * configure.in: Create arch.inc symlink.
7895 * configure: Regenerate.
7896 * Makefile.in (distclean): Delete arch.inc.
7897
7898Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
7899
7900 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
7901 (t_enum_value2): ditto
7902 (t_enum_value3): ditto
7903 (main): ditto
7904Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7905
7906 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
7907 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
7908 change.
7909 Use gdb_test instead of send_gdb/gdb_expect sequences.
7910
7911Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
7912
7913 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
7914 not void.
7915
7916Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
7917
7918 * gdb.base/branches.c: Code with lots of loops and
7919 subroutines. Used to test gdbs ability to single step through PC
7920 changes, especially to test mips-tdep.c:mips_next_pc
7921
7922Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
7923
7924 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
7925 more rigorous EGCS C++ error checking.
7926
7927Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7928
7929 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 7930 tests.
c906108c 7931 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 7932 function when asleep.
c906108c 7933 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
7934 for i*86 Linux and SVR4 signal handling problems.
7935 Remove linux xfail for `next to handler in signals_tests_1', fixed
7936 by recent infrun.c change.
c906108c 7937 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 7938 stack backtraces.
c906108c
SS
7939 Adjust expect pattern in `handle all print' test to match Apr 28 1997
7940 target.[ch] change.
7941
7942Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
7943
7944 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
7945 for a newline from gdb before continuing.
7946 (default_gdb_exit): Just look for y or n.
7947 (gdb_test): Detect abnormal exit from GDB running on DOS; if
7948 it does, fail the rests of the tests in the file.
7949
7950Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
7951
7952 * config/cygmon.exp: New file.
7953
7954Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
7955
7956 * gdb.base/list.exp: Fix problem with "list default lines around
7957 main" test on remote targets.
7958
7959 * gdb.base/scope.exp: Fix problem with filelocal_bss before
7960 run test on remote targets.
7961
7962Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
7963
7964 * gdb.asm: New directory.
7965 * configure.in: Configure it.
7966 * configure: Regenerate.
7967 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
7968 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
7969
7970Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
7971
7972 * config/mn10300-eval.exp: New file to support MN10300 eval board.
7973
dc96c6c7 7974Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 7975
c906108c
SS
7976 * gdb.base/overlays (several files): Merge the two overlay
7977 managers into one. Change variables (foox, barx, bazx, grbxx)
7978 back into ints but force them to load in their proper sections.
7979
7980Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
7981
7982 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
7983 on-chip insn memory and IMAP1 to upper 128k.
7984 (D10VCopy): Handle memory regions crossing 16k boundaries.
7985 (D10VCopy): Transfer data in 32 bit chunks.
7986
7987Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
7988
7989 * gdb.base/overlays.c (main): Exit normally when result is
7990 correct.
7991
7992 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
7993 map. Include space for printf in .text segment.
7994
7995 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
7996 updated d10v memory VMA/LMA map.
7997 (D10VCopy): Call D10VTranslate.
d63a86f8 7998
c906108c
SS
7999Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
8000
8001 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
8002
8003 * gdb.base/bar.c (barx, bar): Change variable to small array so
8004 that it won't be put into the .sdata - small data -
8005 section. Update reference.
8006 * gdb.base/baz.c (bazx, baz): Ditto.
8007 * gdb.base/foo.c (foox, foo): Ditto.
8008 * gdb.base/grbx.c (grbxx, grbx): Ditto.
8009
8010 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
8011 to be arrays.
d63a86f8 8012
dc96c6c7 8013Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 8014
c906108c
SS
8015 * gdb.base/overlays.exp: fix up and get working again.
8016 Add tests for backtraces from an overlay function.
d63a86f8 8017
c906108c
SS
8018Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
8019
8020 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
8021 "calling function with watchpoint enabled".
8022
8023Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
8024
8025 * gdb.base/break.exp (test_next_with_recursion): Remove
8026 gdb_suppress_tests for d10v-*-*.
8027 * lib/gdb.exp (gdb_suppress_tests): Disable this function
8028 pending review of whether it is useful or not.
8029
8030Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
8031
8032 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
8033
8034Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
8035
8036 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
8037 * config/dve.exp: New file to support Densan boards.
8038
8039Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
8040
8041 * gdb.base/interrupt.exp: Document problem of simulators, signals,
8042 reads and BSD.
8043
8044Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
8045
8046 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
8047 response.
8048
8049 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
8050
8051Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
8052
8053 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
8054 test.
8055
8056 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
8057 target_sizeof_long and target_bigendian_p.
8058 (structs_by_value, structs_by_reference): Check values according
8059 to targets word size and endianess.
d63a86f8 8060
c906108c
SS
8061Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
8062
8063 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
8064 output.
8065
8066Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
8067
8068 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
8069 Update test of set args help to match source change.
8070
8071Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
8072
8073 * gdb.base/default.exp: Expect help system output to be in
8074 alphabetical order.
8075 * gdb.base/help.exp: Ditto.
8076
8077Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
8078
8079 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
8080 "i*86-pc-linux-gnu*".
8081 * gdb.base/interrupt.exp: Ditto.
8082 * gdb.base/corefile.exp: Ditto.
8083
8084 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
8085 define vxworks when building the testcase.
8086
8087 * gdb.base/ptype.exp: Fix testnames to be unique.
8088 * gdb.base/radix.exp: Ditto.
8089 * gdb.base/term.exp: Ditto.
8090 * gdb.base/whatis.exp: Ditto.
8091 * gdb.c++/classes.exp: Ditto.
8092
8093Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
8094
8095 * gdb.base/callfuncs.exp: Fix indentation.
8096
8097 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
8098 suppress_flag has been set.
8099 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
8100 target feature.
8101
8102Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
8103
8104 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
8105 the testcase.
8106
8107 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
8108 set_debug_traps() and breakpoint().
8109 * gdb.c++/misc.cc (main): Ditto.
8110 * gdb.c++/templates.cc (main): Ditto.
8111 * gdb.c++/virtfunc.cc (main): Ditto.
8112
8113Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
8114
8115 * lib/gdb.exp(gdb_step_for_stub): New function.
8116 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
8117 exists, reload the executable and do a "continue" instead of
8118 doing a jump.
8119 (runto_main): Use gdb_step_for_stub.
d63a86f8 8120
c906108c
SS
8121 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
8122 tests to have unique names.
8123 * gdb.base/callfuncs.exp: Ditto.
8124 * gdb.base/commands.exp: Ditto.
8125 * gdb.base/default.exp: Ditto.
8126 * gdb.base/help.exp: Ditto.
8127 * gdb.base/list.exp: Ditto.
8128 * gdb.base/opaque.exp: Ditto.
8129 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
8130 similar tests.
d63a86f8 8131
c906108c
SS
8132 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
8133 * gdb.c++/cplusfuncs.cc: Ditto.
8134 * gdb.c++/virtfunc.cc: Ditto.
8135
8136 * config/monitor.exp: Keep track of the last file we saw, rather
8137 than trying to get the info from gdb.
8138
8139 * gdb.fortran/types.exp: Move comment to previous line.
8140
8141Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
8142
8143 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
8144 target mode.
8145
8146Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
8147
8148 From Bob Manson:
8149 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
8150 string from GDB when it connects.
8151
8152 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
8153
8154Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
8155
8156 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
8157 if we can't get a debug format from GDB (we may be testing an
8158 older GDB). Use a 10 second timeout when checking for the format.
8159
8160 * gdb.stabs/weird.exp: Fix quoting.
8161
8162 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
8163
8164Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
8165
8166 * config/arm-ice.exp: New file.
8167
8168Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
8169
8170 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
8171 until it has been modified to work with the new testsuite.
8172
99707966 8173 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
8174 testcase won't compile, cause all of the testcases in the file to
8175 fail instead.
8176
8177 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
8178 (gdb_clear_suppressed): New procedure.
8179 (gdb_stop_suppressing_tests): Only clear suppress_flag if
8180 it contains a positive value.
8181
8182Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
8183
8184 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
8185
8186 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
8187
8188Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
8189
8190 * lib/gdb.exp (setup_xfail_format): New function.
8191 (get_debug_format): New function to get debug format.
8192 (debug_format): New global variable to hold last value set
8193 by get_debug_format.
8194 * gdb.base/list.exp: Call get_debug_format and expect some
8195 tests to fail for DWARF 1 and COFF formats.
8196 * gdb.c++/ptype.exp: Ditto.
8197 * gdb.c++/classes.exp: Ditto.
8198 * gdb.c++/cplusfuncs.exp: Ditto.
8199 * gdb.c++/inherit.exp: Ditto.
8200 * gdb.c++/templates.exp: Ditto.
8201 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 8202
c906108c
SS
8203Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
8204
8205 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
8206 host doesn't have a currently-open connection.
8207
8208 * config/sparclet.exp: Cleanups and fixes to make it generic for
8209 any gdb stub target. Handle cases where gdb doesn't respond when
8210 interrupted in a sane fashion.
8211
8212 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
8213 same thing in a totally different way.
8214
8215 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
8216 setting "timeout".
8217 (gdb_start): We set the global gdb_prompt variable in
8218 default_gdb_init now.
8219
8220Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
8221
8222 * gdb.base/printcmds.exp: Fix "check for floating addition"
8223 regexp to accept results within approx +/- .01 of exact value.
8224 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
8225
8226Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
8227
8228 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
8229 properly.
8230 (gdb_expect): Add optional timeout parameter, and add timeout
8231 value to various calls.
8232 (gdb_suppress_tests): Only give one warning message per group.
8233
8234Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
8235
8236 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
8237 global variables. Handle getting a value for $timeout more
8238 gracefully.
8239
8240Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8241
8242 * lib/gdb.exp: Close connection to remote host if gdb doesn't
8243 initialize.
8244 (default_gdb_init): New procedure; allow gdb_init to be overridden
8245 by a target configuration file.
8246 (gdb_expect): Pass the timeout to remote_expect.
8247
8248 * config/monitor.exp(gdb_load): Fix typo in regexp.
8249
8250Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
8251
8252 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
8253
8254Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
8255
8256 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
8257 here. Call gdb_target_exec before rebooting the target, to make
8258 sure the connection to the target is closed.
8259 (gdb_load): Pass the name of the executable to gdb_target_monitor.
8260 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
8261 Also detect "Timeout reading from remote" error.
8262
8263 * config/gdbserver.exp: Pass the executable being loaded to
8264 gdb_target_monitor. Don't call gdb_file_cmd here; let
8265 gdb_target_monitor do it.
8266
8267 * gdb.disasm/hppa.exp: Don't use exec_output.
8268
8269Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
8270
8271 * gdb.base/list.exp: If we're debugging a non-native target,
8272 try to set the pc register to point to the start of the
8273 program before doing the first list command.
8274
8275 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
8276 test_calls after restarting.
8277
8278 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
8279 reloading.
8280
8281 * gdb.base/watchpoint.exp: Fix typo.
8282
8283 * gdb.base/setshow.exp: Check for use_gdb_stub.
8284
8285 * gdb.base/break.exp: Fix continue until exit test for the gdb
8286 stub case.
8287 * gdb.base/langs.exp: Ditto.
8288
8289 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
8290 gdb_load_offset. If we weren't given a file to load, figure out
8291 what the current file is and use it.
8292
8293 * config/i386-bozo.exp: New file.
8294
8295Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
8296
8297 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
8298 feature.
8299
8300 * config/proelf.exp: New entry.
8301
8302Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
8303
8304 * lib/gdb.exp: Remove spurious .* patterns at the beginning
8305 of regexps.
8306
8307 * gdb.base/watchpoint.exp: Don't run the test_stepping
8308 tests if gdb can't call functions on the target.
8309
8310 * gdb.base/setshow.exp: Don't run the set prompt tests if
8311 the board has gdb_prompt set.
8312
8313Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
8314
8315 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
8316 * gdb.base/commands.exp: Likewise.
8317 * gdb.base/setshow.exp: Likewise.
8318
8319Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
8320
8321 * config/monitor.exp(gdb_start): Look for gdb_prompt target
8322 feature.
8323
8324 * config/i960.exp: New file.
8325
8326Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
8327
8328 * gdb.base/funcargs.exp: Check for gdb,short_int target
8329 feature instead of looking for explicit target triplets.
8330
dc96c6c7 8331Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 8332
d63a86f8 8333 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
8334 "p 123DEADBEEF", to check parse_number.
8335 * top.c: change "to enable to enable" to "to enable" in a couple
8336 of help strings.
8337
8338Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
8339
8340 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
8341 on the mn10300.
d63a86f8 8342
c906108c
SS
8343Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
8344
8345 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
8346 where the test executable is run with explicit args.
8347 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
8348
8349Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
8350
8351 * gdb.base/run.c: Use FAKEARGV to build test executable that
8352 does not require a command line arg, since most simulators
8353 don't currently support passing such an arg into the simulated
8354 program.
8355 * gdb.base/commands.exp: Change tests to insert the proper
8356 value as the arg to the first recursive factorial call. Change
8357 compilation line to define FAKEARGV at compile time.
8358
8359Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
8360
8361 * gdb.base/recurse.exp: Enable these tests for the mn10300.
8362 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
8363 function with watchpoint enabled" test.
8364
8365Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
8366
8367 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
8368 Don't call gdb_test when the command doesn't return to a gdb prompt.
8369
8370 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
8371 "Tests restarted" messages.
8372
8373Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
8374
8375 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
8376
dc96c6c7 8377Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8378
8379 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
8380 for INFO SYMBOL; add help tests for OVERLAY commands.
8381 * gdb.base/default.exp: add tests for INFO SYMBOL command;
8382 add tests for OVERLAY commands
8383 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
8384 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
8385 * gdb.base/sigall.c: add usestubs code frag
8386 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 8387
c906108c
SS
8388Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
8389
8390 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
8391 failures.
8392 (gdb_stop_suppressing_tests): Note that tests have restarted.
8393
8394Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
8395
8396 * config/h8300.exp: New file.
8397
8398Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
8399
8400 * gdb.base/setshow.exp: Check for the existence of a
8401 feature, not its value.
8402
8403Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
8404
8405 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
8406
8407 * gdb.base/scope.exp: It's now init0(), not init().
8408
8409 * gdb.base/scope0.c: For now, change init() to be init0().
8410
8411 * config/monitor.exp: Use gdb_serial in preference to serial
8412 or netport.
8413
8414 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
8415 and it's not already set.
8416
8417Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
8418
8419 * gdb.base/setshow.exp: Only test the run command if the target
8420 isn't using a stub and if it supports argument passing.
8421
8422Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
8423
8424 * config/udi.exp(gdb_start): Make sure UDICONF is set
8425 properly before starting gdb.
8426
8427Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
8428
8429 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
8430 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
8431 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
8432
8433Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
8434
8435 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
8436 specialized code to reboot the board, use remote_reboot instead.
8437
8438 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
8439
8440 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
8441
8442 * config/monitor.exp: Make sure we disconnect from the target.
8443 Also, try a reboot/reload cycle instead of failing if the
8444 load fails.
8445
8446Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
8447
8448 * gdb.base/default.exp: Don't set match_max.
8449 * gdb.base/help.exp: Ditto.
8450 * gdb.base/list.exp: Ditto.
8451 * gdb.base/signals.exp: Ditto.
8452
8453 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
8454 set, use remote_ld to download the testcase instead of
8455 the GDB loader.
8456
8457Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
8458
8459 * config/vr5000.exp: New file.
8460
8461 * config/monitor.exp(gdb_target_monitor): Add pattern for
8462 "Ending remote" to detect errors in connecting.
8463
8464 * gdb.base/setshow.exp: Add .* within auto language test.
8465
8466 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
8467 target feature.
8468
8469 * config/monitor.exp(gdb_load): Check for a failure when loading,
8470 and reboot the board if necessary.
8471
8472 * gdb.base/setvar.exp(test_set): Handle multiple prints within
8473 a set of tests. Remove print.* from the patterns being checked.
8474
8475Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
8476
8477 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
8478 refer to gdb_spawn_id.
8479
8480 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
8481 longer used.
8482 * config/sparclet.exp: Ditto.
8483 * config/sparclet-old.exp: Ditto.
8484 * config/slite.exp: Ditto.
8485 * config/sim.exp: Ditto.
8486 * gdb.base/funcargs.exp: Ditto.
8487
8488 * lib/gdb.exp:Remove references to gdb_spawn_id.
8489 (gdb_expect): Move to remote.exp.
8490
8491Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
8492
8493 * config/monitor.exp: Detect the "Couldn't establish connection"
8494 message from GDB.
8495
8496Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
8497
8498 * gdb.base/bitfields.exp: Use runto instead of explicit
8499 gdb_run_cmd/gdb_expect sequences.
8500
8501 * gdb.base/break.exp(text_next_with_recursion): Add match for
8502 gdb_expect call.
8503
8504 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
8505 We also need to handle the "A program is being debugged already"
8506 prompt from gdb. Use gdb_test to set the baud rate.
8507
8508 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
8509 to 20000. Really. I mean it.
8510
8511Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8512
8513 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
8514 fails. If suppress_flag is set, skip perror message about not
8515 being able to send to GDB.
8516 (send_gdb): If suppress_flag is set, don't try to send commands to
8517 GDB.
8518 (gdb_expect): If suppress_flag is set, always fail immediately.
8519 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
8520 (gdb_init): Call gdb_stop_suppressing_tests.
8521 (default_gdb_exit): Ditto.
8522 (default_gdb_start): Ditto.
8523
8524 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
8525 gdb_stop_suppressing_tests as appropriate.
8526 * gdb.base/break.exp: Ditto.
8527 * gdb.base/callfuncs.exp: Ditto.
8528 * gdb.base/commands.exp: Ditto.
8529 * gdb.base/exprs.exp: Ditto.
8530 * gdb.base/funcargs.exp: Ditto.
8531 * gdb.base/list.exp: Ditto.
8532 * gdb.base/recurse.exp: Ditto.
8533 * gdb.base/scope.exp: Ditto.
8534 * gdb.base/structs.exp: Ditto.
8535 * gdb.c++/inherit.exp: Ditto.
8536
8537Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
8538
8539 * config/vr4300.exp: New file.
8540
99707966 8541 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 8542
99707966 8543 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
8544
8545Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
8546
8547 * lib/gdb.exp(gdb_init): New function.
8548
8549 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
8550 for each individual variable set.
8551
8552 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
8553 name.
8554
8555 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
8556
8557 * gdb.base/scope.exp: Use gdb_test.
8558
8559 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
8560 aborting; the testsuite driver will do that for us (see
8561 gdb_finish). Also, use gdb_test in a few more places.
8562
8563Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
8564
8565 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
8566
8567Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
8568
8569 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
8570 and "add_tests" are not at the same address.
8571
8572Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
8573
8574 * gdb.base/ptype.exp: Use gdb_test.
8575
8576Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
8577
8578 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
8579 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
8580 left in. No longer expect them to fail.
8581
8582 * gdb.stabs/*.mt; Deleted, no longer used.
8583 * gdb.stabs/configure.in: Remove references to target makefile
8584 frags.
8585 * gdb.stabs/configure: Rebuilt.
8586
8587 * gdb.disasm/*.mt: Deleted, no longer used.
8588 * gdb.disasm/configure.in: Remove references to target makefile
8589 frags. Use "sh3.s" as the unique filename for this directory.
8590 * gdb.disasm/configure: Rebuilt.
8591
8592 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
8593 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
8594 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
8595
8596Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
8597
8598 * config/udi.exp: Use mondfe,name instead of remote_host.
8599
8600Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
8601
8602 * gdb.base/watchpoint.exp: Don't expect a failure when calling
8603 a function with a watchpoint enabled on the mn10200.
8604
8605 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
8606 before trying to create it!
8607
8608Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
8609
8610 * config/vx.exp: Use hostname instead of netport.
8611
8612 * config/vxworks.exp: New file.
8613
8614 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
8615
8616 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
8617 gdb before assuming everything worked. Send a ^C if a timeout
8618 occurs.
8619
8620 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
8621 $gdb_spawn_id directly.
8622 (gdb_run_cmd): Try _start as well as start. Use the target feature
8623 gdb,start_symbol as the symbol to start from when jumping.
8624
8625Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
8626
8627 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
8628 redundant) test.
8629
8630 * gdb.base/recurse.exp: Relax final value test for 'b' so that
8631 it doesn't lose for 16bit integer systems.
8632
8633Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
8634
8635 * gdb.fortran/types.exp: If the target doesn't support "double"
8636 data types, then expect "real" types to only be 4 bytes.
8637
8638 * gdb.c++/virtfunc.exp: Expect failure for virtual function
8639 call tests if the target doesn't support inferior function calls.
8640
8641 * gdb.base/printcmds.exp: Allow minor deviation in FP values
8642 in printf tests.
8643
8644Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
8645
8646 * gdb.base/help.exp: Disable "help set", "help show", and
8647 "help support". Simplify regexp for "help stack".
8648
8649 * gdb.base/default.exp: Set match_max to 5000 and the timeout
8650 to 60 seconds. Temporarily set match_max to 15000 around the
8651 "info copying" test.
8652
8653 * gdb.base/nodebug.exp: Don't try to do an inferior function
8654 call if the target doesn't support them.
8655 * gdb.base/printcmds.exp: Likewise.
8656 * gdb.base/setvar.exp: Likewise.
8657 * gdb.base/structs.exp: Likewise.
8658 * gdb.c++/templates.exp: Likewise.
8659 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
8660
8661 * gdb.base/recurse.exp: Enable for the mn10200.
8662
8663 * configure.in: Do configure gdb.stabs directory for *-*-elf
8664 targets.
8665 * configure: Rebuilt.
8666
8667 * gdb.base/break.exp: Check for gdb,noresults before testing
8668 exit status and/or results from the target.
8669 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
8670 * lib/gdb.exp: Remove old (now bogus) initialization of
8671 noinferior, noargs, noresults and nosignals.
8672
8673Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
8674
8675 * config/sh.exp: New file.
8676
8677 * config/slite.exp: Try to connect multiple times to the board
8678 before rebooting. Only send a "monitor run" if need_monitor_run
8679 is set.
8680
8681 * gdb.base/break.exp: Don't do the "stub continue" test if
8682 the target has gdb_stub set.
8683
8684 * gdb.base/callfuncs.exp: Increase the timeout.
8685
8686 * gdb.base/interrupt.exp: Don't even try to compile the testcase
8687 if the target has gdb,noinferiorio set.
8688
8689 * gdb.base/list.exp: Increase match_max to 10000 characters.
8690
8691 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
8692
8693 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
8694 target.
8695
8696 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
8697
8698Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
8699
8700 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
8701 trying to delete the copy of gdb. Catch the file delete so we
8702 don't die if the delete fails; also, the file should be copied to
8703 the host, not to the build.
8704
8705Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
8706
8707 * lib/gdb.exp(gdb_test): Surround the result pattern with
8708 parenthesis in case it contains multiple regexps separated
8709 with |.
8710
8711 * gdb.base/watchpoint.exp: Use gdb_test.
8712 * gdb.base/default.exp: Ditto.
8713
8714Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
8715
99707966 8716 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 8717
c906108c
SS
8718 * gdb.base/scope.exp: Use gdb_test.
8719 * gdb.c++/classes.exp: Ditto.
8720 * gdb.c++/inherit.exp: Ditto.
8721
8722Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
8723
8724 * gdb.base/crossload.exp: Don't use execute_anywhere, use
8725 remote_exec instead.
8726 * gdb.base/corefile.exp: Don't be ridiculous.
8727 * gdb.base/*.c: Add missing stub invocations.
8728
8729Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
8730
8731 * config/slite.exp: Miscellaneous fixes.
8732
8733 * lib/gdb.exp: Fix runto.
8734
8735 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
8736 the target.
8737
8738 * gdb.base/watchpoint.exp: Fix regexp.
8739
8740 * lib/gdb.exp(default_gdb_exit): Add a catch to the
8741 close and wait commands, as the descriptor may now be
8742 invalid. Always call "remote_close host".
8743
8744Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
8745
8746 Major rewrite for testsuite revision.
d63a86f8 8747
c906108c
SS
8748 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
8749 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
8750 instead of relying on spawn_id to always contain a valid
8751 spawn id.
8752 (get_compiler_info): New procedure to build the ${binfile}.ci
8753 file, instead of replicating this in N different places.
8754 (gdb_compile): New procedure.
d63a86f8 8755
c906108c
SS
8756 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
8757 appropriate arguments) instead of compile. Use gdb_test in a lot
8758 more places. Use send_gdb instead of send. Always run gdb_start
8759 at the start of a testcase, as this is no longer done magically.
8760
8761 config/*-gdb.exp: Rename without the -gdb suffix.
8762
8763 config/mips.exp: Use remote_close instead of exit_remote_shell.
8764 config/monitor.exp: Use target_info instead of looking at
8765 baud, timeout, etc.
8766 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
8767
8768Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8769
8770 * gdb.c++/templates.exp (test_ptype_of_templates),
8771 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
8772 Update expect patterns for destructors and assignment operators
8773 to match corresponding c-typeprint.c changes.
8774 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
8775 to destructor breakpoint test, GDB should be able to set the
8776 destructor breakpoint without specifying arguments.
8777
8778Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
8779
8780 * gdb.threads/pthreads.exp: Change result for failure to compile due
8781 to lack of pthreads runtime support from an error to simply an
8782 unsupported test, per dejagnu standards.
8783
8784Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8785
8786 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
8787 where GDB exits to reduce pattern match time.
8788 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
8789
8790 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
8791
dc96c6c7 8792Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8793
8794 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
8795 * gdb.base/default.exp: ditto.
8796 * gdb.base/nodebug.exp: ditto.
8797 * gdb.base/printcmds.exp: ditto.
8798 * gdb.base/ptype.exp: ditto.
8799 * gdb.base/setvar.exp: ditto.
8800 * gdb.base/structs.exp: ditto.
8801 * gdb.base/setshow.c: Guard against uninitialized values of argc.
8802
8803Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
8804
8805 * configure, */configure: Rebuild with autoconf 2.12.
8806
8807Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
8808
8809 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
8810 use new i*86-pc-linux*-gnu quads.
8811 * gdb.base/corefile.exp: Ditto.
8812 * gdb.base/signals.exp: Ditto.
8813 * gdb.base/sigall.exp: Ditto.
8814 * gdb.base/interrupt.exp: Ditto.
8815
8816 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
8817 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
8818 RedHat 4.0.
d63a86f8 8819
c906108c
SS
8820 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
8821 linux. This allows the test case to at least compile on latest
8822 linux, but still not run due to missing the threads runtime library.
8823
8824Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8825
8826 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
8827 directory to search gdb directory. Accept and step over conditional
8828 stack alignment code. Consume $prompt in failure cases.
8829 Reset timeout to $oldtimeout instead of some arbitrary value.
8830 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
8831 timeout problems with infinite stack backtraces.
8832 * gdb.base/ptype.exp (ptype struct link, union tu_link):
8833 Accept function parameters for linkfunc member.
8834
8835Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
8836
8837 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
8838 (CXXFLAGS): Remove, unreferenced.
8839 (B_OPTIONS): Add for -B options and add code to initialize with
8840 previous -B options and also add -B option to pick up cross compiled
8841 runtime.
8842 (TARGET_INCLUDES): Add for -I options and add code to initialize when
8843 doing cross compiles.
8844 (target_alias): Declare global.
8845 (xgcc): Set variable to full path of gcc in build tree. Use findfile
8846 to verify that gcc exists in build tree, and if so set CC to that
8847 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 8848
c906108c
SS
8849Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
8850
8851 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
8852 ptype test for anonymous union. Fixup testcase to match
8853 current gcc debug output.
8854
8855Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
8856
8857 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
8858 force argument to an unsigned long type.
8859
8860Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
8861
8862 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
8863 tests and anonymous union print/ptype tests.
8864 * gdb.base/list.exp (test_forward-search): Increase timeout by
8865 5 minutes for the "search extremely long line" case.
8866 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
8867 completely optional and that the pass/fail messages use the command as
8868 the message if that third arg is a null string.
8869 (gdb_test_exact): Arrange that a null string pattern means match a
8870 null string output rather than any output, which might include random
8871 errors.
8872 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
8873 backtrace test.
8874 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
8875 always failing and failure is now exposed by gdb.exp changes.
8876
8877Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
8878
8879 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
8880 weren't being noted.
8881
8882Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8883
8884 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
8885 * gdb.stabs/weird.exp: Remove v_comb xfails.
8886
dc96c6c7 8887Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8888
8889 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
8890 list.exp scope.exp watchpoint.exp]
8891 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 8892
dc96c6c7 8893Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8894
8895 * config/monitor.exp: Increase download timeout to 1000 seconds.
8896
dc96c6c7 8897Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8898
8899 * config/m32r.exp: Increase timeout to 120 seconds.
8900
8901Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
8902
8903 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
8904 and accept older ordering as obsolescent gcc or gdb.
8905 * gdb.c++/templates.exp: Ditto.
8906 * gdb.c++/virtfunc.exp: Ditto.
8907
8908Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
8909
8910 * gdb.base/coremaker.c: Add code to mmap some data so we
8911 can check that it ends up in the core file.
8912 * gdb.base/corefile.exp: Add test to read mmapped data
8913 from core file.
8914
dc96c6c7 8915Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8916
8917 * config/m32r.exp: New file.
8918
8919Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
8920
8921 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
8922 that cflags can contains -gstabs, and work correctly for other tests.
8923
dc96c6c7 8924Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8925
8926 * gdb.base/setshow.exp: New file, tests show and set.
8927 * gdb.base/setshow.c: New file, tests show and set.
8928 * gdb.base/help.exp: Add test for help set|show annotate.
8929 * gdb.base/default.exp: Add test for set|show annotate.
8930
8931Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
8932
8933 * testsuite/gdb.base/break.exp: Make backtrace from factorial
8934 errors unique.
8935 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
8936 explicitly.
8937
8938Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
8939
8940 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
8941 and width commands. This is done elsewhere.
8942 * (gdb_start): Don't call gdb_start_sim here. That's already
8943 done in gdb_load. This fixes lots of failures in default.exp.
8944
8945Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
8946
8947 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
8948 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
8949 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
8950 in the same we we treat other failures (since it may be an expected
8951 condition), rather than as an error.
8952 * gdb.base/signals.exp (test_handle_all_print): Revert back to
8953 old test format.
8954
8955Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
8956
8957 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
8958 (distclean maintainer-clean realclean): No need to remove files
8959 twice. Nuke the duplicates.
8960 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 8961 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
8962 Remove config.h along with other config files.
8963
8964Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
8965
8966 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
8967 "p func1 ()" and note that rests of tests are skipped.
8968 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
8969 setup_xfails for "print func2::coremaker_local".
8970 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
8971 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
8972 affected by the previous run test.
8973 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
8974 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
8975 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
8976 "pass int powerset tuple" and "pass modeless int powerset tuple".
8977 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
8978 "real write 4" and "real write 8".
8979 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
8980 setup_xfails for "print vs1 after tuple assign 2",
8981 "print \$i after tuple assign 2", and
8982 "print vs2 after tuple assign 2".
8983 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
8984 meaningful error message and return -1 so the caller can
8985 suppress further tests and avoid a cascade of errors.
d63a86f8 8986
c906108c
SS
8987Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
8988
8989 * gdb.base/a1-selftest.exp: Tweak tests to account for new
8990 format for printing version.
8991 * gdb.base/default.exp: Ditto.
8992 * gdb.base/interrupt.exp: Fix problem with cascade of
8993 errors if child process dies while calling a function.
d63a86f8 8994
c906108c
SS
8995Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
8996
8997 * Makefile.in (VPATH): Add
8998 * Makefile.in (Makefile, config.status): Fix rules so things get
8999 remade when necessary.
9000
9001Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
9002
9003 * Makefile.in (just-check): Add path to sibling expect dir
9004 to environment variable specified by RPATH_ENVVAR.
9005
9006Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
9007
9008 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
9009 (just-check): Add shared library paths for libstdc++, tk,
9010 tcl, bfd, and opcodes to the environment variable specified
9011 in RPATH_ENVVAR.
9012 * configure.in: Add support to recognize --enable-shared flag
9013 and generate correct value for RPATH_ENVVAR.
9014 * configure: Regenerated with autoconf.
9015
9016Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
9017
9018 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
9019 include all osf versions.
9020 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
9021 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
9022 when target is linux. When failing to build pthreads test
9023 executable, give more meaningful message.
9024 * gdb.threads/pthreads.c: Hpux also uses old definition of second
9025 arg for pthread_create.
d63a86f8 9026
c906108c
SS
9027Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
9028
9029 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
9030 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
9031 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
9032 and -lpthreads (everybody else).
9033 (test_startup): Fail gracefully if threads are not supported.
9034 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
9035 "p/c array_index("abcdef",2)" when not gcc compiled.
9036 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
9037 "print func2::coremaker_local" when not gcc compiled.
9038 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
9039 "ptype on opaque struct tagname (statically)",
9040 "ptype on opaque struct tagname (dynamically) 1", and
9041 "ptype on opaque struct tagname (dynamically) 2"
9042 for not compiled with gcc.
9043 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
9044 backtrace when compiled with gcc.
d63a86f8 9045 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
9046 than always return success.
9047
9048Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
9049
9050 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
9051
9052Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
9053
9054 * gdb.base/structs.exp: Undo last change.
9055
9056Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
9057
9058 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
9059 encapsulate all the steps/nexts done during self test, starting
9060 at main, and makes them less sensitive to optimization issues.
9061 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
9062 signal handler" test.
9063 * gdb.threads/pthreads.exp: Only run this for native configs.
9064 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
9065 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
9066 tests.
9067 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
9068 for "runto test_calls(void)" test.
d63a86f8 9069
c906108c
SS
9070Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
9071
9072 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
9073 and don't expect address info in breakpoint confirmations.
9074
9075Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
9076
9077 * gdb.base/list.exp (test_forward_search): Increase timeout
9078 temporarily by 60 seconds for searching extremely long line,
9079 and then reset to old value when done. Increase expect input
9080 buffer to 10000.
9081
9082Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
9083
9084 * gdb.base/list.exp (test_forward_search): Fix to handle very
9085 long source line without overflowing expect's input buffer.
9086
9087Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
9088
9089 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
9090 "buffer_full".
9091
9092 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
9093 "buffer_full".
9094
9095 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
9096 "buffer_full".
9097
9098 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
9099 "buffer_full".
9100
9101Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
9102
9103 * configure.in (configdirs): Add gdb.threads.
9104 * configure: Regenerated with autoconf.
9105 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
9106 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
9107 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 9108
c906108c
SS
9109Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
9110
9111 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
9112
9113Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
9114
9115 * gdb.base/signals.exp (test_handle_all_print): Test separately for
9116 each signal's status in the output of "handle all print".
9117 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
9118 the \r\n sequence that immediately precedes the gdb prompt.
9119 * gdb.base/a1-selftest.exp: Save original timeout and restore
9120 after test.
9121
9122Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
9123
9124 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
9125 symbol.
9126
9127Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
9128
9129 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
9130
9131Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
9132
9133 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
9134 timeout by 60 seconds.
9135
9136Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
9137
9138 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
9139 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
9140 error return.
9141
9142Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
9143
9144 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
9145 gdb initialization, also report how long dejagnu waited. Restore
9146 old timeout before doing error return. Temporarily increase timeout
9147 by 3 minutes to allow for slow startups over heavy NFS use.
9148
9149Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
9150
9151 * lib/gdb.exp: Report timeout value for verbosity level 2.
9152 * config/gdbserver.exp: Ditto.
9153 * config/hppro.exp: Ditto.
9154 * config/mips-gdb.exp: Ditto.
9155 * config/monitor.exp: Ditto.
9156 * config/netware.exp: Ditto.
9157 * config/sim-gdb.exp: Ditto.
9158 * config/slite-gdb.exp: Ditto.
9159 * config/udi-gdb.exp: Ditto.
9160 * config/unix-gdb.exp: Ditto.
9161 * config/vx-gdb.exp: Ditto.
9162 * gdb.base/a1-selftest.exp: Ditto.
9163 * gdb.base/a2-run.exp: Ditto.
9164 * gdb.base/break.exp: Ditto.
9165 * gdb.base/corefile.exp: Ditto.
9166 * gdb.base/list.exp: Ditto.
9167 * gdb.base/recurse.exp: Ditto.
9168 * gdb.base/scope.exp: Ditto.
9169 * gdb.base/signals.exp: Ditto.
9170
9171Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9172
9173 * gdb.threads/Makefile.in (docdir): Removed.
9174
9175Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9176
9177 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 9178 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 9179 @srcdir@.
d63a86f8 9180 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
9181 autoconf 2.5 or higher.
9182 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
9183
9184Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
9185
9186 * configure: Regenerated.
9187 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
9188 avoid name clashes with SunOS headers.
9189
9190Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
9191
9192 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
9193
9194Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
9195
9196 * gdb.base/callfuncs.exp: Finish last change -- make sure the
9197 prototype information ends up in the compiler info file.
9198
9199Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
9200
9201 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
9202 attempting to regenerate it. Eliminate use of a temporary file
9203 and just generate the info file directly. Source it immediately,
9204 for consistency of use.
9205 * gdb.base/corefile.exp: Ditto
9206 * gdb.base/exprs.exp: Ditto.
9207 * gdb.base/funcargs.exp: Ditto.
9208 * gdb.base/langs.exp: Ditto.
9209 * gdb.base/list.exp: Ditto.
9210 * gdb.base/mips_pro.exp: Ditto.
9211 * gdb.base/nodebug.exp: Ditto.
9212 * gdb.base/opaque.exp: Ditto.
9213 * gdb.base/ptype.exp: Ditto.
9214 * gdb.base/scope.exp: Ditto.
9215 * gdb.base/setvar.exp: Ditto.
9216 * gdb.base/signals.exp: Ditto.
9217 * gdb.base/whatis.exp: Ditto.
9218 * gdb.c++/templates.exp: Ditto.
9219 * gdb.c++/virtfunc.exp: Ditto.
9220 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
9221 whether or not to add -lstdc++ to the compile command line args.
9222
9223Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9224
9225 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
9226 it got fixed by the recent lookup_minimal_symbol_by_pc change.
9227 Increase timeout, a lot of single stepping might be needed if the
9228 target has no hardware watchpoints.
9229
9230Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
9231
9232 * gdb.base/break.exp: Ignore compiler warnings when compiling
9233 break.c.
9234 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
9235 * gdb.base/default.exp: Add h8300 xfails. Handle messages
9236 from remote-sim.
9237 * gdb.base/exprs.exp: Add h8300 xfails.
9238 * gdb.base/funcargs.exp: Likewise.
9239 * gdb.base/nodebug.exp: Likewise.
9240 * gdb.base/printcmds.exp: Likewise.
9241 * gdb.base/ptype.exp: Likewise.
9242 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
9243 h8300 xfails.
d63a86f8 9244 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
9245 on the h8300.
9246 * gdb.base/funcargs.c: Explicitly make last constant argument to
9247 call_after_alloca_subr an unsigned long type.
9248 * gdb.base/return.c: Include stdio.h.
9249
9250Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
9251
9252 * config/abug.exp: New file for the older Motorola Bug monitor
9253 that runs on the mvme13x series VME boards.
9254 * config/monitor.exp: Use the new config array for target settings
9255 if they exist.
9256
9257Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
9258
9259 * sim-gdb.exp: Make the SH simulator allocate less space when
9260 it is targeted.
9261
9262Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
9263
9264 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
9265 test.
9266
9267Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
9268
9269 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
9270 "rs6000-*-*" for "list function in include file" when gcc compiled.
9271 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
9272 for "p ctable1[120]".
9273 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
9274 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
9275 Remove setup_xfail for "rs6000-*-*" for
9276 "print 'scope0.c'::filelocal before run".
9277 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
9278 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
9279 since some compilers don't allow both options to be given
9280 on the same command line. Create object file and move it.
d63a86f8 9281
c906108c
SS
9282Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
9283
9284 * gdb.base/corefile.exp: Always regenerate the core file, since
9285 we always regenerate the coremaker program. Detect special case
9286 where registers cannot be read from core file.
d63a86f8 9287
c906108c
SS
9288Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
9289
9290 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
9291 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
9292 * gdb.c++/templates.exp: Only match on basename of file since
9293 some formats like xcoff don't encode directory information.
9294 * gdb.stabs/weird.exp: Use the right sed script for powerpc
9295 and rs6000 AIX xcoff targets.
9296 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
9297 * configure: Regenerate.
9298 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
9299 here, rather than in distclean.
d63a86f8 9300
c906108c
SS
9301Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
9302
9303 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
9304 defined, and use it to compile the test case with -O2. The
9305 native compilation still uses no optimization.
9306 * gdb.base/mips_pro.c: Remove inline assembly code since
9307 it is compiled PIC by default, which results in assembler
9308 warnings that make the testsuite think the compilation
9309 was unsuccessful.
9310
9311Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
9312
9313 * gdb.c++/misc.exp: Add note to message for
9314 "print s.a for foo struct" that this is a known gcc 2.7.2
9315 and earlier bug.
9316
9317Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
9318
9319 * gdb.base/break.exp: Fix pattern for matching "Delete all
9320 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
9321 setup_xfail for deleting all breakpoints test. Fix various
9322 timeout messages to include "(timeout)".
9323 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
9324 for "p t_float_values2(3.14159,float_val2)".
9325 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
9326 for "continue to call2g" when gcc compiled.
9327 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
9328 "up to foo in langs.exp", "show language at foo in langs.exp",
9329 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
9330 and "show language at fsub in langs.exp".
9331 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
9332 "list line 1 in include file", "list message for lines past EOF",
9333 "list function in include file", "list list0.h:foo", and
9334 "list filename:function; nonexistant function".
9335 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
9336 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
9337 and "ptype t_char_array" to be for native cc only.
d63a86f8 9338
c906108c
SS
9339Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
9340
d63a86f8 9341 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
9342 setup_xfail for "print coremaker_bss", "print coremaker_ro",
9343 "print func2::coremaker_local", and "backtrace in corefile.exp".
9344
9345Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
9346
9347 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
9348 "bt in signals.exp". This problem only appears when running
9349 the testsuite, and then only intermittently.
9350
9351Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
9352
9353 * gdb.base/return.exp (return_tests): Differentiate between
9354 two tests of continuing.
9355
9356Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
9357
9358 * */Makefile.in (maintainer-clean): Remove config.log.
9359 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
9360 * gdb.c++/Makefile.in (PROGS): Add inherit.
9361 (clean): Remove *.ci.
9362
9363Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
9364
9365 * gdb.c++/misc.cc: Add test code from Mike Stump.
9366 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
9367
9368Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
9369
9370 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
9371 to "alpha-*-osf2*" and add comment.
9372 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
9373 setup_xfail for "step over execarg initialization" and
9374 "step over corearg initialization".
9375 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
9376 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
9377 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
9378 gcc compiled for "print coremaker_bss", "print coremaker_ro",
9379 "print func2::coremaker_local", and "backtrace in corefile.exp".
9380 * gdb.base/signals.exp: Build and source signals.ci.
9381 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
9382 to be for gcc only.
9383 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 9384
c906108c
SS
9385Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9386
9387 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
9388 Feb 3 procfs.c change.
9389
9390Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
9391
9392 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
9393
9394Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
9395
9396 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
9397 from dejagnu's apparent default of 10 seconds, which gives random
9398 results when running the tests over NFS on moderately loaded systems.
9399 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
9400
9401Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
9402
9403 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
9404 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
9405 result reports.
9406
9407Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
9408
9409 * configure.in (CY_AC_PATH_TCLH): Remove.
9410 * configure: Regenerate.
9411
9412Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
9413
9414 * gdb.c++/Makefile.in (clean): Add missing '{'.
9415
9416Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
9417
9418 * lib/gdb.exp: Provide a default value for noinferior.
9419
9420 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
9421 Load libgloss.exp.
9422
9423Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
9424
9425 * gdb.disasm/hppa.exp: Compile directly into an executable, use
9426 the executable, not the .o to run the tests from.
9427
9428Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
9429
9430 * gdb.base/break.exp: Don't test for program exit or exit status
9431 if $noresults if nonzero.
9432 * gdb.base/langs.exp: Likewise.
9433 * gdb.base/watchpoint.exp: Likewise.
9434
9435 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
9436 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
9437 trying to compile the testcase.
9438
9439Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
9440
9441 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
9442 * gdb.base/signals.exp (continue to handler): Likewise.
9443
9444Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
9445
9446 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
9447
9448 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
9449
9450Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
9451
9452 * gdb.base/corefile.exp: Recognize "not found" as failure
9453 when trying to determine if a core file was generated.
9454 If no core file was generate the first time, try again without
9455 the ulimit -c to work around braindamaged shells.
9456
9457Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
9458
9459 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
9460 [] tests with "test" and enclose string in quotes.
9461 * gdb.stabs/configure: Rebuild
d63a86f8 9462
c906108c
SS
9463Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
9464
9465 Changes in sync with expect:
9466 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
9467 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
9468 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
9469 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
9470 argument to AC_REQUIRE.
9471 * configure: Regenerated.
9472
9473Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
9474
9475 * gdb.base/corefile.exp: When generating a core, discard any
9476 error messages about ulimit not found and the "core dumped"
9477 message from the shell that runs the coredumper.
9478
9479Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
9480
9481 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
9482
9483 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
9484 which sed script to run. Expect failure for v_comb test
9485 on PA targets too.
d63a86f8 9486
c906108c
SS
9487Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
9488
9489 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
9490 "print func2::coremaker_local" and for "backtrace in corefile.exp"
9491
9492Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
9493
9494 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
9495 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
9496 "sparc-sun-solaris*" xfails for "p v_comb".
9497 * lib/gdb.exp (default_gdb_start): Fix typo.
9498 * gdb.base/corefile.exp: Allow "Core was generated by ..."
9499 messages to not include the full program name that caused
9500 the core dump since some systems (such as solaris) apparently
9501 truncate this path to about 80 characters.
9502 When generating a core file first try increasing the core file
9503 size limit to unlimited since some systems may default it to
9504 zero, and it is harmless to try it. Move the test for failing
9505 to generate a core file to where it will actually get executed.
9506 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
9507 new gdb result from g++ debug info improvements and make old
9508 pattern obsolescent. Also account for size_t differences
9509 (may be int or long).
9510 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
9511 initialization before function call is placed in the delay slot
9512 and thus appears to be skipped over by commands such as "next".
9513
9514Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
9515
9516 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
9517
9518Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
9519
9520 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
9521 input source file; fix code to compile test to deal with this
9522 convention.
9523 * gdb.c++/*.exp: Likewise.
9524
9525Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
9526
9527 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
9528 "bt in signals.exp".
9529
9530Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
9531
9532 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
9533 "step over execarg initialization" and
9534 "step over corearg initialization".
9535
9536Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
9537
9538 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
9539 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
9540
9541Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
9542
9543 From Rob Savoye (rob@poseidon.cygnus.com)
9544 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
9545 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
9546 configure.in}, gdb.disasm/{Makefile.in, configure.in},
9547 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
9548 configure.in}: Major reworking for autoconfig.
9549 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
9550 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
9551 New files.
9552 * config/unix-gdb.exp: Make GDB global.
9553 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
9554 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
9555 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
9556 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
9557 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
9558 term.exp, twice.exp, watchpoint.exp, whatis.exp},
9559 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
9560 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
9561 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
9562 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
9563 pr-8136.exp, result.exp, string.exp, tuples.exp},
9564 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
9565 to returns as necessary, arrange for test to compile own testcase
9566 executable.
9567 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 9568
c906108c
SS
9569Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
9570
9571 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
9572 clear_xfail at end of test which might not call either pass or fail.
9573 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
9574 "backtrace through signal handler".
9575
9576Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9577
9578 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
9579 continuing from a job control stop signal.
9580 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
9581
9582Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
9583
9584 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
9585 * gdb.base/corefile.exp: Likewise.
9586 * gdb.base/funcargs.exp: Likewise.
9587
9588Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
9589
9590 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
9591 * config/monitor.exp: Add support for setting baud rate.
9592
9593Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
9594
9595 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
9596 i*86-*-linux* xfails for "backtrace through signal handler".
9597 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
9598 "print func2::coremaker_local".
9599 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
9600 alpha-dec-osf2* xfail for
9601 "delete all breakpoints when none".
9602
9603Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
9604
9605 * gdb.base/break.exp: Change test that deletes all breakpoints
9606 when no user breakpoints are installed. A post 4.15 change
9607 causes gdb to no longer prompt in this case.
9608
9609Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
9610
9611 * gdb.base/return.exp (return_tests): Change xfail for test
9612 "correct value returned double test" to stop xfailing at
9613 Solaris 2.5. Apparently the bug has been fixed.
9614
9615Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
9616
9617 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
9618 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
9619
9620Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
9621
9622 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
9623 * gdb.disasm/hppa.s: Corresponding changes.
9624
9625Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
9626
9627 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
9628 makefile fragment.
9629 * config/mt-hpux: Deleted.
9630
9631Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
9632
d63a86f8 9633 * Many files: When warning about suppressed tests due to a
c906108c
SS
9634 nonexistant test binary, avoid incrementing the warning count.
9635
9636Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
9637
9638 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 9639
c906108c
SS
9640Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9641
9642 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
9643 "sparc-*-solaris2*".
9644
9645Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9646
9647 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
9648 Add global and local variables and initialize them.
9649 * gdb.base/corefile.exp: Test correct mapping of corefile sections
9650 by printing variables. Remove rs6000 and powerpc xfails, BFD now
9651 extracts the file name and terminating signal from the core file.
9652 * TODO: Remove note about tests for correct mapping of corefile.
9653 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
9654 from optimizing it away.
9655 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
9656 handles common blocks.
9657
9658Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
9659
9660 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
9661 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
9662
9663Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
9664
9665 * Makefile.in (maintainer-clean): New target, synonym for
9666 realclean.
9667 * gdb.base/Makefile.in (maintainer-clean): Likewise.
9668 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
9669 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
9670 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
9671 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
9672 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
9673
9674Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
9675
9676 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
9677 xfails when not gcc compiled for "print foo::funclocal".
9678 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
9679 "print foo::funclocal at foo",
9680 "print 'scope1.c'::foo::funclocal at foo",
9681 "print foo::funclocal_bss at foo",
9682 "print 'scope1.c'::foo::funclocal_bss at foo",
9683 "print foo::funclocal_ro at foo",
9684 "print 'scope1.c'::foo::funclocal_ro at foo",
9685 "print bar::funclocal at foo" and
9686 "print 'scope1.c'::bar::funclocal at foo".
9687 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
9688 gcc compiled for "print foo::funclocal at bar".
9689 Expand all messages to ensure that they identify that
9690 the test is at bar().
9691 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
9692 gcc compiled for:
9693 "ptype on opaque struct pointer (statically)",
9694 "ptype on opaque struct tagname (statically)",
9695 "ptype on opaque struct pointer (dynamically) 1",
9696 "ptype on opaque struct tagname (dynamically) 1",
9697 "ptype on opaque struct pointer (dynamically) 2" and
9698 "ptype on opaque struct tagname (dynamically) 2
9699 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
9700 gcc compiled for:
9701 "p datalocal"
9702 "whatis datalocal",
9703 "ptype datalocal",
9704 "p bsslocal",
9705 "whatis bsslocal", and
9706 "ptype bsslocal".
9707 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
9708 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
9709 when not gcc compiled.
9710 * gdb.base/funcargs.exp (float_and_integral_args): Add
9711 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
9712 compiled.
9713 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
9714 "backtrace from call6a" when not gcc compiled.
9715 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
9716 "backtrace from call7a" when not gcc compiled.
9717 * gdb.base/callfuncs.exp (do_function_calls):
9718 Add "hppa*-*-hpux*" xfail when not gcc compiled for
9719 "p t_char_array_values(char_array_val2,char_array_val1)",
9720 "p t_char_array_values(char_array_val1,char_array_val2)",
9721 "p t_char_array_values("carray 1","carray 2")",
9722 "p t_char_array_values("carray 1",char_array_val2)",
9723 "p t_char_array_values(char_array_val1,"carray 2")",
9724 "p sum_args(1,{2})",
9725 "p sum_args(2,{2,3})",
9726 "p sum_args(3,{2,3,4})",
9727 "p sum_args(4,{2,3,4,5})"
9728 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
9729 "backtrace in corefile.exp" when not gcc compiled.
9730
9731Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9732
9733 * gdb.base/signals.exp: Rewrite `handle all print' test as
9734 a procedure. Accept blanks or TABs as whitespace, increase
9735 timeout and expect input buffer size for the large output
9736 from the command. Remove "i*86-*-bsdi2.0" xfail.
9737
9738Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9739
9740 * gdb.base/setvar.exp: Add new testcases for truncation when
9741 assigning invalid values to bitfields.
9742
9743Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
9744
d63a86f8 9745 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
9746 mips-sgi-irix* xfail for
9747 "call inferior func with struct - returns char *"
9748 and fix test so that an optional (unsigned char *) cast is
9749 accepted in the result.
9750
9751Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
9752
9753 * gdb.base/funcargs.exp (float_and_integral_args): Remove
9754 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
9755 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
9756 * gdb.base/signals.exp: Remove duplicate "handle all print" test
9757 that accidentally got checked in.
9758
9759Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
9760
d63a86f8 9761 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
9762 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
9763 compiled test.
9764 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
9765 Add mips-sgi-irix5* xfail for not gcc compiled.
9766 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
9767 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
9768 "p top", "whatis top", "p middle", and "whatis middle".
9769 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
9770 "whatis signed char" for not gcc compiled.
9771 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
9772 "set variable signed char=-1 (-1)" and
9773 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
9774 * gdb.base/funcargs.exp (float_and_integral_args):
9775 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
9776 Add mips-sgi-irix* xfail when not gcc compiled for
9777 "continue to call2b".
9778 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
9779 "continue to call2g".
9780 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
9781 "backtrace from call6a"
9782 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
9783 "backtrace from call7k".
9784 Add mips-sgi-irix5* xfail when not gcc compiled for
9785 "backtrace from call7a".
9786 (localvars_after_alloca): Fix gdb_test cmds for
9787 "print * after runto ...".
9788 Remove rs6000-*-* xfails for
9789 "print i after runto localvars_after_alloca" and
9790 "print l after runto localvars_after_alloca"
9791 for all compilers.
9792 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
9793 when not compiled with gcc, for:
9794 "print signed char == (minus)",
9795 "print signed char != (minus)",
9796 "print signed char < (minus)",
9797 "print signed char > (minus)".
9798 * gdb.base/callfuncs.exp (do_function_calls):
9799 Add mips-sgi-irix* xfail, when compiled with native compiler, for
9800 "call inferior func with struct - returns char *".
d63a86f8 9801 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
9802 "correct value returned double test" to include Solaris 2.4.
9803 * gdb.base/funcargs.exp (float_and_integral_args):
9804 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 9805
c906108c
SS
9806Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9807
9808 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
9809 enumeration bitfields if compiling with GNU C.
9810 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
9811 to empty' prompt.
9812
9813Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
9814
9815 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
9816 test for PRO targets.
9817
9818 * gdb.base/funcargs.exp: Avoid ever setting more than 8
9819 breakpoints in the inferior at any given time by making
9820 two groups of breakpoints for call2*, call6* and call7*
9821 tests.
9822
9823Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9824
9825 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
9826 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
9827 from optimizing it away.
9828 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
9829 "call inferior func with struct".
9830
9831Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
9832
9833 * configure.in: Only configure gdb.chill for particular targets.
9834
9835Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
9836
9837 * gdb.base/Makefile.in: Add action to .c.o transformation
9838 rule that generates a .ci file for each .o file and remove
9839 explicit .c.o rules except for callfuncs.o.
9840 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
9841 generates a .ci file for each .o file and remove explicit
9842 .cc.o rules.
9843 (clean): Remove *.tmp *.ci files.
9844 (EXECUTABLES): Remove templ-info.exp.
9845 * gdb.base/compiler.c: New file.
9846 * gdb.c++/compiler.cc: New file
9847 * gdb.base/scope.exp: Source gdb.base/scope.ci.
9848 Change rs6000-*-* xfail for
9849 "print 'scope0.c'::filelocal_ro" and
9850 "print 'scope1.c'::filelocal" and
9851 "print 'scope1.c'::filelocal_bss" and
9852 "print 'scope1.c'::filelocal_ro" and
9853 "print 'scope1.c'::foo::funclocal" and
9854 "print 'scope1.c'::foo::funclocal_ro" and
9855 "print 'scope1.c'::bar::funclocal" and
9856 "print 'scope0.c'::filelocal_ro" and
9857 "print 'scope1.c'::filelocal at foo" and
9858 "print 'scope1.c'::filelocal_bss at foo" and
9859 "print 'scope1.c'::filelocal_ro at foo" and
9860 "print 'scope1.c'::foo::funclocal at foo" and
9861 "print 'scope1.c'::foo::funclocal_bss at foo" and
9862 "print 'scope1.c'::foo::funclocal_ro at foo" and
9863 "print 'scope1.c'::bar::funclocal at foo" and
9864 "print 'scope0.c'::filelocal_ro" and
9865 "print 'scope1.c'::filelocal" and
9866 "print 'scope1.c'::filelocal_bss" and
9867 "print 'scope1.c'::filelocal_ro" and
9868 "print 'scope1.c'::foo::funclocal" and
9869 "print 'scope1.c'::foo::funclocal_bss" and
9870 "print 'scope1.c'::foo::funclocal_ro" and
9871 "print 'scope1.c'::bar::funclocal" and
9872 "print 'scope1.c'::bar::funclocal_bss"
9873 to only be xfail'd when not compiled with gcc.
d63a86f8 9874 Add rs6000-*-* xfail for
c906108c
SS
9875 "print 'scope0.c'::filelocal_bss before run"
9876 when compiled with gcc.
9877 (test_at_main): Add rs6000-*-* xfail for
9878 "print filelocal_ro in test_at_main"
9879 when compiled with gcc.
9880 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 9881 Add rs6000-*-aix* xfail for
c906108c
SS
9882 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
9883 "ptype t_char_array", not compiled with gcc.
9884 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
9885 xfail for "list foo (in include file)" when gcc compiled.
9886 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
9887 (integral_args): Add rs6000-*-* xfail for
9888 "run to call0a" if not compiled with gcc.
9889 (unsigned_integral_args): Add rs6000-*-* xfail for
9890 "run to call1a" if not compiled with gcc.
9891 (float_and_integral_args): Add rs6000-*-* xfail for
9892 "run to call2a" if not compiled with gcc and for
9893 "continue to call2b" for any compiler.
9894 Add rs6000-*-* xfail to
9895 "print f1 after run to call2a" for gcc compiled.
9896 (discard_and_shuffle): Add rs6000-*-* xfail for
9897 "run to call6a".
9898 (shuffle_round_robin): Add rs6000-*-* xfail for
9899 "backtrace from call7a" if not compiled with gcc.
9900 Add rs6000-*-* xfail for
9901 "backtrace from call7b" if compiled with gcc.
9902 (call_after_alloca): Add rs6000-*-* xfail for
9903 "print c in call_after_alloca" and
9904 "print s in call_after_alloca" and
9905 "backtrace from call_after_alloca_subr"
9906 if not compiled with gcc.
9907 (localvars_in_indirect_call): Add rs6000-*-* xfail for
9908 "print c in localvars_in_indirect_call" and
9909 "print c in localvars_in_indirect_call" and
9910 "backtrace in indirectly called function" and
9911 "stepping into indirectly called function"
9912 if not compiled with gcc.
9913 (localvars_after_alloca): Add rs6000-*-* xfail for
9914 "print c after runto localvars_after_alloca" and
9915 "print s after runto localvars_after_alloca" and
9916 "print i after runto localvars_after_alloca" and
9917 "print l after runto localvars_after_alloca"
9918 for all compilers.
9919 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
9920 than whatis-info.exp.
9921 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
9922 than opaque-info.exp.
9923 Setup rs6000-*-* xfail for
d63a86f8 9924 "ptype on opaque struct pointer (statically)" and
c906108c
SS
9925 "ptype on opaque struct pointer (dynamically)" when
9926 not compiled with gcc.
9927 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
9928 rather than callf-info.exp.
9929 (do_function_calls): Add clear_xfail for rs6000-*-* for
9930 "p t_float_values2(3.14159,float_val2)". Seems to work
9931 fine there, both with xlc and gcc. Need to find out what
9932 it is doing right and fix other platforms.
9933 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
9934 "call inferior func with struct - returns int",
9935 "call inferior func with struct - returns long",
9936 "call inferior func with struct - returns float",
9937 "call inferior func with struct - returns double",
9938 "call inferior func with struct - returns char *",
9939 but only if not gcc compiled (presumes xlc compiled).
9940 Change rs6000-*-* xfails for
9941 "call inferior func with struct - returns char" and
9942 " call inferior func with struct - returns short" to only
9943 xfail if not using gcc.
9944 (clean mostlyclean): Remove *.ci and *.tmp files.
9945 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
9946 than templ-info.exp.
9947 * gdb.base/langs.exp: Source gdb.base/langs.ci.
9948 Add rs6000-*-* xfail for "up to foo in langs.exp"
9949 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
9950 when not gcc compiled.
d63a86f8 9951
c906108c
SS
9952Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9953
9954 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
9955 * gdb.base/corefile.exp: Likewise.
9956 * gdb.base/list.exp: Likewise.
9957 * gdb.base/scope.exp: Likewise.
9958 * gdb.base/siganls.exp: Likewise.
9959
9960 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
9961 compiler output.
9962 * gdb.base/whatis.exp: Likewise.
9963
9964Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
9965
9966 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
9967 failure (opcode table has been fixed to match reality).
9968
9969Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
9970
9971 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
9972 "call inferior func with struct - returns char",
9973 "call inferior func with struct - returns short"
9974
9975 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
9976 "print 'scope0.c'::filelocal at main",
9977 "print 'scope0.c'::filelocal_bss in test_at_main",
9978 "print 'scope0.c'::filelocal at foo",
9979 "print 'scope0.c'::filelocal_bss in test_at_foo",
9980 "print 'scope0.c'::filelocal at bar",
9981 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 9982
c906108c
SS
9983 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
9984 in source file 1". This bug seems to have been fixed with both
9985 gcc and native cc (was native assembler bug?).
9986
9987Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
9988
9989 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
9990 "backtrace through signal handler" to "i*86-*-sysv4*".
9991 * gdb.base/signals.exp: Add xfail for "'next' behaved as
9992 continue" case. Add "known SVR4 bug" to fail message.
9993 Add "i*86-*-bsdi2.0" xfail for "handle all print".
9994 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
9995 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
9996 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
9997 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
9998 "up to foo in langs.exp", "show language at foo in
9999 langs.exp", "up to cppsub_ in langs.exp", "show
10000 language at cppsub_ in langs.exp", "up to fsub in
10001 langs.exp", and "show language at fsub in langs.exp".
10002 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
10003 "bactrace in corefile.exp".
10004 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
10005 "call inferior function with struct - returns float" and
10006 "call inferior function with struct - returns double".
d63a86f8 10007
c906108c
SS
10008Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
10009
10010 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
10011 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
10012 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
10013 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
10014
10015Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
10016
10017 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
10018 (or overriden) "CHILL" macro rather then bare "gcc".
10019 Also look for ../../gcc/xgcc since that is what we will
10020 actually need, not "Makefile". Remove following assignment
10021 of CHILL to CHILL_FOR_TARGET because that results in
10022 recursive definition.
10023
10024Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
10025
10026 * gdb.base/corefile.exp: Change xfail for backtrace in
10027 corefile.exp from linuxaout to all linux.
10028 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
10029 cases where we miss the breakpoint at the signal handler
10030 for some reason. Setup xfail for linuxoldld/linuxaout and
10031 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
10032 hitting SIGURG breakpoint.
10033 * gdb.base/signals.exp: Setup xfail for "next" acting like
10034 continue to add linuxoldld. Setup xfail for all linux for
10035 "next to handler in signals_tests_1", "backtrace in
10036 signals_tests_1", "continue to func1", "pass SIGUSR1",
10037 and continue to handler".
10038
10039Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
10040
10041 * Update all FSF addresses except those in COPYING* files.
10042
10043Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
10044
10045 * gdb.base/a2-run.exp: Change messages to be more explicit about
10046 the status of args, and quote binfile in results.
10047
10048Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
10049
10050 * gdb.base/callfuncs.exp: Add tests for passing structs to
10051 inferior functions and return various types.
10052 * gdb.base/callfuncs.c: Add functions to receive a struct
10053 and return a member of the struct, in various types.
10054
10055Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10056
10057 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
10058
10059Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
10060
10061 * config/vxworks29k.exp: New file, sources vxworks.exp.
10062
10063Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10064
10065 * config/gdbremote.exp: New file. Testing framework using
10066 gdbserver.
10067
10068Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
10069
10070 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
10071 "call function when asleep" and "send end of file".
10072 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
10073 for "backtrace in corefile.exp".
10074 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
10075 for "backtrace through signal handler".
10076 * gdb.base/corefile.exp: Make sure we actually generate a core file
10077 before trying the core tests. Some systems allow the user to suppress
10078 generation of core files and default to that (linux for example).
10079 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
10080 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
10081
10082Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10083
10084 * gdb.threads: New directory with some crude multi-threaded
10085 gdb tests (step.exp and step2.exp).
10086 * config/mt-lynx (STEP_EXECUTABLE): Define.
10087 (THREADFLAGS): Define.
10088
10089Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
10090
10091 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
10092
10093 * gdb.base/signals.exp: Disable whole file for lynx until
10094 further notice.
10095
10096 * gdb.base/signals.exp: xfail test where "next" acts like
10097 "continue" for lynx.
10098
10099 * gdb.base/interrupt.exp: xfail test for calling function while
10100 inferior is asleep for lynx.
10101
10102 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
10103 than one cr-lf after each command.
10104
10105Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10106
10107 * configure.in: Reinstate setting of stabsdirs variable, fix
10108 typo in setting up configdirs for native builds.
10109
10110 * gdb.base/return.exp: Fix typo in return double test.
10111 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
10112 compiler from optimizing them away.
10113
10114Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
10115
10116 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
10117 sequences to be echo'd by gdb when using gdb_test.
10118 * gdb.chill/chexp.exp: Likewise.
10119 * gdb.fortran/exprs.exp: Likewise
10120
10121Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10122
10123 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
10124 after the inferior gdb has started.
10125
10126 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
10127 after each command.
10128 * gdb.base/funcargs.exp: Likewise.
10129 * gdb.base/gdbvars.exp: Likewise.
10130 * gdb.base/interrupt.exp: Likewise.
10131 * gdb.base/list.exp: Likewise.
10132 * gdb.base/watchpoint.exp: Likewise.
10133 * gdb.c++/demangle.exp: Likewise.
10134 * gdb.c++/inherit.exp: Likewise.
10135 * gdb.chill/chexp.exp: Likewise.
10136 * gdb.fortran/exprs.exp: Likewise.
10137
10138 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
10139 test if we can't handle IO to/from the inferior.
10140
10141 * gdb.c++/misc.exp: Always check for a program already being
10142 started after sending a "run" command to gdb.
10143
10144 * gdb.base/twice.exp: Start with a fresh gdb.
10145
10146 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
10147 only depend on gdb's expression code, not the chill runtime.
10148
10149 * gdb.base/return.c: Put return values into variables so we
10150 can have gdb print them rather than depending on the program
10151 to print them.
10152 * gdb.base/return.exp: Corresponding changes.
10153
10154 * lib/gdb.exp: Provide default value for noinferiorio.
10155 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
10156 the inferior.
10157
10158 * gdb.base/break.exp: Always check for a program already being
10159 started after sending a "run" command to gdb.
10160 (text_next_with_recursion): Don't check the output from the
10161 program's printf statement. Instead just make sure the program
10162 exited.
10163
10164 * gdb.base/commands.exp: Protect tests which need arguments with
10165 $noargs conditionals.
10166
10167Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10168
10169 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
10170 of structure member arrays to match gdb/valops.c:value_addr change.
10171
10172Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
10173
10174 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
10175 cases.
10176
10177Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
10178
10179 * configure.in (configdirs): Remove gdb.chill from default list
10180 of subdirs and then add it back in only if doing a native build.
10181 The current chill compiler does not yet work in any cross build.
10182 * Revert all signal changes from Jul 6.
10183 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
10184 for sh-hms targets, allowing these tests to link, with no other
10185 changes. Testing is suppressed by setting "nosignals" in site.exp.
10186
10187Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
10188
10189 * configure.in (signaldirs): Define and add to configdirs for all
10190 targets except some specific ones that are known to not support signals.
10191 Also clean up formatting.
10192 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
10193 (signals, sigall): Remove rules to build.
10194 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
10195 Moved to new gdb.signals directory.
10196 * gdb.signals: New test directory.
10197 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
10198 signals.c signals.exp}: New or moved files.
10199
10200Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
10201
10202 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
10203
10204Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
10205
10206 * gdb.base/return.exp: Xfail `return double' test failure
10207 on at least Solaris 2.3 and handle future/past versions on
10208 a case by case basis as appropriate. Also update message
10209 to include i*86 failures.
10210
10211Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10212
10213 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
10214
10215 * lib/gdb.exp: Fix comment which erroneously identified
10216 gdb_file_cmd as gdb_load (the 19 May change was in fact to
10217 gdb_file_cmd not gdb_load).
10218 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
10219
10220 * gdb.base/setvar.exp: Make test names consistent between pass and
10221 fail cases. Use gdb_test more.
10222
10223Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10224
10225 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
10226
10227Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10228
10229 * gdb.base/help.exp: Fix expected help string for `show commands'.
10230
10231Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
10232
10233 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
10234
10235 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
10236 of a text section.
10237
10238Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
10239
10240 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
10241 that loop eventually terminates. Fix Connection refused logic so
10242 that testsuite will expire nicely.
10243
10244Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
10245
10246 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
10247 config/rom68k.exp: New tcl glue for the appropriate monitors.
10248 These all just end up calling monitor.exp.
10249 * config/monitor.exp (gdb_target_monitor): Handle `Connection
10250 refused' by retrying. Cleanup some timeout issues.
10251 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
10252 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
10253 callers don't have to set/restore global timeout variable.
10254
10255 * The following set of changes centralizes management of the global
10256 timeout variable. This way, it can be set in one target dependent
10257 place instead of dozens of places scattered throughout the test suite.
10258 If you need to lengthen a timeout, then you should either set timeout
10259 in one of the config/{target}.exp files, or multiply it by a factor.
10260 Setting it to an absolute value is always going to lose for some
10261 targets.
10262 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
10263 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
10264 * gdb.base/funcargs.exp: Don't set timeout.
10265 * gdb.base/list.exp (test_forward_search): Only use local timeout.
10266 * gdb.base/printcmds.exp (test_print_string_constants
10267 test_print_array_constants): Don't set timeout.
10268 * gdb.base/ptype.exp: Don't set timeout.
10269 * gdb.base/recurse.exp: Don't set timeout.
10270 * gdb.base/return.exp: Don't set timeout.
10271 * gdb.base/watchpoint.exp: Don't set timeout.
10272 * gdb.c++/classes.exp (do_tests): Don't set timeout.
10273 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
10274
10275Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
10276
10277 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
10278
10279Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10280
10281 * lib/gdb.exp: Disable chill tests for irix5.
10282
10283Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10284
10285 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
10286 each test pass or fail.
10287
10288Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10289
10290 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
10291 xlc not gcc.
10292
10293Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
10294
10295 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
10296
10297Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
10298
10299 * config/est.exp: Fix copyright and comments. Remove dead code.
10300 Use targetname, serialport and baud variables instead of fixed
10301 constants.
10302 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
10303 * config/cpu32bug.exp: New file to support cpu32bug monitors.
10304
10305Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10306
10307 * gdb.base/watchpoint.exp: Don't run
10308 test_watchpoint_triggered_in_syscall for sunos.
10309
10310Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10311
10312 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
10313 they don't seem to exist. Do include stdio.h.
10314
10315Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10316
10317 * gdb.base/a1-selftest.exp: Add alpha xfail.
10318
10319Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10320
10321 * gdb.base/watchpoint.c (main): Prompt before calling read().
10322 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10323 Revise accordingly. Remove cruft about sending "123" several
10324 times, until it gets noticed. Clean up the "print buf[0]" stuff
10325 so that it passes or fails, and waits for prompts in the usual way.
10326
10327Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10328
10329 * gdb.base/recurse.exp: Fix comment.
10330
10331 * TODO: Remove item about printing variables in nodebug.exp. Add
10332 item about enabling tests which are only run on some targets.
10333
10334 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
10335 fail, make test names unique, use new gdb_test convention
10336 regarding pattern, use gdb_test more, etc.).
10337
10338 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
10339 fail, make test names unique, etc.).
10340
10341Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10342
10343 * gdb.base/nodebug.c: Change return type of top and middle to
10344 short.
10345 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
10346 are fixed by the recent mdebugread.c changes. Allow `short ()'
10347 as type for top and middle.
10348
10349Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10350
10351 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
10352 nearly as I can tell, the whole thing was an accident in Stu's
10353 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
10354 to replace a send/expect pair with gdb_test, but ended up only
10355 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
10356 of 30 Mar 1995 took care of it, but left this vestigial comment
10357 which I am now nuking.
10358
10359Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10360
10361 * gdb.base/break.exp: Look for different line number for
10362 breakpoint at main depending on usestubs.
10363
10364Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10365
10366 * gdb.base/list.exp: Adjust some alternate expect patterns to
10367 match recent list0.c change. Add alternate expect pattern for
10368 output from `list default lines around main' for optimizing
10369 compilers.
10370
10371Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10372
10373 * lib/gdb.exp: If nosignals is not set, set it to 0.
10374
10375Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
10376
10377 * config/slite-gdb.exp: Responds to load symbol table prompt.
10378 * gdb.base/break.exp: Adjust line number, fix rerun.
10379 * gdb.base/langs0.c: Add #ifdef usestubs.
10380
10381Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
10382
10383 * gdb.base/list.exp: Adjust line contents after adding new lines in
10384 list0.c. Also fix a syntax error.
10385
10386 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
10387 * gdb.base/break.exp: ditto.
10388 * gdb.base/list.exp: ditto.
10389 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
10390 * gdb.base/run.c: ditto.
10391 * gdb.base/list0.c: ditto.
10392 * gdb.base/funcargs.c: ditto.
10393
10394Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
10395
10396 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
10397 $targetname, $serialport and $baud instead of hardwired variables.
10398 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
10399 target doesn't support signals.
10400
10401Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
10402
10403 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
10404
10405Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10406
10407 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
10408 Don't rely on the value of an auto variable before it has been
10409 initialized. Use gdb_test more.
10410
10411Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10412
10413 * lib/gdb.exp (default_gdb_version): A version number must start
10414 with a digit, but other than that contains all characters up to
10415 the first whitespace character.
10416
10417Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10418
10419 * gdb.base/commands.exp (breakpoint_command_test): New tests.
10420
10421Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10422
10423 * gdb.c++/*.exp: Warn if executable does not exist. The original
10424 reason for skipping the warning was that configure.in sometimes
10425 intentionally skipped building the executables but the tcl code
10426 had no way of knowing. That (a) was always bogus with respect to
10427 error handling, (b) is no longer true (right now there is no way
10428 to skip C++ tests).
10429
10430 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
10431
10432Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10433
10434 * gdb.base/list.exp: Add expect patterns for output from
10435 SunPRO compiled executables.
10436 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
10437 types.
10438
10439Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10440
10441 * gdb.base/break.exp (test_next_with_recursion): Accept any line
10442 number (we are already testing that the correct source line text
10443 gets printed).
10444
10445 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
10446 that is what is intended, but something needed to be done to get
10447 sunos4 native working again.
10448
10449 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
10450
10451 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
10452 apparently went with a (very) old xfail.
10453
10454Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
10455
10456 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
10457 runto_main is a proc in gdb.exp that will do 'step' for target use
10458 stubs.
10459 * gdb.base/exprs.exp: ditto.
10460 * gdb.base/interrupt.exp: ditto.
10461 * gdb.base/opaque.exp: ditto.
10462 * gdb.base/printcmds.exp: ditto.
10463 * gdb.base/ptype.exp: ditto.
10464 * gdb.base/scope.exp: ditto.
10465 * gdb.base/setvar.exp: ditto.
10466 * gdb.base/signals.exp: ditto.
10467 * gdb.base/twice.exp: ditto.
10468 * gdb.c++/classes.exp: ditto.
10469 * gdb.c++/inherit.exp: ditto.
10470 * gdb.c++/templates.exp: ditto.
10471 * gdb.base/break.exp: no run and hit main for stubs. Change line
10472 numbers for breakpoints and info breakpoint.
10473 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
10474 breakpoint().
10475 * gdb.base/callfuncs.c: ditto.
10476 * gdb.base/exprs: ditto.
10477 * gdb.base/interrupt.c: ditto.
10478 * gdb.base/opaque0.c: ditto.
10479 * gdb.base/printcmds.c: ditto.
10480 * gdb.base/ptype.c: ditto.
10481 * gdb.base/scope0.c: ditto.
10482 * gdb.base/setvar.c: ditto.
10483 * gdb.base/signals.c: ditto.
10484 * gdb.base/twice.c: ditto.
10485 * gdb.c++/misc.cc: ditto.
10486 * gdb.c++/templates.cc: ditto.
10487
10488Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10489
10490 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
10491
10492 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
10493 somewhere between `read' and `main.c'. I'm pretty sure the
10494 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
10495 and it isn't particularly useful.
10496
10497 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
10498
10499Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10500
10501 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
10502
10503Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
10504
10505 * config/mt-slite: add LIBS and -nostdlib.
10506 * config/slite-gdb.exp: add this new file to support sparclite target.
10507
10508Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
10509
10510 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
10511
10512 * gdb.base/a2-run.exp: Change argument to istarget from
10513 "*-*-vxworks" to "*-*-vxworks*".
10514 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
10515
10516Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
10517
10518 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
10519 will not runto main but do a 'step' to step out of breakpoint().
10520 * config/mt-slite: add -Dusestubs.
10521
10522Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10523
10524 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
10525 instead of just @.
10526
10527 * gdb.base/signals.exp: Add test for "handle all print".
10528 * TODO: Remove "handle all print". Also remove item about
10529 checking copyright date (I don't like the idea of a spurious FAIL
10530 based on when we run the tests).
10531
10532 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
10533 for SunOS4 (reason for failure not investigated). Remove
10534 redundant test for $binfile.
10535
10536 * gdb.base/nodebug.c (array_index): Call malloc.
10537
10538 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
10539
10540Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
10541
10542 * gdb.base/recurse.exp: Update gdb_test invocation to use new
10543 conventions and slightly simplify the matching regexp.
10544
10545Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10546
10547 * gdb.base/break.exp: Update gdb_test invocation to use new
10548 convention.
10549
10550 * lib/gdb.exp: If noargs is not set, set it to 0.
10551
10552 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
10553 tests unique.
10554
10555 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
10556
10557Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10558
10559 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
10560 one argument of type "<non-float parameter>".
10561
10562Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
10563
10564 * config/rom68k.exp: New file to support Motorola IDP board.
10565 * gdb.base/a2-run.exp: Skip this file if noargs is set.
10566 * gdb.base/break.c: Change things around so that this program
10567 doesn't depend upon args. This is necessary to make remote
10568 targets work (in general, they can't take args).
10569 * gdb.base/break.exp: Don't try to send args to program. Don't
10570 expect output. Also, replace lots of code with gdb_test.
10571
10572Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10573
10574 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
10575 printing of '\'' (which is what the comment says we are testing,
10576 even though we were not), not '''.
10577 (test_integer_literals_rejected): Test that printing ''' is an error.
10578
10579 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10580 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
10581 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
10582 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
10583 Use gdb_test not test_print_accept.
10584 * lib/gdb.exp: Remove test_print_accept.
10585
10586 * gdb.base/signals.exp (signal_tests_1): Make pass message
10587 consistent with fail message.
10588
10589 * gdb.base/whatis.exp: Remove xfails for printing char vs.
10590 unsigned char; the bug (PR 1821) is fixed.
10591
10592 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
10593
10594 * gdb.base/scope.exp (test_at_localscopes): Call pass for
10595 successful tests--makes xfailing them work right.
10596
10597Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10598
10599 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
10600 only \r\n, not .*. The test can pass .* as the last thing in
10601 $pattern if that is what it wants. In addition to providing this
10602 flexibility, this change should speed up pattern matching in cases
10603 where the pattern already ended with .* (there were a number of
10604 them). This change also helps catch bad patterns--in the old
10605 scheme the typo "char \*" instead of "char \\*" would pass. Now
10606 it is caught.
10607 * Many .exp files: Update callers.
10608
10609 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
10610 clearer and does not spuriously match multiple ('s. Likewise for
10611 ) and *.
10612
10613 * gdb.base/nodebug.exp: Test ability to call a function and pass
10614 it a string (even with no debugging info).
10615
10616 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
10617 "p '\'", which is the same as "p ''" once tcl gets done with
10618 quoting, to "p '\\'", which I suspect is what is intended (one
10619 backslash gets sent to GDB).
10620
10621 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
10622
10623Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10624
10625 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
10626 1817) was fixed literally years ago.
10627
10628Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10629
10630 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
10631 test, it causes stepping out of call_after_alloca_subr with
10632 optimizing compilers.
10633 (localvars_in_indirect_call): Consume GDB prompt if `finish'
10634 fails.
10635
10636 * gdb.c++/templates.exp: Source templ-info.exp only if
10637 the templates executable exists.
10638
10639 * gdb.c++/misc.cc (class Contains_static_instance,
10640 class Contains_nested_static_instance),
10641 gdb.c++/classes.exp (test_static_members): Test printing of
10642 a class that contains a static instance of the class.
10643
10644Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10645
10646 * gdb.base/langs2.c (cppsub_): Don't prototype.
10647 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
10648 only, I believe).
10649
10650Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10651
10652 * lib/gdb.exp (skip_chill_tests): New procedure.
10653
10654 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
10655
10656Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
10657
10658 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
10659 each expect pattern. Cuts runtime from 12 to about 4 seconds.
10660
10661Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10662
10663 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
10664
10665 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
10666 disassemble 8, not 16, instructions for part 4.
10667
10668 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
10669 support the latter anymore.
10670
10671 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
10672 -DNO_PROTOTYPES.
10673 * gdb.base/callfuncs.c: Control use of prototypes based on
10674 NO_PROTOTYPES, not __STDC__.
10675 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
10676 t_float_values2 tests if prototypes in use.
10677
10678 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
10679 t_double_values): When checking differences against DELTA, check
10680 that difference is within the range (-DELTA,DELTA), not just
10681 (-infinity,DELTA).
10682
10683Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
10684
10685 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
10686 'file' command firts, then 'target', then 'load', this is due to gdb
10687 target set up.
10688 * config/mips-gdb.exp: Fix a couple regular exp bugs.
10689
10690Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
10691
10692 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
10693 FP load/store variants.
10694 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
10695
10696Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
10697
10698 * gdb.base/term.exp: Do not give a warning if not native, it is
10699 not an abnormal condition.
10700
10701Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
10702
10703 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
10704 t_char_array".
10705
10706Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
10707
10708 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
10709 are getting the version number.
10710
10711 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
10712 if not native, it is not an abnormal condition.
10713
10714Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10715
10716 * lib/gdb.exp: Just use "file exists", rather than undocumented
10717 dejagnu procedure "findfile".
10718
10719Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10720
10721 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
10722 (LDFLAGS): Set to -Xlinker -Ur.
10723
10724 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
10725 Removed, these values are set by lib/gdb.exp.
10726
10727 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
10728
10729Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10730
10731 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
10732 of replicating gdb startup code.
10733
10734 * config/mt-vxworks (LDFLAGS): Set to -r.
10735 (CFLAGS_FOR_TARGET): Removed.
10736
10737 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
10738 (gdb) and gdb for vxworks uses (vxgdb).
10739
10740 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
10741 executable is not in the tree and host != target, use sed and
10742 program_transform_name to determine the gdb name used by the
10743 target.
10744
10745 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
10746 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
10747
10748Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10749
10750 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
10751 floats, chars, and shorts where there are ANSI-style function
10752 definitions.
10753
10754 * gdb.base/langs.exp, gdb.base/langs*: New test.
10755 * gdb.base/Makefile.in: Build it.
10756 * TODO: Remove item about checking that C names don't get C++
10757 demangling applied; this test tests it.
10758
10759Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10760
10761 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
10762 went with the const70 xfail. The xfail went away a year ago.
10763
10764 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
10765
10766 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
10767 for hp300.
10768
10769 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
10770
10771 * gdb.base/a1-selftest.exp: Don't run on hp300.
10772
10773Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10774
10775 * Makefile.in (site.exp): Set host_alias and target_alias as well
10776 as host_triplet and target_triplet.
10777
10778Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10779
10780 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
10781
10782 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
10783 places as other ecoff systems).
10784
10785 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
10786 ultrix.
10787
10788Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10789
10790 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
10791 remove them.
10792 * gdb.base/nodebug.exp: Accept "function" in addition to "text
10793 variable and "variable" in addition to "data variable".
10794 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
10795
10796 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
10797 2.
10798 * gdb.base/list1.c (long_line): Add additional statement at start
10799 of function.
10800 * gdb.base/list.exp (test_forward_search): Update line number to
10801 reflect new statement.
10802
10803Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10804
10805 * gdb.base/signals.exp: Reinitialize searched source directories
10806 after gdb_start call.
10807
10808Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
10809
10810 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
10811 * gdb.stabs/Makefile.in: Likewise.
10812
10813 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
10814 change. Instead split the tests into smaller pieces.
10815 * gdb.disasm/hppa.s: Corresponding changes.
10816
10817Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10818
10819 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10820 Quote ^C when passing it to stty. For some shells ^ is a pipe.
10821
10822 * gdb.base/funcargs.exp: Modify many tests so that every test
10823 either passes or fails. Make some test names unique.
10824
10825Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10826
10827 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10828 Call stty to set interrupt character.
10829
10830 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
10831 for HP assembler versus GNU assembler based on actual behavior of
10832 $(CC), rather than assuming that $(AS) is always the GNU assembler.
10833
10834 * TODO: Suggest a few more stepping tests.
10835
10836Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
10837
10838 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
10839 restart GDB for h8300 after a continue.
10840 (return): Add pattern to match a29k-udi behavior.
10841 * gdb.base/nodebug.exp: Remove obsolete comment.
10842 * gdb.base/regs.exp: New file, testing of register displays.
10843 * gdb.base/return.exp: Fix typo in reference to $objdir.
10844 * gdb.base/whatis.exp: Always start with a fresh GDB.
10845
10846Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10847
10848 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
10849 higher, these tests generate a lot of output.
10850
10851Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10852
10853 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
10854 code following the catch silently ignored some errors; without the
10855 catch they should be thrown like any other tcl error. Also, the
10856 catch used "" instead of {} which meant all the callers who wanted
10857 to include one of the characters "[]$ had to quote it an extra time.
10858 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
10859 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
10860 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
10861 Remove extra quoting.
10862
10863Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
10864
10865 * gdb.base/commands.exp: Make test names unique; every test either
10866 passes or fails. Update some comments.
10867
10868 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
10869
10870Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10871
10872 The following fixes a FAIL caused by the fact that the alpha stabs
10873 configuration didn't use the ".if alpha" code in weird.def.
10874 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
10875 bit pointer, so the 32 bit version works even on the alpha.
10876 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
10877 Remove the stuff which allowed us to have separate versions for
10878 alpha and everything else.
10879
10880 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
10881 regexp which "info func operator\[\](" is supposed to match. Fix
10882 string to send to GDB. Note that GDB still doesn't work right. Add a
10883 new test for "info func .perator\[\](" which GDB does handle correctly.
10884
10885 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
10886
10887Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10888
10889 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
10890 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
10891 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
10892 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
10893 it makes the tests harder to understand and confuses test-o-matic.
10894 The preferred style is that each test provides a PASS or a FAIL,
10895 and has a unique message (e.g. "continue #54" not just "continue")
10896 which is the same for the pass and the fail.
10897 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10898 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
10899 to lib/gdb.exp.
10900 * gdb.base/printcmds.exp: Use test_print_accept. Remove
10901 prt_accept which was basically the same thing. Likewise for
10902 test_print_reject and prt_reject.
10903 * lib/gdb.exp (test_print_reject): Add some more error message
10904 patterns to match from the former printcmds.exp (prt_reject).
10905 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
10906 One defect of the passcount stuff is that some of it failed to
10907 report XPASS where appropriate.
10908 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
10909 stuff before and after arg in expected pattern.
10910 (test_paddr_operator_functions): Re-do test without print_addr_of;
10911 this is the only test which seems to want extra stuff there.
10912
10913Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10914
10915 * gdb.base/nodebug.exp: Update new tests to reflect improved
10916 wording of gdb output.
10917
10918 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
10919 and "ptype" work on variables in files compiled without -g.
10920 Replaces commented out "maint print msymbol" tests.
10921
10922Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10923
10924 * gdb.base/setvar.c (dummy): Call malloc.
10925
10926 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
10927 losing with the irix4 sed.
10928
10929 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
10930 ALRM" on irix4.
10931
10932Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10933
10934 * TODO: Remove items about corefile.exp testing new exec-file and
10935 backtrace; both are now done. Add items about printing enums.
10936
10937Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10938
10939 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
10940 "get signal $thissig" test fails.
10941
10942 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
10943
10944Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10945
10946 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
10947 compiler warning with dec alpha compiler.
10948
10949 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
10950 extra \n from gdb_test call (this explains why the prompt test
10951 that I removed yesterday was there).
10952 (user_defined_command_test): Remove extra \n and prompt test.
10953
10954 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
10955 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
10956 doesn't exist.
10957 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
10958 Also remove alpha workaround, which turns out to be because
10959 SIGABRT == SIGLOST.
10960
10961 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
10962
10963 * gdb.base/help.exp: Don't test "help show".
10964
10965Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10966
10967 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
10968 "set print address" is on.
10969 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
10970 pass prompt to gdb_test; gdb_test already looks for the prompt.
10971
10972 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
10973
10974 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
10975 was a vestige of the manual TESTSTRATEGY, and the purpose of it
10976 was to make sure that gdb can read a core file. But (a) the "read
10977 the corefile" part didn't make it to a1-selftest.exp, we just
10978 delete the corefile after creating it, and (b) we test reading
10979 corefiles in corefile.exp anyway. Also, this test left around a
10980 xgdb process on Solaris.
10981
10982 * gdb.base/corefile.exp: Also test backtrace.
10983
10984Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
10985
10986 * gdb.base/commands.exp: Test a simple user defined command with
10987 arguments and if/while statements; verify the full user command is
10988 printed by "show user".
10989
10990 * gdb.base/commands.exp: Test if/while commands as part of a
10991 breakpoint command list; verify they appear in breakpoint
10992 information.
10993
10994Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
10995
10996 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
10997 than by dividing by zero.
10998
10999Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
11000
11001 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
11002 performing an inferior call with watchpoints enabled.
11003 * gdb.base/watchpoint.c (main): Delete second unnecessary read
11004 call.
11005
11006Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11007
11008 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
11009 of "file" command.
11010
11011 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
11012 Add additional pattern for when "int operator int(void);" appears
11013 in a different order.
11014
11015Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11016
11017 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
11018
11019 * gdb.base/help.exp: Replace most of docstrings for "info signals"
11020 and "signal" with ".*".
11021
11022Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11023
11024 * TODO: Add note about "handle all nostop".
11025
11026 * gdb.base/{sigall.c, sigall.exp}: New test.
11027 * gdb.base/Makefile.in: Add it.
11028
11029Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
11030
11031 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
11032 when invoking GDB, suppresses any windowing interface.
11033
11034Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
11035
11036 * config/sim-gdb: New file, simulator testing support.
11037
11038Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
11039
11040 * gdb.base/interrupt.exp: Test calling func1 twice.
11041
11042Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
11043
11044 * gdb.base/list.exp (test_forward_search): Set timeout higher
11045 when we'll be getting lots of output from gdb.
11046
11047 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
11048 "init_malloc" to after the expect statement. Run it if that
11049 regexp is taken, but also for two others which happen if source
11050 cannot be found.
11051
11052Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11053
11054 * gdb.base/printcmds.exp: New test, for printing register before
11055 program is running.
11056
11057Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11058
11059 * gdb.base/list.exp: Correct some alternate expect patterns
11060 to reflect changes in list1.c.
11061
11062Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11063
11064 * TODO: Add item regarding large frames.
11065
11066 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
11067
11068 * TODO: Remove item about enabling return.exp; it
11069 is enabled. Suggest a few more "return" tests.
11070
11071Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11072
11073 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
11074 anonymous unions.
11075
11076Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11077
11078 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
11079 and pr-5646.o, so "make" is the same as "make all", not "make
11080 pr-4975.o".
11081
11082Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
11083
11084 * gdb.base/list.exp: Adjust expectations to reflect changes in
11085 list1.c.
11086 (test_forward_search): New test proc.
11087 * gdb.base/list1.c (long_line): New function, has long source line.
11088
11089Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
11090
11091 * gdb.base/a1-selftest.exp: Change initial stepping to know about
11092 additional line of code that was added.
11093
11094Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
11095
11096 * gdb.disasm/hppa.s: Break the large branching tests into smaller
11097 tests so as not to overflow expect's input buffers.
11098 * gdb.disasm/hppa.exp: Corresponding changes.
11099
11100Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11101
11102 Beginnings of template debugging tests.
11103 * gdb.c++/templ-info.cc: New file to test for template
11104 debugging capability of the compiler.
11105 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
11106 templ-info.cc.
11107 * gdb.c++/templates.cc: Add explicit template instantiations
11108 to enable compiling with -fno-implicit-templates. Add destructor
11109 and 'value' method to T5 class for template tests.
11110 * gdb.c++/templates.exp: Add testcases for printing of template
11111 types, setting breakpoints on template methods and calling a
d63a86f8 11112 template method.
c906108c
SS
11113
11114Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
11115
11116 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
11117 branch target since some assemblers (gas-2.5) may emit a
11118 relocation for the branch instead of resolving it in the
11119 assembler.
11120
11121Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11122
11123 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
11124 through signal handler.
11125
11126Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11127
11128 * configure.in (*-*-netware): Use config/mt-netware.
11129
11130 * config/mt-netware: New file.
11131 * config/mt-i386-netware: Removed, separate configs for different
11132 netware architectures are no longer needed now that we have
11133 --with-headers.
11134
11135Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11136
11137 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
11138 by the recent changes to use ANSI C arithmetic conversions.
11139
11140Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11141
11142 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
11143 bug involving using inferior_pid to figure out whether to select a
11144 frame.
11145
11146Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
11147
11148 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
11149 match the current disassembler output.
11150
11151Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
11152
11153 * gdb.fortran/exprs.exp: Expect VOID instead of void.
11154 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
11155 types, expect "int" as type of integer values (for now).
11156
11157Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
11158
11159 * gdb.base/commands.exp: New tests for if/while commands.
11160
11161Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
11162
11163 * lib/gdb.exp (runto): Replace sub-pattern for hex value
11164 by .*, since hex values have different syntax in Chill mode.
11165
11166Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11167
11168 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
11169 linefeed from expect pattern for repeated types with indices > 9.
11170
11171Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
11172
11173 First part of Fortran test suite.
11174 * gdb.fortran: New directory.
11175 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
11176
11177Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11178
11179 * gdb.base/default.exp: Update expect pattern for load command
11180 without arguments.
11181
11182Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11183
11184 * configure.in: Change i386 to i[345]86.
11185 * gdb.base/configure.in: Likewise.
11186 * gdb.c++/configure.in: Likewise.
11187 * gdb.chill/configure.in: Likewise.
11188
11189Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
11190
11191 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
11192 patterns, since that is not a valid context for comments.
11193
11194Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
11195
11196 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
11197 repeated types and repeated types with indices > 9.
11198
11199Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
11200
11201 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
11202 2417; old bug has been fixed.
11203
11204Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
11205
11206 * gdb.base/interrupt.exp: When trying to wake up the inferior,
11207 send the newline ourselves instead of assuming gdb_test will do
11208 so when passed an empty input string.
11209
11210 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
11211 stabs testcode.
11212
11213Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11214
11215 * lib/gdb.exp (gdb_test): Don't send anything if the first
11216 argument is an empty string. This makes cases where we want to
11217 match output that is already in expect's buffers (for example,
11218 matching a breakpoint after gdb_run_cmd has been called) work
11219 reliably.
11220
11221Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11222
11223 * config/netware.exp: New file.
11224
11225Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11226
11227 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
11228 the -B and -L prefixes so we can find the debugging stub.
11229
11230 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
11231 there and we are using the gcc from the tree.
11232
11233 * gdb.base/types.c: Removed.
11234
11235 * gdb.base/configure.in: Look for makefile fragments in ../config.
11236 Recognize i386-*-netware.
11237 * gdb.c++/configure.in: Likewise.
11238
11239Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11240
11241 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
11242 the correct TCL syntax.
11243
11244Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11245
11246 * gdb.base/opaque.exp: use runto instead of messing around with
11247 breakpoints. Simplify by using gdb_test.
11248
11249 * gdb.base/bitfields.exp: restart between tests on netware targets
11250 because breakpoints aren't relocated after target death. Run
11251 processes to completion.
11252
11253 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
11254
11255Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
11256
11257 * Makefile.in: Remove extra tabs that confuse some versions
11258 of "make". Use the newly built gdb to test with by default,
11259 rather than the first one in the tester's search path.
11260
11261Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
11262
11263 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
11264
11265 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
11266 condition help.
11267
11268Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11269
11270 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
11271
11272 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
11273 running.
11274 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
11275 * gdb.base/funcargs.exp: Likewise.
11276
11277 * gdb.base/bitfields.exp: Simplify by using gdb_test.
11278 * gdb.base/funcargs.exp: Likewise.
11279
11280 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
11281 message is "".
11282
11283Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11284
11285 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
11286 return,signals,twice}.exp: Handle non-existant binaries
11287 consistantly.
11288
11289 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
11290 * gdb.base/Makefile.in: Don't try to generate a core dump, we
11291 might testing a cross development system.
11292
11293Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11294
11295 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
11296 runtest script is relative to ${srcdir}, not ${rootdir}.
11297
11298Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
11299
11300 * gdb.base/signals.exp: Allow for optionality of breakpoint
11301 address.
11302
11303Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11304
11305 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
11306
11307Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11308
11309 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
11310 for size_t definition.
11311 * gdb.c++/templates.cc: Likewise
11312
11313 * config/mt-i386-netware: New file.
11314
11315 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
11316 defined.
11317
11318 * gdb.base/Makefile.in: Added support for systems that name core
11319 files by appending "core" to the program name.
11320 * gdb.base/a1-selftest.exp: Likewise.
11321
11322Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11323
11324 * gdb.base/return.exp: Add comment and message for `return double'
11325 test failure on Sparc Solaris.
11326
11327Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
11328
11329 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
11330
11331Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11332
11333 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
11334 from optimizing them away.
11335 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
11336 patterns to include default constructors and assignment operators,
11337 to match gcc versions beyond 2.5.8. Accept any cplus demangling
11338 character in the output of the virtual base pointer.
11339
11340Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11341
11342 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
11343 expression match in print_addr_of to avoid unintented matches.
11344 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
11345 versions up to 2.5.8.
11346
11347Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11348
11349 * gdb.base/list.exp: Tweak alternate pattern for listing of an
11350 included file to run under newer versions of expect.
11351 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
11352 consecutive >'s in templates to accomodate recent cplus-dem.c change.
11353 Remove xfail for the virtual table of BDDHookV.
11354
11355Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
11356
11357 * lib/gdb.exp (string_to_regexp): Set a default result.
11358 (default_gdb_start): Fix misleading message.
11359
11360Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
11361
11362 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
11363 Remove all CC, etc definitions.
11364 * config/mt-hpux: New file.
11365 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
11366 (CFLAGS, LDFLAGS): Define.
11367 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
11368
11369 * Makefile.in (site.exp): Don't insert host_os, etc.
11370 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
11371 (distclean): Check existence of subdir.
11372 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
11373 * gdb.base/Makefile.in: General cleanup and simplification.
11374 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11375 to build executables. Use default rule to build .o files.
11376 (EXPECT, RUNTEST, CC): Fix relative pathname.
11377 (site.exp): Don't insert host_os, etc.
11378 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
11379 and/or SIGUSR1 defined.
11380 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
11381 * gdb.c++/Makefile.in: General cleanup and simplification.
11382 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11383 (CFLAGS): Remove.
11384 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
11385
11386Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
11387
11388 * gdb.base/recurse.exp: Misc changes to get tests running again
11389 after Kung's changes to the watchpoint code.
11390 * gdb.base/watchpoint.exp: Likewise.
11391
11392Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
11393
11394 * lib/gdb.exp (string_to_regexp): Convert {\} also.
11395
11396Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
11397
11398 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
11399 * lib/gdb.exp (default_gdb_start): Define.
11400 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
11401 gdb.base/funcargs.exp, gdb.base/opaque.exp,
11402 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
11403 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
11404 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
11405 Don't call gdb_target_udi in between tests.
11406
11407Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11408
11409 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
11410 (which was basically just a local version of the same thing). In
11411 addition to avoiding duplication, gdb_test_exact is faster.
11412 * lib/gdb.exp (gdb_test_exact): Fix typo.
11413
11414 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
11415 don't give an error.
11416
11417 * gdb.base/term.exp: Call delete_breakpoints before starting.
11418
11419 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
11420 (t10): Add comment.
11421
11422Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11423
11424 Reorganization of the GDB Test Suite.
11425
11426 * gdb.base: New directory, contains all the basic tests.
11427 * gdb.c++: New directory, tests specific to C++.
11428 * gdb.chill: New directory, tests specific to Chill.
11429 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
11430 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
11431 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
11432 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
11433 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
11434 t30-31 to chill).
11435 * */gdbme.*: Rename to match appropriate expect scripts.
11436 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
11437 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
11438 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
11439 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
11440 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
11441 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
11442 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
11443 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
11444 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
11445 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
11446 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
11447 gdb.c++/virtfunc.cc: New names of C++ files.
11448 * gdb.chill/chillvars.ch: New name of Chill file.
11449 * gdb.base/configure.in, gdb.c++/configure.in,
11450 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
11451 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
11452 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
11453 * configure.in (configdirs): Update to reflect directory changes.
11454 (target_abbrev): No longer define for any configuration.
11455 * Makefile.in: Cosmetic improvements to header comments.
11456
11457Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
11458
11459 Various changes to gdb.t31:
11460
11461 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
11462 * gdbme.ch: Make all key-words and predefineds be upper-case.
11463 * chillvars.exp: Expect key-words and predefinds in upper-case.
11464
11465 * chillvars.exp: Use gdb_test_exact many places.
11466 Change expected output for arrays (which now includes index labels).
11467
11468 * pr-5020.exp, gdme.ch (module PR_5020):
11469 New test, for PR-5020.
11470
11471Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
11472
11473 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
11474 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
11475
11476Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
11477
11478 * Makefile.in: Fix bit-rot in definitions of CHILL,
11479 CHILL_FOR_TARGET and Chill_LIB.
11480 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
11481 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
11482 CHILL, and CHILL_LIB.
11483
11484Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
11485
11486 * Revert the previous changes. Please see Rob's directory
11487 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
11488
11489Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
11490
11491 * Makefile.in, configure.in, config/mips-gdb.exp,
11492 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
11493 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
11494 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
11495 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
11496 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
11497 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
11498 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
11499 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
11500 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
11501 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
11502 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
11503 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
11504 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
11505 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
11506 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
11507 changes from 94Q1.
11508
11509Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
11510
11511 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
11512 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
11513 Rob's new testing fragments.
11514
11515Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
11516
11517 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
11518 lib/gdb.exp: Replace error proc calls with perror.
11519
11520Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11521
11522 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
11523 version also, match on casted version strings, and match on
11524 gdb startup case where the line numbers might be messed up.
11525
11526Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
11527
11528 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
11529 (CFLAGS): Delete it from here.
11530
11531Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
11532
11533 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
11534
11535Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
11536
11537 * Makefile.in (RUNTEST): Default to just "runtest".
11538
11539Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11540
11541 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
11542 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
11543 the code has been restructured.
11544
11545Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11546
11547 * gdb.t00/default.exp (set write): Allow any number of \r and/or
11548 \n, not just one of each.
11549
11550 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
11551 /bin/cc gives a warning if you do.
11552
11553Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
11554
d63a86f8 11555 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
11556 __t10ListS_link1ZUiRCUiPT0
11557
11558Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11559
11560 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
11561 on local variables in recursive functions.
11562
11563 * gdb.t07/Makefile.in: Build the new test.
11564
11565Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11566
11567 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
11568 directly. Instead compare the return values from actual calls.
11569
11570Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
11571
11572 * Makefile.in (check): Set TCL_LIBRARY for runtest.
11573
11574Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11575
11576 * From Peter Schauer with minor modifications.
11577 * gdb.t15/return.exp (return_tests): Handle targets where "return"
11578 stops in mid-line in the caller. Add xfail for returning a float
11579 value on X86 targets.
11580
11581Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11582
11583 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
11584 to avoid expect lossage.
11585 (fmem_LRbug_tests): Likewise.
11586 * gdb.disasm/hppa.s: Corresponding changes.
11587
11588 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
11589 conditions to work with latest dejagnu/expect.
11590
11591 * gdb.t15/funcargs.exp (finish from indirect call): No longer
11592 expected to fail on the PA.
11593 (backtrace in call with trampolines): Explicitly require main
11594 to be frame #1 (no trampolines should show up in backtrace).
11595
11596 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
11597 "continue -expect".
11598 * gdb.t06/break.exp: Likewise.
11599 * gdb.t07/watchpoint.exp: Likewise.
11600 * gdb.t13/bitfields.exp: Likewise.
11601 * gdb.t15/{funcargs,return}.exp: Likewise.
11602 * gdb.stabs/weird.exp: Likewise.
11603 * config/{mips,udi}-gdb.exp: Likewise.
11604
11605 * hppa.sed: Enclose comments within a sed command to avoid
11606 losing with the old OSF1 sed.
11607
11608Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11609
11610 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
11611 sequent dynix.
11612 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
11613 * gdb.t15/funcargs.exp: Conditionally step again to really
11614 finish from marker_call_with_trampolines. Handle the case where
11615 the first step from within call_with_trampolines already steps
11616 us back to main.
11617 * gdb.t15/gdbme.c: Add comment to closing brace of
11618 call_with_trampolines for funcargs.exp.
11619
11620Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11621
d63a86f8 11622 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
11623 Fix typo(s).
11624
11625Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11626
11627 * gdb.t07/gdbme.c: More code for watchpoint testing.
11628
11629 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
11630 "Hardware watchpoint" throughout file.
11631 (test_watchpoint_triggered_in_syscall): New test.
11632 (test_complex_watchpoint): New test.
11633
11634Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11635
11636 * gdbme.c (call_with_trampolines): New function to try and step
11637 into. Tests trampoline problems on the PA.
11638
11639 * funcargs.exp (localvars_in_indirect_call): No longer expect
11640 stepping into indirect call to fail on PAs.
11641 (test_stepping_over_trampolines): New test.
11642
11643Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11644
11645 * TODO: Add suggestions for static member function tests, and
11646 completion tests.
11647
11648Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11649
11650 * TODO: Add suggestions for "p/a" tests.
11651
11652 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
11653 (default_gdb_exit): Replace all the hair with sending "quit" to
11654 the process with a simple close.
11655
11656Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11657
11658 * TODO: Add suggestions for shared library tests.
11659
11660Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11661
11662 * TODO: Add suggestions for x/s tests.
11663
11664Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11665
11666 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
11667 "enable once", and "enable breakpoints once" with ".*".
11668
11669Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11670
11671 * TODO: Add suggestions about structure passing tests.
11672
11673Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11674
11675 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
11676 the primary1 test, use work around if __GNUC__ < 2.
11677 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
11678 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
11679 Test for bad output rather than waiting for timeout. Issue
11680 second continue only if first continue failed.
11681
11682Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11683
11684 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
11685 operator[] test with gdb_test because the old code didn't seem to
11686 be getting the quoting right with the new dejagnu.
11687
11688Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
11689
11690 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
11691 one from the path.
11692 * Makefile.in: Use a fresh expect if there is one, use runtest
11693 from the src tree if there is one.
d63a86f8 11694
c906108c
SS
11695Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11696
11697 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
11698 next over recursive call. Revise the tests from that point on
11699 (which had been skipped) to match GDB's actual (correct) output.
11700
11701 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
11702 with next over a breakpoint whose condition is false.
11703
11704 * gdb.t00/help.exp: Comment out "help set print" tests just like
11705 (and for same reason as) "help set" test.
11706
11707Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11708
11709 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
11710 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
11711
11712Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11713
11714 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
11715 necessary gdb_target_udi.
11716
11717 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
11718
11719 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
11720 1838 and 2417; they are fixed.
11721
11722 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
11723 gdb.t03/ptype.exp (ptype structure, ptype union):
11724 Remove xfails; the test is looser than when the xfails were added.
11725
11726 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
11727 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
11728
11729 * gdb.t01/run.exp: Only run shell test if isnative.
11730
11731 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
11732 since "run" automatically loads if necessary. Call gdb_target_udi
11733 after the "file" since "file" kills any execution target.
11734
11735 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
11736 GDB. GDB doesn't work that way (not anymore at least) on UDI.
11737 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
11738 argument for UDI.
11739
11740Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11741
11742 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
11743
11744 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
11745
11746Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11747
11748 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
11749 properly quoting regexps. This makes the second argument to
11750 demangle a fixed string, which matches the callers, instead of a
11751 shell-style pattern which is what the previous implementation
11752 used. Update some of the callers.
11753
11754Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11755
11756 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
11757 (comib_nullified_tests): Fix typo.
11758 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
11759 strings. No longer expected to fail.
11760
11761 * gdb.disasm/hppa.s (addib_tests): Fix typo.
11762 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
11763 strings. No longer expected to fail.
11764
11765 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
11766 string. No longer expected to fail.
11767
11768Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11769
11770 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
11771 No longer expected to fail.
11772
11773 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
11774 string. No longer expected to fail.
11775
11776Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11777
11778 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
11779 only in the names (I probably got most of them). I was even
11780 generous with some which differed in underscores in names, and
11781 probably missed a few, and I *still* was able to remove almost a
11782 third of the file with almost no impact on testsuite coverage.
11783
11784Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11785
11786 * gdb.t00/default.exp: Match udi_attach error message as well as
11787 the one from child_attach.
11788
11789 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
11790
11791 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
11792
11793 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
11794 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
11795
11796 * Move test with enums and partial symbols back to
11797 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
11798 Reverts the change of 26 May 93. Per today's change to
11799 stabs.texinfo, the behavior that weird.exp was expecting was
11800 unreasonable; what is important is that the compiler+gdb get
11801 things right, which happens with a recent gcc. Also fix the test
11802 to deal with native compilers which put out the stab gdb can't
11803 deal with.
11804
11805Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11806
11807 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
11808 in the names. The main thing these accomplish is to slow things down.
11809 Many more such duplicates surely remain.
11810
11811 * gdb.t00/help.exp: Comment out "help support" test just like
11812 (and for same reason as) "help set" test.
11813
11814Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
11815
11816 * gdb.t06/break.exp: Remove setup_xfails for
11817 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
11818 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
11819 about known bug in gcc to include up through 2.5.8.
11820 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
11821 well as "_vb$".
11822 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
11823 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
11824 with latest gcc and gdb.
11825 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
11826 well as "_vb$".
11827
11828Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11829
11830 * configure.in (hppa*-*-*): Also configure and build stabs-only
11831 tests.
11832
11833Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11834
11835 * gdb.t10/hppa.mt: A makefile fragment for the PA.
11836 * gdb.t10/configure.in (hppa*-*-*): Use it.
11837
11838Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11839
11840 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
11841
11842Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11843
11844 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
11845 versions prior to 1.13.5.
11846
11847Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11848
11849 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
11850 the prompt is at the start of a line.
11851
11852Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11853
11854 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
11855 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
11856 in the copr tests now.
11857 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
11858 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
11859 expected to fail.
11860
11861Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
11862
11863 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
11864 gdb.t31/chillvars.exp, lib/gdb.exp:
11865 Tweak to run under either version of expect.
11866 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
11867 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
11868 * gdb.t11/list.exp: Remove extraneous whitespace.
11869
11870Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11871
11872 * gdb.t16/printcmds.exp (test_print_strings): Accept
11873 "(unsigned char *) " before the string.
11874
11875 * TODO: Add notes about printing of fancy types and GDB expressions.
11876
11877Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
11878
11879 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
11880 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 11881 if doing mips-idt-ecoff.
c906108c
SS
11882
11883Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
11884
11885 * Most .exp files: Tweak to run under either version of expect.
11886
11887Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11888
11889 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
11890 xfails; I'm not sure why they are failing, but not because of PR 1806.
11891
11892Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
11893
11894 * config/unix-gdb.exp: Remove gdb_unload cause it's already
11895 defined in lib/gdb.exp.
11896
11897Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11898
11899 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
11900 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
11901 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
11902 have to be typeless.
11903
11904Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11905
11906 * TODO: Add suggestion for copyright year test.
11907
11908Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
11909
11910 * configure.in (*-*-lynxos*): Add stabs tests.
11911
11912Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
11913
11914 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
11915 so insert a tab before any assembler directive in column zero.
11916
11917 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
11918 stores.
11919 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
11920 stores.
11921 (fpu_short_memory_tests): Likewise.
11922
11923Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11924
11925 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
11926 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
11927 .stabs directives in comments.
11928
11929Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11930
11931 * TODO: New file, describing tests we could write.
11932 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
11933
11934Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11935
11936 * gdb.t06/signals.exp: Add kludge to force re-sync.
11937
11938 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
11939 to xgdb instead of gdb, get out of gdb.
11940
11941Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
11942
11943 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
11944 for info.
11945
11946Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
11947
11948 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
11949 * gdb.stabs/configure.in (hppa*-*-*): Use it.
11950 * gdb.stabs/hppa.sed: New sed script for the PA.
11951
11952Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11953
11954 * gdb.stabs: Re-write weird.def and configuration to use sed
11955 instead of cpp. sed is portable and POSIX; cpp is neither.
11956
11957Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11958
11959 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
11960
11961Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11962
11963 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
11964
11965Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11966
11967 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
11968 "_vb$".
11969 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
11970 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
11971
11972Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11973
11974 * lib/gdb.exp: Comment out code which depends on non-existent
11975 `transform' procedure.
11976
11977Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
11978
11979 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
11980 * lib/gdb.exp: Transform tool name.
11981 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
11982 1.1's new error handling system.
11983
11984Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11985
11986 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
11987
11988Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11989
11990 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
11991 They made pattern matching so slow that timeouts happened on
11992 heavily loaded systems. Now any output from "show print" which
11993 gets us back to the GDB prompt is a PASS.
11994
11995Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
11996
11997 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
11998
11999Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12000
12001 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
12002
12003 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
12004 It is not from PR 3220.
12005
12006Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12007
12008 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
12009 just started failing because they depended on the order the
12010 subcommands are presented, or exact docstring text. This kind of
12011 test is a pain and has minimal benefit.
12012
12013Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12014
12015 * gdb.t09/corefile.exp: At end of test, use "core" command with
12016 no arguments.
12017
12018Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
12019
12020 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
12021 17}/Makefile.in: Make it possible to run the testsuite with Sun
12022 make and CC = cross gcc by adding explicit build rules for .o
12023 files.
12024
12025Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12026
12027 * gdb.t15/funcargs.exp: Don't put comments on same line as
12028 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 12029
c906108c
SS
12030Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12031
12032 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
12033
12034Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
12035
12036 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
12037 * gdb.t20/inherit.exp: remove three dumplicate entries.
12038
12039Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12040
12041 * gdb.t06/break.exp: For "next over recursive call", fail on any
12042 incorrect output, not just on "factorial (value=2)".
12043
12044Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12045
12046 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
12047 working now. Add an xfail if accesing a bss variable causes
12048 a memory error if the target is not yet run.
12049
12050Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12051
12052 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
12053 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
12054 name of __st* demangling (2 strings). Did Kung really get the
12055 more than 95 others right without testing them?
12056
12057Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
12058
12059 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
12060
12061Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
12062
12063 * configure.in (configdirs): Add gdb.disasm
12064 * gdb.disasm: New directory for GDB disassembler tests.
12065 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
12066
12067Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12068
12069 * gdb.t00/help.exp: Don't test "help set".
12070
12071 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
12072 from within expect statements. None of these happen anymore and
12073 they cause regressions to be silently unnoticed.
12074
12075 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
12076 messages) about known failures with gcc cygnus-2.4.5-930417.
12077
12078 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
12079 comp-info.exp so it gets built if it doesn't exist.
12080
12081 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
12082 it is no longer used.
12083 * gdb.t13/comp-info.c: Removed.
12084
12085Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12086
12087 * gdb.t06/signals.exp: Add xfail for sun3.
12088
12089Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12090
12091 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
12092 relevant because ^C doesn't get sent but failure can be reproduced
12093 interactively).
12094
12095Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12096
12097 * gdb.stabs/alpha.mt: New configuration file for alpha.
12098 * gdb.stabs/configure.in: Use it.
12099 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
12100 sharing with alpha.mt, redefine long to word via preprocessor.
12101 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
12102 for alpha.
12103 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
12104 native cc.
12105 * gdb.t00/teststrategy.exp: Change expect string so that we
12106 consume the `(xgdb)' from the command echo and from the gdb prompt.
12107 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
12108 gdb currently compares all values as long, so this failure probably
12109 applies to any configuration where LONGEST is bigger than a target int.
12110 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
12111 with gcc.
12112 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
12113 to handle opaque pointers, gcc is.
12114 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
12115 as first argument. Include <sys/types.h> and change all operator
12116 new definitions to use size_t.
12117 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
12118 now that we use size_t.
12119
12120Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12121
12122 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
12123 a long or float array cast all array members to the same type.
12124 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
12125 with 64 bit longs.
12126 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
12127 on alpha.
12128 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
12129
12130Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12131
12132 * gdb.t24 (demangle.exp): Constructors of templates have names like
12133 vector<int>::vector(int) not vector<int>::vector<int>(int). See
12134 section 14.6 of the ARM.
12135
12136 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
12137 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
12138 accomplish little and slow down the testsuite.
12139
12140 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
12141 Accept spaces various places.
12142
12143Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12144
12145 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
12146 with watchpoint enabled.
12147
12148 * Makefile.in: Remove definition of CC and remove the second
12149 definition of CXX (the "CXX = gcc" one remains). These definitions
12150 were causing backquotes to be expanded within backquotes, which
12151 doesn't work.
12152
12153Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
12154
12155 * gdb.t17/callfuncs.exp: Add "return 0" to end.
12156
12157Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12158
12159 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
12160 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
12161 by mips cc and contains no stabs entries.
12162
12163Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
12164
12165 * config/vx-gdb.exp: Use fake device to load files rather than
12166 NFS.
12167 * lib/gdb.exp: New proc to do "file" command.
12168 * config/unix-gdb.exp: Use new "file" proc.
12169
12170Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12171
12172 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
12173 Rework board rebooting slightly.
12174 (gdb_exit): Don't exit from the remote shell; there isn't one.
12175 * gdb.stabs/weird.exp: If a program is being debugged already,
12176 kill it.
12177 * gdb.t04/setvar.exp: Stop and restart gdb.
12178 * gdb.t05/expr.exp: Likewise.
12179 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
12180 restart gdb and reload the program.
12181 * gdb.t08/opaque.exp: Likewise.
12182 * gdb.t12/scope.exp: Likewise.
12183 * gdb.t13/bitfields.exp: Likewise.
12184 * gdb.t15/funcargs.exp: Likewise.
12185 * gdb.t20/classes.exp: Likewise.
12186 * gdb.t03/ptype.exp: Increase timeout.
12187 * gdb.t16/printcmds.exp (test_print_string_constants,
12188 test_print_array_constants): Likewise.
12189 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
12190 * gdb.t20/classes.exp (do_tests): Likewise.
12191 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
12192
12193Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
12194
12195 * gdb.stabs: Renamed *wierd* to *weird*.
12196
12197Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12198
12199 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
12200 for timeout. Add "known gcc 2.4.5 bug" to failure message.
12201
12202Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12203
12204 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
12205 (do_tests): Remove xfail for whatis on one_var and two_var.
12206
12207Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
12208
12209 * Makefile.in: Made cross building work better by adding
12210 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
12211
12212Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12213
12214 * gdb.t15/{return.c,return.exp,Makefile.in}:
12215 New test, currently commented out.
12216
12217Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
12218
12219 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
12220 still running and removes the leftover named socket so GDb can do
12221 clean restarts.
12222
12223Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
12224
12225 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
12226 console, not GDB.
12227 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
12228 cross testing works better with "make check"
12229 * config/unix-gdb: Use default procedures for exit and version.
12230 * config/vx-gdb.exp: Cleaned up and massaged back to working order
12231 with the newest VxWorks.
12232
12233Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12234
12235 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
12236 old form.
12237
12238 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
12239 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
12240
12241 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
12242
12243 * config/unix-gdb.exp: Remove this version of gdb_exit
12244 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
12245 Rob says he'll look at it when he gets back to testing boards.
12246
12247Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
12248
12249 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
12250 an expected fail for certain ptype commands.
12251
12252 * gdb.t20/classes.exp: Update expected results of "ptype class
12253 Base1" to account for the constructor that now appears in the type.
12254
12255Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
12256
12257 * configure.in (configdirs): Restore gdb.t04, which mysteriously
12258 disappeared from list.
12259 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
12260 "alldone" proc with call to cleanup and exit.
12261 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
12262 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
12263 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
12264 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
12265 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
12266 "alldone" proc with simple returns that suppress remaining
12267 tests. The alldone proc went away many months ago.
12268
12269Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12270
12271 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
12272
12273 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
12274
12275Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12276
12277 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
12278 as vax gdb will display them.
12279
12280Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12281
12282 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
12283 optimizers.
12284
12285 * scope.exp: Change "bad value for localval" messages so each one
12286 is unique.
12287
12288 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
12289 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
12290
12291 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
12292
12293Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12294
12295 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
12296 doesn't exist (due to optimization).
12297
12298Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12299
12300 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
12301 contains \r because the filename is long.
12302
12303 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
12304 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
12305
12306Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12307
12308 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
12309 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
12310 Ultrix.
12311 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
12312 int tests.
12313 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
12314
12315Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
12316
12317 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
12318
12319 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 12320 to match does not match the passing case but still matches the
c906108c
SS
12321 failing case.
12322
12323Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12324
12325 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
12326
12327Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
12328
12329 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
12330 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
12331 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
12332 Remove various versions of gdb_exit.
12333 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
12334 gdb_exit.
12335 * config/unix-gdb.exp: gdb_exit remains here, and should override
12336 the generic version, since it's doing a lot of wierd stuff that
12337 the other versions aren't. FIXME, fold it in, or abandon this
12338 version.
12339
12340Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12341
12342 * gdb.t24/demangle.exp: Add tests for PR 3220.
12343
12344Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12345
12346 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
12347
12348Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
12349
12350 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
12351 "i386-*-*". Works for i486 as well.
12352
12353 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
12354 bug, and expand domain of xfail to all SVR4 systems, since the
12355 actual problem is likely to be in generic SVR4 /proc support.
12356
12357Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12358
12359 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
12360
12361Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
12362
12363 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
12364 xfails for other systems. Match a missing 'Continuing.' as an
12365 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
12366
12367 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
12368 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
12369 Only issue warning for missing executables if -all option is used.
12370
12371 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
12372 file if -all option is used. It's like an unpredictable XFAIL.
12373
12374Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12375
12376 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
12377 for dynamically linked binaries.
12378
12379 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
12380
12381Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12382
12383 * gdb.t20/inherit.exp: Change message for "print tagless struct"
12384 to state that this is a known bug in old versions of g++.
12385
12386Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12387
12388 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
12389 while waiting for `Continuing'.
12390
12391Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
12392
12393 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
12394 in text, data, and bss.
12395 * gdb.t10/nodebug.c: Add local and global test variables for
12396 initialized and uninitialized data.
12397
12398Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12399
12400 * config/unix-gdb.exp (gdb_exit): Add "wait".
12401
12402Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12403
12404 * gdb.t06/signals.exp: xfail the continue from the handler for all
12405 targets.
12406
12407 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
12408 function with watchpoints enabled, the i386 call dummy starts with
12409 a call.
12410
12411 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
12412 386 bsd names its corefiles.
12413
12414Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
12415
12416 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
12417 compilers don't grok it.
12418 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
12419 with small octal ints rather than character constants, which
12420 are signed and might not fit if first promoted to int.
12421
12422Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
12423
12424 * gdb.t09/Makefile.in (clean): Remove corefile.
12425
12426Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12427
12428 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
12429
12430Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12431 and Jim Kingdon (kingdon@cygnus.com)
12432
12433 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
12434 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
12435 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
12436
12437Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12438
12439 * gdb.t17/interrupt.exp: Add xfail for hppa.
12440
12441Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12442
12443 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
12444 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
12445 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
12446 to determine signed-ness of bitfields and use the result to setup
12447 the xfail.
12448 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
12449 * gdb.t15/funcargs.exp: Use them to step until the second indirect
12450 call line is reached if necessary.
12451
12452Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12453
12454 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
12455
12456Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12457
12458 * gdb.t06/break.exp: Also test `clear' command.
12459
12460Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12461
12462 * gdb.t00/teststrategy.exp: Remove extra quote.
12463
12464 * gdb.t07/watchpoint.exp: Change xfail for calling function with
12465 watchpoint enabled to be for all non-68k machines.
12466
12467 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
12468
12469Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12470
12471 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
12472 targets use aout.mt instead of ecoff.mt as gas understands
12473 standard aout format.
12474
12475Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12476
12477 * lib/gdb.exp (runto): Don't insist that function we are running to
12478 was compiled with -g.
12479
12480 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
12481
12482 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
12483 to get back into the read system call.
12484 Accept leading newline in case where we woke it up.
12485
12486Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12487
12488 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
12489 to make the stabs test work on ecoff systems using gcc and -with-stabs.
12490 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
12491 enable ecoff configuration.
12492
12493Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12494
12495 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
12496
12497Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12498
12499 * gdb.t16/printcmds.exp: Add another printf test.
12500
12501Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
12502
12503 * configure.in: If configured -with-stabs on any target, add
12504 stabsdirs to configdirs.
12505
12506Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12507
12508 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
12509 fun" so pattern does not match the command itself.
12510
12511Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12512
12513 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
12514
12515Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12516
12517 * gdb.t17/interrupt.exp: Test for more things.
12518
12519Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12520
12521 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
12522 compiler arranges the code and line numbers.
12523
12524 * gdb.t17/interrupt.exp: Don't send \n after ^C.
12525
12526Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12527
12528 * gdb.t00/help.exp: Increase expect input buffer size.
12529
12530Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12531
12532 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
12533
12534 * gdb.t07/watchpoint.exp: Add xfail for hppa.
12535
12536 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
12537
12538 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
12539 [0-9]*, not just [0-9].
12540
12541Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12542
12543 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
12544
12545 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
12546
12547Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12548
12549 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
12550
12551Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12552
12553 * gdb.t06/signals.c: Add xfails for sun3.
12554
12555 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
12556
12557 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
12558 test_stepping tests.
12559
12560Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12561
12562 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
12563
12564 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
12565
12566 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
12567 rather than actually putting it through cpp twice.
12568
12569 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
12570
12571Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
12572
12573 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
12574 no longer needed.
12575
12576Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12577
12578 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
12579
12580 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
12581 C++ features prints as "struct", make it a pass, not an xfail.
12582
12583Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12584
12585 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
12586 Don't require VA to print as "class" rather than "struct".
12587
12588Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
12589
12590 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
12591
12592Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12593
12594 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
12595
12596Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12597
12598 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
12599 order.
12600
12601Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12602
12603 * gdb.t16/printcmds.exp: Add printf tests.
12604
12605 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
12606
12607 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
12608
12609Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
12610
12611 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
12612 pass counts, to counteract any existing or future setup_xfails.
12613
12614Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12615
12616 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
12617 {BEGIN,END}_COMMON for common block instead of STAB.
12618 * gdb.stabs/wierd.exp: Add xfail for rs6000.
12619
12620 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
12621 intp_var should be N_GSYM not N_LSYM.
12622 wierd-aout.S: Use a label for the value of the N_SO.
12623 wierd.def: Remove all backslashes.
12624 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
12625
12626Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12627
12628 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
12629 get the expected next to inheritance3.
12630
12631Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12632
12633 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
12634 now that gcc-2.4 gets it right.
12635
12636Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12637
12638 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
12639
12640 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
12641 generating comp-info.exp which works for cross-compilation.
12642
12643Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
12644
12645 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
12646 "*-*-sysv4.*".
12647
12648Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
12649
12650 * gdb.t01/run.exp: Start with a fresh gdb.
12651 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
12652 SVR4.x.
12653
12654Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
12655
12656 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
12657 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
12658 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
12659 Makefile.in (distclean, realclean): Remove gdbme.c from list of
12660 things to remove.
12661
12662Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
12663
12664 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
12665 test cases from bug reports.
12666
12667Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
12668
12669 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
12670 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
12671 avoid spurious xfails.
12672 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
12673 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
12674 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
12675
12676Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
12677
12678 * gdb.t00/teststrategy.exp: Rework to provide more useful
12679 description of each test, fix problem with systems that define
12680 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
12681 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
12682 results for "next over recursive call" so timeouts aren't taken
12683 by error.
12684
12685Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
12686
12687 * gdb.t12/scope.exp: Test printing of variables before run.
12688
12689 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
12690 printed in wrong order due to sorting.
12691
12692Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
12693
12694 * gdb.t00/teststrategy.exp: Fix expected results for printing
12695 user entered string constant. Is array of char, prints with no
12696 address.
12697
12698 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
12699 commands.
12700 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
12701 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
12702 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
12703 of struct of char arrays.
12704 * gdb.t00/radix.exp: New tests for radix commands.
12705
12706Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
12707
12708 * gdb.t16/printcmd.exp: Print a variable before running program
12709 (with xfail for AIX).
12710
12711Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
12712
12713 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
12714
12715 * gdb.t16/printcmd.exp: Don't print variables before running program.
12716
12717 * gdb.t06/break.exp: Don't require envp argument to main.
12718
12719 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
12720
12721 * gdb.t02/whatis.exp, gdb.t11/list.exp:
12722 Add xfails for rs6000.
12723
12724 * gdb.t02/whatis.exp: Change other tests not to re-test something
12725 we already tested.
12726
12727 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
12728 each type used has a variable of that type.
12729
12730Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
12731
12732 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
12733
12734Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
12735
12736 * configure.in: change srctrigger to be a file, not a directory
12737
12738Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
12739
12740 * configure.in (mips-idt-ecoff*): Added trailing '*'.
12741
12742 * gdb.t11/list.exp: Fixed a couple of typos.
12743
12744Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
12745
12746 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
12747 is fixed and PR is closed.
12748 * gdb.t16 (gdbme.c): Add simple test string variable.
12749 * gdb.t16 (printcmds.exp): Add tests with simple test string
12750 variable, primarily for boundaries on "set print elements".
12751
12752Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
12753
12754 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
12755 Make leading 0's optional and don't expect a tab in the middle
12756 of the number.
12757
12758 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
12759
12760 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
12761 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
12762 don't end command passed to gdb_test with newline.
12763
12764 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
12765 signed keyword away, don't expect signed bitfields to be signed.
12766
12767 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
12768 printing with only as many 1's as are in the field as well as printing
12769 with 32 1's (see comment).
12770
12771Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
12772
12773 * gdb.t00/default.exp: Start with a fresh gdb.
12774 * configure.in (configdirs): Remove gdb.t31 until the chill
12775 compiler works again. It no longer is able to find chillrt0
12776 since it isn't in libchill.a anymore.
12777 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
12778 wierd.o, make more modular.
12779 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
12780 spurious newlines that caused problems.
12781
12782Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12783
12784 * Move test with enums and partial symbols from gdb.t03/ptype.exp
12785 to gdb.stabs/wierd.exp since GCC has worked around the bug.
12786 gdb.stabs/wierd.{exp,def}: Many new tests.
12787
12788 * gdb.t00/default.exp: update info line for new message.
12789
12790 * gdb.t02/{whatis.exp,gdbme.c}:
12791 Test that "char *" doesn't print as "caddr_t".
12792
12793Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12794
12795 * gdb.t00/help.exp: Use .* in place of some help messages which
12796 just changed.
12797 gdb.t00/default.exp: Update "info frame" test for new message.
12798 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
12799 Remove some xfails
12800
12801Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12802
12803 * gdb.t03/{gdbme.c,ptype.exp}:
12804 Add tests for typedef'd struct and union without tags.
12805 Also check "whatis" on a variable of a typedef'd enum without a tag.
12806
12807 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
12808 PRMS 1823; the bug still exists but isn't reproduced by this test
12809 anymore), and remove rs6000 XFAIL (the bug is fixed).
12810
12811 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
12812 duplicated from whatis.exp. For those that are left, accept
12813 "long", "long int", or "int" for long variables (whatis.exp already
12814 has an XFAIL for "int", so no need to fail it here).
12815
12816 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
12817 Deal with GCC's names for types now that GDB uses the compiler's names.
12818
12819 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
12820 setup_xfail's for sunos4. If we #defined the signed keyword away,
12821 don't expect GDB to know that char it is signed.
12822
12823 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
12824
12825Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
12826
12827 * configure.in (configdirs): Add gdb.t24 for C++ tests that
12828 should work on any system, regardless of debugging format.
12829 * gdb.t21/demangle.exp: Move to gdb.t24.
12830 * gdb.t24/demangle.exp: Move from gdb.t21.
12831 * gdb.t24/{Makefile.in, configure.in}: New files.
12832
12833Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12834
12835 * configure.in: Do gdb.stabs and C++ tests only for stabs.
12836 * gdb.stabs: New directory.
12837
12838Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12839
12840 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
12841 not just "Quit anyway?".
12842
12843Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
12844
12845 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
12846 that all setup_xfails are immediately followed by clear_xfails.
12847
12848Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
12849
12850 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
12851 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
12852 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
12853 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
12854 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
12855 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12856 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
12857 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
12858 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
12859 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
12860 gdb.t31/chillvars.exp, lib/gdb.exp:
12861 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
12862 bug-gdb@prep.ai.mit.edu.
12863
12864Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
12865
12866 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
12867 with 0.0, not integer 0.
12868
12869Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
12870
12871 * gdb.t06/break.exp: Update for "Kill the program" message change.
12872
12873Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
12874
12875 * Makefile.in (GDBFLAGS): Set to -nx.
12876 * Makefile.in (site.exp): Use GDBFLAGS.
12877
12878Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
12879
12880 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
12881 Makefiles.
12882 (check): depend on just-check.
12883 (just-check): added so that tests can be run without a noop
12884 build pass.
12885
12886Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
12887
12888 Switch to using configure's configdirs.
12889 * Makefile.in (Makefile): add configure.in dependency.
12890 (SUBDIRS): removed redundant assignment.
12891 * configure.in: switch subdirs assignment to configdirs.
12892 * gdb.t*/configure.in: new files.
12893
12894Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
12895
12896 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
12897 works.
12898
12899Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
12900
12901 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
12902 in explicit rules. Apparently this is not supported by some makes.
12903
12904Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
12905
12906 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
12907
12908Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12909
12910 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
12911 disappeared.
12912
12913Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
12914
12915 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
12916
12917Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
12918
12919 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
12920 watchpoint problem that is now fixed.
12921 * gdb.t30/chexp.exp: Remove setup_xfail for printing
12922 uninitialized convenience variables.
12923 * gdb.t31/chillvars.exp: Fix expected patterns for printing
12924 structures.
12925
12926Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12927
12928 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
12929 which causes expect to get out of sync with gdb on long output
12930 from help set.
12931 * gdb.t09/corefile.exp: Make expected pattern for core file
12932 failing signal and frame output format less sun specific.
12933
12934Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
12935
12936 * gdb.t31/chillvars.exp: Add and remove initial dummy
12937 breakpoint, so that symbol table is forced in.
12938 (Needed at least on Sunos4, though it seems not SVR4.)
12939 * gdb.t31/chillvars.exp: Update for changed output format.
12940
12941Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
12942
12943 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
12944
12945Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
12946
12947 * Makefile.in: Added --srcdir when invoking runtest, removed the
12948 need for a local config file. (optional now)
12949
12950Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
12951
12952 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
12953 failure count used to force early termination. Add some more
12954 expected failures for gnu style demangling.
12955
12956Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12957
12958 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
12959 pmi variable from gdb.t20/gdbme to get optimized away.
12960 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
12961 Check for written corefile upon timeout _and_ eof.
12962
12963Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12964
12965 * config/unix-gdb.exp: Add missing return 0.
12966
12967Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12968
12969 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
12970 test termination.
12971
12972Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
12973
12974 * configure.in (subdirs): Put back gdb.t17 which mysteriously
12975 disappeared.
12976
12977Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
12978
12979 * gdb.t10/crossload.exp: Disable the i860-elf test until such
12980 time as i860 support works.
12981
d63a86f8 12982 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
12983 "backtrace 100\r" rather than just "backtrace\r", to match last
12984 change.
12985
12986Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
12987
12988 * config/udi-gdb.exp (gdb_exit): Remove close command.
12989 (gdb_target_udi): New procedure to set the UDI target.
12990 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
12991 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
12992 Added waits for prompts after several question responses. Added
12993 some more responses used by a29k-amd-udi-gdb.
12994 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
12995 pass different arguments, restart UDI connection after program
12996 completion.
12997 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
12998 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
12999 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
13000 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
13001 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
13002 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
13003 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13004 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
13005 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
13006 after program completion.
13007 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
13008 compiled with a SELECT_VECS setting.
13009 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
13010 infinite recursion.
13011
13012 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
13013 Added checks for COFF results, and made them expected failures for
13014 all targets. It would be better to make them expected failures
13015 for COFF targets only.
13016
13017Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
13018
13019 * Makefile.in: add null dvi target, don't bother to recurse
13020 through test directories for info and install-info; rename
13021 $(datadir) to be dejagnu instead of deja-gnu
13022
13023Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
13024
13025 * gdb.t31/gdbme.ch: Re-enable code that previously caused
13026 compiler to coredump.
13027 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
13028 code.
13029
13030Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
13031
13032 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
13033 coredump.
13034 * gdb.t31/chillvars.exp: Comment out tests that depend on that
13035 code.
13036
13037Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
13038
13039 * gdb.t03/ptype.exp: tests for return code from gdb_test.
13040 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
13041 which in a shell. Deletes xgdb when done.
13042 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
13043 Tests the return from the "set height" or "set width" commands.
13044 Added a few return codes where needed.
13045
13046Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
13047
13048 * Makefile.in (SUBDIRS): Add gdb.t17.
13049 * configure.in (subdirs): Add gdb.t17.
13050 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
13051 files to test gdb's calling of functions in the inferior with
13052 the correct arguments and gdb's ability to retrieve any
13053 result returned.
13054
13055Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
13056
13057 * config/unix-gdb.exp (gdb_exit): Remove close commands that
13058 may be called after gdb goes away. Previous versions of expect
13059 needed these to avoid file descriptor leaks, but they cause
13060 errors with the current revision of expect.
13061 * gdb.t00/gdbvars.exp: Use -re on expected output after
13062 setting sevenbit-strings.
13063 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
13064 to set sevenbit-strings consistent across tests.
13065 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
13066 set sevenbit-strings consistent across tests.
13067
13068Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
13069
13070 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
13071 expected output to match current "expect" expectations.
13072
13073Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
13074
13075 * gdb.t00/default.exp: Change expected output for default "source"
13076 command, to match new gdb behavior which requires a filename to
13077 source.
13078
13079Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
13080
13081 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
13082 expected fail for i486-*-* that misses the marker2 function.
13083 * gdb.t10/crossload.exp (bfddefault): Allow successful
13084 recognition of a format to pass even if no symbols are found.
13085 Explicitly catch failures where the format is not recognized
13086 or is ambiguous, and add the reason to the fail message.
13087 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
13088 the cause is and invalid target and add reason to failure message.
13089 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
13090 elf32-i386, elf32-sparc, and elf32-i860.
13091 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
13092 Set up expected failure for 'filename'::variable scope resolution,
13093 which is now apparently broken on all targets.
13094 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
13095 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
13096 gdb.t23/templates.exp: Change failure for missing binfile into
13097 just a warning.
13098 gdb.t21/demangle.exp: Change all cfront references to 'arm'
13099 references.
13100
13101Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
13102
13103 * gdb.t00/default.exp: Add expected output for default "source"
13104 command, to match new gdb behavior.
13105 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
13106
13107Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
13108
13109 * config/*-gdb.exp: returns an error, rather than exiting on
13110 internal errors.
13111
13112Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
13113
13114 * gdb.t03/gdbme.c: Add pointer to struct variable.
13115 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
13116 referencing struct members.
13117
13118Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
13119
13120 * configure.in (mips-idt-ecoff): New target.
13121 * config/mips-gdb.exp: New file for remote board using MIPS remote
13122 debugging protocol.
13123
13124 * Redid configuration scheme. Removed gdb.t*/configure.in.
13125 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
13126 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
13127 distclean targets. Built executables via .o files. Adjusted
13128 tests to account for source files in $(srcdir) rather than
13129 $(objdir).
13130 * lib/gdb.exp (runto): Don't expect () after the function name,
13131 because it may have arguments.
13132
13133Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
13134
13135 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
13136 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
13137 expected failures for mips-idt-* and mips-sgi-*.
13138 * gdb.t00/default.exp (attach): Kill process if requested.
13139 * gdb.t00/help.exp (help target core, help target): Accept a gdb
13140 that does not read core files.
13141 * gdb.t01/run.exp: Removed checks for exit status code.
13142 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
13143 it is linked in.
13144 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
13145 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
13146 appropriate, rather than doing it by hand.
13147 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
13148 execution.
13149 * gdb.t10/crossload.exp: Kill existing program if needed.
13150 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
13151 appropriate, rather than doing it by hand. Always increase
13152 timeout for this test, not just for VxWorks.
13153
13154Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
13155
13156 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
13157 of Chill STRUCT types and STRUCT values.
13158 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
13159 than "char".
13160 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 13161 struct2): New struct definitions and initializations to test
c906108c
SS
13162 simple Chill STRUCT types.
13163
13164Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
13165
13166 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
13167 the null byte at the end of strings.
13168 * gdb.t00/default.exp: Make show version insensitive to copyright
13169 date.
13170 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
13171 to avoid dependencies on target char signedness.
13172 * gdb.t16/printcmds.exp: Update expected results for explicitly
13173 unsigned char.
13174 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
13175 now work.
13176 * gdb.t21/demangle.exp: Add many more patterns for template
13177 demangling, most of them being expected failures.
13178 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
13179 string we are matching for, to match on the whole string.
13180 * gdb.t21/demangle.exp: Add many new test strings to demangle,
13181 and fix a whole bunch that had incorrect expected output but were
13182 passing anyway because of the bug in "proc demangle".
13183 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
13184 type.
13185 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
13186
13187Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
13188
13189 * gdb/testsuite: made modifications to testcases, etc., to allow
13190 them to work properly given the reorganization of deja-gnu and the
13191 relocation of the testcases from deja-gnu to a "tool" subdirectory.
13192
13193Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
13194
13195 * gdb/testsuite: Initial creation of gdb/testsuite.
13196 Migrated dejagnu testcases and support files for testing nm to
13197 gdb/testsuite from deja-gnu. These files were moved "as is"
13198 with no modifications. This migration is part of a major overhaul
13199 of dejagnu. The modifications to these testcases, etc., which
13200 will allow them to work with the new version of dejagnu will be
13201 made in a future update.
48efe704 13202
8d8cb839 13203 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 13204\f
8d8cb839
EZ
13205;; Local Variables:
13206;; mode: change-log
13207;; left-margin: 8
13208;; fill-column: 74
13209;; version-control: never
13210;; End:
902f2ccb
MC
13211
13212 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
13213 2003, 2004 Free Software Foundation, Inc.
13214 Copying and distribution of this file, with or without modification,
13215 are permitted provided the copyright notice and this notice are preserved.