]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
* MAINTAINERS: Revert h8300 state to un-deleted.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f07e55f0
PG
12005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
2
3 * gdb.base/shlib-call.exp: Change to use new shared library
4 infrastructure.
5
3cbba3d1
PG
62005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
7
8 * gdb.base/pending.exp: Change to use new shared library
9 infrastructure.
10
ed6df200
PG
112005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12
13 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
14 use test_compiler_info instead of gcc_compiled, and update copyright.
15
8c8f4ebe
PG
162005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
17
18 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19 shared objects being adjusted and update copyright years.
20
607fbc54
DJ
212005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
22
23 * ChangeLog: Correct some 2003-01-13 dates.
24 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
25 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
26 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
27 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
28 gdb.trace/tfind.exp: Update copyright years.
29
57bf0e56
DJ
302005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
31 Daniel Jacobowitz <dan@codesourcery.com>
32
33 * lib/gdb.exp (gdb_compile): Handle shlib=.
34 (gdb_compile_shlib): New function.
35
9b593790
PG
362005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
37
38 * lib/gdb.exp (test_compiler_info): Give argument a default value.
39
9494c6a5
DJ
402005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
41
42 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
43 gdb.server.
44 * configure.ac: Likewise.
45 * configure: Regenerated.
46 * gdb.gdbserver/Makefile.in: Moved to...
47 * gdb.server/Makefile.in: ... here.
48 * gdb.gdbserver/server.c: Moved to...
49 * gdb.server/server.c: ... here.
50 * gdb.gdbserver/server-run.exp: Moved to...
51 * gdb.server/server-run.exp: ... here.
52
6f8eac0e
DJ
532005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
54
55 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
56 * configure.ac: Create gdb.gdbserver/Makefile.
57 * configure: Regenerated.
58 * lib/gdbserver-support.exp: New file, derived from
59 config/gdbserver.exp.
60 * config/gdbserver.exp: Use gdbserver-support.exp.
61 * gdb.gdbserver/Makefile.in: New file.
62 * gdb.gdbserver/server.c: New file.
63 * gdb.gdbserver/server-run.exp: New file.
64
6e87504d
PG
652005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
66
67 * lib/gdb.exp (test_compiler_info): Return compiler_info
68 if no arguments are given.
69
d1779be4
PG
702005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
71
72 * gdb.arch/altivec-abi.exp: Check for compiler and set
73 use altivec' flag accordingly.
74 * gdb.arch/altivec-regs.exp: Likewise.
75
88750304
DJ
762005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
77
78 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
79
f3fb768d
AS
802005-03-27 Andreas Schwab <schwab@suse.de>
81
82 * gdb.base/bigcore.c (main): Add missing mode argument in open
83 call.
84
7e813ac5
DJ
852005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
86
87 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
88 downloads.
89 * config/gdbserver.exp (gdb_load): Likewise.
90
8e3049aa
PB
912005-03-14 Paul Brook <paul@codesourcery.com>
92
93 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
94 targets.
95
a9df7c44
JB
962005-03-09 Joel Brobecker <brobecker@adacore.com>
97
98 * gdb.dwarf2/dup-psym.S: New file.
99 * gdb.dwarf2/dup-psym.exp: New testcase.
100
9f0d94e8
JB
1012005-03-09 Joel Brobecker <brobecker@adacore.com>
102
103 * gdb.ada/exec_changed/first.adb: New file.
104 * gdb.ada/exec_changed/second.adb: New file.
105 * gdb.ada/exec_changed.exp: New testcase.
106
5f579bc5
NS
1072005-03-08 Nathan Sidwell <nathan@codesourcery.com>
108
36e9969c
NS
109 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
110 (A2): New class.
111 (main): Test operator+.
112 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
113 breakpoint test.
114
5f579bc5
NS
115 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
116 * gdb.base/signull.exp: Disable if gdb,nosignals.
117 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
118 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
119 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
120 * gdb.mi/mi2-console.exp: Likewise.
121 * gdb.trace/collection.exp (run_trace_experiment): Consume the
122 continue output at start.
123 (gdb_collect_locals_test): Robustify regexp.
124 * gdb.trace/passc-dyn.exp: Fix comment typo.
125 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
126
be46087e
CV
1272005-03-08 Corinna Vinschen <vinschen@redhat.com>
128
129 * gdb.asm/asm-source.exp: Add iq2000 case.
130 * gdb.asm/iq2000.inc: New file.
131
384e1a61
MI
1322005-03-07 Manoj Iyer <manjo@austin.ibm.com>
133
134 * gdb.base/command.exp: Change hardcoded value to regular expression.
135 * gdb.base/float.exp: Add powerpc to the list of targets checked.
136
584b6e9e
DJ
1372005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
138
139 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
140 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
141 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
142 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
143 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
144
ab5b5d61
MK
1452005-03-05 Mark Kettenis <kettenis@gnu.org>
146
147 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
148 changes.
149
ae051c1b
PG
1502004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
151
152 * lib/compiler.c: Add test for IBM's xlc compiler.
153 * lib/compiler.cc: Likewise.
154
3f0f6ed2
JB
1552004-02-24 Joel Brobecker <brobecker@adacore.com>
156
157 * gdb.ada/fixed_points.exp: Create compilation object directory
158 before running the test.
159 * gdb.ada/null_record.exp: Likewise.
160 * gdb.ada/packed_array.exp: Likewise.
161 * gdb.ada/start.exp: Likewise.
162
724f452b
JB
1632005-02-15 Joel Brobecker <brobecker@adacore.com>
164
165 * gdb.ada/packed_array/pa.adb: New file.
166 * gdb.ada/packed_array.exp: New testcase.
167
57f5cdfb 1682005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 169
1f393151
MK
170 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
171 files.
172
ebdda337
MK
173 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
174 on *-*-openbsd*. Correctly match whitespace in regukar
175 expressions.
176
cf309262
DJ
1772005-02-10 Daniel Jacobowitz <dan@debian.org>
178
179 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
180 PR exp/1821
181 * gdb.base/gdb1821.c: New test file.
182 * gdb.base/gdb1821.exp: New test file.
183
3be49e7a
JB
1842005-02-09 Joel Brobecker <brobecker@adacore.com>
185
186 * gdb.base/start.c: New file.
187 * gdb.base/start.exp: New testcase.
188
e292e67d
JB
1892005-02-09 Joel Brobecker <brobecker@adacore.com>
190
191 * gdb.ada/start/dummy.adb: New file.
192 * gdb.ada/start.exp: New testcase.
193
dbdfa66c
CV
1942005-02-09 Corinna Vinschen <vinschen@redhat.com>
195
196 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
197 for printing symbols and statistics.
198 Add test for using relative pathnames in "maint print msymbols" test.
199 Mark "maint info sections DATA" XFAIL on Cygwin.
200 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
201 tests.
202
d7941671
AC
2032005-02-09 Andreas Schwab <schwab@suse.de>
204
205 Committed by Andrew Cagney <cagney@gnu.org>
206 * gdb.base/remotetimeout.exp: New file.
207
74e5ef44
MK
2082005-02-07 Mark Kettenis <kettenis@gnu.org>
209
210 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
211
464dd14d
JB
2122005-02-03 Joel Brobecker <brobecker@adacore.com>
213
214 * gdb.ada/gnat_ada.gpr: New file.
215 * gdb.ada/gnat_ada.gin: Delete, no longer used.
216 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
217 * configure.ac: No longer generate gnat_ada.gpr.
218 * configure: Regenerate.
219 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
220 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
221 * gdb.ada/null_record/bar.ads: Likewise.
222 * gdb.ada/null_record/bar.adb: Likewise.
223 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
224 * gdb.ada/null_record.exp (testdir): New variable.
225 (testfile): executable is now in testdir subdirectory.
226 (srcfile): Use full path to the main compilation unit.
227 * gdb.ada/fixed_points.exp: Same changes as above.
228
30d756ae
NR
2292005-02-03 Nick Roberts <nickrob@snap.net.nz>
230
231 * gdb.base/interp.exp: New test.
232
9d799f85
AC
2332005-01-24 Andrew Cagney <cagney@gnu.org>
234
235 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
236
15656118
AC
2372005-01-19 Andrew Cagney <cagney@gnu.org>
238
a892c31b
AC
239 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
240 configure.ac not configure.in.
241
15656118
AC
242 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
243 of powerpc*-*-*.
244 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
245 * gdb.base/list.exp (test_list_function)
246 (test_list_filename_and_function): Ditto.
247 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
248
a7b01baf
AC
2492005-01-16 Andrew Cagney <cagney@gnu.org>
250
17d92a02
AC
251 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
252
a7b01baf
AC
253 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
254
bc8332bb
AC
2552005-01-14 Andrew Cagney <cagney@gnu.org>
256
257 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
258 * gdb.mi/mi2-var-cmd.exp: Ditto.
259
4d074752
CV
2602005-01-10 Corinna Vinschen <vinschen@redhat.com>
261
262 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
263
bec39cab
AC
2642005-01-07 Andrew Cagney <cagney@gnu.org>
265
266 * configure.ac: Rename configure.in, require autoconf 2.59.
267 * configure: Re-generate.
268 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
269 * gdb.stabs/configure: Re-generate.
270 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
271 * gdb.hp/configure: Re-generate.
272 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
273 autoconf 2.59.
274 * gdb.hp/gdb.objdbg/configure: Re-generate.
275 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
276 autoconf 2.59.
277 * gdb.hp/gdb.defects/configure: Re-generate.
278 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
279 autoconf 2.59.
280 * gdb.hp/gdb.compat/configure: Re-generate.
281 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
282 autoconf 2.59.
283 * gdb.hp/gdb.base-hp/configure: Re-generate.
284 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
285 autoconf 2.59.
286 * gdb.hp/gdb.aCC/configure: Re-generate.
287
f10b16d4
JB
2882004-12-15 Jim Blandy <jimb@redhat.com>
289
290 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
291 under NPTL when there is debugging info available for libpthread.
292
fb6e1814
JG
2932004-12-13 Jerome Guitton <guitton@gnat.com>
294
295 * gdb.ada/fixed_points.c: New file.
296 * gdb.ada/fixed_points.exp: New file.
297
fe46cd3a
RC
2982004-12-03 Randolph Chung <tausq@debian.org>
299
300 * gdb.arch/pa-nullify.exp: New file.
301 * gdb.arch/pa-nullify.s: New file.
302
8de0841b
RC
3032004-11-30 Randolph Chung <tausq@debian.org>
304
305 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
306 instead of "tbug". Fix regexp to work properly with gdb_test.
307
c8170782
PH
3082004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
309
310 * gdb.base/bitfields2.exp: New test.
311 * gdb.base/bitfields2.c: New file.
312
954269c2
RE
3132004-11-28 Richard Earnshaw <rearnsha@arm.com>
314
315 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
316
0107feed
RC
3172004-11-16 Randolph Chung <tausq@debian.org>
318
319 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
320
f073ae8c
DJ
3212004-11-14 Daniel Jacobowitz <dan@debian.org>
322
323 * gdb.threads/threadapply.exp: Correct "macro details" test.
324
19ad59e7
JJ
3252004-11-11 Jeff Johnston <jjohnstn@redhat.com>
326
327 * gdb.threads/threadapply.exp: New test.
328 * gdb.threads/threadapply.c: New file.
329
9cf0961b
MK
3302004-11-07 Mark Kettenis <kettenis@gnu.org>
331
332 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
333 frames.
334
c789492a
FL
3352004-11-05 Felix Lee <felix+log1@specifixinc.com>
336
337 * gdb.base/cursal.exp: New file.
338 * gdb.base/cursal.c: New file.
339
a1e167bb
AC
3402004-11-03 Andrew Cagney <cagney@gnu.org>
341
342 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
343
b7cbf173
MK
3442004-10-30 Mark Kettenis <kettenis@gnu.org>
345
346 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
347 NetBSD/ELF targets.
348
88f9d34f
JB
3492004-10-29 Joel Brobecker <brobecker@gnat.com>
350
351 * gdb.threads/bp_in_thread.c: New file, copied from
352 pthread_cond_wait.c.
353 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
354 file, rather than reusing the .c file from another testcase.
355
ca7d6a0c
JB
3562004-10-20 Joel Brobecker <brobecker@gnat.com>
357
358 * gdb.ada/null_record.exp: Check where we stopped after
359 sending the start command, instead of where the associated
360 temporary breakpoint was inserted.
361
0d863d03
AC
3622004-10-14 Andrew Cagney <cagney@gnu.org>
363
364 * gdb.mi/gdb701.c (main): Return 0.
365
d11e72cb
DJ
3662004-10-13 Daniel Jacobowitz <dan@debian.org>
367
d40539a4 368 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 369
e1923096
JJ
3702004-10-12 Jeff Johnston <jjohnstn@redhat.com>
371
372 * gdb.threads/schedlock.c: Add comment markers to use to find
373 line numbers.
374 * gdb.threads/schedlock.exp: Adjust regex to handle the new
375 comments.
376 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
377 breakpoint lines.
378
ec8ba2c9
DJ
3792004-10-12 Daniel Jacobowitz <dan@debian.org>
380
381 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
382
0eb3658b
DJ
3832004-10-12 Daniel Jacobowitz <dan@debian.org>
384
385 * configure.in: Add gdb.dwarf2.
386 * configure: Regenerated.
387 * Makefile.in: Add gdb.dwarf2.
388 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
389 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
390 gdb.dwarf2/file1.txt: New files.
391
a271cc33
OF
3922004-10-11 Orjan Friberg <orjanf@axis.com>
393
394 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
395 of "run", since the latter doesn't work with remote targets. Adjust
396 the breakpoint numbering accordingly.
397 * gdb.threads/pthread_cond_wait.exp: Ditto.
398
895ce074
MC
3992004-10-08 Michael Chastain <mec.gnu@mindspring.com>
400
401 * gdb.base/overlays.exp: Update copyright years.
402
6be3092d
KI
4032004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
404
405 * gdb.base/overlays.exp: Disable if target is Linux.
406
e05389b8
FL
4072004-10-06 Felix Lee <felix+log1@specifixinc.com>
408
409 * config/gdbserver.exp (gdb_load): Use right filename on remote.
410
73cb587d
KI
4112004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
412
413 * gdb.asm/asm-source.exp: Add m32r-linux target.
414 * gdb.asm/m32r-linux.inc: New file.
415
3c0edcdc
AC
4162004-09-24 Andrew Cagney <cagney@redhat.com>
417 David Anderson <anderson@redhat.com>
418
419 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
420 command fails, assume things will work.
421 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
422 (_GNU_SOURCE): Define.
423 (print_unsigned, print_hex): Change parameter to "long long".
424 (print_byte_count): New function, use to print byte counts.
425 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
426 O_LARGEFILE.
427 (main): Compute an upper bound on a corefile in max_core_size.
428 Limit memory chunk size to max_core_size. Limit total memory
429 allocated to max_core_size.
430
4bb3667f
AC
4312004-09-23 Andrew Cagney <cagney@gnu.org>
432
433 * gdb.base/bigcore.exp: Replace the code that creates a corefile
434 from a separate process with code that creates a corefile by
435 making the inferior dump core.
436
60fe1a51
MK
4372004-09-23 Mark Kettenis <kettenis@gnu.org>
438
439 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
440 block.
441
8e937346
MC
4422004-09-23 Michael Chastain <mec.gnu@mindspring.com>
443
444 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
445 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
446 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
447 Likewise.
448
7213f6d6
JJ
4492004-09-20 Jeff Johnston <jjohnstn@redhat.com>
450
451 * gdb.java/jprint.exp: New test case for java inferior call.
452 * gdb.java/jprint.java: Ditto.
453
eac69dca
JB
4542004-09-15 Joel Brobecker <brobecker@gnat.com>
455
456 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
457
22227696
MC
4582004-09-14 Michael Chastain <mec.gnu@mindspring.com>
459
460 * gdb.threads/killed.c: Include <stdlib.h>.
461 * gdb.threads/pthreads.c: Likewise.
462
7dd403a4
MC
4632004-09-14 Michael Chastain <mec.gnu@mindspring.com>
464
465 * gdb.threads/killed.c: Add copyright notice.
466
33f2d567
JM
4672004-09-10 Jason Molenda (jmolenda@apple.com)
468
469 * gdb.base/define.exp: Two new tests to verify zero space chars
470 after 'if' and 'while' commands in a user-defined command is correctly
471 parsed.
472
e05b62ac
AC
4732004-09-08 Andrew Cagney <cagney@gnu.org>
474
475 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
476 delivery test with duplicate at end of file.
477
9cbe82da
MK
4782004-09-06 Mark Kettenis <kettenis@jive.nl>
479
480 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
481
564803d9
MC
4822004-09-05 Michael Chastain <mec.gnu@mindspring.com>
483
484 * config/hppro.exp: Removed.
485
7c6807ce
MC
4862004-09-05 Michael Chastain <mec.gnu@mindspring.com>
487
488 * config/sparclet.exp: Removed.
489
bf7e26dd
MC
4902004-09-05 Michael Chastain <mec.gnu@mindspring.com>
491
492 * config/udi.exp: Removed.
493
714e341b
MC
4942004-09-02 Michael Chastain <mec.gnu@mindspring.com>
495
496 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
497 of "exp_continue".
498 (advancei): Likewise.
499
1236e623
JJ
5002004-09-01 Jeff Johnston <jjohnstn@redhat.com>
501
502 * gdb.base/unload.exp: Fix so messages aren't duplicated.
503
3bdcad15
MI
5042004-09-01 Manoj Iyer <manjo@austin.ibm.com>
505
228af206 506 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
507 to check for nodebug in executable.
508 * gdb.gdb/observer.exp (setup_test): Likewise.
509 * gdb.gdb/selftest.exp (test_with_self): Likewise.
510 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
511
c72b934c
AC
5122004-09-01 Andrew Cagney <cagney@gnu.org>
513
514 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
515 files.
516
edd9b715
JJ
5172004-09-01 Jeff Johnston <jjohnstn@redhat.com>
518
519 * gdb.base/unload.exp: Fix expected warning message to match
520 latest format.
521
fb4ce06b
CV
5222004-09-01 Corinna Vinschen <vinschen@redhat.com>
523
524 * gdb.base/call-rt-st.exp: Fix typos.
525
ce78e7c3
MI
5262004-08-31 Manoj Iyer <manjo@austin.ibm.com>
527
528 * gdb.threads/thread_check.exp: New testcase.
529 * gdb.threads/thread_check.c: New testcase.
530
2dedb159
AC
5312004-08-31 Andrew Cagney <cagney@gnu.org>
532
533 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
534 (skip_to_handler_entry): New procedures. Test stepping into a
535 handler when the breakpoint is at the handler's entry point.
536
68f53502
AC
5372004-08-30 Andrew Cagney <cagney@gnu.org>
538
539 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
540 gdb/1757.
541
3e3ffd2b
MC
5422004-08-27 Michael Chastain <mec.gnu@mindspring.com>
543
544 With code from Manoj Iyer <manjo@austin.ibm.com>:
545 * lib/gdb.exp (gdb_file_cmd): Return more information in the
546 return value. Add an arm for "no debugging symbols found".
547 Change a stray "error" to "perror".
548 (gdb_run_cmd): Adapt to new return value.
549 * gdb.base/remote.exp: Adapt to new return value.
550 * gdb.gdb/complaints.exp: Likewise.
551 * gdb.gdb/observer.exp: Likewise.
552 * gdb.gdb/selftest.exp: Likewise.
553 * gdb.gdb/xfullpath.exp: Likewise.
554
4b6f5fd2
JB
5552004-08-27 Joel Brobecker <brobecker@gnat.com>
556
557 * gdb.threads/bp_in_thread.exp: New testcase.
558
e5b25496
MC
5592004-08-27 Michael Chastain <mec.gnu@mindspring.com>
560
561 Fix PR testsuite/1735.
562 * gdb.threads/schedlock.c (thread_function): Add a cast
563 to suppress a gcc warning.
564 * gdb.threads/thread-specific.c (thread_function): Likewise.
565
934353d6
MC
5662004-08-26 Michael Chastain <mec.gnu@mindspring.com>
567
568 * gdb.base/unload.c: Include <stdlib.h>.
569
f98a0aef 5702004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 571
f98a0aef 572 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
573 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
574 synchronized after the "return".
575
5a2e8882
MC
5762004-08-26 Michael Chastain <mec.gnu@mindspring.com>
577
578 * gdb.mi/basics.c: Include <stdio.h>.
579 * gdb.mi/pthreads.c: Include <stdlib.h>.
580 * gdb.mi/var-cmd.c: Include <stdlib.h>.
581
a9640423
MC
5822004-08-26 Michael Chastain <mec.gnu@mindspring.com>
583
584 * gdb.threads/schedlock.c: Add copyright notice.
585
b04e311d
AC
5862004-08-25 Andrew Cagney <cagney@gnu.org>
587
588 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
589 (skip_over_handler, breakpoint_over_hander): New test procedures.
590 (advance, advancei): Add a proper prefix, do not use
591 rerun_to_main.
592 * gdb.base/sigstep.c (main): Change to use an infinite loop.
593
7c27f15b
MC
5942004-08-24 Michael Chastain <mec.gnu@mindspring.com>
595
596 * gdb.mi/basics.c: Add copyright notice.
597 * gdb.mi/var-cmd.c: Add copyright notice.
598
fffc87ae
MC
5992004-08-23 Michael Chastain <mec.gnu@mindspring.com>
600
601 * lib/gdb.exp: Remove signed_keyword_not_used.
602 * lib/compiler.c: Likewise.
603 * lib/compiler.cc: Likewise.
604
d782e0bf
MC
6052004-08-23 Michael Chastain <mec.gnu@mindspring.com>
606
607 * gdb.base/whatis.c: Remove conditional disabling of "signed".
608 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
609
96033e83
MC
6102004-08-23 Michael Chastain <mec.gnu@mindspring.com>
611
612 * gdb.base/whatis.c: Add copyright notice.
613
cf38c229
MK
6142004-08-20 Mark Kettenis <kettenis@gnu.org>
615
616 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
617 it to skip the breakpoints encoded in the inline assembly.
618
f4b49756
MC
6192004-08-20 Michael Chastain <mec.gnu@mindspring.com>
620
621 * Makefile.in: Add gdb.fortran.
622
2f193b69
MC
6232004-08-20 Michael Chastain <mec.gnu@mindspring.com>
624
625 * gdb.base/call-sc.exp (test_scalar_returns):
626 Fix cut-and-paste glitch in "Make fun return now".
627
89a237cb
MC
6282004-08-17 Michael Chastain <mec.gnu@mindspring.com>
629
630 * configure.in: Add gdb.fortran.
631 * configure: Regenerate.
632 * gdb.fortran/Makefile.in: New file.
633 * lib/gdb.exp (skip_fortran_tests): New procedure.
634
469aff8e
MC
6352004-08-17 Michael Chastain <mec.gnu@mindspring.com>
636
637 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
638 reference to bug-gnu@prep.ai.mit.edu.
639 * gdb.mi/mi-var-child.exp: Likewise.
640 * gdb.mi/mi-var-cmd.exp: Likewise.
641 * gdb.mi/mi-var-display.exp: Likewise.
642 * gdb.mi/mi2-var-block.exp: Likewise.
643 * gdb.mi/mi2-var-child.exp: Likewise.
644 * gdb.mi/mi2-var-cmd.exp: Likewise.
645 * gdb.mi/mi2-var-display.exp: Likewise.
646
00b51b9f
MK
6472004-08-15 Mark Kettenis <kettenis@gnu.org>
648
649 * gdb.base/unload.c (main): Make local variable msg const.
650
45f07fef
MC
6512004-08-15 Michael Chastain <mec.gnu@mindspring.com>
652
653 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
654 to bug-gnu@prep.ai.mit.edu.
655 * gdb.mi/mi-disassemble.exp: Likewise.
656 * gdb.mi/mi-eval.exp: Likewise.
657 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
658 default line number.
659 * gdb.mi/mi-return.exp: Likewise.
660 * gdb.mi/mi-simplerun.exp: Likewise.
661 * gdb.mi/mi-stack.exp: Likewise.
662 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
663 number with explicit range test.
664 * gdb.mi/mi-watch.exp: Likewise.
665 * gdb.mi/mi2-break.exp: Likewise.
666 * gdb.mi/mi2-cli.exp: Likewise.
667 * gdb.mi/mi2-disassemble.exp: Likewise.
668 * gdb.mi/mi2-eval.exp: Likewise.
669 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
670 default line number.
671 * gdb.mi/mi2-return.exp: Likewise.
672 * gdb.mi/mi2-simplerun.exp: Likewise.
673 * gdb.mi/mi2-stack.exp: Likewise.
674 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
675 number with explicit range test.
676 * gdb.mi/mi2-watch.exp: Likewise.
677
dd8c8ee7
MC
6782004-08-15 Michael Chastain <mec.gnu@mindspring.com>
679
680 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
681 * gdb.cp/m-static.exp: Likewise.
682 * gdb.cp/rtti.exp: Likewise.
683
4e838464
MK
6842004-08-14 Mark Kettenis <kettenis@gnu.org>
685
686 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
687
8d8cb839
EZ
6882004-08-14 Eli Zaretskii <eliz@gnu.org>
689
690 * ChangeLog: Prefix Local Variables with semi-colons and indent
691 the reference to older ChangeLog files, to fix fontification in
692 Emacs.
693
deea8bb0
MC
6942004-08-13 Michael Chastain <mec.gnu@mindspring.com>
695
696 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
697 * gdb.mi/mi2-break.exp: Likewise.
698
c3297504
MC
6992004-08-13 Michael Chastain <mec.gnu@mindspring.com>
700
701 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
702
25808999
MC
7032004-08-13 Michael Chastain <mec.gnu@mindspring.com>
704
705 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
706
226a8d71
MC
7072004-08-13 Michael Chastain <mec.gnu@mindspring.com>
708
709 * gdb.cp/classes.exp: Remove unused declarations. Just let
710 test names default instead of providing special names. Remove
711 extraneous demangler test.
712
37fdf854
JJ
7132004-08-12 Jeff Johnston <jjohnstn@redhat.com>
714
715 * gdb.base/unload.exp: New test for breakpoints in dynamically
716 loaded libraries.
717 * gdb.base/unload.c: Ditto.
718 * gdb.base/unloadshr.c: Ditto.
719
2d3a7986
MC
7202004-08-12 Michael Chastain <mec.gnu@mindspring.com>
721
722 * gdb.cp/classes.exp (test_ptype_class_objects): Call
723 cp_test_ptype_class.
724 (test_enums): Likewise.
725
c72b934c
AC
7262004-08-10 Andrew Cagney <cagney@gnu.org>
727
728 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
729 files.
730
cc503c8a
AC
7312004-08-10 Andrew Cagney <cagney@gnu.org>
732
733 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
734 init_malloc call.
735
902f2ccb
MC
7362004-08-10 Michael Chastain <mec.gnu@mindspring.com>
737
738 * ChangeLog: Add copyright notice. The notice is copied
739 from emacs 21.3 top level ChangeLog.
740
78c90502
MC
7412004-08-09 Michael Chastain <mec.gnu@mindspring.com>
742
743 * lib/cp-support.exp: New file.
744 * lib/cp-support.exp (cp_test_type_class): New function.
745 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
746 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
747 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
748 cp_test_ptype_class.
749
88e5ea78
MC
7502004-08-09 Michael Chastain <mec.gnu@mindspring.com>
751
752 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
753 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
754 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
755 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
756 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
757 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
758 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
759 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
760 gdb.mi/mi2-watch.exp: Update copyright years.
761
6a89fc9c
MK
7622004-08-09 Mark Kettenis <kettenis@gnu.org>
763
764 * gdb.base/sigaltstack.exp: Provide proper anchoring.
765
1482e0de
MC
7662004-08-09 Michael Chastain <mec.gnu@mindspring.com>
767
768 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
769 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
770 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
771 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
772 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
773 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
774 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
775 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
776 gdb.mi/mi-watch.exp: Update copyright years.
777
1a5ce3f3
DJ
7782004-08-08 Daniel Jacobowitz <dan@debian.org>
779
780 PR gdb/1738
781 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
782 from a breakpoint with a pending signal.
783
04f6ecf2
DJ
7842004-08-08 Daniel Jacobowitz <dan@debian.org>
785
786 PR gdb/1736
787 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
788 * gdb.base/sigaltstack.exp (finish_test): Consume output until
789 the prompt.
790 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
791
54d90d35
DJ
7922004-08-08 Daniel Jacobowitz <dan@debian.org>
793
794 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
795
d2f6abb0
DJ
7962004-08-08 Daniel Jacobowitz <dan@debian.org>
797
798 PR gdb/1736
799 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
800 for i?86-*-linux*.
801
5598c03d
DJ
8022004-08-08 Daniel Jacobowitz <dan@debian.org>
803
804 * gdb.arch/i386-prologue.exp: Compile without debug information.
805
c6fee705
MC
8062004-08-08 Michael Chastain <mec.gnu@mindspring.com>
807
808 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
809 rather than asking gdb to search.
810
dd90efdb
MC
8112004-08-05 Michael Chastain <mec.gnu@mindspring.com>
812
813 * gdb.base/gcore.c: Include <string.h>.
814
1e84bec1
MC
8152004-08-05 Michael Chastain <mec.gnu@mindspring.com>
816
817 * gdb.base/gcore.c: Add copyright notice.
818
e425eb2b
MC
8192004-08-05 Michael Chastain <mec.gnu@mindspring.com>
820
821 * gdb.base/freebpcmd.c: Include <stdio.h>.
822 * gdb.base/long_long.c: Include <string.h>.
823 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
824 * gdb.base/siginfo.c: Include <string.h>.
825 * gdb.base/sigstep.c: Include <string.h>.
826
cb9aaed5
MC
8272004-08-04 Michael Chastain <mec.gnu@mindspring.com>
828
829 * gdb.base/complex.c: Include <stdlib.h>.
830
55944f3d
MC
8312004-08-04 Michael Chastain <mec.gnu@mindspring.com>
832
833 * gdb.base/complex.c: Add copyright notice.
834
7b2953d9
MC
8352004-08-04 Michael Chastain <mec.gnu@mindspring.com>
836
837 * gdb.base/charset.c: Include <stdlib.h>.
838
c9133d23
MC
8392004-08-04 Michael Chastain <mec.gnu@mindspring.com>
840
841 * gdb.base/auxv.c: Include <stdlib.h>.
842
0a8490ad
MC
8432004-08-04 Michael Chastain <mec.gnu@mindspring.com>
844
845 * gdb.base/auxv.c: Add copyright notice.
846
3426d5ec
MC
8472004-08-04 Michael Chastain <mec.gnu@mindspring.com>
848
849 * gdb.base/coremaker.c: Add copyright notice.
850 * gdb.base/coremaker2.c: Add copyright notice.
851
8da195dd
AC
8522004-08-04 Andrew Cagney <cagney@gnu.org>
853
854 * gdb.base/store.exp: Update copyright.
855 (check_set, up_set, check_struct, up_struct): Add a prefix to test
856 names, do not import gdb_prompt.
857
8d394f98
AC
8582004-08-01 Andrew Cagney <cagney@gnu.org>
859
860 Fix PR testsuite/1729.
861 * gdb.base/dump.exp: Add test name to callers of capture_value, do
862 not use capture_value with value 4.
863 (capture_value): Add optional test name parameter.
864 (test_reload_saved_value, test_restore_saved_value): Use $msg as
865 the prefix, pass to capture_value.
866
b6702b23
MK
8672004-08-01 Mark Kettenis <kettenis@gnu.org>
868
869 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
870 * gdb.arch/i386-prologue.c (standard): New prototype and function.
871 (main): Call new function.
872
c203e0ca
MC
8732004-07-31 Michael Chastain <mec.gnu@mindspring.com>
874
875 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
876
a7995a30
MC
8772004-07-31 Michael Chastain <mec.gnu@mindspring.com>
878
879 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
880
9366563b
MC
8812004-07-31 Michael Chastain <mec.gnu@mindspring.com>
882
b6eeaf26 883 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
884 Accept more values of vtbl pointer. Remove some messages
885 about "obsolete gcc or gdb".
886
2fc1f950
MC
8872004-07-30 Michael Chastain <mec.gnu@mindspring.com>
888
889 * gdb.cp/classes.exp: Accept more varieties of ptype output.
890
c724d49b
MC
8912004-07-30 Michael Chastain <mec.gnu@mindspring.com>
892
893 * gdb.base/asm-source.exp: Properly convert target board
894 debug flags from gcc format to binutils format.
895
736b0fce
MK
8962004-07-28 Mark Kettenis <kettenis@gnu.org>
897
898 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
899 gdb1718". PR backtrace/1718 partially fixed.
900
5633ea5c
JJ
9012004-07-27 Jeff Johnston <jjohnstn@redhat.com>
902
903 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
904
575eebb1
NC
9052004-07-26 Nick Clifton <nickc@redhat.com>
906
907 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
908 good default value for a specific architecture is available then
909 set it to that value. Otherwise default to the -gstabs switch.
910 Remove the -g... switches from the asm-flags variable. Allow the
911 target board info to override the value if it wants to. Pass the
912 switch on the assembler command line.
913
62104619
MK
9142004-07-23 Mark Kettenis <kettenis@gnu.org>
915
916 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
917 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
918 (main): Call new function.
919
4a1135b8
MC
9202004-07-22 Michael Chastain <mec.gnu@mindspring.com>
921
922 Test for PR exp/1715.
923 * gdb.base/radix.exp: Refactor common procedures. Make all
924 test names unique. Change XFAIL to KFAIL.
925
8a12c1f0
MC
9262004-07-20 Michael Chastain <mec.gnu@mindspring.com>
927
928 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
929 * gdb.ada/gnat_ada.gin: ... to here.
930 * configure.in: Use gnat_ada.gin.
931 * configure: Regenerate.
932
23b451cf
AC
9332004-07-20 Andrew Cagney <cagney@gnu.org>
934
935 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
936 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
937 XFAILs. Clean up test messages and comments. Check backtraces.
938 Delete re-sync code.
939
ab618a02
MC
9402004-07-19 Michael Chastain <mec.gnu@mindspring.com>
941
942 Fix PR cli/740.
943 * gdb.base/annota1.exp: Honor gdb,nosignals.
944 * gdb.base/annota3.exp: Likewise.
945
46dad340
MC
9462004-07-19 Michael Chastain <mec.gnu@mindspring.com>
947
948 * lib/java.exp: Update copyright notice.
949
756d8c70
AC
9502004-07-19 Andrew Cagney <cagney@gnu.org>
951
952 * gdb.base/selftest.exp: Copy file from here ...
953 * gdb.gdb/selftest.exp: ... to here.
954
586027e6
AC
9552004-07-16 Andrew Cagney <cagney@redhat.com>
956
957 * lib/insight-support.exp: Delete file.
958 * lib/java.exp (java_init): Fix copyright.
959
029d2200
AC
9602004-07-16 Andrew Cagney <cagney@gnu.org>
961
962 * gdb.base/restore.c: Append "prologue" to comments marking the a
963 function's prologue.
964 * gdb.base/restore.exp: Update copyright, re-indent.
965 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
966 callerN" prefix where needed. Update patterns that match a
967 function's prologue.
968
653b62c5
MC
9692004-07-16 Michael Chastain <mec.gnu@mindspring.com>
970
971 * gdb.base/restore.c: Add copyright notice.
972
f7d690e5
AC
9732004-07-16 Andrew Cagney <cagney@gnu.org>
974
975 * gdb.base/logical.exp: Update copyright.
976 (evaluate): New procedure. Use to re-implement tests using
977 several tables.
978
d629a7cb
MH
9792004-07-14 Martin Hunt <hunt@redhat.com>
980
981 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
982 which fixes some problems where init.tcl was not found.
983
9c7bb332
AC
9842004-07-13 Andrew Cagney <cagney@gnu.org>
985
6bf46641
AC
986 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
987 (check_sizeof, check_valueof): Do not include the output in the
988 test name. Use gdb_test.
989 (get_valueof): Use gdb_test_multiple.
990
c4ffd4c0
AC
991 * gdb.base/step-test.exp: Update copyright. Use
992 gdb_test_multiple. Ensure that test names do not include
993 architecture dependent output.
994
ab89363a
AC
995 * gdb.gdb/observer.exp: Update copyright.
996 (setup_test): Use gdb_test_multiple.
997 (attach_first_observer, attach_second_observer)
998 (attach_third_observer, detach_first_observer)
999 (detach_second_observer, detach_third_observer)
1000 (reset_counters, check_counters): Make $message a prefix.
1001 (test_normal_stop_notifications): Add "args" parameter - a list of
1002 init functions to be called. Make $message a prefix,
1003 (test_observer_normal_stop): Change the message prefixes so that
1004 they are unique, pass the attach / detach procedures to
1005 test_normal_stop_notifications.
1006
ec58997a
AC
1007 * gdb.base/signull.exp (test_segv): Prefix all tests with
1008 "${name}". Clean up test messages.
1009
b475183b
AC
1010 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
1011
9c7bb332
AC
1012 * gdb.base/ena-dis-br.exp: Update copyright.
1013 (break_at): New function. Replace send_gdb with gdb_test,
1014 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
1015 ignore count, not stopped at bpt", with KFAIL.
1016
2dd95497
CV
10172004-07-13 Corinna Vinschen <vinschen@redhat.com>
1018
1019 * gdb.base/attach.exp: Remove cleanupfile handling.
1020
419e626b
AC
10212004-07-12 Andrew Cagney <cagney@gnu.org>
1022
1023 * gdb.base/annota1.exp: Cleanup corefile test name.
1024 * gdb.base/annota3.exp: Ditto.
1025
8b1b3228
AC
10262004-07-12 Andrew Cagney <cagney@gnu.org>
1027
78650829
AC
1028 * gdb.base/signals.exp: Clean up copyright, re-indent.
1029
8b1b3228
AC
1030 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
1031 gdb_test and gdb_test_multiple.
1032
935c2760
JJ
10332004-07-08 Jeff Johnston <jjohnstn@redhat.com>
1034
1035 * gdb.java/jmain.exp: Fix expected line number for main to
1036 break at. Set XFAIL for break at main test since gcj does not
1037 provide line number info for first statement in main.
1038
1544280f
AC
10392004-07-08 Andrew Cagney <cagney@gnu.org>
1040
1279f4ff
AC
1041 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
1042
1544280f
AC
1043 * gdb.base/sigbpt.exp: Make the common part of each test name a
1044 prefix instead of suffix.
1045
bcc82369
BR
10462004-07-07 Bob Rossi <bob_rossi@cox.net>
1047
1048 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
1049 test from test_tbreak_creation_and_listing to
1050 test_file_list_exec_source_file
1051 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
1052 Changed name of test from test_tbreak_creation_and_listing to
1053 test_file_list_exec_source_file
1054
23f4b0aa
JJ
10552004-07-07 Jeff Johnston <jjohnstn@redhat.com>
1056
1057 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
1058 the jmisc() constructor instead of <init>.
1059 * gdb.java/jmisc1.exp: Ditto.
1060
56401cd5
AC
10612004-07-07 Andrew Cagney <cagney@gnu.org>
1062
1063 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
1064 corrupting the PC.
1065
44ae2f6a
MC
10662004-07-06 Michael Chastain <mec.gnu@mindspring.com>
1067
1068 * gdb.cp/templates.exp: Accept whitespace change in demangler
1069 output.
1070
45a83408
AC
10712004-07-06 Andrew Cagney <cagney@gnu.org>
1072
1073 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
1074
d205ad70
MC
10752004-07-02 Michael Chastain <mec.gnu@mindspring.com>
1076
1077 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
1078 * lib/compiler.cc: Likewise.
1079
06ea1a61
MC
10802004-06-30 Michael Chastain <mec.gnu@mindspring.com>
1081
1082 * lib/compiler.cc: Work around string preprocessing problem
1083 with old hp c++ compiler.
1084 * lib/compiler.c: Likewise.
1085
daab1251
CV
10862004-06-29 Corinna Vinschen <vinschen@redhat.com>
1087
1088 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
1089 directives to conditionalize symbol prefixing.
1090 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
1091 additional_flags handling. Add underscore prefix for Cygwin.
1092 * gdb.arch/i386-unwind.c: Use preprocessor directives to
1093 conditionalize symbol prefixing.
1094 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
1095 additional_flags handling. Add underscore prefix for Cygwin.
1096
cc984116
CV
10972004-06-29 Corinna Vinschen <vinschen@redhat.com>
1098
1099 * gdb.base/bigcore.exp: Skip test on Cygwin.
1100
c279b077
MC
11012004-06-28 Michael Chastain <mec.gnu@mindspring.com>
1102
1103 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
1104 formats for "info register". Use gdb_test_multiple. Fix
1105 the "invalid register" test.
1106
0e915747
CV
11072004-06-28 Corinna Vinschen <vinschen@redhat.com>
1108
1109 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
1110 PID for Cygwin. Add Cygwin specific strings to check for in some
1111 tests.
1112 (do_attach_tests): Add a test for user interaction when attaching
1113 to a process with no matching symbol table already loaded.
1114
11422c86
AC
11152004-06-26 Andrew Cagney <cagney@gnu.org>
1116
1117 Test PR java/1567 and PR java/1565.
1118 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
1119 * gdb.java/jmisc2.exp: Delete file.
1120
cefbce26
MC
11212004-06-26 Michael Chastain <mec.gnu@mindspring.com>
1122
1123 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
1124
e19f872c
CV
11252004-06-25 Corinna Vinschen <vinschen@redhat.com>
1126
1127 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
1128 attach process.
1129
d931ba3b
MC
11302004-06-23 Michael Chastain <mec.gnu@mindspring.com>
1131
1132 * gdb.cp/pr-1553.exp: Remove.
1133
aef68c48
MC
11342004-06-22 Michael Chastain <mec.gnu@mindspring.com>
1135
1136 * gdb.cp/pr-1553.cc: Remove.
1137 * gdb.cp/pr-1553.exp: Disable this test.
1138
8d5df71a
JB
11392004-06-20 Jim Blandy <jimb@redhat.com>
1140
1141 Fix PR testsuite/1680.
1142 * gdb.arch/i386-sse.exp: Properly quote curly braces in
1143 regular expressions.
1144
4ac6f39d
MC
11452004-06-19 Michael Chastain <mec.gnu@mindspring.com>
1146
1147 Fix PR testsuite/1679.
1148 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
1149 Issue an UNSUPPORTED result instead.
1150
1b413552
JB
11512004-06-18 Jim Blandy <jimb@redhat.com>
1152
1153 * gdb.base/charset.exp: Only send a control-C if we see a new
1154 prompt and incomplete command.
1155
6daa6ebd
MC
11562004-06-18 Michael Chastain <mec.gnu@mindspring.com>
1157
1158 * gdb.cp/pr-574.cc: Add copyright notice.
1159
51fa4ae0
JB
11602004-06-17 Jim Blandy <jimb@redhat.com>
1161
1162 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
1163 cases where the regexp has no groups; this grabs random text from
1164 the previous test suite, whatever that was.
1165
8fea26c5
MC
11662004-06-17 Michael Chastain <mec.gnu@mindspring.com>
1167
1168 * gdb.cp/printmethod.cc: Add copyright notice.
1169
1e3aeb41
MC
11702004-06-16 Michael Chastain <mec.gnu@mindspring.com>
1171
1172 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
1173
9d9030bc
AC
11742004-06-16 Andrew Cagney <cagney@gnu.org>
1175
1176 * gdb.base/signull.c: Update copyright. Include <string.h>.
1177 (bowler): Replace data_pointer with data_read
1178 and data_write cases. Add code_descriptor case.
1179 (zero, desc): New array and pointer.
1180 (data, code): Change to simple pointers.
1181 * gdb.base/signull.exp: Fix probe pattern matching a function
1182 descriptor SIGSEGV. Replace data_pointer with data_read and
1183 data_write tests.
1184
acd4ad44
AC
11852004-06-16 Andrew Cagney <cagney@gnu.org>
1186
1187 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
1188
08fd625c
MC
11892004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1190
1191 * gdb.base/long_long.c: Add copyright notice.
1192
1903502c
MC
11932004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1194
1195 * gdb.base/long_long.exp: Remove reference to
1196 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
1197 to gdb_breakpoint and gdb_continue_to_breakpoint.
1198
83313cb1
JB
11992004-06-14 Jim Blandy <jimb@redhat.com>
1200
1201 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
1202 endian case.
1203
1bf404ef
AC
12042004-06-14 Andrew Cagney <cagney@gnu.org>
1205
1206 * gdb.base/gcore.exp (capture_command_output): Delete the always
1207 passing tests containing inferior values.
1208 * gdb.base/ending-run.exp: Do not include the breakpoint address
1209 in the test message. Update copyright.
1210 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
1211 size in the test name, use gdb_test_multiple. Update copyright.
1212
ef220b33
MC
12132004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1214
1215 * gdb.cp/ref-types.cc: Add copyright notice.
1216
4f70a4c9
MC
12172004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1218
1219 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
1220 hp_aCC_compiler.
1221 * lib/compiler.cc: Likewise.
1222 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
1223 'set' commands. Log diagnostics for other lines. Set
1224 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
1225
335928ac
MC
12262004-06-13 Michael Chastain <mec.gnu@mindspring.com>
1227
1228 * gdb.cp/try_catch.cc: Add copyright notice.
1229
2efb12e8
MC
12302004-06-12 Michael Chastain <mec.gnu@mindspring.com>
1231
1232 * gdb.cp/userdef.cc: Add copyright notice.
1233
0bbed51a
MC
12342004-06-11 Michael Chastain <mec.gnu@mindspring.com>
1235
1236 * gdb.cp/virtfunc.cc: Add copyright notice.
1237
e12a46c9
RC
12382004-06-11 Randolph Chung <tausq@debian.org>
1239
1240 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
1241 problem.
1242
338e05af
AC
12432004-06-10 Andrew Cagney <cagney@gnu.org>
1244
1245 * lib/compiler.cc, lib/compiler.c: Append either
1246 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
1247 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
1248 instead of gcc-3-3.
1249
dc3f10cb
AC
12502004-06-09 Andrew Cagney <cagney@gnu.org>
1251
b4d946af
AC
1252 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
1253 gdb/1455, bug is specific to "long long" and "double".
1254
dc3f10cb
AC
1255 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
1256 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
1257 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
1258 fixed.
1259
b5c0bfa2
AC
12602004-06-09 Andrew Cagney <cagney@gnu.org>
1261
1262 * gdb.base/structs.exp (test_struct_returns): Replace
1263 "return_value_unknown" and "finish_value_unknown" by
1264 "return_value_known" and "finish_value_known". Instead of
1265 "return_value_unknown" iff "finish_value_unknown", check
1266 "return_value_known" implies "finish_value_known".
1267
caeb605f
MH
12682004-06-08 Martin Hunt <hunt@redhat.com>
1269
1270 * gdb.base/float.exp: Add pattern for mips targets.
1271
c892bb64
RC
12722004-06-08 Randolph Chung <tausq@debian.org>
1273
1274 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
1275 message for unknown architectures more clear.
1276
48306d3e
JB
12772004-06-08 Joel Brobecker <brobecker@gnat.com>
1278
1279 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
1280 start the execution of the program.
1281
83ecb59f
JB
12822004-06-07 Jim Blandy <jimb@redhat.com>
1283
1284 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
1285 * gdb.arch/i386-cpuid.h: New helper file.
1286
55264cb4
RC
12872004-06-07 Randolph Chung <tausq@debian.org>
1288
1289 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
1290 has started.
1291
23cadb28
RM
12922004-06-04 Roland McGrath <roland@redhat.com>
1293
1294 Fix PR gdb/1647.
1295 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
1296 differently to be robust to output buffering differences.
1297
51d01eda
MC
12982004-06-04 Michael Chastain <mec.gnu@mindspring.com>
1299
1300 * gdb.threads/pthreads.exp: Update copyright years.
1301 (check_control_c): Change asynchronous 'after' to synchronous.
1302
f4fc3b93
RM
13032004-06-04 Roland McGrath <roland@redhat.com>
1304
1305 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
1306 next gdb prompt.
1307
4013522b
MC
13082004-06-02 Michael Chastain <mec.gnu@mindspring.com>
1309
1310 Fix PR gdb/1636.
1311 * gdb.threads/manythreads.exp: Change asynchronous 'after'
1312 calls to synchronous.
1313
7a8f1e6b
JB
13142004-05-26 Jim Blandy <jimb@redhat.com>
1315
1316 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
1317
81bb3443
RC
13182004-05-24 Randolph Chung <tausq@debian.org>
1319
1320 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
1321 * gdb.asm/pa.inc: New file.
1322
8f5a3103
MK
13232004-05-22 Mark Kettenis <kettenis@gnu.org>
1324
1325 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
1326
734b8fe8
JB
13272004-05-21 Joel Brobecker <brobecker@gnat.com>
1328 Daniel Jacobowitz <drow@mvista.com>
1329
1330 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
1331 GDB prompt.
1332
725603e1
UW
13332004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1334
f4fc3b93 1335 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
1336 setjmp/longjmp. Use sigaction instead of signal.
1337
8b923272
JB
13382004-05-19 J. Brobecker <brobecker@gnat.com>
1339 Michael Snyder <msnyder@redhat.com>
1340
1341 * gdb.threads/pthread_cond_wait.c: New file.
1342 * gdb.threads/pthread_cond_wait.exp: New testcase.
1343
8bfabb04
AC
13442004-05-13 Andrew Cagney <cagney@redhat.com>
1345
1346 * gdb.base/signull.exp, gdb.base/signull.c: New files.
1347 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
1348
42edda50
AC
13492004-05-11 Andrew Cagney <cagney@redhat.com>
1350
1351 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
1352 fixed but revealed gdb/1639.
1353
d303a6c7
AC
13542004-05-10 Andrew Cagney <cagney@redhat.com>
1355
1356 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
1357 func1" and "next to 2nd alarm", kernel bug avoided.
1358
bf08c2a1
DJ
13592004-05-10 Daniel Jacobowitz <dan@debian.org>
1360
1361 PR external/1568
1362 * gdb.base/bigcore.exp: Check the size of the dumped core file.
1363 XFAIL if it is smaller than bytes_allocated.
1364 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
1365 (main): Make chunks_allocated unsigned. Correct comment.
1366
c0586a34
JB
13672004-05-07 Joel Brobecker <brobecker@gnat.com>
1368
1369 * gdb.arch/powerpc-aix-prologue.c: New file.
1370 * gdb.arch/powerpc-aix-prologue.exp: New file.
1371
f2785d12
JB
13722004-05-07 Jim Blandy <jimb@redhat.com>
1373
1374 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
1375 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
1376
bd7f6e30
JB
13772004-05-06 Joel Brobecker <brobecker@gnat.com>
1378
1379 * gdb.base/sep.exp: No longer setup_kfail when the program was
1380 built with dwarf2.
1381
0a5e7efe
JI
13822004-05-05 Jim Ingham <jingham@apple.com>
1383
1384 * gdb.base/pending.exp: Make sure pending breakpoints
1385 preserve the ignore count.
f4fc3b93 1386
a8958849
MK
13872004-04-27 Jerome Guitton <guitton@gnat.com>
1388
1389 * i386-prologue.exp: Add testcase for jump instruction as first
1390 instruction of the real code.
1391 * i386-prologue.c (jump_at_beginning): New function.
1392
7e103f5b
MK
13932004-04-28 Mark Kettenis <kettenis@gnu.org>
1394
1395 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
1396 x86_64-*-*.
1397
5d38b224
MK
13982004-04-28 Mark Kettenis <kettenis@gnu.org>
1399
1400 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
1401 i*86-*-*.
1402
0ef32fd9
MK
14032004-04-25 Mark Kettenis <kettenis@gnu.org>
1404
1405 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
1406 expression that checks the return type.
1407
71d7dd7c
AC
14082004-04-23 Andrew Cagney <cagney@redhat.com>
1409
1410 * gdb.base/call-sc.exp: New test of scalar call/return values.
1411 * gdb.base/call-sc.c: Ditto.
1412
1e9f977e
JJ
14132004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1414
1415 * gdb.threads/manythreads.c: Reduce thread stack size.
1416
899d9e3a
JJ
14172004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1418
1419 * gdb.threads/manythreads.c: Add copyright notice.
1420
61bcae62
AC
14212004-04-23 Andrew Cagney <cagney@redhat.com>
1422
1423 * gdb.base/siginfo.exp: Better handle step out of signal.
1424 * gdb.base/sigstep.exp: Ditto.
1425
7339a42e
JJ
14262004-04-22 Jeff Johnston <jjohnstn@redhat.com>
1427 Daniel Jacobowitz <drow@mvista.com>
1428
1429 * gdb.threads/manythreads.c: New testcase.
1430 * gdb.threads/manythreads.exp: Ditto.
1431
5c98409b
JB
14322004-04-22 Jim Blandy <jimb@redhat.com>
1433
1434 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
1435 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
1436
3b611f1a
MC
14372004-04-21 Michael Chastain <mec.gnu@mindspring.com>
1438
1439 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
1440
f0fd9238
AC
14412004-04-21 Andrew Cagney <cagney@redhat.com>
1442
1443 * gdb.base/sigstep.c: New file.
1444 * gdb.base/sigstep.exp: New file.
1445
90990674
JB
14462004-04-16 Joel Brobecker <brobecker@gnat.com>
1447
1448 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
1449 call to observer_notify_normal_stop.
1450
78cef34b
AC
14512004-04-15 Andrew Cagney <cagney@redhat.com>
1452
1453 * gdb.base/siginfo.c: New file.
1454 * gdb.base/siginfo.exp: New file.
1455
d2343407
JB
14562004-04-12 J. Brobecker <brobecker@gnat.com>
1457
1458 * gdb.base/sep.exp: Fix typo in comment.
1459
a2dba3c8
JB
14602004-04-12 J. Brobecker <brobecker@gnat.com>
1461
1462 * gdb.base/sep.c: New file.
1463 * gdb.base/sep-proc.c: New file.
1464 * gdb.base/sep.exp: New testcase.
1465
15f7b60e
MK
14662004-04-09 Mark Kettenis <kettenis@gnu.org>
1467
1468 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
1469 support.
1470
44f4de1a
AC
14712004-04-05 Andrew Cagney <cagney@redhat.com>
1472
1473 * gdb.base/sigaltstack.c: New file.
1474 * gdb.base/sigaltstack.exp: New file.
1475
ef04f396
JB
14762004-04-04 Joel Brobecker <brobecker@gnat.com>
1477
1478 * gdb.base/foll-fork.exp: Update the expected output for
1479 "help set follow-fork-mode", to match a change that was made
1480 to the help of this variable on 2004-01-13.
1481
d40d2c92
JB
14822004-04-01 Joel Brobecker <brobecker@gnat.com>
1483
1484 * lib/ada.exp: Add copyright notice.
1485 * bar.ads: Likewise.
1486 * bar.adb: Likewise.
1487 * null_record.adb: Likewise.
1488 * null_record.exp: Likewise.
1489 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
1490
f86ef5a3
JB
14912004-04-01 Joel Brobecker <brobecker@gnat.com>
1492
1493 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
1494 * configure: Regenerate.
1495
414e70e3
JB
14962004-04-01 Joel Brobecker <brobecker@gnat.com>
1497
1498 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
1499 to build the application. Remove the message printed when in
1500 verbose mode, redundant with the UNSUPPORTED message above.
1501
f0aaee49
JB
15022004-03-31 Joel Brobecker <brobecker@gnat.com>
1503
1504 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
1505 * gdb.ada (null_record.exp): New testcase.
1506
ac81cb54
JB
15072004-03-31 Joel Brobecker <brobecker@gnat.com>
1508
1509 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
1510
854af2f7
JB
15112004-03-31 Joel Brobecker <brobecker@gnat.com>
1512
1513 * gdb.ada: New subdirectory.
1514 * gdb.ada/Makefile.in: New file.
1515 * gdb.ada/gnat_ada.gpr.in: New file.
1516
034cb681
JB
15172004-03-31 Joel Brobecker <brobecker@gnat.com>
1518
1519 * lib/ada.exp: New file.
1520
78a1a894
DJ
15212004-03-24 Daniel Jacobowitz <drow@mvista.com>
1522
1523 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
1524 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
1525
4b2b3b3e
AC
15262004-03-22 Andrew Cagney <cagney@redhat.com>
1527
1528 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
1529 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
1530 Problem identified by Ulrich Weigand.
1531
23c73aa3
DC
15322004-03-17 David Carlton <carlton@kealia.com>
1533
1534 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
1535 PR c++/826.
1536
d63a86f8
RM
15372004-03-16 Roland McGrath <roland@redhat.com>
1538
1539 * gdb.base/auxv.exp: New file.
1540 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
1541
0e02aa50
DC
15422004-03-12 David Carlton <carlton@kealia.com>
1543
1544 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
1545 * gdb.cp/pr-1553.cc: Ditto.
1546 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
1547 pass branch.
1548
c20b71be
MC
15492004-03-12 Michael Chastain <mec.gnu@mindspring.com>
1550
1551 * gdb.cp/templates.exp: Accept more template types.
1552
c7414a01
MC
15532004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1554
1555 From Corinna Vinschen with modifications.
1556 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
1557 local variable obj_with_enum.
1558 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
1559 results with obj_with_enum.
1560
ed69573c
MC
15612004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1562
1563 * gdb.cp/classes.cc: New file, copied from misc.cc.
1564 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
1565
28301461
MC
15662004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1567
1568 * gdb.cp/misc.cc: Add copyright notice.
1569
1198ecbe
DC
15702004-03-05 David Carlton <carlton@kealia.com>
1571
1572 * gdb.cp/rtti.exp: Add 'print *obj3' test.
1573 * gdb.cp/rtti.h: Update copyright.
1574 (namespace n2::n3): New.
1575 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
1576 (n2::n3::func3): New.
1577 (main): Call n2::n3::func3.
1578 * gdb.cp/rtti2.cc: Update copyright.
1579 (n2::create3): New.
1580
9e08c470
MK
15812004-03-04 Mark Kettenis <kettenis@gnu.org>
1582
1583 * gdb.asm/openbsd.inc: Fix typo.
1584
4bebc3aa
FF
15852004-03-03 Fred Fish <fnf@redhat.com>
1586
1587 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
1588 "val" instead of unused "size". Update copyright year.
1589
6ea9fb37
DJ
15902004-02-29 Daniel Jacobowitz <drow@mvista.com>
1591
1592 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
1593 to use unsigned char.
1594 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
1595 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
1596
23b23974
DJ
15972004-02-29 Daniel Jacobowitz <drow@mvista.com>
1598
1599 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
1600 line of output.
1601
7574fd53
DJ
16022004-02-28 Daniel Jacobowitz <drow@mvista.com>
1603
1604 * gdb.base/relocate.c (dummy): Initialize.
1605
a195357f
DJ
16062004-02-28 Daniel Jacobowitz <drow@mvista.com>
1607
1608 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
1609 a breakpoint at exit.
1610
72fd54a9
FF
16112004-02-27 Fred Fish <fnf@redhat.com>
1612
1613 * gdb.base/chng-syms.exp: Add expect condition to match failing
1614 case that isn't a timeout.
1615
b9d23137
AC
16162004-02-27 Andrew Cagney <cagney@redhat.com>
1617
1618 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
1619 support.
1620
15d208f6 16212004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 1622
15d208f6
FF
1623 * gdb.arch/gdb1431.c: Remove.
1624 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
1625 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
1626 of "until" incorrectly.
1627
98f9cd2d
JB
16282004-02-26 J. Brobecker <brobecker@gnat.com>
1629
1630 * gdb.cp/class2.cc (empty): New class.
1631 (refer): New function.
1632 (main): Declare an object of type empty and use it.
1633 * gdb.cp/class2.exp: Print the value of an object of type empty.
1634
9b50c11b
JJ
16352004-02-26 Jeff Johnston <jjohnstn@redhat.com>
1636
1637 * gdb.base/langs.exp: Update query string to match the
1638 new nquery format used for pending breakpoints.
1639
0dcd613f
AC
16402004-02-26 Andrew Cagney <cagney@redhat.com>
1641
1642 Fix PR i18n/1570.
1643 * gdb.base/charset.c: Update copyright notice.
1644 (main, init_string): Remove the escape character '\e' tests.
1645 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
1646 * gdb.base/charset.exp (valid_host_charset): Ditto.
1647 * gdb.base/setvar.exp: Ditto.
1648
b8a56647
AC
16492004-02-24 Andrew Cagney <cagney@redhat.com>
1650
90d59e34
AC
1651 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
1652 mmapped data in core file" PASS and FAIL messages consistent.
1653
b8a56647
AC
1654 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
1655 setting a breakpoint. Work around PR java/1565.
1656
9f27c604
JJ
16572004-02-23 Jeff Johnston <jjohnstn@redhat.com>
1658
1659 * lib/gdb.exp (gdb_breakpoint): Update query string to match
1660 new nquery format.
1661 * gdb.base/pending.exp: Ditto.
1662
3224a706
MK
16632004-02-22 Mark Kettenis <kettenis@gnu.org>
1664
1665 * configure.in: Run stabs tests on *BSD.
1666 * configure: Regenerated.
1667
41e0a9ca
MK
16682004-02-21 Mark Kettenis <kettenis@gnu.org>
1669
1670 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
1671
1e1b3428
FF
16722004-02-20 Fred Fish <fnf@redhat.com>
1673
1674 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
1675 blank in test for "returns short", for consistency with other
1676 "returns xxx" tests. Update copyright year.
1677
f9a7572a
FF
16782004-02-19 Fred Fish <fnf@redhat.com>
1679
1680 New testcase for PR breakpoint/1558.
1681 * gdb.arch/gdb1558.exp: New file.
1682 * gdb.arch/gdb1558.c: New file.
1683
b2ce2854
EZ
16842004-02-19 Elena Zannoni <ezannoni@redhat.com>
1685
1686 * gdb.base/nodebug.exp: Fix typo.
1687
e7c9ff01
JB
16882004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1689
1690 Committed by Jim Blandy <jimb@redhat.com>.
1691
62f4b920
JB
1692 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
1693
2db536a1
JB
1694 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
1695
e7c9ff01
JB
1696 * gdb.base/float.exp: Support s390*-*-* targets.
1697
f3205b34
AF
16982004-02-17 Adam Fedor <fedor@gnu.org>
1699
1700 * gdb.base/gdb1555.exp: New file.
1701 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
1702
9d62932d
EZ
17032004-02-17 Elena Zannoni <ezannoni@redhat.com>
1704
1705 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
1706
344c9711
FF
17072004-02-16 Fred Fish <fnf@redhat.com>
1708
1709 * gdb.arch/gdb1291.c: Remove
1710 * gdb.arch/gdb1291.s: New test input file.
1711 * gdb.arch/gdb1291.exp: Expand test to check case that should not
1712 fail. Test for correct result, known incorrect result, other
1713 failures and timeouts.
1714
2d822687
AC
17152004-02-16 Andrew Cagney <cagney@redhat.com>
1716
1717 * gdb.base/bigcore.exp: New file.
1718 * gdb.base/bigcore.c: New file.
1719
dac15b66
AC
17202004-02-13 Andrew Cagney <cagney@redhat.com>
1721
1722 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
1723 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
1724 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
1725 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
1726 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
1727 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
1728 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
1729 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
1730 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
1731 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
1732
6bdfc2c4
JJ
17332004-02-11 Jeff Johnston <jjohnstn@redhat.com>
1734
1735 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
1736 executed is an alloc instruction.
1737
87b3ede8
DC
17382004-02-11 David Carlton <carlton@kealia.com>
1739
1740 * gdb.cp/breakpoint.exp: New.
1741 * gdb.cp/breakpoint.cc: New.
1742
6e19e2bf
MC
17432004-02-11 Michael Chastain <mec.gnu@mindspring.com>
1744
1745 Partial fix for PR gdb/1543.
1746 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
1747 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
1748 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
1749 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
1750 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
1751 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
1752 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
1753 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
1754 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
1755 to bug-gdb@prep.ai.mit.edu .
1756 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
1757 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
1758 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
1759 Likewise.
1760
5c5455dc
AC
17612004-02-10 Andrew Cagney <cagney@redhat.com>
1762
1763 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
1764 using gdb_internal_error_resync.
1765
9cf689d7
DJ
17662004-02-09 Daniel Jacobowitz <drow@mvista.com>
1767
1768 * gdb.threads/thread-specific.exp: Stop early if no threads are
1769 found.
1770
d2dc51db
MC
17712004-02-09 Michael Chastain <mec.gnu@mindspring.com>
1772
1773 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
1774
14b1a056
DJ
17752004-02-08 Daniel Jacobowitz <drow@mvista.com>
1776
1777 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
1778 breakpoints.
1779
83f66e8f
DJ
17802004-02-07 Daniel Jacobowitz <drow@mvista.com>
1781
1782 * config/sim.exp (gdb_load): Handle $arg == "".
1783 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
1784 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
1785
30fc0091
EZ
17862004-02-07 Elena Zannoni <ezannoni@redhat.com>
1787
1788 * gdb.base/maint.exp: Update test to reflect
1789 obstack changes.
1790
4d806929
JJ
17912004-02-04 Jeff Johnston <jjohnstn@redhat.com>
1792
1793 * gdb.base/pendshr.c (pendfunc): New function that calls
1794 pendfunc1.
1795 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
1796
7bfdd688
FF
17972004-02-04 Fred Fish <fnf@redhat.com>
1798
1799 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
1800 function symbols and update copyright years.
1801 * gdb.arch/gdb1291.c: Ditto.
1802
aaa08ee4
MC
18032004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1804
1805 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
1806
dbad7755
MC
18072004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1808
1809 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
1810
ec4646ef
MC
18112004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1812
1813 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
1814
1b802196
FF
18152004-02-02 Fred Fish <fnf@redhat.com>
1816
1817 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
1818 remote targets. Update copyright years.
1819
18fe2033
JJ
18202004-02-02 Jeff Johnston <jjohnstn@redhat.com>
1821
1822 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
1823 support.
1824 * gdb.base/langs.exp: Fix test which attempts to create
1825 breakpoint on non-existent function to handle new pending
1826 support.
1827 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
1828 a breakpoint.
1829 * gdb.base/pending.exp: New test.
1830 * gdb.base/pending.c: New file.
1831 * gdb.base/pendshr.c: Ditto.
1832
8d577d32
DC
18332004-02-02 David Carlton <carlton@kealia.com>
1834
1835 * gdb.cp/overload.exp: Add overloadNamespace tests.
1836 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
1837 (overloadNamespace, XXX): New.
1838 (main): Call XXX::marker2.
1839
3ad13771
FF
18402004-02-01 Fred Fish <fnf@redhat.com>
1841
1842 * gdb.base/dump.exp: Use runto_main instead of "runto main".
1843 * gdb.base/finish.exp: Ditto.
1844 * gdb.base/gcore.exp: Ditto.
1845 * gdb.base/huge.exp: Ditto.
1846 * gdb.base/info-proc.exp: Ditto.
1847 * gdb.base/return2.exp: Ditto.
1848 * gdb.threads/gcore-thread.exp: Ditto.
1849
44c75849
DJ
18502004-02-01 Daniel Jacobowitz <drow@mvista.com>
1851
1852 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
1853
005bc093
MK
18542004-02-01 Mark Kettenis <kettenis@gnu.org>
1855
1856 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
1857 that opening the file succeeds on OpenBSD.
1858
c47cebdb
DJ
18592004-02-01 Daniel Jacobowitz <drow@mvista.com>
1860
1861 * gdb.threads/thread-specific.c: New file.
1862 * gdb.threads/threads-specific.exp: New test script.
1863 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
1864 to expect_out.
1865
5a01311c
MK
18662004-02-01 Mark Kettenis <kettenis@gnu.org>
1867
1868 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
1869 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
1870 only on the "print_small_structs from print_long_arg_list" test.
1871
ce22a4f1
DJ
18722004-02-01 Daniel Jacobowitz <drow@mvista.com>
1873
1874 * gdb.base/completion.exp: Kill a stray backslash.
1875
1876 From Jim Ingham <jingham@apple.com>:
1877 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
1878 agrees with the result from sending a tab.
1879
abbab9d3
DJ
18802004-01-31 Daniel Jacobowitz <drow@mvista.com>
1881
1882 * gdb.base/chng-syms.exp: Remove stray newline.
1883
53904d1e
MK
18842004-01-31 Mark Kettenis <kettenis@gnu.org>
1885
1886 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
1887 *-*-openbsd*.
1888 * gdb.asm/openbsd.inc: New file.
1889
3a4b3aac
MK
18902004-01-30 Mark Kettenis <kettenis@gnu.org>
1891
1892 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
1893 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
1894 *-*solaris2*. Remove commented out default settings for
1895 asm-flags. Replace gdb_compile with target_link.
1896
ebac27b4
MC
18972004-01-29 Michael Chastain <mec.gnu@mindspring.com>
1898
1899 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
1900 for all tests. Remove old hp-ux and cygnus xfail cases.
1901
d8679d84
PH
19022004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
1903
1904 * gdb.base/chng-syms.exp: New file.
1905 * gdb.base/chng-syms.c: New file.
1906
0a55bc22
MC
19072004-01-24 Michael Chastain <mec.gnu@mindspring.com>
1908
1909 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
1910 Provide arms for current output in all my configurations.
1911
94b8e876
MC
19122004-01-24 Michael Chastain <mec.gnu@mindspring.com>
1913
1914 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
1915 * lib/compiler.cc: Likewise.
1916 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
1917 get the right preprocessor. Eval the output directly. Remove
1918 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
1919 hp_f77_compiler and hp_f90_compiler completely.
1920 (gdb_preprocess): Delete.
1921 (get_compiler): Delete.
1922
7cf03d44
MK
19232004-01-24 Mark Kettenis <kettenis@gnu.org>
1924
1925 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
1926 <string.h>.
1927
68b6dce9
NR
19282004-01-24 Nick Roberts <nick@nick.uklinux.net>
1929
1930 * gdb.mi/mi-stack.exp: Update copyright.
1931
b368761e
DC
19322004-01-23 David Carlton <carlton@kealia.com>
1933
1934 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
1935 test for cp_lookup_transparent_type.
1936 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
1937 call them.
1938
f2061b53
DJ
19392004-01-23 Daniel Jacobowitz <drow@mvista.com>
1940
1941 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
1942 after -var-update.
1943
37fc574a
DC
19442004-01-23 David Carlton <carlton@kealia.com>
1945
1946 * gdb.cp/namespace.cc (C::ensureRefs): New.
1947 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
1948
8e94b928
NR
19492004-01-20 Nick Roberts <nick@nick.uklinux.net>
1950
1951 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
1952 case "-stack-list-locals 2".
1953 * gdb.mi/mi-var-child.exp: Test for case
1954 "-var-list-children --all-values NAME".
1955
997b0952
MC
19562004-01-18 Michael Chastain <mec.gnu@mindspring.com>
1957
1958 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
1959
52470da3
MK
19602004-01-18 Mark Kettenis <kettenis@gnu.org>
1961
7049b4b8
MK
1962 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
1963 used with gdb_test_multiple.
1964
52470da3
MK
1965 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
1966 read at address 0. This fixes PR testsuite/1504.
1967
da6012e5
DJ
19682004-01-18 Daniel Jacobowitz <drow@mvista.com>
1969
1970 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
1971 Remove downloading, guessing the host executable, the calls to
1972 gdb_file_cmd and gdb_target_cmd, and "load" support.
1973 (infer_host_exec): New function broken out from gdb_load.
1974 (gdb_load): New wrapper for gdbserver_gdb_load.
1975 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
1976 gdb_target_cmd. Use -target-select.
1977 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
1978 Download binaries to the host. Clear last_mi_remote_file when
1979 we load a new binary.
1980 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
1981 call gdbserver_gdb_load and mi_gdb_target_cmd.
1982
32c70722
MC
19832004-01-17 Michael Chastain <mec.gnu@mindspring.com>
1984
1985 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
1986 type patterns.
1987
b0cecf36
MC
19882004-01-17 Michael Chastain <mec.gnu@mindspring.com>
1989
1990 * gdb.cp/templates.exp: Fix typo in test name of
1991 "print Foo<volatile char*>::foo".
1992
4120d7e6
MC
19932004-01-15 Michael Chastain <mec.gnu@mindspring.com>
1994
1995 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
1996
f679e530
BE
19972004-01-16 Ben Elliston <bje@wasabisystems.com>
1998
1999 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
2000 (clean mostlyclean): Remove empty rm.
2001
091c48f6
MC
20022004-01-15 Michael Chastain <mec.gnu@mindspring.com>
2003
2004 * gdb.base/setvar.exp: Add copyright years.
2005
3e5fc8d2
DC
20062004-01-14 David Carlton <carlton@bactrian.org>
2007
2008 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
2009 PR c++/1511 and update coment.
2010 * gdb.cp/templates.exp: Update patterns to match current output.
2011 If changes involve something other than whitespace, KFAIL
2012 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
2013
63d06c5c
DC
20142004-01-14 David Carlton <carlton@kealia.com>
2015
2016 * gdb.cp/namespace.exp: Add tests involving classes defined within
2017 namespaces.
2018 * gdb.cp/namespace.cc (C::CClass): New.
2019 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
2020
a51dab88
EZ
20212004-01-14 Elena Zannoni <ezannoni@redhat.com>
2022
2023 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
2024 what debug info we have. Print a better message if something goes
2025 wrong while producing the separate debug info file.
2026
a476ccc9
MC
20272004-01-14 Michael Chastain <mec.gnu@mindspring.com>
2028
2029 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
2030
f453692c
MC
20312004-01-14 Michael Chastain <mec.gnu@mindspring.com>
2032
2033 * gdb.base/callfuncs.c: Add copyright notice.
2034
f40063a5
MC
20352004-01-13 Michael Chastain <mec.gnu@mindspring.com>
2036
2037 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
2038 inheritance. PR gdb/1498, PR gcc/13539.
2039
19ac3974
EZ
20402004-01-13 Elena Zannoni <ezannoni@redhat.com>
2041
2042 * gdb.threads/gcore-thread.exp: Prefix name of binary with
2043 test specific name.
2044 * gdb.mi/gdb669.exp: Ditto.
2045 * gdb.mi/mi-pthreads.exp: Ditto.
2046 * gdb.mi/mi1-pthreads.exp: Ditto.
2047 * gdb.mi/mi2-pthreads.exp: Ditto.
2048
56c97c6e
MC
20492004-01-12 Michael Chastain <mec.gnu@mindspring.com>
2050
2051 * gdb.cp/member-ptr.cc: Add copyright notice.
2052
a0644324
MC
20532004-01-12 Michael Chastain <mec.gnu@mindspring.com>
2054
2055 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
2056 some patterns for recent versions of gcc and hpacc. Delete
2057 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
2058 Delete tests that access a NULL pointer-to-member-data. This
2059 script is still disabled for gcc.
2060
32fabe09
EZ
20612004-01-12 Elena Zannoni <ezannoni@redhat.com>
2062
2063 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
2064 escaped correctly.
2065
1f8a6abb
EZ
20662004-01-12 Elena Zannoni <ezannoni@redhat.com>
2067
2068 * gdb.base/sepdebug.exp: New file.
2069 * gdb.base/sepdebug.c: New file.
2070 * lib/gdb.exp (separate_debug_filename): New procedure.
2071 (gdb_gnu_strip_debug): New procedure.
2072
48efe704
AC
20732004-01-12 Andrew Cagney <cagney@redhat.com>
2074
2075 * gdb.mi/ChangeLog: Delete file. Renamed to ...
2076 * gdb.mi/ChangeLog-1999-2003: New file.
2077
a9415475
AC
20782004-01-12 Andrew Cagney <cagney@redhat.com>
2079
2080 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
2081 "Renaming a directory to a non-empty directory returns ENOTEMPTY
2082 or EEXIST", treat EBUSY as an XFAIL.
2083
83b8cf9d
MC
20842004-01-11 Michael Chastain <mec.gnu@mindspring.com>
2085
2086 * gdb.base/scope.exp: Remove obsolete setup_xfail for
2087 hp_cc_compiler.
2088
9939d2a8
MC
20892004-01-10 Michael Chastain <mec.gnu@mindspring.com>
2090
2091 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
2092 decorations.
2093
1ff8cadf
MC
20942004-01-10 Michael Chastain <mec.gnu@mindspring.com>
2095
2096 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
2097 and "(aCC)" decorations. Remove obsolete doco about old
2098 test results.
2099
6fa9022e
MC
21002004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2101
2102 * gdb.cp/exception.exp: Fix typo in doco.
2103
209721fe
MK
21042004-01-09 Mark Kettenis <kettenis@gnu.org>
2105
2106 * gdb.base/gdb1476.exp: Fix typo.
2107
ef11303e
MC
21082004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2109
2110 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
2111 file.
2112
041ab88c
MC
21132004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2114
2115 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
2116 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
2117 Use gdb_compile. Remove restriction on gcc. Add some patterns
2118 for recent version of gdb. Delete second half, which was a copy
2119 of the first half with different build flags. This test is
2120 still disabled because it is still not ready for production.
2121
e36d075a
MC
21222004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2123
2124 * gdb.cp/exception.cc: Add copyright notice.
2125 * gdb.cp/exception.exp: Add a notice that this file is broken
2126 because of line number changes caused by addition of copyright
2127 notice.
2128
42b190ad
MC
21292004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2130
2131 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
2132 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
2133
8f25f06b
MC
21342004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2135
2136 * gdb.cp/classes.exp: Accept gnu abi 2.
2137 * gdb.cp/derivation.exp: Likewise.
2138 * gdb.cp/overload.exp: Likewise.
2139 * gdb.cp/virtfunc.exp: Likewise.
2140
06ded8b8
MC
21412004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2142
2143 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
2144 semicolon after end of function.
2145
77c26ae3
MC
21462004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2147
2148 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
2149 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
2150 boilerplate code for compiling and running the program under
2151 test. Add some string method tests.
2152
20757486
MC
21532004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2154
2155 * gdb.cp/bs15503.cc: Add copyright notice.
2156 * gdb.cp/bs15503.exp: Adjust line number.
2157
0fd3b503
MC
21582004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2159
2160 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
2161 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
2162
10d1bea8
MC
21632004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2164
2165 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
2166 hp_cc_compiler.
2167
2789202a
MC
21682004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2169
2170 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
2171 * gdb.cp/ctti.exp: Use the marker instead of "next".
2172 With gcc, run further before bailing.
2173
b862f14c
MC
21742004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2175
2176 * gdb.cp/cttiadd.cc: Add copyright notice.
2177 * gdb.cp/cttiadd1.cc: Likewise.
2178 * gdb.cp/cttiadd2.cc: Likewise.
2179 * gdb.cp/cttiadd3.cc: Likewise.
2180
96da2469
MC
21812004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2182
2183 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
2184 Use gdb_test, gdb_test_multiple. Use floating-point values that
2185 have exact representations in IEEE-ish formats.
2186
053248ff
MC
21872004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2188
2189 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
2190 compilers. Delete duplicate call to get_compiler_info.
2191 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
2192 * gdb.base/volatile.exp: Likewise.
2193
84acecdd
MK
21942004-01-07 Mark Kettenis <kettenis@gnu.org>
2195
2196 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
2197 memory at address 0.
2198
fe11a27f
MC
21992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2200
2201 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
2202 to test for hp-ux assembler. Fix copyright years.
2203
60ad077b
AC
22042004-01-07 Andrew Cagney <cagney@redhat.com>
2205
2206 * gdb.base/fileio.c (strerrno): Add "EBUSY".
2207
1c9b8f33
AC
22082004-01-07 Andrew Cagney <cagney@redhat.com>
2209
2210 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
2211 when creating the read-only file. From analysis by Roland McGrath
2212 and Elena Zannoni.
2213
753ccc7a
MC
22142004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2215
2216 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
2217
eca3e36b
MC
22182004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2219
2220 * gdb.base/cvexpr.c: Be type-safe with function pointers and
2221 data pointers.
2222
f8d4bac4
MC
22232004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2224
2225 * gdb.cp/m-static.exp: Compile one source file at a time.
2226 Delete unused call to get_compiler_info.
2227
9b4e0f94
MC
22282004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2229
2230 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
2231 * gdb.base/call-rt-st.exp: Likewise.
2232 * gdb.base/nodebug.exp: Likewise.
2233 * gdb.base/volatile.exp: Likewise.
2234 * gdb.cp/ref-types.exp: Likewise.
2235 * gdb.cp/templates.exp: Likewise.
2236
023c1024
MK
22372004-01-05 Mark Kettenis <kettenis@gnu.org>
2238
2239 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
2240
19703c4a
MC
22412004-01-05 Michael Chastain <mec.gnu@mindspring.com>
2242
2243 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
2244 hppa*-hp-hpux*.
2245
18b67037
MK
22462004-01-04 Mark Kettenis <kettenis@gnu.org>
2247
ba6219c8
MK
2248 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2249 x86_64-*-*.
2250
18b67037
MK
2251 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2252 sparc64-*-* and sparc*-solaris2*.
2253
1bfbbb9d
MK
22542004-01-04 Mark Kettenis <kettenis@gnu.org>
2255
2256 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
2257 return ${tests}" test. The ${tests} already mentions the
2258 filename.
2259
06846494
MC
22602004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2261
2262 * gdb.cp/local.exp: Accept gcc abi 2.
2263
3b0cb202
MC
22642004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2265
2266 * gdb.cp/templates.exp: Accept gcc abi 2.
2267
0643ec3f
MC
22682004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2269
2270 * lib/compiler.cc: Remove supports_template_debugging.
2271 * gdb.cp/templates.exp: Do not test supports_template_debugging.
2272
d231d0b1
MC
22732004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2274
2275 * gdb.cp/namespace.exp: Accept gcc abi 2.
2276
44ffb27c
MC
22772004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2278
2279 * gdb.cp/method.exp: Accept gcc abi 2.
2280
184ad485
MC
22812004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2282
2283 * gdb.cp/classes.exp: Generate identical results as old version.
2284 * gdb.cp/derivation.exp: Likewise.
2285 * gdb.cp/overload.exp: Likewise.
2286 * gdb.cp/virtfunc.exp: Likewise.
2287
116f09e7
MC
22882004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2289
2290 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
2291 mysterious bug with sourceware version of expect.
2292
b1379776
MC
22932004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2294
2295 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
2296 current versions of gcc, including gcc abi 2. Remove gratuitous
2297 restart of test program. Use gdb_test_multiple and gdb_test for
2298 all tests. Add patterns to xfail missing "const" in "const char *"
2299 and kfail PR gdb/1155.
2300
6b7a4c0e
MC
23012004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2302
2303 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
2304 current versions of gcc, including gcc abi 2. Remove gratuitous
2305 restart of test program. Use gdb_test_multiple and gdb_test for
2306 all tests. Add patterns to kfail PR gdb/1498.
2307
51615d72
MC
23082003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2309
2310 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
2311 current versions of gcc, including gcc abi 2. Use "breakpoint"
2312 and "continue" instead of restarting the target program. Use
2313 gdb_test_multiple and gdb_test for all tests.
2314
7b79a9d7
MK
23152004-01-01 Mark Kettenis <kettenis@gnu.org>
2316
2317 * gdb.asm/asm-source.exp: Update copyright year. Link statically
2318 for *-*-solaris2*.
2319
1cd3489f
MC
23202003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2321
2322 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
2323 current versions of gcc, including gcc abi 2. Use "breakpoint"
2324 and "continue" instead of restarting the target program several
2325 times. Use gdb_test_multiple and gdb_test for all tests.
2326
850742db
MC
23272003-12-18 Michael Chastain <mec.gnu@mindspring.com>
2328
2329 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
2330 source files.
2331
eb4bbda8
MC
23322003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2333
2334 * gdb.base/environ.exp: Handle compiling test case from multiple
2335 source files.
2336
e42c7771
MC
23372003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2338
2339 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2340
80e4b428
JB
23412003-12-17 Jim Blandy <jimb@redhat.com>
2342
5f06973a
JB
2343 * gdb.base/freebpcmd.c: Add copyright notice.
2344
80e4b428
JB
2345 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
2346
0ab84fb7
MC
23472003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2348
2349 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
2350
1b3bb3d0
JB
23512003-12-13 Jim Blandy <jimb@redhat.com>
2352
2353 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
2354
3a4c9371
KB
23552003-12-12 Kevin Buettner <kevinb@redhat.com>
2356
2357 * gdb.asm/frv.inc: New file.
2358 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
2359
a1dea79a
FF
23602003-12-09 Fred Fish <fnf@redhat.com>
2361
2362 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
2363 functions to break1.c and leave prototypes behind. Add more
2364 "set breakpoint NN here" comments.
2365 * gdb.base/break1.c: New file.
2366
2367 * gdb.base/break.exp: Handle compiling test case from multiple
2368 source files and change source file references as needed.
2369 * gdb.base/completion.exp: Ditto.
2370 * gdb.base/condbreak.exp: Ditto.
2371 * gdb.base/define.exp: Ditto.
2372 * gdb.base/ena-dis-br.exp: Ditto.
2373 * gdb.base/info-proc.exp: Ditto.
2374 * gdb.base/maint.exp: Ditto.
2375 * gdb.base/until.exp: Ditto.
2376
2377 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
2378 hardcoded line numbers.
2379 * gdb.base/define.exp: Ditto.
2380 * gdb.base/ena-dis-br.exp: Ditto.
2381 * gdb.base/maint.exp: Ditto.
2382 * gdb.base/until.exp: Ditto.
2383
2384 * gdb.base/completion.exp: Use "break1" for completion tests since
2385 "break" is no longer a unique prefix.
2386
5266b69c
AC
23872003-12-06 Andrew Cagney <cagney@redhat.com>
2388
2389 * gdb.base/structs.exp (test_struct_returns): When applicable, set
2390 "return_value_unimplemented". When an unimplemented struct return
2391 architecture, report incorrect values as a KFAIL
2392
374451f0
MC
23932003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2394
2395 * gdb.cp/rtti.exp: Accept new wording of warning from
2396 cp_lookup_rtti_type.
2397
ba9b20a7
MC
23982003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2399
2400 Partial fix for PR testsuite/1456.
2401 * gdb.base/scope.exp (test_at_main): Replace references to
2402 gcc_compiled with calls to test_compiler_info.
2403 (test_at_foo): Likewise.
2404 (test_at_bar): Likewise.
2405
b74b6d0b
MC
24062003-12-04 Michael Chastain <mec.gnu@mindspring.com>
2407
2408 Partial fix for PR testsuite/1456.
2409 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
2410 to test_compiler_info.
2411
ccfa3402
MC
24122003-12-03 Michael Chastain <mec.gnu@mindspring.com>
2413
2414 * gdb.base/so-impl-ld.exp: Update copyright notice.
2415
f6246aba
MC
24162003-12-02 Michael Chastain <mec.gnu@mindspring.com>
2417
2418 Partial fix for PR testsuite/1456.
2419 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
2420 to test_compiler_info.
2421
13ae734a
MC
24222003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2423
2424 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
2425 from current versions of gdb. Clean up regular expressions.
2426 Delete redundant timeout case.
2427
d8e1cdee
MC
24282003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2429
2430 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
2431 from current versions of gdb. Clean up regular expressions.
2432 Delete redundant timeout case.
2433
96457b64
MC
24342003-12-01 Michael Chastain <mec.gnu@mindspring.com>
2435
2436 Partial fix for PR testsuite/1456.
2437 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
2438 gcc_compiled with call to test_compiler_info.
2439
f35309fc
MC
24402003-11-30 Michael Chastain <mec.gnu@mindspring.com>
2441
2442 Partial fix for PR testsuite/1456.
2443 * gdb.base/list.exp (test_list_function): Delete unused declaration
2444 of gcc_compiled.
2445
d7afdf9b
MC
24462003-11-29 Michael Chastain <mec.gnu@mindspring.com>
2447
2448 Partial fix for PR testsuite/1456.
2449 * gdb.base/complex.exp: Replace reference to gcc_compiled with
2450 call to test_compiler_info.
2451
71507b56
MK
24522003-11-29 Mark Kettenis <kettenis@gnu.org>
2453
2454 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
2455 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
2456 it to create the appropriate note.inc.
2457 * gdb.asm/asmsrc1.s: Include "note.inc".
2458 * gdb.asm/netbsd.inc: New file.
2459 * gdb.asm/empty.inc: New file.
2460
f81f93f7
MC
24612003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2462
2463 Partial fix for PR testsuite/1456.
2464 * gdb.base/constvars.exp: Replace references to gcc_compiled with
2465 calls to test_compiler_info.
2466
9a77938e
MC
24672003-11-27 Michael Chastain <mec.gnu@mindspring.com>
2468
2469 Partial fix for PR testsuite/1456.
2470 * gdb.base/volatile.exp: Replace references to gcc_compiled with
2471 calls to test_compiler_info.
2472
e8367dc7
MK
24732003-11-27 Mark Kettenis <kettenis@gnu.org>
2474
2475 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
2476 pattern for the KFAILs.
2477
526c61ee
AF
24782003-11-25 Adam Fedor <fedor@gnu.org>
2479
2480 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
2481 * gdb.objc/objcdecode.m: New file.
2482
28f2d600
AF
24832003-11-25 Adam Fedor <fedor@gnu.org>
2484
2485 * gdb.objc/nondebug.exp: Test for PR objc/1236.
2486 * gdb.objc/nondebug.m: New file.
2487
a3895cee
BE
24882003-11-26 Ben Elliston <bje@wasabisystems.com>
2489
2490 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2491 NetBSD as it does on FreeBSD. Modelled on a similar change by
2492 Mark Kettenis on 2003-05-30.
2493 (link-flags): Set to "--entry _start" regardless of target.
2494 Special linker flags are to be appended to $link-flags.
2495 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2496
c9f2c8a3
MC
24972003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2498
2499 * gdb.cp/method.exp: Accept output of new demangler.
2500
15a0587a 25012003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
2502
2503 * gdb/class2.exp: New file.
2504 * gdb/class2.cc: New file.
2505
3c00b570
MC
25062003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2507
2508 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
2509 of new demangler.
2510
7027acc7
MK
25112003-11-23 Mark Kettenis <kettenis@gnu.org>
2512
2513 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
2514 of gdb_test "run".
2515
b0e1598a
MK
25162003-11-23 Mark Kettenis <kettenis@gnu.org>
2517
2518 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
2519 "continue" into "run".
2520
4d9eda44
MC
25212003-11-23 Michael Chastain <mec.gnu@mindspring.com>
2522
2523 Partial fix for PR testsuite/1456.
2524 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
2525 call to test_compiler_info.
2526 * gdb.cp/ctti.exp: Likewise.
2527 * gdb.cp/derivation.exp: Likewise.
2528 * gdb.cp/member-ptr.exp: Likewise.
2529 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
2530 reference to gcc_compiled.
2531
25322003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
2533
2534 Fix PR testsuite/1463.
2535 * gdb.base/structs.exp (start_structs_test): Call
2536 get_debug_format before using the debug format.
2537
d422fe19
AC
25382003-11-22 Andrew Cagney <cagney@redhat.com>
2539
2540 * lib/gdb.exp (gdb_test_multiple): Add simple example.
2541 * gdb.base/structs.exp: Use gdb_test_multiple.
2542
039cf96d
AC
25432003-11-20 Andrew Cagney <cagney@redhat.com>
2544
6882279b
AC
2545 * gdb.base/structs.exp: Handle and recover from internal errors.
2546 Replace "foo${n}" with "foo<n>" in test messages.
2547
e53890ae
AC
2548 * gdb.base/structs.exp: Update copyright. Rewrite.
2549 * gdb.base/structs.c: Update copyright. Rewrite.
2550
2b211c59
AC
2551 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
2552 resync count exceeded.
d63a86f8 2553
039cf96d
AC
2554 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
2555 from the internal error.
2556 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
2557 Original from Jim Blandy.
2558 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 2559
eac98b22
AC
25602003-11-19 Andrew Cagney <cagney@redhat.com>
2561
2562 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
2563 KFAIL.
2564
67455b2a
MK
25652003-11-17 Mark Kettenis <kettenis@gnu.org>
2566
2567 New testcase for PR backtrace/1435.
2568 * gdb.arch/i386-unwind.exp: New file.
2569 * gdb.arch/i386-unwind.c: New file.
2570
853d6e5b
AC
25712003-11-17 Andrew Cagney <cagney@redhat.com>
2572
2573 * lib/gdb.exp (compiler_info): New global.
2574 (test_compiler_info): New function.
2575 (get_compiler_info): Set compiler_info.
2576 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
2577 "compiler_info" to gcc-<major>-<minor>.
2578
38cf6e11
MC
25792003-11-15 Michael Chastain <mec.gnu@mindspring.com>
2580
2581 * gdb.trace/configure: Remove.
2582
a50d3602
EZ
25832003-11-13 Elena Zannoni <ezannoni@redhat.com>
2584
2585 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 2586 breakpoints.
a50d3602
EZ
2587 * gdb.base/break.exp: Remove all references to explicit line
2588 numbers.
2589
d9407aaa
NC
25902003-11-11 Nick Clifton <nickc@redhat.com>
2591
2592 * gdb.base/shreloc.exp: Do not run for targets which do not
2593 support shared objects.
2594
db488fc1
CV
25952003-11-10 Corinna Vinschen <vinschen@redhat.com>
2596
2597 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
2598 Don't run tests if nofileio flag is given.
2599
6a90a18e
EZ
26002003-11-07 Elena Zannoni <ezannoni@redhat.com>
2601
2602 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
2603 as well as 'Watchpoint'.
2604
0b915e9c
EZ
26052003-11-06 Elena Zannoni <ezannoni@redhat.com>
2606
2607 Reported by Jim Ingham <jingham@apple.com>:
2608 * gdb.base/annota1.exp: Match at least one occurrence of the
2609 signal handler annotation.
2610
d7e4b55f
EZ
26112003-11-06 Elena Zannoni <ezannoni@redhat.com>
2612
2613 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
2614 as well as 'Watchpoint'.
2615
2fe4e8d0
MC
26162003-11-05 Michael Chastain <mec@shout.net>
2617
2618 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
2619
6ef88553
KW
26202003-11-03 Kris Warkentin <kewarken@qnx.com>
2621
2622 * gdb.arch/gdb1291.c: New test file.
2623 * gdb.arch/gdb1291.exp: New test script.
2624 * gdb.arch/gdb1431.c: New test file.
2625 * gdb.arch/gdb1431.exp: New test script.
2626
ae7dc4d8
MC
26272003-10-22 Michael Chastain <mec@shout.net>
2628
2629 * gdb.mi/pthreads.c: Add copyright notice.
2630
c39d7427
MC
26312003-10-22 Michael Chastain <mec@shout.net>
2632
2633 * gdb.threads/pthreads.c: Add copyright notice.
2634
8b7d96c1
MC
26352003-10-20 Michael Chastain <mec@shout.net>
2636
2637 * gdb.base/gdb1056.exp: New test script.
2638
d1d69fdd
DJ
26392003-10-13 Daniel Jacobowitz <drow@mvista.com>
2640
2641 * gdb.threads/killed.exp: Use gdb_run_cmd.
2642
7d605576
DJ
26432003-10-13 Daniel Jacobowitz <drow@mvista.com>
2644
2645 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
2646 create a core file.
2647 * gdb.threads/gcore-thread.exp: Likewise.
2648
618ec112
CV
26492003-10-13 Corinna Vinschen <vinschen@redhat.com>
2650
2651 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
2652 type, based on char type.
2653 (struct bit_flags_short_t): New bitfield type, based on short type.
2654 (init_bit_flags_char): New fuction.
2655 (init_bit_flags_short): Ditto.
2656 (print_bit_flags_char): Ditto.
2657 (print_bit_flags_short): Ditto.
2658 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
2659
9367a73c
MC
26602003-10-11 Michael Chastain <mec@shout.net>
2661
2662 * gdb.base/call-rt-st.exp: Update copyright year.
2663
1decf120
KI
26642003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
2665
2666 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
2667 * gdb.disasm/sh3.s: Ditto.
2668
5445b2ae
DJ
26692003-10-07 Daniel Jacobowitz <drow@mvista.com>
2670
2671 * gdb.threads/switch-threads.exp: New test.
2672 * gdb.threads/switch-threads.c: New source file.
2673
aec24853
CV
26742003-10-07 Corinna Vinschen <vinschen@redhat.com>
2675
2676 * gdb.base/ending-run.exp: Add sh specific case.
2677
adc7428d
AC
26782003-10-06 Andrew Cagney <cagney@redhat.com>
2679
2680 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
2681 * gdb.disasm/mn10200.exp: Delete obsolete file.
2682
c9d37158
DJ
26832003-09-29 Daniel Jacobowitz <drow@mvista.com>
2684
2685 * ChangeLog: Correct an entry command.exp -> commands.exp.
2686 * gdb.base/commands.exp (bp_deleted_in_command_test)
2687 (temporary_breakpoint_commands): Check noargs.
2688
79c2c32d
DC
26892003-09-25 David Carlton <carlton@kealia.com>
2690
2691 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
2692 of some print tests, where appropriate. Add tests for C::D::cd,
2693 E::ce, F::cXfX, G::XgX.
2694 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
2695
594e6d67
RE
26962003-09-25 Richard Earnshaw <rearnsha@arm.com>
2697
2698 * lib/java.exp (java_init): Import target_alias before using it.
2699
10f0d451
DC
27002003-09-25 David Carlton <carlton@kealia.com>
2701
2702 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
2703
274bcba0
EZ
27042003-09-23 Elena Zannoni <ezannoni@redhat.com>
2705
d63a86f8 2706 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
2707 weirdness.
2708
cdbf20f7
MC
27092003-09-17 Michael Chastain <mec@shout.net>
2710
2711 * gdb.cp/gdb1355.exp: New file.
2712 * gdb.cp/gdb1355.c: New file.
2713
71e06f80
CV
27142003-09-15 Corinna Vinschen <vinschen@redhat.com>
2715
2716 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
2717 * gdb.asm/sh.inc: New file.
2718
5c4e30ca
DC
27192003-09-11 David Carlton <carlton@kealia.com>
2720
bd45b7af
DC
2721 * gdb.cp/namespace.exp: Add tests for namespace types.
2722 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
2723 (test_namespace): New.
2724
1c199746
EZ
27252003-09-11 Elena Zannoni <ezannoni@redhat.com>
2726
2727 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 2728 * gdb.stabs/weird.exp: Ditto.
1c199746 2729
04ed252f
MC
27302003-09-08 Michael Chastain <mec@shout.net>
2731
2732 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2733
d8a2d9e7
MC
27342003-09-07 Michael Chastain <mec@shout.net>
2735
2736 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
2737 'parse error'.
2738
161afb24
MK
27392003-09-07 Mark Kettenis <m.kettenis@osp.nl>
2740
2741 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
2742
49f2741a
MC
27432003-08-30 Michael Chastain <mec@shout.net>
2744
2745 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
2746 * gdb.gdb/observer.exp: Ditto.
2747 * gdb.gdb/xfullpath.exp: Ditto.
2748
8afa723e
MK
27492003-08-29 Mark Kettenis <kettenis@gnu.org>
2750
2751 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
2752 *-*-*bsd*.
2753
f31dfe3b
JJ
27542003-08-28 Jeff Johnston <jjohnstn@redhat.com>
2755
2756 * gdb.base/dump.exp: Skip for ia64.
2757
4630e498
JJ
27582003-08-25 Jeff Johnston <jjohnstn@redhat.com>
2759
2760 * gdb.asm/asm-source.exp: Add ia64 support.
2761 * gdb.asm/ia64.inc: New file.
2762
1105b7ef
MC
27632003-08-22 Michael Chastain <mec@shout.net>
2764
2765 * gdb.cp: New directory.
2766 * gdb.cp/*: Copy from gdb.c++/*.
2767 * gdb.c++/*: Remove.
2768 * Makefile.in: Change gdb.c++ to gdb.cp.
2769 * configure.in: Ditto.
2770 * configure: Regnerate.
2771
c945b932
MK
27722003-08-18 Mark Kettenis <kettenis@gnu.org>
2773
2774 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
2775 * gdb.arch/i386-prologue.c (gdb1338): Add function.
2776
2b66634b
DJ
27772003-08-17 Daniel Jacobowitz <drow@mvista.com>
2778
2779 * mi-var-display.exp (-var-list-children weird): Accept function
2780 pointers with argument types.
2781 * mi1-var-display.exp (-var-list-children weird): Likewise.
2782 * mi2-var-display.exp (-var-list-children weird): Likewise.
2783
a356f73b
DJ
27842003-08-17 Daniel Jacobowitz <drow@mvista.com>
2785
2786 * gdb.base/annota3.exp: Add missing newline.
2787
483417b8
MC
27882003-08-06 Michael Chastain <mec@shout.net>
2789
2790 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
2791
c99c59c3
MS
27922003-08-12 Michael Snyder <msnyder@redhat.com>
2793
2794 * gdb.base/float.exp: Add test for SH.
2795
55ed7501
MK
27962003-08-10 Mark Kettenis <kettenis@gnu.org>
2797
2798 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
2799
1a371f2e
EZ
28002003-08-07 Elena Zannoni <ezannoni@redhat.com>
2801
2802 * gdb.base/completion.exp: Remove reduntant completion test
2803 on filename.
2804
e0f353ce
EZ
28052003-08-07 Elena Zannoni <ezannoni@redhat.com>
2806
2807 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
2808 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
2809 gdb.trace/save-trace.exp: Make sure that full pathnames are
2810 escaped correctly.
2811
5710a1af 28122003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 2813
5710a1af
EZ
2814 * configure.in: Don't generate config.h from config.hin.
2815 * configure: Regenerate.
2816 * config.hin: Remove file.
2817 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
2818 * gdb.threads/pthreads.c: Ditto.
2819
dcd81ce9
DJ
28202003-08-07 Daniel Jacobowitz <drow@mvista.com>
2821
2822 From Kei Sakamoto <sakamoto.kei@renesas.com>:
2823 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
2824 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
2825 Replace ld24 with seth/add3.
2826
6009d884
AC
28272003-08-02 Andrew Cagney <cagney@redhat.com>
2828
2829 * gdb.base/annota3.exp: New file.
2830 * gdb.base/annota3.c: New file.
2831 * gdb.c++/annota3.exp: New file.
2832 * gdb.c++/annota3.cc: New file.
2833
51514e06
MC
28342003-07-29 Michael Chastain <mec@shout.net>
2835
2836 * gdb.threads/tls.c (spin): Check errno only if sem_wait
2837 actually failed.
2838 (do_pass): Likewise.
2839 * gdb.threads/tls.exp: Always initialize no_of_threads.
2840
4ee6625b
DJ
28412003-07-27 Daniel Jacobowitz <drow@mvista.com>
2842
2843 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
2844 pattern.
2845 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
2846 * gdb.threads/tls.exp: Recognize one case of the host library not
2847 supporting TLS.
2848
225f2bf6
AC
28492003-07-27 Andrew Cagney <cagney@redhat.com>
2850
2851 * gdb.base/fileio.exp: Use SH when running commands using
2852 remote_exec.
2853
bcb27c9f
DJ
28542003-07-24 Daniel Jacobowitz <drow@mvista.com>
2855
2856 From Kei Sakamoto <sakamoto.kei@renesas.com>:
2857 * gdb.base/relocate.c (dummy): New padding array.
2858
3d67be83
MS
28592003-07-22 Michael Snyder <msnyder@redhat.com>
2860
d63a86f8 2861 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
2862
2863 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
2864 patterns to be more general, accepting old and new output.
2865 Some output chars (such as '+') also must be quoted.
d63a86f8 2866 Some addresses are displayed numerically instead of
3d67be83
MS
2867 symbolically.
2868
57ba3b85
MS
28692003-07-23 Michael Snyder <msnyder@redhat.com>
2870
686d097c
MS
2871 * gdb.base/return2.exp: Don't test long-long return.
2872
57ba3b85
MS
2873 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
2874 * gdb.disasm/t01_mov.exp: Ditto.
2875 * gdb.disasm/t02_mova.s: Ditto.
2876 * gdb.disasm/t02_mova.exp: Ditto.
2877 * gdb.disasm/t03_add.s: Ditto.
2878 * gdb.disasm/t03_add.exp: Ditto.
2879 * gdb.disasm/t04_sub.s: Ditto.
2880 * gdb.disasm/t04_sub.exp: Ditto.
2881 * gdb.disasm/t05_cmp.s: Ditto.
2882 * gdb.disasm/t05_cmp.exp: Ditto.
2883 * gdb.disasm/t06_ari2.s: Ditto.
2884 * gdb.disasm/t06_ari2.exp: Ditto.
2885 * gdb.disasm/t07_ari3.s: Ditto.
2886 * gdb.disasm/t07_ari3.exp: Ditto.
2887 * gdb.disasm/t08_or.s: Ditto.
2888 * gdb.disasm/t08_or.exp: Ditto.
2889 * gdb.disasm/t09_xor.s: Ditto.
2890 * gdb.disasm/t09_xor.exp: Ditto.
2891 * gdb.disasm/t10_and.s: Ditto.
2892 * gdb.disasm/t10_and.exp: Ditto.
2893 * gdb.disasm/t11_logs.s: Ditto.
2894 * gdb.disasm/t11_logs.exp: Ditto.
2895 * gdb.disasm/t12_bit.s: Ditto.
2896 * gdb.disasm/t12_bit.exp: Ditto.
2897 * gdb.disasm/t13_otr.s: Ditto.
2898 * gdb.disasm/t13_otr.exp: Ditto.
2899
e00759ef
EZ
29002003-07-22 Elena Zannoni <ezannoni@redhat.com>
2901
2902 * gdb.threads/tls.exp :Add kfail for 'info address' case.
2903
8bc2021f
EZ
29042003-07-22 Elena Zannoni <ezannoni@redhat.com>
2905
2906 * gdb.threads/tls.c : New file.
2907 * gdb.threads/tls.exp : New file.
2908 * gdb.threads/tls-main.c : New file.
2909 * gdb.threads/tls-shared.c : New file.
2910 * gdb.threads/tls-shared.exp : New file.
2911
89320c4c
AS
29122003-07-22 Andreas Schwab <schwab@suse.de>
2913
2914 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
2915
180dea7c
AS
29162003-07-20 Andreas Schwab <schwab@suse.de>
2917
2918 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
2919 due to insn reordering.
2920
0714963c
AC
29212003-07-15 Andrew Cagney <cagney@redhat.com>
2922
2923 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
2924
98a23b3f
MC
29252003-07-15 Michael Chastain <mec@shout.net>
2926
2927 * gdb.base/gdb1250.exp: New file.
2928 * gdb.base/gdb1250.c: New file.
2929
27e417a2
ML
29302003-07-09 Michal Ludvig <mludvig@suse.cz>
2931
2932 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
2933 expansion of size_t to 'unsigned long', not only to 'unsigned'.
2934
8bc2021f
EZ
29352003-07-09 Elena Zannoni <ezannoni@redhat.com>
2936
2937 * gdb.threads/tls.c: New file.
2938 * gdb.threads/tls.exp: New file.
2939 * gdb.threads/tls-main.c: New file.
2940 * gdb.threads/tls-shared.c: New file.
2941 * gdb.threads/tls-shared.exp: New file.
2942
d99968dc
EZ
29432003-07-09 Elena Zannoni <ezannoni@redhat.com>
2944
2945 * gdb.base/annota1.exp: Make sure that we properly escape the
2946 full path of the source file. Xfail more permissive patterns,
d63a86f8 2947 due to a compiler debug info problem.
d99968dc 2948
83876b3b
AS
29492003-07-07 Andreas Schwab <schwab@suse.de>
2950
2705e972
AS
2951 * gdb.asm/m68k.inc: New file.
2952 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
2953
83876b3b
AS
2954 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
2955 arguments"): Also match negative number.
2956
2957 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2958
3a871b37
DJ
29592003-07-03 Daniel Jacobowitz <drow@mvista.com>
2960
2961 * gdb.base/store.c (charest): New typedef.
2962 (add_char): Rename to add_charest, update.
2963 (wack_char): Rename to wack_charest, update types. Return l + r
2964 to keep r live across the call.
2965 (wack_short, wack_int, wack_long, wack_longest, wack_float)
2966 (wack_double, wack_doublest): Return l + r to keep r live across
2967 the call.
2968 * gdb.base/store.exp: Accomodate store.c changes.
2969
b2a7f303
DC
29702003-06-30 David Carlton <carlton@kealia.com>
2971
2972 * gdb.c++/maint.exp (test_invalid_name): New.
2973 (test_first_component): Add tests for invalid names.
2974
3c6cb4a1
MC
29752003-06-29 Michael Chastain <mec@shout.net>
2976
2977 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
2978 output of '<VTT for class>' for virtual base classes.
2979
f1c2644b
DJ
29802003-06-29 Daniel Jacobowitz <drow@mvista.com>
2981
2982 * gdb.base/completion.exp: Tab-complete "complet" instead of
2983 "compl".
2984 * gdb.base/complex.exp, gdb.base/complex.c: New files.
2985
18080350
DJ
29862003-06-29 Daniel Jacobowitz <drow@mvista.com>
2987
2988 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
2989 * gdb.base/volatile.exp: Likewise.
2990
f56973f8
DJ
29912003-06-29 Daniel Jacobowitz <drow@mvista.com>
2992
2993 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
2994 gdb/1265.
2995
29962003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
2997 Daniel Jacobowitz <drow@mvista.com>
2998
2999 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
3000 initial line count of 'captured_main' from 26 to 32.
3001 (test_with_self): Allow xmalloc call to be interleaved with the
3002 preceding two lines.
3003
e766d4d6
JB
30042003-06-24 Joel Brobecker <brobecker@gnat.com>
3005
3006 * gdb.base/bang.exp: New testcase.
3007
f125c9a4
JB
30082003-06-23 Joel Brobecker <brobecker@gnat.com>
3009
3010 * gdb.base/langs.exp: Add some tests for the "minimal" language
3011 support.
3012
6e25beaf
EZ
30132003-06-23 Elena Zannoni <ezannoni@redhat.com>
3014
3015 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
3016 the testcase.
3017
2f816dda
DJ
30182003-06-22 Daniel Jacobowitz <drow@mvista.com>
3019
3020 * gdb.base/relocate.exp: Test add-symbol-file with a variable
3021 offset.
3022
db5a5748
DJ
30232003-06-22 Daniel Jacobowitz <drow@mvista.com>
3024
3025 * gdb.c++/pr-1210.cc: New file.
3026 * gdb.c++/pr-1210.exp: New file.
3027
1df0c130
DJ
30282003-06-21 Daniel Jacobowitz <drow@mvista.com>
3029
3030 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
3031 000-exec-continue.
3032
a92feac0
MK
30332003-06-15 Mark Kettenis <kettenis@gnu.org>
3034
3035 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
3036 on *-*-*bsd* instead of *-*-freebsd*.
3037
81a58f5b
AC
30382003-06-14 Andrew Cagney <cagney@redhat.com>
3039
3040 * gdb.base/store.exp: Test longest and doublest. Test all
3041 parameters. Weaken return statement match.
3042 * gdb.base/store.c: Add longest and doublest - aka long long and
3043 long double functions. Put all parameters into local register
3044 variables. Use negative values.
3045
b257a0d3
AC
30462003-06-14 Andrew Cagney <cagney@redhat.com>
3047
3048 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
3049 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
3050 exit status.
3051 * gdb.base/fileio.exp: Disable target when nointerrupts and
3052 noinferiorio, instead of limiting it to remote. Use remote_exec
3053 instead of system.
d63a86f8 3054
21c38304
JJ
30552003-06-12 Jeff Johnston <jjohnstn@redhat.com>
3056
3057 * gdb.base/float.exp: Add ia64 support.
3058
1bcdb424
CV
30592003-06-12 Corinna Vinschen <vinschen@redhat.com>
3060
3061 * gdb.base/fileio.exp: Run only on remote targets.
3062
6aeb981f
CV
30632003-06-10 Corinna Vinschen <vinschen@redhat.com>
3064
3065 * gdb.base/fileio.c: New file, testing File-I/O.
3066 * gdb.base/fileio.exp: Ditto.
3067
53df362e
RG
30682003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
3069
3070 * gdb.base/shreloc.exp: New file, check symbol values obtained from
3071 shared objects after relocation at load time (gdb PR/1132).
3072 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
3073 as above, part of the shared object relocation test.
3074
ffee1b46
MK
30752003-06-08 Mark Kettenis <kettenis@gnu.org>
3076
b5ca3722
MK
3077 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
3078 fully filled history list.
3079 * gdb.base/gdb_history: New file.
3080
03ed860d
MK
3081 * gdb.base/signals.exp: XFAIL "continue to func1" on
3082 i*86-*-freebsd*.
3083
ffee1b46
MK
3084 * gdb.base/attach.exp: When trying to attach to a nonexistent
3085 process, make it possible to specify the PID based on the target,
3086 and do so for *-*-freebsd*.
3087
d80dbb52
RH
30882003-06-02 Richard Henderson <rth@redhat.com>
3089
3090 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
3091
6dd77b81
RH
30922003-06-02 Richard Henderson <rth@redhat.com>
3093
3094 * gdb.base/selftest.exp: Next over lim_at_start initialization.
3095
f6347e16
RH
30962003-06-02 Richard Henderson <rth@redhat.com>
3097
3098 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
3099
2c161407
DJ
31002003-06-01 Daniel Jacobowitz <drow@mvista.com>
3101
3102 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
3103 of globalvar.
3104
572eb746
MK
31052003-06-01 Mark Kettenis <kettenis@gnu.org>
3106
3107 * gdb.asm/asm-source.exp: Check for memory read errors in
3108 disassembler test on *BSD too.
3109
9e9617a5
RH
31102003-06-01 Richard Henderson <rth@redhat.com>
3111
3112 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
3113 for .frame.
3114 (gdbasm_call): Lose ldgp.
3115 (gdbasm_startup): Add frame information.
3116 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
3117
7b34ad4e
MK
31182003-05-31 Mark Kettenis <kettenis@gnu.org>
3119
3120 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
3121 i?86-*-*.
3122
10059fdf
MK
31232003-05-30 Mark Kettenis <kettenis@gnu.org>
3124
3125 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
3126 FreeBSD.
3127
acf4b816
RH
31282003-05-29 Richard Henderson <rth@redhat.com>
3129
3130 * gdb.asm/alpha.inc: New file.
3131 * gdb.asm/asm-source.exp: Use it.
3132
e9ecd949
JB
31332003-05-29 Jim Blandy <jimb@redhat.com>
3134
3135 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
3136 'core.PID'.
3137
e3e5a4f3
JB
31382003-05-22 Jim Blandy <jimb@redhat.com>
3139
3140 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
3141 backtrace.
d63a86f8 3142
72fe3d25
DC
31432003-05-20 David Carlton <carlton@math.stanford.edu>
3144
3145 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
3146 this time.
3147
58da2eb2
DC
31482003-05-19 David Carlton <carlton@bactrian.org>
3149
3150 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
3151 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
3152
1fcb5155
DC
31532003-05-19 David Carlton <carlton@bactrian.org>
3154
3155 * gdb.c++/namespace.exp: Add namespace scope and anonymous
3156 namespace tests.
3157 Bump copyright date.
3158 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
3159 (main): Call C::D::marker2.
3160 * gdb.c++/namespace1.cc: New file.
3161
85e85163
JJ
31622003-05-14 Jeff Johnston <jjohnstn@redhat.com>
3163
3164 Roland McGrath <roland@redhat.com>
d63a86f8 3165 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
3166 there is no manager thread.
3167
a25fbfec
JJ
31682003-05-08 Jeff Johnston <jjohnstn@redhat.com>
3169
d63a86f8
RM
3170 * gdb.threads/schedlock.exp: Remove assumption that all threads
3171 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
3172 in one of the child threads rather than the main thread.
3173
be375bae
JB
31742003-05-07 Jim Blandy <jimb@redhat.com>
3175
09bf6082
JB
3176 Add support for assembly source testing on the s390x.
3177 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
3178 architecture.
3179 * gdb.asm/s390x.inc: New file.
3180
be375bae
JB
3181 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
3182 succession of 'if' statements.
3183
00905d52
AC
31842003-05-05 Andrew Cagney <cagney@redhat.com>
3185
3186 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
3187
b1e29e33
AC
31882003-05-05 Andrew Cagney <cagney@redhat.com>
3189
3190 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
3191 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
3192
e33d66ec
EZ
31932003-05-02 Elena Zannoni <ezannoni@redhat.com>
3194
3195 * gdb.base/charset.exp: Update based on new behavior of set/show
3196 charset commands.
3197
2b6fd0d8
AC
31982003-05-01 Andrew Cagney <cagney@redhat.com>
3199
3200 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
3201 variable do not give memory errors.
3202
130cacce
AF
32032003-04-30 Adam Fedor <fedor@gnu.org>
3204
3205 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
3206 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
3207 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
3208 gdb.objc/basicclass.m: : New files
3209
3210 * lib/gdb.exp (gdb_compile_objc): New procedure.
3211
bea71854
DJ
32122003-04-27 Daniel Jacobowitz <drow@mvista.com>
3213
3214 * gdb.base/signals.exp: Make backtrace tests more specific.
3215
0f20eeea
DC
32162003-04-23 David Carlton <carlton@bactrian.org>
3217
3218 * gdb.c++/maint.exp (test_first_component): Add tests for
3219 'operator' in more locations.
3220
c8c4d8dc
KB
32212003-04-16 Kevin Buettner <kevinb@redhat.com>
3222
3223 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
3224
3fe60e3c
EZ
32252003-04-16 Elena Zannoni <ezannoni@redhat.com>
3226
3227 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
3228 func marke' instead. Update test name.
3229
9219021c
DC
32302003-04-15 David Carlton <carlton@math.stanford.edu>
3231
3232 * gdb.c++/maint.exp: New file.
3233
5dd55bdd
EZ
32342003-04-14 Elena Zannoni <ezannoni@redhat.com>
3235
3236 * gdb.threads/schedlock.c: Change type of thread function argument
3237 to long, to avoid warnings on 64-bit platforms.
3238
00890572
EZ
32392003-04-14 Elena Zannoni <ezannoni@redhat.com>
3240
3241 * gdb.base/attach.exp: Add new message from ptrace in case of
3242 attaching to nonexistent process.
d63a86f8 3243
93201743
JB
32442003-04-11 Jim Blandy <jimb@redhat.com>
3245
3246 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3247 gdb.c++/userdef.cc: Place comments on the lines to which the
3248 marker function might return.
3249 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3250 gdb.c++/userdef.exp: Look for those comments to check that we've
3251 returned to the right place, instead of checking line numbers.
3252
2a11c64d
EZ
32532003-04-11 Elena Zannoni <ezannoni@redhat.com>
3254
3255 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
3256 match on sourcefile name, instead of directory name.
3257
68ab8fc5
EZ
32582003-04-10 Elena Zannoni <ezannoni@redhat.com>
3259
d63a86f8 3260 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
3261 working directory name.
3262
5624293a
JB
32632003-04-09 Jim Blandy <jimb@redhat.com>
3264
3265 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3266 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
3267 after an inferior function call, report the failure, but allow the
3268 test to continue.
3269
f1f02ee4
SC
32702003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3271
3272 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3273 with -DPROTOTYPES.
3274
6eb79af0
SC
32752003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3276
3277 * gdb.base/break.exp: Revert last patch.
3278
8dfb4cf0
SC
32792003-04-04 Stephane Carrez <stcarrez@nerim.fr>
3280
3281 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3282 with -DPROTOTYPES.
3283
ed4c619a
AC
32842003-04-02 Andrew Cagney <cagney@redhat.com>
3285
3286 * gdb.base/callfuncs.exp: Make "print add" messages unique.
3287 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
3288 matching directories by the name breakpoint.
3289 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
3290 Make "continue to marker1" consistent.
3291 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
3292 message consistent.
3293 * lib/gdb.exp: Put "the program is no longer running", and "the
3294 program exited" in parenthesis.
3295 * lib/mi-support.exp: Ditto.
d63a86f8 3296
4e35d5f0 32972003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 3298
4e35d5f0
BR
3299 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
3300
71900fe8
AC
33012003-03-29 Andrew Cagney <cagney@redhat.com>
3302
3303 * gdb.base/sizeof.c (main): Print the value of '\377'.
3304 * gdb.base/sizeof.exp: Check the sign of '\377'.
3305
c0655a16
MC
33062003-03-27 Michael Chastain <mec@shout.net>
3307
3308 * gdb.base/gdb1090.exp: New file.
3309 * gdb.base/gdb1090.cc: New file.
3310
5b2a3989
JB
33112003-03-27 J. Brobecker <brobecker@gnat.com>
3312
3313 * gdb.gdb/observer.exp: New regression test.
3314
79876890
MC
33152003-03-27 Michael Chastain <mec@shout.net>
3316
3317 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
3318 * gdb.base/ptype.exp: Likewise.
3319
6eac95e3
CV
33202003-03-27 Corinna Vinschen <vinschen@redhat.com>
3321
3322 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
3323
e8c71839
MC
33242003-03-26 Michael Chastain <mec@shout.net>
3325
3326 * gdb.base/ptype.exp: Actually use some typedef'd types.
3327
71b10041
SC
33282003-03-21 Stephane Carrez <stcarrez@nerim.fr>
3329
3330 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
3331 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
3332
2512cf80
CV
33332003-03-20 Corinna Vinschen <vinschen@redhat.com>
3334
3335 * gdb.base/default.exp: Fix regular expression.
3336
0d195a4f
CV
33372003-03-20 Corinna Vinschen <vinschen@redhat.com>
3338
3339 * gdb.base/args.exp: Fix regular expression.
3340
8a2dbca8
CV
33412003-03-20 Corinna Vinschen <vinschen@redhat.com>
3342
3343 * gdb.base/help.exp: Allow Win32 child process.
3344
bf028682
CV
33452003-03-20 Corinna Vinschen <vinschen@redhat.com>
3346
3347 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
3348 when stepping out of main().
3349
182dbe85
CV
33502003-03-20 Corinna Vinschen <vinschen@redhat.com>
3351
3352 * gdb.base/default.exp: Check for win32 specific message when calling
3353 "run" without executable.
3354
d67a6ba5
CV
33552003-03-20 Corinna Vinschen <vinschen@redhat.com>
3356
3357 * gdb.base/args.exp: Expect .exe in output.
3358
a955b5bb
CV
33592003-03-20 Corinna Vinschen <vinschen@redhat.com>
3360
3361 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
3362 Cygwin native.
3363
bf6bad4b
AC
33642003-03-17 Andrew Cagney <cagney@redhat.com>
3365
3366 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
3367 vector registes.
3368 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
3369 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
3370
293e9a31
DC
33712003-03-17 David Carlton <carlton@math.stanford.edu>
3372
3373 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
3374 test, for PR breakpoints/38.
3375 Call test_watchpoint_and_breakpoint.
3376 * gdb.base/watchpoint.c (func3): New function.
3377 (main): Call func3.
3378
5330f2db
DC
33792003-03-04 David Carlton <carlton@math.stanford.edu>
3380
3381 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
3382 Garply<Garply<char> >:: garply".
3383 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
3384 with respect to PR c++/1111; note also PR c++/1113.
3385 (test_template_breakpoints): KFAIL "constructor breakpoint" with
3386 respect to PR c++/1062.
3387 KFAIL "destructor breakpoint" with respect to PR c++/1112.
3388
6ece72da
DC
33892003-03-03 David Carlton <carlton@math.stanford.edu>
3390
3391 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
3392 with respect to PR c++/57.
3393 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
3394 c++/826.
3395 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
3396 respect to PR c++/57.
3397
85ca1584
DC
33982003-03-03 David Carlton <carlton@math.stanford.edu>
3399
3400 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
3401 respect to PR c++/33 into FAILs.
3402
98e9c5b8
MC
34032003-03-03 Michael Chastain <mec@shout.net>
3404
7bedbf27
MC
3405 * configure.in: Update copyright years.
3406
34072003-03-03 Michael Chastain <mec@shout.net>
3408
3409 * Makefile.in: Update copyright years.
98e9c5b8 3410
f683e100
DC
34112003-02-28 David Carlton <carlton@math.stanford.edu>
3412
3413 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
3414 print class instead of struct and/or superfluous protection
3415 specifiers, as long as the resulting output is equivalent to the
3416 source code.
3417 Delete FIXME from end of messages on tests that don't need
3418 fixing.
3419
a9e0cf2c
DC
34202003-02-28 David Carlton <carlton@math.stanford.edu>
3421
3422 * gdb.c++/templates.exp (do_tests): Allow const in the two
3423 Foo<volatile char *>::foo tests.
3424
e8d359df
MS
34252003-02-27 Michael Snyder <msnyder@redhat.com>
3426
d63a86f8 3427 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
3428 will be consistant.
3429
0b71dc91
DC
34302003-02-26 David Carlton <carlton@math.stanford.edu>
3431
3432 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
3433 char *>::foo" test with respect to PR c++/33. Create a new test
3434 which is identical to that one except that it doesn't put the
3435 space between the "char" and the "*"; KFAIL it, too.
3436
dd14ab43
DC
34372003-02-26 David Carlton <carlton@math.stanford.edu>
3438
3439 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
3440 template types into either PASSes or KFAILs (corresponding to PR
3441 c++/57). Tweak indentation. Update copyright.
3442
1146c7f1
SC
34432003-02-23 Stephane Carrez <stcarrez@nerim.fr>
3444
3445 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
3446
74641dfb
MC
34472003-02-13 Michael Chastain <mec@shout.net>
3448
3449 * gdb.base/exprs.exp: Remove i960 remnants.
3450 * gdb.base/funcargs.exp: Likewise.
3451 * gdb.base/list.exp: Likewise.
3452 * gdb.base/ptype.exp: Likewise.
3453
559cd2d0
DC
34542003-02-14 David Carlton <carlton@math.stanford.edu>
3455
3456 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
3457 pEe->D::vg()" from XFAIL to KFAIL.
3458
c4f90d87
JM
34592003-02-13 Jason Molenda (jmolenda@apple.com)
3460
3461 * gdb.base/maint.exp: Update maint print statistics regexp to include
3462 new entries.
3463
cbc4d97c
MC
34642003-02-13 Michael Chastain <mec@shout.net>
3465
3466 * gdb.c++/inherit.exp: Remove call to get_debug_format.
3467
40f235b7
MC
34682003-02-12 Michael Chastain <mec@shout.net>
3469
3470 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
3471 * gdb.c++/inherit.exp: Likewise.
3472 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
3473 * gdb.c++/templates.exp: Likewise.
3474 * gdb.c++/virtfunc.exp: Likewise.
3475
c56716b0
JM
34762003-02-06 Jason Molenda (jason-cl@molenda.com)
3477
3478 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
3479 why the code is written that way.
3480
070afcf8
MC
34812003-02-05 Michael Chastain <mec@shout.net>
3482
3483 * gdb.base/dump.exp: Add missing copyright line.
3484
5d0331e5
JM
34852003-02-05 Jason Molenda (jason-cl@molenda.com)
3486
f7ae6d3e 3487 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
3488 at the beginning so the breakpoint doesn't get set on the loop.
3489
92851186
MC
34902003-02-05 Michael Chastain <mec@shout.net>
3491
3492 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
3493 output for configurations with gcc 2.95.3.
3494
cbf1e085
AC
34952003-02-05 Keith Seitz <keiths@redhat.com>
3496 Andrew Cagney <ac131313@redhat.com>
3497
3498 * gdb.mi/mi-cli.exp: New file.
d63a86f8 3499
29518e1e
MC
35002003-02-04 Michael Chastain <mec@shout.net>
3501
3502 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
3503 Call perror and then continue.
3504
5af1d5f3
MC
35052003-02-03 Michael Chastain <mec@shout.net>
3506
3507 * gdb.c++/pr-1023.cc: New file.
3508 * gdb.c++/pr-1023.exp: New file.
3509
6b549786
JB
35102003-02-05 Jim Blandy <jimb@redhat.com>
3511
3512 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
3513 it's local to foobar. Check for it there, and check that it's not
3514 present in main.
3515 * gdb.c++/local.cc (marker2): New function.
3516 (foobar): Call marker1.
3517 (main): Call marker2 instead of marker1.
3518
67f16606
AC
35192003-02-04 Andrew Cagney <ac131313@redhat.com>
3520
3521 * gdb.disasm/mn10200.exp: Obsolete file.
3522 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
3523 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
3524 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
3525
1c5cb38e
DC
35262003-02-04 David Carlton <carlton@math.stanford.edu>
3527
3528 * gdb.c++/overload.exp: Test intToChar(1).
3529 * gdb.c++/overload.cc (intToChar): New.
3530 (main): Call intToChar.
3531
d1fe6965
DC
35322003-02-03 David Carlton <carlton@math.stanford.edu>
3533
3534 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
3535 'might_kfail' arg.
3536 KFAIL some of the continue_to_bp_overloaded calls, according to
3537 PR c++/1025.
3538
9ba61c5d
MC
35392003-02-01 Michael Chastain <mec@shout.net>
3540
3541 * gdb.base/advance.c (marker1): New marker function.
3542 * gdb.base/advance.exp: When the 'advance' command lands on the
3543 return breakpoint, it can legitimately stop on either the
3544 current line or the next line. Accommodate both outcomes.
3545 * gdb.base/until.exp: Likewise.
3546
e7494ffb
AC
35472003-02-02 Andrew Cagney <ac131313@redhat.com>
3548
3549 2002-11-10 Jason Molenda (jason-cl@molenda.com):
3550 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
3551 now a list, not a tuple.
3552 * gdb.mi/mi-var-display.exp: Ditto.
3553 * gdb.mi/gdb792.exp: Ditto.
3554
075559bc
AC
35552003-02-01 Andrew Cagney <ac131313@redhat.com>
3556
3557 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
3558 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
3559 stack backtraces.
3560 * gdb.mi/mi-syn-frame.c: Part of same.
3561
2bd4c7b1
MK
35622003-02-01 Mark Kettenis <kettenis@gnu.org>
3563
3564 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3565 gdb.mi/mi1-pthreads.exp: Return instead of calling
3566 gdb_suppress_entire_file.
3567
eabd8992
MS
35682003-02-01 Mark Salter <msalter@redhat.com>
3569
3570 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
3571
71469e2f
MS
35722003-01-31 Mark Salter <msalter@redhat.com>
3573
3574 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
3575 Support empty arg.
3576
38a94d44
MC
35772003-01-30 Michael Chastain <mec@shout.net>
3578
3579 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
3580 This was a workaround for a UTF-8 bug in readline 4.3. The bug
3581 has been fixed in gdb/readline on 2003-01-09.
3582
19ea9e73
MS
35832003-01-29 Michael Snyder <msnyder@redhat.com>
3584
e8d359df
MS
3585 * gdb.base/maint.exp: Allow for leading underscore in symbol.
3586 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
3587 * gdb.base/args.exp: Skip if target does not support args passing.
3588
2307bd6a
DJ
35892003-01-22 Daniel Jacobowitz <drow@mvista.com>
3590
19ea9e73 3591 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
3592 gdb_test. Accept a list of expect arguments as the third
3593 parameter.
3594 (gdb_test): Use it.
3595
f2dd3617
EZ
35962003-01-20 Elena Zannoni <ezannoni@redhat.com>
3597
3598 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
3599 allow for different test tree configurations. Update some
3600 tescases accordingly.
3601 * gdb.arch/altivec-regs.exp: Ditto.
3602 * gdb.asm/asm-source.exp: Ditto.
3603 * gdb.base/advance.exp: Ditto.
3604 * gdb.base/display.exp: Ditto.
d63a86f8 3605 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
3606 * gdb.base/mips_pro.exp: Ditto.
3607 * gdb.base/overlays.exp: Ditto.
3608 * gdb.base/relocate.exp: Ditto.
3609 * gdb.base/setshow.exp: Ditto.
3610 * gdb.base/step-line.exp: Ditto.
3611 * gdb.base/step-test.exp: Ditto.
3612 * gdb.base/until.exp: Ditto.
3613 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
3614
c71cdefd
DC
36152003-01-17 David Carlton <carlton@math.stanford.edu>
3616
3617 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
3618 corresponding to PR c++/945.
3619 Update copyright.
3620
fdba05d7
DC
36212003-01-17 David Carlton <carlton@math.stanford.edu>
3622
3623 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
3624 corresponding to PR c++/68.
3625
36262003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
3627
3628 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
3629 (test_paddr_hairy_functions): Call print_addr_2_kfail for
3630 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
3631
c362c33a
EZ
36322003-01-15 Elena Zannoni <ezannoni@redhat.com>
3633
0fbc361c
EZ
3634 * gdb.base/break.exp: Fix change of default location, because of
3635 removal of until tests.
3636 * gdb.base/help.exp: Update test for new 'until' help message.
3637 Add test for help on 'advance'.
c362c33a
EZ
3638 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
3639
dabf8a35
MK
36402003-01-15 Mark Kettenis <kettenis@gnu.org>
3641
3642 * gdb.base/default.exp: Adapt "info float" test for recent changes
3643 to that command. Add test for "info vector".
3644 * gdb.base/float.exp: New file. Add test for "info float" that
3645 resembles the old test in gdb.base/default.exp.
3646
a1769aca
DC
36472003-01-15 David Carlton <carlton@math.stanford.edu>
3648
3649 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
3650
82025e13
EZ
36512003-01-15 Elena Zannoni <ezannoni@redhat.com>
3652
3653 * gdb.base/break.exp: Move the tests of until command from here...
3654 * gdb.base/until.exp: ... to here. New file. Add other tests.
3655 * gdb.base/advance.c: New file.
3656 * gdb.base/advance.exp: New file.
3657
8f9ab801
EZ
36582003-01-14 Elena Zannoni <ezannoni@redhat.com>
3659
3660 * gdb.base/args.c: New file.
3661 * gdb.base/args.exp: New file.
3662
9ae66589
DJ
36632003-01-14 Daniel Jacobowitz <drow@mvista.com>
3664
3665 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
3666
8d77e5c3
DJ
36672003-01-14 Daniel Jacobowitz <drow@mvista.com>
3668
3669 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
3670
12d2f0a1
DJ
36712003-01-14 Daniel Jacobowitz <drow@mvista.com>
3672
3673 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
3674 dates.
3675
6ca37014
DJ
36762003-01-13 Daniel Jacobowitz <drow@mvista.com>
3677
3678 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
3679
b0023472
DJ
36802003-01-13 Daniel Jacobowitz <drow@mvista.com>
3681
3682 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
3683 (ptype &*"foo").
3684 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
3685
607fbc54 36862003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
3687
3688 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
3689 * gdb.mi/mi1-console.exp: Likewise.
3690
607fbc54 36912003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
3692
3693 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
3694 * gdb.mi/mi1-console.exp: Likewise.
3695
a1fb14a2
DJ
36962003-01-13 Daniel Jacobowitz <drow@mvista.com>
3697
3698 * gdb.c++/overload.exp: Remove some fixed XFAILs.
3699
c4cf40b7
DJ
37002003-01-09 Daniel Jacobowitz <drow@mvista.com>
3701
3702 * gdb.base/detach.exp: New test.
3703
696d5a5b
DJ
37042003-01-09 Daniel Jacobowitz <drow@mvista.com>
3705
3706 * Makefile.in (ALL_SUBDIRS): New variable.
3707 (subdirs, clean, distclean): Use it.
3708 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
3709 regenerating Makefile, since it is generated from the top level.
3710 * gdb.asm/Makefile.in: Likewise.
3711 * gdb.base/Makefile.in: Likewise.
3712 * gdb.c++/Makefile.in: Likewise.
3713 * gdb.disasm/Makefile.in: Likewise.
3714 * gdb.java/Makefile.in: Likewise.
3715 * gdb.mi/Makefile.in: Likewise.
3716 * gdb.threads/Makefile.in: Likewise.
3717 * gdb.trace/Makefile.in: Likewise.
3718
754533e4
DC
37192003-01-09 David Carlton <carlton@math.stanford.edu>
3720
3721 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
3722 Add copyright year 2003.
3723
d8b3e9ee
MC
37242003-01-06 Michael Chastain <mec@shout.net>
3725
3726 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
3727 When selecting a thread, 'line' and 'file' are optional.
3728 * gdb.mi/mi1-pthreads.exp: Likewise.
3729
8e9e0fe6
AS
37302003-01-06 Andreas Schwab <schwab@suse.de>
3731
3732 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
3733 failures.
3734
b5ab8ff3
DJ
37352003-01-04 Daniel Jacobowitz <drow@mvista.com>
3736
3737 Fix PR gdb/844
3738 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
3739 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
3740
3741 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
3742 instead of calling gdb_suppress_entire_file.
3743 * gdb.threads/print-threads.exp: Likewise.
3744 * gdb.threads/schedlock.exp: Likewise.
3745
3746 * gdb.threads/killed.exp: Return instead of calling
3747 gdb_suppress_entire_file.
3748 * gdb.threads/linux-dp.exp: Likewise.
3749 * gdb.threads/pthreads.exp: Likewise.
3750
1e698235
DJ
37512003-01-04 Daniel Jacobowitz <drow@mvista.com>
3752
3753 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
3754 stabs.
3755 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
3756 * gdb.base/whatis.exp: Always allow (void) after function names.
3757
147ff08c
DJ
37582003-01-04 Daniel Jacobowitz <drow@mvista.com>
3759
3760 * gdb.c++/casts.exp: Correct regexp.
3761
dc62bfc2
MK
37622003-01-04 Mark Kettenis <kettenis@gnu.org>
3763
3764 * configure.in: Call AC_CONFIG_HEADER. Don't call
3765 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
3766 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
3767 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
3768 aforementioned directories in the AC_OUPUT call.
3769 * config.hin: New file.
3770 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3771 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
3772 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
3773 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
3774 pass -I$objdir instead of -I$objdir/$subdir in compilation.
3775 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
3776 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
3777 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
3778 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
3779 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
3780 gdb.threads/configure.in, gdb.threads/configure,
3781 gdb.threads/config.in, gdb.trace/configure.in,
3782 gdb.trace/configure: Removed.
3783
77afa639
MC
37842003-01-03 Michael Chastain <mec@shout.net>
3785
3786 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
3787 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
3788
7634bb6e
DJ
37892003-01-03 Daniel Jacobowitz <drow@mvista.com>
3790
3791 * gdb.base/store.exp: Fix regular expressions.
3792
b39c905e
MK
37932002-12-28 Mark Kettenis <kettenis@gnu.org>
3794
3795 * configure.in: Rewrite.
3796 * configure: Regenerated.
3797
0a8551dd
DC
37982003-01-03 David Carlton <carlton@math.stanford.edu>
3799
3800 * gdb.base/psymtab.exp: New file.
3801 * gdb.base/psymtab1.c: Ditto.
3802 * gdb.base/psymtab2.c: Ditto.
3803
c60b7188
AF
38042002-12-23 Adam Fedor <fedor@gnu.org>
3805
3806 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
3807
ee73db83
DC
38082002-12-23 David Carlton <carlton@math.stanford.edu>
3809
3810 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
3811 and current_directory initialization.
3812
d6c1774e
JB
38132002-12-22 Jim Blandy <jimb@redhat.com>
3814
f0a847b8
JB
3815 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
3816 rather than as part of the output file name.
3817
d6c1774e
JB
3818 * gdb.base/attach.exp: There's no need to copy the test program to
3819 /tmp; that was only ever necessary on HP/UX, and this test is
3820 entirely disabled there anyway.
3821
f0708dbb
JB
38222002-12-21 Jim Blandy <jimb@redhat.com>
3823
4c2acfea
JB
3824 * gdb.c++/psmang.exp: Doc fix.
3825
f0708dbb
JB
3826 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
3827 test.
3828
9579e000
DC
38292002-12-20 David Carlton <carlton@math.stanford.edu>
3830
3831 * gdb.c++/annota2.exp: KFAIL annotate-quit.
3832
d1810171
MC
38332002-12-18 Michael Chastain <mec@shout.net>
3834
3835 * gdb.c++/annota2.exp: Add copyright year 2002.
3836
76565097
DC
38372002-12-17 David Carlton <carlton@math.stanford.edu>
3838
3839 * gdb.c++/try_catch.cc: Add marker comments.
3840 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
3841 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
3842 * gdb.c++/m-static.cc: Ditto.
3843 * gdb.c++/m-static1.cc: Ditto.
3844 * gdb.c++/try_catch.cc: Ditto.
3845
da81390b
JJ
38462002-12-16 Jeff Johnston <jjohnstn@redhat.com>
3847
3848 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
3849 to see whether we are using the new -environment-directory
3850 command which resets via -r or the old version of the command
3851 which may prompt the user. Part of fix for gdb/741.
3852
b304d130
AC
38532002-12-13 Andrew Cagney <ac131313@redhat.com>
3854
3855 * gdb.fortran/types.exp: Update obsolete comment.
3856 * gdb.fortran/exprs.exp: Ditto.
3857 * lib/gdb.exp: Delete obsolete code.
3858 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
3859 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
3860 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
3861 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
3862 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
3863 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
3864 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
3865 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
3866 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
3867 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
3868 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
3869 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
3870 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
3871 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
3872 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
3873 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
3874 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
3875 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
3876 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
3877 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
3878 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
3879 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
3880 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
3881 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
3882 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
3883 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
3884 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
3885 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
3886 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
3887 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
3888 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
3889 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
3890 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
3891 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
3892 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
3893 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
3894 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
3895
a23b6e6a
DC
38962002-12-11 David Carlton <carlton@math.stanford.edu>
3897
3898 * gdb.c++/m-data.exp: Add test for members that shadow global
3899 variables: see PR gdb/804.
3900 * gdb.c++/m-data.cc: Ditto.
3901
6604731b
DJ
39022002-12-10 Daniel Jacobowitz <drow@mvista.com>
3903
3904 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
3905
de46ecd7
DC
39062002-12-06 David Carlton <carlton@math.stanford.edu>
3907
3908 * gdb.base/store.c: Don't declare functions static.
3909
27e829d0
AC
39102002-12-04 Andrew Cagney <ac131313@redhat.com>
3911
3912 * gdb.base/store.exp, gdb.base/store.c: New files.
3913
92806416
DJ
39142002-12-03 Daniel Jacobowitz <drow@mvista.com>
3915
3916 * gdb.base/selftest.exp: Update for current gdb.
3917
3bcbaac5
DJ
39182002-12-03 Daniel Jacobowitz <drow@mvista.com>
3919
3920 * gdb.base/maint.exp: Only dump symbols from one source file
3921 or objfile.
3922
f4f00b1f
DJ
39232002-12-03 Daniel Jacobowitz <drow@mvista.com>
3924
3925 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
3926 function call.
3927
f1c8a949
JB
39282002-11-25 Jim Blandy <jimb@redhat.com>
3929
3930 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
3931 function appearing in error message.
3932
9e297a97
DJ
39332002-11-21 Daniel Jacobowitz <drow@mvista.com>
3934
3935 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
3936
1f312e79
JJ
39372002-11-08 Jeff Johnston <jjohnstn@redhat.com>
3938
d63a86f8
RM
3939 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
3940 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
3941 should be in mi console format. This is part of fix for PR gdb/604.
3942
83c31e7d
FN
39432002-09-18 Fernando Nasser <fnasser@redhat.com>
3944
3945 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
3946 which explicitly prints the zero offset as "+0".
3947
322b3f65
DJ
39482002-10-22 Daniel Jacobowitz <drow@mvista.com>
3949
3950 * gdb.threads/schedlock.c (args): Make unsigned.
3951
39522002-10-21 Daniel Jacobowitz <drow@mvista.com>
3953
3954 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
3955 numbers. Allow "foo2|selected stack frame".
3956 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
3957 * gdb.asm/asmsrc2.s: Likewise.
3958 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
3959 comments.
3960 * gdb.asm/mips.inc: New file.
3961
5e2fe5b8
AF
39622002-10-18 Adam Fedor <fedor@gnu.org>
3963
3964 * gdb.base/default.exp: Update expected output to include 'ObjC'.
3965 * gdb.base/help.exp: Likewise.
3966
abe1a5d0
KB
39672002-10-17 Kevin Buettner <kevinb@redhat.com>
3968
3969 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
3970 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
3971
10abb1d4
JB
39722002-10-02 Jim Blandy <jimb@redhat.com>
3973
3974 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
3975
1f609b42
AC
39762002-10-01 Andrew Cagney <ac131313@redhat.com>
3977
3978 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
3979 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
3980 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
3981 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
3982 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
3983 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
3984 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
3985
0aee02e4
AC
39862002-09-29 Andrew Cagney <ac131313@redhat.com>
3987
3988 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
3989 * mi0-disassemble.exp, mi0-eval.exp: Delete.
3990 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
3991 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
3992 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
3993 * mi0-var-block.exp, mi0-var-child.exp: Delete.
3994 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 3995
6fde09ad
KB
39962002-09-27 Kevin Buettner <kevinb@redhat.com>
3997
3998 * gdb.base/annota1.exp (info break): Make directory components of
3999 path optional since not all compilers emit this debug information.
4000
4001 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
4002 step ends up stepping out of the function instead of stopping on
4003 the epilogue.
4004
9e8aab75
KS
40052002-09-26 Keith Seitz <keiths@redhat.com>
4006
4007 * lib/insight-support.exp (gdbtk_start): Figure out where
4008 the insight executable is based on where gdb is. Use this
4009 executable to start insight instead of gdb.
4010
e36180d7
AC
40112002-09-25 Andrew Cagney <cagney@redhat.com>
4012
4013 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
4014
9dd34b2b
AC
40152002-09-24 Andrew Cagney <ac131313@redhat.com>
4016
4017 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
4018 test_isolated_complaints.
4019 (test_empty_complaint): New function.
4020 (test_empty_complaints): New function. Check no output when no
4021 complaints.
d63a86f8 4022
dea97812
KB
40232002-09-19 Jim Blandy <jimb@redhat.com>
4024
4025 * gdb.base/charset.exp, gdb.base/charset.c: New files.
4026
54951bd7
AC
40272002-09-19 Andrew Cagney <ac131313@redhat.com>
4028
4029 * gdb.gdb/complaints.exp: New file.
4030
dec43320
AC
40312002-09-18 Andrew Cagney <ac131313@redhat.com>
4032
4033 * gdb.base/maint.exp: Check `help maint internal-warning'.
4034
e70d6e3f
DC
40352002-09-18 David Carlton <carlton@math.stanford.edu>
4036
4037 * gdb.c++/m-static.exp: Remove breakpoints depending on line
4038 numbers, and replace them by a single breakpoint after the
4039 constructors are all finished.
4040 Add test 4.
4041 * gdb.c++/m-static.cc: Add test 4.
4042 * gdb.c++/m-static.h: New file.
4043 * gdb.c++/m-static1.cc: New file.
4044
4045 * gdb.c++/printmethod.exp: New file.
4046 * gdb.c++/printmethod.cc: New file.
4047
4048 * gdb.c++/pr-574.exp: New file.
4049 * gdb.c++/pr-574.cc: New file.
4050
afb5c968
CV
40512002-09-18 Corinna Vinschen <vinschen@redhat.com>
4052
4053 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
4054 embedded targets which never actually exit.
4055
31e45dee
FN
40562002-09-18 Fernando Nasser <fnasser@redhat.com>
4057
4058 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
4059 "don't step after run" as unresolved or unsupported, instead of xfail.
4060
a283c5a1
CV
40612002-09-18 Corinna Vinschen <vinschen@redhat.com>
4062
4063 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
4064 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
4065 Add newline to expected string in "step out of main (status wrapper)"
4066 case.
4067
11350d2a
CV
40682002-09-18 Corinna Vinschen <vinschen@redhat.com>
4069
4070 * lib/gdb.exp (rerun_to_main): Allow restarting application.
4071 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
4072
0deec7d6
TT
40732002-09-17 Tom Tromey <tromey@redhat.com>
4074
4075 * gdb.base/printcmds.exp (test_print_string_constants): Expect
4076 \000, not \0, in double-quoted string.
4077
b2b4a1b5
CV
40782002-09-14 Corinna Vinschen <vinschen@redhat.com>
4079
c9d37158 4080 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
4081 string after running the commands execution on breakpoint tests.
4082
1c56143a
CV
40832002-09-13 Corinna Vinschen <vinschen@redhat.com>
4084
4085 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
4086
37f8da45
JB
40872002-09-12 Joel Brobecker <brobecker@gnat.com>
4088
4089 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
4090
08b468e0
KS
40912002-09-10 Keith Seitz <keiths@redhat.com>
4092
4093 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
4094 runto proc.
4095 (mi_run_to_main): Use mi_runto.
4096 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
4097
dc360f58
KS
40982002-09-10 Keith Seitz <keiths@redhat.com>
4099
4100 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
4101 regexp for stopping at main. Could have multiple event notifications.
4102 Don't assume that main was declared with no parameters.
4103 (mi_next): Use mi_step_to.
4104 (mi_step): Use mi_next_to.
4105
ce3abcfb
CV
41062002-09-09 Corinna Vinschen <vinschen@redhat.com>
4107
4108 * gdb.base/default.exp: Fix expected string in `info float' test.
4109
d1f5b980
BE
41102002-09-09 Ben Elliston <bje@redhat.com>
4111
4112 * config/mips.exp: Update comments.
4113 * config/mips-idt.exp: Likewise.
4114 * config/nind.exp: Likewise.
4115 * config/slite.exp: Likewise.
4116 * config/sparclet.exp: Likewise.
4117 * config/udi.exp: Likewise.
4118 * config/vx.exp: Likewise.
4119 * config/vxworks29k.exp: Likewise.
4120
2f71430b
JB
41212002-09-05 Jim Blandy <jimb@redhat.com>
4122
4123 * gdb.threads/killed.exp: Fix test failure message.
4124
7ddebc7e
KS
41252002-09-04 Keith Seitz <keiths@redhat.com>
4126
4127 * lib/mi-support.exp: Update copyright.
4128 (mi_gdb_test): Increase the priority of the expected pattern
4129 so that it matches gdb_test.
4130
0ae67eb3
KS
41312002-09-03 Keith Seitz <keiths@redhat.com>
4132
4133 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
4134 Use integer comparison instead of string comparison for testing
4135 whether binary was built.
4136
38fc42c8
JB
41372002-09-03 Jim Blandy <jimb@redhat.com>
4138
4139 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
4140
b6ff0e81
JB
41412002-08-29 Jim Blandy <jimb@redhat.com>
4142
4143 * gdb.threads/pthreads.exp: Move the portable thread compilation
4144 code into a function in lib/gdb.exp, and call that from here.
4145 * lib/gdb.exp (gdb_compile_pthreads): New function.
4146
07c98896
KS
41472002-08-29 Keith Seitz <keiths@redhat.com>
4148
4149 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
4150 expect_out so that callers can get at it.
4151
0312286c
DJ
41522002-08-23 Daniel Jacobowitz <drow@mvista.com>
4153
4154 * gdb.threads/print-threads.c: New file.
4155 * gdb.threads/print-threads.exp: New file.
4156 * gdb.threads/schedlock.c: New file.
4157 * gdb.threads/schedlock.exp: New file.
4158
dd039bc4
EZ
41592002-08-22 Elena Zannoni <ezannoni@redhat.com>
4160
4161 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
4162 not altivec.c.
4163
1f36144c
MK
41642002-08-17 Mark Kettenis <kettenis@gnu.org>
4165
4166 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
4167 targets. The problem should be fixed now.
4168
16057ec7 41692002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
4170
4171 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
4172 2002-07-24 change that removes final dots from error messages.
4173
3c1499ad
TT
41742002-08-13 Tom Tromey <tromey@redhat.com>
4175
4176 * gdb.base/readline.exp: New file.
4177
a20ce2c3
AC
41782002-08-01 Andrew Cagney <ac131313@redhat.com>
4179
4180 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
4181 supress message.
4182
db034ac5
AC
41832002-08-01 Andrew Cagney <cagney@redhat.com>
4184
4185 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
4186 CHILL_FOR_TARGET and CHILL_LIB.
4187 * configure.in (configdirs): Remove gdb.chill.
4188 * configure: Regenerate.
4189 * lib/gdb.exp: Obsolete references to chill.
4190 * gdb.fortran/types.exp: Ditto.
4191 * gdb.fortran/exprs.exp: Ditto.
4192
3e000b18
KB
41932002-07-30 Kevin Buettner <kevinb@redhat.com>
4194
4195 * gdb.base/shlib-call.exp (additional_flags): Conditionally
4196 set Irix-specific compile and link flags.
4197
28f4966b
KB
41982002-07-29 Kevin Buettner <kevinb@redhat.com>
4199
4200 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
4201 source files. The ``-o'' option doesn't work with the ``-E'' option
4202 when using the Irix compiler.
4203
46c0d5a6
DJ
42042002-07-19 Daniel Jacobowitz <drow@mvista.com>
4205
4206 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
4207 Improve support for reusing an exec file. Copy exec file
4208 to target, and run gdbserver on the target instead of on the host.
4209
eecf4bed
JB
42102002-07-18 Jim Blandy <jimb@redhat.com>
4211
0f815cdf
JB
4212 * gdb.base/ending-run.exp: Don't expect to see the program end in
4213 some orderly fashion when we're running on a real stand-alone
4214 board.
4215
eecf4bed
JB
4216 * gdb.base/interrupt.exp: Correct logic for skipping tests on
4217 targets that don't support interrupts.
4218
52d309e4
JB
42192002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
4220
4221 * gdb.base/attach.exp: Add patterns to match output from /proc-based
4222 systems.
4223 Move comments in expect statements to inside the actions, so that they
4224 don't get matched against.
4225
ff683d9e
MK
42262002-07-10 Mark Kettenis <kettenis@gnu.org>
4227
4228 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
4229 function when asleep" test.
4230
b5356753
AC
42312002-07-10 Andrew Cagney <ac131313@redhat.com>
4232
4233 * gdb.base/page.exp: Rewrite to handle problems with very long
4234 `info set' output. Update copyright.
4235
6aa4d13a
AC
42362002-06-26 Andrew Cagney <ac131313@redhat.com>
4237
4238 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
4239 gdb.threads-hp.
4240 * gdb.hp/configure: Regenerate.
4241 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
4242 * gdb.hp/gdb.threads-hp/configure: Delete file.
4243 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
4244
8cf8c2b8
AC
42452002-06-22 Andrew Cagney <ac131313@redhat.com>
4246
4247 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
4248 setlocale, bindtextdomain and textdomain.
4249
6827a8f8
JB
42502002-06-11 Jim Blandy <jimb@redhat.com>
4251
919d772c
JB
4252 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
4253 preprocessor macro information is present.
4254
6827a8f8
JB
4255 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
4256 tests.
4257
c15b0d21
MS
42582002-06-06 Michael Snyder <msnyder@redhat.com>
4259
c5984d70
MS
4260 * gdb.base/overlays.exp: Record addresses of overlay
4261 functions in TCL variables rather than in GDB variables,
4262 to avoid having GDB convert them to pointers (with loss
4263 of information).
4264
d63a86f8 4265 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 4266 default linker script changes.
c15b0d21
MS
4267 * gdb.base/long_long.exp: Add check for sizeof (long double).
4268
be26fe0d
ML
42692002-06-06 Michal Ludvig <mludvig@suse.cz>
4270
4271 * gdb.asm/asm-source.exp: Add x86-64 target.
4272 * gdb.asm/x86_64.inc: New.
d63a86f8 4273
258093ca 42742002-05-30 Michael Chastain <mec@shout.net>
258093ca 4275
4b3153f1 4276 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
4277 * gdb.c++/m-static.cc: New file.
4278 * gdb.c++/m-static.exp: New file.
4279
241264c6
MS
42802002-05-28 Michael Snyder <msnyder@redhat.com>
4281
4282 * gdb.base/call-ar-st.exp: Allow for reduced floating point
4283 precision.
4284
9bba8c8f 42852002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 4286
4b3153f1 4287 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
4288 * gdb.c++/m-data.cc: New file.
4289 * gdb.c++/m-data.exp: New file.
4290
42912002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 4292
4b3153f1 4293 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 4294 * gdb.c++/try_catch.cc: New file.
d63a86f8 4295 * gdb.c++/try_catch.exp: New file.
9bba8c8f 4296
def1b996
MC
42972002-05-27 Michael Chastain <mec@shout.net>
4298
4299 * gdb.c++/local.exp: Accept more nested types in output.
4300
522ba268
MC
43012002-05-26 Michael Chastain <mec@shout.net>
4302
4303 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
4304
277254ba
MS
43052002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
4306
4307 * lib/gdb.exp (gdb_wrapper_init): Just because
4308 gdb_wrapper_file exists, this does not mean that the file
4309 should not be rebuilt. That is what gdb_wrapper_initialized
4310 is for.
4311 (default_gdb_init): Reset gdb_wrapper_initialized.
4312
b61a8733
MS
43132002-05-23 Michael Snyder <msnyder@redhat.com>
4314
d63a86f8 4315 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
4316 the precision of the floating point test results.
4317 * gdb.base/call-rt-st.exp: Ditto.
4318
b61a8733
MS
4319 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
4320 * gdb.base/call-rt-st.exp: Ditto.
4321
56f6e910
MC
43222002-05-19 Michael Chastain <mec@shout.net>
4323
4324 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
4325
ad0b0016
EZ
43262002-05-19 Elena Zannoni <ezannoni@redhat.com>
4327
4328 * configure.in (configdirs): Add gdb.arch.
4329 * configure: Regenerate.
4330
f617d2b6
JB
43312002-05-17 Jim Blandy <jimb@redhat.com>
4332
4333 * gdb.base/completion.exp: Recognize the more detailed error
4334 messages produced by the macro expander's lexical analyzer.
4335
eac2a696
EZ
43362002-05-14 Elena Zannoni <ezannoni@redhat.com>
4337
4338 * gdb.arch/altivec-abi.c: New file.
4339 * gdb.arch/altivec-abi.exp: New file.
4340 * gdb.arch/altivec-regs.c: New file.
4341 * gdb.arch/altivec-regs.exp: New file.
4342
2fdde8f8
DJ
43432002-05-14 Daniel Jacobowitz <drow@mvista.com>
4344
4345 * gdb.base/maint.exp (maint print type): Update for new type
4346 structure.
d63a86f8 4347
e31f1a7c
EZ
43482002-05-14 Elena Zannoni <ezannoni@redhat.com>
4349
4350 * gdb.arch: New directory.
4351 * gdb.arch/configure.in: New file.
4352 * gdb.arch/configure: New file.
4353 * gdb.arch/Makefile.in: New file.
4354
db589741
CV
43552002-05-13 Corinna Vinschen <vinschen@redhat.com>
4356
4357 * gdb.asm/asm-source.exp: Add v850 as supported target.
4358 * gdb.asm/v850.inc: New file.
4359
8ce2a7dc
DJ
43602002-05-13 Daniel Jacobowitz <drow@mvista.com>
4361
4362 * gdb.c++/annota2.exp (annotate-quit): Add comment.
4363
df763c7f
DJ
43642002-05-12 Daniel Jacobowitz <drow@mvista.com>
4365
4366 * gdb.base/break.exp: Check 'break "marker2"'.
4367
377daeed
MS
43682002-05-10 Michael Snyder <msnyder@redhat.com>
4369
4370 * gdb.base/long_long.exp: Fix typo.
4371
c4b7bc2b
JB
43722002-05-10 Jim Blandy <jimb@redhat.com>
4373
ecac9a4e
JB
4374 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
4375 a bug.
4376
c4b7bc2b
JB
4377 * gdb.base/printcmds.exp (test_integer_literals_rejected):
4378 Recognize more detailed error message produced by the macro
4379 expander's lexical analyzer.
4380 * lib/gdb.exp (test_print_reject): Same.
4381
e71019a1
MK
43822002-05-09 Mark Kettenis <kettenis@gnu.org>
4383
4384 * gdb.c++/method.exp: Fix typo.
4385
fedfc8e6
MS
43862002-05-08 Michael Snyder <msnyder@redhat.com>
4387
166a1957
MS
4388 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
4389 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 4390 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
4391 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
4392 Add iftarget clause for strongarm.
d63a86f8 4393
f1c47eb2
MS
43942002-05-06 Michael Snyder <msnyder@redhat.com>
4395
cb9a9d3e
MS
4396 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
4397 (gdb_continue_to_end): Accept output from status wrapper.
4398 * gdb.base/ending-run.exp: Add case for output from status wrapper.
4399 Clean up fail messages to match pass messages.
4400
f1c47eb2
MS
4401 Enable the "needs_status_wrapper" testsuite feature.
4402 * lib/gdb.exp (gdb_wrapper_init): New procedure.
4403 (gdb_compile): Conditionally call gdb_wrapper_init.
4404 * gdb.base/a2-run.exp: Recognize output from status wrapper.
4405 * gdb.c++/method.exp: Recognize output from status wrapper.
4406
6079c749
BE
44072002-05-06 Ben Elliston <bje@redhat.com>
4408From Graydon Hoare <graydon@redhat.com>
4409
4410 * config/sid.exp: Include support for "rawsid" protocol.
4411
188baff3
JB
44122002-05-03 Jim Blandy <jimb@redhat.com>
4413
4414 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
4415 * gdb.c++/hang3.C: New file.
4416
b9c07f0f
AC
44172002-05-04 Andrew Cagney <ac131313@redhat.com>
4418
4419 * gdb.base/default.exp: Remove obsolete code.
4420 * gdb.c++/misc.exp: Ditto. Update copyright.
4421 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
4422 * gdb.base/whatis.exp: Ditto. Update copyright.
4423 * gdb.base/scope.exp: Ditto. Update copyright.
4424 * gdb.base/ptype.exp: Ditto. Update copyright.
4425 * gdb.base/printcmds.exp: Ditto. Update copyright.
4426 * gdb.base/opaque.exp: Ditto. Update copyright.
4427 * gdb.base/list.exp: Ditto.
4428 * gdb.base/funcargs.exp: Ditto. Update copyright.
4429 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
4430 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
4431 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
4432 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
4433 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
4434 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
4435
5c7a0397
MS
44362002-05-02 Michael Snyder <msnyder@redhat.com>
4437
d6dcc264 4438 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
4439 * gdb.base/long_long.exp: Add xscale target.
4440 * gdb.base/default.exp: Add xscale target.
4441
eb7f1c48
JB
44422002-05-01 Jim Blandy <jimb@redhat.com>
4443
4444 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
4445 gdb.c++/hang.exp: New test.
4446
a6befae8
FF
44472002-05-01 Fred Fish <fnf@redhat.com>
4448
4449 * gdb.base/completion.exp: Handle completions of "./Make" for
4450 more than one completion possibility, as is the case when we
4451 build and test in the source tree.
4452
0a310277
AG
44532002-04-29 Anthony Green <green@redhat.com>
4454
4455 * gdb.java/jmisc1.exp: New file.
4456 * gdb.java/jmisc2.exp: New file.
4457
6ff9af88
DJ
44582002-04-24 Daniel Jacobowitz <drow@mvista.com>
4459
4460 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
4461
96b3d632
EZ
44622002-04-23 Elena Zannoni <ezannoni@redhat.com>
4463
4464 * gdb.base/help.exp: Change 'help status' to allow for target
4465 dependent output differences.
4466
5019bb54
MC
44672002-04-22 Michael Chastain <mec@shout.net>
4468
4469 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
4470
a805a116
MC
44712002-04-22 Michael Chastain <mec@shout.net>
4472
4473 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
4474
a1706bfd
DM
44752002-04-17 David S. Miller <davem@redhat.com>
4476
4477 * gdb.asm/sparc64.inc: New file.
4478 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
4479
a73a20a2
EZ
44802002-04-19 Elena Zannoni <ezannoni@redhat.com>
4481
4482 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
4483 instruction file directly into the build tree. Clean up at end of
4484 test.
4485
ba678339
DM
44862002-04-18 David S. Miller <davem@redhat.com>
4487
4488 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
4489 handle 64-bit platforms correctly.
4490 * gdb.base/maint.exp: Likewise.
4491
b03399da
KB
44922002-04-18 Kevin Buettner <kevinb@redhat.com>
4493
4494 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
4495 ``-fpic'' when compiling files comprising a shared library, but
4496 it does need additional linker flags in order to find shared
4497 libraries at run time.
4498
e2004992
KB
44992002-04-18 Kevin Buettner <kevinb@redhat.com>
4500
4501 * gdb.base/cvexpr.c (use): New function.
4502 (main): Invoke use() on all global variables to prevent
4503 some linkers from deleting these otherwise unused symbols.
4504
d8937120
MC
45052002-04-17 Michael Chastain <mec@shout.net>
4506From David S. Miller <davem@redhat.com>
4507
4508 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
4509 handle 64-bit platforms correctly.
4510
ffd61a58
MS
45112002-04-12 Michael Snyder <msnyder@redhat.com>
4512From Jim Blandy <jimb@redhat.com>
4513 * gdb.base/foo.c (foox): Remove section attribute; the linker
4514 script can handle this instead.
4515 * gdb.base/bar.c (barx): Same.
4516 * gdb.base/baz.c (bazx): Same.
4517 * gdb.base/grbx.c (grbxx): Same.
4518
4519 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
4520 manager doesn't automatically unmap overlays unnecessarily.
4521
6b8426a6
MH
45222002-04-10 Martin M. Hunt <hunt@redhat.com>
4523
4524 * gdb.base/ending-run.exp: Fix pattern for Mips targets
4525 stepping out of main.
4526
34af4875
MC
45272002-04-09 Michael Chastain <mec@shout.net>
4528
4529 * gdb.c++/local.cc (main): Move call to marker1() inside nested
4530 scope so that the nested scope tests will make sense.
4531 * gdb.c++/local.exp: Write patterns that actually work with gcc
4532 (the HP patterns "were never known to work with gcc").
4533 Keep the old aCC patterns too.
4534
2d1676a0
DJ
45352002-04-09 Daniel Jacobowitz <drow@mvista.com>
4536
4537 * gdb.base/attach.exp: Correct target board test.
4538
3a63e3f9
MC
45392002-04-08 Michael Chastain <mec@shout.net>
4540
4541 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
4542 in a const method. Add some xfail and fail cases for configurations
4543 that do not emit the "const ...".
4544
f18dabd2
MC
45452002-04-07 Michael Chastain <mec@shout.net>
4546
4547 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
4548 Accept "A * const" and "const A * const" as type of "this".
4549 Fix spelling of getFunky throughout. Make messages uniform.
4550
0fcddd82
EZ
45512002-04-07 Elena Zannoni <ezannoni@redhat.com>
4552
4553 Work around for PR gdb/285:
4554 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
4555
16a8534a
EZ
45562002-04-07 Elena Zannoni <ezannoni@redhat.com>
4557
4558 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
4559 instructions file at run time instead of configure time.
4560 Sometimes we run the test in a directory that is not the one we
4561 configured in.
4562 * gdb.asm/configure.in: Delete creation of symlink.
4563 * gdb.asm/configure: Regenerate.
4564
24181d81
JB
45652002-04-05 J. Brobecker <brobecker@gnat.com>
4566
4567 * gdb.gdb/xfullpath.exp: New test, to exercise the new
4568 xfullpath () function.
4569
7cdb7107
DJ
45702002-04-04 Daniel Jacobowitz <drow@mvista.com>
4571
4572 * gdb.asm/Makefile.in: Correct dependencies.
4573
4574 * gdb.asm/powerpc.inc: New file.
4575 * gdb.asm/asm-source.exp: Add PowerPC.
4576 * gdb.asm/configure.in: Likewise.
4577 * gdb.asm/configure: Regenerated.
4578
a7d17088
DJ
45792002-04-04 Daniel Jacobowitz <drow@mvista.com>
4580
4581 * gdb.base/relocate.exp: New file.
4582 * gdb.base/relocate.c: New file.
4583
cd721503
FF
45842002-04-04 Fred Fish <fnf@redhat.com>
4585
4586 * gdb.base/step-test.exp: Update comment regarding stopping in
4587 memcpy/bcopy calls inserted as part of the compiler runtime.
4588
b22ad7a7
MS
45892002-04-04 Michael Snyder <msnyder@redhat.com>
4590
4591 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
4592
5f279fa6
DJ
45932002-04-03 Daniel Jacobowitz <drow@mvista.com>
4594
4595 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
4596 (gdb_expect): Remove $notransfer hack.
4597
dd0fd3ce
DJ
45982002-04-02 Daniel Jacobowitz <drow@mvista.com>
4599
4600 * gdb.c++/classes.exp ("calling method for small class"): Match
4601 updated register output.
4602
1e50cda1
DJ
46032002-03-30 Daniel Jacobowitz <drow@mvista.com>
4604
4605 Fix PR gdb/452
4606 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
4607 when finished. Make gdb_file_cmd send "exec-file" when
4608 appropriate.
4609
24015922
DJ
46102002-03-30 Daniel Jacobowitz <drow@mvista.com>
4611
4612 * gdb.base/attach.exp: Remove extra setup_xfail.
4613
dd7dfd64
MS
46142002-03-26 Michael Snyder <msnyder@redhat.com>
4615
4616 * gdb.base/default.exp: Add tests for dump, append, and restore.
4617 * gdb.base/help.exp: Add tests for dump, append, and restore.
4618 * gdb.base/dump.exp: New file, test dump, append and restore.
4619 * gdb.base/dump.c: New file.
4620
48b2f8d7
MS
46212002-03-27 Michael Snyder <msnyder@redhat.com>
4622
d63a86f8 4623 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
4624 clean-ups in help messages.
4625
05b4d525
FF
46262002-03-26 Fred Fish <fnf@redhat.com>
4627
4628 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
4629 have debugging info for those functions and the compiler uses them
4630 internally to copy structs around.
4631
d7679631
FF
46322002-03-26 Fred Fish <fnf@redhat.com>
4633
4634 * gdb.base/list.exp: Revert the change made yesterday and add note
4635 about why we don't list the default lines for remote targets.
4636
523ac3f9
MS
46372002-03-25 Michael Snyder <msnyder@redhat.com>
4638
4639 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
4640
754b2b8d
FF
46412002-03-25 Fred Fish <fnf@redhat.com>
4642
4643 * gdb.base/list.exp: This test works on remote targets so remove
4644 the short circuit for remote targets. Update copyright.
4645
33c3e192
FF
46462002-03-25 Fred Fish <fnf@redhat.com>
4647
4648 * gdb.base/attach.exp: Fix logic error that was suppressing this
4649 test for all non hppa*-*-hpux* targets, instead of the hp target.
4650 Move comments closer to the suppression point. Also now need to
4651 check that we are running natively.
4652
d43e73ee
MS
46532002-03-22 Michael Snyder <msnyder@redhat.com>
4654
882c8f02
MS
4655 * gdb.base/default.exp: Add test for gcore. Update copyright.
4656 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 4657
04c12f60
FF
46582002-03-06 Fred Fish <fnf@redhat.com>
4659
4660 * gdb.base/funcargs.c: Remove extraneous ';' character.
4661 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
4662
b43df995
MC
46632002-03-04 Michael Chastain <mec@shout.net>
4664
4665 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
4666 accommodate gcc v3 function signature.
4667 * gdb.mi/mi0-var-cmd-exp: Ditto.
4668
92362027
AC
46692002-02-24 Andrew Cagney <ac131313@redhat.com>
4670
4671 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
4672 ``GNU/Linux'' or ``Linux kernel''
4673 * testsuite/gdb.threads/pthreads.c: Ditto.
4674
258ad32d
MC
46752002-02-24 Michael Chastain <mec@shout.net>
4676
4677 * gdb.threads/pthreads.c (thread1): Add a return statement.
4678 (thread2): Likewise.
4679 (foo): Likewise.
4680
04c3b3d4
MC
46812002-02-23 Michael Chastain <mec@shout.net>
4682
4683 * gdb.threads/linux-dp.c (philosopher): Add a return statement
4684 to placate gcc.
4685
5a2a0a20
MC
46862002-02-23 Michael Chastain <mec@shout.net>
4687
4688 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
4689 test "ptype bint". The test passes on all my stabs configurations.
4690
a640f7fc
JB
46912002-02-21 Jim Blandy <jimb@redhat.com>
4692
27924826
JB
4693 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
4694 filename at a time, and watch for the ones we want to see.
4695
a640f7fc
JB
4696 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
4697 types of pointers to prototyped functions.
4698
edcc8c75
AC
46992002-02-20 Andrew Cagney <ac131313@redhat.com>
4700
4701 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
4702 signed, unsigned and straight char.
4703 (padding_char, padding_short, padding_int, padding_long,
4704 padding_long_long, padding_float, padding_double,
4705 padding_long_double): New global variables.
4706 (fill, fill_structs): New functions.
4707
4708 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
4709 for correctly sized writes. Update copyright.
4710 (get_valueof): New procedure.
4711 (get_sizeof): Call get_valueof.
4712 (check_valueof): New procedure.
4713 (check_padding): New procedure.
4714
ac57ea44
MC
47152002-02-20 Michael Chastain <mec@shout.net>
4716
4717 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
4718 to setup_xfail. Document some of the remaining calls.
4719
7a10c941
MC
47202002-02-18 Michael Chastain <mec@shout.net>
4721
4722 * gdb.c++/userdef.exp: Update copyright year.
4723
fb8acdcc
DJ
47242002-02-18 Daniel Jacobowitz <drow@mvista.com>
4725
4726 * gdb.c++/userdef.exp: Test overloaded operators properly.
4727 Remove xfails.
4728
fda6ae12
MS
47292002-02-14 Michael Snyder <msnyder@redhat.com>
4730
4731 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
4732
676a0442
DJ
47332002-02-14 Daniel Jacobowitz <drow@mvista.com>
4734
4735 * gdb.base/a2-run.exp: Check for a remote target properly.
4736 * gdb.base/annota1.exp: Likewise.
4737 * gdb.base/list.exp: Likewise.
4738 * gdb.base/reread.exp: Likewise.
4739 * gdb.base/scope.exp: Likewise.
4740 * gdb.base/shlib-call.exp: Likewise.
4741 * gdb.base/term.exp: Likewise.
4742 * gdb.c++/annota2.exp: Likewise.
4743
78b4f468
RE
47442002-02-13 Richard Earnshaw <rearnsha@arm.com>
4745
4746 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
4747
9a81ba51
MC
47482002-02-10 Michael Chastain <mec@shout.net>
4749
4750 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
4751 (call_after_alloca): Ditto.
4752
004af6c7
DJ
47532002-02-10 Daniel Jacobowitz <drow@mvista.com>
4754
4755 * gdb.base/ending-run.exp: Guard "cont" test with
4756 gdb_skip_stdio_test.
4757
37225f62
JB
47582002-02-06 Jim Blandy <jimb@redhat.com>
4759
4760 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
4761 from here...
4762 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
4763 To here. Disable this test on non-HP platforms. Add big comment.
4764
fe6fdd96
MS
47652002-02-04 Michael Snyder <msnyder@redhat.com>
4766
4767 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
4768 other than d10v and m32r.
4769
036fad3f
RE
47702002-02-02 Richard Earnshaw <rearnsha@arm.com>
4771
4772 * gdb.base/default.exp: Rewrite test patterns to reduce time
4773 taken to match them.
4774
7148ab62
DJ
47752002-01-30 Daniel Jacobowitz <drow@mvista.com>
4776
4777 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
4778 Allow a start function above main.
4779 * gdb.threads/linux-dp.exp: Fix copyright date.
4780
396cc255
DJ
47812002-01-30 Daniel Jacobowitz <drow@mvista.com>
4782
4783 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
4784 (check_philosopher_stack): Check for manager thread before checking
4785 for a just-starting thread.
4786
f038d31b
DJ
47872002-01-30 Daniel Jacobowitz <drow@mvista.com>
4788
4789 From Neil Booth <neil@daikokuya.demon.co.uk>:
4790 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
4791 warnings.
4792
b3ff9d9a
FF
47932002-01-21 Fred Fish <fnf@redhat.com>
4794
4795 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
4796 not caller.
4797
39ad761d
JB
47982002-01-21 Jim Blandy <jimb@redhat.com>
4799
4800 * gdb.base/reread.exp: Check that GDB properly re-reads the
4801 executable file when it changes while no inferior is running.
4802
aaf320fa
FF
48032002-01-21 Fred Fish <fnf@redhat.com>
4804
4805 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
4806 optionally accept the "shlib events" variation.
4807
808a31f5
JB
48082002-01-21 Jim Blandy <jimb@redhat.com>
4809
4810 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
4811 call `fflush' after every `printf', so that the output is produced
4812 at predictable points, regardless of whatever buffering does (or
4813 doesn't) take place.
4814 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
4815 at different points.
4816
4420d5e2
DJ
48172002-01-20 Daniel Jacobowitz <drow@mvista.com>
4818
4819 * gdb.c++/inherit.exp: Update copyright years.
4820 * gdb.c++/method.exp: Likewise.
4821
3e36a0f4
DJ
48222002-01-20 Daniel Jacobowitz <drow@mvista.com>
4823
4824 * gdb.c++/classes.exp: Update for improved v3 support and skipping
4825 artificial methods/arguments.
4826 * gdb.c++/derivation.exp: Likewise.
4827 * gdb.c++/inherit.exp: Likewise.
4828 * gdb.c++/method.exp: Likewise.
4829 * gdb.c++/virtfunc.exp: Likewise.
4830
b4ceaee6
AC
48312002-01-18 Andrew Cagney <ac131313@redhat.com>
4832
4833 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
4834 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
4835 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
4836 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
4837 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
4838 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
4839
ecace851
JB
48402002-01-17 Jim Blandy <jimb@redhat.com>
4841
4842 * gdb.asm/asm-source.exp (info symbol): Take another shot at
4843 anchoring the pattern matching the entry point symbol's name.
4844
375fc983
AC
48452002-01-17 Andrew Cagney <ac131313@redhat.com>
4846
4847 * gdb.base/maint.exp: Update ``maint internal-error'' to match
4848 continue/quit query. Update copyright.
4849
fe6fdd96
MS
48502002-01-14 Michael Snyder <msnyder@redhat.com>
4851
4852 * gdb.base/gcore.exp: Remove extra debugging output.
4853
e017c81f
DJ
48542002-01-13 Daniel Jacobowitz <drow@mvista.com>
4855
4856 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
4857 for slightly dubious v2 mangled string.
4858
37ab3bf8
DJ
48592002-01-13 Daniel Jacobowitz <drow@mvista.com>
4860
4861 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
4862
1bc05c3a 48632002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 4864
1bc05c3a 4865 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 4866
1bc05c3a
JM
4867 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
4868 constructors.
4869 * gdb.c++/derivation.exp: Likewise.
4870 * gdb.c++/templates.exp: Likewise.
4871 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 4872
1bc05c3a
JM
48732002-01-10 Michael Snyder <msnyder@redhat.com>
4874
4875 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 4876
a911c360
MS
48772002-01-08 Michael Snyder <msnyder@redhat.com>
4878
4879 * gdb.base/gcore.exp: New test for generate-core-file command.
4880 * gdb.base/gcore.c: Testcase for above.
4881 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
4882
ea2119ec
JM
48832002-01-08 Jason Merrill <jason@redhat.com>
4884
4885 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
4886
68203136
FF
48872002-01-07 Fred Fish <fnf@redhat.com>
4888
4889 * gdb.c++/overload.exp: Remove unconditional xfails for:
4890 print foo_instance1.overloadargs(1)
4891 print foo_instance1.overloadargs(1, 2)
4892 print foo_instance1.overloadargs(1, 2, 3)
4893 print foo_instance1.overloadargs(1, 2, 3, 4)
4894 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
4895 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
4896 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
4897 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
4898 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
4899 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
4900 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
4901 print foo_instance1.overload1arg()
4902 print foo_instance1.overload1arg((char)arg2)
4903 print foo_instance1.overload1arg((signed char)arg3)
4904 print foo_instance1.overload1arg((unsigned char)arg4)
4905 print foo_instance1.overload1arg((int)arg7)
4906 print foo_instance1.overload1arg((unsigned int)arg8)
4907 print foo_instance1.overload1arg((float)arg11)
4908 print foo_instance1.overload1arg((double)arg12)
d63a86f8 4909
21b9b5b1
MS
49102002-01-07 Michael Snyder <msnyder@redhat.com>
4911
4912 * gdb.base/huge.exp: New test. Print a very large target data object.
4913 (skip_huge_test): New test variable. Define if you want to skip this
4914 test. The test reads an 8 megabyte data object from the target, so it
4915 might be very time consuming on remote targets with a slow connection.
4916 * gdb.base/huge.c: New file. Test case for above.
4917
725f922e
FF
49182002-01-07 Fred Fish <fnf@redhat.com>
4919
4920 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
4921 g_instance.bfoo, and g_instance.cfoo.
4922
634d57ec
JL
4923Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
4924
f286b2c3
JL
4925 * gdb.base/break.c (multi_line_if_conditional): New function.
4926 (multi_ilne_while_conditional): Likewise.
4927 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
4928 IF or WHILE condition puts the breakpoint at the start of
4929 the condition.
4930
634d57ec
JL
4931 * gdb.base/selftest.exp (backtrace through signal handler): Remove
4932 hppa*-*-hpux* expected failure.
4933 * gdb.base/structs.exp (do_function_calls): Similarly.
4934
4935 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
4936 watchpoints.
4937
9fbfe2dc
AC
49382002-01-06 Andrew Cagney <ac131313@redhat.com>
4939
4940 Fix PR gdb/66.
4941 * gdb.base/structs.exp: Replace skip for a29k with skip for
4942 gdb,cannot_call_functions.
4943 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
4944 * gdb.base/callfuncs.exp: Ditto.
4945 * gdb.base/call-rt-st.exp: Ditto.
4946 * gdb.base/call-strs.exp: Ditto.
4947 * gdb.base/callfwmall.exp: Ditto.
4948 * gdb.base/scope.exp: Obsolete xfail a29k.
4949 * gdb.c++/misc.exp: Ditto.
4950 * gdb.c++/cplusfuncs.exp: Ditto.
4951 * gdb.base/ptype.exp: Ditto.
4952 * gdb.base/printcmds.exp: Ditto.
4953 * gdb.base/opaque.exp: Ditto.
4954 * gdb.base/list.exp: Ditto.
4955 * gdb.base/funcargs.exp: Ditto.
4956 * gdb.base/default.exp: Ditto.
4957
8ddad156
MS
49582002-01-04 Michael Snyder <msnyder@redhat.com>
4959
ca4976a6 4960 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
4961 * gdb.base/maint.exp: Add tests for maint info sections options.
4962
1b074332
JL
4963Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
4964
4965 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
4966
7d159115
CV
49672001-12-20 Corinna Vinschen <vinschen@redhat.com>
4968
4969 * gdb.asm/arm.inc: New file.
4970 * gdb.asm/asm-source.exp: Add arm targets.
4971 * gdb.asm/configure.in: Ditto.
4972 * gdb.asm/configure: Recreated from configure.in.
4973
8fb87725
JL
4974Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
4975
afabe08c
JL
4976 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
4977 with HP's compiler.
4978 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
4979 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
4980 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
4981 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
4982
4983 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
4984 either HP's compilers or GCC.
4985
db521deb
JL
4986 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
4987 a SIGBUS or SIGSEGV.
4988
4989 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
4990
4991 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
4992 can be compiled with either HP's compiler or GCC.
4993
cfa88ab7
JL
4994 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
4995 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
4996 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
4997
ca344dff
JL
4998 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
4999 to match current gdb output. Update due to using auto-solib-limit
5000 for limiting instead of overloading auto-solib-add.
5001 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
5002 test program.
5003
3f3c6e55 5004 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
5005 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
5006 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
5007 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
5008 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
5009 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
5010 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
5011 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
5012 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
5013 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
5014 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
5015 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
5016 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 5017
8fb87725
JL
5018 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
5019 a SIGTRAP to the inferior.
5020
cf599fa7
CV
50212001-12-19 Corinna Vinschen <vinschen@redhat.com>
5022
5023 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
5024 Substitute call to target_link by call to gdb_compile.
5025
2cd045cd
JL
5026Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
5027
5028 * gdb.base/break.exp: Fix HP specific search string when testing
5029 backtracing in a called function.
5030
d63a86f8 5031 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
5032 compiling the test with HP's compilers.
5033 * gdb.base/volatile.exp: Similarly.
5034
99ebe9ac
JB
50352001-12-19 Jim Blandy <jimb@redhat.com>
5036
5037 * gdb.base/printcmds.exp: Expect the null character to be printed
5038 as '\0', and the '\013' to be printed as '\v'.
5039 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
5040 * gdb.base/setvar.exp: Same.
5041
b9891b29
JB
50422001-12-17 Jim Blandy <jimb@redhat.com>
5043
0eba65ab
JB
5044 * gdb.base/completion.exp: Rather than completing very long
5045 filenames, which can make the readline library produce output we
5046 don't recognize, cd to the directory first, and then complete
5047 using nice, short relative paths.
5048
6970b5b1
JB
5049 * gdb.base/completion.exp: On some systems, there is, in fact, a
5050 variable named `b' in scope, since GDB treats all static
5051 variables as being in scope. So use `no_var_named_this'
5052 instead of `b'.
5053
b9891b29
JB
5054 * gdb.base/corefile.exp: Recognize the message saying that GDB
5055 can't find the core file's registers as a failure.
5056
e6ccd35f
JSC
50572001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
5058
5059 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
5060 test expect string more specific.
5061
105ba819
CV
50622001-12-13 Corinna Vinschen <vinschen@redhat.com>
5063
5064 * gdb.asm/asm-source.exp: Add support for xstormy16.
5065 * gdb.asm/configure.in: Ditto.
5066 * gdb.asm/configure: Rebuild.
5067 * gdb.asm/xstormy16.inc: New file.
5068
e9e79dd9
FF
50692001-12-10 Fred Fish <fnf@redhat.com>
5070
5071 * gdb.base/maint.exp: Update to match changes in type dumping code.
5072
347dc97d
JB
50732001-12-10 Jim Blandy <jimb@redhat.com>
5074
5075 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
5076 matching the entry point symbol's name at the beginning of the
5077 line.
5078
5178b9d6
DJ
50792001-12-07 Daniel Jacobowitz <drow@mvista.com>
5080
5081 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
5082 gdb.c++/inherit.exp, gdb.c++/method.exp,
5083 gdb.c++/namespace.exp, gdb.c++/templates.exp,
5084 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
5085 and class layout support.
5086
af890c52
DJ
50872001-12-07 Daniel Jacobowitz <drow@mvista.com>
5088
5089 * gdb.c++/classes.exp: Add test for static member function.
5090 * gdb.c++/misc.cc: Add class with static member function.
5091
7a345fb3
JB
50922001-12-07 Jim Blandy <jimb@redhat.com>
5093
f2e54a80 5094 If GDB says it can't find the struct the function returned, report
8032bf31
JB
5095 those tests as `unsupported'.
5096 * gdb.base/call-rt-st.exp (print_struct_call): New function.
5097 Rewrite subsequent tests to use it.
5098
5099 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
5100 those tests as `unsupported'.
5101 * gdb.base/structs.exp (call_struct_func): New function.
5102 (do_function_calls): Use call_struct_func to call the functions
5103 returning structs.
5104
0bc69509
JB
5105 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
5106 whether functions are prototyped or not, so we can't possibly pass
5107 arguments to t_float_values2 properly.
5108
7a345fb3
JB
5109 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
5110 value of `timeout' for targets other than the mips*tx39-*.
5111
edb6ede1
MS
51122001-12-06 Michael Snyder <msnyder@redhat.com>
5113
d63a86f8 5114 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
5115 and detect whether the start symbol has a leading underscore.
5116
2d842f13
JB
51172001-12-04 Jim Blandy <jimb@redhat.com>
5118
5119 * gdb.base/completion.exp: Clarify indentation.
5120
68550daf
JB
51212001-12-03 Jim Blandy <jimb@redhat.com>
5122
5123 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
5124 variables on the S/390, not `.word'.
5125
cd5195a8
JB
51262001-11-30 Jim Blandy <jimb@redhat.com>
5127
5128 Add assembly-source tests for s390-ibm-linux.
5129 * gdb.asm/s390.inc: New file.
5130 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
5131 the S/390 architecture.
5132 * gdb.asm/configure: Regenerated.
5133
ca9efc90
MS
51342001-11-30 Michael Snyder <msnyder@redhat.com>
5135
5136 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
5137 next, info source, info sources, info line, global and static
5138 variables, and static functions.
5139 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
5140 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
5141 * gdb.asm/asmsrc1.s: Add a static function and some variables.
5142 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
5143 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
5144 (gdbasm_leave): Restore frame pointer.
5145 (gdbasm_startup): Copy stack set-up from crt0.S.
5146
d0e66976
FN
51472001-11-26 Fernando Nasser <fnasser@redhat.com>
5148
5149 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
5150 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
5151 to a local (non-static) variable. Copy tstruct.a to a static buffer
5152 and return a pointer to that buffer.
5153 * gdb.base/callfwmall.c (t_structs_a): Ditto.
5154
e2334072
MK
51552001-11-24 Mark Kettenis <kettenis@gnu.org>
5156
5157 * gdb.asm/configure.in: Fix recognition of ix86 target.
5158 * gdb.asm/configure: Regenerate.
5159
756caa3d
MS
51602001-11-21 Michael Snyder <msnyder@redhat.com>
5161
5162 * gdb.asm/sparc.inc: New file.
5163 * gdb.asm/asm-source.exp: Recognize sparc target.
5164 * gdb.asm/configure.in: Recognize sparc target.
5165 * gdb.asm/configure: Regenerate.
d63a86f8 5166
9a4d72d5
MS
51672001-11-21 Michael Snyder <msnyder@redhat.com>
5168
5169 * gdb.asm/m32r.inc: New file.
5170 * gdb.asm/asm-source.exp: Recognize m32r target.
5171 * gdb.asm/configure.in: Recognize m32r target.
5172 * gdb.asm/configure: Regenerate.
5173
a773d1cd
MS
51742001-11-20 Michael Snyder <msnyder@redhat.com>
5175
017ac23d
MS
5176 * gdb.asm/i386.inc: New file.
5177 * gdb.asm/asm-source.exp: Recognize ix86 target.
5178 * gdb.asm/configure.in: Recognize ix86 target.
5179 * gdb.asm/configure: Regenerate.
5180
a773d1cd
MS
5181 * gdb.c++/namespace.exp: Fix quotes in output messages.
5182
bb632afb
MS
51832001-11-14 Michael Snyder <msnyder@redhat.com>
5184
25d559ca 5185 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
5186 qualifier in a type cast expression, to designate an address
5187 in the instruction space (Harvard architecture).
5188
4749e309
MS
51892001-11-13 Michael Snyder <msnyder@redhat.com>
5190
5191 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
5192 Tests for expressions using 'const' and 'volatile'.
5193
25050984
CV
51942001-11-13 Corinna Vinschen <vinschen@redhat.com>
5195
5196 * gdb.asm/asm-sources.exp: Allow defining linker flags.
5197
1902c51f
DJ
51982001-11-12 Daniel Jacobowitz <drow@mvista.com>
5199
5200 * lib/mi-support.exp (mi_run_to_helper): Move comments
5201 outside of gdb_expect.
5202
dcf95b47
DJ
52032001-11-11 Daniel Jacobowitz <drow@mvista.com>
5204
5205 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
5206 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
5207 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
5208 mi0_run_to): New functions.
5209 * gdb.mi/mi-simplerun.exp: Use them.
5210 * gdb.mi/mi0-simplerun.exp: Likewise.
5211 * gdb.mi/mi-var-cmd.exp: Likewise.
5212 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 5213
45b074e1
AC
52142001-11-10 Andrew Cagney <ac131313@redhat.com>
5215
5216 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
5217 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
5218
bf50d346
AC
52192001-11-09 Andrew Cagney <ac131313@redhat.com>
5220
5221 * gdb.base/restore.exp: Include $expected value in restored test
5222 message.
5223
9383332c
AC
52242001-11-09 Andrew Cagney <ac131313@redhat.com>
5225
5226 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
5227 implemented.
5228
db62520a
MS
52292001-11-08 Michael Snyder <msnyder@redhat.com>
5230
5231 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
5232 Add pass/fail message for stop at breakpoint in call dummy function.
5233
b5703437
MS
52342001-11-07 Michael Snyder <msnyder@redhat.com>
5235
d63a86f8
RM
5236 * gdb.c++/templates.exp (test_template_breakpoints):
5237 If we get an overload menu, but it does not match what
760f6330 5238 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
5239 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
5240 making the whitespace optional. Argument for "new" may be
5241 "unsigned" as well as "unsigned int/long".
d63a86f8 5242 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
5243 making the whitespace optional. Also replace "(void) with
5244 "((void|)), making the keyword "void" optional.
d63a86f8 5245 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
5246 making the whitespace optional. Also replace "(void) with
5247 "((void|)), making the keyword "void" optional.
3bf40917
MS
5248 * gdb.base/callfuncs.c (t_float_values): This function must
5249 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 5250 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
5251 can be tested against both cases. Usually one case involves
5252 promotion of float to double, while the other does not.
5253 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
5254 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
5255 includes a stack frame for "start".
5256
c8ab4e6d
JB
52572001-11-05 Jim Blandy <jimb@redhat.com>
5258
5259 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
5260 pointers are 32 bits long, and that offsets of relocs are always
5261 stored in the data (REL-style), and not in the reloc entry itself
5262 (RELA-style).
5263 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
5264 stabs.
5265
3f08ced9
MS
52662001-11-01 Michael Snyder <msnyder@redhat.com>
5267
5268 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
5269 and regular expression operators by using quoting.
5270
cbfa24cd
MS
52712001-10-31 Michael Snyder <msnyder@redhat.com>
5272
5273 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
5274 depending on what the symbol table contains.
5275 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
5276 the output of the ptype command. Similarly, accept both "const &"
5277 and "const&".
5278
aaa68313
CV
52792001-10-31 Corinna Vinschen <vinschen@redhat.com>
5280
5281 * gdb.base/miscexprs.c (main): Add usage of preprocessor
5282 symbol `STORAGE' to allow to choose the storage class of
5283 the local datastructures.
5284 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
5285 compiler directive.
5286
91740388
MS
52872001-10-30 Michael Snyder <msnyder@redhat.com>
5288
5289 * gdb.base/jump.exp: Allow it to run for all targets.
5290
1b7c05e7
CV
52912001-10-29 Corinna Vinschen <vinschen@redhat.com>
5292
5293 * gdb.base/call-ar-st.c (print_double_array): Match for loop
5294 with new double_array size.
5295 (main): Change storage class of all local variables to static.
5296 Reduce size of double_array to 9.
5297 * gdb.base/call-ar-st.exp: Increase timeout value.
5298 Change expected output for double array to match new size in
5299 call-ar-st.c.
5300
36a22261
CV
53012001-10-29 Corinna Vinschen <vinschen@redhat.com>
5302
5303 * gdb.base/ending-run.exp: Create identical output when passing
5304 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 5305 Stormy16 target.
36a22261 5306
92b8ae91
MK
53072001-10-28 Mark Kettenis <kettenis@gnu.org>
5308
5309 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
5310 that we catch the expected failure under Linux/x86.
5311
cb135b83
OF
53122001-10-29 Orjan Friberg <orjanf@axis.com>
5313
5314 * gdb.base/setvar.exp: Escape curly braces.
5315 * gdb.stabs/weird.exp: Ditto.
5316
6884aa54
DJ
53172001-10-27 Daniel Jacobowitz <drow@mvista.com>
5318
5319 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
5320 * gdm.mi/mi0-hack-cli.exp: Likewise.
5321
0398c9aa
AC
53222001-10-25 Andrew Cagney <ac131313@redhat.com>
5323
5324 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
5325 messages.
5326
d20bf2e8
AC
53272001-10-21 Andrew Cagney <ac131313@redhat.com>
5328
5329 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
5330 checking MI enabled.
5331
03dd63aa
CV
53322001-10-09 Corinna Vinschen <vinschen@redhat.com>
5333
5334 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
5335
1d9d99f3
FCE
53362001-10-04 Frank Ch. Eigler <fche@redhat.com>
5337
5338 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
5339 if gdb child process crashes, just signal an error.
5340
838ae6c4
JB
53412001-10-02 Jim Blandy <jimb@redhat.com>
5342
5343 * lib/gdb.exp (test_xfail_format): Simplify.
5344
5345 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
5346 front of the variable name `format'. Simplify `if'.
5347
8f0cbc1c
DJ
53482001-10-01 Daniel Jacobowitz <drow@mvista.com>
5349
5350 * gdb.threads/pthreads.exp: Wait for output and delay
5351 before sending ^C.
5352
1f08dafd
DJ
53532001-10-01 Daniel Jacobowitz <drow@mvista.com>
5354
5355 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
5356 some incorrect output instead of timing out.
5357 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
5358
674f90ff
CV
53592001-09-28 Corinna Vinschen <vinschen@redhat.com>
5360
5361 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
5362 check to allow additional `int'.
5363
9b284272
DJ
53642001-09-27 Daniel Jacobowitz <drow@mvista.com>
5365
5366 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
5367 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
5368
b55a4771
MS
53692001-09-27 Michael Snyder <msnyder@redhat.com>
5370
5371 * lib/gdb.exp (test_debug_format): New proc.
5372 (setup_xfail_format): Use new proc test_debug_format.
5373 * gdb.base/constvars.exp (local_compiler_xfail_check): New
5374 proc; use new service proc test_debug_format.
5375 Replace all other "gcc_compiled" tests with this test.
5376 * gdb.base/volatile.exp (local_compiler_xfail_check): New
5377 proc; use new service proc test_debug_format.
5378 Replace all other "gcc_compiled" tests with this test.
5379
53802001-09-27 Michael Snyder <msnyder@redhat.com>
5381
5382 * gdb.base/cvexpr.exp: New file.
5383 * gdb.base/cvexpr.c: New file
5384 Test for expressions using const and volatile keywords.
5385
4e6667ac
CV
53862001-09-26 Corinna Vinschen <vinschen@redhat.com>
5387
5388 * gdb.base/constvars.exp: Check for different orders of keywords
5389 and additional "int" strings in output.
5390
4f337972
AC
53912001-09-22 Andrew Cagney <ac131313@redhat.com>
5392
5393 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
5394 responses from "help maint".
5395
2015650d
FCE
53962001-09-19 Frank Ch. Eigler <fche@redhat.com>
5397
5398 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
5399 to localhost:NNN instead of :NNN, in case Xvfb is listening
5400 only on TCP.
5401
f3bcedc1
CV
54022001-09-19 Corinna Vinschen <vinschen@redhat.com>
5403
5404 * gdb.base/recurse.exp: When checking leaving the watchpoint
5405 scope, recognize when gdb is in function's epilogue and pass.
5406
6b819c92
KS
54072001-09-18 Keith Seitz <keiths@redhat.com>
5408
5409 * lib/insight-support.exp (_gdbtk_export_target_info): Add
5410 support for running tests against sid targets.
5411 (gdbtk_done): Ditto.
5412
a10c9419
CV
54132001-09-18 Corinna Vinschen <vinschen@redhat.com>
5414
5415 * gdb.base/ending-run.c (main): Set stdout buffersize
5416 to the same reasonable value for any target.
5417 * gdb.base/ending-run.exp: Add a regular expression
5418 to make testsuite happy on Sanyo Stormy16 target.
5419
739d0d99
CV
54202001-09-17 Corinna Vinschen <vinschen@redhat.com>
5421
5422 * gdb.base/display.c (do_loops): Add float variable `f'.
5423 Increment f in loop.
5424 * gdb.base/display.exp: Increment timeout by 60 seconds.
5425 Change float display test to use variable `f'.
5426
1b8947f0
JB
54272001-09-17 Jim Blandy <jimb@redhat.com>
5428
5429 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
5430 overflowing the limited breakpoint tables on some ROM monitors
5431 (like the ROM68K).
5432
9890ac81
FCE
54332001-09-15 Frank Ch. Eigler <fche@redhat.com>
5434
5435 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
5436 the "-ac" (disable access control) flag.
5437
6db765ea
JH
54382001-08-30 Jeff Holcomb <jeffh@redhat.com>
5439
5440 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
5441 ints.
5442
4c32cc04
KS
54432001-08-30 Keith Seitz <keiths@redhat.com>
5444
5445 * lib/gdb.exp: Move all insight-related functionality into
5446 separate file.
5447 * lib/insight-support.exp: New file.
5448
8d6e6f81
FCE
54492001-08-29 Frank Ch. Eigler <fche@redhat.com>
5450
5451 * config/sid.exp (sid_start): Never set sid verbosity; disable
5452 expect_background {} that consumed its stdout; tolerate </dev/null.
5453 Attempt to set endianness override in "sid" protocol mode. Cleanup.
5454
6a90e1d0
AC
54552001-08-18 Andrew Cagney <ac131313@redhat.com>
5456
5457 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
5458 CLI jump command to start it.
5459 (mi_run_to_main): Fail immediatly when unexpected output.
5460
1759b3c3
AC
54612001-08-18 Andrew Cagney <ac131313@redhat.com>
5462
5463 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
5464 beginning of function. Fix PR gdb/191.
5465
61d11d80
FCE
54662001-08-16 Frank Ch. Eigler <fche@redhat.com>
5467
5468 * config/sid.exp (sid_start): Don't warn if we cannot figure out
5469 what to force sid endianness to.
5470
942a4df2
KS
54712001-08-15 Keith Seitz <keiths@redhat.com>
5472
5473 * lib/gdb.exp (gdbtk_start): Don't set environment
5474 variables for TCL_LIBRARY and friends. Insight will
5475 now figure these out for itself.
5476
0521c418
MS
54772001-08-02 Michael Snyder <msnyder@redhat.com>
5478
5479 * gdb.base/completion.exp: Remove the symbol "a64l" from
5480 the expect string; this is target-specific, and not related
5481 to what is being tested.
5482
74a9a58a
DB
54832001-08-02 Dave Brolley <brolley@redhat.com>
5484
5485 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
5486
c70819fa
MS
54872001-07-25 Michael Snyder <msnyder@redhat.com>
5488
c2b8fa57
MS
5489 * gdb.base/consecutive.exp: New file. Test stepping over
5490 breakpoints on consecutive instructions.
5491 * gdb.base/consecutive.c: New file.
5492
c70819fa
MS
5493 * gdb.base/call-rt-st.exp: Use double-backslash to quote
5494 curly braces in regular expressions.
5495
2b1a1355
MS
54962001-07-25 Michael Snyder <msnyder@redhat.com>
5497
5498 * gdb.base/ending-run.exp: Accept "Program exited normally" as
5499 legitimate output from stepping out of main.
5500
413eca6f
KS
55012001-07-22 Keith Seitz <keiths@redhat.com>
5502
5503 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
5504 the empty string, do not run the tests.
5505
7e5a9322
SC
55062001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5507
5508 * gdb.base/long_long.exp: Detect size of pointer. Take into
5509 account 2-byte pointers when testing for p/a results.
5510
de58f10f
SC
55112001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5512
d63a86f8 5513 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
5514 and defined to 1K for m68hc11.
5515 (random_data): Reduce table to 1K for embedded platforms (68hc11).
5516 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
5517 (sizeof_random_data): New variable to tell the size of the data table;
5518 don't test past this size; always run to main.
5519
d6f5fea1
SC
55202001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5521
5522 * gdb.base/return2.exp: return of long long and double fails for
5523 68HC11; don't execute these tests on that platform.
5524 * gdb.base/return.exp: Return of a double fails for 68hc11.
5525
c477543d
SC
55262001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5527
5528 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
5529 tests that print a float.
5530 * call-rt-st.exp: Likewise.
5531
63cf1c79
MK
55322001-07-12 Mark Kettenis <kettenis@gnu.org>
5533
5534 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
5535 running this test on Linux.
5536
112f9ab5
MC
55372001-06-24 Michael Chastain <chastain@redhat.com>
5538
5539 * gdb.base/arithmet.exp: Remove some tests to make all test names
5540 unique.
5541
4970cb0f
MS
55422001-07-03 Michael Snyder <msnyder@redhat.com>
5543
5544 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
5545 the output of the ptype command.
5546
d85da69f
MS
55472001-07-02 Michael Snyder <msnyder@redhat.com>
5548
4c8a82de
MS
5549 * gdb.base/completion.exp: Don't assume that break.c is the only
5550 source file that may contain functions named "marker".
d85da69f
MS
5551 * gdb.base/corefile.exp: Quote the curly braces in regexp.
5552
8afc772b
AC
55532001-06-28 Andrew Cagney <ac131313@redhat.com>
5554
5555 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
5556 of files to delete.
5557
5558 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
5559 * gdb.disasm/h8300s.exp: New file.
5560 gdb.disasm/h8300s.s: Likewise.
5561
cff22675
AC
55622001-06-27 Andrew Cagney <ac131313@redhat.com>
5563
5564 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
5565 empty breakpoint tables.
5566
68c81b54
AC
55672001-06-25 Andrew Cagney <ac131313@redhat.com>
5568
5569 * lib/mi-support.exp: Update args=... part of stop-reason
5570 patterns. Accept either a list or a tuple.
5571
2dd62704
AC
55722001-06-23 Andrew Cagney <ac131313@redhat.com>
5573
5574 * lib/mi-support.exp: Remove local emacs variable defining
5575 change-log-default-name.
5576
b4127474
MC
55772001-06-22 Michael Chastain <chastain@redhat.com>
5578
5579 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
5580 This is operationally compatible with the previous version.
5581
8dbfb380
JB
55822001-06-13 Jim Blandy <jimb@redhat.com>
5583
5584 * lib/gdb.exp (gdb_test): Doc fix.
5585
f2d8c86d
MC
55862001-06-10 Michael Chastain <chastain@redhat.com>
5587
5588 * gdb.base/exprs.exp: Remove a duplicate test.
5589
81564d34
JB
55902001-06-06 Jim Blandy <jimb@redhat.com>
5591
5592 * gdb.base/return2.exp (main): Use values to test float and double
5593 returns that are not NaN's, to avoid being confused by IEEE
5594 comparison rules.
5595
da55addb
MS
55962001-06-04 Michael Snyder <msnyder@redhat.com>
5597
5598 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 5599 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
5600 rather than wait for 12 more tests to time out.
5601
42c65987
JB
56022001-06-06 Jim Blandy <jimb@redhat.com>
5603
b18bced9 5604 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 5605 Don't forget to match the GDB prompt.
b18bced9 5606
42c65987
JB
5607 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
5608
5b41e5f0
JB
56092001-06-04 Jim Blandy <jimb@redhat.com>
5610
5611 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
5612 command.
5613
015e046f
KB
56142001-05-31 Kevin Buettner <kevinb@redhat.com>
5615
5616 * gdb.base/annota1.exp (info break): Match four or more spaces
5617 after "Address".
5618
fb1ffbbe
MC
56192001-05-31 Michael Chastain <chastain@redhat.com>
5620
5621 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
5622 (dm_type_int_star): Likewise.
5623 (dm_type_long_star): Likewise.
5624 (dm_type_void_star): Likewise.
5625
5ea2a32c
KB
56262001-05-29 Kevin Buettner <kevinb@redhat.com>
5627
5628 * gdb.base/completion.exp (INPUTRC): Set this environment variable
5629 to a known value in order to get consistent results regardless
5630 of the setting of INPUTRC or the presence or contents of .inputrc.
5631
ae23c492
MS
56322001-05-24 Michael Snyder <msnyder@redhat.com>
5633
ac55707e
MS
5634 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
5635 Don't require that the main thread and the manager thread are the
5636 first in the list.
5637
ae23c492
MS
5638 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
5639 debugging. If test fails, issue an "unsupported" not a "fail".
5640
400071f1
JB
56412001-05-24 Jim Blandy <jimb@redhat.com>
5642
5643 Don't assume that short is shorter than int.
5644 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
5645 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 5646 this isn't true.
400071f1
JB
5647 ("print unsigned char == (~0)"): Add test that verifies that ~0,
5648 an int, is not equal to ~0 stored in an unsigned char. This tests
5649 the same thing that the previous test meant to, but works on
5650 16-bit machines, too.
5651 ("print unsigned char != (~0)"): Same test, complemented.
5652
0816a3e5
MS
56532001-05-24 Michael Snyder <msnyder@redhat.com>
5654
5655 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 5656 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
5657 and prevents dejagnu getting out of step.
5658
f6dc23a9
KB
56592001-05-23 Kevin Buettner <kevinb@redhat.com>
5660
5661 * gdb.base/finish.exp (finish_void): Revise pattern for
5662 stopping on the call statement to not permit stopping at
5663 the start of the instructions comprising the call sequence.
5664
7dbd117d
MC
56652001-05-19 Michael Chastain <chastain@redhat.com>
5666
5667 * gdb.base/callfuncs.exp: Make all test names unique.
5668 * gdb.base/commands.exp: Make all test names unique.
5669 * gdb.base/condbreak.exp: Make all test names unique.
5670 * gdb.base/dbx.exp: Make all test names unique.
5671 * gdb.base/default.exp: Make all test names unique.
5672 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
5673 and TIMEOUT messages to their corresponding PASS message.
5674 * gdb.base/ending-run.exp: Make all test names unique.
5675 * gdb.base/long_long.exp: Remove duplicate test.
5676
6b0b0a9e
KB
56772001-05-21 Kevin Buettner <kevinb@redhat.com>
5678
5679 * gdb.base/finish.exp (finish_void): Allow "finish" command to
5680 stop on the call statement as well as the statement after the
5681 call.
5682
2caa35cb
MS
56832001-05-21 Michael Snyder <msnyder@redhat.com>
5684
5685 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
5686
40713331
EZ
56872001-05-10 Elena Zannoni <ezannoni@redhat.com>
5688
5689 * gdb.base/completion.exp: Revamp test. Make it execute on all
5690 platforms.
5691
c2c1be8d
EZ
56922001-05-10 Elena Zannoni <ezannoni@redhat.com>
5693
2c9cd303
EZ
5694 * config/gdbserver.exp (gdb_load): Handle the case
5695 in which the arguments to gdbserver are given in the
5696 baseboard configuration file.
5697 Also handle the case in which the server needs to do a
5698 load.
5699
9671de48
KS
57002001-05-07 Keith Seitz <keiths@cygnus.com>
5701
5702 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
5703 set up the display for testing.
5704 (gdbtk_start): Convert all paths to paths that tcl will like.
5705 Export target information to environment.
5706 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
5707 necessary.
5708 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
5709 (to_tcl_path): New proc to convert a given pathname into
5710 a path acceptible as an argument to a tcl command.
5711 (_gdbtk_export_target_info): New proc to export target info
5712 into the environment for gdbtk testing.
5713 (gdbtk_done): New proc to signal end-of-test.
5714
5a360f47
JB
57152001-05-06 Jim Blandy <jimb@redhat.com>
5716
5717 * restore.c: Make the code of caller0 correspond to its comment.
5718
66c756c6
MS
57192001-05-03 Michael Snyder <msnyder@redhat.com>
5720
5721 * config/sid.exp (gdb_target_sid): Check for error messages.
5722 On error or timeout, don't make expect exit (which will terminate
5723 all subsequent tests); instead just make gdb exit.
d63a86f8 5724 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
5725 return a negative value.
5726
a966fde5
JB
57272001-04-24 Jim Blandy <jimb@redhat.com>
5728
851c18e0
JB
5729 * gdb.c++/templates.exp: If we see the prompt for the overload
5730 list, but we haven't recognized any of the longer patterns,
5731 arrange for this test to fail, not hang.
5732
a966fde5
JB
5733 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
5734 variations.
5735
db144853
MC
57362001-04-22 Michael Chastain <chastain@redhat.com>
5737
5738 * gdb.c++/local.exp: Use the 'runto' library function.
5739 * gdb.c++/namespace.exp: Likewise.
5740 * gdb.c++/overload.exp: Likewise.
5741
3207ec21
KB
57422001-03-26 Kevin Buettner <kevinb@redhat.com>
5743
5744 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
5745 * gdb.base/step-line.exp: New file. Test step/next in presence of
5746 #line directives.
5747 * gdb.base/step-line.c: New file. Test program for the above.
5748 * gdb.base/step-line.inp: New file. We pretend that this file has
5749 been transformed by some other tool into step-line.c.
5750
13b57657
JB
57512001-03-21 Jim Blandy <jimb@redhat.com>
5752
5753 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
5754 unmangled operator names.
5755
754cbe1c
JB
57562001-03-20 Jim Blandy <jimb@redhat.com>
5757
5758 * gdb.threads/linux-dp.exp: Recognize an additional message
5759 generated by GDB when it doesn't understand how to debug threads
5760 on the target system.
5761
177495c9
AC
57622001-03-19 Andrew Cagney <ac131313@redhat.com>
5763
5764 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
5765
f266096b
MC
57662001-03-12 Michael Chastain <chastain@redhat.com>
5767
5768 * gdb.c++/derivation.exp: Use the 'runto' library function.
5769
cac3c2ff
MC
57702001-03-12 Michael Chastain <chastain@redhat.com>
5771
5772 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
5773
b6c11a24
MC
57742001-02-24 Michael Chastain <chastain@redhat.com>
5775
5776 * gdb.c++/ref-types.exp: Change handwritten code to library
5777 function 'runto'.
5778
6bae5bce
OF
57792001-03-16 Orjan Friberg <orjanf@axis.com>
5780
5781 * gdb.base/signals.exp: Set count to 0 explicitly.
5782
0015fd9a
MS
57832001-03-15 Mark Salter <msalter@redhat.com>
5784
5785 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
5786 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
5787 (gdb_load): Add support for additional target_info: gdb_download_size
5788 and gdb_load_timeout.
0015fd9a 5789
fc33412a
DT
5790Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
5791
5792 * gdb.base/annota1.exp: Move test of isnative to earlier in the
5793 file -- to prevent failing when the compile fails but we have no
5794 intention of running the tests anyway.
5795
5796 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
5797 tests if set.
5798
5799 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
5800 integers.
5801
5802 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
5803 * gdb.c++/namespace.exp: Ditto.
5804
115f06de
OF
58052001-03-07 Orjan Friberg <orjanf@axis.com>
5806
5807 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
5808 * gdb.base/pointers.exp: Relax pattern match of decimals.
5809
b6ba6518
KB
58102001-03-06 Kevin Buettner <kevinb@redhat.com>
5811
5812 * Makefile.in, config/abug.exp, config/cfdbug.exp,
5813 config/cpu32bug.exp, config/dve.exp, config/est.exp,
5814 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
5815 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
5816 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
5817 config/sh.exp, config/sid.exp, config/slite.exp,
5818 config/sparclet.exp, config/udi.exp, config/unknown.exp,
5819 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
5820 config/vxworks.exp, config/vxworks29k.exp,
5821 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
5822 gdb.base/all-bin.exp, gdb.base/annota1.exp,
5823 gdb.base/arithmet.exp, gdb.base/assign.exp,
5824 gdb.base/async.exp, gdb.base/attach.exp,
5825 gdb.base/bitfields.exp, gdb.base/bitops.exp,
5826 gdb.base/break.exp, gdb.base/call-ar-st.exp,
5827 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
5828 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
5829 gdb.base/commands.exp, gdb.base/completion.exp,
5830 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
5831 gdb.base/constvars.exp, gdb.base/corefile.exp,
5832 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
5833 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
5834 gdb.base/ending-run.exp, gdb.base/environ.exp,
5835 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
5836 gdb.base/finish.exp, gdb.base/foll-exec.exp,
5837 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
5838 gdb.base/funcargs.exp, gdb.base/help.exp,
5839 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
5840 gdb.base/logical.exp, gdb.base/long_long.exp,
5841 gdb.base/maint.exp, gdb.base/mips_pro.exp,
5842 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
5843 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
5844 gdb.base/pointers.exp, gdb.base/printcmds.exp,
5845 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
5846 gdb.base/regs.exp, gdb.base/relational.exp,
5847 gdb.base/remote.exp, gdb.base/reread.exp,
5848 gdb.base/restore.exp, gdb.base/return2.exp,
5849 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
5850 gdb.base/selftest.exp, gdb.base/setshow.exp,
5851 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
5852 gdb.base/sigall.exp, gdb.base/signals.exp,
5853 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
5854 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
5855 gdb.base/step-test.exp, gdb.base/structs.c,
5856 gdb.base/structs.exp, gdb.base/structs2.exp,
5857 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
5858 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
5859 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
5860 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5861 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
5862 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
5863 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
5864 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
5865 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
5866 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
5867 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
5868 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
5869 gdb.fortran/types.exp, gdb.java/jmisc.exp,
5870 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
5871 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
5872 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5873 gdb.trace/circ.exp, gdb.trace/collection.exp,
5874 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5875 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5876 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
5877 gdb.trace/report.exp, gdb.trace/save-trace.exp,
5878 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5879 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
5880 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
5881 notices.
5882
dc96c6c7 58832001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
5884
5885 * gdb.base/varargs.c (find_max_double): Fix printf format string:
5886 first arg is int not float.
5887
dc96c6c7 58882001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
5889
5890 * gdb.base/reread.exp: Unsupported for non-native targets;
5891 doesn't work for remote debugging.
5892
9b0c4aeb
FN
58932001-02-19 Fernando Nasser <fnasser@redhat.com>
5894
5895 From Drew Moseley <dmoseley@redhat.com>
5896 * gdb.base/ending-run.exp: Properly handle the BSP state when
5897 stepping past the end of main.
5898
02aa71d5
MC
58992001-02-19 John Moore <jmoore@redhat.com>
5900
5901 * gdb.base/commands.exp (infrun_breakpoint_command_test):
5902 Converted HPUX fix for non-expected items following multiple
5903 step commands into general solution for all platforms.
5904
1fa449a4
MC
59052001-02-18 Michael Chastain <chastain@redhat.com>
5906
5907 * gdb.c++/classes.exp (do_tests): Change runto statements
5908 from "runto 'foo(void)'" to "runto 'foo'". This makes the
5909 statements demangler agnostic.
5910 * gdb.c++/virtfunc.exp (do_tests): Likewise.
5911 (gdb_virtfunc_restart): Likewise.
5912
b2f9ec70
MC
59132001-02-14 Michael Chastain <chastain@redhat.com>
5914
5915 * gdb.c++/inherit.exp (do_tests): Change runto statements
5916 from "runto 'foo(void)'" to "runto 'foo'". This makes the
5917 statements demangler agnostic.
5918
cf74b8ca
AC
5919Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
5920
5921 * gdb.threads/pthreads.exp: Unify pass/fail messages for
5922 ``continue to bkpt at common_routine in thread 2'' and ``stopped
5923 before calling common_routine 15 times'' tests.
5924
99f78f56
MC
59252001-02-11 Michael Chastain <chastain@redhat.com>
5926
5927 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
5928 Helps the test script figure out which demangler is in use.
5929 (dm_type_foo_ref): Ditto.
5930 (dm_type_int_star): Ditto.
5931 (dm_type_long_star): Ditto.
5932 (dm_type_unsigned_int): Ditto.
5933 (dm_type_void): Ditto.
5934 (dm_type_void_star): Ditto.
99707966 5935 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
5936 Probe the gdb demangler and set variables to accommodate
5937 formatting differences.
5938 (info_func_regexp): New function. Same as info_func, but
5939 matches against a regexp.
5940 (info_func): Match against a literal string.
5941 (print_addr_2): New function. Match against a literal string,
5942 which can be different from the input to gdb.
5943 (print_addr): Simply call print_addr_2 with the same argument twice.
5944 (test_lookup_operator_functions): Use demangler formatting variables.
5945 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
5946 the tests in the same order as the C++ class declaration.
5947 (test_paddr_operator_functions): Ditto.
5948 (test_paddr_overloaded_functions): Ditto.
5949 (test_paddr_hairy_functions): Use demangler formatting variables.
5950 Add reference to gdb/19 for related tests.
5951 (do_tests): Call probe_demangler.
5952
1de8f023
KB
59532001-01-30 Kevin Buettner <kevinb@redhat.com>
5954
5955 * gdb.c++/templates.cc (printf): Remove unused function definition.
5956
ca3f91ed
MS
59572001-01-26 Felix Lee <flee@redhat.com>
5958
5959 * sid.exp (sid_exit): Pass host, not target, to remote_close.
5960
59612001-01-25 matthew green <mrg@redhat.com>
5962
5963 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
5964 up sid.
5965 (sid_exit): Call `remote_pop_conn' after GDB is gone.
5966
59672001-01-25 matthew green <mrg@redhat.com>
5968
5969 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 5970 Deprecate $sid_spawn_id.
ca3f91ed
MS
5971 (sid_exit): Remove code necessary only for `spawn.'
5972
59732001-01-25 matthew green <mrg@redhat.com>
5974
5975 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
5976
fb18ec4a
MC
59772001-01-28 Michael Chastain <chastain@redhat.com>
5978
5979 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
5980 to call when tests fail. It takes gdb out of the overloaded
5981 function choice menu back to the main prompt, so that the test
5982 program stays synchronized.
5983 (set_bp_overloaded): New proc to collect all the common
5984 code for setting a breakpoint on an overloaded name. Calls
5985 take_gdb_out_of_choice_menu when needed.
5986 (menu_overload1arg): New variable to collect the repeated
5987 instances of the expected menu for an overloaded name. Change
5988 the regular expression to handle changes in g++ type encoding:
5989 "void" can be either "void" or "", and "unsigned int" can be
5990 either "unsigned int" or "unsigned".
5991 (continue_to_bp_overloaded): Change regular expressions to handle
5992 changes in g++ type encoding.
5993 (no proc): Call take_gdb_out_of_choice_menu when needed.
5994 Remove redundant calls to "info break". Accept either "canceled"
5995 or "cancelled". Change regular expressions in "info break"
5996 calls to handle changes in g++ type encoding. Give all tests
5997 unique strings.
5998
9c646a6e
BE
59992001-01-17 Ben Elliston <bje@redhat.com>
6000
6001 * config/sid.exp: New file.
6002
9549d9c1
AC
6003Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
6004
6005 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
6006
dc96c6c7 60072000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
6008
6009 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
6010 Add a RE to accept a non-ascii char if one is ever presented.
6011
b4df4f68
FN
60122000-12-20 Fernando Nasser <fnasser@redhat.com>
6013
297dd0fd 6014 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 6015
dc96c6c7 60162000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 6017
d63a86f8 6018 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
6019 in regexp. One '\' does not suffice on Linux.
6020
4a7bddb6
MC
60212000-12-09 Michael Chastain <chastain@redhat.com>
6022
6023 * gdb.base/break.exp (test_clear_command): Use a marker function
6024 rather than 'main' for the test function. Also move this
6025 test to an execution point where the marker function names are
6026 guaranteed to be bound to functions. (Executing tests after a
6027 'finish' from main runs into name conflicts with local names
6028 in __libc_start_main).
6029
dc96c6c7 60302000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
6031
6032 * gdb.base/finish.exp: New test for gdb's "finish" command.
6033 * gdb.base/return2.exp: New test for gdb's "return" command.
6034 * gdb.base/return2.c: New source file for above.
6035
dc96c6c7 60362000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
6037
6038 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
6039 * gdb.base/miscexprs.exp: Ditto.
6040 * gdb.base/pointers.exp: Ditto.
6041 * gdb.c++/derivation.exp: Ditto.
6042 * gdb.c++/local.exp: Ditto.
6043 * gdb.c++/namespace.exp: Ditto.
6044 * gdb.c++/overload.exp: Ditto.
6045 * gdb.c++/ref-types.exp: Ditto.
6046
dc96c6c7 60472000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
6048
6049 * gdb.base/constvars.exp: Test result of "up" command.
6050 * gdb.base/miscexprs.exp: Ditto.
6051 * gdb.base/pointers.exp: Ditto.
6052 * gdb.base/scope.exp: Ditto.
6053 * gdb.c++/derivation.exp: Ditto.
6054 * gdb.c++/local.exp: Ditto.
6055 * gdb.c++/namespace.exp: Ditto.
6056 * gdb.c++/overload.exp: Ditto.
6057 * gdb.c++/ref-types.exp: Ditto.
6058
44097287
FN
60592000-11-22 Michael Chastain <chastain@redhat.com>
6060
6061 * mips_pro.exp: Accept either "middle -> top -> main" or
6062 "middle -> main" in the backtrace, because gcc can optimize
6063 tail calls to jumps. Remove setup_xfail for the hppa case.
6064 Add a comment with the original warning messages from PR 3016,
6065 which was filed in 1993, to preserve them for posterity.
6066
9d2e1bab
ND
60672000-11-17 Nick Duffek <nsd@redhat.com>
6068
6069 * lib/gdb.exp (gdb_test): Override timeout with board info.
6070
1aca8eb7
ND
60712000-11-17 Nick Duffek <nsd@redhat.com>
6072
6073 * gdb.base/display.exp: Don't kill running stub. Add "again" to
6074 the second kill and detach messages.
6075
93076499
ND
60762000-11-17 Nick Duffek <nsd@redhat.com>
6077
6078 * configure.in: Add AC_EXEEXT.
6079 * configure: Regenerate.
6080 * Makefile.in (just-check): Export EXEEXT.
6081 * lib/gdb.exp ($EXEEXT): Import from environment.
6082 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
6083 expect "maint dump-me" on Cygwin.
6084 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
6085 $EXEEXT.
6086
30e87cd3
ND
60872000-11-17 Nick Duffek <nsd@redhat.com>
6088
6089 * gdb.base/break.exp: Test backtrace and finish from called
6090 function on all platforms, not just HP-UX.
6091
dc96c6c7 60922000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
6093
6094 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
6095 code from gdb_target_monitor, so it can be used independantly
6096 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 6097
dc96c6c7 60982000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
6099
6100 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
6101 * gdb.base/corefile.exp: Expect the message "Program is being
6102 debugged already" when we send the "corefile" command, since
6103 the preceeding gdb_load may have connected gdb to a remote target.
6104 * gdb.base/display.exp: Disable hardware watchpoints if new
6105 board info variable "no_hardware_watchpoints" is true.
6106 Replace single-letter commands with more readable ones.
6107 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
6108 if new board info variable "no_hardware_watchpoints" is true.
6109 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
6110 to see if stdio (printf) testing is possible.
6111 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
6112 board info variable "no_hardware_watchpoints" is true. Use new
6113 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
6114
39124dea
FN
61152000-11-13 Fernando Nasser <fnasser@redhat.com>
6116
6117 From Orjan Friberg <orjanf@axis.com>:
6118 * gdb.base/printcmds.exp: Escape curly braces followed by a number
6119 in array print pattern match.
6120
a9e2e984
FN
61212000-11-09 Fernando Nasser <fnasser@redhat.com>
6122
6123 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
6124 spelling "cancelled" to U.S. spelling "canceled" to match changes
6125 made to gdb.
6126 * gdb.c++/ovldbreak.exp: Ditto.
6127
c7db355b
PS
61282000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6129
6130 * gdb.base/callfuncs.c (main): Moved to end of file, call
6131 t_double_values to initialize the FPU before inferior calls are made.
6132 * gdb.base/callfuncs.exp: Test for register preservation after calling
6133 inferior functions. Add tests for continuining, finishing and
6134 returning from a stop in a call dummy.
6135
dc96c6c7 61362000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
6137
6138 * gdb.base/commands.exp: Break up long lines, and re-indent.
6139
dc96c6c7 61402000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
6141
6142 * config/gdbserver.exp: Rewritten from the ground up, to make it
6143 compatible with the current dejagnu tree, and to make it work with
6144 the new "gdbserver" in libremote.
6145
dc96c6c7 61462000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
6147
6148 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
6149 * gdb.base/varargs.exp: Skip entire test if no printf support.
6150 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
6151 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
6152
dc96c6c7 61532000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
6154
6155 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
6156 no floating point support.
6157 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
6158 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
6159 * gdb.base/call-rt-st.exp: Ditto.
6160 * gdb.base/call-strs.exp: Ditto.
6161
bac5fc66
JG
61622000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
6163
6164 * gdb.base/sizeof.c: include <stdio.h>.
6165
6166 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
6167 'finish', otherwise uncaptured gdb_prompt would potentially
6168 throw remaining test points out of sync.
6169
b22a6027
SB
61702000-07-26 Scott Bambrough <scottb@netwinder.org>
6171
6172 * gdb.base/recurse.exp: Run tests for all targets.
6173 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
6174 gnu-oldld case on ARM.
6175 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
6176 for ARM targets.
d63a86f8 6177
d8231941
AG
6178Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
6179
6180 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
6181 * gdb.java/configure: Rebuild.
6182
8caabe69
AG
6183Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
6184
6185 * gdb.java/jv-exp.exp: New file.
6186
9d273ca3
AG
6187Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
6188
6189 * configure: Rebuilt.
6190 * configure.in (configdirs): Add gdb.java.
6191 * gdb.java/jmisc.java: New file.
6192 * gdb.java/jmisc.exp: New file.
6193 * gdb.java/Makefile.in: New file.
6194 * gdb.java/configure: Rebuilt.
6195 * gdb.java/configure.in: New file.
6196 * lib/java.exp: New file.
6197
4f823a66
AC
6198Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
6199
6200 * gdb.base/exprs.exp: Test casts to a pointer including over and
6201 underflow.
6202
2391e11d
AC
6203Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
6204
6205 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
6206 and the compilers sizes.
6207
54602222
ND
62082000-07-09 Nick Duffek <nsd@redhat.com>
6209
6210 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
6211 (use_methods): New function.
6212 (main): Call use_methods().
6213 * gdb.c++/classes.exp (test_method_param_class): New procedure.
6214 (do_tests): Call test_method_param_class.
6215
2bec0572
ND
62162000-07-09 Nick Duffek <nsd@redhat.com>
6217
6218 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
6219 spelling.
6220 (test_enums): New procedure. Move enum tests from end of script
6221 to here. Set breakpoint on function name instead of line number.
6222 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
6223 (enums2): New marker function.
6224 (enums1): New function.
6225 (main): Call enums1(). Move enum tests to enums1().
6226
78492fde
AC
6227Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
6228
6229 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
6230 compile/link program. Update line numbers.
6231 * gdb.asm/d10v.inc: Define ``startup''.
6232 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 6233
49a2cef8
AC
6234Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
6235
6236 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
6237
3e6c8688
EZ
62382000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6239
6240 * gdb.base/maint.exp: Add 'maint print architecture' item to output
6241 of 'help maint print' command.
6242
9ff5cbe9
AC
6243Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
6244
6245 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
6246 they use gdb_expect_list.
6247
17c579bd
AC
6248Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
6249
6250 * gdb.base/commands.exp: Use ``set remote
6251 memory-read-packet-size'' instead of ``set endian big'' to test
6252 long commands.
6253
e6d71bf3
DB
62542000-06-03 Daniel Berlin <dan@cgsoftware.com>
6255
6256 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 6257 g++, and stop skipping them.
e6d71bf3
DB
6258
6259 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
6260 work under g++.
6261
d63a86f8 6262 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
6263 initialization.
6264
dc96c6c7 62652000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
6266
6267 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
6268 the regular expression: accept an (almost) arbitrary sequence of
6269 "frames-invalid" and "breakpoints-invalid" messages both before
6270 and after the "starting" message.
6271
dc96c6c7 62722000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
6273
6274 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 6275
dc96c6c7 62762000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
6277
6278 * gdb.base/annota1.exp (annotate-signal-handler-caller):
6279 Relax the regular expression a little, make it pass on Solaris 8.
6280
8216cda9
KB
62812000-05-12 Kevin Buettner <kevinb@redhat.com>
6282
6283 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 6284 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
6285 Instead, it is permissible for gdb to stop on the line of the
6286 call itself.
6287
1a570b2f
MS
62882000-05-12 Michael Snyder <msnyder@.cygnus.com>
6289
6290 * gdb.base/break.exp (bp on small function, optimized file):
6291 Add a second pass pattern. The behavior differs here between stabs
6292 and dwarf for one-line functions. Stabs preserves two line symbols
6293 (one before the prologue and one after) with the same line number,
6294 but dwarf regards these as duplicates and discards one of them.
6295 Therefore the address after the prologue (where the breakpoint is)
6296 has no exactly matching line symbol, and GDB reports the breakpoint
6297 as if it were in the middle of a line rather than at the beginning.
6298
dc96c6c7 62992000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 6300
d63a86f8 6301 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
6302 rather than "send_gdb" (for consistancy).
6303
7d418785
AC
6304Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
6305
6306 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
6307 * gdb.c++/templates.cc: Properly check for GCC version number.
6308 * lib/compiler.cc: Likewise
6309
dc96c6c7 63102000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 6311
d63a86f8 6312 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
6313 gdb may not stop at the first line of main, due to code motion.
6314
dc96c6c7 63152000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
6316
6317 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
6318 This test depends on parsing the printf output from the target.
6319 Since the sparclet stub doesn't do stdio, this will never work.
6320 * gdb.base/call-rt-st.exp: ditto.
6321 * gdb.base/call-strs: ditto.
6322
dc96c6c7 63232000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
6324
6325 * gdb.base/miscexprs.exp: make sizeof long array test portable.
6326
6327 * gdb.base/ending-run.exp: After connecting to a remote target,
6328 but before running, the target will appear to be in a random
6329 location. Specify both a file and a line for breakpoints.
6330 Also, the function that calls main may be called 'init'
6331 rather than 'start'.
6332
a5a51225
EZ
63332000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6334
6335 * gdb.base/help.exp: Update output for add-symbol-file command.
6336
7930cc7c
FN
63372000-04-10 Fernando Nasser <fnasser@cygnus.com>
6338
6339 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6340 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
6341
23e37ab1
C
63422000-04-07 J.T. Conklin <jtc@redback.com>
6343
e93c542c
C
6344 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
6345
23e37ab1
C
6346 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
6347
591b8fa3
PDM
6348Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
6349
6350 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
6351 values that can be represented exactly.
6352 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
6353 above change, and to not check against the directory part of the source
6354 file name.
6355 (step into print_long_arg_list): Likewise.
6356 (print print_small_structs from print_long_arg_list): Likewise.
6357 (print print_long_arg_list): Likewise.
6358
7a495180
EZ
63592000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6360
30b53638 6361 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 6362
beb998c6
AC
6363Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
6364
6365 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
6366
1c689132
DB
63672000-03-25 Daniel Berlin <dan@cgsoftware.com>
6368
6369 * gdb.base/commands.exp (deprecated_command_test): Add test for
6370 deprecate with no arguments.
6371
c1790a9d
JL
63722000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
6373
6374 * gdb.base/break.exp: Add new test for setting breakpoints on
6375 optimized code so we can test breakpoints work even when function
6376 prologues may be optimized away
6377
003ba290
FN
63782000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
6379
6380 From David Whedon <dwhedon@gordian.com>
6381 * gdb.base/commands.exp : Added command deprecator tests.
6382
6837a0a2
DB
63832000-03-22 Daniel Berlin <dan@cgsoftware.com>
6384
6385 * gdb.base/help.exp: Added test for new apropos command.
6386
b9593231
KB
63872000-03-21 Kevin Buettner <kevinb@redhat.com>
6388
6389 * gdb.base/pointers.c (usevar): New function.
6390 (main): Make sure that global variables v_int_pointer2, rptr,
6391 and y are all referenced someplace in the program by calling
6392 usevar() on them. [Some linkers delete symbols which are
6393 never referenced. The space remains, but there's no way to
6394 get a (symbolic) handle on the variable from the debugger.]
6395
751a959b
EZ
63962000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6397
6398 * gdb.base/printcmds.c: Add typedeffed arrays.
6399
6400 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
6401 procedure to test arrays that are typedef'd.
6402
73a93a32
JI
64032000-03-13 James Ingham <jingham@leda.cygnus.com>
6404
6405 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 6406 the library directories.
73a93a32 6407
fb40c209
AC
6408Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
6409
6410 * configure.in (configdirs): Add sub directory gdb.mi.
6411 * configure: Re-generate.
6412
6413 * gdb.mi: New directory.
d63a86f8 6414
ee4dd2c9
AC
64152000-02-25 Scott Bambrough <scottb@netwinder.org>
6416
6417 * gdb.base/long_long.exp: Correct test suite failure when printing
6418 a long long value as a double on ARM platforms.
6419
70f0cc22
JB
64202000-02-16 Jim Blandy <jimb@redhat.com>
6421
6422 * gdb.base/break.exp ("breakpoint line number"): Make sure the
6423 default source file is set properly before running this test.
6424
853819b8
EZ
64252000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6426
6427 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
6428 gdbtk/library directory, not in gdbtcl2.
6429
dfcd3bfb
JM
64302000-02-04 Jim Blandy <jimb@redhat.com>
6431
6432 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
6433 backslash from regexp pattern.
6434
6435 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
6436 procedure. Use it to run all the "continue to bp overloaded"
6437 tests. Note that this changes the names of the tests slightly.
6438 If the breakpoint hit message includes a hex PC value, because
6439 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
6440 from the real source code, still consider that a pass.
6441
6442 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
6443 XFAIL here if the breakpoint message contains a hex address. Note
6444 similar change on 1999-11-02.
6445
6446 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
6447
6448 * gdb.base/ptype.exp: Establish a default source file before
6449 calling get_debug_format.
6450
64512000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
6452
6453 * gdb.base/watchpoint.exp: Remove duplication of test messages.
6454
8b93c638
JM
64552000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6456
6457 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
6458 of successive stepi commands -- while in the prologue we should see
6459 the function entry bracket.
6460
64612000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6462
6463 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
6464 reach __change_mode() when stepping through the end of main().
6465
c5394b80
JM
64662000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
6467
6468 * gdb.base/default.exp: Fix expected pattern.
6469 * gdb.base/help.exp: Same.
6470
0d06e24b
JM
64712000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6472
6473 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
6474 Don't use xfail's because that affects only the following test.
d63a86f8 6475
0d06e24b
JM
6476 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
6477 solaris or linux.
6478
6479 * gdb.base/selftest.exp: Update to reflect changes to main.c.
6480
dc96c6c7 64812000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 6482
d63a86f8 6483 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
6484 "A syntax error" rather than "A parse error". Accept both.
6485
64862000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
6487
6488 * gdb.base/default.exp: Remove OS dependent string from "target
6489 remote" test.
6490 * gdb.base/help.exp: Same for "help target remote" test.
6491
c3f6f71d
JM
64922000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6493
6494 From Jim Kingdon <kingdon@redhat.com>:
6495
6496 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
6497 prompt (cleanup rather than necessity, but still might keep output
6498 from spilling to next test).
6499
65002000-01-02 Fred Fish <fnf@cygnus.com>
6501
6502 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
6503 AIX, which defines them in <sys/types.h>.
6504
ed9a39eb 65051999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 6506
ed9a39eb
JM
6507 * gdb.base/default.exp: Match arm* etc instead of arm in "info
6508 float" test.
6509
65101999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 6511
ed9a39eb 6512 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
6513
6514 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
6515 outermost frame disallowed".
6516
65171999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
6518
6519 * gdb.base/setvar.exp: New tests for setting the value of a struct
6520 with a constant list.
6521
65221999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
6523
6524 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
6525 require the user to type a cast before setting the value of a struct.
6526
de57eccd
JM
65271999-12-06 Jim Blandy <jimb@cygnus.com>
6528
6529 * gdb.base/default.exp: Expect the new 'info float' command on
6530 all i386 platforms.
6531
6532 * gdb.threads/linux-dp.exp: Expand our ability to recognize
6533 LinuxThreads libraries that don't support debugging.
6534
c2d11a7d
JM
6535Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6536
6537 * gdb.base/remote.c: Fill the buffer with truely random data.
6538 Change the buffer type to ``unsigned char'' to simplify size
6539 arithmetic.
6540
6541 * gdb.base/remote.exp: Reduce download numbers by one. Typical
6542 stub only handles 400-1 byte packets. Verify that the download
6543 worked.
6544
65451999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
6546
6547 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
6548 tests, using UNRESOLVED for the untested cases. Also, does not wait
6549 for a timeout if the prompt was received before a recognizable pattern.
6550
65511999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
6552
6553 * lib/gdb.exp (gdb_expect_list): Fix spelling.
6554
65551999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6556
6557 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
6558 watchpoints.
6559
65601999-11-24 Jason Merrill <jason@casey.cygnus.com>
6561
6562 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
6563
6564 * gdb.c++/local.exp: Be more flexible in recognizing local class
6565 name mangling. Don't allow horribly truncated method names.
6566 * gdb.c++/derivation.exp: Expect protected inheritance.
6567 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
6568 * gdb.c++/virtfunc.exp: Likewise.
6569 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
6570 when printing a nested enum.
6571
65721999-11-22 Jim Blandy <jimb@cygnus.com>
6573
6574 * gdb.base/step-test.exp: Properly await GDB's response to setting
6575 a breakpoint on the call to large_struct_by_value.
6576
6577 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
6578 just because we have debug info for the `start' function.
6579
65801999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
6581
6582 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
6583 "Unknown signal" messages, which indicate (on LinuxThreads) that
6584 GDB doesn't know how to debug threads on this system. This is
6585 better than hanging while philosopher 0 dumps chatter into gdb.log.
6586
65871999-11-18 Tom Tromey <tromey@cygnus.com>
6588
6589 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
6590
65911999-11-18 Fred Fish <fnf@cygnus.com>
6592
6593 * gdb.base/coremaker2.c: Add sample program for generating
6594 cores that is more self contained than coremaker.c. Eventually
6595 I'll add more code to this and tie it into the testsuite.
6596
4ce44c66
JM
65971999-11-12 Stan Shebs <shebs@andros.cygnus.com>
6598
6599 * gdb.base/dollar.exp: Remove, now in gdb.hp.
6600
66011999-11-10 Jimmy Guo <guo@cup.hp.com>
6602
6603 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
6604 from $srcdir/lib/.
6605 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
6606 and gdb.c++/.
6607
6608 * gdb.c++/derivation.exp: remove redundant get compiler info code.
6609
d63a86f8 6610 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
6611 'continue with watch' test point.
6612
66131999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
6614
6615 Merged from p2linux-990323-branch:
d63a86f8 6616
4ce44c66
JM
6617 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
6618
11cf8741
JM
6619Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
6620
6621 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
6622 {limit,fixed}''. Test ``set download-write-size''.
6623
6624Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
6625
6626 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
6627 gdb_expect_list.
6628
6629Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
6630
6631 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
6632
66331999-11-03 Mark Salter <msalter@cygnus.com>
6634
6635 * gdb.base/break.exp: Fix "stub continue" pattern.
6636
66371999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
6638
6639 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
6640
66411999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
6642
6643 * gdb.base/display.exp ("finish"): Add timeout clause.
6644
6645 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
6646 plain prompt clause, so this doesn't have to time out in order to
6647 fail.
6648
6649 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
6650 breakpoint hit messages include an address.
6651
6652 * gdb.base/display.exp: Don't forget to escape parens in regular
6653 expressions. Unix regexp notatation sucks.
6654
66551999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6656
6657 * gdb.base/annota1.exp: Test for annotate-signalled: change output
6658 order for 'signalled' message.
6659
5c44784c
JM
66601999-11-01 Stan Shebs <shebs@andros.cygnus.com>
6661
6662 From Jimmy Guo <guo@cup.hp.com>:
6663 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
6664 * gdb.base/annota1.c: Add code for tests to work with.
6665
66661999-10-26 Frank Ch. Eigler <fche@cygnus.com>
6667
6668 * gdb.base/remote.exp: New test for remote downloading settings.
6669 * gdb.base/remote.c: New file with large .data.
6670
917317f4
JM
66711999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
6672
6673 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
6674 for LinuxThreads support, merged from the Code Fusion branch.
6675
6676Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
6677
6678 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
6679 containing exp_continue into a while within an expect. Don't
6680 attempt a start more than three times. Check return value from
6681 gdb_load.
d63a86f8 6682
2df3850c
JM
6683Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
6684
6685 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
6686 a pass case.
6687
2acceee2
JM
66881999-10-01 Kevin Buettner <kevinb@cygnus.com>
6689
6690 * gdb.base/break.c (main): Added a statement that we can step
6691 off of.
6692 * gdb.base/break.exp: Added tests for setting a breakpoint
6693 at an offset and stepping onto a breakpoint.
6694
66951999-10-01 Fred Fish <fnf@cygnus.com>
6696
d63a86f8 6697 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
6698 gdb output.
6699
c2c6d25f
JM
67001999-09-18 Jim Blandy <jimb@cris.red-bean.com>
6701
6702 * gdb.base/break.exp: Code locations are in hex, don't forget!
6703 (For HP-UX.)
6704
67051999-09-17 Stan Shebs <shebs@andros.cygnus.com>
6706
6707 * condbreak.exp: Use break.c as test program.
6708 * condbreak.c: Remove, redundant with break.c.
6709
67101999-09-15 Stan Shebs <shebs@andros.cygnus.com>
6711
6712 * config/monitor.exp (gdb_target_monitor): Disable X- and
6713 Z-packets if the target needs it.
6714
67151999-09-13 James Ingham <jingham@leda.cygnus.com>
6716
6717 * gdb.c++/overload.exp: Added tests for listing overloaded
6718 functions with function pointers in the arg, explicitly calling
6719 out the version you want.
6720
cff3e48b
JM
67211999-09-09 Stan Shebs <shebs@andros.cygnus.com>
6722
6723 * long_long.exp: Add variations of test cases that work for
6724 targets with 16-bit ints and 32-bit doubles.
6725
d4f3574e
SS
67261999-09-08 Stan Shebs <shebs@andros.cygnus.com>
6727
6728 * break.c (main): Compare a possibly-uninitialized argc with an
6729 unlikely value that fits in 16 bits.
6730
67311999-09-07 Stan Shebs <shebs@andros.cygnus.com>
6732
6733 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
6734 0xfeeb, don't want negative numbers if ints are 16 bits.
6735
6736 * lib/gdb.exp (skip_cplus_tests): New proc.
6737 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6738 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
6739 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
6740 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
6741 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
6742 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
6743 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
6744 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
6745
6746 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
6747
6748Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
6749
6750 * gdb.base/corefile.exp (up): Allow a parameter to appear
6751 in the frame that we're going up to.
6752
6753 From Jim Blandy <jimb@cygnus.com>:
6754
6755 * gdb.base/default.exp (info float): Expect some output now.
6756
6757 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
6758 returning floating-point values to fail on the x86.
6759 * gdb.base/callfwmall.exp (do_function_calls): Same.
6760
6761 * gdb.base/list.exp (test_listsize): Correct expectations for
6762 listing line 1 with listsize 2. Also, listing a single line
6763 works now, as does listing three lines. [Kevin's note: There
6764 were a number of other cases fixed too where the expectations
6765 differed...]
6766
67671999-09-02 Stan Shebs <shebs@andros.cygnus.com>
6768
6769 * gdb.base/selftest.exp: Add case for when version prints as
6770 constant string instead of char pointer.
6771
104c1213
JM
67721999-08-25 Stan Shebs <shebs@andros.cygnus.com>
6773
6774 * gdb.base/ending-run.exp: Add Solaris case for what happens when
6775 stepping out of main.
6776
6777 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
6778 G++ used.
6779
6780 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
6781 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
6782
6783 * gdb.c++/ovldbreak.exp: Update match string in test that
6784 includes a warning of multiple breakpoints.
6785
67861999-08-24 Stan Shebs <shebs@andros.cygnus.com>
6787
6788 * gdb.base/display.exp: Improve precision of step-after-finish
6789 added yesterday.
6790
6791 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
6792 test.
6793
6794 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
6795 configs when using G++, not just hppa*.
6796
67971999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6798
6799 * gdb.base/async.c: New file.
6800 * gdb.base/async.exp: New file.
6801
6802Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
6803
6804 * gdb.base/break.exp: Tweak PA specific tests to properly handle
6805 PA64.
6806
53a5351d
JM
6807Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
6808
104c1213
JM
6809 * gdb.base/display.exp: "finish" can leave us mid-line on many
6810 targets, deal with it. Add a small constant to main, instead of
6811 1000 since main+1000 may not be a valid address in the target.
6812
53a5351d
JM
6813 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
6814 on hpux11.
6815
6816 * gdb.base/attach.exp: Handle another hpux11 error message variant
6817 when attaching to a process that does not exist.
6818
68191999-08-19 J.T. Conklin <jtc@redback.com>
6820
6821 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
6822 characters in 'continue to 1241' test.
6823
68241999-08-17 Stan Shebs <shebs@andros.cygnus.com>
6825
6826 * gdb.base/call-ar-st.exp: Add a shorter match case for the
6827 stop in print_long_arg_list, define and use a whitespace
6828 variable in print_small_structs test, add an XFAIL for Solaris.
6829 * gdb.base/dbx.exp: XFAIL func commands until somebody is
6830 interested enough to fix.
6831
7be570e7
JM
68321999-08-13 Keith Seitz <keiths@cygnus.com>
6833
6834 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
6835 (dbx_gdb_load): Remove. Use gdb_load instead, since that
6836 proc knows about targets other than the natives.
6837 (test_assign): Use "gdb_run_cmd" to "run" the target.
6838 Check that we've actually hit the breakpoint at main.
6839 When we attempt to assign a value to a local variable, check
6840 that the variable is in the current scope, i.e., don't use
6841 a test with an empty result.
6842
6843Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
6844
6845 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
6846 command.
6847
68481999-08-09 Stan Shebs <shebs@andros.cygnus.com>
6849
6850 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6851 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
6852 gdb.compat, gdb.threads-hp.
6853 gdb.hp/configure, gdb.hp/configure.in: New files.
6854 gdb.hp/Makefile.in: Recurse into new subdirs.
6855 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
6856 gdb.hp/gdb.objdbg: New directory, tests for debugging info
6857 in object files.
6858 gdb.hp/tools: New directory, aux tools for HP-specific tests.
6859
96baa820
JM
68601999-08-05 Stan Shebs <shebs@andros.cygnus.com>
6861
6862 * gdb.base/display.exp: Help expect by putting a newline in the
6863 funky printf, remove a bogus p/a test.
6864
68651999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6866
6867 * gdb.base/display.exp: Make sure that when we say 'run', we are
6868 connected to the target. This is necessary when running not
6869 natively.
6870
68711999-08-03 Stan Shebs <shebs@andros.cygnus.com>
6872
6873 * gdb.base/step-test.exp: Removed some extraneous messages.
6874
6875 * gdb.base/long_long.exp: Don't run memory examination tests
6876 on little-endian targets (they will need a different set of
6877 results to match).
6878
68791999-08-02 Stan Shebs <shebs@andros.cygnus.com>
6880
6881 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
6882 until somebody decides to fix GDB.
6883
6884 * gdb.base/long_long.c: Stop compiler complaint by specifying long
6885 constant as "ULL".
6886 * gdb.base/long_long.exp: Loosen x/c test, add partial result
6887 matches for a couple x/2 commands.
6888
a0b3c4fd
JM
68891999-07-30 Stan Shebs <shebs@andros.cygnus.com>
6890
6891 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
6892 by merging in ref-types2 tests.
6893 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
6894
6895 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6896 * gdb.c++/Makefile.in: Add standard actions.
6897 (EXECUTABLES): Rename from PROGS, update list.
6898 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
6899 from gdb.hp.
6900 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
6901 foo and bar locals.
6902 * gdb.c++/anon-union.exp: Fix tests to match.
6903 * gdb.c++/classes.exp: Run if HP compiler used, add extra
6904 expect matches to handle output variations.
6905 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
6906 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
6907 output, add HP alternatives for new and delete prints.
6908 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
6909 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
6910 * gdb.c++/demangle.exp: Use $style when reporting failure.
6911 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
6912 * gdb.c++/inherit.exp: Run if HP compiler used, add some
6913 match alternatives.
6914 * gdb.c++/local.exp: Add match alternatives or xfails for HP
6915 compilers.
6916 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
6917 * gdb.c++/method.exp: Add match alternatives.
6918 * gdb.c++/misc.cc: Add bool types.
6919 * gdb.c++/misc.exp: Add tests for bool types.
6920 * gdb.c++/overload.exp: Add xfails.
6921 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
6922 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
6923 add some more template parameter tests (only for HP currently).
6924 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
6925 * gdb.c++/virtfunc.cc: Add return type and value for main.
6926 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
6927 match alternatives.
d63a86f8 6928
a0b3c4fd
JM
69291999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6930
6931 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
6932
69331999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
6934
6935 * gdb.base/signals.exp: Don't expect getting a backtrace from
6936 within a signal handler to fail on Linux.
6937
69381999-07-29 Stan Shebs <shebs@andros.cygnus.com>
6939
6940 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6941 * lib/gdb.exp: Remove some gratuitious semicolons.
6942 (delete_breakpoints): Increase timeout.
6943 (gdb_expect): Add -notransfer option.
6944 (gdb_test): Use -notransfer option.
6945 (get_compiler_info): Add f77 case.
6946 (get_compiler): New proc, split out from gdb_preprocess, add f77
6947 case.
6948 (gdb_preprocess): Call get_compiler.
6949
6950 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
6951 * gdb.base/attach.exp, gdb.base/display.exp,
6952 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
6953 gdb.base/long_long.exp, gdb.base/printcmds.exp,
6954 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
6955 third arg to gdb_test.
6956 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
6957 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
6958 HP-UX xfails, add others.
6959 * gdb.base/completion.exp: Reflect name change of self-test.
6960 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
6961 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
6962 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
6963 HP failure number.
6964 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
6965 useless HP-UX 10.30 references.
6966 * gdb.base/maint.exp: Loosen matches.
6967 * gdb.base/pointers.c (main): Declare more_code.
6968 * gdb.base/pointers.exp: Match on output of a `next'.
6969 * gdb.base/structs.c: Add prototypes.
6970 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
6971 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
6972
69731999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6974
6975 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
6976 command.
6977
69781999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6979
6980 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
6981 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
6982
6983 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
6984 debug info. Deal with lack of signal hanlder info in stack.
6985
6986 From Jim Kingdon <kingdon@redhat.com>:
6987 * gdb.base/annota1.exp: If printf has debug info, deal with it.
6988
5a2468f5
JM
69891999-07-19 Stan Shebs <shebs@andros.cygnus.com>
6990
6991 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
6992 gdb.base/foll-vfork.exp: Don't run for crosses.
6993
adf40b2e
JM
6994Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6995
6996 * gdb.base/configure.in: Check for gdbvars.exp instead of
6997 a1-selftest.exp.
6998 * gdb.base/configure: Re-generate.
6999
70001999-07-12 Stan Shebs <shebs@andros.cygnus.com>
7001
7002 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
7003 in trying to run first and name is too long.
7004
7005 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
7006 pointers2.c and pointers2.exp, respectively.
7007 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
7008 doschk happier.
7009
43e526b9
JM
70101999-07-08 Stan Shebs <shebs@andros.cygnus.com>
7011
7012 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
7013 callfuncs2.c and callfuncs2.exp.
7014
7015 * gdb.base/list.exp: Remove mistaken xfails.
7016 * gdb.base/list0.h: Add optional prototypes.
7017
9846de1b
JM
7018Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
7019
7020 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
7021 calling malloc.
7022 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
7023 * ptype.exp: Move test for get_debug_format to before its first
7024 use.
7025
70261999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7027
7028 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
7029 * gdb.base/annota2.cc, annota2.exp: Move from here.
7030 * gdb.c++/annota2.cc, annota2.exp: To here.
7031 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
7032
43ff13b4
JM
7033Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
7034
7035 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
7036 a consistent format.
7037
085dd6e6
JM
70381999-06-25 Stan Shebs <shebs@andros.cygnus.com>
7039
7040 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7041 * lib/gdb.exp (get_compiler_info): Add detection for assorted
7042 HP compilers, also set the globals $true and $false.
7043
7044 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
7045 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
7046 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
7047 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
7048 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
7049 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
7050 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
7051 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
7052 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
7053 whatis.c} Add C++ compatible function definitions and return
7054 types, add includes for library functions.
7055 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
7056 * gdb.base/step-test.c (myglob): Rename from glob.
7057 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
7058 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
7059 files, move here from gdb.hp.
7060 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
7061 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
7062 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
7063 Adjust line numbers in regexps.
7064
7065 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
7066 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
7067 instead of 0/1.
7068
7069 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
7070 foll-vfork.exp: New files, move here from gdb.hp.
7071 * gdb.base/page.exp: New file, test of pagination command.
7072
7073 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
7074 recursion test.
7075 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
7076
7077 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
7078 gdb.base/solib.exp: Fix compiler invocation process.
7079
7080 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
7081 HP-UX 11, turn off overload resolution explicitly.
7082 * gdb.base/commands.exp: Set argument list explicitly, add
7083 watchpoint test.
7084 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
7085 them work.
7086 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
7087 expressions properly.
7088 * gdb.base/corefile.exp: Loosen the match slightly.
7089 * gdb.base/default.exp: Allow "Error accessing memory" message
7090 also.
7091 * gdb.base/display.exp: Skip over x/0 j if PA64.
7092 * gdb.base/funcargs.exp: Add xfails for HP-UX.
7093 * gdb.base/interrupt.exp: Ditto.
7094 * gdb.base/langs.exp: Add symbolic matches governed by compiler
7095 in use.
7096 * gdb.base/list.exp: Add xfails for HP-UX.
7097 * gdb.base/long_long.exp: Refine some of the numeric matches.
7098 * gdb.base/mips_pro.exp: Xfail on HP-UX.
7099 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
7100 * gdb.base/nodebug.exp: Succeed on more varieties of output.
7101 * gdb.base/opaque.exp: Remove some HP-UX xfails.
7102 * gdb.base/ptype.exp: Succeed on more varieties of output.
7103 * gdb.base/scope.exp: Add xfails for HP-UX.
7104 * gdb.base/sect-cmd.exp: Add more cases.
7105 * gdb.base/setvar.exp: Add xfails for HP-UX.
7106 * gdb.base/shlib-call.exp: Loosen some matches slightly.
7107 * gdb.base/signals.exp: Match on void symbolically.
7108 * gdb.base/step-test.exp: Add case for PA64.
7109 * gdb.base/term.exp: Add exit and restart.
7110 * gdb.base/twice.exp: Clean up after self.
7111 * gdb.base/varargs.exp: Disable overload resolution explicitly.
7112 * gdb.base/whatis.exp: Allow more ways to pass tests.
7113
7114 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
7115 no longer useful.
7116
7117Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
7118
7119 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
7120 list of patterns.
7121 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
7122 print_double_array(double_array)", "continuing to breakpoint
7123 1018", "print print_double_array(array_d)" and "continuing to
7124 1034" tests.
d63a86f8 7125
085dd6e6
JM
71261999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
7127
7128 * Makefile.in: Add empty html and install-html targets.
7129
71301999-06-24 Stan Shebs <shebs@andros.cygnus.com>
7131
7132 * config/mt-*: Remove, these haven't been used since 1996.
7133
71341999-06-22 Stan Shebs <shebs@andros.cygnus.com>
7135
7136 * gdb.base/call-strs.c, gdb.base/ending-run.c,
7137 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
7138 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
7139
9e0b60a8
JM
71401999-06-18 Stan Shebs <shebs@andros.cygnus.com>
7141
7142 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
7143 simpler match case for the ptype of the big class.
7144
71451999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7146
7147 * gdb.exp: Fix test for gdb_prompt existence.
7148
71491999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7150
7151 * gdb.exp (gdb_test): Add fail after calls to perror.
7152
71531999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7154
7155 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
7156
71571999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7158
7159 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
7160
0f71a2f6
JM
7161Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
7162
7163 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
7164 malloc() is linked in.
7165
71661999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
7167
7168 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
7169 step at end.
7170
7171 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
7172
71731999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
7174
7175 * gdb.java/jv-print.exp: New file. (Our first Java test!)
7176
cce74817
JM
7177Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
7178
7179 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
7180 * gdb.base/mips_pro.exp: Likewise.
7181
71821999-06-02 Keith Seitz <keiths@cygnus.com>
7183
7184 * gdb.c++/templates.cc: Change all "new" operators to throw
7185 an exception.
7186 * gdb.c++/cplusfuncs.cc: Likewise.
7187
7188 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
7189
7190Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
7191
7192 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
7193 * gdb.base/ending-run.exp: When stepping out of main, accept a
7194 step into an arbitrary assembler file.
7195
392a587b
JM
71961999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7197
d63a86f8 7198 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 7199 "breakpoint-invalid" to be printed.
d63a86f8 7200 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
7201 number of "frames-invalid" and "breakpoint-invalid" to be printed.
7202 * gdb.base/annota2.cc: Initialize a.x to 0.
7203
9e086581
JM
72041999-05-17 Keith Seitz <keiths@cygnus.com>
7205
7206 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
7207 when "skip_float_tests" set.
7208 Ditto for "print print_double_array(array_d)", "print print_small_structs",
7209 "print print_ten_doubles", and "step into print_long_arg_list".
7210 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
7211 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
7212 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
7213 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
7214 "skip_float_tests" is set.
7215 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
7216 when "skip_float_tests" set.
d63a86f8 7217
cd0fc7c3
SS
72181999-05-06 Keith Seitz <keiths@cygnus.com>
7219
7220 * gdb.base/annota2.cc: Include stdio.h.
7221
7222Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
7223
7224 * gdb.base/crossload.exp: Remove, this has been disabled ever
7225 since BFD stopped including all targets, and cross-GDB gets
7226 plenty of testing anyway.
7227 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
7228 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
7229 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
7230 * gdb.base/README: Remove, was doc for this.
7231 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
7232 needed.
7233
b83266a0
SS
72341999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7235
7236 * gdb.base/call-ar-st.exp: Fix one regular expression in test
7237 output.
7238
7239 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
7240 * gdb.base/annota2.exp: New file. More annotation tests.
7241 * gdb.base/annota1.c: New file. Source file for annota1.exp.
7242 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
7243
72441999-04-23 Angela Marie Thomas <angela@cygnus.com>
7245
7246 * config/cfdbug.exp: New file.
7247
7a292a7a
SS
72481999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
7249
7250 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
7251 Marcus Daniel's and Dale Hawkins's demangler crashes.
7252
7253 * gdb.c++/demangle.exp (test_gnu_style_demangling,
7254 test_lucid_style_demangling, test_arm_style_demangling,
7255 test_hp_style_demangling): Try Tom Tromey's core-dumping
7256 identifier under each demangling style.
7257
72581999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
7259
7260 * gdb.c++/demangle.exp: Include the current demangling style
7261 in all test names.
7262 (current_demangling_style): New global variable.
7263 (set_demangling_style, test_demangling_core, test_demangling,
7264 test_demangling_exact): New functions.
7265 (test_gnu_style_demangling, test_lucid_style_demangling,
7266 test_arm_style_demangling, test_hp_style_demangling): Use those,
7267 instead of calling gdb_test and gdb_test_exact directly.
7268 (catch_demangling_errors): New function, which reports errors
7269 signalled by the demangling test functions in an orderly way.
7270 (do_tests): Use catch_demangling_errors.
7271
72721999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
7273
7274 * gdb.base/signals.exp (test_handle_all_print): Use () for
7275 grouping in expressions, not {}.
7276
7277 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
7278 initialized yet.
7279
72801999-04-01 Stan Shebs <shebs@andros.cygnus.com>
7281
7282 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
7283 are listed.
7284
72851999-03-26 Stan Shebs <shebs@andros.cygnus.com>
7286
7287 * gdb.stabs/weird.exp: Test for CC being defined before
7288 looking at its value.
7289
72901999-03-25 Stan Shebs <shebs@andros.cygnus.com>
7291
7292 * gdb.base/call-ar-st.exp: Remove stray '#'.
7293 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
7294 "short int" and "long int".
7295 * gdb.c++/overload.cc: Cast the string added in the previous
7296 change, to mollify finicky HP compiler.
7297 * gdb.hp/reg-test.exp (testfile): Fix file name.
7298 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 7299
7a292a7a
SS
7300 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
7301 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
7302 alternate form of enum ptype.
7303
c906108c
SS
73041999-03-23 Stan Shebs <shebs@andros.cygnus.com>
7305
7a292a7a
SS
7306 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
7307 * gdb.hp/*.exp: Change all to run compiler probe only after
7308 passing skip_hp_tests, so as not to waste time on guaranteed
7309 failure.
7310
c906108c
SS
7311 * gdb.c++/overload.cc: Pass string instead of char addr, always
7312 init ccpfoo.
7313 * gdb.c++/templates.cc: Fix syntax error.
7314
7a292a7a
SS
7315Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7316
7317 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 7318 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
7319 command.
7320
73211999-03-18 James Ingham <jingham@cygnus.com>
7322
7323 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
7324
7325 * gdb.c++/method.exp: It was testing an uninitialized int on the
7326 stack and assuming it was positive.
7327
7328 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
7329
7330 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 7331 keep it from killing the rest of the tests.
7a292a7a
SS
7332 Use gdb_continue_to_end.
7333
7334 * gdb.base/sigall.exp: use gdb_continue_to_end.
7335
7336 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
7337
7338 * gdb.base/display.exp: use runto_main, not run.
7339
d63a86f8
RM
7340 * gdb.base/default.exp: Check for the current error message in the
7341 r abbreviation test.
7a292a7a
SS
7342 Add strongarm to the targets that know info float.
7343
d63a86f8 7344 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
7345 run which doesn't work with monitors.
7346
7347 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
7348
7349 * gdb.base/break.exp: use the gdb_continue_to_end proc.
7350
7351 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
7352 program. Traps the case (in Cygmon) when the program never really
7353 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
7354 more places, so I used my name. Sorry Mark...
7355
7356 * config/monitor.exp (gdb_target_monitor): added another
7357 target_info parameter: remotebinarydownload. This will set the
7358 remotebinarydownload flag if this is causing some boards trouble.
7359
73601999-03-18 Mark Salter <msalter@cygnus.com>
7361
7362 * lib/gdb.exp (continue_to_exit): New function.
7363
7364 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
7365 * gdb.base/ending-run.exp: Ditto.
7366 * gdb.base/step-test.exp: Ditto.
7367
73681999-03-16 Stan Shebs <shebs@andros.cygnus.com>
7369
7370 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
7371 (suggested by Art Haas <ahaas@neosoft.com>).
7372
73731999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
7374
7375 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7376
7377Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
7378
7379 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
7380 descriptions of types (short unsigned int vs unsigned short, etc).
7381
73821999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
7383
7384 * gdb.base/call-strs.exp: Don't assume that `step' will step over
7385 a call to strlen; sometimes we do have sources.
7386
73871999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
7388
7389 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
7390 character, so GDB won't print garbage after its end.
d63a86f8 7391
c906108c
SS
7392 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
7393 breakpoint there instead. Sometimes GCC emits memcpy to handle
7394 the large structures being passed by value, so we step into that
7395 instead of sum_array_print, which obscures what we're really testing.
7396 * gdb.base/step-test.exp: However, we do want a test that notices
7397 the bizarre steps into memcpy, so do that here. Add check for
7398 stepping into function calls that pass large structures by value.
7399 ("Is that a noun clause, or are you just happy to see me?")
7400 Remove all references to specific line numbers.
7401 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
7402 New type and function.
7403 (main): Call large_struct_by_value, passing it a large struct by value.
7404 * lib/gdb.exp (gdb_get_line_number): New function.
7405
7406 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
7407 more portable.
7408
7a292a7a
SS
74091999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
7410
c906108c
SS
7411 * lib/gdb.exp: Doc fixes.
7412
7a292a7a
SS
74131999-03-05 Nick Clifton <nickc@cygnus.com>
7414
d63a86f8 7415 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
7416
74171999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
7418
c906108c
SS
7419 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
7420 commands. They're not germane to this test, and they don't work
7421 that way on remote targets.
7422
3fc11d3e
JM
74231999-03-01 James Ingham <jingham@cygnus.com>
7424
7425 * Changelog entries merged over from gdb development branch.
7426
3fc11d3e
JM
7427 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
7428
7429 * lib/gdb.exp (gdbtk_analyze_results): Generic function
7430 for outputting results of test run.
7431
2d4a1622 7432 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
7433
7434 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 7435
7a292a7a
SS
74361999-02-25 Felix Lee <flee@cygnus.com>
7437
7438 * lib/gdb.exp (debug_format): initialize
7439
c906108c
SS
74401999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
7441
7442 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
7443 * gdb.base/call-rt-st.c: Ditto.
7444
c906108c
SS
74451999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
7446
7447 * gdb.threads/pthreads.exp (horiz): New variable.
7448 (test_startup): Fix regexps that capture thread numbers.
7449
74501999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
7451
7452 * gdb.base/smoke.exp: Disambiguate two test case names (both
7453 called ``print'').
7454
7455Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7456
7457 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
7458 compilation.
7459
74601999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7461
7462 * gdb.base/miscexprs.exp: Change patterns to match GDB's
7463 actual output formatting.
7464 * gdb.base/smoke.exp: GDB removes leading 0's.
7465 * gdb.base/volatile.exp: Don't check type of remuneration;
7466 that variable is no longer defined in constvars.c.
7467 * gdb.base/step-test.c (main): Exit with explicit exit code.
7468 * gdb.base/step-test.exp: Remove two nexti checks--they are
7469 not portable.
7470
74711999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7472
7473 * gdb.base/help.exp ("help delete display"): Fix test to match
7474 gdb's output.
7475
7476 * gdb.base/long_long.c (known_types): Initialize values to zero.
7477 * gdb.base/long_long.exp: Step one more line
7478 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 7479 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
7480 unique test case names.
7481
7482Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7483
d63a86f8 7484 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
7485
7486 * gdb.c++/method.exp: Add missing close brace.
7487
74881999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
7489
7490 * gdb.base/maint.exp: Use 'set height 0' to disable page
7491 prompting, not 'set height 400'.
7492
7493 Fix a bunch of timeouts.
7494 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
7495 four separate tests, so expect doesn't take forever to match a ton
7496 of text against a regexp with lots of .* forms.
7497 ("maint print psymbols", "maint print symbols"): Make some of
7498 these greps more selective, so that expect doesn't try to wade
7499 through huge piles of output and time out.
7500
7501 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
7502
7503 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
7504 tests: one which doesn't expect shlib events to be reported, and
7505 another which does, but is XFAIL for all platforms other than
7506 HP/UX.
7507
7508 * gdb.base/break.exp: Teach the test suite that the `catch
7509 fork', `catch vfork', and `catch exec' commands produce error
7510 messages on platforms that don't provide these features.
7511
7512Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7513
7514 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
7515 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
7516 (shortening names from solib_threshold.exp etc), won't run on
7517 anything but HP-UX for the foreseeable future.
7518 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
7519 reflect move.
7520
7521Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
7522
7523 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7524 gdb.trace/Makefile.in (clean): Remove all test executables.
7525
7526Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
7527
7528 * gdb.base/shlib-call.exp: add test cases to verify that gdb
7529 successfully re-sets breakpoints in shared libraries.
7530 * gdb.base/shmain.c (main): return 0, don't fall off the end.
7531
7532Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7533
d63a86f8
RM
7534 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
7535 and compiled w/o GCC.
c906108c
SS
7536
7537 * gdb.hp/watch-cmd.exp: ditto.
7538
7539 * gdb.hp/watch-hp.exp: ditto.
7540
7541 * gdb.hp/xdb1.exp: ditto.
7542
7543 * gdb.hp/xdb2.exp: ditto.
7544
7545 * gdb.hp/dbx.exp: ditto.
7546
7547Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
7548
7549 * constvars.c: Remove C++-isms.
7550 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
7551 with GCC.
7552
7553Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
7554
7555 The following changes are part of the HP merge.
7556
7557 * gdb.base/break.exp: new tests to verify that catchpoints for
7558 fork, vfork, and exec don't trigger inappropriately.
7559
7560 * gdb.base/opaque.exp: compile one file at a time, then link.
7561
7562 * gdb.base/signals.exp: be more restrictive about which hppa
7563 systems receive a setup_xfail. new tests.
7564
7565 * gdb.base/solib_threshold.build: new file.
7566 * gdb.base/solib_threshold.exp: new file.
7567 * gdb.base/solib_threshold.link_opts: new file.
7568 * gdb.base/solib_threshold.mk: new file.
7569 * gdb.base/gen_solib_threshold.c: new file.
7570
7571 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
7572 tests. New tests for enums inside classes.
7573
7574 * gdb.c++/compiler.cc: indicate support of template debugging.
7575
7576 * gdb.c++/demangle.exp: run hp style demangling tests.
7577
7578 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
7579 tests.
7580
7581 * gdb.c++/misc.cc: changes to support new tests.
7582
7583 * gdb.c++/templates.cc: changes to support HP's compiler; changes
7584 to support new tests.
7585
7586 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
7587 gcc, then skip these tests.
7588
7589Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
7590
7591 The following files are part of the HP merge; some had longer
7592 names at HP, but have been renamed to be no more than 14
7593 characters in length.
7594
7595 * gdb.hp/ambiguous.cc: new file.
7596 * gdb.hp/ambiguous.exp: new file.
7597 * gdb.hp/attach.exp: new file.
7598 * gdb.hp/attach2.exp: new file.
7599 * gdb.hp/classes-hp.exp: new file.
7600 * gdb.hp/ctti.exp: new file.
7601 * gdb.hp/ctti-add.cc: new file.
7602 * gdb.hp/ctti-add1.cc: new file.
7603 * gdb.hp/ctti-add2.cc: new file.
7604 * gdb.hp/ctti-add3.cc: new file.
7605 * gdb.hp/dbx.exp: new file.
7606 * gdb.hp/exception.cc: new file.
7607 * gdb.hp/exception.exp: new file.
7608 * gdb.hp/foll-exec.c: new file.
7609 * gdb.hp/foll-exec.exp: new file.
7610 * gdb.hp/foll-fork.c: new file.
7611 * gdb.hp/foll-fork.exp: new file.
7612 * gdb.hp/foll-vfork.c: new file.
7613 * gdb.hp/foll-vfork.exp: new file.
7614 * gdb.hp/inherit-hp.exp: new file.
7615 * gdb.hp/more-steps.exp: new file.
7616 * gdb.hp/namespace.cc: new file.
7617 * gdb.hp/namespace.exp: new file.
7618 * gdb.hp/optimize.exp: new file.
7619 * gdb.hp/pxdb.c: new file.
7620 * gdb.hp/pxdb.exp: new file.
7621 * gdb.hp/quicksort.exp: new file.
7622 * gdb.hp/reg-test.exp: new file.
7623 * gdb.hp/reg-test.s: new file.
7624 * gdb.hp/sized-enum.c: new file.
7625 * gdb.hp/sized-enum.exp: new file.
7626 * gdb.hp/start-stop.exp: new file.
7627 * gdb.hp/templ-hp.cc: new file.
7628 * gdb.hp/templ-hp.exp: new file.
7629 * gdb.hp/thr-lib.c: new file.
7630 * gdb.hp/thr-lib.exp: new file.
7631 * gdb.hp/thr-lib.h: new file.
7632 * gdb.hp/thr-liblib.c: new file.
7633 * gdb.hp/virtfun-hp.c: new file.
7634 * gdb.hp/virtfun-hp.exp: new file.
7635 * gdb.hp/watch-cmd.exp: new file.
7636 * gdb.hp/watch-hp.exp: new file.
7637 * gdb.hp/xdb1.exp: new file.
7638 * gdb.hp/xdb2.exp: new file.
7639 * gdb.hp/xdb3.exp: new file.
7640
7641Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
7642
7643 The following files are part of the HP merge; some had longer
7644 names at HP, but have been renamed to be no more than 14
7645 characters in length.
7646
7647 * gdb.base/ss.h: new file.
7648 * gdb.base/call-ar-st.c: new file.
7649 * gdb.base/call-ar-st.exp: new file.
7650 * gdb.base/call-rt-st.c: new file.
7651 * gdb.base/call-rt-st-exp: new file.
7652 * gdb.base/call-strs.exp: new file.
7653 * gdb.base/ena-dis-br.exp: new file.
7654 * gdb.base/environ.exp: new file.
7655 * gdb.base/long_long.exp: new file.
7656 * gdb.base/sect-cmd.exp: new file.
7657 * gdb.base/shlib-cl2.exp: new file.
7658 * gdb.base/smoke.exp: new file.
7659 * gdb.base/so-impl-ld.c: new file.
7660 * gdb.base/so-impl-ld.exp: new file.
7661 * gdb.base/so-indr-cl.c: new file.
7662 * gdb.base/so-indr-cl.exp: new file.
7663 * gdb.base/varargs.exp: new file.
7664 * gdb.base/volatile.exp: new file.
7665 * gdb.base/whatis-exp.exp: new file.
7a292a7a 7666 * gdb.base/display.exp: new file.
c906108c
SS
7667 * gdb.c++/derivation.exp: new file.
7668 * gdb.c++/local.exp: new file.
7669 * gdb.c++/member-ptr.exp: new file.
7670 * gdb.c++/overload.exp: new file.
7671 * gdb.c++/ovldbreak.exp: new file.
7672 * gdb.c++/ref-types.exp: new file.
7673 * gdb.c++/ref-types2.exp: new file.
7674 * gdb.c++/userdef.exp: new file.
d63a86f8 7675
c906108c
SS
7676Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
7677
7678 * gdb.base/default.exp: Reflect wording change in remote.c.
7679
dc96c6c7 7680Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7681
7682 * gdb.base/help.exp: Update to reflect current text.
7683
7684Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
7685
7686 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
7687 they're stack variables and contain garbage.
7688 * gdb.c++/anon-union.exp: new file.
7689
7690 The following changes were made by David Taylor
7691 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7692 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7693 in changes by HP.
7694
7695 * gdb.base/bitops.exp: new file.
7696 * gdb.base/default.exp: change expected messages for catch and
7697 info catch tests to reflect HP merge changes.
7698 * gdb.base/enable-disable-break.exp
7699 * gdb.base/ending-run.c: new file.
7700 * gdb.base/long_long.c: new file.
7701 * gdb.base/maint.exp: new file.
7702 * gdb.base/pointers2.exp: new file.
7703 * gdb.base/shlib-call2.exp: new file.
7704 * gdb.base/solib.exp: new file.
7705 * gdb.base/step-test.c: new file.
7706 * gdb.c++/anon-union.cc: new file.
7707 * gdb.c++/local.cc: new file.
7708 * gdb.c++/member-pointer.cc: new file.
7709 * gdb.c++/method.cc: new file.
7710 * gdb.c++/ref-types.cc: new file.
7711 * gdb.c++/ref-types2.cc: new file.
7712 * gdb.c++/userdef.cc: new file.
d63a86f8 7713
c906108c
SS
7714 * gdb.base/scope.exp: compile one file at a time, then link.
7715 * gdb.base/langs.exp: ditto.
7716 * gdb.base/list.exp: ditto.
d63a86f8 7717
c906108c
SS
7718Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
7719
7720 The following changes were made by David Taylor
7721 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7722 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7723 in changes by HP.
d63a86f8 7724
c906108c
SS
7725 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
7726 skip tests. When compiling pass c++ flag to gdb_compile.
7727 * gdb.c++/
d63a86f8 7728
c906108c
SS
7729 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
7730 test for on hppa*-*-hpux*; use args to see if c++ was specified.
7731 (skip_hp_tests): new function.
7732 (gdb_preprocess): new function.
7733
7734 * configure.in (hpdir): decide whether to configure gdb.hp.
7735 * configure: regenerated.
7736
7737 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
7738 to delete on clean.
7739 (EXECUTABLES): update to reflect new additions.
7740 * gdb.base/commands.exp: update message expected.
7741 * gdb.base/default.exp: add copyright notice.
7742 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
7743 * gdb.base/help.exp: update messages to reflect current text.
7744 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
7745 targets for recurse tests.
7746 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
7747 skip this file.
7748
7749 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
7750 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
7751 compilation.
7752 * gdb.c++/misc.exp: ditto.
7753 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
7754 run the tests. tell gdb_compile that it's a c++ compilation.
7755
7756 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 7757
c906108c
SS
7758 * gdb.base/all-bin.exp: new file.
7759 * gdb.base/arithmet.exp: new file.
7760 * gdb.base/assign.exp: new file.
7761 * gdb.base/completion.exp: new file.
7762 * gdb.base/cond-expr.exp: new file.
7763 * gdb.base/condbreak.exp: new file.
7764 * gdb.base/define.exp: new file.
7765 * gdb.base/dollar.exp: new file.
7766 * gdb.base/environment.exp: new file.
7767 * gdb.base/eval-skip.exp: new file.
7768 * gdb.base/jump.exp: new file.
7769 * gdb.base/logical.exp: new file.
7770 * gdb.base/pointers.exp: new file.
7771 * gdb.base/relational.exp: new file.
7772 * gdb.base/section_command.exp: new file.
7773 * gdb.base/whatis-expr.exp: new file.
7774
7775 * gdb.base/all-types.c: new file.
7776 * gdb.base/call-array-struct.c: new file.
7777 * gdb.base/call-return-struct.c: new file.
7778 * gdb.base/call-strings.c: new file.
7779 * gdb.base/callfuncs2.c: new file.
7780 * gdb.base/condbreak.c: new file.
7781 * gdb.base/constvars.c: new file.
7782 * gdb.base/display.c: new file.
7783 * gdb.base/int-type.c: new file.
7784 * gdb.base/jump.c: new file.
7785 * gdb.base/miscexprs.c: new file.
7786 * gdb.base/pointers.c: new file.
7787 * gdb.base/pointers2.c: new file.
7788 * gdb.base/shmain.c: new file.
7789 * gdb.base/shr1.c: new file.
7790 * gdb.base/shr2.c: new file.
7791 * gdb.base/solib.c: new file.
7792 * gdb.base/solib1.c: new file.
7793 * gdb.base/solib2.c: new file.
7794 * gdb.base/varargs.c: new file.
7795 * gdb.c++/derivation.cc: new file.
7796 * gdb.c++/overload.cc: new file.
7797 * gdb.c++/ovldbreak.cc: new file.
7798 * gdb.hp/attach.c: new file.
7799 * gdb.hp/attach2.c: new file.
7800 * gdb.hp/average.c: new file.
7801 * gdb.hp/compiler.c: new file.
7802 * gdb.hp/compiler.cc: new file.
7803 * gdb.hp/execd-program.c: new file.
7804 * gdb.hp/follow-exec.c: new file.
7805 * gdb.hp/follow-fork.c: new file.
7806 * gdb.hp/follow-vfork-and-exec.c: new file.
7807 * gdb.hp/misc-hp.cc: new file.
7808 * gdb.hp/more-steps.c: new file.
7809 * gdb.hp/optimize.c: new file.
7810 * gdb.hp/quicksort.c: new file.
7811 * gdb.hp/run-hp.c: new file.
7812 * gdb.hp/start-stop.c: new file.
7813 * gdb.hp/sum.c: new file.
7814 * gdb.hp/templates-hp.cc: new file.
7815 * gdb.hp/thread-local-in-lib.c: new file.
7816 * gdb.hp/thread-local-in-lib.h: new file.
7817 * gdb.hp/thread-local-in-lib.lib.c: new file.
7818 * gdb.hp/vforked-program.c: new file.
7819 * gdb.hp/virtfunc-hp.cc: new file.
7820 * gdb.hp/watchpoint-hp.c: new file.
7821 * gdb.hp/xdb.c: new file.
7822 * gdb.hp/xdb0.c: new file.
7823 * gdb.hp/xdb0.h: new file.
7824 * gdb.hp/xdb1.c: new file.
7825
7826Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
7827
7828 The following change was made by Edith Epstein
7829 <eepstein@cygnus.com> as part of a project to merge in changes
7830 originally made by HP; HP did not create ChangeLog entries.
7831
7832 * gdb.c++/demangle.exp: changed the expected output for some
7833 ARM-style mangling -- removed second reference to datatype.
7834 For example, maint demangle __dt__11T1__pt__2_cFv
7835 T1<char>::~T1<char>(void)
7836 becomes,
7837 maint demangle __dt__11T1__pt__2_cFv
7838 T1<char>::~T1(void)
7839
7840 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 7841
c906108c
SS
7842Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
7843
7844 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
7845 * gdb.trace/backtrace.exp: Likewise.
7846 * gdb.trace/circ.exp: Likewise.
7847 * gdb.trace/collection.exp: Likewise.
7848 * gdb.trace/deltrace.exp: Likewise.
7849 * gdb.trace/infotrace.exp: Likewise.
7850 * gdb.trace/limits.exp: Likewise.
7851 * gdb.trace/packetlen.exp: Likewise.
7852 * gdb.trace/passc-dyn.exp: Likewise.
7853 * gdb.trace/passcount.exp: Likewise.
7854 * gdb.trace/report.exp: Likewise.
7855 * gdb.trace/save-trace.exp: Likewise.
7856 * gdb.trace/tfind.exp: Likewise.
7857 * gdb.trace/tracecmd.exp: Likewise.
7858 * gdb.trace/while-dyn.exp: Likewise.
7859 * gdb.trace/while-stepping.exp: Likewise.
7860
78611998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
7862
7863 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
7864
7865Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
7866
7867 From Brendan Kehoe:
7868 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
7869 int return types.
7870
7871Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
7872
7873 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
7874 remote dos host testing right.
7875
7876Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
7877
7878 * gdb.base/corefile.exp: remove some xfails.
7879
7880Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
7881
7882 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
7883 have different timestamps.
7884
7885Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
7886
7887 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
7888 gdb.base/default.exp: Replace "exec" with "executable".
7889
7890Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
7891
7892 * gdb.base/default.exp: Change else if to elseif from previous
7893 delta.
7894
7895Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
7896
7897 * gdb.base/default.exp: Add brace missing from previous delta.
7898
7899Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
7900
7901 * gdb.base/default.exp: Support test for info float for all
7902 varieties of arm toolchain.
7903
dc96c6c7 7904Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7905
7906 * gdb.trace/*.exp: remove "remote_download" command.
7907
dc96c6c7 7908Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7909
7910 * gdb.trace/*.exp: remove -gdwarf from compile.
7911
7912Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
7913
7914 * gdb.trace/configure.in(AC_INIT): typo
7915 * gdb.trace/configure: regenerated
7916
dc96c6c7 7917Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7918
7919 * config/m68k-emc.exp: New file.
7920 * lib/<emc-support.exp trace-support.exp}: New files.
7921 * configure.in: add new test directory gdb.trace.
7922 * gdb.trace/{configure configure.in Makefile.in}: New files.
7923 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
7924 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
7925 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
7926 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
7927 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
7928 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
7929 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 7930
dc96c6c7 7931Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7932
7933 * gdb.c++/classes.exp: Change all regular expressions to match
7934 arbitrary combinations of newline/carriage-return, so that they
7935 will work equally well on Unix and Windows.
7936 * gdb.c++/inherit.exp: ditto.
7937 * gdb.c++/virtfunc.exp: ditto.
7938
79391998-08-11 Dawn Perchik <dawn@cygnus.com>
7940
7941 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
7942
c2d11a7d
JM
7943Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
7944
7945 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
7946 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
7947 to use a0-a3/d0-d3 as needed.
7948
7949Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
7950
7951 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
7952 * gdb.disasm/am33.exp: Corresponding changes.
7953
c906108c
SS
79541998-07-11 Felix Lee <flee@cygnus.com>
7955
7956 * gdb.base/callfuncs.exp: add cmp10 test.
7957 * gdb.base/callfuncs.c (cmp10): new function.
7958
7959Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
7960
d63a86f8 7961 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
7962 into two parts to get around a synchronization problem in expect.
7963
3fc11d3e
JM
7964Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
7965
7966 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
7967
7968 * configure.in: Add options for gdbtk testsuite.
7969
7970 * configure: Regenerate.
7971
7972 * gdb.gdbtk: New directory to hold gdbtk tests.
7973
c906108c
SS
7974Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
7975
7976 * gdb.fortran/types.exp: Escape brackets in expect patterns
7977 for test_float_literal_types_accepted tests.
7978 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
7979 before run test.
7980
c2d11a7d
JM
7981Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
7982
7983 * am33.exp: Just compile, do not link the testcase.
7984 * am33.s: Add ".am33" pseudoop to force am33 mode.
7985
c906108c
SS
79861998-06-25 Felix Lee <flee@cygnus.com>
7987
7988 * gdb.base/setshow.exp: make sure $pc is sane.
7989
7990 * gdb.stabs/weird.exp: split expect patterns properly.
7991
c2d11a7d
JM
7992Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
7993
7994 * gdb.disasm/am33.s: New disassembler testfile for the am33.
7995 * gdb.disasm/am33.exp: Run it.
7996
dc96c6c7 7997Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7998
7999 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
8000 match processing (and eliminate spurious timeouts when running).
8001
dc96c6c7 8002Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8003
8004 * gdb.base/signals.exp (test_handle_all_print): put back Mach
8005 exception test, but conditionalize it on target [mach | gnu].
8006
dc96c6c7 8007Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8008
8009 * gdb.base/overlays.exp: fixup compile line for linker script.
8010
8011Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
8012
8013 * gdb.fortran/types.exp: don't guess at float size.
8014
8015Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
8016
8017 * gdb.base/exprs.exp: delete test that depends on int size.
8018
8019Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
8020
8021 * config/sim.exp: Removed checks for target triplets.
8022 (gdb_target_sim): Use gdb,target_sim_options.
8023
8024Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
8025
8026 * gdb.base/reread.exp: New file.
8027 * gdb.base/reread1.c: New file.
8028 * gdb.base/reread2.c: New file.
8029
8030Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
8031
8032 * config/sim.exp: Use 'target sim -sparclite' when running
8033 SPARClite programs.
8034
8035Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
8036
8037 * gdb.base/structs2.exp: New file.
8038 * gdb.base/structs2.c: New file.
8039
8040Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
8041
8042 * gdb.asm/common.inc: New file.
8043 * gdb.asm/d10v.inc: New file.
8044 * asm-source.exp: Pass -I's to gas to find .inc files.
8045 Update line numbers in expected output.
8046 * asmsrc1.s: Rewrite.
8047 * asmsrc2.s: Rewrite.
8048 * configure.in: Create arch.inc symlink.
8049 * configure: Regenerate.
8050 * Makefile.in (distclean): Delete arch.inc.
8051
8052Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
8053
8054 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
8055 (t_enum_value2): ditto
8056 (t_enum_value3): ditto
8057 (main): ditto
8058Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8059
8060 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
8061 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
8062 change.
8063 Use gdb_test instead of send_gdb/gdb_expect sequences.
8064
8065Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
8066
8067 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
8068 not void.
8069
8070Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
8071
8072 * gdb.base/branches.c: Code with lots of loops and
8073 subroutines. Used to test gdbs ability to single step through PC
8074 changes, especially to test mips-tdep.c:mips_next_pc
8075
8076Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
8077
8078 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
8079 more rigorous EGCS C++ error checking.
8080
8081Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8082
8083 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 8084 tests.
c906108c 8085 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 8086 function when asleep.
c906108c 8087 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
8088 for i*86 Linux and SVR4 signal handling problems.
8089 Remove linux xfail for `next to handler in signals_tests_1', fixed
8090 by recent infrun.c change.
c906108c 8091 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 8092 stack backtraces.
c906108c
SS
8093 Adjust expect pattern in `handle all print' test to match Apr 28 1997
8094 target.[ch] change.
8095
8096Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
8097
8098 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
8099 for a newline from gdb before continuing.
8100 (default_gdb_exit): Just look for y or n.
8101 (gdb_test): Detect abnormal exit from GDB running on DOS; if
8102 it does, fail the rests of the tests in the file.
8103
8104Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
8105
8106 * config/cygmon.exp: New file.
8107
8108Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
8109
8110 * gdb.base/list.exp: Fix problem with "list default lines around
8111 main" test on remote targets.
8112
8113 * gdb.base/scope.exp: Fix problem with filelocal_bss before
8114 run test on remote targets.
8115
8116Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
8117
8118 * gdb.asm: New directory.
8119 * configure.in: Configure it.
8120 * configure: Regenerate.
8121 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
8122 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
8123
8124Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
8125
8126 * config/mn10300-eval.exp: New file to support MN10300 eval board.
8127
dc96c6c7 8128Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 8129
c906108c
SS
8130 * gdb.base/overlays (several files): Merge the two overlay
8131 managers into one. Change variables (foox, barx, bazx, grbxx)
8132 back into ints but force them to load in their proper sections.
8133
8134Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
8135
8136 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
8137 on-chip insn memory and IMAP1 to upper 128k.
8138 (D10VCopy): Handle memory regions crossing 16k boundaries.
8139 (D10VCopy): Transfer data in 32 bit chunks.
8140
8141Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
8142
8143 * gdb.base/overlays.c (main): Exit normally when result is
8144 correct.
8145
8146 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
8147 map. Include space for printf in .text segment.
8148
8149 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
8150 updated d10v memory VMA/LMA map.
8151 (D10VCopy): Call D10VTranslate.
d63a86f8 8152
c906108c
SS
8153Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
8154
8155 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
8156
8157 * gdb.base/bar.c (barx, bar): Change variable to small array so
8158 that it won't be put into the .sdata - small data -
8159 section. Update reference.
8160 * gdb.base/baz.c (bazx, baz): Ditto.
8161 * gdb.base/foo.c (foox, foo): Ditto.
8162 * gdb.base/grbx.c (grbxx, grbx): Ditto.
8163
8164 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
8165 to be arrays.
d63a86f8 8166
dc96c6c7 8167Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 8168
c906108c
SS
8169 * gdb.base/overlays.exp: fix up and get working again.
8170 Add tests for backtraces from an overlay function.
d63a86f8 8171
c906108c
SS
8172Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
8173
8174 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
8175 "calling function with watchpoint enabled".
8176
8177Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
8178
8179 * gdb.base/break.exp (test_next_with_recursion): Remove
8180 gdb_suppress_tests for d10v-*-*.
8181 * lib/gdb.exp (gdb_suppress_tests): Disable this function
8182 pending review of whether it is useful or not.
8183
8184Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
8185
8186 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
8187
8188Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
8189
8190 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
8191 * config/dve.exp: New file to support Densan boards.
8192
8193Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
8194
8195 * gdb.base/interrupt.exp: Document problem of simulators, signals,
8196 reads and BSD.
8197
8198Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
8199
8200 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
8201 response.
8202
8203 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
8204
8205Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
8206
8207 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
8208 test.
8209
8210 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
8211 target_sizeof_long and target_bigendian_p.
8212 (structs_by_value, structs_by_reference): Check values according
8213 to targets word size and endianess.
d63a86f8 8214
c906108c
SS
8215Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
8216
8217 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
8218 output.
8219
8220Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
8221
8222 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
8223 Update test of set args help to match source change.
8224
8225Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
8226
8227 * gdb.base/default.exp: Expect help system output to be in
8228 alphabetical order.
8229 * gdb.base/help.exp: Ditto.
8230
8231Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
8232
8233 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
8234 "i*86-pc-linux-gnu*".
8235 * gdb.base/interrupt.exp: Ditto.
8236 * gdb.base/corefile.exp: Ditto.
8237
8238 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
8239 define vxworks when building the testcase.
8240
8241 * gdb.base/ptype.exp: Fix testnames to be unique.
8242 * gdb.base/radix.exp: Ditto.
8243 * gdb.base/term.exp: Ditto.
8244 * gdb.base/whatis.exp: Ditto.
8245 * gdb.c++/classes.exp: Ditto.
8246
8247Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
8248
8249 * gdb.base/callfuncs.exp: Fix indentation.
8250
8251 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
8252 suppress_flag has been set.
8253 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
8254 target feature.
8255
8256Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
8257
8258 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
8259 the testcase.
8260
8261 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
8262 set_debug_traps() and breakpoint().
8263 * gdb.c++/misc.cc (main): Ditto.
8264 * gdb.c++/templates.cc (main): Ditto.
8265 * gdb.c++/virtfunc.cc (main): Ditto.
8266
8267Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
8268
8269 * lib/gdb.exp(gdb_step_for_stub): New function.
8270 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
8271 exists, reload the executable and do a "continue" instead of
8272 doing a jump.
8273 (runto_main): Use gdb_step_for_stub.
d63a86f8 8274
c906108c
SS
8275 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
8276 tests to have unique names.
8277 * gdb.base/callfuncs.exp: Ditto.
8278 * gdb.base/commands.exp: Ditto.
8279 * gdb.base/default.exp: Ditto.
8280 * gdb.base/help.exp: Ditto.
8281 * gdb.base/list.exp: Ditto.
8282 * gdb.base/opaque.exp: Ditto.
8283 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
8284 similar tests.
d63a86f8 8285
c906108c
SS
8286 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
8287 * gdb.c++/cplusfuncs.cc: Ditto.
8288 * gdb.c++/virtfunc.cc: Ditto.
8289
8290 * config/monitor.exp: Keep track of the last file we saw, rather
8291 than trying to get the info from gdb.
8292
8293 * gdb.fortran/types.exp: Move comment to previous line.
8294
8295Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
8296
8297 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
8298 target mode.
8299
8300Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
8301
8302 From Bob Manson:
8303 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
8304 string from GDB when it connects.
8305
8306 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
8307
8308Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
8309
8310 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
8311 if we can't get a debug format from GDB (we may be testing an
8312 older GDB). Use a 10 second timeout when checking for the format.
8313
8314 * gdb.stabs/weird.exp: Fix quoting.
8315
8316 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
8317
8318Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
8319
8320 * config/arm-ice.exp: New file.
8321
8322Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
8323
8324 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
8325 until it has been modified to work with the new testsuite.
8326
99707966 8327 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
8328 testcase won't compile, cause all of the testcases in the file to
8329 fail instead.
8330
8331 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
8332 (gdb_clear_suppressed): New procedure.
8333 (gdb_stop_suppressing_tests): Only clear suppress_flag if
8334 it contains a positive value.
8335
8336Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
8337
8338 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
8339
8340 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
8341
8342Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
8343
8344 * lib/gdb.exp (setup_xfail_format): New function.
8345 (get_debug_format): New function to get debug format.
8346 (debug_format): New global variable to hold last value set
8347 by get_debug_format.
8348 * gdb.base/list.exp: Call get_debug_format and expect some
8349 tests to fail for DWARF 1 and COFF formats.
8350 * gdb.c++/ptype.exp: Ditto.
8351 * gdb.c++/classes.exp: Ditto.
8352 * gdb.c++/cplusfuncs.exp: Ditto.
8353 * gdb.c++/inherit.exp: Ditto.
8354 * gdb.c++/templates.exp: Ditto.
8355 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 8356
c906108c
SS
8357Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
8358
8359 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
8360 host doesn't have a currently-open connection.
8361
8362 * config/sparclet.exp: Cleanups and fixes to make it generic for
8363 any gdb stub target. Handle cases where gdb doesn't respond when
8364 interrupted in a sane fashion.
8365
8366 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
8367 same thing in a totally different way.
8368
8369 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
8370 setting "timeout".
8371 (gdb_start): We set the global gdb_prompt variable in
8372 default_gdb_init now.
8373
8374Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
8375
8376 * gdb.base/printcmds.exp: Fix "check for floating addition"
8377 regexp to accept results within approx +/- .01 of exact value.
8378 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
8379
8380Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
8381
8382 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
8383 properly.
8384 (gdb_expect): Add optional timeout parameter, and add timeout
8385 value to various calls.
8386 (gdb_suppress_tests): Only give one warning message per group.
8387
8388Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
8389
8390 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
8391 global variables. Handle getting a value for $timeout more
8392 gracefully.
8393
8394Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8395
8396 * lib/gdb.exp: Close connection to remote host if gdb doesn't
8397 initialize.
8398 (default_gdb_init): New procedure; allow gdb_init to be overridden
8399 by a target configuration file.
8400 (gdb_expect): Pass the timeout to remote_expect.
8401
8402 * config/monitor.exp(gdb_load): Fix typo in regexp.
8403
8404Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
8405
8406 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
8407
8408Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
8409
8410 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
8411 here. Call gdb_target_exec before rebooting the target, to make
8412 sure the connection to the target is closed.
8413 (gdb_load): Pass the name of the executable to gdb_target_monitor.
8414 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
8415 Also detect "Timeout reading from remote" error.
8416
8417 * config/gdbserver.exp: Pass the executable being loaded to
8418 gdb_target_monitor. Don't call gdb_file_cmd here; let
8419 gdb_target_monitor do it.
8420
8421 * gdb.disasm/hppa.exp: Don't use exec_output.
8422
8423Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
8424
8425 * gdb.base/list.exp: If we're debugging a non-native target,
8426 try to set the pc register to point to the start of the
8427 program before doing the first list command.
8428
8429 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
8430 test_calls after restarting.
8431
8432 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
8433 reloading.
8434
8435 * gdb.base/watchpoint.exp: Fix typo.
8436
8437 * gdb.base/setshow.exp: Check for use_gdb_stub.
8438
8439 * gdb.base/break.exp: Fix continue until exit test for the gdb
8440 stub case.
8441 * gdb.base/langs.exp: Ditto.
8442
8443 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
8444 gdb_load_offset. If we weren't given a file to load, figure out
8445 what the current file is and use it.
8446
8447 * config/i386-bozo.exp: New file.
8448
8449Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
8450
8451 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
8452 feature.
8453
8454 * config/proelf.exp: New entry.
8455
8456Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
8457
8458 * lib/gdb.exp: Remove spurious .* patterns at the beginning
8459 of regexps.
8460
8461 * gdb.base/watchpoint.exp: Don't run the test_stepping
8462 tests if gdb can't call functions on the target.
8463
8464 * gdb.base/setshow.exp: Don't run the set prompt tests if
8465 the board has gdb_prompt set.
8466
8467Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
8468
8469 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
8470 * gdb.base/commands.exp: Likewise.
8471 * gdb.base/setshow.exp: Likewise.
8472
8473Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
8474
8475 * config/monitor.exp(gdb_start): Look for gdb_prompt target
8476 feature.
8477
8478 * config/i960.exp: New file.
8479
8480Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
8481
8482 * gdb.base/funcargs.exp: Check for gdb,short_int target
8483 feature instead of looking for explicit target triplets.
8484
dc96c6c7 8485Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 8486
d63a86f8 8487 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
8488 "p 123DEADBEEF", to check parse_number.
8489 * top.c: change "to enable to enable" to "to enable" in a couple
8490 of help strings.
8491
8492Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
8493
8494 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
8495 on the mn10300.
d63a86f8 8496
c906108c
SS
8497Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
8498
8499 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
8500 where the test executable is run with explicit args.
8501 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
8502
8503Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
8504
8505 * gdb.base/run.c: Use FAKEARGV to build test executable that
8506 does not require a command line arg, since most simulators
8507 don't currently support passing such an arg into the simulated
8508 program.
8509 * gdb.base/commands.exp: Change tests to insert the proper
8510 value as the arg to the first recursive factorial call. Change
8511 compilation line to define FAKEARGV at compile time.
8512
8513Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
8514
8515 * gdb.base/recurse.exp: Enable these tests for the mn10300.
8516 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
8517 function with watchpoint enabled" test.
8518
8519Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
8520
8521 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
8522 Don't call gdb_test when the command doesn't return to a gdb prompt.
8523
8524 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
8525 "Tests restarted" messages.
8526
8527Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
8528
8529 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
8530
dc96c6c7 8531Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8532
8533 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
8534 for INFO SYMBOL; add help tests for OVERLAY commands.
8535 * gdb.base/default.exp: add tests for INFO SYMBOL command;
8536 add tests for OVERLAY commands
8537 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
8538 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
8539 * gdb.base/sigall.c: add usestubs code frag
8540 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 8541
c906108c
SS
8542Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
8543
8544 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
8545 failures.
8546 (gdb_stop_suppressing_tests): Note that tests have restarted.
8547
8548Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
8549
8550 * config/h8300.exp: New file.
8551
8552Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
8553
8554 * gdb.base/setshow.exp: Check for the existence of a
8555 feature, not its value.
8556
8557Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
8558
8559 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
8560
8561 * gdb.base/scope.exp: It's now init0(), not init().
8562
8563 * gdb.base/scope0.c: For now, change init() to be init0().
8564
8565 * config/monitor.exp: Use gdb_serial in preference to serial
8566 or netport.
8567
8568 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
8569 and it's not already set.
8570
8571Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
8572
8573 * gdb.base/setshow.exp: Only test the run command if the target
8574 isn't using a stub and if it supports argument passing.
8575
8576Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
8577
8578 * config/udi.exp(gdb_start): Make sure UDICONF is set
8579 properly before starting gdb.
8580
8581Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
8582
8583 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
8584 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
8585 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
8586
8587Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
8588
8589 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
8590 specialized code to reboot the board, use remote_reboot instead.
8591
8592 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
8593
8594 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
8595
8596 * config/monitor.exp: Make sure we disconnect from the target.
8597 Also, try a reboot/reload cycle instead of failing if the
8598 load fails.
8599
8600Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
8601
8602 * gdb.base/default.exp: Don't set match_max.
8603 * gdb.base/help.exp: Ditto.
8604 * gdb.base/list.exp: Ditto.
8605 * gdb.base/signals.exp: Ditto.
8606
8607 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
8608 set, use remote_ld to download the testcase instead of
8609 the GDB loader.
8610
8611Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
8612
8613 * config/vr5000.exp: New file.
8614
8615 * config/monitor.exp(gdb_target_monitor): Add pattern for
8616 "Ending remote" to detect errors in connecting.
8617
8618 * gdb.base/setshow.exp: Add .* within auto language test.
8619
8620 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
8621 target feature.
8622
8623 * config/monitor.exp(gdb_load): Check for a failure when loading,
8624 and reboot the board if necessary.
8625
8626 * gdb.base/setvar.exp(test_set): Handle multiple prints within
8627 a set of tests. Remove print.* from the patterns being checked.
8628
8629Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
8630
8631 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
8632 refer to gdb_spawn_id.
8633
8634 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
8635 longer used.
8636 * config/sparclet.exp: Ditto.
8637 * config/sparclet-old.exp: Ditto.
8638 * config/slite.exp: Ditto.
8639 * config/sim.exp: Ditto.
8640 * gdb.base/funcargs.exp: Ditto.
8641
8642 * lib/gdb.exp:Remove references to gdb_spawn_id.
8643 (gdb_expect): Move to remote.exp.
8644
8645Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
8646
8647 * config/monitor.exp: Detect the "Couldn't establish connection"
8648 message from GDB.
8649
8650Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
8651
8652 * gdb.base/bitfields.exp: Use runto instead of explicit
8653 gdb_run_cmd/gdb_expect sequences.
8654
8655 * gdb.base/break.exp(text_next_with_recursion): Add match for
8656 gdb_expect call.
8657
8658 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
8659 We also need to handle the "A program is being debugged already"
8660 prompt from gdb. Use gdb_test to set the baud rate.
8661
8662 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
8663 to 20000. Really. I mean it.
8664
8665Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8666
8667 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
8668 fails. If suppress_flag is set, skip perror message about not
8669 being able to send to GDB.
8670 (send_gdb): If suppress_flag is set, don't try to send commands to
8671 GDB.
8672 (gdb_expect): If suppress_flag is set, always fail immediately.
8673 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
8674 (gdb_init): Call gdb_stop_suppressing_tests.
8675 (default_gdb_exit): Ditto.
8676 (default_gdb_start): Ditto.
8677
8678 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
8679 gdb_stop_suppressing_tests as appropriate.
8680 * gdb.base/break.exp: Ditto.
8681 * gdb.base/callfuncs.exp: Ditto.
8682 * gdb.base/commands.exp: Ditto.
8683 * gdb.base/exprs.exp: Ditto.
8684 * gdb.base/funcargs.exp: Ditto.
8685 * gdb.base/list.exp: Ditto.
8686 * gdb.base/recurse.exp: Ditto.
8687 * gdb.base/scope.exp: Ditto.
8688 * gdb.base/structs.exp: Ditto.
8689 * gdb.c++/inherit.exp: Ditto.
8690
8691Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
8692
8693 * config/vr4300.exp: New file.
8694
99707966 8695 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 8696
99707966 8697 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
8698
8699Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
8700
8701 * lib/gdb.exp(gdb_init): New function.
8702
8703 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
8704 for each individual variable set.
8705
8706 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
8707 name.
8708
8709 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
8710
8711 * gdb.base/scope.exp: Use gdb_test.
8712
8713 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
8714 aborting; the testsuite driver will do that for us (see
8715 gdb_finish). Also, use gdb_test in a few more places.
8716
8717Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
8718
8719 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
8720
8721Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
8722
8723 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
8724 and "add_tests" are not at the same address.
8725
8726Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
8727
8728 * gdb.base/ptype.exp: Use gdb_test.
8729
8730Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
8731
8732 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
8733 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
8734 left in. No longer expect them to fail.
8735
8736 * gdb.stabs/*.mt; Deleted, no longer used.
8737 * gdb.stabs/configure.in: Remove references to target makefile
8738 frags.
8739 * gdb.stabs/configure: Rebuilt.
8740
8741 * gdb.disasm/*.mt: Deleted, no longer used.
8742 * gdb.disasm/configure.in: Remove references to target makefile
8743 frags. Use "sh3.s" as the unique filename for this directory.
8744 * gdb.disasm/configure: Rebuilt.
8745
8746 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
8747 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
8748 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
8749
8750Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
8751
8752 * config/udi.exp: Use mondfe,name instead of remote_host.
8753
8754Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
8755
8756 * gdb.base/watchpoint.exp: Don't expect a failure when calling
8757 a function with a watchpoint enabled on the mn10200.
8758
8759 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
8760 before trying to create it!
8761
8762Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
8763
8764 * config/vx.exp: Use hostname instead of netport.
8765
8766 * config/vxworks.exp: New file.
8767
8768 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
8769
8770 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
8771 gdb before assuming everything worked. Send a ^C if a timeout
8772 occurs.
8773
8774 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
8775 $gdb_spawn_id directly.
8776 (gdb_run_cmd): Try _start as well as start. Use the target feature
8777 gdb,start_symbol as the symbol to start from when jumping.
8778
8779Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
8780
8781 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
8782 redundant) test.
8783
8784 * gdb.base/recurse.exp: Relax final value test for 'b' so that
8785 it doesn't lose for 16bit integer systems.
8786
8787Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
8788
8789 * gdb.fortran/types.exp: If the target doesn't support "double"
8790 data types, then expect "real" types to only be 4 bytes.
8791
8792 * gdb.c++/virtfunc.exp: Expect failure for virtual function
8793 call tests if the target doesn't support inferior function calls.
8794
8795 * gdb.base/printcmds.exp: Allow minor deviation in FP values
8796 in printf tests.
8797
8798Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
8799
8800 * gdb.base/help.exp: Disable "help set", "help show", and
8801 "help support". Simplify regexp for "help stack".
8802
8803 * gdb.base/default.exp: Set match_max to 5000 and the timeout
8804 to 60 seconds. Temporarily set match_max to 15000 around the
8805 "info copying" test.
8806
8807 * gdb.base/nodebug.exp: Don't try to do an inferior function
8808 call if the target doesn't support them.
8809 * gdb.base/printcmds.exp: Likewise.
8810 * gdb.base/setvar.exp: Likewise.
8811 * gdb.base/structs.exp: Likewise.
8812 * gdb.c++/templates.exp: Likewise.
8813 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
8814
8815 * gdb.base/recurse.exp: Enable for the mn10200.
8816
8817 * configure.in: Do configure gdb.stabs directory for *-*-elf
8818 targets.
8819 * configure: Rebuilt.
8820
8821 * gdb.base/break.exp: Check for gdb,noresults before testing
8822 exit status and/or results from the target.
8823 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
8824 * lib/gdb.exp: Remove old (now bogus) initialization of
8825 noinferior, noargs, noresults and nosignals.
8826
8827Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
8828
8829 * config/sh.exp: New file.
8830
8831 * config/slite.exp: Try to connect multiple times to the board
8832 before rebooting. Only send a "monitor run" if need_monitor_run
8833 is set.
8834
8835 * gdb.base/break.exp: Don't do the "stub continue" test if
8836 the target has gdb_stub set.
8837
8838 * gdb.base/callfuncs.exp: Increase the timeout.
8839
8840 * gdb.base/interrupt.exp: Don't even try to compile the testcase
8841 if the target has gdb,noinferiorio set.
8842
8843 * gdb.base/list.exp: Increase match_max to 10000 characters.
8844
8845 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
8846
8847 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
8848 target.
8849
8850 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
8851
8852Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
8853
8854 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
8855 trying to delete the copy of gdb. Catch the file delete so we
8856 don't die if the delete fails; also, the file should be copied to
8857 the host, not to the build.
8858
8859Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
8860
8861 * lib/gdb.exp(gdb_test): Surround the result pattern with
8862 parenthesis in case it contains multiple regexps separated
8863 with |.
8864
8865 * gdb.base/watchpoint.exp: Use gdb_test.
8866 * gdb.base/default.exp: Ditto.
8867
8868Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
8869
99707966 8870 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 8871
c906108c
SS
8872 * gdb.base/scope.exp: Use gdb_test.
8873 * gdb.c++/classes.exp: Ditto.
8874 * gdb.c++/inherit.exp: Ditto.
8875
8876Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
8877
8878 * gdb.base/crossload.exp: Don't use execute_anywhere, use
8879 remote_exec instead.
8880 * gdb.base/corefile.exp: Don't be ridiculous.
8881 * gdb.base/*.c: Add missing stub invocations.
8882
8883Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
8884
8885 * config/slite.exp: Miscellaneous fixes.
8886
8887 * lib/gdb.exp: Fix runto.
8888
8889 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
8890 the target.
8891
8892 * gdb.base/watchpoint.exp: Fix regexp.
8893
8894 * lib/gdb.exp(default_gdb_exit): Add a catch to the
8895 close and wait commands, as the descriptor may now be
8896 invalid. Always call "remote_close host".
8897
8898Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
8899
8900 Major rewrite for testsuite revision.
d63a86f8 8901
c906108c
SS
8902 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
8903 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
8904 instead of relying on spawn_id to always contain a valid
8905 spawn id.
8906 (get_compiler_info): New procedure to build the ${binfile}.ci
8907 file, instead of replicating this in N different places.
8908 (gdb_compile): New procedure.
d63a86f8 8909
c906108c
SS
8910 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
8911 appropriate arguments) instead of compile. Use gdb_test in a lot
8912 more places. Use send_gdb instead of send. Always run gdb_start
8913 at the start of a testcase, as this is no longer done magically.
8914
8915 config/*-gdb.exp: Rename without the -gdb suffix.
8916
8917 config/mips.exp: Use remote_close instead of exit_remote_shell.
8918 config/monitor.exp: Use target_info instead of looking at
8919 baud, timeout, etc.
8920 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
8921
8922Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8923
8924 * gdb.c++/templates.exp (test_ptype_of_templates),
8925 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
8926 Update expect patterns for destructors and assignment operators
8927 to match corresponding c-typeprint.c changes.
8928 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
8929 to destructor breakpoint test, GDB should be able to set the
8930 destructor breakpoint without specifying arguments.
8931
8932Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
8933
8934 * gdb.threads/pthreads.exp: Change result for failure to compile due
8935 to lack of pthreads runtime support from an error to simply an
8936 unsupported test, per dejagnu standards.
8937
8938Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8939
8940 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
8941 where GDB exits to reduce pattern match time.
8942 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
8943
8944 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
8945
dc96c6c7 8946Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8947
8948 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
8949 * gdb.base/default.exp: ditto.
8950 * gdb.base/nodebug.exp: ditto.
8951 * gdb.base/printcmds.exp: ditto.
8952 * gdb.base/ptype.exp: ditto.
8953 * gdb.base/setvar.exp: ditto.
8954 * gdb.base/structs.exp: ditto.
8955 * gdb.base/setshow.c: Guard against uninitialized values of argc.
8956
8957Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
8958
8959 * configure, */configure: Rebuild with autoconf 2.12.
8960
8961Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
8962
8963 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
8964 use new i*86-pc-linux*-gnu quads.
8965 * gdb.base/corefile.exp: Ditto.
8966 * gdb.base/signals.exp: Ditto.
8967 * gdb.base/sigall.exp: Ditto.
8968 * gdb.base/interrupt.exp: Ditto.
8969
8970 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
8971 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
8972 RedHat 4.0.
d63a86f8 8973
c906108c
SS
8974 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
8975 linux. This allows the test case to at least compile on latest
8976 linux, but still not run due to missing the threads runtime library.
8977
8978Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8979
8980 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
8981 directory to search gdb directory. Accept and step over conditional
8982 stack alignment code. Consume $prompt in failure cases.
8983 Reset timeout to $oldtimeout instead of some arbitrary value.
8984 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
8985 timeout problems with infinite stack backtraces.
8986 * gdb.base/ptype.exp (ptype struct link, union tu_link):
8987 Accept function parameters for linkfunc member.
8988
8989Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
8990
8991 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
8992 (CXXFLAGS): Remove, unreferenced.
8993 (B_OPTIONS): Add for -B options and add code to initialize with
8994 previous -B options and also add -B option to pick up cross compiled
8995 runtime.
8996 (TARGET_INCLUDES): Add for -I options and add code to initialize when
8997 doing cross compiles.
8998 (target_alias): Declare global.
8999 (xgcc): Set variable to full path of gcc in build tree. Use findfile
9000 to verify that gcc exists in build tree, and if so set CC to that
9001 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 9002
c906108c
SS
9003Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
9004
9005 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
9006 ptype test for anonymous union. Fixup testcase to match
9007 current gcc debug output.
9008
9009Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
9010
9011 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
9012 force argument to an unsigned long type.
9013
9014Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
9015
9016 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
9017 tests and anonymous union print/ptype tests.
9018 * gdb.base/list.exp (test_forward-search): Increase timeout by
9019 5 minutes for the "search extremely long line" case.
9020 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
9021 completely optional and that the pass/fail messages use the command as
9022 the message if that third arg is a null string.
9023 (gdb_test_exact): Arrange that a null string pattern means match a
9024 null string output rather than any output, which might include random
9025 errors.
9026 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
9027 backtrace test.
9028 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
9029 always failing and failure is now exposed by gdb.exp changes.
9030
9031Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
9032
9033 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
9034 weren't being noted.
9035
9036Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9037
9038 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
9039 * gdb.stabs/weird.exp: Remove v_comb xfails.
9040
dc96c6c7 9041Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9042
9043 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
9044 list.exp scope.exp watchpoint.exp]
9045 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 9046
dc96c6c7 9047Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9048
9049 * config/monitor.exp: Increase download timeout to 1000 seconds.
9050
dc96c6c7 9051Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9052
9053 * config/m32r.exp: Increase timeout to 120 seconds.
9054
9055Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
9056
9057 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
9058 and accept older ordering as obsolescent gcc or gdb.
9059 * gdb.c++/templates.exp: Ditto.
9060 * gdb.c++/virtfunc.exp: Ditto.
9061
9062Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
9063
9064 * gdb.base/coremaker.c: Add code to mmap some data so we
9065 can check that it ends up in the core file.
9066 * gdb.base/corefile.exp: Add test to read mmapped data
9067 from core file.
9068
dc96c6c7 9069Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9070
9071 * config/m32r.exp: New file.
9072
9073Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
9074
9075 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
9076 that cflags can contains -gstabs, and work correctly for other tests.
9077
dc96c6c7 9078Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9079
9080 * gdb.base/setshow.exp: New file, tests show and set.
9081 * gdb.base/setshow.c: New file, tests show and set.
9082 * gdb.base/help.exp: Add test for help set|show annotate.
9083 * gdb.base/default.exp: Add test for set|show annotate.
9084
9085Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
9086
9087 * testsuite/gdb.base/break.exp: Make backtrace from factorial
9088 errors unique.
9089 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
9090 explicitly.
9091
9092Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
9093
9094 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
9095 and width commands. This is done elsewhere.
9096 * (gdb_start): Don't call gdb_start_sim here. That's already
9097 done in gdb_load. This fixes lots of failures in default.exp.
9098
9099Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
9100
9101 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
9102 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
9103 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
9104 in the same we we treat other failures (since it may be an expected
9105 condition), rather than as an error.
9106 * gdb.base/signals.exp (test_handle_all_print): Revert back to
9107 old test format.
9108
9109Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
9110
9111 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
9112 (distclean maintainer-clean realclean): No need to remove files
9113 twice. Nuke the duplicates.
9114 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 9115 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
9116 Remove config.h along with other config files.
9117
9118Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
9119
9120 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
9121 "p func1 ()" and note that rests of tests are skipped.
9122 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
9123 setup_xfails for "print func2::coremaker_local".
9124 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
9125 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
9126 affected by the previous run test.
9127 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
9128 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
9129 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
9130 "pass int powerset tuple" and "pass modeless int powerset tuple".
9131 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
9132 "real write 4" and "real write 8".
9133 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
9134 setup_xfails for "print vs1 after tuple assign 2",
9135 "print \$i after tuple assign 2", and
9136 "print vs2 after tuple assign 2".
9137 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
9138 meaningful error message and return -1 so the caller can
9139 suppress further tests and avoid a cascade of errors.
d63a86f8 9140
c906108c
SS
9141Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
9142
9143 * gdb.base/a1-selftest.exp: Tweak tests to account for new
9144 format for printing version.
9145 * gdb.base/default.exp: Ditto.
9146 * gdb.base/interrupt.exp: Fix problem with cascade of
9147 errors if child process dies while calling a function.
d63a86f8 9148
c906108c
SS
9149Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
9150
9151 * Makefile.in (VPATH): Add
9152 * Makefile.in (Makefile, config.status): Fix rules so things get
9153 remade when necessary.
9154
9155Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
9156
9157 * Makefile.in (just-check): Add path to sibling expect dir
9158 to environment variable specified by RPATH_ENVVAR.
9159
9160Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
9161
9162 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
9163 (just-check): Add shared library paths for libstdc++, tk,
9164 tcl, bfd, and opcodes to the environment variable specified
9165 in RPATH_ENVVAR.
9166 * configure.in: Add support to recognize --enable-shared flag
9167 and generate correct value for RPATH_ENVVAR.
9168 * configure: Regenerated with autoconf.
9169
9170Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
9171
9172 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
9173 include all osf versions.
9174 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
9175 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
9176 when target is linux. When failing to build pthreads test
9177 executable, give more meaningful message.
9178 * gdb.threads/pthreads.c: Hpux also uses old definition of second
9179 arg for pthread_create.
d63a86f8 9180
c906108c
SS
9181Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
9182
9183 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
9184 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
9185 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
9186 and -lpthreads (everybody else).
9187 (test_startup): Fail gracefully if threads are not supported.
9188 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
9189 "p/c array_index("abcdef",2)" when not gcc compiled.
9190 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
9191 "print func2::coremaker_local" when not gcc compiled.
9192 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
9193 "ptype on opaque struct tagname (statically)",
9194 "ptype on opaque struct tagname (dynamically) 1", and
9195 "ptype on opaque struct tagname (dynamically) 2"
9196 for not compiled with gcc.
9197 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
9198 backtrace when compiled with gcc.
d63a86f8 9199 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
9200 than always return success.
9201
9202Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
9203
9204 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
9205
9206Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
9207
9208 * gdb.base/structs.exp: Undo last change.
9209
9210Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
9211
9212 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
9213 encapsulate all the steps/nexts done during self test, starting
9214 at main, and makes them less sensitive to optimization issues.
9215 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
9216 signal handler" test.
9217 * gdb.threads/pthreads.exp: Only run this for native configs.
9218 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
9219 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
9220 tests.
9221 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
9222 for "runto test_calls(void)" test.
d63a86f8 9223
c906108c
SS
9224Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
9225
9226 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
9227 and don't expect address info in breakpoint confirmations.
9228
9229Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
9230
9231 * gdb.base/list.exp (test_forward_search): Increase timeout
9232 temporarily by 60 seconds for searching extremely long line,
9233 and then reset to old value when done. Increase expect input
9234 buffer to 10000.
9235
9236Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
9237
9238 * gdb.base/list.exp (test_forward_search): Fix to handle very
9239 long source line without overflowing expect's input buffer.
9240
9241Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
9242
9243 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
9244 "buffer_full".
9245
9246 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
9247 "buffer_full".
9248
9249 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
9250 "buffer_full".
9251
9252 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
9253 "buffer_full".
9254
9255Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
9256
9257 * configure.in (configdirs): Add gdb.threads.
9258 * configure: Regenerated with autoconf.
9259 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
9260 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
9261 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 9262
c906108c
SS
9263Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
9264
9265 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
9266
9267Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
9268
9269 * gdb.base/signals.exp (test_handle_all_print): Test separately for
9270 each signal's status in the output of "handle all print".
9271 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
9272 the \r\n sequence that immediately precedes the gdb prompt.
9273 * gdb.base/a1-selftest.exp: Save original timeout and restore
9274 after test.
9275
9276Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
9277
9278 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
9279 symbol.
9280
9281Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
9282
9283 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
9284
9285Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
9286
9287 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
9288 timeout by 60 seconds.
9289
9290Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
9291
9292 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
9293 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
9294 error return.
9295
9296Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
9297
9298 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
9299 gdb initialization, also report how long dejagnu waited. Restore
9300 old timeout before doing error return. Temporarily increase timeout
9301 by 3 minutes to allow for slow startups over heavy NFS use.
9302
9303Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
9304
9305 * lib/gdb.exp: Report timeout value for verbosity level 2.
9306 * config/gdbserver.exp: Ditto.
9307 * config/hppro.exp: Ditto.
9308 * config/mips-gdb.exp: Ditto.
9309 * config/monitor.exp: Ditto.
9310 * config/netware.exp: Ditto.
9311 * config/sim-gdb.exp: Ditto.
9312 * config/slite-gdb.exp: Ditto.
9313 * config/udi-gdb.exp: Ditto.
9314 * config/unix-gdb.exp: Ditto.
9315 * config/vx-gdb.exp: Ditto.
9316 * gdb.base/a1-selftest.exp: Ditto.
9317 * gdb.base/a2-run.exp: Ditto.
9318 * gdb.base/break.exp: Ditto.
9319 * gdb.base/corefile.exp: Ditto.
9320 * gdb.base/list.exp: Ditto.
9321 * gdb.base/recurse.exp: Ditto.
9322 * gdb.base/scope.exp: Ditto.
9323 * gdb.base/signals.exp: Ditto.
9324
9325Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9326
9327 * gdb.threads/Makefile.in (docdir): Removed.
9328
9329Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9330
9331 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 9332 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 9333 @srcdir@.
d63a86f8 9334 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
9335 autoconf 2.5 or higher.
9336 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
9337
9338Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
9339
9340 * configure: Regenerated.
9341 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
9342 avoid name clashes with SunOS headers.
9343
9344Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
9345
9346 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
9347
9348Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
9349
9350 * gdb.base/callfuncs.exp: Finish last change -- make sure the
9351 prototype information ends up in the compiler info file.
9352
9353Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
9354
9355 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
9356 attempting to regenerate it. Eliminate use of a temporary file
9357 and just generate the info file directly. Source it immediately,
9358 for consistency of use.
9359 * gdb.base/corefile.exp: Ditto
9360 * gdb.base/exprs.exp: Ditto.
9361 * gdb.base/funcargs.exp: Ditto.
9362 * gdb.base/langs.exp: Ditto.
9363 * gdb.base/list.exp: Ditto.
9364 * gdb.base/mips_pro.exp: Ditto.
9365 * gdb.base/nodebug.exp: Ditto.
9366 * gdb.base/opaque.exp: Ditto.
9367 * gdb.base/ptype.exp: Ditto.
9368 * gdb.base/scope.exp: Ditto.
9369 * gdb.base/setvar.exp: Ditto.
9370 * gdb.base/signals.exp: Ditto.
9371 * gdb.base/whatis.exp: Ditto.
9372 * gdb.c++/templates.exp: Ditto.
9373 * gdb.c++/virtfunc.exp: Ditto.
9374 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
9375 whether or not to add -lstdc++ to the compile command line args.
9376
9377Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9378
9379 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
9380 it got fixed by the recent lookup_minimal_symbol_by_pc change.
9381 Increase timeout, a lot of single stepping might be needed if the
9382 target has no hardware watchpoints.
9383
9384Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
9385
9386 * gdb.base/break.exp: Ignore compiler warnings when compiling
9387 break.c.
9388 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
9389 * gdb.base/default.exp: Add h8300 xfails. Handle messages
9390 from remote-sim.
9391 * gdb.base/exprs.exp: Add h8300 xfails.
9392 * gdb.base/funcargs.exp: Likewise.
9393 * gdb.base/nodebug.exp: Likewise.
9394 * gdb.base/printcmds.exp: Likewise.
9395 * gdb.base/ptype.exp: Likewise.
9396 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
9397 h8300 xfails.
d63a86f8 9398 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
9399 on the h8300.
9400 * gdb.base/funcargs.c: Explicitly make last constant argument to
9401 call_after_alloca_subr an unsigned long type.
9402 * gdb.base/return.c: Include stdio.h.
9403
9404Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
9405
9406 * config/abug.exp: New file for the older Motorola Bug monitor
9407 that runs on the mvme13x series VME boards.
9408 * config/monitor.exp: Use the new config array for target settings
9409 if they exist.
9410
9411Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
9412
9413 * sim-gdb.exp: Make the SH simulator allocate less space when
9414 it is targeted.
9415
9416Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
9417
9418 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
9419 test.
9420
9421Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
9422
9423 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
9424 "rs6000-*-*" for "list function in include file" when gcc compiled.
9425 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
9426 for "p ctable1[120]".
9427 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
9428 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
9429 Remove setup_xfail for "rs6000-*-*" for
9430 "print 'scope0.c'::filelocal before run".
9431 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
9432 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
9433 since some compilers don't allow both options to be given
9434 on the same command line. Create object file and move it.
d63a86f8 9435
c906108c
SS
9436Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
9437
9438 * gdb.base/corefile.exp: Always regenerate the core file, since
9439 we always regenerate the coremaker program. Detect special case
9440 where registers cannot be read from core file.
d63a86f8 9441
c906108c
SS
9442Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
9443
9444 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
9445 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
9446 * gdb.c++/templates.exp: Only match on basename of file since
9447 some formats like xcoff don't encode directory information.
9448 * gdb.stabs/weird.exp: Use the right sed script for powerpc
9449 and rs6000 AIX xcoff targets.
9450 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
9451 * configure: Regenerate.
9452 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
9453 here, rather than in distclean.
d63a86f8 9454
c906108c
SS
9455Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
9456
9457 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
9458 defined, and use it to compile the test case with -O2. The
9459 native compilation still uses no optimization.
9460 * gdb.base/mips_pro.c: Remove inline assembly code since
9461 it is compiled PIC by default, which results in assembler
9462 warnings that make the testsuite think the compilation
9463 was unsuccessful.
9464
9465Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
9466
9467 * gdb.c++/misc.exp: Add note to message for
9468 "print s.a for foo struct" that this is a known gcc 2.7.2
9469 and earlier bug.
9470
9471Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
9472
9473 * gdb.base/break.exp: Fix pattern for matching "Delete all
9474 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
9475 setup_xfail for deleting all breakpoints test. Fix various
9476 timeout messages to include "(timeout)".
9477 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
9478 for "p t_float_values2(3.14159,float_val2)".
9479 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
9480 for "continue to call2g" when gcc compiled.
9481 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
9482 "up to foo in langs.exp", "show language at foo in langs.exp",
9483 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
9484 and "show language at fsub in langs.exp".
9485 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
9486 "list line 1 in include file", "list message for lines past EOF",
9487 "list function in include file", "list list0.h:foo", and
9488 "list filename:function; nonexistant function".
9489 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
9490 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
9491 and "ptype t_char_array" to be for native cc only.
d63a86f8 9492
c906108c
SS
9493Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
9494
d63a86f8 9495 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
9496 setup_xfail for "print coremaker_bss", "print coremaker_ro",
9497 "print func2::coremaker_local", and "backtrace in corefile.exp".
9498
9499Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
9500
9501 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
9502 "bt in signals.exp". This problem only appears when running
9503 the testsuite, and then only intermittently.
9504
9505Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
9506
9507 * gdb.base/return.exp (return_tests): Differentiate between
9508 two tests of continuing.
9509
9510Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
9511
9512 * */Makefile.in (maintainer-clean): Remove config.log.
9513 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
9514 * gdb.c++/Makefile.in (PROGS): Add inherit.
9515 (clean): Remove *.ci.
9516
9517Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
9518
9519 * gdb.c++/misc.cc: Add test code from Mike Stump.
9520 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
9521
9522Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
9523
9524 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
9525 to "alpha-*-osf2*" and add comment.
9526 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
9527 setup_xfail for "step over execarg initialization" and
9528 "step over corearg initialization".
9529 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
9530 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
9531 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
9532 gcc compiled for "print coremaker_bss", "print coremaker_ro",
9533 "print func2::coremaker_local", and "backtrace in corefile.exp".
9534 * gdb.base/signals.exp: Build and source signals.ci.
9535 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
9536 to be for gcc only.
9537 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 9538
c906108c
SS
9539Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9540
9541 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
9542 Feb 3 procfs.c change.
9543
9544Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
9545
9546 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
9547
9548Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
9549
9550 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
9551 from dejagnu's apparent default of 10 seconds, which gives random
9552 results when running the tests over NFS on moderately loaded systems.
9553 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
9554
9555Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
9556
9557 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
9558 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
9559 result reports.
9560
9561Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
9562
9563 * configure.in (CY_AC_PATH_TCLH): Remove.
9564 * configure: Regenerate.
9565
9566Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
9567
9568 * gdb.c++/Makefile.in (clean): Add missing '{'.
9569
9570Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
9571
9572 * lib/gdb.exp: Provide a default value for noinferior.
9573
9574 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
9575 Load libgloss.exp.
9576
9577Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
9578
9579 * gdb.disasm/hppa.exp: Compile directly into an executable, use
9580 the executable, not the .o to run the tests from.
9581
9582Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
9583
9584 * gdb.base/break.exp: Don't test for program exit or exit status
9585 if $noresults if nonzero.
9586 * gdb.base/langs.exp: Likewise.
9587 * gdb.base/watchpoint.exp: Likewise.
9588
9589 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
9590 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
9591 trying to compile the testcase.
9592
9593Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
9594
9595 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
9596 * gdb.base/signals.exp (continue to handler): Likewise.
9597
9598Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
9599
9600 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
9601
9602 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
9603
9604Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
9605
9606 * gdb.base/corefile.exp: Recognize "not found" as failure
9607 when trying to determine if a core file was generated.
9608 If no core file was generate the first time, try again without
9609 the ulimit -c to work around braindamaged shells.
9610
9611Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
9612
9613 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
9614 [] tests with "test" and enclose string in quotes.
9615 * gdb.stabs/configure: Rebuild
d63a86f8 9616
c906108c
SS
9617Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
9618
9619 Changes in sync with expect:
9620 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
9621 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
9622 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
9623 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
9624 argument to AC_REQUIRE.
9625 * configure: Regenerated.
9626
9627Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
9628
9629 * gdb.base/corefile.exp: When generating a core, discard any
9630 error messages about ulimit not found and the "core dumped"
9631 message from the shell that runs the coredumper.
9632
9633Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
9634
9635 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
9636
9637 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
9638 which sed script to run. Expect failure for v_comb test
9639 on PA targets too.
d63a86f8 9640
c906108c
SS
9641Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
9642
9643 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
9644 "print func2::coremaker_local" and for "backtrace in corefile.exp"
9645
9646Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
9647
9648 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
9649 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
9650 "sparc-sun-solaris*" xfails for "p v_comb".
9651 * lib/gdb.exp (default_gdb_start): Fix typo.
9652 * gdb.base/corefile.exp: Allow "Core was generated by ..."
9653 messages to not include the full program name that caused
9654 the core dump since some systems (such as solaris) apparently
9655 truncate this path to about 80 characters.
9656 When generating a core file first try increasing the core file
9657 size limit to unlimited since some systems may default it to
9658 zero, and it is harmless to try it. Move the test for failing
9659 to generate a core file to where it will actually get executed.
9660 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
9661 new gdb result from g++ debug info improvements and make old
9662 pattern obsolescent. Also account for size_t differences
9663 (may be int or long).
9664 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
9665 initialization before function call is placed in the delay slot
9666 and thus appears to be skipped over by commands such as "next".
9667
9668Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
9669
9670 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
9671
9672Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
9673
9674 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
9675 input source file; fix code to compile test to deal with this
9676 convention.
9677 * gdb.c++/*.exp: Likewise.
9678
9679Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
9680
9681 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
9682 "bt in signals.exp".
9683
9684Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
9685
9686 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
9687 "step over execarg initialization" and
9688 "step over corearg initialization".
9689
9690Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
9691
9692 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
9693 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
9694
9695Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
9696
9697 From Rob Savoye (rob@poseidon.cygnus.com)
9698 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
9699 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
9700 configure.in}, gdb.disasm/{Makefile.in, configure.in},
9701 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
9702 configure.in}: Major reworking for autoconfig.
9703 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
9704 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
9705 New files.
9706 * config/unix-gdb.exp: Make GDB global.
9707 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
9708 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
9709 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
9710 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
9711 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
9712 term.exp, twice.exp, watchpoint.exp, whatis.exp},
9713 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
9714 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
9715 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
9716 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
9717 pr-8136.exp, result.exp, string.exp, tuples.exp},
9718 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
9719 to returns as necessary, arrange for test to compile own testcase
9720 executable.
9721 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 9722
c906108c
SS
9723Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
9724
9725 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
9726 clear_xfail at end of test which might not call either pass or fail.
9727 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
9728 "backtrace through signal handler".
9729
9730Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9731
9732 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
9733 continuing from a job control stop signal.
9734 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
9735
9736Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
9737
9738 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
9739 * gdb.base/corefile.exp: Likewise.
9740 * gdb.base/funcargs.exp: Likewise.
9741
9742Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
9743
9744 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
9745 * config/monitor.exp: Add support for setting baud rate.
9746
9747Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
9748
9749 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
9750 i*86-*-linux* xfails for "backtrace through signal handler".
9751 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
9752 "print func2::coremaker_local".
9753 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
9754 alpha-dec-osf2* xfail for
9755 "delete all breakpoints when none".
9756
9757Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
9758
9759 * gdb.base/break.exp: Change test that deletes all breakpoints
9760 when no user breakpoints are installed. A post 4.15 change
9761 causes gdb to no longer prompt in this case.
9762
9763Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
9764
9765 * gdb.base/return.exp (return_tests): Change xfail for test
9766 "correct value returned double test" to stop xfailing at
9767 Solaris 2.5. Apparently the bug has been fixed.
9768
9769Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
9770
9771 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
9772 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
9773
9774Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
9775
9776 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
9777 * gdb.disasm/hppa.s: Corresponding changes.
9778
9779Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
9780
9781 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
9782 makefile fragment.
9783 * config/mt-hpux: Deleted.
9784
9785Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
9786
d63a86f8 9787 * Many files: When warning about suppressed tests due to a
c906108c
SS
9788 nonexistant test binary, avoid incrementing the warning count.
9789
9790Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
9791
9792 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 9793
c906108c
SS
9794Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9795
9796 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
9797 "sparc-*-solaris2*".
9798
9799Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9800
9801 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
9802 Add global and local variables and initialize them.
9803 * gdb.base/corefile.exp: Test correct mapping of corefile sections
9804 by printing variables. Remove rs6000 and powerpc xfails, BFD now
9805 extracts the file name and terminating signal from the core file.
9806 * TODO: Remove note about tests for correct mapping of corefile.
9807 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
9808 from optimizing it away.
9809 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
9810 handles common blocks.
9811
9812Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
9813
9814 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
9815 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
9816
9817Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
9818
9819 * Makefile.in (maintainer-clean): New target, synonym for
9820 realclean.
9821 * gdb.base/Makefile.in (maintainer-clean): Likewise.
9822 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
9823 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
9824 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
9825 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
9826 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
9827
9828Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
9829
9830 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
9831 xfails when not gcc compiled for "print foo::funclocal".
9832 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
9833 "print foo::funclocal at foo",
9834 "print 'scope1.c'::foo::funclocal at foo",
9835 "print foo::funclocal_bss at foo",
9836 "print 'scope1.c'::foo::funclocal_bss at foo",
9837 "print foo::funclocal_ro at foo",
9838 "print 'scope1.c'::foo::funclocal_ro at foo",
9839 "print bar::funclocal at foo" and
9840 "print 'scope1.c'::bar::funclocal at foo".
9841 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
9842 gcc compiled for "print foo::funclocal at bar".
9843 Expand all messages to ensure that they identify that
9844 the test is at bar().
9845 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
9846 gcc compiled for:
9847 "ptype on opaque struct pointer (statically)",
9848 "ptype on opaque struct tagname (statically)",
9849 "ptype on opaque struct pointer (dynamically) 1",
9850 "ptype on opaque struct tagname (dynamically) 1",
9851 "ptype on opaque struct pointer (dynamically) 2" and
9852 "ptype on opaque struct tagname (dynamically) 2
9853 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
9854 gcc compiled for:
9855 "p datalocal"
9856 "whatis datalocal",
9857 "ptype datalocal",
9858 "p bsslocal",
9859 "whatis bsslocal", and
9860 "ptype bsslocal".
9861 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
9862 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
9863 when not gcc compiled.
9864 * gdb.base/funcargs.exp (float_and_integral_args): Add
9865 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
9866 compiled.
9867 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
9868 "backtrace from call6a" when not gcc compiled.
9869 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
9870 "backtrace from call7a" when not gcc compiled.
9871 * gdb.base/callfuncs.exp (do_function_calls):
9872 Add "hppa*-*-hpux*" xfail when not gcc compiled for
9873 "p t_char_array_values(char_array_val2,char_array_val1)",
9874 "p t_char_array_values(char_array_val1,char_array_val2)",
9875 "p t_char_array_values("carray 1","carray 2")",
9876 "p t_char_array_values("carray 1",char_array_val2)",
9877 "p t_char_array_values(char_array_val1,"carray 2")",
9878 "p sum_args(1,{2})",
9879 "p sum_args(2,{2,3})",
9880 "p sum_args(3,{2,3,4})",
9881 "p sum_args(4,{2,3,4,5})"
9882 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
9883 "backtrace in corefile.exp" when not gcc compiled.
9884
9885Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9886
9887 * gdb.base/signals.exp: Rewrite `handle all print' test as
9888 a procedure. Accept blanks or TABs as whitespace, increase
9889 timeout and expect input buffer size for the large output
9890 from the command. Remove "i*86-*-bsdi2.0" xfail.
9891
9892Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9893
9894 * gdb.base/setvar.exp: Add new testcases for truncation when
9895 assigning invalid values to bitfields.
9896
9897Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
9898
d63a86f8 9899 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
9900 mips-sgi-irix* xfail for
9901 "call inferior func with struct - returns char *"
9902 and fix test so that an optional (unsigned char *) cast is
9903 accepted in the result.
9904
9905Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
9906
9907 * gdb.base/funcargs.exp (float_and_integral_args): Remove
9908 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
9909 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
9910 * gdb.base/signals.exp: Remove duplicate "handle all print" test
9911 that accidentally got checked in.
9912
9913Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
9914
d63a86f8 9915 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
9916 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
9917 compiled test.
9918 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
9919 Add mips-sgi-irix5* xfail for not gcc compiled.
9920 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
9921 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
9922 "p top", "whatis top", "p middle", and "whatis middle".
9923 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
9924 "whatis signed char" for not gcc compiled.
9925 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
9926 "set variable signed char=-1 (-1)" and
9927 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
9928 * gdb.base/funcargs.exp (float_and_integral_args):
9929 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
9930 Add mips-sgi-irix* xfail when not gcc compiled for
9931 "continue to call2b".
9932 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
9933 "continue to call2g".
9934 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
9935 "backtrace from call6a"
9936 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
9937 "backtrace from call7k".
9938 Add mips-sgi-irix5* xfail when not gcc compiled for
9939 "backtrace from call7a".
9940 (localvars_after_alloca): Fix gdb_test cmds for
9941 "print * after runto ...".
9942 Remove rs6000-*-* xfails for
9943 "print i after runto localvars_after_alloca" and
9944 "print l after runto localvars_after_alloca"
9945 for all compilers.
9946 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
9947 when not compiled with gcc, for:
9948 "print signed char == (minus)",
9949 "print signed char != (minus)",
9950 "print signed char < (minus)",
9951 "print signed char > (minus)".
9952 * gdb.base/callfuncs.exp (do_function_calls):
9953 Add mips-sgi-irix* xfail, when compiled with native compiler, for
9954 "call inferior func with struct - returns char *".
d63a86f8 9955 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
9956 "correct value returned double test" to include Solaris 2.4.
9957 * gdb.base/funcargs.exp (float_and_integral_args):
9958 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 9959
c906108c
SS
9960Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9961
9962 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
9963 enumeration bitfields if compiling with GNU C.
9964 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
9965 to empty' prompt.
9966
9967Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
9968
9969 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
9970 test for PRO targets.
9971
9972 * gdb.base/funcargs.exp: Avoid ever setting more than 8
9973 breakpoints in the inferior at any given time by making
9974 two groups of breakpoints for call2*, call6* and call7*
9975 tests.
9976
9977Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9978
9979 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
9980 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
9981 from optimizing it away.
9982 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
9983 "call inferior func with struct".
9984
9985Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
9986
9987 * configure.in: Only configure gdb.chill for particular targets.
9988
9989Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
9990
9991 * gdb.base/Makefile.in: Add action to .c.o transformation
9992 rule that generates a .ci file for each .o file and remove
9993 explicit .c.o rules except for callfuncs.o.
9994 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
9995 generates a .ci file for each .o file and remove explicit
9996 .cc.o rules.
9997 (clean): Remove *.tmp *.ci files.
9998 (EXECUTABLES): Remove templ-info.exp.
9999 * gdb.base/compiler.c: New file.
10000 * gdb.c++/compiler.cc: New file
10001 * gdb.base/scope.exp: Source gdb.base/scope.ci.
10002 Change rs6000-*-* xfail for
10003 "print 'scope0.c'::filelocal_ro" and
10004 "print 'scope1.c'::filelocal" and
10005 "print 'scope1.c'::filelocal_bss" and
10006 "print 'scope1.c'::filelocal_ro" and
10007 "print 'scope1.c'::foo::funclocal" and
10008 "print 'scope1.c'::foo::funclocal_ro" and
10009 "print 'scope1.c'::bar::funclocal" and
10010 "print 'scope0.c'::filelocal_ro" and
10011 "print 'scope1.c'::filelocal at foo" and
10012 "print 'scope1.c'::filelocal_bss at foo" and
10013 "print 'scope1.c'::filelocal_ro at foo" and
10014 "print 'scope1.c'::foo::funclocal at foo" and
10015 "print 'scope1.c'::foo::funclocal_bss at foo" and
10016 "print 'scope1.c'::foo::funclocal_ro at foo" and
10017 "print 'scope1.c'::bar::funclocal at foo" and
10018 "print 'scope0.c'::filelocal_ro" and
10019 "print 'scope1.c'::filelocal" and
10020 "print 'scope1.c'::filelocal_bss" and
10021 "print 'scope1.c'::filelocal_ro" and
10022 "print 'scope1.c'::foo::funclocal" and
10023 "print 'scope1.c'::foo::funclocal_bss" and
10024 "print 'scope1.c'::foo::funclocal_ro" and
10025 "print 'scope1.c'::bar::funclocal" and
10026 "print 'scope1.c'::bar::funclocal_bss"
10027 to only be xfail'd when not compiled with gcc.
d63a86f8 10028 Add rs6000-*-* xfail for
c906108c
SS
10029 "print 'scope0.c'::filelocal_bss before run"
10030 when compiled with gcc.
10031 (test_at_main): Add rs6000-*-* xfail for
10032 "print filelocal_ro in test_at_main"
10033 when compiled with gcc.
10034 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 10035 Add rs6000-*-aix* xfail for
c906108c
SS
10036 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
10037 "ptype t_char_array", not compiled with gcc.
10038 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
10039 xfail for "list foo (in include file)" when gcc compiled.
10040 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
10041 (integral_args): Add rs6000-*-* xfail for
10042 "run to call0a" if not compiled with gcc.
10043 (unsigned_integral_args): Add rs6000-*-* xfail for
10044 "run to call1a" if not compiled with gcc.
10045 (float_and_integral_args): Add rs6000-*-* xfail for
10046 "run to call2a" if not compiled with gcc and for
10047 "continue to call2b" for any compiler.
10048 Add rs6000-*-* xfail to
10049 "print f1 after run to call2a" for gcc compiled.
10050 (discard_and_shuffle): Add rs6000-*-* xfail for
10051 "run to call6a".
10052 (shuffle_round_robin): Add rs6000-*-* xfail for
10053 "backtrace from call7a" if not compiled with gcc.
10054 Add rs6000-*-* xfail for
10055 "backtrace from call7b" if compiled with gcc.
10056 (call_after_alloca): Add rs6000-*-* xfail for
10057 "print c in call_after_alloca" and
10058 "print s in call_after_alloca" and
10059 "backtrace from call_after_alloca_subr"
10060 if not compiled with gcc.
10061 (localvars_in_indirect_call): Add rs6000-*-* xfail for
10062 "print c in localvars_in_indirect_call" and
10063 "print c in localvars_in_indirect_call" and
10064 "backtrace in indirectly called function" and
10065 "stepping into indirectly called function"
10066 if not compiled with gcc.
10067 (localvars_after_alloca): Add rs6000-*-* xfail for
10068 "print c after runto localvars_after_alloca" and
10069 "print s after runto localvars_after_alloca" and
10070 "print i after runto localvars_after_alloca" and
10071 "print l after runto localvars_after_alloca"
10072 for all compilers.
10073 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
10074 than whatis-info.exp.
10075 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
10076 than opaque-info.exp.
10077 Setup rs6000-*-* xfail for
d63a86f8 10078 "ptype on opaque struct pointer (statically)" and
c906108c
SS
10079 "ptype on opaque struct pointer (dynamically)" when
10080 not compiled with gcc.
10081 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
10082 rather than callf-info.exp.
10083 (do_function_calls): Add clear_xfail for rs6000-*-* for
10084 "p t_float_values2(3.14159,float_val2)". Seems to work
10085 fine there, both with xlc and gcc. Need to find out what
10086 it is doing right and fix other platforms.
10087 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
10088 "call inferior func with struct - returns int",
10089 "call inferior func with struct - returns long",
10090 "call inferior func with struct - returns float",
10091 "call inferior func with struct - returns double",
10092 "call inferior func with struct - returns char *",
10093 but only if not gcc compiled (presumes xlc compiled).
10094 Change rs6000-*-* xfails for
10095 "call inferior func with struct - returns char" and
10096 " call inferior func with struct - returns short" to only
10097 xfail if not using gcc.
10098 (clean mostlyclean): Remove *.ci and *.tmp files.
10099 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
10100 than templ-info.exp.
10101 * gdb.base/langs.exp: Source gdb.base/langs.ci.
10102 Add rs6000-*-* xfail for "up to foo in langs.exp"
10103 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
10104 when not gcc compiled.
d63a86f8 10105
c906108c
SS
10106Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10107
10108 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
10109 * gdb.base/corefile.exp: Likewise.
10110 * gdb.base/list.exp: Likewise.
10111 * gdb.base/scope.exp: Likewise.
10112 * gdb.base/siganls.exp: Likewise.
10113
10114 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
10115 compiler output.
10116 * gdb.base/whatis.exp: Likewise.
10117
10118Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
10119
10120 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
10121 failure (opcode table has been fixed to match reality).
10122
10123Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
10124
10125 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
10126 "call inferior func with struct - returns char",
10127 "call inferior func with struct - returns short"
10128
10129 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
10130 "print 'scope0.c'::filelocal at main",
10131 "print 'scope0.c'::filelocal_bss in test_at_main",
10132 "print 'scope0.c'::filelocal at foo",
10133 "print 'scope0.c'::filelocal_bss in test_at_foo",
10134 "print 'scope0.c'::filelocal at bar",
10135 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 10136
c906108c
SS
10137 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
10138 in source file 1". This bug seems to have been fixed with both
10139 gcc and native cc (was native assembler bug?).
10140
10141Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
10142
10143 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
10144 "backtrace through signal handler" to "i*86-*-sysv4*".
10145 * gdb.base/signals.exp: Add xfail for "'next' behaved as
10146 continue" case. Add "known SVR4 bug" to fail message.
10147 Add "i*86-*-bsdi2.0" xfail for "handle all print".
10148 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
10149 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
10150 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
10151 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
10152 "up to foo in langs.exp", "show language at foo in
10153 langs.exp", "up to cppsub_ in langs.exp", "show
10154 language at cppsub_ in langs.exp", "up to fsub in
10155 langs.exp", and "show language at fsub in langs.exp".
10156 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
10157 "bactrace in corefile.exp".
10158 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
10159 "call inferior function with struct - returns float" and
10160 "call inferior function with struct - returns double".
d63a86f8 10161
c906108c
SS
10162Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
10163
10164 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
10165 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
10166 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
10167 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
10168
10169Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
10170
10171 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
10172 (or overriden) "CHILL" macro rather then bare "gcc".
10173 Also look for ../../gcc/xgcc since that is what we will
10174 actually need, not "Makefile". Remove following assignment
10175 of CHILL to CHILL_FOR_TARGET because that results in
10176 recursive definition.
10177
10178Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
10179
10180 * gdb.base/corefile.exp: Change xfail for backtrace in
10181 corefile.exp from linuxaout to all linux.
10182 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
10183 cases where we miss the breakpoint at the signal handler
10184 for some reason. Setup xfail for linuxoldld/linuxaout and
10185 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
10186 hitting SIGURG breakpoint.
10187 * gdb.base/signals.exp: Setup xfail for "next" acting like
10188 continue to add linuxoldld. Setup xfail for all linux for
10189 "next to handler in signals_tests_1", "backtrace in
10190 signals_tests_1", "continue to func1", "pass SIGUSR1",
10191 and continue to handler".
10192
10193Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
10194
10195 * Update all FSF addresses except those in COPYING* files.
10196
10197Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
10198
10199 * gdb.base/a2-run.exp: Change messages to be more explicit about
10200 the status of args, and quote binfile in results.
10201
10202Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
10203
10204 * gdb.base/callfuncs.exp: Add tests for passing structs to
10205 inferior functions and return various types.
10206 * gdb.base/callfuncs.c: Add functions to receive a struct
10207 and return a member of the struct, in various types.
10208
10209Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10210
10211 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
10212
10213Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
10214
10215 * config/vxworks29k.exp: New file, sources vxworks.exp.
10216
10217Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10218
10219 * config/gdbremote.exp: New file. Testing framework using
10220 gdbserver.
10221
10222Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
10223
10224 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
10225 "call function when asleep" and "send end of file".
10226 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
10227 for "backtrace in corefile.exp".
10228 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
10229 for "backtrace through signal handler".
10230 * gdb.base/corefile.exp: Make sure we actually generate a core file
10231 before trying the core tests. Some systems allow the user to suppress
10232 generation of core files and default to that (linux for example).
10233 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
10234 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
10235
10236Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10237
10238 * gdb.threads: New directory with some crude multi-threaded
10239 gdb tests (step.exp and step2.exp).
10240 * config/mt-lynx (STEP_EXECUTABLE): Define.
10241 (THREADFLAGS): Define.
10242
10243Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
10244
10245 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
10246
10247 * gdb.base/signals.exp: Disable whole file for lynx until
10248 further notice.
10249
10250 * gdb.base/signals.exp: xfail test where "next" acts like
10251 "continue" for lynx.
10252
10253 * gdb.base/interrupt.exp: xfail test for calling function while
10254 inferior is asleep for lynx.
10255
10256 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
10257 than one cr-lf after each command.
10258
10259Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10260
10261 * configure.in: Reinstate setting of stabsdirs variable, fix
10262 typo in setting up configdirs for native builds.
10263
10264 * gdb.base/return.exp: Fix typo in return double test.
10265 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
10266 compiler from optimizing them away.
10267
10268Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
10269
10270 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
10271 sequences to be echo'd by gdb when using gdb_test.
10272 * gdb.chill/chexp.exp: Likewise.
10273 * gdb.fortran/exprs.exp: Likewise
10274
10275Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10276
10277 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
10278 after the inferior gdb has started.
10279
10280 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
10281 after each command.
10282 * gdb.base/funcargs.exp: Likewise.
10283 * gdb.base/gdbvars.exp: Likewise.
10284 * gdb.base/interrupt.exp: Likewise.
10285 * gdb.base/list.exp: Likewise.
10286 * gdb.base/watchpoint.exp: Likewise.
10287 * gdb.c++/demangle.exp: Likewise.
10288 * gdb.c++/inherit.exp: Likewise.
10289 * gdb.chill/chexp.exp: Likewise.
10290 * gdb.fortran/exprs.exp: Likewise.
10291
10292 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
10293 test if we can't handle IO to/from the inferior.
10294
10295 * gdb.c++/misc.exp: Always check for a program already being
10296 started after sending a "run" command to gdb.
10297
10298 * gdb.base/twice.exp: Start with a fresh gdb.
10299
10300 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
10301 only depend on gdb's expression code, not the chill runtime.
10302
10303 * gdb.base/return.c: Put return values into variables so we
10304 can have gdb print them rather than depending on the program
10305 to print them.
10306 * gdb.base/return.exp: Corresponding changes.
10307
10308 * lib/gdb.exp: Provide default value for noinferiorio.
10309 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
10310 the inferior.
10311
10312 * gdb.base/break.exp: Always check for a program already being
10313 started after sending a "run" command to gdb.
10314 (text_next_with_recursion): Don't check the output from the
10315 program's printf statement. Instead just make sure the program
10316 exited.
10317
10318 * gdb.base/commands.exp: Protect tests which need arguments with
10319 $noargs conditionals.
10320
10321Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10322
10323 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
10324 of structure member arrays to match gdb/valops.c:value_addr change.
10325
10326Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
10327
10328 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
10329 cases.
10330
10331Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
10332
10333 * configure.in (configdirs): Remove gdb.chill from default list
10334 of subdirs and then add it back in only if doing a native build.
10335 The current chill compiler does not yet work in any cross build.
10336 * Revert all signal changes from Jul 6.
10337 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
10338 for sh-hms targets, allowing these tests to link, with no other
10339 changes. Testing is suppressed by setting "nosignals" in site.exp.
10340
10341Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
10342
10343 * configure.in (signaldirs): Define and add to configdirs for all
10344 targets except some specific ones that are known to not support signals.
10345 Also clean up formatting.
10346 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
10347 (signals, sigall): Remove rules to build.
10348 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
10349 Moved to new gdb.signals directory.
10350 * gdb.signals: New test directory.
10351 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
10352 signals.c signals.exp}: New or moved files.
10353
10354Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
10355
10356 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
10357
10358Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
10359
10360 * gdb.base/return.exp: Xfail `return double' test failure
10361 on at least Solaris 2.3 and handle future/past versions on
10362 a case by case basis as appropriate. Also update message
10363 to include i*86 failures.
10364
10365Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10366
10367 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
10368
10369 * lib/gdb.exp: Fix comment which erroneously identified
10370 gdb_file_cmd as gdb_load (the 19 May change was in fact to
10371 gdb_file_cmd not gdb_load).
10372 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
10373
10374 * gdb.base/setvar.exp: Make test names consistent between pass and
10375 fail cases. Use gdb_test more.
10376
10377Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10378
10379 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
10380
10381Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10382
10383 * gdb.base/help.exp: Fix expected help string for `show commands'.
10384
10385Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
10386
10387 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
10388
10389 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
10390 of a text section.
10391
10392Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
10393
10394 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
10395 that loop eventually terminates. Fix Connection refused logic so
10396 that testsuite will expire nicely.
10397
10398Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
10399
10400 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
10401 config/rom68k.exp: New tcl glue for the appropriate monitors.
10402 These all just end up calling monitor.exp.
10403 * config/monitor.exp (gdb_target_monitor): Handle `Connection
10404 refused' by retrying. Cleanup some timeout issues.
10405 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
10406 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
10407 callers don't have to set/restore global timeout variable.
10408
10409 * The following set of changes centralizes management of the global
10410 timeout variable. This way, it can be set in one target dependent
10411 place instead of dozens of places scattered throughout the test suite.
10412 If you need to lengthen a timeout, then you should either set timeout
10413 in one of the config/{target}.exp files, or multiply it by a factor.
10414 Setting it to an absolute value is always going to lose for some
10415 targets.
10416 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
10417 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
10418 * gdb.base/funcargs.exp: Don't set timeout.
10419 * gdb.base/list.exp (test_forward_search): Only use local timeout.
10420 * gdb.base/printcmds.exp (test_print_string_constants
10421 test_print_array_constants): Don't set timeout.
10422 * gdb.base/ptype.exp: Don't set timeout.
10423 * gdb.base/recurse.exp: Don't set timeout.
10424 * gdb.base/return.exp: Don't set timeout.
10425 * gdb.base/watchpoint.exp: Don't set timeout.
10426 * gdb.c++/classes.exp (do_tests): Don't set timeout.
10427 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
10428
10429Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
10430
10431 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
10432
10433Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10434
10435 * lib/gdb.exp: Disable chill tests for irix5.
10436
10437Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10438
10439 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
10440 each test pass or fail.
10441
10442Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10443
10444 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
10445 xlc not gcc.
10446
10447Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
10448
10449 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
10450
10451Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
10452
10453 * config/est.exp: Fix copyright and comments. Remove dead code.
10454 Use targetname, serialport and baud variables instead of fixed
10455 constants.
10456 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
10457 * config/cpu32bug.exp: New file to support cpu32bug monitors.
10458
10459Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10460
10461 * gdb.base/watchpoint.exp: Don't run
10462 test_watchpoint_triggered_in_syscall for sunos.
10463
10464Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10465
10466 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
10467 they don't seem to exist. Do include stdio.h.
10468
10469Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10470
10471 * gdb.base/a1-selftest.exp: Add alpha xfail.
10472
10473Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10474
10475 * gdb.base/watchpoint.c (main): Prompt before calling read().
10476 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10477 Revise accordingly. Remove cruft about sending "123" several
10478 times, until it gets noticed. Clean up the "print buf[0]" stuff
10479 so that it passes or fails, and waits for prompts in the usual way.
10480
10481Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10482
10483 * gdb.base/recurse.exp: Fix comment.
10484
10485 * TODO: Remove item about printing variables in nodebug.exp. Add
10486 item about enabling tests which are only run on some targets.
10487
10488 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
10489 fail, make test names unique, use new gdb_test convention
10490 regarding pattern, use gdb_test more, etc.).
10491
10492 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
10493 fail, make test names unique, etc.).
10494
10495Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10496
10497 * gdb.base/nodebug.c: Change return type of top and middle to
10498 short.
10499 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
10500 are fixed by the recent mdebugread.c changes. Allow `short ()'
10501 as type for top and middle.
10502
10503Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10504
10505 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
10506 nearly as I can tell, the whole thing was an accident in Stu's
10507 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
10508 to replace a send/expect pair with gdb_test, but ended up only
10509 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
10510 of 30 Mar 1995 took care of it, but left this vestigial comment
10511 which I am now nuking.
10512
10513Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10514
10515 * gdb.base/break.exp: Look for different line number for
10516 breakpoint at main depending on usestubs.
10517
10518Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10519
10520 * gdb.base/list.exp: Adjust some alternate expect patterns to
10521 match recent list0.c change. Add alternate expect pattern for
10522 output from `list default lines around main' for optimizing
10523 compilers.
10524
10525Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10526
10527 * lib/gdb.exp: If nosignals is not set, set it to 0.
10528
10529Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
10530
10531 * config/slite-gdb.exp: Responds to load symbol table prompt.
10532 * gdb.base/break.exp: Adjust line number, fix rerun.
10533 * gdb.base/langs0.c: Add #ifdef usestubs.
10534
10535Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
10536
10537 * gdb.base/list.exp: Adjust line contents after adding new lines in
10538 list0.c. Also fix a syntax error.
10539
10540 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
10541 * gdb.base/break.exp: ditto.
10542 * gdb.base/list.exp: ditto.
10543 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
10544 * gdb.base/run.c: ditto.
10545 * gdb.base/list0.c: ditto.
10546 * gdb.base/funcargs.c: ditto.
10547
10548Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
10549
10550 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
10551 $targetname, $serialport and $baud instead of hardwired variables.
10552 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
10553 target doesn't support signals.
10554
10555Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
10556
10557 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
10558
10559Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10560
10561 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
10562 Don't rely on the value of an auto variable before it has been
10563 initialized. Use gdb_test more.
10564
10565Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10566
10567 * lib/gdb.exp (default_gdb_version): A version number must start
10568 with a digit, but other than that contains all characters up to
10569 the first whitespace character.
10570
10571Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10572
10573 * gdb.base/commands.exp (breakpoint_command_test): New tests.
10574
10575Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10576
10577 * gdb.c++/*.exp: Warn if executable does not exist. The original
10578 reason for skipping the warning was that configure.in sometimes
10579 intentionally skipped building the executables but the tcl code
10580 had no way of knowing. That (a) was always bogus with respect to
10581 error handling, (b) is no longer true (right now there is no way
10582 to skip C++ tests).
10583
10584 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
10585
10586Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10587
10588 * gdb.base/list.exp: Add expect patterns for output from
10589 SunPRO compiled executables.
10590 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
10591 types.
10592
10593Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10594
10595 * gdb.base/break.exp (test_next_with_recursion): Accept any line
10596 number (we are already testing that the correct source line text
10597 gets printed).
10598
10599 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
10600 that is what is intended, but something needed to be done to get
10601 sunos4 native working again.
10602
10603 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
10604
10605 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
10606 apparently went with a (very) old xfail.
10607
10608Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
10609
10610 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
10611 runto_main is a proc in gdb.exp that will do 'step' for target use
10612 stubs.
10613 * gdb.base/exprs.exp: ditto.
10614 * gdb.base/interrupt.exp: ditto.
10615 * gdb.base/opaque.exp: ditto.
10616 * gdb.base/printcmds.exp: ditto.
10617 * gdb.base/ptype.exp: ditto.
10618 * gdb.base/scope.exp: ditto.
10619 * gdb.base/setvar.exp: ditto.
10620 * gdb.base/signals.exp: ditto.
10621 * gdb.base/twice.exp: ditto.
10622 * gdb.c++/classes.exp: ditto.
10623 * gdb.c++/inherit.exp: ditto.
10624 * gdb.c++/templates.exp: ditto.
10625 * gdb.base/break.exp: no run and hit main for stubs. Change line
10626 numbers for breakpoints and info breakpoint.
10627 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
10628 breakpoint().
10629 * gdb.base/callfuncs.c: ditto.
10630 * gdb.base/exprs: ditto.
10631 * gdb.base/interrupt.c: ditto.
10632 * gdb.base/opaque0.c: ditto.
10633 * gdb.base/printcmds.c: ditto.
10634 * gdb.base/ptype.c: ditto.
10635 * gdb.base/scope0.c: ditto.
10636 * gdb.base/setvar.c: ditto.
10637 * gdb.base/signals.c: ditto.
10638 * gdb.base/twice.c: ditto.
10639 * gdb.c++/misc.cc: ditto.
10640 * gdb.c++/templates.cc: ditto.
10641
10642Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10643
10644 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
10645
10646 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
10647 somewhere between `read' and `main.c'. I'm pretty sure the
10648 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
10649 and it isn't particularly useful.
10650
10651 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
10652
10653Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10654
10655 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
10656
10657Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
10658
10659 * config/mt-slite: add LIBS and -nostdlib.
10660 * config/slite-gdb.exp: add this new file to support sparclite target.
10661
10662Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
10663
10664 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
10665
10666 * gdb.base/a2-run.exp: Change argument to istarget from
10667 "*-*-vxworks" to "*-*-vxworks*".
10668 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
10669
10670Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
10671
10672 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
10673 will not runto main but do a 'step' to step out of breakpoint().
10674 * config/mt-slite: add -Dusestubs.
10675
10676Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10677
10678 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
10679 instead of just @.
10680
10681 * gdb.base/signals.exp: Add test for "handle all print".
10682 * TODO: Remove "handle all print". Also remove item about
10683 checking copyright date (I don't like the idea of a spurious FAIL
10684 based on when we run the tests).
10685
10686 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
10687 for SunOS4 (reason for failure not investigated). Remove
10688 redundant test for $binfile.
10689
10690 * gdb.base/nodebug.c (array_index): Call malloc.
10691
10692 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
10693
10694Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
10695
10696 * gdb.base/recurse.exp: Update gdb_test invocation to use new
10697 conventions and slightly simplify the matching regexp.
10698
10699Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10700
10701 * gdb.base/break.exp: Update gdb_test invocation to use new
10702 convention.
10703
10704 * lib/gdb.exp: If noargs is not set, set it to 0.
10705
10706 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
10707 tests unique.
10708
10709 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
10710
10711Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10712
10713 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
10714 one argument of type "<non-float parameter>".
10715
10716Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
10717
10718 * config/rom68k.exp: New file to support Motorola IDP board.
10719 * gdb.base/a2-run.exp: Skip this file if noargs is set.
10720 * gdb.base/break.c: Change things around so that this program
10721 doesn't depend upon args. This is necessary to make remote
10722 targets work (in general, they can't take args).
10723 * gdb.base/break.exp: Don't try to send args to program. Don't
10724 expect output. Also, replace lots of code with gdb_test.
10725
10726Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10727
10728 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
10729 printing of '\'' (which is what the comment says we are testing,
10730 even though we were not), not '''.
10731 (test_integer_literals_rejected): Test that printing ''' is an error.
10732
10733 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10734 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
10735 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
10736 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
10737 Use gdb_test not test_print_accept.
10738 * lib/gdb.exp: Remove test_print_accept.
10739
10740 * gdb.base/signals.exp (signal_tests_1): Make pass message
10741 consistent with fail message.
10742
10743 * gdb.base/whatis.exp: Remove xfails for printing char vs.
10744 unsigned char; the bug (PR 1821) is fixed.
10745
10746 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
10747
10748 * gdb.base/scope.exp (test_at_localscopes): Call pass for
10749 successful tests--makes xfailing them work right.
10750
10751Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10752
10753 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
10754 only \r\n, not .*. The test can pass .* as the last thing in
10755 $pattern if that is what it wants. In addition to providing this
10756 flexibility, this change should speed up pattern matching in cases
10757 where the pattern already ended with .* (there were a number of
10758 them). This change also helps catch bad patterns--in the old
10759 scheme the typo "char \*" instead of "char \\*" would pass. Now
10760 it is caught.
10761 * Many .exp files: Update callers.
10762
10763 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
10764 clearer and does not spuriously match multiple ('s. Likewise for
10765 ) and *.
10766
10767 * gdb.base/nodebug.exp: Test ability to call a function and pass
10768 it a string (even with no debugging info).
10769
10770 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
10771 "p '\'", which is the same as "p ''" once tcl gets done with
10772 quoting, to "p '\\'", which I suspect is what is intended (one
10773 backslash gets sent to GDB).
10774
10775 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
10776
10777Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10778
10779 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
10780 1817) was fixed literally years ago.
10781
10782Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10783
10784 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
10785 test, it causes stepping out of call_after_alloca_subr with
10786 optimizing compilers.
10787 (localvars_in_indirect_call): Consume GDB prompt if `finish'
10788 fails.
10789
10790 * gdb.c++/templates.exp: Source templ-info.exp only if
10791 the templates executable exists.
10792
10793 * gdb.c++/misc.cc (class Contains_static_instance,
10794 class Contains_nested_static_instance),
10795 gdb.c++/classes.exp (test_static_members): Test printing of
10796 a class that contains a static instance of the class.
10797
10798Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10799
10800 * gdb.base/langs2.c (cppsub_): Don't prototype.
10801 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
10802 only, I believe).
10803
10804Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10805
10806 * lib/gdb.exp (skip_chill_tests): New procedure.
10807
10808 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
10809
10810Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
10811
10812 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
10813 each expect pattern. Cuts runtime from 12 to about 4 seconds.
10814
10815Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10816
10817 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
10818
10819 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
10820 disassemble 8, not 16, instructions for part 4.
10821
10822 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
10823 support the latter anymore.
10824
10825 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
10826 -DNO_PROTOTYPES.
10827 * gdb.base/callfuncs.c: Control use of prototypes based on
10828 NO_PROTOTYPES, not __STDC__.
10829 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
10830 t_float_values2 tests if prototypes in use.
10831
10832 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
10833 t_double_values): When checking differences against DELTA, check
10834 that difference is within the range (-DELTA,DELTA), not just
10835 (-infinity,DELTA).
10836
10837Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
10838
10839 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
10840 'file' command firts, then 'target', then 'load', this is due to gdb
10841 target set up.
10842 * config/mips-gdb.exp: Fix a couple regular exp bugs.
10843
10844Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
10845
10846 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
10847 FP load/store variants.
10848 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
10849
10850Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
10851
10852 * gdb.base/term.exp: Do not give a warning if not native, it is
10853 not an abnormal condition.
10854
10855Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
10856
10857 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
10858 t_char_array".
10859
10860Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
10861
10862 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
10863 are getting the version number.
10864
10865 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
10866 if not native, it is not an abnormal condition.
10867
10868Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10869
10870 * lib/gdb.exp: Just use "file exists", rather than undocumented
10871 dejagnu procedure "findfile".
10872
10873Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10874
10875 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
10876 (LDFLAGS): Set to -Xlinker -Ur.
10877
10878 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
10879 Removed, these values are set by lib/gdb.exp.
10880
10881 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
10882
10883Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10884
10885 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
10886 of replicating gdb startup code.
10887
10888 * config/mt-vxworks (LDFLAGS): Set to -r.
10889 (CFLAGS_FOR_TARGET): Removed.
10890
10891 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
10892 (gdb) and gdb for vxworks uses (vxgdb).
10893
10894 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
10895 executable is not in the tree and host != target, use sed and
10896 program_transform_name to determine the gdb name used by the
10897 target.
10898
10899 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
10900 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
10901
10902Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10903
10904 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
10905 floats, chars, and shorts where there are ANSI-style function
10906 definitions.
10907
10908 * gdb.base/langs.exp, gdb.base/langs*: New test.
10909 * gdb.base/Makefile.in: Build it.
10910 * TODO: Remove item about checking that C names don't get C++
10911 demangling applied; this test tests it.
10912
10913Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10914
10915 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
10916 went with the const70 xfail. The xfail went away a year ago.
10917
10918 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
10919
10920 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
10921 for hp300.
10922
10923 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
10924
10925 * gdb.base/a1-selftest.exp: Don't run on hp300.
10926
10927Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10928
10929 * Makefile.in (site.exp): Set host_alias and target_alias as well
10930 as host_triplet and target_triplet.
10931
10932Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10933
10934 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
10935
10936 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
10937 places as other ecoff systems).
10938
10939 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
10940 ultrix.
10941
10942Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10943
10944 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
10945 remove them.
10946 * gdb.base/nodebug.exp: Accept "function" in addition to "text
10947 variable and "variable" in addition to "data variable".
10948 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
10949
10950 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
10951 2.
10952 * gdb.base/list1.c (long_line): Add additional statement at start
10953 of function.
10954 * gdb.base/list.exp (test_forward_search): Update line number to
10955 reflect new statement.
10956
10957Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10958
10959 * gdb.base/signals.exp: Reinitialize searched source directories
10960 after gdb_start call.
10961
10962Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
10963
10964 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
10965 * gdb.stabs/Makefile.in: Likewise.
10966
10967 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
10968 change. Instead split the tests into smaller pieces.
10969 * gdb.disasm/hppa.s: Corresponding changes.
10970
10971Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10972
10973 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10974 Quote ^C when passing it to stty. For some shells ^ is a pipe.
10975
10976 * gdb.base/funcargs.exp: Modify many tests so that every test
10977 either passes or fails. Make some test names unique.
10978
10979Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10980
10981 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
10982 Call stty to set interrupt character.
10983
10984 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
10985 for HP assembler versus GNU assembler based on actual behavior of
10986 $(CC), rather than assuming that $(AS) is always the GNU assembler.
10987
10988 * TODO: Suggest a few more stepping tests.
10989
10990Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
10991
10992 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
10993 restart GDB for h8300 after a continue.
10994 (return): Add pattern to match a29k-udi behavior.
10995 * gdb.base/nodebug.exp: Remove obsolete comment.
10996 * gdb.base/regs.exp: New file, testing of register displays.
10997 * gdb.base/return.exp: Fix typo in reference to $objdir.
10998 * gdb.base/whatis.exp: Always start with a fresh GDB.
10999
11000Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11001
11002 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
11003 higher, these tests generate a lot of output.
11004
11005Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11006
11007 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
11008 code following the catch silently ignored some errors; without the
11009 catch they should be thrown like any other tcl error. Also, the
11010 catch used "" instead of {} which meant all the callers who wanted
11011 to include one of the characters "[]$ had to quote it an extra time.
11012 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
11013 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
11014 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
11015 Remove extra quoting.
11016
11017Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
11018
11019 * gdb.base/commands.exp: Make test names unique; every test either
11020 passes or fails. Update some comments.
11021
11022 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
11023
11024Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11025
11026 The following fixes a FAIL caused by the fact that the alpha stabs
11027 configuration didn't use the ".if alpha" code in weird.def.
11028 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
11029 bit pointer, so the 32 bit version works even on the alpha.
11030 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
11031 Remove the stuff which allowed us to have separate versions for
11032 alpha and everything else.
11033
11034 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
11035 regexp which "info func operator\[\](" is supposed to match. Fix
11036 string to send to GDB. Note that GDB still doesn't work right. Add a
11037 new test for "info func .perator\[\](" which GDB does handle correctly.
11038
11039 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
11040
11041Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11042
11043 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
11044 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
11045 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
11046 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
11047 it makes the tests harder to understand and confuses test-o-matic.
11048 The preferred style is that each test provides a PASS or a FAIL,
11049 and has a unique message (e.g. "continue #54" not just "continue")
11050 which is the same for the pass and the fail.
11051 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
11052 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
11053 to lib/gdb.exp.
11054 * gdb.base/printcmds.exp: Use test_print_accept. Remove
11055 prt_accept which was basically the same thing. Likewise for
11056 test_print_reject and prt_reject.
11057 * lib/gdb.exp (test_print_reject): Add some more error message
11058 patterns to match from the former printcmds.exp (prt_reject).
11059 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
11060 One defect of the passcount stuff is that some of it failed to
11061 report XPASS where appropriate.
11062 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
11063 stuff before and after arg in expected pattern.
11064 (test_paddr_operator_functions): Re-do test without print_addr_of;
11065 this is the only test which seems to want extra stuff there.
11066
11067Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11068
11069 * gdb.base/nodebug.exp: Update new tests to reflect improved
11070 wording of gdb output.
11071
11072 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
11073 and "ptype" work on variables in files compiled without -g.
11074 Replaces commented out "maint print msymbol" tests.
11075
11076Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11077
11078 * gdb.base/setvar.c (dummy): Call malloc.
11079
11080 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
11081 losing with the irix4 sed.
11082
11083 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
11084 ALRM" on irix4.
11085
11086Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11087
11088 * TODO: Remove items about corefile.exp testing new exec-file and
11089 backtrace; both are now done. Add items about printing enums.
11090
11091Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11092
11093 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
11094 "get signal $thissig" test fails.
11095
11096 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
11097
11098Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11099
11100 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
11101 compiler warning with dec alpha compiler.
11102
11103 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
11104 extra \n from gdb_test call (this explains why the prompt test
11105 that I removed yesterday was there).
11106 (user_defined_command_test): Remove extra \n and prompt test.
11107
11108 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
11109 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
11110 doesn't exist.
11111 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
11112 Also remove alpha workaround, which turns out to be because
11113 SIGABRT == SIGLOST.
11114
11115 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
11116
11117 * gdb.base/help.exp: Don't test "help show".
11118
11119Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11120
11121 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
11122 "set print address" is on.
11123 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
11124 pass prompt to gdb_test; gdb_test already looks for the prompt.
11125
11126 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
11127
11128 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
11129 was a vestige of the manual TESTSTRATEGY, and the purpose of it
11130 was to make sure that gdb can read a core file. But (a) the "read
11131 the corefile" part didn't make it to a1-selftest.exp, we just
11132 delete the corefile after creating it, and (b) we test reading
11133 corefiles in corefile.exp anyway. Also, this test left around a
11134 xgdb process on Solaris.
11135
11136 * gdb.base/corefile.exp: Also test backtrace.
11137
11138Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
11139
11140 * gdb.base/commands.exp: Test a simple user defined command with
11141 arguments and if/while statements; verify the full user command is
11142 printed by "show user".
11143
11144 * gdb.base/commands.exp: Test if/while commands as part of a
11145 breakpoint command list; verify they appear in breakpoint
11146 information.
11147
11148Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11149
11150 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
11151 than by dividing by zero.
11152
11153Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
11154
11155 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
11156 performing an inferior call with watchpoints enabled.
11157 * gdb.base/watchpoint.c (main): Delete second unnecessary read
11158 call.
11159
11160Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11161
11162 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
11163 of "file" command.
11164
11165 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
11166 Add additional pattern for when "int operator int(void);" appears
11167 in a different order.
11168
11169Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11170
11171 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
11172
11173 * gdb.base/help.exp: Replace most of docstrings for "info signals"
11174 and "signal" with ".*".
11175
11176Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11177
11178 * TODO: Add note about "handle all nostop".
11179
11180 * gdb.base/{sigall.c, sigall.exp}: New test.
11181 * gdb.base/Makefile.in: Add it.
11182
11183Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
11184
11185 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
11186 when invoking GDB, suppresses any windowing interface.
11187
11188Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
11189
11190 * config/sim-gdb: New file, simulator testing support.
11191
11192Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
11193
11194 * gdb.base/interrupt.exp: Test calling func1 twice.
11195
11196Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
11197
11198 * gdb.base/list.exp (test_forward_search): Set timeout higher
11199 when we'll be getting lots of output from gdb.
11200
11201 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
11202 "init_malloc" to after the expect statement. Run it if that
11203 regexp is taken, but also for two others which happen if source
11204 cannot be found.
11205
11206Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11207
11208 * gdb.base/printcmds.exp: New test, for printing register before
11209 program is running.
11210
11211Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11212
11213 * gdb.base/list.exp: Correct some alternate expect patterns
11214 to reflect changes in list1.c.
11215
11216Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11217
11218 * TODO: Add item regarding large frames.
11219
11220 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
11221
11222 * TODO: Remove item about enabling return.exp; it
11223 is enabled. Suggest a few more "return" tests.
11224
11225Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11226
11227 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
11228 anonymous unions.
11229
11230Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11231
11232 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
11233 and pr-5646.o, so "make" is the same as "make all", not "make
11234 pr-4975.o".
11235
11236Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
11237
11238 * gdb.base/list.exp: Adjust expectations to reflect changes in
11239 list1.c.
11240 (test_forward_search): New test proc.
11241 * gdb.base/list1.c (long_line): New function, has long source line.
11242
11243Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
11244
11245 * gdb.base/a1-selftest.exp: Change initial stepping to know about
11246 additional line of code that was added.
11247
11248Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
11249
11250 * gdb.disasm/hppa.s: Break the large branching tests into smaller
11251 tests so as not to overflow expect's input buffers.
11252 * gdb.disasm/hppa.exp: Corresponding changes.
11253
11254Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11255
11256 Beginnings of template debugging tests.
11257 * gdb.c++/templ-info.cc: New file to test for template
11258 debugging capability of the compiler.
11259 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
11260 templ-info.cc.
11261 * gdb.c++/templates.cc: Add explicit template instantiations
11262 to enable compiling with -fno-implicit-templates. Add destructor
11263 and 'value' method to T5 class for template tests.
11264 * gdb.c++/templates.exp: Add testcases for printing of template
11265 types, setting breakpoints on template methods and calling a
d63a86f8 11266 template method.
c906108c
SS
11267
11268Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
11269
11270 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
11271 branch target since some assemblers (gas-2.5) may emit a
11272 relocation for the branch instead of resolving it in the
11273 assembler.
11274
11275Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11276
11277 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
11278 through signal handler.
11279
11280Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11281
11282 * configure.in (*-*-netware): Use config/mt-netware.
11283
11284 * config/mt-netware: New file.
11285 * config/mt-i386-netware: Removed, separate configs for different
11286 netware architectures are no longer needed now that we have
11287 --with-headers.
11288
11289Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11290
11291 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
11292 by the recent changes to use ANSI C arithmetic conversions.
11293
11294Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11295
11296 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
11297 bug involving using inferior_pid to figure out whether to select a
11298 frame.
11299
11300Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
11301
11302 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
11303 match the current disassembler output.
11304
11305Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
11306
11307 * gdb.fortran/exprs.exp: Expect VOID instead of void.
11308 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
11309 types, expect "int" as type of integer values (for now).
11310
11311Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
11312
11313 * gdb.base/commands.exp: New tests for if/while commands.
11314
11315Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
11316
11317 * lib/gdb.exp (runto): Replace sub-pattern for hex value
11318 by .*, since hex values have different syntax in Chill mode.
11319
11320Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11321
11322 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
11323 linefeed from expect pattern for repeated types with indices > 9.
11324
11325Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
11326
11327 First part of Fortran test suite.
11328 * gdb.fortran: New directory.
11329 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
11330
11331Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11332
11333 * gdb.base/default.exp: Update expect pattern for load command
11334 without arguments.
11335
11336Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11337
11338 * configure.in: Change i386 to i[345]86.
11339 * gdb.base/configure.in: Likewise.
11340 * gdb.c++/configure.in: Likewise.
11341 * gdb.chill/configure.in: Likewise.
11342
11343Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
11344
11345 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
11346 patterns, since that is not a valid context for comments.
11347
11348Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
11349
11350 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
11351 repeated types and repeated types with indices > 9.
11352
11353Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
11354
11355 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
11356 2417; old bug has been fixed.
11357
11358Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
11359
11360 * gdb.base/interrupt.exp: When trying to wake up the inferior,
11361 send the newline ourselves instead of assuming gdb_test will do
11362 so when passed an empty input string.
11363
11364 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
11365 stabs testcode.
11366
11367Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11368
11369 * lib/gdb.exp (gdb_test): Don't send anything if the first
11370 argument is an empty string. This makes cases where we want to
11371 match output that is already in expect's buffers (for example,
11372 matching a breakpoint after gdb_run_cmd has been called) work
11373 reliably.
11374
11375Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11376
11377 * config/netware.exp: New file.
11378
11379Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11380
11381 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
11382 the -B and -L prefixes so we can find the debugging stub.
11383
11384 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
11385 there and we are using the gcc from the tree.
11386
11387 * gdb.base/types.c: Removed.
11388
11389 * gdb.base/configure.in: Look for makefile fragments in ../config.
11390 Recognize i386-*-netware.
11391 * gdb.c++/configure.in: Likewise.
11392
11393Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11394
11395 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
11396 the correct TCL syntax.
11397
11398Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11399
11400 * gdb.base/opaque.exp: use runto instead of messing around with
11401 breakpoints. Simplify by using gdb_test.
11402
11403 * gdb.base/bitfields.exp: restart between tests on netware targets
11404 because breakpoints aren't relocated after target death. Run
11405 processes to completion.
11406
11407 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
11408
11409Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
11410
11411 * Makefile.in: Remove extra tabs that confuse some versions
11412 of "make". Use the newly built gdb to test with by default,
11413 rather than the first one in the tester's search path.
11414
11415Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
11416
11417 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
11418
11419 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
11420 condition help.
11421
11422Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11423
11424 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
11425
11426 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
11427 running.
11428 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
11429 * gdb.base/funcargs.exp: Likewise.
11430
11431 * gdb.base/bitfields.exp: Simplify by using gdb_test.
11432 * gdb.base/funcargs.exp: Likewise.
11433
11434 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
11435 message is "".
11436
11437Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11438
11439 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
11440 return,signals,twice}.exp: Handle non-existant binaries
11441 consistantly.
11442
11443 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
11444 * gdb.base/Makefile.in: Don't try to generate a core dump, we
11445 might testing a cross development system.
11446
11447Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11448
11449 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
11450 runtest script is relative to ${srcdir}, not ${rootdir}.
11451
11452Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
11453
11454 * gdb.base/signals.exp: Allow for optionality of breakpoint
11455 address.
11456
11457Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11458
11459 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
11460
11461Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11462
11463 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
11464 for size_t definition.
11465 * gdb.c++/templates.cc: Likewise
11466
11467 * config/mt-i386-netware: New file.
11468
11469 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
11470 defined.
11471
11472 * gdb.base/Makefile.in: Added support for systems that name core
11473 files by appending "core" to the program name.
11474 * gdb.base/a1-selftest.exp: Likewise.
11475
11476Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11477
11478 * gdb.base/return.exp: Add comment and message for `return double'
11479 test failure on Sparc Solaris.
11480
11481Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
11482
11483 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
11484
11485Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11486
11487 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
11488 from optimizing them away.
11489 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
11490 patterns to include default constructors and assignment operators,
11491 to match gcc versions beyond 2.5.8. Accept any cplus demangling
11492 character in the output of the virtual base pointer.
11493
11494Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11495
11496 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
11497 expression match in print_addr_of to avoid unintented matches.
11498 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
11499 versions up to 2.5.8.
11500
11501Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11502
11503 * gdb.base/list.exp: Tweak alternate pattern for listing of an
11504 included file to run under newer versions of expect.
11505 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
11506 consecutive >'s in templates to accomodate recent cplus-dem.c change.
11507 Remove xfail for the virtual table of BDDHookV.
11508
11509Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
11510
11511 * lib/gdb.exp (string_to_regexp): Set a default result.
11512 (default_gdb_start): Fix misleading message.
11513
11514Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
11515
11516 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
11517 Remove all CC, etc definitions.
11518 * config/mt-hpux: New file.
11519 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
11520 (CFLAGS, LDFLAGS): Define.
11521 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
11522
11523 * Makefile.in (site.exp): Don't insert host_os, etc.
11524 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
11525 (distclean): Check existence of subdir.
11526 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
11527 * gdb.base/Makefile.in: General cleanup and simplification.
11528 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11529 to build executables. Use default rule to build .o files.
11530 (EXPECT, RUNTEST, CC): Fix relative pathname.
11531 (site.exp): Don't insert host_os, etc.
11532 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
11533 and/or SIGUSR1 defined.
11534 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
11535 * gdb.c++/Makefile.in: General cleanup and simplification.
11536 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11537 (CFLAGS): Remove.
11538 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
11539
11540Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
11541
11542 * gdb.base/recurse.exp: Misc changes to get tests running again
11543 after Kung's changes to the watchpoint code.
11544 * gdb.base/watchpoint.exp: Likewise.
11545
11546Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
11547
11548 * lib/gdb.exp (string_to_regexp): Convert {\} also.
11549
11550Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
11551
11552 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
11553 * lib/gdb.exp (default_gdb_start): Define.
11554 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
11555 gdb.base/funcargs.exp, gdb.base/opaque.exp,
11556 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
11557 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
11558 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
11559 Don't call gdb_target_udi in between tests.
11560
11561Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11562
11563 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
11564 (which was basically just a local version of the same thing). In
11565 addition to avoiding duplication, gdb_test_exact is faster.
11566 * lib/gdb.exp (gdb_test_exact): Fix typo.
11567
11568 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
11569 don't give an error.
11570
11571 * gdb.base/term.exp: Call delete_breakpoints before starting.
11572
11573 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
11574 (t10): Add comment.
11575
11576Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11577
11578 Reorganization of the GDB Test Suite.
11579
11580 * gdb.base: New directory, contains all the basic tests.
11581 * gdb.c++: New directory, tests specific to C++.
11582 * gdb.chill: New directory, tests specific to Chill.
11583 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
11584 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
11585 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
11586 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
11587 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
11588 t30-31 to chill).
11589 * */gdbme.*: Rename to match appropriate expect scripts.
11590 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
11591 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
11592 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
11593 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
11594 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
11595 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
11596 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
11597 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
11598 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
11599 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
11600 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
11601 gdb.c++/virtfunc.cc: New names of C++ files.
11602 * gdb.chill/chillvars.ch: New name of Chill file.
11603 * gdb.base/configure.in, gdb.c++/configure.in,
11604 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
11605 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
11606 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
11607 * configure.in (configdirs): Update to reflect directory changes.
11608 (target_abbrev): No longer define for any configuration.
11609 * Makefile.in: Cosmetic improvements to header comments.
11610
11611Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
11612
11613 Various changes to gdb.t31:
11614
11615 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
11616 * gdbme.ch: Make all key-words and predefineds be upper-case.
11617 * chillvars.exp: Expect key-words and predefinds in upper-case.
11618
11619 * chillvars.exp: Use gdb_test_exact many places.
11620 Change expected output for arrays (which now includes index labels).
11621
11622 * pr-5020.exp, gdme.ch (module PR_5020):
11623 New test, for PR-5020.
11624
11625Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
11626
11627 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
11628 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
11629
11630Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
11631
11632 * Makefile.in: Fix bit-rot in definitions of CHILL,
11633 CHILL_FOR_TARGET and Chill_LIB.
11634 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
11635 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
11636 CHILL, and CHILL_LIB.
11637
11638Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
11639
11640 * Revert the previous changes. Please see Rob's directory
11641 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
11642
11643Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
11644
11645 * Makefile.in, configure.in, config/mips-gdb.exp,
11646 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
11647 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
11648 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
11649 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
11650 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
11651 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
11652 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
11653 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
11654 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
11655 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
11656 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
11657 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
11658 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
11659 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
11660 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
11661 changes from 94Q1.
11662
11663Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
11664
11665 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
11666 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
11667 Rob's new testing fragments.
11668
11669Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
11670
11671 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
11672 lib/gdb.exp: Replace error proc calls with perror.
11673
11674Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11675
11676 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
11677 version also, match on casted version strings, and match on
11678 gdb startup case where the line numbers might be messed up.
11679
11680Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
11681
11682 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
11683 (CFLAGS): Delete it from here.
11684
11685Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
11686
11687 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
11688
11689Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
11690
11691 * Makefile.in (RUNTEST): Default to just "runtest".
11692
11693Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11694
11695 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
11696 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
11697 the code has been restructured.
11698
11699Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11700
11701 * gdb.t00/default.exp (set write): Allow any number of \r and/or
11702 \n, not just one of each.
11703
11704 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
11705 /bin/cc gives a warning if you do.
11706
11707Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
11708
d63a86f8 11709 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
11710 __t10ListS_link1ZUiRCUiPT0
11711
11712Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11713
11714 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
11715 on local variables in recursive functions.
11716
11717 * gdb.t07/Makefile.in: Build the new test.
11718
11719Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11720
11721 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
11722 directly. Instead compare the return values from actual calls.
11723
11724Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
11725
11726 * Makefile.in (check): Set TCL_LIBRARY for runtest.
11727
11728Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11729
11730 * From Peter Schauer with minor modifications.
11731 * gdb.t15/return.exp (return_tests): Handle targets where "return"
11732 stops in mid-line in the caller. Add xfail for returning a float
11733 value on X86 targets.
11734
11735Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11736
11737 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
11738 to avoid expect lossage.
11739 (fmem_LRbug_tests): Likewise.
11740 * gdb.disasm/hppa.s: Corresponding changes.
11741
11742 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
11743 conditions to work with latest dejagnu/expect.
11744
11745 * gdb.t15/funcargs.exp (finish from indirect call): No longer
11746 expected to fail on the PA.
11747 (backtrace in call with trampolines): Explicitly require main
11748 to be frame #1 (no trampolines should show up in backtrace).
11749
11750 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
11751 "continue -expect".
11752 * gdb.t06/break.exp: Likewise.
11753 * gdb.t07/watchpoint.exp: Likewise.
11754 * gdb.t13/bitfields.exp: Likewise.
11755 * gdb.t15/{funcargs,return}.exp: Likewise.
11756 * gdb.stabs/weird.exp: Likewise.
11757 * config/{mips,udi}-gdb.exp: Likewise.
11758
11759 * hppa.sed: Enclose comments within a sed command to avoid
11760 losing with the old OSF1 sed.
11761
11762Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11763
11764 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
11765 sequent dynix.
11766 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
11767 * gdb.t15/funcargs.exp: Conditionally step again to really
11768 finish from marker_call_with_trampolines. Handle the case where
11769 the first step from within call_with_trampolines already steps
11770 us back to main.
11771 * gdb.t15/gdbme.c: Add comment to closing brace of
11772 call_with_trampolines for funcargs.exp.
11773
11774Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11775
d63a86f8 11776 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
11777 Fix typo(s).
11778
11779Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11780
11781 * gdb.t07/gdbme.c: More code for watchpoint testing.
11782
11783 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
11784 "Hardware watchpoint" throughout file.
11785 (test_watchpoint_triggered_in_syscall): New test.
11786 (test_complex_watchpoint): New test.
11787
11788Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11789
11790 * gdbme.c (call_with_trampolines): New function to try and step
11791 into. Tests trampoline problems on the PA.
11792
11793 * funcargs.exp (localvars_in_indirect_call): No longer expect
11794 stepping into indirect call to fail on PAs.
11795 (test_stepping_over_trampolines): New test.
11796
11797Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11798
11799 * TODO: Add suggestions for static member function tests, and
11800 completion tests.
11801
11802Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11803
11804 * TODO: Add suggestions for "p/a" tests.
11805
11806 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
11807 (default_gdb_exit): Replace all the hair with sending "quit" to
11808 the process with a simple close.
11809
11810Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11811
11812 * TODO: Add suggestions for shared library tests.
11813
11814Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11815
11816 * TODO: Add suggestions for x/s tests.
11817
11818Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11819
11820 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
11821 "enable once", and "enable breakpoints once" with ".*".
11822
11823Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11824
11825 * TODO: Add suggestions about structure passing tests.
11826
11827Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11828
11829 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
11830 the primary1 test, use work around if __GNUC__ < 2.
11831 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
11832 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
11833 Test for bad output rather than waiting for timeout. Issue
11834 second continue only if first continue failed.
11835
11836Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11837
11838 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
11839 operator[] test with gdb_test because the old code didn't seem to
11840 be getting the quoting right with the new dejagnu.
11841
11842Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
11843
11844 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
11845 one from the path.
11846 * Makefile.in: Use a fresh expect if there is one, use runtest
11847 from the src tree if there is one.
d63a86f8 11848
c906108c
SS
11849Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11850
11851 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
11852 next over recursive call. Revise the tests from that point on
11853 (which had been skipped) to match GDB's actual (correct) output.
11854
11855 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
11856 with next over a breakpoint whose condition is false.
11857
11858 * gdb.t00/help.exp: Comment out "help set print" tests just like
11859 (and for same reason as) "help set" test.
11860
11861Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11862
11863 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
11864 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
11865
11866Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11867
11868 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
11869 necessary gdb_target_udi.
11870
11871 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
11872
11873 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
11874 1838 and 2417; they are fixed.
11875
11876 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
11877 gdb.t03/ptype.exp (ptype structure, ptype union):
11878 Remove xfails; the test is looser than when the xfails were added.
11879
11880 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
11881 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
11882
11883 * gdb.t01/run.exp: Only run shell test if isnative.
11884
11885 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
11886 since "run" automatically loads if necessary. Call gdb_target_udi
11887 after the "file" since "file" kills any execution target.
11888
11889 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
11890 GDB. GDB doesn't work that way (not anymore at least) on UDI.
11891 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
11892 argument for UDI.
11893
11894Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11895
11896 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
11897
11898 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
11899
11900Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11901
11902 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
11903 properly quoting regexps. This makes the second argument to
11904 demangle a fixed string, which matches the callers, instead of a
11905 shell-style pattern which is what the previous implementation
11906 used. Update some of the callers.
11907
11908Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11909
11910 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
11911 (comib_nullified_tests): Fix typo.
11912 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
11913 strings. No longer expected to fail.
11914
11915 * gdb.disasm/hppa.s (addib_tests): Fix typo.
11916 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
11917 strings. No longer expected to fail.
11918
11919 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
11920 string. No longer expected to fail.
11921
11922Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11923
11924 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
11925 No longer expected to fail.
11926
11927 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
11928 string. No longer expected to fail.
11929
11930Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11931
11932 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
11933 only in the names (I probably got most of them). I was even
11934 generous with some which differed in underscores in names, and
11935 probably missed a few, and I *still* was able to remove almost a
11936 third of the file with almost no impact on testsuite coverage.
11937
11938Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11939
11940 * gdb.t00/default.exp: Match udi_attach error message as well as
11941 the one from child_attach.
11942
11943 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
11944
11945 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
11946
11947 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
11948 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
11949
11950 * Move test with enums and partial symbols back to
11951 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
11952 Reverts the change of 26 May 93. Per today's change to
11953 stabs.texinfo, the behavior that weird.exp was expecting was
11954 unreasonable; what is important is that the compiler+gdb get
11955 things right, which happens with a recent gcc. Also fix the test
11956 to deal with native compilers which put out the stab gdb can't
11957 deal with.
11958
11959Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11960
11961 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
11962 in the names. The main thing these accomplish is to slow things down.
11963 Many more such duplicates surely remain.
11964
11965 * gdb.t00/help.exp: Comment out "help support" test just like
11966 (and for same reason as) "help set" test.
11967
11968Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
11969
11970 * gdb.t06/break.exp: Remove setup_xfails for
11971 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
11972 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
11973 about known bug in gcc to include up through 2.5.8.
11974 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
11975 well as "_vb$".
11976 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
11977 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
11978 with latest gcc and gdb.
11979 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
11980 well as "_vb$".
11981
11982Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11983
11984 * configure.in (hppa*-*-*): Also configure and build stabs-only
11985 tests.
11986
11987Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11988
11989 * gdb.t10/hppa.mt: A makefile fragment for the PA.
11990 * gdb.t10/configure.in (hppa*-*-*): Use it.
11991
11992Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11993
11994 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
11995
11996Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11997
11998 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
11999 versions prior to 1.13.5.
12000
12001Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12002
12003 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
12004 the prompt is at the start of a line.
12005
12006Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12007
12008 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
12009 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
12010 in the copr tests now.
12011 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
12012 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
12013 expected to fail.
12014
12015Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
12016
12017 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
12018 gdb.t31/chillvars.exp, lib/gdb.exp:
12019 Tweak to run under either version of expect.
12020 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
12021 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
12022 * gdb.t11/list.exp: Remove extraneous whitespace.
12023
12024Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12025
12026 * gdb.t16/printcmds.exp (test_print_strings): Accept
12027 "(unsigned char *) " before the string.
12028
12029 * TODO: Add notes about printing of fancy types and GDB expressions.
12030
12031Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
12032
12033 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
12034 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 12035 if doing mips-idt-ecoff.
c906108c
SS
12036
12037Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
12038
12039 * Most .exp files: Tweak to run under either version of expect.
12040
12041Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12042
12043 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
12044 xfails; I'm not sure why they are failing, but not because of PR 1806.
12045
12046Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
12047
12048 * config/unix-gdb.exp: Remove gdb_unload cause it's already
12049 defined in lib/gdb.exp.
12050
12051Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12052
12053 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
12054 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
12055 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
12056 have to be typeless.
12057
12058Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12059
12060 * TODO: Add suggestion for copyright year test.
12061
12062Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
12063
12064 * configure.in (*-*-lynxos*): Add stabs tests.
12065
12066Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
12067
12068 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
12069 so insert a tab before any assembler directive in column zero.
12070
12071 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
12072 stores.
12073 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
12074 stores.
12075 (fpu_short_memory_tests): Likewise.
12076
12077Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12078
12079 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
12080 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
12081 .stabs directives in comments.
12082
12083Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12084
12085 * TODO: New file, describing tests we could write.
12086 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
12087
12088Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12089
12090 * gdb.t06/signals.exp: Add kludge to force re-sync.
12091
12092 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
12093 to xgdb instead of gdb, get out of gdb.
12094
12095Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
12096
12097 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
12098 for info.
12099
12100Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
12101
12102 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
12103 * gdb.stabs/configure.in (hppa*-*-*): Use it.
12104 * gdb.stabs/hppa.sed: New sed script for the PA.
12105
12106Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12107
12108 * gdb.stabs: Re-write weird.def and configuration to use sed
12109 instead of cpp. sed is portable and POSIX; cpp is neither.
12110
12111Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12112
12113 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
12114
12115Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12116
12117 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
12118
12119Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12120
12121 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
12122 "_vb$".
12123 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
12124 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
12125
12126Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12127
12128 * lib/gdb.exp: Comment out code which depends on non-existent
12129 `transform' procedure.
12130
12131Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
12132
12133 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
12134 * lib/gdb.exp: Transform tool name.
12135 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
12136 1.1's new error handling system.
12137
12138Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12139
12140 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
12141
12142Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12143
12144 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
12145 They made pattern matching so slow that timeouts happened on
12146 heavily loaded systems. Now any output from "show print" which
12147 gets us back to the GDB prompt is a PASS.
12148
12149Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
12150
12151 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
12152
12153Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12154
12155 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
12156
12157 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
12158 It is not from PR 3220.
12159
12160Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12161
12162 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
12163 just started failing because they depended on the order the
12164 subcommands are presented, or exact docstring text. This kind of
12165 test is a pain and has minimal benefit.
12166
12167Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12168
12169 * gdb.t09/corefile.exp: At end of test, use "core" command with
12170 no arguments.
12171
12172Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
12173
12174 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
12175 17}/Makefile.in: Make it possible to run the testsuite with Sun
12176 make and CC = cross gcc by adding explicit build rules for .o
12177 files.
12178
12179Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12180
12181 * gdb.t15/funcargs.exp: Don't put comments on same line as
12182 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 12183
c906108c
SS
12184Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12185
12186 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
12187
12188Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
12189
12190 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
12191 * gdb.t20/inherit.exp: remove three dumplicate entries.
12192
12193Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12194
12195 * gdb.t06/break.exp: For "next over recursive call", fail on any
12196 incorrect output, not just on "factorial (value=2)".
12197
12198Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12199
12200 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
12201 working now. Add an xfail if accesing a bss variable causes
12202 a memory error if the target is not yet run.
12203
12204Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12205
12206 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
12207 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
12208 name of __st* demangling (2 strings). Did Kung really get the
12209 more than 95 others right without testing them?
12210
12211Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
12212
12213 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
12214
12215Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
12216
12217 * configure.in (configdirs): Add gdb.disasm
12218 * gdb.disasm: New directory for GDB disassembler tests.
12219 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
12220
12221Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12222
12223 * gdb.t00/help.exp: Don't test "help set".
12224
12225 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
12226 from within expect statements. None of these happen anymore and
12227 they cause regressions to be silently unnoticed.
12228
12229 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
12230 messages) about known failures with gcc cygnus-2.4.5-930417.
12231
12232 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
12233 comp-info.exp so it gets built if it doesn't exist.
12234
12235 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
12236 it is no longer used.
12237 * gdb.t13/comp-info.c: Removed.
12238
12239Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12240
12241 * gdb.t06/signals.exp: Add xfail for sun3.
12242
12243Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12244
12245 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
12246 relevant because ^C doesn't get sent but failure can be reproduced
12247 interactively).
12248
12249Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12250
12251 * gdb.stabs/alpha.mt: New configuration file for alpha.
12252 * gdb.stabs/configure.in: Use it.
12253 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
12254 sharing with alpha.mt, redefine long to word via preprocessor.
12255 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
12256 for alpha.
12257 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
12258 native cc.
12259 * gdb.t00/teststrategy.exp: Change expect string so that we
12260 consume the `(xgdb)' from the command echo and from the gdb prompt.
12261 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
12262 gdb currently compares all values as long, so this failure probably
12263 applies to any configuration where LONGEST is bigger than a target int.
12264 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
12265 with gcc.
12266 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
12267 to handle opaque pointers, gcc is.
12268 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
12269 as first argument. Include <sys/types.h> and change all operator
12270 new definitions to use size_t.
12271 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
12272 now that we use size_t.
12273
12274Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12275
12276 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
12277 a long or float array cast all array members to the same type.
12278 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
12279 with 64 bit longs.
12280 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
12281 on alpha.
12282 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
12283
12284Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12285
12286 * gdb.t24 (demangle.exp): Constructors of templates have names like
12287 vector<int>::vector(int) not vector<int>::vector<int>(int). See
12288 section 14.6 of the ARM.
12289
12290 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
12291 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
12292 accomplish little and slow down the testsuite.
12293
12294 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
12295 Accept spaces various places.
12296
12297Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12298
12299 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
12300 with watchpoint enabled.
12301
12302 * Makefile.in: Remove definition of CC and remove the second
12303 definition of CXX (the "CXX = gcc" one remains). These definitions
12304 were causing backquotes to be expanded within backquotes, which
12305 doesn't work.
12306
12307Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
12308
12309 * gdb.t17/callfuncs.exp: Add "return 0" to end.
12310
12311Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12312
12313 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
12314 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
12315 by mips cc and contains no stabs entries.
12316
12317Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
12318
12319 * config/vx-gdb.exp: Use fake device to load files rather than
12320 NFS.
12321 * lib/gdb.exp: New proc to do "file" command.
12322 * config/unix-gdb.exp: Use new "file" proc.
12323
12324Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12325
12326 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
12327 Rework board rebooting slightly.
12328 (gdb_exit): Don't exit from the remote shell; there isn't one.
12329 * gdb.stabs/weird.exp: If a program is being debugged already,
12330 kill it.
12331 * gdb.t04/setvar.exp: Stop and restart gdb.
12332 * gdb.t05/expr.exp: Likewise.
12333 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
12334 restart gdb and reload the program.
12335 * gdb.t08/opaque.exp: Likewise.
12336 * gdb.t12/scope.exp: Likewise.
12337 * gdb.t13/bitfields.exp: Likewise.
12338 * gdb.t15/funcargs.exp: Likewise.
12339 * gdb.t20/classes.exp: Likewise.
12340 * gdb.t03/ptype.exp: Increase timeout.
12341 * gdb.t16/printcmds.exp (test_print_string_constants,
12342 test_print_array_constants): Likewise.
12343 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
12344 * gdb.t20/classes.exp (do_tests): Likewise.
12345 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
12346
12347Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
12348
12349 * gdb.stabs: Renamed *wierd* to *weird*.
12350
12351Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12352
12353 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
12354 for timeout. Add "known gcc 2.4.5 bug" to failure message.
12355
12356Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12357
12358 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
12359 (do_tests): Remove xfail for whatis on one_var and two_var.
12360
12361Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
12362
12363 * Makefile.in: Made cross building work better by adding
12364 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
12365
12366Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12367
12368 * gdb.t15/{return.c,return.exp,Makefile.in}:
12369 New test, currently commented out.
12370
12371Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
12372
12373 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
12374 still running and removes the leftover named socket so GDb can do
12375 clean restarts.
12376
12377Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
12378
12379 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
12380 console, not GDB.
12381 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
12382 cross testing works better with "make check"
12383 * config/unix-gdb: Use default procedures for exit and version.
12384 * config/vx-gdb.exp: Cleaned up and massaged back to working order
12385 with the newest VxWorks.
12386
12387Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12388
12389 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
12390 old form.
12391
12392 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
12393 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
12394
12395 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
12396
12397 * config/unix-gdb.exp: Remove this version of gdb_exit
12398 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
12399 Rob says he'll look at it when he gets back to testing boards.
12400
12401Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
12402
12403 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
12404 an expected fail for certain ptype commands.
12405
12406 * gdb.t20/classes.exp: Update expected results of "ptype class
12407 Base1" to account for the constructor that now appears in the type.
12408
12409Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
12410
12411 * configure.in (configdirs): Restore gdb.t04, which mysteriously
12412 disappeared from list.
12413 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
12414 "alldone" proc with call to cleanup and exit.
12415 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
12416 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
12417 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
12418 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
12419 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
12420 "alldone" proc with simple returns that suppress remaining
12421 tests. The alldone proc went away many months ago.
12422
12423Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12424
12425 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
12426
12427 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
12428
12429Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12430
12431 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
12432 as vax gdb will display them.
12433
12434Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12435
12436 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
12437 optimizers.
12438
12439 * scope.exp: Change "bad value for localval" messages so each one
12440 is unique.
12441
12442 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
12443 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
12444
12445 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
12446
12447Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12448
12449 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
12450 doesn't exist (due to optimization).
12451
12452Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12453
12454 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
12455 contains \r because the filename is long.
12456
12457 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
12458 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
12459
12460Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12461
12462 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
12463 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
12464 Ultrix.
12465 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
12466 int tests.
12467 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
12468
12469Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
12470
12471 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
12472
12473 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 12474 to match does not match the passing case but still matches the
c906108c
SS
12475 failing case.
12476
12477Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12478
12479 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
12480
12481Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
12482
12483 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
12484 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
12485 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
12486 Remove various versions of gdb_exit.
12487 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
12488 gdb_exit.
12489 * config/unix-gdb.exp: gdb_exit remains here, and should override
12490 the generic version, since it's doing a lot of wierd stuff that
12491 the other versions aren't. FIXME, fold it in, or abandon this
12492 version.
12493
12494Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12495
12496 * gdb.t24/demangle.exp: Add tests for PR 3220.
12497
12498Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12499
12500 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
12501
12502Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
12503
12504 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
12505 "i386-*-*". Works for i486 as well.
12506
12507 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
12508 bug, and expand domain of xfail to all SVR4 systems, since the
12509 actual problem is likely to be in generic SVR4 /proc support.
12510
12511Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12512
12513 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
12514
12515Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
12516
12517 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
12518 xfails for other systems. Match a missing 'Continuing.' as an
12519 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
12520
12521 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
12522 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
12523 Only issue warning for missing executables if -all option is used.
12524
12525 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
12526 file if -all option is used. It's like an unpredictable XFAIL.
12527
12528Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12529
12530 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
12531 for dynamically linked binaries.
12532
12533 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
12534
12535Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12536
12537 * gdb.t20/inherit.exp: Change message for "print tagless struct"
12538 to state that this is a known bug in old versions of g++.
12539
12540Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12541
12542 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
12543 while waiting for `Continuing'.
12544
12545Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
12546
12547 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
12548 in text, data, and bss.
12549 * gdb.t10/nodebug.c: Add local and global test variables for
12550 initialized and uninitialized data.
12551
12552Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12553
12554 * config/unix-gdb.exp (gdb_exit): Add "wait".
12555
12556Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12557
12558 * gdb.t06/signals.exp: xfail the continue from the handler for all
12559 targets.
12560
12561 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
12562 function with watchpoints enabled, the i386 call dummy starts with
12563 a call.
12564
12565 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
12566 386 bsd names its corefiles.
12567
12568Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
12569
12570 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
12571 compilers don't grok it.
12572 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
12573 with small octal ints rather than character constants, which
12574 are signed and might not fit if first promoted to int.
12575
12576Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
12577
12578 * gdb.t09/Makefile.in (clean): Remove corefile.
12579
12580Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12581
12582 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
12583
12584Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12585 and Jim Kingdon (kingdon@cygnus.com)
12586
12587 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
12588 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
12589 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
12590
12591Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12592
12593 * gdb.t17/interrupt.exp: Add xfail for hppa.
12594
12595Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12596
12597 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
12598 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
12599 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
12600 to determine signed-ness of bitfields and use the result to setup
12601 the xfail.
12602 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
12603 * gdb.t15/funcargs.exp: Use them to step until the second indirect
12604 call line is reached if necessary.
12605
12606Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12607
12608 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
12609
12610Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12611
12612 * gdb.t06/break.exp: Also test `clear' command.
12613
12614Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12615
12616 * gdb.t00/teststrategy.exp: Remove extra quote.
12617
12618 * gdb.t07/watchpoint.exp: Change xfail for calling function with
12619 watchpoint enabled to be for all non-68k machines.
12620
12621 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
12622
12623Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12624
12625 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
12626 targets use aout.mt instead of ecoff.mt as gas understands
12627 standard aout format.
12628
12629Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12630
12631 * lib/gdb.exp (runto): Don't insist that function we are running to
12632 was compiled with -g.
12633
12634 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
12635
12636 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
12637 to get back into the read system call.
12638 Accept leading newline in case where we woke it up.
12639
12640Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12641
12642 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
12643 to make the stabs test work on ecoff systems using gcc and -with-stabs.
12644 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
12645 enable ecoff configuration.
12646
12647Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12648
12649 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
12650
12651Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12652
12653 * gdb.t16/printcmds.exp: Add another printf test.
12654
12655Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
12656
12657 * configure.in: If configured -with-stabs on any target, add
12658 stabsdirs to configdirs.
12659
12660Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12661
12662 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
12663 fun" so pattern does not match the command itself.
12664
12665Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12666
12667 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
12668
12669Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12670
12671 * gdb.t17/interrupt.exp: Test for more things.
12672
12673Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12674
12675 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
12676 compiler arranges the code and line numbers.
12677
12678 * gdb.t17/interrupt.exp: Don't send \n after ^C.
12679
12680Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12681
12682 * gdb.t00/help.exp: Increase expect input buffer size.
12683
12684Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12685
12686 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
12687
12688 * gdb.t07/watchpoint.exp: Add xfail for hppa.
12689
12690 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
12691
12692 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
12693 [0-9]*, not just [0-9].
12694
12695Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12696
12697 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
12698
12699 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
12700
12701Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12702
12703 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
12704
12705Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12706
12707 * gdb.t06/signals.c: Add xfails for sun3.
12708
12709 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
12710
12711 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
12712 test_stepping tests.
12713
12714Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12715
12716 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
12717
12718 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
12719
12720 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
12721 rather than actually putting it through cpp twice.
12722
12723 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
12724
12725Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
12726
12727 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
12728 no longer needed.
12729
12730Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12731
12732 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
12733
12734 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
12735 C++ features prints as "struct", make it a pass, not an xfail.
12736
12737Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12738
12739 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
12740 Don't require VA to print as "class" rather than "struct".
12741
12742Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
12743
12744 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
12745
12746Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12747
12748 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
12749
12750Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12751
12752 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
12753 order.
12754
12755Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12756
12757 * gdb.t16/printcmds.exp: Add printf tests.
12758
12759 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
12760
12761 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
12762
12763Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
12764
12765 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
12766 pass counts, to counteract any existing or future setup_xfails.
12767
12768Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12769
12770 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
12771 {BEGIN,END}_COMMON for common block instead of STAB.
12772 * gdb.stabs/wierd.exp: Add xfail for rs6000.
12773
12774 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
12775 intp_var should be N_GSYM not N_LSYM.
12776 wierd-aout.S: Use a label for the value of the N_SO.
12777 wierd.def: Remove all backslashes.
12778 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
12779
12780Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12781
12782 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
12783 get the expected next to inheritance3.
12784
12785Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12786
12787 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
12788 now that gcc-2.4 gets it right.
12789
12790Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12791
12792 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
12793
12794 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
12795 generating comp-info.exp which works for cross-compilation.
12796
12797Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
12798
12799 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
12800 "*-*-sysv4.*".
12801
12802Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
12803
12804 * gdb.t01/run.exp: Start with a fresh gdb.
12805 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
12806 SVR4.x.
12807
12808Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
12809
12810 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
12811 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
12812 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
12813 Makefile.in (distclean, realclean): Remove gdbme.c from list of
12814 things to remove.
12815
12816Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
12817
12818 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
12819 test cases from bug reports.
12820
12821Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
12822
12823 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
12824 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
12825 avoid spurious xfails.
12826 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
12827 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
12828 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
12829
12830Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
12831
12832 * gdb.t00/teststrategy.exp: Rework to provide more useful
12833 description of each test, fix problem with systems that define
12834 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
12835 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
12836 results for "next over recursive call" so timeouts aren't taken
12837 by error.
12838
12839Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
12840
12841 * gdb.t12/scope.exp: Test printing of variables before run.
12842
12843 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
12844 printed in wrong order due to sorting.
12845
12846Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
12847
12848 * gdb.t00/teststrategy.exp: Fix expected results for printing
12849 user entered string constant. Is array of char, prints with no
12850 address.
12851
12852 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
12853 commands.
12854 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
12855 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
12856 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
12857 of struct of char arrays.
12858 * gdb.t00/radix.exp: New tests for radix commands.
12859
12860Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
12861
12862 * gdb.t16/printcmd.exp: Print a variable before running program
12863 (with xfail for AIX).
12864
12865Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
12866
12867 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
12868
12869 * gdb.t16/printcmd.exp: Don't print variables before running program.
12870
12871 * gdb.t06/break.exp: Don't require envp argument to main.
12872
12873 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
12874
12875 * gdb.t02/whatis.exp, gdb.t11/list.exp:
12876 Add xfails for rs6000.
12877
12878 * gdb.t02/whatis.exp: Change other tests not to re-test something
12879 we already tested.
12880
12881 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
12882 each type used has a variable of that type.
12883
12884Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
12885
12886 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
12887
12888Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
12889
12890 * configure.in: change srctrigger to be a file, not a directory
12891
12892Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
12893
12894 * configure.in (mips-idt-ecoff*): Added trailing '*'.
12895
12896 * gdb.t11/list.exp: Fixed a couple of typos.
12897
12898Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
12899
12900 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
12901 is fixed and PR is closed.
12902 * gdb.t16 (gdbme.c): Add simple test string variable.
12903 * gdb.t16 (printcmds.exp): Add tests with simple test string
12904 variable, primarily for boundaries on "set print elements".
12905
12906Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
12907
12908 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
12909 Make leading 0's optional and don't expect a tab in the middle
12910 of the number.
12911
12912 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
12913
12914 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
12915 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
12916 don't end command passed to gdb_test with newline.
12917
12918 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
12919 signed keyword away, don't expect signed bitfields to be signed.
12920
12921 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
12922 printing with only as many 1's as are in the field as well as printing
12923 with 32 1's (see comment).
12924
12925Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
12926
12927 * gdb.t00/default.exp: Start with a fresh gdb.
12928 * configure.in (configdirs): Remove gdb.t31 until the chill
12929 compiler works again. It no longer is able to find chillrt0
12930 since it isn't in libchill.a anymore.
12931 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
12932 wierd.o, make more modular.
12933 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
12934 spurious newlines that caused problems.
12935
12936Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12937
12938 * Move test with enums and partial symbols from gdb.t03/ptype.exp
12939 to gdb.stabs/wierd.exp since GCC has worked around the bug.
12940 gdb.stabs/wierd.{exp,def}: Many new tests.
12941
12942 * gdb.t00/default.exp: update info line for new message.
12943
12944 * gdb.t02/{whatis.exp,gdbme.c}:
12945 Test that "char *" doesn't print as "caddr_t".
12946
12947Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12948
12949 * gdb.t00/help.exp: Use .* in place of some help messages which
12950 just changed.
12951 gdb.t00/default.exp: Update "info frame" test for new message.
12952 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
12953 Remove some xfails
12954
12955Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12956
12957 * gdb.t03/{gdbme.c,ptype.exp}:
12958 Add tests for typedef'd struct and union without tags.
12959 Also check "whatis" on a variable of a typedef'd enum without a tag.
12960
12961 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
12962 PRMS 1823; the bug still exists but isn't reproduced by this test
12963 anymore), and remove rs6000 XFAIL (the bug is fixed).
12964
12965 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
12966 duplicated from whatis.exp. For those that are left, accept
12967 "long", "long int", or "int" for long variables (whatis.exp already
12968 has an XFAIL for "int", so no need to fail it here).
12969
12970 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
12971 Deal with GCC's names for types now that GDB uses the compiler's names.
12972
12973 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
12974 setup_xfail's for sunos4. If we #defined the signed keyword away,
12975 don't expect GDB to know that char it is signed.
12976
12977 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
12978
12979Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
12980
12981 * configure.in (configdirs): Add gdb.t24 for C++ tests that
12982 should work on any system, regardless of debugging format.
12983 * gdb.t21/demangle.exp: Move to gdb.t24.
12984 * gdb.t24/demangle.exp: Move from gdb.t21.
12985 * gdb.t24/{Makefile.in, configure.in}: New files.
12986
12987Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12988
12989 * configure.in: Do gdb.stabs and C++ tests only for stabs.
12990 * gdb.stabs: New directory.
12991
12992Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12993
12994 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
12995 not just "Quit anyway?".
12996
12997Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
12998
12999 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
13000 that all setup_xfails are immediately followed by clear_xfails.
13001
13002Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
13003
13004 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
13005 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
13006 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
13007 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
13008 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
13009 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13010 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13011 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
13012 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
13013 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
13014 gdb.t31/chillvars.exp, lib/gdb.exp:
13015 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
13016 bug-gdb@prep.ai.mit.edu.
13017
13018Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
13019
13020 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
13021 with 0.0, not integer 0.
13022
13023Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
13024
13025 * gdb.t06/break.exp: Update for "Kill the program" message change.
13026
13027Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
13028
13029 * Makefile.in (GDBFLAGS): Set to -nx.
13030 * Makefile.in (site.exp): Use GDBFLAGS.
13031
13032Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
13033
13034 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
13035 Makefiles.
13036 (check): depend on just-check.
13037 (just-check): added so that tests can be run without a noop
13038 build pass.
13039
13040Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
13041
13042 Switch to using configure's configdirs.
13043 * Makefile.in (Makefile): add configure.in dependency.
13044 (SUBDIRS): removed redundant assignment.
13045 * configure.in: switch subdirs assignment to configdirs.
13046 * gdb.t*/configure.in: new files.
13047
13048Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
13049
13050 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
13051 works.
13052
13053Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
13054
13055 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
13056 in explicit rules. Apparently this is not supported by some makes.
13057
13058Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
13059
13060 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
13061
13062Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13063
13064 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
13065 disappeared.
13066
13067Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
13068
13069 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
13070
13071Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
13072
13073 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
13074 watchpoint problem that is now fixed.
13075 * gdb.t30/chexp.exp: Remove setup_xfail for printing
13076 uninitialized convenience variables.
13077 * gdb.t31/chillvars.exp: Fix expected patterns for printing
13078 structures.
13079
13080Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13081
13082 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
13083 which causes expect to get out of sync with gdb on long output
13084 from help set.
13085 * gdb.t09/corefile.exp: Make expected pattern for core file
13086 failing signal and frame output format less sun specific.
13087
13088Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
13089
13090 * gdb.t31/chillvars.exp: Add and remove initial dummy
13091 breakpoint, so that symbol table is forced in.
13092 (Needed at least on Sunos4, though it seems not SVR4.)
13093 * gdb.t31/chillvars.exp: Update for changed output format.
13094
13095Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
13096
13097 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
13098
13099Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
13100
13101 * Makefile.in: Added --srcdir when invoking runtest, removed the
13102 need for a local config file. (optional now)
13103
13104Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
13105
13106 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
13107 failure count used to force early termination. Add some more
13108 expected failures for gnu style demangling.
13109
13110Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13111
13112 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
13113 pmi variable from gdb.t20/gdbme to get optimized away.
13114 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
13115 Check for written corefile upon timeout _and_ eof.
13116
13117Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13118
13119 * config/unix-gdb.exp: Add missing return 0.
13120
13121Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13122
13123 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
13124 test termination.
13125
13126Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
13127
13128 * configure.in (subdirs): Put back gdb.t17 which mysteriously
13129 disappeared.
13130
13131Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
13132
13133 * gdb.t10/crossload.exp: Disable the i860-elf test until such
13134 time as i860 support works.
13135
d63a86f8 13136 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
13137 "backtrace 100\r" rather than just "backtrace\r", to match last
13138 change.
13139
13140Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
13141
13142 * config/udi-gdb.exp (gdb_exit): Remove close command.
13143 (gdb_target_udi): New procedure to set the UDI target.
13144 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
13145 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
13146 Added waits for prompts after several question responses. Added
13147 some more responses used by a29k-amd-udi-gdb.
13148 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
13149 pass different arguments, restart UDI connection after program
13150 completion.
13151 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
13152 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13153 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
13154 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
13155 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
13156 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
13157 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13158 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
13159 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
13160 after program completion.
13161 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
13162 compiled with a SELECT_VECS setting.
13163 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
13164 infinite recursion.
13165
13166 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
13167 Added checks for COFF results, and made them expected failures for
13168 all targets. It would be better to make them expected failures
13169 for COFF targets only.
13170
13171Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
13172
13173 * Makefile.in: add null dvi target, don't bother to recurse
13174 through test directories for info and install-info; rename
13175 $(datadir) to be dejagnu instead of deja-gnu
13176
13177Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
13178
13179 * gdb.t31/gdbme.ch: Re-enable code that previously caused
13180 compiler to coredump.
13181 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
13182 code.
13183
13184Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
13185
13186 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
13187 coredump.
13188 * gdb.t31/chillvars.exp: Comment out tests that depend on that
13189 code.
13190
13191Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
13192
13193 * gdb.t03/ptype.exp: tests for return code from gdb_test.
13194 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
13195 which in a shell. Deletes xgdb when done.
13196 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
13197 Tests the return from the "set height" or "set width" commands.
13198 Added a few return codes where needed.
13199
13200Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
13201
13202 * Makefile.in (SUBDIRS): Add gdb.t17.
13203 * configure.in (subdirs): Add gdb.t17.
13204 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
13205 files to test gdb's calling of functions in the inferior with
13206 the correct arguments and gdb's ability to retrieve any
13207 result returned.
13208
13209Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
13210
13211 * config/unix-gdb.exp (gdb_exit): Remove close commands that
13212 may be called after gdb goes away. Previous versions of expect
13213 needed these to avoid file descriptor leaks, but they cause
13214 errors with the current revision of expect.
13215 * gdb.t00/gdbvars.exp: Use -re on expected output after
13216 setting sevenbit-strings.
13217 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
13218 to set sevenbit-strings consistent across tests.
13219 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
13220 set sevenbit-strings consistent across tests.
13221
13222Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
13223
13224 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
13225 expected output to match current "expect" expectations.
13226
13227Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
13228
13229 * gdb.t00/default.exp: Change expected output for default "source"
13230 command, to match new gdb behavior which requires a filename to
13231 source.
13232
13233Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
13234
13235 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
13236 expected fail for i486-*-* that misses the marker2 function.
13237 * gdb.t10/crossload.exp (bfddefault): Allow successful
13238 recognition of a format to pass even if no symbols are found.
13239 Explicitly catch failures where the format is not recognized
13240 or is ambiguous, and add the reason to the fail message.
13241 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
13242 the cause is and invalid target and add reason to failure message.
13243 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
13244 elf32-i386, elf32-sparc, and elf32-i860.
13245 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
13246 Set up expected failure for 'filename'::variable scope resolution,
13247 which is now apparently broken on all targets.
13248 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
13249 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
13250 gdb.t23/templates.exp: Change failure for missing binfile into
13251 just a warning.
13252 gdb.t21/demangle.exp: Change all cfront references to 'arm'
13253 references.
13254
13255Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
13256
13257 * gdb.t00/default.exp: Add expected output for default "source"
13258 command, to match new gdb behavior.
13259 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
13260
13261Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
13262
13263 * config/*-gdb.exp: returns an error, rather than exiting on
13264 internal errors.
13265
13266Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
13267
13268 * gdb.t03/gdbme.c: Add pointer to struct variable.
13269 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
13270 referencing struct members.
13271
13272Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
13273
13274 * configure.in (mips-idt-ecoff): New target.
13275 * config/mips-gdb.exp: New file for remote board using MIPS remote
13276 debugging protocol.
13277
13278 * Redid configuration scheme. Removed gdb.t*/configure.in.
13279 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
13280 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
13281 distclean targets. Built executables via .o files. Adjusted
13282 tests to account for source files in $(srcdir) rather than
13283 $(objdir).
13284 * lib/gdb.exp (runto): Don't expect () after the function name,
13285 because it may have arguments.
13286
13287Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
13288
13289 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
13290 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
13291 expected failures for mips-idt-* and mips-sgi-*.
13292 * gdb.t00/default.exp (attach): Kill process if requested.
13293 * gdb.t00/help.exp (help target core, help target): Accept a gdb
13294 that does not read core files.
13295 * gdb.t01/run.exp: Removed checks for exit status code.
13296 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
13297 it is linked in.
13298 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
13299 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
13300 appropriate, rather than doing it by hand.
13301 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
13302 execution.
13303 * gdb.t10/crossload.exp: Kill existing program if needed.
13304 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
13305 appropriate, rather than doing it by hand. Always increase
13306 timeout for this test, not just for VxWorks.
13307
13308Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
13309
13310 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
13311 of Chill STRUCT types and STRUCT values.
13312 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
13313 than "char".
13314 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 13315 struct2): New struct definitions and initializations to test
c906108c
SS
13316 simple Chill STRUCT types.
13317
13318Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
13319
13320 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
13321 the null byte at the end of strings.
13322 * gdb.t00/default.exp: Make show version insensitive to copyright
13323 date.
13324 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
13325 to avoid dependencies on target char signedness.
13326 * gdb.t16/printcmds.exp: Update expected results for explicitly
13327 unsigned char.
13328 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
13329 now work.
13330 * gdb.t21/demangle.exp: Add many more patterns for template
13331 demangling, most of them being expected failures.
13332 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
13333 string we are matching for, to match on the whole string.
13334 * gdb.t21/demangle.exp: Add many new test strings to demangle,
13335 and fix a whole bunch that had incorrect expected output but were
13336 passing anyway because of the bug in "proc demangle".
13337 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
13338 type.
13339 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
13340
13341Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
13342
13343 * gdb/testsuite: made modifications to testcases, etc., to allow
13344 them to work properly given the reorganization of deja-gnu and the
13345 relocation of the testcases from deja-gnu to a "tool" subdirectory.
13346
13347Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
13348
13349 * gdb/testsuite: Initial creation of gdb/testsuite.
13350 Migrated dejagnu testcases and support files for testing nm to
13351 gdb/testsuite from deja-gnu. These files were moved "as is"
13352 with no modifications. This migration is part of a major overhaul
13353 of dejagnu. The modifications to these testcases, etc., which
13354 will allow them to work with the new version of dejagnu will be
13355 made in a future update.
48efe704 13356
8d8cb839 13357 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 13358\f
8d8cb839
EZ
13359;; Local Variables:
13360;; mode: change-log
13361;; left-margin: 8
13362;; fill-column: 74
13363;; version-control: never
13364;; End:
902f2ccb
MC
13365
13366 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 13367 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
13368 Copying and distribution of this file, with or without modification,
13369 are permitted provided the copyright notice and this notice are preserved.