* config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
6006a3a1
BR
12005-05-05 Bob Rossi <bob_rossi@cox.net>
2
3 * lib/gdb.exp (fullname_syntax): Added global regex.
4 (fullname_syntax_POSIX): Ditto.
5 (fullname_syntax_UNC): Ditto.
6 (fullname_syntax_DOS_CASE): Ditto.
7 (fullname_syntax_DOS): Ditto.
8 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
9 fullname_syntax variable to scope and use it.
10 (test_file_list_exec_source_files): Ditto.
11 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
12
c3b69c04
DJ
132005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
14
15 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
16
3c95e6af
PG
172004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
18
19 * lib/gdb.exp (skip_altivec_tests): New function, based on
20 check_vmx_hw_available from the GCC testsuite.
21 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
22 * lib/gdb.arch/altivec-regs.exp: Likewise.
23
78df6c56
JB
242005-05-02 Jim Blandy <jimb@redhat.com>
25
26 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
27 calling gdb_suppress_entire_file.
28
1690f9cf
DJ
292005-04-30 Randolph Chung <tausq@debian.org>
30
31 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
32 Slightly relax "sem_post" name checking.
33
5ea106f7
PG
342005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
35
36 * gdb.base/unload.exp: Use new shared library infrastructure.
37
bf7234cf
PG
382005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
39
40 * gdb.base/so-impl-ld.exp: Use new shared library
41 infrastructure.
42
547b869a
CV
432005-04-29 Corinna Vinschen <vinschen@redhat.com>
44
45 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
46 * gdb.asm/h8300.inc: New file.
47
f07e55f0
PG
482005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
49
50 * gdb.base/shlib-call.exp: Change to use new shared library
51 infrastructure.
52
3cbba3d1
PG
532005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
54
55 * gdb.base/pending.exp: Change to use new shared library
56 infrastructure.
57
ed6df200
PG
582005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
59
60 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
61 use test_compiler_info instead of gcc_compiled, and update copyright.
62
8c8f4ebe
PG
632005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
64
65 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
66 shared objects being adjusted and update copyright years.
67
607fbc54
DJ
682005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
69
70 * ChangeLog: Correct some 2003-01-13 dates.
71 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
72 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
73 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
74 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
75 gdb.trace/tfind.exp: Update copyright years.
76
57bf0e56
DJ
772005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
78 Daniel Jacobowitz <dan@codesourcery.com>
79
80 * lib/gdb.exp (gdb_compile): Handle shlib=.
81 (gdb_compile_shlib): New function.
82
9b593790
PG
832005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
84
85 * lib/gdb.exp (test_compiler_info): Give argument a default value.
86
9494c6a5
DJ
872005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
88
89 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
90 gdb.server.
91 * configure.ac: Likewise.
92 * configure: Regenerated.
93 * gdb.gdbserver/Makefile.in: Moved to...
94 * gdb.server/Makefile.in: ... here.
95 * gdb.gdbserver/server.c: Moved to...
96 * gdb.server/server.c: ... here.
97 * gdb.gdbserver/server-run.exp: Moved to...
98 * gdb.server/server-run.exp: ... here.
99
6f8eac0e
DJ
1002005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
101
102 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
103 * configure.ac: Create gdb.gdbserver/Makefile.
104 * configure: Regenerated.
105 * lib/gdbserver-support.exp: New file, derived from
106 config/gdbserver.exp.
107 * config/gdbserver.exp: Use gdbserver-support.exp.
108 * gdb.gdbserver/Makefile.in: New file.
109 * gdb.gdbserver/server.c: New file.
110 * gdb.gdbserver/server-run.exp: New file.
111
6e87504d
PG
1122005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
113
114 * lib/gdb.exp (test_compiler_info): Return compiler_info
115 if no arguments are given.
116
d1779be4
PG
1172005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
118
119 * gdb.arch/altivec-abi.exp: Check for compiler and set
120 use altivec' flag accordingly.
121 * gdb.arch/altivec-regs.exp: Likewise.
122
88750304
DJ
1232005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
124
125 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
126
f3fb768d
AS
1272005-03-27 Andreas Schwab <schwab@suse.de>
128
129 * gdb.base/bigcore.c (main): Add missing mode argument in open
130 call.
131
7e813ac5
DJ
1322005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
133
134 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
135 downloads.
136 * config/gdbserver.exp (gdb_load): Likewise.
137
8e3049aa
PB
1382005-03-14 Paul Brook <paul@codesourcery.com>
139
140 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
141 targets.
142
a9df7c44
JB
1432005-03-09 Joel Brobecker <brobecker@adacore.com>
144
145 * gdb.dwarf2/dup-psym.S: New file.
146 * gdb.dwarf2/dup-psym.exp: New testcase.
147
9f0d94e8
JB
1482005-03-09 Joel Brobecker <brobecker@adacore.com>
149
150 * gdb.ada/exec_changed/first.adb: New file.
151 * gdb.ada/exec_changed/second.adb: New file.
152 * gdb.ada/exec_changed.exp: New testcase.
153
5f579bc5
NS
1542005-03-08 Nathan Sidwell <nathan@codesourcery.com>
155
36e9969c
NS
156 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
157 (A2): New class.
158 (main): Test operator+.
159 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
160 breakpoint test.
161
5f579bc5
NS
162 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
163 * gdb.base/signull.exp: Disable if gdb,nosignals.
164 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
165 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
166 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
167 * gdb.mi/mi2-console.exp: Likewise.
168 * gdb.trace/collection.exp (run_trace_experiment): Consume the
169 continue output at start.
170 (gdb_collect_locals_test): Robustify regexp.
171 * gdb.trace/passc-dyn.exp: Fix comment typo.
172 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
173
be46087e
CV
1742005-03-08 Corinna Vinschen <vinschen@redhat.com>
175
176 * gdb.asm/asm-source.exp: Add iq2000 case.
177 * gdb.asm/iq2000.inc: New file.
178
384e1a61
MI
1792005-03-07 Manoj Iyer <manjo@austin.ibm.com>
180
181 * gdb.base/command.exp: Change hardcoded value to regular expression.
182 * gdb.base/float.exp: Add powerpc to the list of targets checked.
183
584b6e9e
DJ
1842005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
185
186 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
187 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
188 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
189 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
190 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
191
ab5b5d61
MK
1922005-03-05 Mark Kettenis <kettenis@gnu.org>
193
194 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
195 changes.
196
ae051c1b
PG
1972004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
198
199 * lib/compiler.c: Add test for IBM's xlc compiler.
200 * lib/compiler.cc: Likewise.
201
3f0f6ed2
JB
2022004-02-24 Joel Brobecker <brobecker@adacore.com>
203
204 * gdb.ada/fixed_points.exp: Create compilation object directory
205 before running the test.
206 * gdb.ada/null_record.exp: Likewise.
207 * gdb.ada/packed_array.exp: Likewise.
208 * gdb.ada/start.exp: Likewise.
209
724f452b
JB
2102005-02-15 Joel Brobecker <brobecker@adacore.com>
211
212 * gdb.ada/packed_array/pa.adb: New file.
213 * gdb.ada/packed_array.exp: New testcase.
214
57f5cdfb 2152005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 216
1f393151
MK
217 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
218 files.
219
ebdda337
MK
220 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
221 on *-*-openbsd*. Correctly match whitespace in regukar
222 expressions.
223
cf309262
DJ
2242005-02-10 Daniel Jacobowitz <dan@debian.org>
225
226 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
227 PR exp/1821
228 * gdb.base/gdb1821.c: New test file.
229 * gdb.base/gdb1821.exp: New test file.
230
3be49e7a
JB
2312005-02-09 Joel Brobecker <brobecker@adacore.com>
232
233 * gdb.base/start.c: New file.
234 * gdb.base/start.exp: New testcase.
235
e292e67d
JB
2362005-02-09 Joel Brobecker <brobecker@adacore.com>
237
238 * gdb.ada/start/dummy.adb: New file.
239 * gdb.ada/start.exp: New testcase.
240
dbdfa66c
CV
2412005-02-09 Corinna Vinschen <vinschen@redhat.com>
242
243 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
244 for printing symbols and statistics.
245 Add test for using relative pathnames in "maint print msymbols" test.
246 Mark "maint info sections DATA" XFAIL on Cygwin.
247 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
248 tests.
249
d7941671
AC
2502005-02-09 Andreas Schwab <schwab@suse.de>
251
252 Committed by Andrew Cagney <cagney@gnu.org>
253 * gdb.base/remotetimeout.exp: New file.
254
74e5ef44
MK
2552005-02-07 Mark Kettenis <kettenis@gnu.org>
256
257 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
258
464dd14d
JB
2592005-02-03 Joel Brobecker <brobecker@adacore.com>
260
261 * gdb.ada/gnat_ada.gpr: New file.
262 * gdb.ada/gnat_ada.gin: Delete, no longer used.
263 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
264 * configure.ac: No longer generate gnat_ada.gpr.
265 * configure: Regenerate.
266 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
267 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
268 * gdb.ada/null_record/bar.ads: Likewise.
269 * gdb.ada/null_record/bar.adb: Likewise.
270 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
271 * gdb.ada/null_record.exp (testdir): New variable.
272 (testfile): executable is now in testdir subdirectory.
273 (srcfile): Use full path to the main compilation unit.
274 * gdb.ada/fixed_points.exp: Same changes as above.
275
30d756ae
NR
2762005-02-03 Nick Roberts <nickrob@snap.net.nz>
277
278 * gdb.base/interp.exp: New test.
279
9d799f85
AC
2802005-01-24 Andrew Cagney <cagney@gnu.org>
281
282 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
283
15656118
AC
2842005-01-19 Andrew Cagney <cagney@gnu.org>
285
a892c31b
AC
286 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
287 configure.ac not configure.in.
288
15656118
AC
289 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
290 of powerpc*-*-*.
291 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
292 * gdb.base/list.exp (test_list_function)
293 (test_list_filename_and_function): Ditto.
294 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
295
a7b01baf
AC
2962005-01-16 Andrew Cagney <cagney@gnu.org>
297
17d92a02
AC
298 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
299
a7b01baf
AC
300 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
301
bc8332bb
AC
3022005-01-14 Andrew Cagney <cagney@gnu.org>
303
304 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
305 * gdb.mi/mi2-var-cmd.exp: Ditto.
306
4d074752
CV
3072005-01-10 Corinna Vinschen <vinschen@redhat.com>
308
309 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
310
bec39cab
AC
3112005-01-07 Andrew Cagney <cagney@gnu.org>
312
313 * configure.ac: Rename configure.in, require autoconf 2.59.
314 * configure: Re-generate.
315 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
316 * gdb.stabs/configure: Re-generate.
317 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
318 * gdb.hp/configure: Re-generate.
319 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
320 autoconf 2.59.
321 * gdb.hp/gdb.objdbg/configure: Re-generate.
322 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
323 autoconf 2.59.
324 * gdb.hp/gdb.defects/configure: Re-generate.
325 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
326 autoconf 2.59.
327 * gdb.hp/gdb.compat/configure: Re-generate.
328 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
329 autoconf 2.59.
330 * gdb.hp/gdb.base-hp/configure: Re-generate.
331 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
332 autoconf 2.59.
333 * gdb.hp/gdb.aCC/configure: Re-generate.
334
f10b16d4
JB
3352004-12-15 Jim Blandy <jimb@redhat.com>
336
337 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
338 under NPTL when there is debugging info available for libpthread.
339
fb6e1814
JG
3402004-12-13 Jerome Guitton <guitton@gnat.com>
341
342 * gdb.ada/fixed_points.c: New file.
343 * gdb.ada/fixed_points.exp: New file.
344
fe46cd3a
RC
3452004-12-03 Randolph Chung <tausq@debian.org>
346
347 * gdb.arch/pa-nullify.exp: New file.
348 * gdb.arch/pa-nullify.s: New file.
349
8de0841b
RC
3502004-11-30 Randolph Chung <tausq@debian.org>
351
352 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
353 instead of "tbug". Fix regexp to work properly with gdb_test.
354
c8170782
PH
3552004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
356
357 * gdb.base/bitfields2.exp: New test.
358 * gdb.base/bitfields2.c: New file.
359
954269c2
RE
3602004-11-28 Richard Earnshaw <rearnsha@arm.com>
361
362 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
363
0107feed
RC
3642004-11-16 Randolph Chung <tausq@debian.org>
365
366 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
367
f073ae8c
DJ
3682004-11-14 Daniel Jacobowitz <dan@debian.org>
369
370 * gdb.threads/threadapply.exp: Correct "macro details" test.
371
19ad59e7
JJ
3722004-11-11 Jeff Johnston <jjohnstn@redhat.com>
373
374 * gdb.threads/threadapply.exp: New test.
375 * gdb.threads/threadapply.c: New file.
376
9cf0961b
MK
3772004-11-07 Mark Kettenis <kettenis@gnu.org>
378
379 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
380 frames.
381
c789492a
FL
3822004-11-05 Felix Lee <felix+log1@specifixinc.com>
383
384 * gdb.base/cursal.exp: New file.
385 * gdb.base/cursal.c: New file.
386
a1e167bb
AC
3872004-11-03 Andrew Cagney <cagney@gnu.org>
388
389 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
390
b7cbf173
MK
3912004-10-30 Mark Kettenis <kettenis@gnu.org>
392
393 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
394 NetBSD/ELF targets.
395
88f9d34f
JB
3962004-10-29 Joel Brobecker <brobecker@gnat.com>
397
398 * gdb.threads/bp_in_thread.c: New file, copied from
399 pthread_cond_wait.c.
400 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
401 file, rather than reusing the .c file from another testcase.
402
ca7d6a0c
JB
4032004-10-20 Joel Brobecker <brobecker@gnat.com>
404
405 * gdb.ada/null_record.exp: Check where we stopped after
406 sending the start command, instead of where the associated
407 temporary breakpoint was inserted.
408
0d863d03
AC
4092004-10-14 Andrew Cagney <cagney@gnu.org>
410
411 * gdb.mi/gdb701.c (main): Return 0.
412
d11e72cb
DJ
4132004-10-13 Daniel Jacobowitz <dan@debian.org>
414
d40539a4 415 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 416
e1923096
JJ
4172004-10-12 Jeff Johnston <jjohnstn@redhat.com>
418
419 * gdb.threads/schedlock.c: Add comment markers to use to find
420 line numbers.
421 * gdb.threads/schedlock.exp: Adjust regex to handle the new
422 comments.
423 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
424 breakpoint lines.
425
ec8ba2c9
DJ
4262004-10-12 Daniel Jacobowitz <dan@debian.org>
427
428 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
429
0eb3658b
DJ
4302004-10-12 Daniel Jacobowitz <dan@debian.org>
431
432 * configure.in: Add gdb.dwarf2.
433 * configure: Regenerated.
434 * Makefile.in: Add gdb.dwarf2.
435 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
436 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
437 gdb.dwarf2/file1.txt: New files.
438
a271cc33
OF
4392004-10-11 Orjan Friberg <orjanf@axis.com>
440
441 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
442 of "run", since the latter doesn't work with remote targets. Adjust
443 the breakpoint numbering accordingly.
444 * gdb.threads/pthread_cond_wait.exp: Ditto.
445
895ce074
MC
4462004-10-08 Michael Chastain <mec.gnu@mindspring.com>
447
448 * gdb.base/overlays.exp: Update copyright years.
449
6be3092d
KI
4502004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
451
452 * gdb.base/overlays.exp: Disable if target is Linux.
453
e05389b8
FL
4542004-10-06 Felix Lee <felix+log1@specifixinc.com>
455
456 * config/gdbserver.exp (gdb_load): Use right filename on remote.
457
73cb587d
KI
4582004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
459
460 * gdb.asm/asm-source.exp: Add m32r-linux target.
461 * gdb.asm/m32r-linux.inc: New file.
462
3c0edcdc
AC
4632004-09-24 Andrew Cagney <cagney@redhat.com>
464 David Anderson <anderson@redhat.com>
465
466 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
467 command fails, assume things will work.
468 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
469 (_GNU_SOURCE): Define.
470 (print_unsigned, print_hex): Change parameter to "long long".
471 (print_byte_count): New function, use to print byte counts.
472 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
473 O_LARGEFILE.
474 (main): Compute an upper bound on a corefile in max_core_size.
475 Limit memory chunk size to max_core_size. Limit total memory
476 allocated to max_core_size.
477
4bb3667f
AC
4782004-09-23 Andrew Cagney <cagney@gnu.org>
479
480 * gdb.base/bigcore.exp: Replace the code that creates a corefile
481 from a separate process with code that creates a corefile by
482 making the inferior dump core.
483
60fe1a51
MK
4842004-09-23 Mark Kettenis <kettenis@gnu.org>
485
486 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
487 block.
488
8e937346
MC
4892004-09-23 Michael Chastain <mec.gnu@mindspring.com>
490
491 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
492 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
493 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
494 Likewise.
495
7213f6d6
JJ
4962004-09-20 Jeff Johnston <jjohnstn@redhat.com>
497
498 * gdb.java/jprint.exp: New test case for java inferior call.
499 * gdb.java/jprint.java: Ditto.
500
eac69dca
JB
5012004-09-15 Joel Brobecker <brobecker@gnat.com>
502
503 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
504
22227696
MC
5052004-09-14 Michael Chastain <mec.gnu@mindspring.com>
506
507 * gdb.threads/killed.c: Include <stdlib.h>.
508 * gdb.threads/pthreads.c: Likewise.
509
7dd403a4
MC
5102004-09-14 Michael Chastain <mec.gnu@mindspring.com>
511
512 * gdb.threads/killed.c: Add copyright notice.
513
33f2d567
JM
5142004-09-10 Jason Molenda (jmolenda@apple.com)
515
516 * gdb.base/define.exp: Two new tests to verify zero space chars
517 after 'if' and 'while' commands in a user-defined command is correctly
518 parsed.
519
e05b62ac
AC
5202004-09-08 Andrew Cagney <cagney@gnu.org>
521
522 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
523 delivery test with duplicate at end of file.
524
9cbe82da
MK
5252004-09-06 Mark Kettenis <kettenis@jive.nl>
526
527 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
528
564803d9
MC
5292004-09-05 Michael Chastain <mec.gnu@mindspring.com>
530
531 * config/hppro.exp: Removed.
532
7c6807ce
MC
5332004-09-05 Michael Chastain <mec.gnu@mindspring.com>
534
535 * config/sparclet.exp: Removed.
536
bf7e26dd
MC
5372004-09-05 Michael Chastain <mec.gnu@mindspring.com>
538
539 * config/udi.exp: Removed.
540
714e341b
MC
5412004-09-02 Michael Chastain <mec.gnu@mindspring.com>
542
543 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
544 of "exp_continue".
545 (advancei): Likewise.
546
1236e623
JJ
5472004-09-01 Jeff Johnston <jjohnstn@redhat.com>
548
549 * gdb.base/unload.exp: Fix so messages aren't duplicated.
550
3bdcad15
MI
5512004-09-01 Manoj Iyer <manjo@austin.ibm.com>
552
228af206 553 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
554 to check for nodebug in executable.
555 * gdb.gdb/observer.exp (setup_test): Likewise.
556 * gdb.gdb/selftest.exp (test_with_self): Likewise.
557 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
558
c72b934c
AC
5592004-09-01 Andrew Cagney <cagney@gnu.org>
560
561 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
562 files.
563
edd9b715
JJ
5642004-09-01 Jeff Johnston <jjohnstn@redhat.com>
565
566 * gdb.base/unload.exp: Fix expected warning message to match
567 latest format.
568
fb4ce06b
CV
5692004-09-01 Corinna Vinschen <vinschen@redhat.com>
570
571 * gdb.base/call-rt-st.exp: Fix typos.
572
ce78e7c3
MI
5732004-08-31 Manoj Iyer <manjo@austin.ibm.com>
574
575 * gdb.threads/thread_check.exp: New testcase.
576 * gdb.threads/thread_check.c: New testcase.
577
2dedb159
AC
5782004-08-31 Andrew Cagney <cagney@gnu.org>
579
580 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
581 (skip_to_handler_entry): New procedures. Test stepping into a
582 handler when the breakpoint is at the handler's entry point.
583
68f53502
AC
5842004-08-30 Andrew Cagney <cagney@gnu.org>
585
586 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
587 gdb/1757.
588
3e3ffd2b
MC
5892004-08-27 Michael Chastain <mec.gnu@mindspring.com>
590
591 With code from Manoj Iyer <manjo@austin.ibm.com>:
592 * lib/gdb.exp (gdb_file_cmd): Return more information in the
593 return value. Add an arm for "no debugging symbols found".
594 Change a stray "error" to "perror".
595 (gdb_run_cmd): Adapt to new return value.
596 * gdb.base/remote.exp: Adapt to new return value.
597 * gdb.gdb/complaints.exp: Likewise.
598 * gdb.gdb/observer.exp: Likewise.
599 * gdb.gdb/selftest.exp: Likewise.
600 * gdb.gdb/xfullpath.exp: Likewise.
601
4b6f5fd2
JB
6022004-08-27 Joel Brobecker <brobecker@gnat.com>
603
604 * gdb.threads/bp_in_thread.exp: New testcase.
605
e5b25496
MC
6062004-08-27 Michael Chastain <mec.gnu@mindspring.com>
607
608 Fix PR testsuite/1735.
609 * gdb.threads/schedlock.c (thread_function): Add a cast
610 to suppress a gcc warning.
611 * gdb.threads/thread-specific.c (thread_function): Likewise.
612
934353d6
MC
6132004-08-26 Michael Chastain <mec.gnu@mindspring.com>
614
615 * gdb.base/unload.c: Include <stdlib.h>.
616
f98a0aef 6172004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 618
f98a0aef 619 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
620 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
621 synchronized after the "return".
622
5a2e8882
MC
6232004-08-26 Michael Chastain <mec.gnu@mindspring.com>
624
625 * gdb.mi/basics.c: Include <stdio.h>.
626 * gdb.mi/pthreads.c: Include <stdlib.h>.
627 * gdb.mi/var-cmd.c: Include <stdlib.h>.
628
a9640423
MC
6292004-08-26 Michael Chastain <mec.gnu@mindspring.com>
630
631 * gdb.threads/schedlock.c: Add copyright notice.
632
b04e311d
AC
6332004-08-25 Andrew Cagney <cagney@gnu.org>
634
635 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
636 (skip_over_handler, breakpoint_over_hander): New test procedures.
637 (advance, advancei): Add a proper prefix, do not use
638 rerun_to_main.
639 * gdb.base/sigstep.c (main): Change to use an infinite loop.
640
7c27f15b
MC
6412004-08-24 Michael Chastain <mec.gnu@mindspring.com>
642
643 * gdb.mi/basics.c: Add copyright notice.
644 * gdb.mi/var-cmd.c: Add copyright notice.
645
fffc87ae
MC
6462004-08-23 Michael Chastain <mec.gnu@mindspring.com>
647
648 * lib/gdb.exp: Remove signed_keyword_not_used.
649 * lib/compiler.c: Likewise.
650 * lib/compiler.cc: Likewise.
651
d782e0bf
MC
6522004-08-23 Michael Chastain <mec.gnu@mindspring.com>
653
654 * gdb.base/whatis.c: Remove conditional disabling of "signed".
655 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
656
96033e83
MC
6572004-08-23 Michael Chastain <mec.gnu@mindspring.com>
658
659 * gdb.base/whatis.c: Add copyright notice.
660
cf38c229
MK
6612004-08-20 Mark Kettenis <kettenis@gnu.org>
662
663 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
664 it to skip the breakpoints encoded in the inline assembly.
665
f4b49756
MC
6662004-08-20 Michael Chastain <mec.gnu@mindspring.com>
667
668 * Makefile.in: Add gdb.fortran.
669
2f193b69
MC
6702004-08-20 Michael Chastain <mec.gnu@mindspring.com>
671
672 * gdb.base/call-sc.exp (test_scalar_returns):
673 Fix cut-and-paste glitch in "Make fun return now".
674
89a237cb
MC
6752004-08-17 Michael Chastain <mec.gnu@mindspring.com>
676
677 * configure.in: Add gdb.fortran.
678 * configure: Regenerate.
679 * gdb.fortran/Makefile.in: New file.
680 * lib/gdb.exp (skip_fortran_tests): New procedure.
681
469aff8e
MC
6822004-08-17 Michael Chastain <mec.gnu@mindspring.com>
683
684 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
685 reference to bug-gnu@prep.ai.mit.edu.
686 * gdb.mi/mi-var-child.exp: Likewise.
687 * gdb.mi/mi-var-cmd.exp: Likewise.
688 * gdb.mi/mi-var-display.exp: Likewise.
689 * gdb.mi/mi2-var-block.exp: Likewise.
690 * gdb.mi/mi2-var-child.exp: Likewise.
691 * gdb.mi/mi2-var-cmd.exp: Likewise.
692 * gdb.mi/mi2-var-display.exp: Likewise.
693
00b51b9f
MK
6942004-08-15 Mark Kettenis <kettenis@gnu.org>
695
696 * gdb.base/unload.c (main): Make local variable msg const.
697
45f07fef
MC
6982004-08-15 Michael Chastain <mec.gnu@mindspring.com>
699
700 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
701 to bug-gnu@prep.ai.mit.edu.
702 * gdb.mi/mi-disassemble.exp: Likewise.
703 * gdb.mi/mi-eval.exp: Likewise.
704 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
705 default line number.
706 * gdb.mi/mi-return.exp: Likewise.
707 * gdb.mi/mi-simplerun.exp: Likewise.
708 * gdb.mi/mi-stack.exp: Likewise.
709 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
710 number with explicit range test.
711 * gdb.mi/mi-watch.exp: Likewise.
712 * gdb.mi/mi2-break.exp: Likewise.
713 * gdb.mi/mi2-cli.exp: Likewise.
714 * gdb.mi/mi2-disassemble.exp: Likewise.
715 * gdb.mi/mi2-eval.exp: Likewise.
716 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
717 default line number.
718 * gdb.mi/mi2-return.exp: Likewise.
719 * gdb.mi/mi2-simplerun.exp: Likewise.
720 * gdb.mi/mi2-stack.exp: Likewise.
721 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
722 number with explicit range test.
723 * gdb.mi/mi2-watch.exp: Likewise.
724
dd8c8ee7
MC
7252004-08-15 Michael Chastain <mec.gnu@mindspring.com>
726
727 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
728 * gdb.cp/m-static.exp: Likewise.
729 * gdb.cp/rtti.exp: Likewise.
730
4e838464
MK
7312004-08-14 Mark Kettenis <kettenis@gnu.org>
732
733 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
734
8d8cb839
EZ
7352004-08-14 Eli Zaretskii <eliz@gnu.org>
736
737 * ChangeLog: Prefix Local Variables with semi-colons and indent
738 the reference to older ChangeLog files, to fix fontification in
739 Emacs.
740
deea8bb0
MC
7412004-08-13 Michael Chastain <mec.gnu@mindspring.com>
742
743 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
744 * gdb.mi/mi2-break.exp: Likewise.
745
c3297504
MC
7462004-08-13 Michael Chastain <mec.gnu@mindspring.com>
747
748 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
749
25808999
MC
7502004-08-13 Michael Chastain <mec.gnu@mindspring.com>
751
752 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
753
226a8d71
MC
7542004-08-13 Michael Chastain <mec.gnu@mindspring.com>
755
756 * gdb.cp/classes.exp: Remove unused declarations. Just let
757 test names default instead of providing special names. Remove
758 extraneous demangler test.
759
37fdf854
JJ
7602004-08-12 Jeff Johnston <jjohnstn@redhat.com>
761
762 * gdb.base/unload.exp: New test for breakpoints in dynamically
763 loaded libraries.
764 * gdb.base/unload.c: Ditto.
765 * gdb.base/unloadshr.c: Ditto.
766
2d3a7986
MC
7672004-08-12 Michael Chastain <mec.gnu@mindspring.com>
768
769 * gdb.cp/classes.exp (test_ptype_class_objects): Call
770 cp_test_ptype_class.
771 (test_enums): Likewise.
772
c72b934c
AC
7732004-08-10 Andrew Cagney <cagney@gnu.org>
774
775 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
776 files.
777
cc503c8a
AC
7782004-08-10 Andrew Cagney <cagney@gnu.org>
779
780 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
781 init_malloc call.
782
902f2ccb
MC
7832004-08-10 Michael Chastain <mec.gnu@mindspring.com>
784
785 * ChangeLog: Add copyright notice. The notice is copied
786 from emacs 21.3 top level ChangeLog.
787
78c90502
MC
7882004-08-09 Michael Chastain <mec.gnu@mindspring.com>
789
790 * lib/cp-support.exp: New file.
791 * lib/cp-support.exp (cp_test_type_class): New function.
792 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
793 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
794 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
795 cp_test_ptype_class.
796
88e5ea78
MC
7972004-08-09 Michael Chastain <mec.gnu@mindspring.com>
798
799 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
800 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
801 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
802 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
803 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
804 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
805 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
806 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
807 gdb.mi/mi2-watch.exp: Update copyright years.
808
6a89fc9c
MK
8092004-08-09 Mark Kettenis <kettenis@gnu.org>
810
811 * gdb.base/sigaltstack.exp: Provide proper anchoring.
812
1482e0de
MC
8132004-08-09 Michael Chastain <mec.gnu@mindspring.com>
814
815 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
816 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
817 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
818 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
819 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
820 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
821 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
822 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
823 gdb.mi/mi-watch.exp: Update copyright years.
824
1a5ce3f3
DJ
8252004-08-08 Daniel Jacobowitz <dan@debian.org>
826
827 PR gdb/1738
828 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
829 from a breakpoint with a pending signal.
830
04f6ecf2
DJ
8312004-08-08 Daniel Jacobowitz <dan@debian.org>
832
833 PR gdb/1736
834 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
835 * gdb.base/sigaltstack.exp (finish_test): Consume output until
836 the prompt.
837 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
838
54d90d35
DJ
8392004-08-08 Daniel Jacobowitz <dan@debian.org>
840
841 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
842
d2f6abb0
DJ
8432004-08-08 Daniel Jacobowitz <dan@debian.org>
844
845 PR gdb/1736
846 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
847 for i?86-*-linux*.
848
5598c03d
DJ
8492004-08-08 Daniel Jacobowitz <dan@debian.org>
850
851 * gdb.arch/i386-prologue.exp: Compile without debug information.
852
c6fee705
MC
8532004-08-08 Michael Chastain <mec.gnu@mindspring.com>
854
855 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
856 rather than asking gdb to search.
857
dd90efdb
MC
8582004-08-05 Michael Chastain <mec.gnu@mindspring.com>
859
860 * gdb.base/gcore.c: Include <string.h>.
861
1e84bec1
MC
8622004-08-05 Michael Chastain <mec.gnu@mindspring.com>
863
864 * gdb.base/gcore.c: Add copyright notice.
865
e425eb2b
MC
8662004-08-05 Michael Chastain <mec.gnu@mindspring.com>
867
868 * gdb.base/freebpcmd.c: Include <stdio.h>.
869 * gdb.base/long_long.c: Include <string.h>.
870 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
871 * gdb.base/siginfo.c: Include <string.h>.
872 * gdb.base/sigstep.c: Include <string.h>.
873
cb9aaed5
MC
8742004-08-04 Michael Chastain <mec.gnu@mindspring.com>
875
876 * gdb.base/complex.c: Include <stdlib.h>.
877
55944f3d
MC
8782004-08-04 Michael Chastain <mec.gnu@mindspring.com>
879
880 * gdb.base/complex.c: Add copyright notice.
881
7b2953d9
MC
8822004-08-04 Michael Chastain <mec.gnu@mindspring.com>
883
884 * gdb.base/charset.c: Include <stdlib.h>.
885
c9133d23
MC
8862004-08-04 Michael Chastain <mec.gnu@mindspring.com>
887
888 * gdb.base/auxv.c: Include <stdlib.h>.
889
0a8490ad
MC
8902004-08-04 Michael Chastain <mec.gnu@mindspring.com>
891
892 * gdb.base/auxv.c: Add copyright notice.
893
3426d5ec
MC
8942004-08-04 Michael Chastain <mec.gnu@mindspring.com>
895
896 * gdb.base/coremaker.c: Add copyright notice.
897 * gdb.base/coremaker2.c: Add copyright notice.
898
8da195dd
AC
8992004-08-04 Andrew Cagney <cagney@gnu.org>
900
901 * gdb.base/store.exp: Update copyright.
902 (check_set, up_set, check_struct, up_struct): Add a prefix to test
903 names, do not import gdb_prompt.
904
8d394f98
AC
9052004-08-01 Andrew Cagney <cagney@gnu.org>
906
907 Fix PR testsuite/1729.
908 * gdb.base/dump.exp: Add test name to callers of capture_value, do
909 not use capture_value with value 4.
910 (capture_value): Add optional test name parameter.
911 (test_reload_saved_value, test_restore_saved_value): Use $msg as
912 the prefix, pass to capture_value.
913
b6702b23
MK
9142004-08-01 Mark Kettenis <kettenis@gnu.org>
915
916 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
917 * gdb.arch/i386-prologue.c (standard): New prototype and function.
918 (main): Call new function.
919
c203e0ca
MC
9202004-07-31 Michael Chastain <mec.gnu@mindspring.com>
921
922 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
923
a7995a30
MC
9242004-07-31 Michael Chastain <mec.gnu@mindspring.com>
925
926 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
927
9366563b
MC
9282004-07-31 Michael Chastain <mec.gnu@mindspring.com>
929
b6eeaf26 930 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
931 Accept more values of vtbl pointer. Remove some messages
932 about "obsolete gcc or gdb".
933
2fc1f950
MC
9342004-07-30 Michael Chastain <mec.gnu@mindspring.com>
935
936 * gdb.cp/classes.exp: Accept more varieties of ptype output.
937
c724d49b
MC
9382004-07-30 Michael Chastain <mec.gnu@mindspring.com>
939
940 * gdb.base/asm-source.exp: Properly convert target board
941 debug flags from gcc format to binutils format.
942
736b0fce
MK
9432004-07-28 Mark Kettenis <kettenis@gnu.org>
944
945 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
946 gdb1718". PR backtrace/1718 partially fixed.
947
5633ea5c
JJ
9482004-07-27 Jeff Johnston <jjohnstn@redhat.com>
949
950 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
951
575eebb1
NC
9522004-07-26 Nick Clifton <nickc@redhat.com>
953
954 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
955 good default value for a specific architecture is available then
956 set it to that value. Otherwise default to the -gstabs switch.
957 Remove the -g... switches from the asm-flags variable. Allow the
958 target board info to override the value if it wants to. Pass the
959 switch on the assembler command line.
960
62104619
MK
9612004-07-23 Mark Kettenis <kettenis@gnu.org>
962
963 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
964 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
965 (main): Call new function.
966
4a1135b8
MC
9672004-07-22 Michael Chastain <mec.gnu@mindspring.com>
968
969 Test for PR exp/1715.
970 * gdb.base/radix.exp: Refactor common procedures. Make all
971 test names unique. Change XFAIL to KFAIL.
972
8a12c1f0
MC
9732004-07-20 Michael Chastain <mec.gnu@mindspring.com>
974
975 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
976 * gdb.ada/gnat_ada.gin: ... to here.
977 * configure.in: Use gnat_ada.gin.
978 * configure: Regenerate.
979
23b451cf
AC
9802004-07-20 Andrew Cagney <cagney@gnu.org>
981
982 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
983 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
984 XFAILs. Clean up test messages and comments. Check backtraces.
985 Delete re-sync code.
986
ab618a02
MC
9872004-07-19 Michael Chastain <mec.gnu@mindspring.com>
988
989 Fix PR cli/740.
990 * gdb.base/annota1.exp: Honor gdb,nosignals.
991 * gdb.base/annota3.exp: Likewise.
992
46dad340
MC
9932004-07-19 Michael Chastain <mec.gnu@mindspring.com>
994
995 * lib/java.exp: Update copyright notice.
996
756d8c70
AC
9972004-07-19 Andrew Cagney <cagney@gnu.org>
998
999 * gdb.base/selftest.exp: Copy file from here ...
1000 * gdb.gdb/selftest.exp: ... to here.
1001
586027e6
AC
10022004-07-16 Andrew Cagney <cagney@redhat.com>
1003
1004 * lib/insight-support.exp: Delete file.
1005 * lib/java.exp (java_init): Fix copyright.
1006
029d2200
AC
10072004-07-16 Andrew Cagney <cagney@gnu.org>
1008
1009 * gdb.base/restore.c: Append "prologue" to comments marking the a
1010 function's prologue.
1011 * gdb.base/restore.exp: Update copyright, re-indent.
1012 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
1013 callerN" prefix where needed. Update patterns that match a
1014 function's prologue.
1015
653b62c5
MC
10162004-07-16 Michael Chastain <mec.gnu@mindspring.com>
1017
1018 * gdb.base/restore.c: Add copyright notice.
1019
f7d690e5
AC
10202004-07-16 Andrew Cagney <cagney@gnu.org>
1021
1022 * gdb.base/logical.exp: Update copyright.
1023 (evaluate): New procedure. Use to re-implement tests using
1024 several tables.
1025
d629a7cb
MH
10262004-07-14 Martin Hunt <hunt@redhat.com>
1027
1028 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
1029 which fixes some problems where init.tcl was not found.
1030
9c7bb332
AC
10312004-07-13 Andrew Cagney <cagney@gnu.org>
1032
6bf46641
AC
1033 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
1034 (check_sizeof, check_valueof): Do not include the output in the
1035 test name. Use gdb_test.
1036 (get_valueof): Use gdb_test_multiple.
1037
c4ffd4c0
AC
1038 * gdb.base/step-test.exp: Update copyright. Use
1039 gdb_test_multiple. Ensure that test names do not include
1040 architecture dependent output.
1041
ab89363a
AC
1042 * gdb.gdb/observer.exp: Update copyright.
1043 (setup_test): Use gdb_test_multiple.
1044 (attach_first_observer, attach_second_observer)
1045 (attach_third_observer, detach_first_observer)
1046 (detach_second_observer, detach_third_observer)
1047 (reset_counters, check_counters): Make $message a prefix.
1048 (test_normal_stop_notifications): Add "args" parameter - a list of
1049 init functions to be called. Make $message a prefix,
1050 (test_observer_normal_stop): Change the message prefixes so that
1051 they are unique, pass the attach / detach procedures to
1052 test_normal_stop_notifications.
1053
ec58997a
AC
1054 * gdb.base/signull.exp (test_segv): Prefix all tests with
1055 "${name}". Clean up test messages.
1056
b475183b
AC
1057 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
1058
9c7bb332
AC
1059 * gdb.base/ena-dis-br.exp: Update copyright.
1060 (break_at): New function. Replace send_gdb with gdb_test,
1061 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
1062 ignore count, not stopped at bpt", with KFAIL.
1063
2dd95497
CV
10642004-07-13 Corinna Vinschen <vinschen@redhat.com>
1065
1066 * gdb.base/attach.exp: Remove cleanupfile handling.
1067
419e626b
AC
10682004-07-12 Andrew Cagney <cagney@gnu.org>
1069
1070 * gdb.base/annota1.exp: Cleanup corefile test name.
1071 * gdb.base/annota3.exp: Ditto.
1072
8b1b3228
AC
10732004-07-12 Andrew Cagney <cagney@gnu.org>
1074
78650829
AC
1075 * gdb.base/signals.exp: Clean up copyright, re-indent.
1076
8b1b3228
AC
1077 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
1078 gdb_test and gdb_test_multiple.
1079
935c2760
JJ
10802004-07-08 Jeff Johnston <jjohnstn@redhat.com>
1081
1082 * gdb.java/jmain.exp: Fix expected line number for main to
1083 break at. Set XFAIL for break at main test since gcj does not
1084 provide line number info for first statement in main.
1085
1544280f
AC
10862004-07-08 Andrew Cagney <cagney@gnu.org>
1087
1279f4ff
AC
1088 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
1089
1544280f
AC
1090 * gdb.base/sigbpt.exp: Make the common part of each test name a
1091 prefix instead of suffix.
1092
bcc82369
BR
10932004-07-07 Bob Rossi <bob_rossi@cox.net>
1094
1095 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
1096 test from test_tbreak_creation_and_listing to
1097 test_file_list_exec_source_file
1098 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
1099 Changed name of test from test_tbreak_creation_and_listing to
1100 test_file_list_exec_source_file
1101
23f4b0aa
JJ
11022004-07-07 Jeff Johnston <jjohnstn@redhat.com>
1103
1104 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
1105 the jmisc() constructor instead of <init>.
1106 * gdb.java/jmisc1.exp: Ditto.
1107
56401cd5
AC
11082004-07-07 Andrew Cagney <cagney@gnu.org>
1109
1110 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
1111 corrupting the PC.
1112
44ae2f6a
MC
11132004-07-06 Michael Chastain <mec.gnu@mindspring.com>
1114
1115 * gdb.cp/templates.exp: Accept whitespace change in demangler
1116 output.
1117
45a83408
AC
11182004-07-06 Andrew Cagney <cagney@gnu.org>
1119
1120 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
1121
d205ad70
MC
11222004-07-02 Michael Chastain <mec.gnu@mindspring.com>
1123
1124 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
1125 * lib/compiler.cc: Likewise.
1126
06ea1a61
MC
11272004-06-30 Michael Chastain <mec.gnu@mindspring.com>
1128
1129 * lib/compiler.cc: Work around string preprocessing problem
1130 with old hp c++ compiler.
1131 * lib/compiler.c: Likewise.
1132
daab1251
CV
11332004-06-29 Corinna Vinschen <vinschen@redhat.com>
1134
1135 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
1136 directives to conditionalize symbol prefixing.
1137 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
1138 additional_flags handling. Add underscore prefix for Cygwin.
1139 * gdb.arch/i386-unwind.c: Use preprocessor directives to
1140 conditionalize symbol prefixing.
1141 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
1142 additional_flags handling. Add underscore prefix for Cygwin.
1143
cc984116
CV
11442004-06-29 Corinna Vinschen <vinschen@redhat.com>
1145
1146 * gdb.base/bigcore.exp: Skip test on Cygwin.
1147
c279b077
MC
11482004-06-28 Michael Chastain <mec.gnu@mindspring.com>
1149
1150 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
1151 formats for "info register". Use gdb_test_multiple. Fix
1152 the "invalid register" test.
1153
0e915747
CV
11542004-06-28 Corinna Vinschen <vinschen@redhat.com>
1155
1156 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
1157 PID for Cygwin. Add Cygwin specific strings to check for in some
1158 tests.
1159 (do_attach_tests): Add a test for user interaction when attaching
1160 to a process with no matching symbol table already loaded.
1161
11422c86
AC
11622004-06-26 Andrew Cagney <cagney@gnu.org>
1163
1164 Test PR java/1567 and PR java/1565.
1165 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
1166 * gdb.java/jmisc2.exp: Delete file.
1167
cefbce26
MC
11682004-06-26 Michael Chastain <mec.gnu@mindspring.com>
1169
1170 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
1171
e19f872c
CV
11722004-06-25 Corinna Vinschen <vinschen@redhat.com>
1173
1174 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
1175 attach process.
1176
d931ba3b
MC
11772004-06-23 Michael Chastain <mec.gnu@mindspring.com>
1178
1179 * gdb.cp/pr-1553.exp: Remove.
1180
aef68c48
MC
11812004-06-22 Michael Chastain <mec.gnu@mindspring.com>
1182
1183 * gdb.cp/pr-1553.cc: Remove.
1184 * gdb.cp/pr-1553.exp: Disable this test.
1185
8d5df71a
JB
11862004-06-20 Jim Blandy <jimb@redhat.com>
1187
1188 Fix PR testsuite/1680.
1189 * gdb.arch/i386-sse.exp: Properly quote curly braces in
1190 regular expressions.
1191
4ac6f39d
MC
11922004-06-19 Michael Chastain <mec.gnu@mindspring.com>
1193
1194 Fix PR testsuite/1679.
1195 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
1196 Issue an UNSUPPORTED result instead.
1197
1b413552
JB
11982004-06-18 Jim Blandy <jimb@redhat.com>
1199
1200 * gdb.base/charset.exp: Only send a control-C if we see a new
1201 prompt and incomplete command.
1202
6daa6ebd
MC
12032004-06-18 Michael Chastain <mec.gnu@mindspring.com>
1204
1205 * gdb.cp/pr-574.cc: Add copyright notice.
1206
51fa4ae0
JB
12072004-06-17 Jim Blandy <jimb@redhat.com>
1208
1209 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
1210 cases where the regexp has no groups; this grabs random text from
1211 the previous test suite, whatever that was.
1212
8fea26c5
MC
12132004-06-17 Michael Chastain <mec.gnu@mindspring.com>
1214
1215 * gdb.cp/printmethod.cc: Add copyright notice.
1216
1e3aeb41
MC
12172004-06-16 Michael Chastain <mec.gnu@mindspring.com>
1218
1219 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
1220
9d9030bc
AC
12212004-06-16 Andrew Cagney <cagney@gnu.org>
1222
1223 * gdb.base/signull.c: Update copyright. Include <string.h>.
1224 (bowler): Replace data_pointer with data_read
1225 and data_write cases. Add code_descriptor case.
1226 (zero, desc): New array and pointer.
1227 (data, code): Change to simple pointers.
1228 * gdb.base/signull.exp: Fix probe pattern matching a function
1229 descriptor SIGSEGV. Replace data_pointer with data_read and
1230 data_write tests.
1231
acd4ad44
AC
12322004-06-16 Andrew Cagney <cagney@gnu.org>
1233
1234 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
1235
08fd625c
MC
12362004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1237
1238 * gdb.base/long_long.c: Add copyright notice.
1239
1903502c
MC
12402004-06-15 Michael Chastain <mec.gnu@mindspring.com>
1241
1242 * gdb.base/long_long.exp: Remove reference to
1243 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
1244 to gdb_breakpoint and gdb_continue_to_breakpoint.
1245
83313cb1
JB
12462004-06-14 Jim Blandy <jimb@redhat.com>
1247
1248 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
1249 endian case.
1250
1bf404ef
AC
12512004-06-14 Andrew Cagney <cagney@gnu.org>
1252
1253 * gdb.base/gcore.exp (capture_command_output): Delete the always
1254 passing tests containing inferior values.
1255 * gdb.base/ending-run.exp: Do not include the breakpoint address
1256 in the test message. Update copyright.
1257 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
1258 size in the test name, use gdb_test_multiple. Update copyright.
1259
ef220b33
MC
12602004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1261
1262 * gdb.cp/ref-types.cc: Add copyright notice.
1263
4f70a4c9
MC
12642004-06-14 Michael Chastain <mec.gnu@mindspring.com>
1265
1266 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
1267 hp_aCC_compiler.
1268 * lib/compiler.cc: Likewise.
1269 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
1270 'set' commands. Log diagnostics for other lines. Set
1271 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
1272
335928ac
MC
12732004-06-13 Michael Chastain <mec.gnu@mindspring.com>
1274
1275 * gdb.cp/try_catch.cc: Add copyright notice.
1276
2efb12e8
MC
12772004-06-12 Michael Chastain <mec.gnu@mindspring.com>
1278
1279 * gdb.cp/userdef.cc: Add copyright notice.
1280
0bbed51a
MC
12812004-06-11 Michael Chastain <mec.gnu@mindspring.com>
1282
1283 * gdb.cp/virtfunc.cc: Add copyright notice.
1284
e12a46c9
RC
12852004-06-11 Randolph Chung <tausq@debian.org>
1286
1287 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
1288 problem.
1289
338e05af
AC
12902004-06-10 Andrew Cagney <cagney@gnu.org>
1291
1292 * lib/compiler.cc, lib/compiler.c: Append either
1293 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
1294 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
1295 instead of gcc-3-3.
1296
dc3f10cb
AC
12972004-06-09 Andrew Cagney <cagney@gnu.org>
1298
b4d946af
AC
1299 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
1300 gdb/1455, bug is specific to "long long" and "double".
1301
dc3f10cb
AC
1302 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
1303 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
1304 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
1305 fixed.
1306
b5c0bfa2
AC
13072004-06-09 Andrew Cagney <cagney@gnu.org>
1308
1309 * gdb.base/structs.exp (test_struct_returns): Replace
1310 "return_value_unknown" and "finish_value_unknown" by
1311 "return_value_known" and "finish_value_known". Instead of
1312 "return_value_unknown" iff "finish_value_unknown", check
1313 "return_value_known" implies "finish_value_known".
1314
caeb605f
MH
13152004-06-08 Martin Hunt <hunt@redhat.com>
1316
1317 * gdb.base/float.exp: Add pattern for mips targets.
1318
c892bb64
RC
13192004-06-08 Randolph Chung <tausq@debian.org>
1320
1321 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
1322 message for unknown architectures more clear.
1323
48306d3e
JB
13242004-06-08 Joel Brobecker <brobecker@gnat.com>
1325
1326 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
1327 start the execution of the program.
1328
83ecb59f
JB
13292004-06-07 Jim Blandy <jimb@redhat.com>
1330
1331 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
1332 * gdb.arch/i386-cpuid.h: New helper file.
1333
55264cb4
RC
13342004-06-07 Randolph Chung <tausq@debian.org>
1335
1336 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
1337 has started.
1338
23cadb28
RM
13392004-06-04 Roland McGrath <roland@redhat.com>
1340
1341 Fix PR gdb/1647.
1342 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
1343 differently to be robust to output buffering differences.
1344
51d01eda
MC
13452004-06-04 Michael Chastain <mec.gnu@mindspring.com>
1346
1347 * gdb.threads/pthreads.exp: Update copyright years.
1348 (check_control_c): Change asynchronous 'after' to synchronous.
1349
f4fc3b93
RM
13502004-06-04 Roland McGrath <roland@redhat.com>
1351
1352 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
1353 next gdb prompt.
1354
4013522b
MC
13552004-06-02 Michael Chastain <mec.gnu@mindspring.com>
1356
1357 Fix PR gdb/1636.
1358 * gdb.threads/manythreads.exp: Change asynchronous 'after'
1359 calls to synchronous.
1360
7a8f1e6b
JB
13612004-05-26 Jim Blandy <jimb@redhat.com>
1362
1363 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
1364
81bb3443
RC
13652004-05-24 Randolph Chung <tausq@debian.org>
1366
1367 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
1368 * gdb.asm/pa.inc: New file.
1369
8f5a3103
MK
13702004-05-22 Mark Kettenis <kettenis@gnu.org>
1371
1372 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
1373
734b8fe8
JB
13742004-05-21 Joel Brobecker <brobecker@gnat.com>
1375 Daniel Jacobowitz <drow@mvista.com>
1376
1377 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
1378 GDB prompt.
1379
725603e1
UW
13802004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1381
f4fc3b93 1382 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
1383 setjmp/longjmp. Use sigaction instead of signal.
1384
8b923272
JB
13852004-05-19 J. Brobecker <brobecker@gnat.com>
1386 Michael Snyder <msnyder@redhat.com>
1387
1388 * gdb.threads/pthread_cond_wait.c: New file.
1389 * gdb.threads/pthread_cond_wait.exp: New testcase.
1390
8bfabb04
AC
13912004-05-13 Andrew Cagney <cagney@redhat.com>
1392
1393 * gdb.base/signull.exp, gdb.base/signull.c: New files.
1394 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
1395
42edda50
AC
13962004-05-11 Andrew Cagney <cagney@redhat.com>
1397
1398 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
1399 fixed but revealed gdb/1639.
1400
d303a6c7
AC
14012004-05-10 Andrew Cagney <cagney@redhat.com>
1402
1403 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
1404 func1" and "next to 2nd alarm", kernel bug avoided.
1405
bf08c2a1
DJ
14062004-05-10 Daniel Jacobowitz <dan@debian.org>
1407
1408 PR external/1568
1409 * gdb.base/bigcore.exp: Check the size of the dumped core file.
1410 XFAIL if it is smaller than bytes_allocated.
1411 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
1412 (main): Make chunks_allocated unsigned. Correct comment.
1413
c0586a34
JB
14142004-05-07 Joel Brobecker <brobecker@gnat.com>
1415
1416 * gdb.arch/powerpc-aix-prologue.c: New file.
1417 * gdb.arch/powerpc-aix-prologue.exp: New file.
1418
f2785d12
JB
14192004-05-07 Jim Blandy <jimb@redhat.com>
1420
1421 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
1422 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
1423
bd7f6e30
JB
14242004-05-06 Joel Brobecker <brobecker@gnat.com>
1425
1426 * gdb.base/sep.exp: No longer setup_kfail when the program was
1427 built with dwarf2.
1428
0a5e7efe
JI
14292004-05-05 Jim Ingham <jingham@apple.com>
1430
1431 * gdb.base/pending.exp: Make sure pending breakpoints
1432 preserve the ignore count.
f4fc3b93 1433
a8958849
MK
14342004-04-27 Jerome Guitton <guitton@gnat.com>
1435
1436 * i386-prologue.exp: Add testcase for jump instruction as first
1437 instruction of the real code.
1438 * i386-prologue.c (jump_at_beginning): New function.
1439
7e103f5b
MK
14402004-04-28 Mark Kettenis <kettenis@gnu.org>
1441
1442 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
1443 x86_64-*-*.
1444
5d38b224
MK
14452004-04-28 Mark Kettenis <kettenis@gnu.org>
1446
1447 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
1448 i*86-*-*.
1449
0ef32fd9
MK
14502004-04-25 Mark Kettenis <kettenis@gnu.org>
1451
1452 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
1453 expression that checks the return type.
1454
71d7dd7c
AC
14552004-04-23 Andrew Cagney <cagney@redhat.com>
1456
1457 * gdb.base/call-sc.exp: New test of scalar call/return values.
1458 * gdb.base/call-sc.c: Ditto.
1459
1e9f977e
JJ
14602004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1461
1462 * gdb.threads/manythreads.c: Reduce thread stack size.
1463
899d9e3a
JJ
14642004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1465
1466 * gdb.threads/manythreads.c: Add copyright notice.
1467
61bcae62
AC
14682004-04-23 Andrew Cagney <cagney@redhat.com>
1469
1470 * gdb.base/siginfo.exp: Better handle step out of signal.
1471 * gdb.base/sigstep.exp: Ditto.
1472
7339a42e
JJ
14732004-04-22 Jeff Johnston <jjohnstn@redhat.com>
1474 Daniel Jacobowitz <drow@mvista.com>
1475
1476 * gdb.threads/manythreads.c: New testcase.
1477 * gdb.threads/manythreads.exp: Ditto.
1478
5c98409b
JB
14792004-04-22 Jim Blandy <jimb@redhat.com>
1480
1481 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
1482 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
1483
3b611f1a
MC
14842004-04-21 Michael Chastain <mec.gnu@mindspring.com>
1485
1486 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
1487
f0fd9238
AC
14882004-04-21 Andrew Cagney <cagney@redhat.com>
1489
1490 * gdb.base/sigstep.c: New file.
1491 * gdb.base/sigstep.exp: New file.
1492
90990674
JB
14932004-04-16 Joel Brobecker <brobecker@gnat.com>
1494
1495 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
1496 call to observer_notify_normal_stop.
1497
78cef34b
AC
14982004-04-15 Andrew Cagney <cagney@redhat.com>
1499
1500 * gdb.base/siginfo.c: New file.
1501 * gdb.base/siginfo.exp: New file.
1502
d2343407
JB
15032004-04-12 J. Brobecker <brobecker@gnat.com>
1504
1505 * gdb.base/sep.exp: Fix typo in comment.
1506
a2dba3c8
JB
15072004-04-12 J. Brobecker <brobecker@gnat.com>
1508
1509 * gdb.base/sep.c: New file.
1510 * gdb.base/sep-proc.c: New file.
1511 * gdb.base/sep.exp: New testcase.
1512
15f7b60e
MK
15132004-04-09 Mark Kettenis <kettenis@gnu.org>
1514
1515 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
1516 support.
1517
44f4de1a
AC
15182004-04-05 Andrew Cagney <cagney@redhat.com>
1519
1520 * gdb.base/sigaltstack.c: New file.
1521 * gdb.base/sigaltstack.exp: New file.
1522
ef04f396
JB
15232004-04-04 Joel Brobecker <brobecker@gnat.com>
1524
1525 * gdb.base/foll-fork.exp: Update the expected output for
1526 "help set follow-fork-mode", to match a change that was made
1527 to the help of this variable on 2004-01-13.
1528
d40d2c92
JB
15292004-04-01 Joel Brobecker <brobecker@gnat.com>
1530
1531 * lib/ada.exp: Add copyright notice.
1532 * bar.ads: Likewise.
1533 * bar.adb: Likewise.
1534 * null_record.adb: Likewise.
1535 * null_record.exp: Likewise.
1536 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
1537
f86ef5a3
JB
15382004-04-01 Joel Brobecker <brobecker@gnat.com>
1539
1540 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
1541 * configure: Regenerate.
1542
414e70e3
JB
15432004-04-01 Joel Brobecker <brobecker@gnat.com>
1544
1545 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
1546 to build the application. Remove the message printed when in
1547 verbose mode, redundant with the UNSUPPORTED message above.
1548
f0aaee49
JB
15492004-03-31 Joel Brobecker <brobecker@gnat.com>
1550
1551 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
1552 * gdb.ada (null_record.exp): New testcase.
1553
ac81cb54
JB
15542004-03-31 Joel Brobecker <brobecker@gnat.com>
1555
1556 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
1557
854af2f7
JB
15582004-03-31 Joel Brobecker <brobecker@gnat.com>
1559
1560 * gdb.ada: New subdirectory.
1561 * gdb.ada/Makefile.in: New file.
1562 * gdb.ada/gnat_ada.gpr.in: New file.
1563
034cb681
JB
15642004-03-31 Joel Brobecker <brobecker@gnat.com>
1565
1566 * lib/ada.exp: New file.
1567
78a1a894
DJ
15682004-03-24 Daniel Jacobowitz <drow@mvista.com>
1569
1570 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
1571 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
1572
4b2b3b3e
AC
15732004-03-22 Andrew Cagney <cagney@redhat.com>
1574
1575 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
1576 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
1577 Problem identified by Ulrich Weigand.
1578
23c73aa3
DC
15792004-03-17 David Carlton <carlton@kealia.com>
1580
1581 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
1582 PR c++/826.
1583
d63a86f8
RM
15842004-03-16 Roland McGrath <roland@redhat.com>
1585
1586 * gdb.base/auxv.exp: New file.
1587 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
1588
0e02aa50
DC
15892004-03-12 David Carlton <carlton@kealia.com>
1590
1591 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
1592 * gdb.cp/pr-1553.cc: Ditto.
1593 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
1594 pass branch.
1595
c20b71be
MC
15962004-03-12 Michael Chastain <mec.gnu@mindspring.com>
1597
1598 * gdb.cp/templates.exp: Accept more template types.
1599
c7414a01
MC
16002004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1601
1602 From Corinna Vinschen with modifications.
1603 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
1604 local variable obj_with_enum.
1605 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
1606 results with obj_with_enum.
1607
ed69573c
MC
16082004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1609
1610 * gdb.cp/classes.cc: New file, copied from misc.cc.
1611 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
1612
28301461
MC
16132004-03-09 Michael Chastain <mec.gnu@mindspring.com>
1614
1615 * gdb.cp/misc.cc: Add copyright notice.
1616
1198ecbe
DC
16172004-03-05 David Carlton <carlton@kealia.com>
1618
1619 * gdb.cp/rtti.exp: Add 'print *obj3' test.
1620 * gdb.cp/rtti.h: Update copyright.
1621 (namespace n2::n3): New.
1622 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
1623 (n2::n3::func3): New.
1624 (main): Call n2::n3::func3.
1625 * gdb.cp/rtti2.cc: Update copyright.
1626 (n2::create3): New.
1627
9e08c470
MK
16282004-03-04 Mark Kettenis <kettenis@gnu.org>
1629
1630 * gdb.asm/openbsd.inc: Fix typo.
1631
4bebc3aa
FF
16322004-03-03 Fred Fish <fnf@redhat.com>
1633
1634 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
1635 "val" instead of unused "size". Update copyright year.
1636
6ea9fb37
DJ
16372004-02-29 Daniel Jacobowitz <drow@mvista.com>
1638
1639 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
1640 to use unsigned char.
1641 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
1642 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
1643
23b23974
DJ
16442004-02-29 Daniel Jacobowitz <drow@mvista.com>
1645
1646 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
1647 line of output.
1648
7574fd53
DJ
16492004-02-28 Daniel Jacobowitz <drow@mvista.com>
1650
1651 * gdb.base/relocate.c (dummy): Initialize.
1652
a195357f
DJ
16532004-02-28 Daniel Jacobowitz <drow@mvista.com>
1654
1655 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
1656 a breakpoint at exit.
1657
72fd54a9
FF
16582004-02-27 Fred Fish <fnf@redhat.com>
1659
1660 * gdb.base/chng-syms.exp: Add expect condition to match failing
1661 case that isn't a timeout.
1662
b9d23137
AC
16632004-02-27 Andrew Cagney <cagney@redhat.com>
1664
1665 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
1666 support.
1667
15d208f6 16682004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 1669
15d208f6
FF
1670 * gdb.arch/gdb1431.c: Remove.
1671 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
1672 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
1673 of "until" incorrectly.
1674
98f9cd2d
JB
16752004-02-26 J. Brobecker <brobecker@gnat.com>
1676
1677 * gdb.cp/class2.cc (empty): New class.
1678 (refer): New function.
1679 (main): Declare an object of type empty and use it.
1680 * gdb.cp/class2.exp: Print the value of an object of type empty.
1681
9b50c11b
JJ
16822004-02-26 Jeff Johnston <jjohnstn@redhat.com>
1683
1684 * gdb.base/langs.exp: Update query string to match the
1685 new nquery format used for pending breakpoints.
1686
0dcd613f
AC
16872004-02-26 Andrew Cagney <cagney@redhat.com>
1688
1689 Fix PR i18n/1570.
1690 * gdb.base/charset.c: Update copyright notice.
1691 (main, init_string): Remove the escape character '\e' tests.
1692 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
1693 * gdb.base/charset.exp (valid_host_charset): Ditto.
1694 * gdb.base/setvar.exp: Ditto.
1695
b8a56647
AC
16962004-02-24 Andrew Cagney <cagney@redhat.com>
1697
90d59e34
AC
1698 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
1699 mmapped data in core file" PASS and FAIL messages consistent.
1700
b8a56647
AC
1701 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
1702 setting a breakpoint. Work around PR java/1565.
1703
9f27c604
JJ
17042004-02-23 Jeff Johnston <jjohnstn@redhat.com>
1705
1706 * lib/gdb.exp (gdb_breakpoint): Update query string to match
1707 new nquery format.
1708 * gdb.base/pending.exp: Ditto.
1709
3224a706
MK
17102004-02-22 Mark Kettenis <kettenis@gnu.org>
1711
1712 * configure.in: Run stabs tests on *BSD.
1713 * configure: Regenerated.
1714
41e0a9ca
MK
17152004-02-21 Mark Kettenis <kettenis@gnu.org>
1716
1717 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
1718
1e1b3428
FF
17192004-02-20 Fred Fish <fnf@redhat.com>
1720
1721 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
1722 blank in test for "returns short", for consistency with other
1723 "returns xxx" tests. Update copyright year.
1724
f9a7572a
FF
17252004-02-19 Fred Fish <fnf@redhat.com>
1726
1727 New testcase for PR breakpoint/1558.
1728 * gdb.arch/gdb1558.exp: New file.
1729 * gdb.arch/gdb1558.c: New file.
1730
b2ce2854
EZ
17312004-02-19 Elena Zannoni <ezannoni@redhat.com>
1732
1733 * gdb.base/nodebug.exp: Fix typo.
1734
e7c9ff01
JB
17352004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1736
1737 Committed by Jim Blandy <jimb@redhat.com>.
1738
62f4b920
JB
1739 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
1740
2db536a1
JB
1741 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
1742
e7c9ff01
JB
1743 * gdb.base/float.exp: Support s390*-*-* targets.
1744
f3205b34
AF
17452004-02-17 Adam Fedor <fedor@gnu.org>
1746
1747 * gdb.base/gdb1555.exp: New file.
1748 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
1749
9d62932d
EZ
17502004-02-17 Elena Zannoni <ezannoni@redhat.com>
1751
1752 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
1753
344c9711
FF
17542004-02-16 Fred Fish <fnf@redhat.com>
1755
1756 * gdb.arch/gdb1291.c: Remove
1757 * gdb.arch/gdb1291.s: New test input file.
1758 * gdb.arch/gdb1291.exp: Expand test to check case that should not
1759 fail. Test for correct result, known incorrect result, other
1760 failures and timeouts.
1761
2d822687
AC
17622004-02-16 Andrew Cagney <cagney@redhat.com>
1763
1764 * gdb.base/bigcore.exp: New file.
1765 * gdb.base/bigcore.c: New file.
1766
dac15b66
AC
17672004-02-13 Andrew Cagney <cagney@redhat.com>
1768
1769 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
1770 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
1771 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
1772 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
1773 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
1774 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
1775 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
1776 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
1777 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
1778 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
1779
6bdfc2c4
JJ
17802004-02-11 Jeff Johnston <jjohnstn@redhat.com>
1781
1782 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
1783 executed is an alloc instruction.
1784
87b3ede8
DC
17852004-02-11 David Carlton <carlton@kealia.com>
1786
1787 * gdb.cp/breakpoint.exp: New.
1788 * gdb.cp/breakpoint.cc: New.
1789
6e19e2bf
MC
17902004-02-11 Michael Chastain <mec.gnu@mindspring.com>
1791
1792 Partial fix for PR gdb/1543.
1793 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
1794 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
1795 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
1796 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
1797 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
1798 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
1799 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
1800 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
1801 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
1802 to bug-gdb@prep.ai.mit.edu .
1803 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
1804 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
1805 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
1806 Likewise.
1807
5c5455dc
AC
18082004-02-10 Andrew Cagney <cagney@redhat.com>
1809
1810 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
1811 using gdb_internal_error_resync.
1812
9cf689d7
DJ
18132004-02-09 Daniel Jacobowitz <drow@mvista.com>
1814
1815 * gdb.threads/thread-specific.exp: Stop early if no threads are
1816 found.
1817
d2dc51db
MC
18182004-02-09 Michael Chastain <mec.gnu@mindspring.com>
1819
1820 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
1821
14b1a056
DJ
18222004-02-08 Daniel Jacobowitz <drow@mvista.com>
1823
1824 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
1825 breakpoints.
1826
83f66e8f
DJ
18272004-02-07 Daniel Jacobowitz <drow@mvista.com>
1828
1829 * config/sim.exp (gdb_load): Handle $arg == "".
1830 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
1831 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
1832
30fc0091
EZ
18332004-02-07 Elena Zannoni <ezannoni@redhat.com>
1834
1835 * gdb.base/maint.exp: Update test to reflect
1836 obstack changes.
1837
4d806929
JJ
18382004-02-04 Jeff Johnston <jjohnstn@redhat.com>
1839
1840 * gdb.base/pendshr.c (pendfunc): New function that calls
1841 pendfunc1.
1842 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
1843
7bfdd688
FF
18442004-02-04 Fred Fish <fnf@redhat.com>
1845
1846 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
1847 function symbols and update copyright years.
1848 * gdb.arch/gdb1291.c: Ditto.
1849
aaa08ee4
MC
18502004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1851
1852 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
1853
dbad7755
MC
18542004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1855
1856 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
1857
ec4646ef
MC
18582004-02-03 Michael Chastain <mec.gnu@mindspring.com>
1859
1860 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
1861
1b802196
FF
18622004-02-02 Fred Fish <fnf@redhat.com>
1863
1864 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
1865 remote targets. Update copyright years.
1866
18fe2033
JJ
18672004-02-02 Jeff Johnston <jjohnstn@redhat.com>
1868
1869 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
1870 support.
1871 * gdb.base/langs.exp: Fix test which attempts to create
1872 breakpoint on non-existent function to handle new pending
1873 support.
1874 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
1875 a breakpoint.
1876 * gdb.base/pending.exp: New test.
1877 * gdb.base/pending.c: New file.
1878 * gdb.base/pendshr.c: Ditto.
1879
8d577d32
DC
18802004-02-02 David Carlton <carlton@kealia.com>
1881
1882 * gdb.cp/overload.exp: Add overloadNamespace tests.
1883 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
1884 (overloadNamespace, XXX): New.
1885 (main): Call XXX::marker2.
1886
3ad13771
FF
18872004-02-01 Fred Fish <fnf@redhat.com>
1888
1889 * gdb.base/dump.exp: Use runto_main instead of "runto main".
1890 * gdb.base/finish.exp: Ditto.
1891 * gdb.base/gcore.exp: Ditto.
1892 * gdb.base/huge.exp: Ditto.
1893 * gdb.base/info-proc.exp: Ditto.
1894 * gdb.base/return2.exp: Ditto.
1895 * gdb.threads/gcore-thread.exp: Ditto.
1896
44c75849
DJ
18972004-02-01 Daniel Jacobowitz <drow@mvista.com>
1898
1899 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
1900
005bc093
MK
19012004-02-01 Mark Kettenis <kettenis@gnu.org>
1902
1903 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
1904 that opening the file succeeds on OpenBSD.
1905
c47cebdb
DJ
19062004-02-01 Daniel Jacobowitz <drow@mvista.com>
1907
1908 * gdb.threads/thread-specific.c: New file.
1909 * gdb.threads/threads-specific.exp: New test script.
1910 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
1911 to expect_out.
1912
5a01311c
MK
19132004-02-01 Mark Kettenis <kettenis@gnu.org>
1914
1915 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
1916 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
1917 only on the "print_small_structs from print_long_arg_list" test.
1918
ce22a4f1
DJ
19192004-02-01 Daniel Jacobowitz <drow@mvista.com>
1920
1921 * gdb.base/completion.exp: Kill a stray backslash.
1922
1923 From Jim Ingham <jingham@apple.com>:
1924 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
1925 agrees with the result from sending a tab.
1926
abbab9d3
DJ
19272004-01-31 Daniel Jacobowitz <drow@mvista.com>
1928
1929 * gdb.base/chng-syms.exp: Remove stray newline.
1930
53904d1e
MK
19312004-01-31 Mark Kettenis <kettenis@gnu.org>
1932
1933 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
1934 *-*-openbsd*.
1935 * gdb.asm/openbsd.inc: New file.
1936
3a4b3aac
MK
19372004-01-30 Mark Kettenis <kettenis@gnu.org>
1938
1939 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
1940 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
1941 *-*solaris2*. Remove commented out default settings for
1942 asm-flags. Replace gdb_compile with target_link.
1943
ebac27b4
MC
19442004-01-29 Michael Chastain <mec.gnu@mindspring.com>
1945
1946 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
1947 for all tests. Remove old hp-ux and cygnus xfail cases.
1948
d8679d84
PH
19492004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
1950
1951 * gdb.base/chng-syms.exp: New file.
1952 * gdb.base/chng-syms.c: New file.
1953
0a55bc22
MC
19542004-01-24 Michael Chastain <mec.gnu@mindspring.com>
1955
1956 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
1957 Provide arms for current output in all my configurations.
1958
94b8e876
MC
19592004-01-24 Michael Chastain <mec.gnu@mindspring.com>
1960
1961 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
1962 * lib/compiler.cc: Likewise.
1963 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
1964 get the right preprocessor. Eval the output directly. Remove
1965 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
1966 hp_f77_compiler and hp_f90_compiler completely.
1967 (gdb_preprocess): Delete.
1968 (get_compiler): Delete.
1969
7cf03d44
MK
19702004-01-24 Mark Kettenis <kettenis@gnu.org>
1971
1972 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
1973 <string.h>.
1974
68b6dce9
NR
19752004-01-24 Nick Roberts <nick@nick.uklinux.net>
1976
1977 * gdb.mi/mi-stack.exp: Update copyright.
1978
b368761e
DC
19792004-01-23 David Carlton <carlton@kealia.com>
1980
1981 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
1982 test for cp_lookup_transparent_type.
1983 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
1984 call them.
1985
f2061b53
DJ
19862004-01-23 Daniel Jacobowitz <drow@mvista.com>
1987
1988 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
1989 after -var-update.
1990
37fc574a
DC
19912004-01-23 David Carlton <carlton@kealia.com>
1992
1993 * gdb.cp/namespace.cc (C::ensureRefs): New.
1994 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
1995
8e94b928
NR
19962004-01-20 Nick Roberts <nick@nick.uklinux.net>
1997
1998 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
1999 case "-stack-list-locals 2".
2000 * gdb.mi/mi-var-child.exp: Test for case
2001 "-var-list-children --all-values NAME".
2002
997b0952
MC
20032004-01-18 Michael Chastain <mec.gnu@mindspring.com>
2004
2005 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
2006
52470da3
MK
20072004-01-18 Mark Kettenis <kettenis@gnu.org>
2008
7049b4b8
MK
2009 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
2010 used with gdb_test_multiple.
2011
52470da3
MK
2012 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
2013 read at address 0. This fixes PR testsuite/1504.
2014
da6012e5
DJ
20152004-01-18 Daniel Jacobowitz <drow@mvista.com>
2016
2017 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
2018 Remove downloading, guessing the host executable, the calls to
2019 gdb_file_cmd and gdb_target_cmd, and "load" support.
2020 (infer_host_exec): New function broken out from gdb_load.
2021 (gdb_load): New wrapper for gdbserver_gdb_load.
2022 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
2023 gdb_target_cmd. Use -target-select.
2024 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
2025 Download binaries to the host. Clear last_mi_remote_file when
2026 we load a new binary.
2027 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
2028 call gdbserver_gdb_load and mi_gdb_target_cmd.
2029
32c70722
MC
20302004-01-17 Michael Chastain <mec.gnu@mindspring.com>
2031
2032 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
2033 type patterns.
2034
b0cecf36
MC
20352004-01-17 Michael Chastain <mec.gnu@mindspring.com>
2036
2037 * gdb.cp/templates.exp: Fix typo in test name of
2038 "print Foo<volatile char*>::foo".
2039
4120d7e6
MC
20402004-01-15 Michael Chastain <mec.gnu@mindspring.com>
2041
2042 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
2043
f679e530
BE
20442004-01-16 Ben Elliston <bje@wasabisystems.com>
2045
2046 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
2047 (clean mostlyclean): Remove empty rm.
2048
091c48f6
MC
20492004-01-15 Michael Chastain <mec.gnu@mindspring.com>
2050
2051 * gdb.base/setvar.exp: Add copyright years.
2052
3e5fc8d2
DC
20532004-01-14 David Carlton <carlton@bactrian.org>
2054
2055 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
2056 PR c++/1511 and update coment.
2057 * gdb.cp/templates.exp: Update patterns to match current output.
2058 If changes involve something other than whitespace, KFAIL
2059 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
2060
63d06c5c
DC
20612004-01-14 David Carlton <carlton@kealia.com>
2062
2063 * gdb.cp/namespace.exp: Add tests involving classes defined within
2064 namespaces.
2065 * gdb.cp/namespace.cc (C::CClass): New.
2066 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
2067
a51dab88
EZ
20682004-01-14 Elena Zannoni <ezannoni@redhat.com>
2069
2070 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
2071 what debug info we have. Print a better message if something goes
2072 wrong while producing the separate debug info file.
2073
a476ccc9
MC
20742004-01-14 Michael Chastain <mec.gnu@mindspring.com>
2075
2076 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
2077
f453692c
MC
20782004-01-14 Michael Chastain <mec.gnu@mindspring.com>
2079
2080 * gdb.base/callfuncs.c: Add copyright notice.
2081
f40063a5
MC
20822004-01-13 Michael Chastain <mec.gnu@mindspring.com>
2083
2084 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
2085 inheritance. PR gdb/1498, PR gcc/13539.
2086
19ac3974
EZ
20872004-01-13 Elena Zannoni <ezannoni@redhat.com>
2088
2089 * gdb.threads/gcore-thread.exp: Prefix name of binary with
2090 test specific name.
2091 * gdb.mi/gdb669.exp: Ditto.
2092 * gdb.mi/mi-pthreads.exp: Ditto.
2093 * gdb.mi/mi1-pthreads.exp: Ditto.
2094 * gdb.mi/mi2-pthreads.exp: Ditto.
2095
56c97c6e
MC
20962004-01-12 Michael Chastain <mec.gnu@mindspring.com>
2097
2098 * gdb.cp/member-ptr.cc: Add copyright notice.
2099
a0644324
MC
21002004-01-12 Michael Chastain <mec.gnu@mindspring.com>
2101
2102 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
2103 some patterns for recent versions of gcc and hpacc. Delete
2104 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
2105 Delete tests that access a NULL pointer-to-member-data. This
2106 script is still disabled for gcc.
2107
32fabe09
EZ
21082004-01-12 Elena Zannoni <ezannoni@redhat.com>
2109
2110 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
2111 escaped correctly.
2112
1f8a6abb
EZ
21132004-01-12 Elena Zannoni <ezannoni@redhat.com>
2114
2115 * gdb.base/sepdebug.exp: New file.
2116 * gdb.base/sepdebug.c: New file.
2117 * lib/gdb.exp (separate_debug_filename): New procedure.
2118 (gdb_gnu_strip_debug): New procedure.
2119
48efe704
AC
21202004-01-12 Andrew Cagney <cagney@redhat.com>
2121
2122 * gdb.mi/ChangeLog: Delete file. Renamed to ...
2123 * gdb.mi/ChangeLog-1999-2003: New file.
2124
a9415475
AC
21252004-01-12 Andrew Cagney <cagney@redhat.com>
2126
2127 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
2128 "Renaming a directory to a non-empty directory returns ENOTEMPTY
2129 or EEXIST", treat EBUSY as an XFAIL.
2130
83b8cf9d
MC
21312004-01-11 Michael Chastain <mec.gnu@mindspring.com>
2132
2133 * gdb.base/scope.exp: Remove obsolete setup_xfail for
2134 hp_cc_compiler.
2135
9939d2a8
MC
21362004-01-10 Michael Chastain <mec.gnu@mindspring.com>
2137
2138 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
2139 decorations.
2140
1ff8cadf
MC
21412004-01-10 Michael Chastain <mec.gnu@mindspring.com>
2142
2143 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
2144 and "(aCC)" decorations. Remove obsolete doco about old
2145 test results.
2146
6fa9022e
MC
21472004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2148
2149 * gdb.cp/exception.exp: Fix typo in doco.
2150
209721fe
MK
21512004-01-09 Mark Kettenis <kettenis@gnu.org>
2152
2153 * gdb.base/gdb1476.exp: Fix typo.
2154
ef11303e
MC
21552004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2156
2157 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
2158 file.
2159
041ab88c
MC
21602004-01-09 Michael Chastain <mec.gnu@mindspring.com>
2161
2162 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
2163 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
2164 Use gdb_compile. Remove restriction on gcc. Add some patterns
2165 for recent version of gdb. Delete second half, which was a copy
2166 of the first half with different build flags. This test is
2167 still disabled because it is still not ready for production.
2168
e36d075a
MC
21692004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2170
2171 * gdb.cp/exception.cc: Add copyright notice.
2172 * gdb.cp/exception.exp: Add a notice that this file is broken
2173 because of line number changes caused by addition of copyright
2174 notice.
2175
42b190ad
MC
21762004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2177
2178 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
2179 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
2180
8f25f06b
MC
21812004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2182
2183 * gdb.cp/classes.exp: Accept gnu abi 2.
2184 * gdb.cp/derivation.exp: Likewise.
2185 * gdb.cp/overload.exp: Likewise.
2186 * gdb.cp/virtfunc.exp: Likewise.
2187
06ded8b8
MC
21882004-01-08 Michael Chastain <mec.gnu@mindspring.com>
2189
2190 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
2191 semicolon after end of function.
2192
77c26ae3
MC
21932004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2194
2195 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
2196 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
2197 boilerplate code for compiling and running the program under
2198 test. Add some string method tests.
2199
20757486
MC
22002004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2201
2202 * gdb.cp/bs15503.cc: Add copyright notice.
2203 * gdb.cp/bs15503.exp: Adjust line number.
2204
0fd3b503
MC
22052004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2206
2207 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
2208 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
2209
10d1bea8
MC
22102004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2211
2212 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
2213 hp_cc_compiler.
2214
2789202a
MC
22152004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2216
2217 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
2218 * gdb.cp/ctti.exp: Use the marker instead of "next".
2219 With gcc, run further before bailing.
2220
b862f14c
MC
22212004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2222
2223 * gdb.cp/cttiadd.cc: Add copyright notice.
2224 * gdb.cp/cttiadd1.cc: Likewise.
2225 * gdb.cp/cttiadd2.cc: Likewise.
2226 * gdb.cp/cttiadd3.cc: Likewise.
2227
96da2469
MC
22282004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2229
2230 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
2231 Use gdb_test, gdb_test_multiple. Use floating-point values that
2232 have exact representations in IEEE-ish formats.
2233
053248ff
MC
22342004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2235
2236 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
2237 compilers. Delete duplicate call to get_compiler_info.
2238 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
2239 * gdb.base/volatile.exp: Likewise.
2240
84acecdd
MK
22412004-01-07 Mark Kettenis <kettenis@gnu.org>
2242
2243 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
2244 memory at address 0.
2245
fe11a27f
MC
22462004-01-07 Michael Chastain <mec.gnu@mindspring.com>
2247
2248 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
2249 to test for hp-ux assembler. Fix copyright years.
2250
60ad077b
AC
22512004-01-07 Andrew Cagney <cagney@redhat.com>
2252
2253 * gdb.base/fileio.c (strerrno): Add "EBUSY".
2254
1c9b8f33
AC
22552004-01-07 Andrew Cagney <cagney@redhat.com>
2256
2257 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
2258 when creating the read-only file. From analysis by Roland McGrath
2259 and Elena Zannoni.
2260
753ccc7a
MC
22612004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2262
2263 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
2264
eca3e36b
MC
22652004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2266
2267 * gdb.base/cvexpr.c: Be type-safe with function pointers and
2268 data pointers.
2269
f8d4bac4
MC
22702004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2271
2272 * gdb.cp/m-static.exp: Compile one source file at a time.
2273 Delete unused call to get_compiler_info.
2274
9b4e0f94
MC
22752004-01-06 Michael Chastain <mec.gnu@mindspring.com>
2276
2277 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
2278 * gdb.base/call-rt-st.exp: Likewise.
2279 * gdb.base/nodebug.exp: Likewise.
2280 * gdb.base/volatile.exp: Likewise.
2281 * gdb.cp/ref-types.exp: Likewise.
2282 * gdb.cp/templates.exp: Likewise.
2283
023c1024
MK
22842004-01-05 Mark Kettenis <kettenis@gnu.org>
2285
2286 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
2287
19703c4a
MC
22882004-01-05 Michael Chastain <mec.gnu@mindspring.com>
2289
2290 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
2291 hppa*-hp-hpux*.
2292
18b67037
MK
22932004-01-04 Mark Kettenis <kettenis@gnu.org>
2294
ba6219c8
MK
2295 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2296 x86_64-*-*.
2297
18b67037
MK
2298 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
2299 sparc64-*-* and sparc*-solaris2*.
2300
1bfbbb9d
MK
23012004-01-04 Mark Kettenis <kettenis@gnu.org>
2302
2303 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
2304 return ${tests}" test. The ${tests} already mentions the
2305 filename.
2306
06846494
MC
23072004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2308
2309 * gdb.cp/local.exp: Accept gcc abi 2.
2310
3b0cb202
MC
23112004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2312
2313 * gdb.cp/templates.exp: Accept gcc abi 2.
2314
0643ec3f
MC
23152004-01-02 Michael Chastain <mec.gnu@mindspring.com>
2316
2317 * lib/compiler.cc: Remove supports_template_debugging.
2318 * gdb.cp/templates.exp: Do not test supports_template_debugging.
2319
d231d0b1
MC
23202004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2321
2322 * gdb.cp/namespace.exp: Accept gcc abi 2.
2323
44ffb27c
MC
23242004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2325
2326 * gdb.cp/method.exp: Accept gcc abi 2.
2327
184ad485
MC
23282004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2329
2330 * gdb.cp/classes.exp: Generate identical results as old version.
2331 * gdb.cp/derivation.exp: Likewise.
2332 * gdb.cp/overload.exp: Likewise.
2333 * gdb.cp/virtfunc.exp: Likewise.
2334
116f09e7
MC
23352004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2336
2337 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
2338 mysterious bug with sourceware version of expect.
2339
b1379776
MC
23402004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2341
2342 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
2343 current versions of gcc, including gcc abi 2. Remove gratuitous
2344 restart of test program. Use gdb_test_multiple and gdb_test for
2345 all tests. Add patterns to xfail missing "const" in "const char *"
2346 and kfail PR gdb/1155.
2347
6b7a4c0e
MC
23482004-01-01 Michael Chastain <mec.gnu@mindspring.com>
2349
2350 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
2351 current versions of gcc, including gcc abi 2. Remove gratuitous
2352 restart of test program. Use gdb_test_multiple and gdb_test for
2353 all tests. Add patterns to kfail PR gdb/1498.
2354
51615d72
MC
23552003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2356
2357 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
2358 current versions of gcc, including gcc abi 2. Use "breakpoint"
2359 and "continue" instead of restarting the target program. Use
2360 gdb_test_multiple and gdb_test for all tests.
2361
7b79a9d7
MK
23622004-01-01 Mark Kettenis <kettenis@gnu.org>
2363
2364 * gdb.asm/asm-source.exp: Update copyright year. Link statically
2365 for *-*-solaris2*.
2366
1cd3489f
MC
23672003-12-31 Michael Chastain <mec.gnu@mindspring.com>
2368
2369 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
2370 current versions of gcc, including gcc abi 2. Use "breakpoint"
2371 and "continue" instead of restarting the target program several
2372 times. Use gdb_test_multiple and gdb_test for all tests.
2373
850742db
MC
23742003-12-18 Michael Chastain <mec.gnu@mindspring.com>
2375
2376 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
2377 source files.
2378
eb4bbda8
MC
23792003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2380
2381 * gdb.base/environ.exp: Handle compiling test case from multiple
2382 source files.
2383
e42c7771
MC
23842003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2385
2386 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2387
80e4b428
JB
23882003-12-17 Jim Blandy <jimb@redhat.com>
2389
5f06973a
JB
2390 * gdb.base/freebpcmd.c: Add copyright notice.
2391
80e4b428
JB
2392 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
2393
0ab84fb7
MC
23942003-12-16 Michael Chastain <mec.gnu@mindspring.com>
2395
2396 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
2397
1b3bb3d0
JB
23982003-12-13 Jim Blandy <jimb@redhat.com>
2399
2400 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
2401
3a4c9371
KB
24022003-12-12 Kevin Buettner <kevinb@redhat.com>
2403
2404 * gdb.asm/frv.inc: New file.
2405 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
2406
a1dea79a
FF
24072003-12-09 Fred Fish <fnf@redhat.com>
2408
2409 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
2410 functions to break1.c and leave prototypes behind. Add more
2411 "set breakpoint NN here" comments.
2412 * gdb.base/break1.c: New file.
2413
2414 * gdb.base/break.exp: Handle compiling test case from multiple
2415 source files and change source file references as needed.
2416 * gdb.base/completion.exp: Ditto.
2417 * gdb.base/condbreak.exp: Ditto.
2418 * gdb.base/define.exp: Ditto.
2419 * gdb.base/ena-dis-br.exp: Ditto.
2420 * gdb.base/info-proc.exp: Ditto.
2421 * gdb.base/maint.exp: Ditto.
2422 * gdb.base/until.exp: Ditto.
2423
2424 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
2425 hardcoded line numbers.
2426 * gdb.base/define.exp: Ditto.
2427 * gdb.base/ena-dis-br.exp: Ditto.
2428 * gdb.base/maint.exp: Ditto.
2429 * gdb.base/until.exp: Ditto.
2430
2431 * gdb.base/completion.exp: Use "break1" for completion tests since
2432 "break" is no longer a unique prefix.
2433
5266b69c
AC
24342003-12-06 Andrew Cagney <cagney@redhat.com>
2435
2436 * gdb.base/structs.exp (test_struct_returns): When applicable, set
2437 "return_value_unimplemented". When an unimplemented struct return
2438 architecture, report incorrect values as a KFAIL
2439
374451f0
MC
24402003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2441
2442 * gdb.cp/rtti.exp: Accept new wording of warning from
2443 cp_lookup_rtti_type.
2444
ba9b20a7
MC
24452003-12-05 Michael Chastain <mec.gnu@mindspring.com>
2446
2447 Partial fix for PR testsuite/1456.
2448 * gdb.base/scope.exp (test_at_main): Replace references to
2449 gcc_compiled with calls to test_compiler_info.
2450 (test_at_foo): Likewise.
2451 (test_at_bar): Likewise.
2452
b74b6d0b
MC
24532003-12-04 Michael Chastain <mec.gnu@mindspring.com>
2454
2455 Partial fix for PR testsuite/1456.
2456 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
2457 to test_compiler_info.
2458
ccfa3402
MC
24592003-12-03 Michael Chastain <mec.gnu@mindspring.com>
2460
2461 * gdb.base/so-impl-ld.exp: Update copyright notice.
2462
f6246aba
MC
24632003-12-02 Michael Chastain <mec.gnu@mindspring.com>
2464
2465 Partial fix for PR testsuite/1456.
2466 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
2467 to test_compiler_info.
2468
13ae734a
MC
24692003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2470
2471 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
2472 from current versions of gdb. Clean up regular expressions.
2473 Delete redundant timeout case.
2474
d8e1cdee
MC
24752003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2476
2477 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
2478 from current versions of gdb. Clean up regular expressions.
2479 Delete redundant timeout case.
2480
96457b64
MC
24812003-12-01 Michael Chastain <mec.gnu@mindspring.com>
2482
2483 Partial fix for PR testsuite/1456.
2484 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
2485 gcc_compiled with call to test_compiler_info.
2486
f35309fc
MC
24872003-11-30 Michael Chastain <mec.gnu@mindspring.com>
2488
2489 Partial fix for PR testsuite/1456.
2490 * gdb.base/list.exp (test_list_function): Delete unused declaration
2491 of gcc_compiled.
2492
d7afdf9b
MC
24932003-11-29 Michael Chastain <mec.gnu@mindspring.com>
2494
2495 Partial fix for PR testsuite/1456.
2496 * gdb.base/complex.exp: Replace reference to gcc_compiled with
2497 call to test_compiler_info.
2498
71507b56
MK
24992003-11-29 Mark Kettenis <kettenis@gnu.org>
2500
2501 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
2502 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
2503 it to create the appropriate note.inc.
2504 * gdb.asm/asmsrc1.s: Include "note.inc".
2505 * gdb.asm/netbsd.inc: New file.
2506 * gdb.asm/empty.inc: New file.
2507
f81f93f7
MC
25082003-11-28 Michael Chastain <mec.gnu@mindspring.com>
2509
2510 Partial fix for PR testsuite/1456.
2511 * gdb.base/constvars.exp: Replace references to gcc_compiled with
2512 calls to test_compiler_info.
2513
9a77938e
MC
25142003-11-27 Michael Chastain <mec.gnu@mindspring.com>
2515
2516 Partial fix for PR testsuite/1456.
2517 * gdb.base/volatile.exp: Replace references to gcc_compiled with
2518 calls to test_compiler_info.
2519
e8367dc7
MK
25202003-11-27 Mark Kettenis <kettenis@gnu.org>
2521
2522 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
2523 pattern for the KFAILs.
2524
526c61ee
AF
25252003-11-25 Adam Fedor <fedor@gnu.org>
2526
2527 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
2528 * gdb.objc/objcdecode.m: New file.
2529
28f2d600
AF
25302003-11-25 Adam Fedor <fedor@gnu.org>
2531
2532 * gdb.objc/nondebug.exp: Test for PR objc/1236.
2533 * gdb.objc/nondebug.m: New file.
2534
a3895cee
BE
25352003-11-26 Ben Elliston <bje@wasabisystems.com>
2536
2537 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
2538 NetBSD as it does on FreeBSD. Modelled on a similar change by
2539 Mark Kettenis on 2003-05-30.
2540 (link-flags): Set to "--entry _start" regardless of target.
2541 Special linker flags are to be appended to $link-flags.
2542 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2543
c9f2c8a3
MC
25442003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2545
2546 * gdb.cp/method.exp: Accept output of new demangler.
2547
15a0587a 25482003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
2549
2550 * gdb/class2.exp: New file.
2551 * gdb/class2.cc: New file.
2552
3c00b570
MC
25532003-11-25 Michael Chastain <mec.gnu@mindspring.com>
2554
2555 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
2556 of new demangler.
2557
7027acc7
MK
25582003-11-23 Mark Kettenis <kettenis@gnu.org>
2559
2560 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
2561 of gdb_test "run".
2562
b0e1598a
MK
25632003-11-23 Mark Kettenis <kettenis@gnu.org>
2564
2565 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
2566 "continue" into "run".
2567
4d9eda44
MC
25682003-11-23 Michael Chastain <mec.gnu@mindspring.com>
2569
2570 Partial fix for PR testsuite/1456.
2571 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
2572 call to test_compiler_info.
2573 * gdb.cp/ctti.exp: Likewise.
2574 * gdb.cp/derivation.exp: Likewise.
2575 * gdb.cp/member-ptr.exp: Likewise.
2576 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
2577 reference to gcc_compiled.
2578
25792003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
2580
2581 Fix PR testsuite/1463.
2582 * gdb.base/structs.exp (start_structs_test): Call
2583 get_debug_format before using the debug format.
2584
d422fe19
AC
25852003-11-22 Andrew Cagney <cagney@redhat.com>
2586
2587 * lib/gdb.exp (gdb_test_multiple): Add simple example.
2588 * gdb.base/structs.exp: Use gdb_test_multiple.
2589
039cf96d
AC
25902003-11-20 Andrew Cagney <cagney@redhat.com>
2591
6882279b
AC
2592 * gdb.base/structs.exp: Handle and recover from internal errors.
2593 Replace "foo${n}" with "foo<n>" in test messages.
2594
e53890ae
AC
2595 * gdb.base/structs.exp: Update copyright. Rewrite.
2596 * gdb.base/structs.c: Update copyright. Rewrite.
2597
2b211c59
AC
2598 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
2599 resync count exceeded.
d63a86f8 2600
039cf96d
AC
2601 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
2602 from the internal error.
2603 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
2604 Original from Jim Blandy.
2605 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 2606
eac98b22
AC
26072003-11-19 Andrew Cagney <cagney@redhat.com>
2608
2609 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
2610 KFAIL.
2611
67455b2a
MK
26122003-11-17 Mark Kettenis <kettenis@gnu.org>
2613
2614 New testcase for PR backtrace/1435.
2615 * gdb.arch/i386-unwind.exp: New file.
2616 * gdb.arch/i386-unwind.c: New file.
2617
853d6e5b
AC
26182003-11-17 Andrew Cagney <cagney@redhat.com>
2619
2620 * lib/gdb.exp (compiler_info): New global.
2621 (test_compiler_info): New function.
2622 (get_compiler_info): Set compiler_info.
2623 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
2624 "compiler_info" to gcc-<major>-<minor>.
2625
38cf6e11
MC
26262003-11-15 Michael Chastain <mec.gnu@mindspring.com>
2627
2628 * gdb.trace/configure: Remove.
2629
a50d3602
EZ
26302003-11-13 Elena Zannoni <ezannoni@redhat.com>
2631
2632 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 2633 breakpoints.
a50d3602
EZ
2634 * gdb.base/break.exp: Remove all references to explicit line
2635 numbers.
2636
d9407aaa
NC
26372003-11-11 Nick Clifton <nickc@redhat.com>
2638
2639 * gdb.base/shreloc.exp: Do not run for targets which do not
2640 support shared objects.
2641
db488fc1
CV
26422003-11-10 Corinna Vinschen <vinschen@redhat.com>
2643
2644 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
2645 Don't run tests if nofileio flag is given.
2646
6a90a18e
EZ
26472003-11-07 Elena Zannoni <ezannoni@redhat.com>
2648
2649 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
2650 as well as 'Watchpoint'.
2651
0b915e9c
EZ
26522003-11-06 Elena Zannoni <ezannoni@redhat.com>
2653
2654 Reported by Jim Ingham <jingham@apple.com>:
2655 * gdb.base/annota1.exp: Match at least one occurrence of the
2656 signal handler annotation.
2657
d7e4b55f
EZ
26582003-11-06 Elena Zannoni <ezannoni@redhat.com>
2659
2660 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
2661 as well as 'Watchpoint'.
2662
2fe4e8d0
MC
26632003-11-05 Michael Chastain <mec@shout.net>
2664
2665 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
2666
6ef88553
KW
26672003-11-03 Kris Warkentin <kewarken@qnx.com>
2668
2669 * gdb.arch/gdb1291.c: New test file.
2670 * gdb.arch/gdb1291.exp: New test script.
2671 * gdb.arch/gdb1431.c: New test file.
2672 * gdb.arch/gdb1431.exp: New test script.
2673
ae7dc4d8
MC
26742003-10-22 Michael Chastain <mec@shout.net>
2675
2676 * gdb.mi/pthreads.c: Add copyright notice.
2677
c39d7427
MC
26782003-10-22 Michael Chastain <mec@shout.net>
2679
2680 * gdb.threads/pthreads.c: Add copyright notice.
2681
8b7d96c1
MC
26822003-10-20 Michael Chastain <mec@shout.net>
2683
2684 * gdb.base/gdb1056.exp: New test script.
2685
d1d69fdd
DJ
26862003-10-13 Daniel Jacobowitz <drow@mvista.com>
2687
2688 * gdb.threads/killed.exp: Use gdb_run_cmd.
2689
7d605576
DJ
26902003-10-13 Daniel Jacobowitz <drow@mvista.com>
2691
2692 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
2693 create a core file.
2694 * gdb.threads/gcore-thread.exp: Likewise.
2695
618ec112
CV
26962003-10-13 Corinna Vinschen <vinschen@redhat.com>
2697
2698 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
2699 type, based on char type.
2700 (struct bit_flags_short_t): New bitfield type, based on short type.
2701 (init_bit_flags_char): New fuction.
2702 (init_bit_flags_short): Ditto.
2703 (print_bit_flags_char): Ditto.
2704 (print_bit_flags_short): Ditto.
2705 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
2706
9367a73c
MC
27072003-10-11 Michael Chastain <mec@shout.net>
2708
2709 * gdb.base/call-rt-st.exp: Update copyright year.
2710
1decf120
KI
27112003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
2712
2713 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
2714 * gdb.disasm/sh3.s: Ditto.
2715
5445b2ae
DJ
27162003-10-07 Daniel Jacobowitz <drow@mvista.com>
2717
2718 * gdb.threads/switch-threads.exp: New test.
2719 * gdb.threads/switch-threads.c: New source file.
2720
aec24853
CV
27212003-10-07 Corinna Vinschen <vinschen@redhat.com>
2722
2723 * gdb.base/ending-run.exp: Add sh specific case.
2724
adc7428d
AC
27252003-10-06 Andrew Cagney <cagney@redhat.com>
2726
2727 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
2728 * gdb.disasm/mn10200.exp: Delete obsolete file.
2729
c9d37158
DJ
27302003-09-29 Daniel Jacobowitz <drow@mvista.com>
2731
2732 * ChangeLog: Correct an entry command.exp -> commands.exp.
2733 * gdb.base/commands.exp (bp_deleted_in_command_test)
2734 (temporary_breakpoint_commands): Check noargs.
2735
79c2c32d
DC
27362003-09-25 David Carlton <carlton@kealia.com>
2737
2738 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
2739 of some print tests, where appropriate. Add tests for C::D::cd,
2740 E::ce, F::cXfX, G::XgX.
2741 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
2742
594e6d67
RE
27432003-09-25 Richard Earnshaw <rearnsha@arm.com>
2744
2745 * lib/java.exp (java_init): Import target_alias before using it.
2746
10f0d451
DC
27472003-09-25 David Carlton <carlton@kealia.com>
2748
2749 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
2750
274bcba0
EZ
27512003-09-23 Elena Zannoni <ezannoni@redhat.com>
2752
d63a86f8 2753 * gdb.base/selftest.exp: Accomodate more instruction reordering
274bcba0
EZ
2754 weirdness.
2755
cdbf20f7
MC
27562003-09-17 Michael Chastain <mec@shout.net>
2757
2758 * gdb.cp/gdb1355.exp: New file.
2759 * gdb.cp/gdb1355.c: New file.
2760
71e06f80
CV
27612003-09-15 Corinna Vinschen <vinschen@redhat.com>
2762
2763 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
2764 * gdb.asm/sh.inc: New file.
2765
5c4e30ca
DC
27662003-09-11 David Carlton <carlton@kealia.com>
2767
bd45b7af
DC
2768 * gdb.cp/namespace.exp: Add tests for namespace types.
2769 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
2770 (test_namespace): New.
2771
1c199746
EZ
27722003-09-11 Elena Zannoni <ezannoni@redhat.com>
2773
2774 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 2775 * gdb.stabs/weird.exp: Ditto.
1c199746 2776
04ed252f
MC
27772003-09-08 Michael Chastain <mec@shout.net>
2778
2779 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2780
d8a2d9e7
MC
27812003-09-07 Michael Chastain <mec@shout.net>
2782
2783 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
2784 'parse error'.
2785
161afb24
MK
27862003-09-07 Mark Kettenis <m.kettenis@osp.nl>
2787
2788 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
2789
49f2741a
MC
27902003-08-30 Michael Chastain <mec@shout.net>
2791
2792 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
2793 * gdb.gdb/observer.exp: Ditto.
2794 * gdb.gdb/xfullpath.exp: Ditto.
2795
8afa723e
MK
27962003-08-29 Mark Kettenis <kettenis@gnu.org>
2797
2798 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
2799 *-*-*bsd*.
2800
f31dfe3b
JJ
28012003-08-28 Jeff Johnston <jjohnstn@redhat.com>
2802
2803 * gdb.base/dump.exp: Skip for ia64.
2804
4630e498
JJ
28052003-08-25 Jeff Johnston <jjohnstn@redhat.com>
2806
2807 * gdb.asm/asm-source.exp: Add ia64 support.
2808 * gdb.asm/ia64.inc: New file.
2809
1105b7ef
MC
28102003-08-22 Michael Chastain <mec@shout.net>
2811
2812 * gdb.cp: New directory.
2813 * gdb.cp/*: Copy from gdb.c++/*.
2814 * gdb.c++/*: Remove.
2815 * Makefile.in: Change gdb.c++ to gdb.cp.
2816 * configure.in: Ditto.
2817 * configure: Regnerate.
2818
c945b932
MK
28192003-08-18 Mark Kettenis <kettenis@gnu.org>
2820
2821 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
2822 * gdb.arch/i386-prologue.c (gdb1338): Add function.
2823
2b66634b
DJ
28242003-08-17 Daniel Jacobowitz <drow@mvista.com>
2825
2826 * mi-var-display.exp (-var-list-children weird): Accept function
2827 pointers with argument types.
2828 * mi1-var-display.exp (-var-list-children weird): Likewise.
2829 * mi2-var-display.exp (-var-list-children weird): Likewise.
2830
a356f73b
DJ
28312003-08-17 Daniel Jacobowitz <drow@mvista.com>
2832
2833 * gdb.base/annota3.exp: Add missing newline.
2834
483417b8
MC
28352003-08-06 Michael Chastain <mec@shout.net>
2836
2837 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
2838
c99c59c3
MS
28392003-08-12 Michael Snyder <msnyder@redhat.com>
2840
2841 * gdb.base/float.exp: Add test for SH.
2842
55ed7501
MK
28432003-08-10 Mark Kettenis <kettenis@gnu.org>
2844
2845 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
2846
1a371f2e
EZ
28472003-08-07 Elena Zannoni <ezannoni@redhat.com>
2848
2849 * gdb.base/completion.exp: Remove reduntant completion test
2850 on filename.
2851
e0f353ce
EZ
28522003-08-07 Elena Zannoni <ezannoni@redhat.com>
2853
2854 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
2855 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
2856 gdb.trace/save-trace.exp: Make sure that full pathnames are
2857 escaped correctly.
2858
5710a1af 28592003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 2860
5710a1af
EZ
2861 * configure.in: Don't generate config.h from config.hin.
2862 * configure: Regenerate.
2863 * config.hin: Remove file.
2864 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
2865 * gdb.threads/pthreads.c: Ditto.
2866
dcd81ce9
DJ
28672003-08-07 Daniel Jacobowitz <drow@mvista.com>
2868
2869 From Kei Sakamoto <sakamoto.kei@renesas.com>:
2870 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
2871 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
2872 Replace ld24 with seth/add3.
2873
6009d884
AC
28742003-08-02 Andrew Cagney <cagney@redhat.com>
2875
2876 * gdb.base/annota3.exp: New file.
2877 * gdb.base/annota3.c: New file.
2878 * gdb.c++/annota3.exp: New file.
2879 * gdb.c++/annota3.cc: New file.
2880
51514e06
MC
28812003-07-29 Michael Chastain <mec@shout.net>
2882
2883 * gdb.threads/tls.c (spin): Check errno only if sem_wait
2884 actually failed.
2885 (do_pass): Likewise.
2886 * gdb.threads/tls.exp: Always initialize no_of_threads.
2887
4ee6625b
DJ
28882003-07-27 Daniel Jacobowitz <drow@mvista.com>
2889
2890 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
2891 pattern.
2892 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
2893 * gdb.threads/tls.exp: Recognize one case of the host library not
2894 supporting TLS.
2895
225f2bf6
AC
28962003-07-27 Andrew Cagney <cagney@redhat.com>
2897
2898 * gdb.base/fileio.exp: Use SH when running commands using
2899 remote_exec.
2900
bcb27c9f
DJ
29012003-07-24 Daniel Jacobowitz <drow@mvista.com>
2902
2903 From Kei Sakamoto <sakamoto.kei@renesas.com>:
2904 * gdb.base/relocate.c (dummy): New padding array.
2905
3d67be83
MS
29062003-07-22 Michael Snyder <msnyder@redhat.com>
2907
d63a86f8 2908 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
2909
2910 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
2911 patterns to be more general, accepting old and new output.
2912 Some output chars (such as '+') also must be quoted.
d63a86f8 2913 Some addresses are displayed numerically instead of
3d67be83
MS
2914 symbolically.
2915
57ba3b85
MS
29162003-07-23 Michael Snyder <msnyder@redhat.com>
2917
686d097c
MS
2918 * gdb.base/return2.exp: Don't test long-long return.
2919
57ba3b85
MS
2920 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
2921 * gdb.disasm/t01_mov.exp: Ditto.
2922 * gdb.disasm/t02_mova.s: Ditto.
2923 * gdb.disasm/t02_mova.exp: Ditto.
2924 * gdb.disasm/t03_add.s: Ditto.
2925 * gdb.disasm/t03_add.exp: Ditto.
2926 * gdb.disasm/t04_sub.s: Ditto.
2927 * gdb.disasm/t04_sub.exp: Ditto.
2928 * gdb.disasm/t05_cmp.s: Ditto.
2929 * gdb.disasm/t05_cmp.exp: Ditto.
2930 * gdb.disasm/t06_ari2.s: Ditto.
2931 * gdb.disasm/t06_ari2.exp: Ditto.
2932 * gdb.disasm/t07_ari3.s: Ditto.
2933 * gdb.disasm/t07_ari3.exp: Ditto.
2934 * gdb.disasm/t08_or.s: Ditto.
2935 * gdb.disasm/t08_or.exp: Ditto.
2936 * gdb.disasm/t09_xor.s: Ditto.
2937 * gdb.disasm/t09_xor.exp: Ditto.
2938 * gdb.disasm/t10_and.s: Ditto.
2939 * gdb.disasm/t10_and.exp: Ditto.
2940 * gdb.disasm/t11_logs.s: Ditto.
2941 * gdb.disasm/t11_logs.exp: Ditto.
2942 * gdb.disasm/t12_bit.s: Ditto.
2943 * gdb.disasm/t12_bit.exp: Ditto.
2944 * gdb.disasm/t13_otr.s: Ditto.
2945 * gdb.disasm/t13_otr.exp: Ditto.
2946
e00759ef
EZ
29472003-07-22 Elena Zannoni <ezannoni@redhat.com>
2948
2949 * gdb.threads/tls.exp :Add kfail for 'info address' case.
2950
8bc2021f
EZ
29512003-07-22 Elena Zannoni <ezannoni@redhat.com>
2952
2953 * gdb.threads/tls.c : New file.
2954 * gdb.threads/tls.exp : New file.
2955 * gdb.threads/tls-main.c : New file.
2956 * gdb.threads/tls-shared.c : New file.
2957 * gdb.threads/tls-shared.exp : New file.
2958
89320c4c
AS
29592003-07-22 Andreas Schwab <schwab@suse.de>
2960
2961 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
2962
180dea7c
AS
29632003-07-20 Andreas Schwab <schwab@suse.de>
2964
2965 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
2966 due to insn reordering.
2967
0714963c
AC
29682003-07-15 Andrew Cagney <cagney@redhat.com>
2969
2970 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
2971
98a23b3f
MC
29722003-07-15 Michael Chastain <mec@shout.net>
2973
2974 * gdb.base/gdb1250.exp: New file.
2975 * gdb.base/gdb1250.c: New file.
2976
27e417a2
ML
29772003-07-09 Michal Ludvig <mludvig@suse.cz>
2978
2979 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
2980 expansion of size_t to 'unsigned long', not only to 'unsigned'.
2981
8bc2021f
EZ
29822003-07-09 Elena Zannoni <ezannoni@redhat.com>
2983
2984 * gdb.threads/tls.c: New file.
2985 * gdb.threads/tls.exp: New file.
2986 * gdb.threads/tls-main.c: New file.
2987 * gdb.threads/tls-shared.c: New file.
2988 * gdb.threads/tls-shared.exp: New file.
2989
d99968dc
EZ
29902003-07-09 Elena Zannoni <ezannoni@redhat.com>
2991
2992 * gdb.base/annota1.exp: Make sure that we properly escape the
2993 full path of the source file. Xfail more permissive patterns,
d63a86f8 2994 due to a compiler debug info problem.
d99968dc 2995
83876b3b
AS
29962003-07-07 Andreas Schwab <schwab@suse.de>
2997
2705e972
AS
2998 * gdb.asm/m68k.inc: New file.
2999 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
3000
83876b3b
AS
3001 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
3002 arguments"): Also match negative number.
3003
3004 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
3005
3a871b37
DJ
30062003-07-03 Daniel Jacobowitz <drow@mvista.com>
3007
3008 * gdb.base/store.c (charest): New typedef.
3009 (add_char): Rename to add_charest, update.
3010 (wack_char): Rename to wack_charest, update types. Return l + r
3011 to keep r live across the call.
3012 (wack_short, wack_int, wack_long, wack_longest, wack_float)
3013 (wack_double, wack_doublest): Return l + r to keep r live across
3014 the call.
3015 * gdb.base/store.exp: Accomodate store.c changes.
3016
b2a7f303
DC
30172003-06-30 David Carlton <carlton@kealia.com>
3018
3019 * gdb.c++/maint.exp (test_invalid_name): New.
3020 (test_first_component): Add tests for invalid names.
3021
3c6cb4a1
MC
30222003-06-29 Michael Chastain <mec@shout.net>
3023
3024 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
3025 output of '<VTT for class>' for virtual base classes.
3026
f1c2644b
DJ
30272003-06-29 Daniel Jacobowitz <drow@mvista.com>
3028
3029 * gdb.base/completion.exp: Tab-complete "complet" instead of
3030 "compl".
3031 * gdb.base/complex.exp, gdb.base/complex.c: New files.
3032
18080350
DJ
30332003-06-29 Daniel Jacobowitz <drow@mvista.com>
3034
3035 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
3036 * gdb.base/volatile.exp: Likewise.
3037
f56973f8
DJ
30382003-06-29 Daniel Jacobowitz <drow@mvista.com>
3039
3040 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
3041 gdb/1265.
3042
30432003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
3044 Daniel Jacobowitz <drow@mvista.com>
3045
3046 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
3047 initial line count of 'captured_main' from 26 to 32.
3048 (test_with_self): Allow xmalloc call to be interleaved with the
3049 preceding two lines.
3050
e766d4d6
JB
30512003-06-24 Joel Brobecker <brobecker@gnat.com>
3052
3053 * gdb.base/bang.exp: New testcase.
3054
f125c9a4
JB
30552003-06-23 Joel Brobecker <brobecker@gnat.com>
3056
3057 * gdb.base/langs.exp: Add some tests for the "minimal" language
3058 support.
3059
6e25beaf
EZ
30602003-06-23 Elena Zannoni <ezannoni@redhat.com>
3061
3062 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
3063 the testcase.
3064
2f816dda
DJ
30652003-06-22 Daniel Jacobowitz <drow@mvista.com>
3066
3067 * gdb.base/relocate.exp: Test add-symbol-file with a variable
3068 offset.
3069
db5a5748
DJ
30702003-06-22 Daniel Jacobowitz <drow@mvista.com>
3071
3072 * gdb.c++/pr-1210.cc: New file.
3073 * gdb.c++/pr-1210.exp: New file.
3074
1df0c130
DJ
30752003-06-21 Daniel Jacobowitz <drow@mvista.com>
3076
3077 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
3078 000-exec-continue.
3079
a92feac0
MK
30802003-06-15 Mark Kettenis <kettenis@gnu.org>
3081
3082 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
3083 on *-*-*bsd* instead of *-*-freebsd*.
3084
81a58f5b
AC
30852003-06-14 Andrew Cagney <cagney@redhat.com>
3086
3087 * gdb.base/store.exp: Test longest and doublest. Test all
3088 parameters. Weaken return statement match.
3089 * gdb.base/store.c: Add longest and doublest - aka long long and
3090 long double functions. Put all parameters into local register
3091 variables. Use negative values.
3092
b257a0d3
AC
30932003-06-14 Andrew Cagney <cagney@redhat.com>
3094
3095 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
3096 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
3097 exit status.
3098 * gdb.base/fileio.exp: Disable target when nointerrupts and
3099 noinferiorio, instead of limiting it to remote. Use remote_exec
3100 instead of system.
d63a86f8 3101
21c38304
JJ
31022003-06-12 Jeff Johnston <jjohnstn@redhat.com>
3103
3104 * gdb.base/float.exp: Add ia64 support.
3105
1bcdb424
CV
31062003-06-12 Corinna Vinschen <vinschen@redhat.com>
3107
3108 * gdb.base/fileio.exp: Run only on remote targets.
3109
6aeb981f
CV
31102003-06-10 Corinna Vinschen <vinschen@redhat.com>
3111
3112 * gdb.base/fileio.c: New file, testing File-I/O.
3113 * gdb.base/fileio.exp: Ditto.
3114
53df362e
RG
31152003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
3116
3117 * gdb.base/shreloc.exp: New file, check symbol values obtained from
3118 shared objects after relocation at load time (gdb PR/1132).
3119 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
3120 as above, part of the shared object relocation test.
3121
ffee1b46
MK
31222003-06-08 Mark Kettenis <kettenis@gnu.org>
3123
b5ca3722
MK
3124 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
3125 fully filled history list.
3126 * gdb.base/gdb_history: New file.
3127
03ed860d
MK
3128 * gdb.base/signals.exp: XFAIL "continue to func1" on
3129 i*86-*-freebsd*.
3130
ffee1b46
MK
3131 * gdb.base/attach.exp: When trying to attach to a nonexistent
3132 process, make it possible to specify the PID based on the target,
3133 and do so for *-*-freebsd*.
3134
d80dbb52
RH
31352003-06-02 Richard Henderson <rth@redhat.com>
3136
3137 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
3138
6dd77b81
RH
31392003-06-02 Richard Henderson <rth@redhat.com>
3140
3141 * gdb.base/selftest.exp: Next over lim_at_start initialization.
3142
f6347e16
RH
31432003-06-02 Richard Henderson <rth@redhat.com>
3144
3145 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
3146
2c161407
DJ
31472003-06-01 Daniel Jacobowitz <drow@mvista.com>
3148
3149 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
3150 of globalvar.
3151
572eb746
MK
31522003-06-01 Mark Kettenis <kettenis@gnu.org>
3153
3154 * gdb.asm/asm-source.exp: Check for memory read errors in
3155 disassembler test on *BSD too.
3156
9e9617a5
RH
31572003-06-01 Richard Henderson <rth@redhat.com>
3158
3159 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
3160 for .frame.
3161 (gdbasm_call): Lose ldgp.
3162 (gdbasm_startup): Add frame information.
3163 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
3164
7b34ad4e
MK
31652003-05-31 Mark Kettenis <kettenis@gnu.org>
3166
3167 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
3168 i?86-*-*.
3169
10059fdf
MK
31702003-05-30 Mark Kettenis <kettenis@gnu.org>
3171
3172 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
3173 FreeBSD.
3174
acf4b816
RH
31752003-05-29 Richard Henderson <rth@redhat.com>
3176
3177 * gdb.asm/alpha.inc: New file.
3178 * gdb.asm/asm-source.exp: Use it.
3179
e9ecd949
JB
31802003-05-29 Jim Blandy <jimb@redhat.com>
3181
3182 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
3183 'core.PID'.
3184
e3e5a4f3
JB
31852003-05-22 Jim Blandy <jimb@redhat.com>
3186
3187 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
3188 backtrace.
d63a86f8 3189
72fe3d25
DC
31902003-05-20 David Carlton <carlton@math.stanford.edu>
3191
3192 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
3193 this time.
3194
58da2eb2
DC
31952003-05-19 David Carlton <carlton@bactrian.org>
3196
3197 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
3198 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
3199
1fcb5155
DC
32002003-05-19 David Carlton <carlton@bactrian.org>
3201
3202 * gdb.c++/namespace.exp: Add namespace scope and anonymous
3203 namespace tests.
3204 Bump copyright date.
3205 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
3206 (main): Call C::D::marker2.
3207 * gdb.c++/namespace1.cc: New file.
3208
85e85163
JJ
32092003-05-14 Jeff Johnston <jjohnstn@redhat.com>
3210
3211 Roland McGrath <roland@redhat.com>
d63a86f8 3212 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
3213 there is no manager thread.
3214
a25fbfec
JJ
32152003-05-08 Jeff Johnston <jjohnstn@redhat.com>
3216
d63a86f8
RM
3217 * gdb.threads/schedlock.exp: Remove assumption that all threads
3218 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
3219 in one of the child threads rather than the main thread.
3220
be375bae
JB
32212003-05-07 Jim Blandy <jimb@redhat.com>
3222
09bf6082
JB
3223 Add support for assembly source testing on the s390x.
3224 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
3225 architecture.
3226 * gdb.asm/s390x.inc: New file.
3227
be375bae
JB
3228 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
3229 succession of 'if' statements.
3230
00905d52
AC
32312003-05-05 Andrew Cagney <cagney@redhat.com>
3232
3233 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
3234
b1e29e33
AC
32352003-05-05 Andrew Cagney <cagney@redhat.com>
3236
3237 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
3238 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
3239
e33d66ec
EZ
32402003-05-02 Elena Zannoni <ezannoni@redhat.com>
3241
3242 * gdb.base/charset.exp: Update based on new behavior of set/show
3243 charset commands.
3244
2b6fd0d8
AC
32452003-05-01 Andrew Cagney <cagney@redhat.com>
3246
3247 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
3248 variable do not give memory errors.
3249
130cacce
AF
32502003-04-30 Adam Fedor <fedor@gnu.org>
3251
3252 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
3253 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
3254 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
3255 gdb.objc/basicclass.m: : New files
3256
3257 * lib/gdb.exp (gdb_compile_objc): New procedure.
3258
bea71854
DJ
32592003-04-27 Daniel Jacobowitz <drow@mvista.com>
3260
3261 * gdb.base/signals.exp: Make backtrace tests more specific.
3262
0f20eeea
DC
32632003-04-23 David Carlton <carlton@bactrian.org>
3264
3265 * gdb.c++/maint.exp (test_first_component): Add tests for
3266 'operator' in more locations.
3267
c8c4d8dc
KB
32682003-04-16 Kevin Buettner <kevinb@redhat.com>
3269
3270 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
3271
3fe60e3c
EZ
32722003-04-16 Elena Zannoni <ezannoni@redhat.com>
3273
3274 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
3275 func marke' instead. Update test name.
3276
9219021c
DC
32772003-04-15 David Carlton <carlton@math.stanford.edu>
3278
3279 * gdb.c++/maint.exp: New file.
3280
5dd55bdd
EZ
32812003-04-14 Elena Zannoni <ezannoni@redhat.com>
3282
3283 * gdb.threads/schedlock.c: Change type of thread function argument
3284 to long, to avoid warnings on 64-bit platforms.
3285
00890572
EZ
32862003-04-14 Elena Zannoni <ezannoni@redhat.com>
3287
3288 * gdb.base/attach.exp: Add new message from ptrace in case of
3289 attaching to nonexistent process.
d63a86f8 3290
93201743
JB
32912003-04-11 Jim Blandy <jimb@redhat.com>
3292
3293 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3294 gdb.c++/userdef.cc: Place comments on the lines to which the
3295 marker function might return.
3296 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3297 gdb.c++/userdef.exp: Look for those comments to check that we've
3298 returned to the right place, instead of checking line numbers.
3299
2a11c64d
EZ
33002003-04-11 Elena Zannoni <ezannoni@redhat.com>
3301
3302 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
3303 match on sourcefile name, instead of directory name.
3304
68ab8fc5
EZ
33052003-04-10 Elena Zannoni <ezannoni@redhat.com>
3306
d63a86f8 3307 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
3308 working directory name.
3309
5624293a
JB
33102003-04-09 Jim Blandy <jimb@redhat.com>
3311
3312 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
3313 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
3314 after an inferior function call, report the failure, but allow the
3315 test to continue.
3316
f1f02ee4
SC
33172003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3318
3319 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3320 with -DPROTOTYPES.
3321
6eb79af0
SC
33222003-04-05 Stephane Carrez <stcarrez@nerim.fr>
3323
3324 * gdb.base/break.exp: Revert last patch.
3325
8dfb4cf0
SC
33262003-04-04 Stephane Carrez <stcarrez@nerim.fr>
3327
3328 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
3329 with -DPROTOTYPES.
3330
ed4c619a
AC
33312003-04-02 Andrew Cagney <cagney@redhat.com>
3332
3333 * gdb.base/callfuncs.exp: Make "print add" messages unique.
3334 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
3335 matching directories by the name breakpoint.
3336 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
3337 Make "continue to marker1" consistent.
3338 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
3339 message consistent.
3340 * lib/gdb.exp: Put "the program is no longer running", and "the
3341 program exited" in parenthesis.
3342 * lib/mi-support.exp: Ditto.
d63a86f8 3343
4e35d5f0 33442003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 3345
4e35d5f0
BR
3346 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
3347
71900fe8
AC
33482003-03-29 Andrew Cagney <cagney@redhat.com>
3349
3350 * gdb.base/sizeof.c (main): Print the value of '\377'.
3351 * gdb.base/sizeof.exp: Check the sign of '\377'.
3352
c0655a16
MC
33532003-03-27 Michael Chastain <mec@shout.net>
3354
3355 * gdb.base/gdb1090.exp: New file.
3356 * gdb.base/gdb1090.cc: New file.
3357
5b2a3989
JB
33582003-03-27 J. Brobecker <brobecker@gnat.com>
3359
3360 * gdb.gdb/observer.exp: New regression test.
3361
79876890
MC
33622003-03-27 Michael Chastain <mec@shout.net>
3363
3364 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
3365 * gdb.base/ptype.exp: Likewise.
3366
6eac95e3
CV
33672003-03-27 Corinna Vinschen <vinschen@redhat.com>
3368
3369 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
3370
e8c71839
MC
33712003-03-26 Michael Chastain <mec@shout.net>
3372
3373 * gdb.base/ptype.exp: Actually use some typedef'd types.
3374
71b10041
SC
33752003-03-21 Stephane Carrez <stcarrez@nerim.fr>
3376
3377 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
3378 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
3379
2512cf80
CV
33802003-03-20 Corinna Vinschen <vinschen@redhat.com>
3381
3382 * gdb.base/default.exp: Fix regular expression.
3383
0d195a4f
CV
33842003-03-20 Corinna Vinschen <vinschen@redhat.com>
3385
3386 * gdb.base/args.exp: Fix regular expression.
3387
8a2dbca8
CV
33882003-03-20 Corinna Vinschen <vinschen@redhat.com>
3389
3390 * gdb.base/help.exp: Allow Win32 child process.
3391
bf028682
CV
33922003-03-20 Corinna Vinschen <vinschen@redhat.com>
3393
3394 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
3395 when stepping out of main().
3396
182dbe85
CV
33972003-03-20 Corinna Vinschen <vinschen@redhat.com>
3398
3399 * gdb.base/default.exp: Check for win32 specific message when calling
3400 "run" without executable.
3401
d67a6ba5
CV
34022003-03-20 Corinna Vinschen <vinschen@redhat.com>
3403
3404 * gdb.base/args.exp: Expect .exe in output.
3405
a955b5bb
CV
34062003-03-20 Corinna Vinschen <vinschen@redhat.com>
3407
3408 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
3409 Cygwin native.
3410
bf6bad4b
AC
34112003-03-17 Andrew Cagney <cagney@redhat.com>
3412
3413 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
3414 vector registes.
3415 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
3416 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
3417
293e9a31
DC
34182003-03-17 David Carlton <carlton@math.stanford.edu>
3419
3420 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
3421 test, for PR breakpoints/38.
3422 Call test_watchpoint_and_breakpoint.
3423 * gdb.base/watchpoint.c (func3): New function.
3424 (main): Call func3.
3425
5330f2db
DC
34262003-03-04 David Carlton <carlton@math.stanford.edu>
3427
3428 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
3429 Garply<Garply<char> >:: garply".
3430 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
3431 with respect to PR c++/1111; note also PR c++/1113.
3432 (test_template_breakpoints): KFAIL "constructor breakpoint" with
3433 respect to PR c++/1062.
3434 KFAIL "destructor breakpoint" with respect to PR c++/1112.
3435
6ece72da
DC
34362003-03-03 David Carlton <carlton@math.stanford.edu>
3437
3438 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
3439 with respect to PR c++/57.
3440 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
3441 c++/826.
3442 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
3443 respect to PR c++/57.
3444
85ca1584
DC
34452003-03-03 David Carlton <carlton@math.stanford.edu>
3446
3447 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
3448 respect to PR c++/33 into FAILs.
3449
98e9c5b8
MC
34502003-03-03 Michael Chastain <mec@shout.net>
3451
7bedbf27
MC
3452 * configure.in: Update copyright years.
3453
34542003-03-03 Michael Chastain <mec@shout.net>
3455
3456 * Makefile.in: Update copyright years.
98e9c5b8 3457
f683e100
DC
34582003-02-28 David Carlton <carlton@math.stanford.edu>
3459
3460 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
3461 print class instead of struct and/or superfluous protection
3462 specifiers, as long as the resulting output is equivalent to the
3463 source code.
3464 Delete FIXME from end of messages on tests that don't need
3465 fixing.
3466
a9e0cf2c
DC
34672003-02-28 David Carlton <carlton@math.stanford.edu>
3468
3469 * gdb.c++/templates.exp (do_tests): Allow const in the two
3470 Foo<volatile char *>::foo tests.
3471
e8d359df
MS
34722003-02-27 Michael Snyder <msnyder@redhat.com>
3473
d63a86f8 3474 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
3475 will be consistant.
3476
0b71dc91
DC
34772003-02-26 David Carlton <carlton@math.stanford.edu>
3478
3479 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
3480 char *>::foo" test with respect to PR c++/33. Create a new test
3481 which is identical to that one except that it doesn't put the
3482 space between the "char" and the "*"; KFAIL it, too.
3483
dd14ab43
DC
34842003-02-26 David Carlton <carlton@math.stanford.edu>
3485
3486 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
3487 template types into either PASSes or KFAILs (corresponding to PR
3488 c++/57). Tweak indentation. Update copyright.
3489
1146c7f1
SC
34902003-02-23 Stephane Carrez <stcarrez@nerim.fr>
3491
3492 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
3493
74641dfb
MC
34942003-02-13 Michael Chastain <mec@shout.net>
3495
3496 * gdb.base/exprs.exp: Remove i960 remnants.
3497 * gdb.base/funcargs.exp: Likewise.
3498 * gdb.base/list.exp: Likewise.
3499 * gdb.base/ptype.exp: Likewise.
3500
559cd2d0
DC
35012003-02-14 David Carlton <carlton@math.stanford.edu>
3502
3503 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
3504 pEe->D::vg()" from XFAIL to KFAIL.
3505
c4f90d87
JM
35062003-02-13 Jason Molenda (jmolenda@apple.com)
3507
3508 * gdb.base/maint.exp: Update maint print statistics regexp to include
3509 new entries.
3510
cbc4d97c
MC
35112003-02-13 Michael Chastain <mec@shout.net>
3512
3513 * gdb.c++/inherit.exp: Remove call to get_debug_format.
3514
40f235b7
MC
35152003-02-12 Michael Chastain <mec@shout.net>
3516
3517 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
3518 * gdb.c++/inherit.exp: Likewise.
3519 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
3520 * gdb.c++/templates.exp: Likewise.
3521 * gdb.c++/virtfunc.exp: Likewise.
3522
c56716b0
JM
35232003-02-06 Jason Molenda (jason-cl@molenda.com)
3524
3525 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
3526 why the code is written that way.
3527
070afcf8
MC
35282003-02-05 Michael Chastain <mec@shout.net>
3529
3530 * gdb.base/dump.exp: Add missing copyright line.
3531
5d0331e5
JM
35322003-02-05 Jason Molenda (jason-cl@molenda.com)
3533
f7ae6d3e 3534 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
3535 at the beginning so the breakpoint doesn't get set on the loop.
3536
92851186
MC
35372003-02-05 Michael Chastain <mec@shout.net>
3538
3539 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
3540 output for configurations with gcc 2.95.3.
3541
cbf1e085
AC
35422003-02-05 Keith Seitz <keiths@redhat.com>
3543 Andrew Cagney <ac131313@redhat.com>
3544
3545 * gdb.mi/mi-cli.exp: New file.
d63a86f8 3546
29518e1e
MC
35472003-02-04 Michael Chastain <mec@shout.net>
3548
3549 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
3550 Call perror and then continue.
3551
5af1d5f3
MC
35522003-02-03 Michael Chastain <mec@shout.net>
3553
3554 * gdb.c++/pr-1023.cc: New file.
3555 * gdb.c++/pr-1023.exp: New file.
3556
6b549786
JB
35572003-02-05 Jim Blandy <jimb@redhat.com>
3558
3559 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
3560 it's local to foobar. Check for it there, and check that it's not
3561 present in main.
3562 * gdb.c++/local.cc (marker2): New function.
3563 (foobar): Call marker1.
3564 (main): Call marker2 instead of marker1.
3565
67f16606
AC
35662003-02-04 Andrew Cagney <ac131313@redhat.com>
3567
3568 * gdb.disasm/mn10200.exp: Obsolete file.
3569 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
3570 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
3571 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
3572
1c5cb38e
DC
35732003-02-04 David Carlton <carlton@math.stanford.edu>
3574
3575 * gdb.c++/overload.exp: Test intToChar(1).
3576 * gdb.c++/overload.cc (intToChar): New.
3577 (main): Call intToChar.
3578
d1fe6965
DC
35792003-02-03 David Carlton <carlton@math.stanford.edu>
3580
3581 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
3582 'might_kfail' arg.
3583 KFAIL some of the continue_to_bp_overloaded calls, according to
3584 PR c++/1025.
3585
9ba61c5d
MC
35862003-02-01 Michael Chastain <mec@shout.net>
3587
3588 * gdb.base/advance.c (marker1): New marker function.
3589 * gdb.base/advance.exp: When the 'advance' command lands on the
3590 return breakpoint, it can legitimately stop on either the
3591 current line or the next line. Accommodate both outcomes.
3592 * gdb.base/until.exp: Likewise.
3593
e7494ffb
AC
35942003-02-02 Andrew Cagney <ac131313@redhat.com>
3595
3596 2002-11-10 Jason Molenda (jason-cl@molenda.com):
3597 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
3598 now a list, not a tuple.
3599 * gdb.mi/mi-var-display.exp: Ditto.
3600 * gdb.mi/gdb792.exp: Ditto.
3601
075559bc
AC
36022003-02-01 Andrew Cagney <ac131313@redhat.com>
3603
3604 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
3605 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
3606 stack backtraces.
3607 * gdb.mi/mi-syn-frame.c: Part of same.
3608
2bd4c7b1
MK
36092003-02-01 Mark Kettenis <kettenis@gnu.org>
3610
3611 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3612 gdb.mi/mi1-pthreads.exp: Return instead of calling
3613 gdb_suppress_entire_file.
3614
eabd8992
MS
36152003-02-01 Mark Salter <msalter@redhat.com>
3616
3617 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
3618
71469e2f
MS
36192003-01-31 Mark Salter <msalter@redhat.com>
3620
3621 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
3622 Support empty arg.
3623
38a94d44
MC
36242003-01-30 Michael Chastain <mec@shout.net>
3625
3626 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
3627 This was a workaround for a UTF-8 bug in readline 4.3. The bug
3628 has been fixed in gdb/readline on 2003-01-09.
3629
19ea9e73
MS
36302003-01-29 Michael Snyder <msnyder@redhat.com>
3631
e8d359df
MS
3632 * gdb.base/maint.exp: Allow for leading underscore in symbol.
3633 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
3634 * gdb.base/args.exp: Skip if target does not support args passing.
3635
2307bd6a
DJ
36362003-01-22 Daniel Jacobowitz <drow@mvista.com>
3637
19ea9e73 3638 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
3639 gdb_test. Accept a list of expect arguments as the third
3640 parameter.
3641 (gdb_test): Use it.
3642
f2dd3617
EZ
36432003-01-20 Elena Zannoni <ezannoni@redhat.com>
3644
3645 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
3646 allow for different test tree configurations. Update some
3647 tescases accordingly.
3648 * gdb.arch/altivec-regs.exp: Ditto.
3649 * gdb.asm/asm-source.exp: Ditto.
3650 * gdb.base/advance.exp: Ditto.
3651 * gdb.base/display.exp: Ditto.
d63a86f8 3652 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
3653 * gdb.base/mips_pro.exp: Ditto.
3654 * gdb.base/overlays.exp: Ditto.
3655 * gdb.base/relocate.exp: Ditto.
3656 * gdb.base/setshow.exp: Ditto.
3657 * gdb.base/step-line.exp: Ditto.
3658 * gdb.base/step-test.exp: Ditto.
3659 * gdb.base/until.exp: Ditto.
3660 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
3661
c71cdefd
DC
36622003-01-17 David Carlton <carlton@math.stanford.edu>
3663
3664 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
3665 corresponding to PR c++/945.
3666 Update copyright.
3667
fdba05d7
DC
36682003-01-17 David Carlton <carlton@math.stanford.edu>
3669
3670 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
3671 corresponding to PR c++/68.
3672
36732003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
3674
3675 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
3676 (test_paddr_hairy_functions): Call print_addr_2_kfail for
3677 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
3678
c362c33a
EZ
36792003-01-15 Elena Zannoni <ezannoni@redhat.com>
3680
0fbc361c
EZ
3681 * gdb.base/break.exp: Fix change of default location, because of
3682 removal of until tests.
3683 * gdb.base/help.exp: Update test for new 'until' help message.
3684 Add test for help on 'advance'.
c362c33a
EZ
3685 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
3686
dabf8a35
MK
36872003-01-15 Mark Kettenis <kettenis@gnu.org>
3688
3689 * gdb.base/default.exp: Adapt "info float" test for recent changes
3690 to that command. Add test for "info vector".
3691 * gdb.base/float.exp: New file. Add test for "info float" that
3692 resembles the old test in gdb.base/default.exp.
3693
a1769aca
DC
36942003-01-15 David Carlton <carlton@math.stanford.edu>
3695
3696 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
3697
82025e13
EZ
36982003-01-15 Elena Zannoni <ezannoni@redhat.com>
3699
3700 * gdb.base/break.exp: Move the tests of until command from here...
3701 * gdb.base/until.exp: ... to here. New file. Add other tests.
3702 * gdb.base/advance.c: New file.
3703 * gdb.base/advance.exp: New file.
3704
8f9ab801
EZ
37052003-01-14 Elena Zannoni <ezannoni@redhat.com>
3706
3707 * gdb.base/args.c: New file.
3708 * gdb.base/args.exp: New file.
3709
9ae66589
DJ
37102003-01-14 Daniel Jacobowitz <drow@mvista.com>
3711
3712 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
3713
8d77e5c3
DJ
37142003-01-14 Daniel Jacobowitz <drow@mvista.com>
3715
3716 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
3717
12d2f0a1
DJ
37182003-01-14 Daniel Jacobowitz <drow@mvista.com>
3719
3720 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
3721 dates.
3722
6ca37014
DJ
37232003-01-13 Daniel Jacobowitz <drow@mvista.com>
3724
3725 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
3726
b0023472
DJ
37272003-01-13 Daniel Jacobowitz <drow@mvista.com>
3728
3729 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
3730 (ptype &*"foo").
3731 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
3732
607fbc54 37332003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
3734
3735 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
3736 * gdb.mi/mi1-console.exp: Likewise.
3737
607fbc54 37382003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
3739
3740 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
3741 * gdb.mi/mi1-console.exp: Likewise.
3742
a1fb14a2
DJ
37432003-01-13 Daniel Jacobowitz <drow@mvista.com>
3744
3745 * gdb.c++/overload.exp: Remove some fixed XFAILs.
3746
c4cf40b7
DJ
37472003-01-09 Daniel Jacobowitz <drow@mvista.com>
3748
3749 * gdb.base/detach.exp: New test.
3750
696d5a5b
DJ
37512003-01-09 Daniel Jacobowitz <drow@mvista.com>
3752
3753 * Makefile.in (ALL_SUBDIRS): New variable.
3754 (subdirs, clean, distclean): Use it.
3755 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
3756 regenerating Makefile, since it is generated from the top level.
3757 * gdb.asm/Makefile.in: Likewise.
3758 * gdb.base/Makefile.in: Likewise.
3759 * gdb.c++/Makefile.in: Likewise.
3760 * gdb.disasm/Makefile.in: Likewise.
3761 * gdb.java/Makefile.in: Likewise.
3762 * gdb.mi/Makefile.in: Likewise.
3763 * gdb.threads/Makefile.in: Likewise.
3764 * gdb.trace/Makefile.in: Likewise.
3765
754533e4
DC
37662003-01-09 David Carlton <carlton@math.stanford.edu>
3767
3768 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
3769 Add copyright year 2003.
3770
d8b3e9ee
MC
37712003-01-06 Michael Chastain <mec@shout.net>
3772
3773 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
3774 When selecting a thread, 'line' and 'file' are optional.
3775 * gdb.mi/mi1-pthreads.exp: Likewise.
3776
8e9e0fe6
AS
37772003-01-06 Andreas Schwab <schwab@suse.de>
3778
3779 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
3780 failures.
3781
b5ab8ff3
DJ
37822003-01-04 Daniel Jacobowitz <drow@mvista.com>
3783
3784 Fix PR gdb/844
3785 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
3786 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
3787
3788 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
3789 instead of calling gdb_suppress_entire_file.
3790 * gdb.threads/print-threads.exp: Likewise.
3791 * gdb.threads/schedlock.exp: Likewise.
3792
3793 * gdb.threads/killed.exp: Return instead of calling
3794 gdb_suppress_entire_file.
3795 * gdb.threads/linux-dp.exp: Likewise.
3796 * gdb.threads/pthreads.exp: Likewise.
3797
1e698235
DJ
37982003-01-04 Daniel Jacobowitz <drow@mvista.com>
3799
3800 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
3801 stabs.
3802 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
3803 * gdb.base/whatis.exp: Always allow (void) after function names.
3804
147ff08c
DJ
38052003-01-04 Daniel Jacobowitz <drow@mvista.com>
3806
3807 * gdb.c++/casts.exp: Correct regexp.
3808
dc62bfc2
MK
38092003-01-04 Mark Kettenis <kettenis@gnu.org>
3810
3811 * configure.in: Call AC_CONFIG_HEADER. Don't call
3812 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
3813 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
3814 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
3815 aforementioned directories in the AC_OUPUT call.
3816 * config.hin: New file.
3817 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
3818 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
3819 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
3820 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
3821 pass -I$objdir instead of -I$objdir/$subdir in compilation.
3822 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
3823 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
3824 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
3825 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
3826 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
3827 gdb.threads/configure.in, gdb.threads/configure,
3828 gdb.threads/config.in, gdb.trace/configure.in,
3829 gdb.trace/configure: Removed.
3830
77afa639
MC
38312003-01-03 Michael Chastain <mec@shout.net>
3832
3833 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
3834 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
3835
7634bb6e
DJ
38362003-01-03 Daniel Jacobowitz <drow@mvista.com>
3837
3838 * gdb.base/store.exp: Fix regular expressions.
3839
b39c905e
MK
38402002-12-28 Mark Kettenis <kettenis@gnu.org>
3841
3842 * configure.in: Rewrite.
3843 * configure: Regenerated.
3844
0a8551dd
DC
38452003-01-03 David Carlton <carlton@math.stanford.edu>
3846
3847 * gdb.base/psymtab.exp: New file.
3848 * gdb.base/psymtab1.c: Ditto.
3849 * gdb.base/psymtab2.c: Ditto.
3850
c60b7188
AF
38512002-12-23 Adam Fedor <fedor@gnu.org>
3852
3853 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
3854
ee73db83
DC
38552002-12-23 David Carlton <carlton@math.stanford.edu>
3856
3857 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
3858 and current_directory initialization.
3859
d6c1774e
JB
38602002-12-22 Jim Blandy <jimb@redhat.com>
3861
f0a847b8
JB
3862 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
3863 rather than as part of the output file name.
3864
d6c1774e
JB
3865 * gdb.base/attach.exp: There's no need to copy the test program to
3866 /tmp; that was only ever necessary on HP/UX, and this test is
3867 entirely disabled there anyway.
3868
f0708dbb
JB
38692002-12-21 Jim Blandy <jimb@redhat.com>
3870
4c2acfea
JB
3871 * gdb.c++/psmang.exp: Doc fix.
3872
f0708dbb
JB
3873 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
3874 test.
3875
9579e000
DC
38762002-12-20 David Carlton <carlton@math.stanford.edu>
3877
3878 * gdb.c++/annota2.exp: KFAIL annotate-quit.
3879
d1810171
MC
38802002-12-18 Michael Chastain <mec@shout.net>
3881
3882 * gdb.c++/annota2.exp: Add copyright year 2002.
3883
76565097
DC
38842002-12-17 David Carlton <carlton@math.stanford.edu>
3885
3886 * gdb.c++/try_catch.cc: Add marker comments.
3887 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
3888 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
3889 * gdb.c++/m-static.cc: Ditto.
3890 * gdb.c++/m-static1.cc: Ditto.
3891 * gdb.c++/try_catch.cc: Ditto.
3892
da81390b
JJ
38932002-12-16 Jeff Johnston <jjohnstn@redhat.com>
3894
3895 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
3896 to see whether we are using the new -environment-directory
3897 command which resets via -r or the old version of the command
3898 which may prompt the user. Part of fix for gdb/741.
3899
b304d130
AC
39002002-12-13 Andrew Cagney <ac131313@redhat.com>
3901
3902 * gdb.fortran/types.exp: Update obsolete comment.
3903 * gdb.fortran/exprs.exp: Ditto.
3904 * lib/gdb.exp: Delete obsolete code.
3905 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
3906 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
3907 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
3908 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
3909 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
3910 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
3911 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
3912 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
3913 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
3914 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
3915 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
3916 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
3917 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
3918 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
3919 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
3920 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
3921 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
3922 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
3923 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
3924 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
3925 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
3926 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
3927 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
3928 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
3929 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
3930 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
3931 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
3932 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
3933 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
3934 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
3935 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
3936 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
3937 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
3938 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
3939 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
3940 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
3941 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
3942
a23b6e6a
DC
39432002-12-11 David Carlton <carlton@math.stanford.edu>
3944
3945 * gdb.c++/m-data.exp: Add test for members that shadow global
3946 variables: see PR gdb/804.
3947 * gdb.c++/m-data.cc: Ditto.
3948
6604731b
DJ
39492002-12-10 Daniel Jacobowitz <drow@mvista.com>
3950
3951 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
3952
de46ecd7
DC
39532002-12-06 David Carlton <carlton@math.stanford.edu>
3954
3955 * gdb.base/store.c: Don't declare functions static.
3956
27e829d0
AC
39572002-12-04 Andrew Cagney <ac131313@redhat.com>
3958
3959 * gdb.base/store.exp, gdb.base/store.c: New files.
3960
92806416
DJ
39612002-12-03 Daniel Jacobowitz <drow@mvista.com>
3962
3963 * gdb.base/selftest.exp: Update for current gdb.
3964
3bcbaac5
DJ
39652002-12-03 Daniel Jacobowitz <drow@mvista.com>
3966
3967 * gdb.base/maint.exp: Only dump symbols from one source file
3968 or objfile.
3969
f4f00b1f
DJ
39702002-12-03 Daniel Jacobowitz <drow@mvista.com>
3971
3972 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
3973 function call.
3974
f1c8a949
JB
39752002-11-25 Jim Blandy <jimb@redhat.com>
3976
3977 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
3978 function appearing in error message.
3979
9e297a97
DJ
39802002-11-21 Daniel Jacobowitz <drow@mvista.com>
3981
3982 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
3983
1f312e79
JJ
39842002-11-08 Jeff Johnston <jjohnstn@redhat.com>
3985
d63a86f8
RM
3986 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
3987 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
3988 should be in mi console format. This is part of fix for PR gdb/604.
3989
83c31e7d
FN
39902002-09-18 Fernando Nasser <fnasser@redhat.com>
3991
3992 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
3993 which explicitly prints the zero offset as "+0".
3994
322b3f65
DJ
39952002-10-22 Daniel Jacobowitz <drow@mvista.com>
3996
3997 * gdb.threads/schedlock.c (args): Make unsigned.
3998
39992002-10-21 Daniel Jacobowitz <drow@mvista.com>
4000
4001 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
4002 numbers. Allow "foo2|selected stack frame".
4003 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
4004 * gdb.asm/asmsrc2.s: Likewise.
4005 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
4006 comments.
4007 * gdb.asm/mips.inc: New file.
4008
5e2fe5b8
AF
40092002-10-18 Adam Fedor <fedor@gnu.org>
4010
4011 * gdb.base/default.exp: Update expected output to include 'ObjC'.
4012 * gdb.base/help.exp: Likewise.
4013
abe1a5d0
KB
40142002-10-17 Kevin Buettner <kevinb@redhat.com>
4015
4016 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
4017 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
4018
10abb1d4
JB
40192002-10-02 Jim Blandy <jimb@redhat.com>
4020
4021 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
4022
1f609b42
AC
40232002-10-01 Andrew Cagney <ac131313@redhat.com>
4024
4025 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
4026 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
4027 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
4028 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
4029 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
4030 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
4031 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
4032
0aee02e4
AC
40332002-09-29 Andrew Cagney <ac131313@redhat.com>
4034
4035 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
4036 * mi0-disassemble.exp, mi0-eval.exp: Delete.
4037 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
4038 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
4039 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
4040 * mi0-var-block.exp, mi0-var-child.exp: Delete.
4041 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 4042
6fde09ad
KB
40432002-09-27 Kevin Buettner <kevinb@redhat.com>
4044
4045 * gdb.base/annota1.exp (info break): Make directory components of
4046 path optional since not all compilers emit this debug information.
4047
4048 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
4049 step ends up stepping out of the function instead of stopping on
4050 the epilogue.
4051
9e8aab75
KS
40522002-09-26 Keith Seitz <keiths@redhat.com>
4053
4054 * lib/insight-support.exp (gdbtk_start): Figure out where
4055 the insight executable is based on where gdb is. Use this
4056 executable to start insight instead of gdb.
4057
e36180d7
AC
40582002-09-25 Andrew Cagney <cagney@redhat.com>
4059
4060 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
4061
9dd34b2b
AC
40622002-09-24 Andrew Cagney <ac131313@redhat.com>
4063
4064 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
4065 test_isolated_complaints.
4066 (test_empty_complaint): New function.
4067 (test_empty_complaints): New function. Check no output when no
4068 complaints.
d63a86f8 4069
dea97812
KB
40702002-09-19 Jim Blandy <jimb@redhat.com>
4071
4072 * gdb.base/charset.exp, gdb.base/charset.c: New files.
4073
54951bd7
AC
40742002-09-19 Andrew Cagney <ac131313@redhat.com>
4075
4076 * gdb.gdb/complaints.exp: New file.
4077
dec43320
AC
40782002-09-18 Andrew Cagney <ac131313@redhat.com>
4079
4080 * gdb.base/maint.exp: Check `help maint internal-warning'.
4081
e70d6e3f
DC
40822002-09-18 David Carlton <carlton@math.stanford.edu>
4083
4084 * gdb.c++/m-static.exp: Remove breakpoints depending on line
4085 numbers, and replace them by a single breakpoint after the
4086 constructors are all finished.
4087 Add test 4.
4088 * gdb.c++/m-static.cc: Add test 4.
4089 * gdb.c++/m-static.h: New file.
4090 * gdb.c++/m-static1.cc: New file.
4091
4092 * gdb.c++/printmethod.exp: New file.
4093 * gdb.c++/printmethod.cc: New file.
4094
4095 * gdb.c++/pr-574.exp: New file.
4096 * gdb.c++/pr-574.cc: New file.
4097
afb5c968
CV
40982002-09-18 Corinna Vinschen <vinschen@redhat.com>
4099
4100 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
4101 embedded targets which never actually exit.
4102
31e45dee
FN
41032002-09-18 Fernando Nasser <fnasser@redhat.com>
4104
4105 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
4106 "don't step after run" as unresolved or unsupported, instead of xfail.
4107
a283c5a1
CV
41082002-09-18 Corinna Vinschen <vinschen@redhat.com>
4109
4110 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
4111 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
4112 Add newline to expected string in "step out of main (status wrapper)"
4113 case.
4114
11350d2a
CV
41152002-09-18 Corinna Vinschen <vinschen@redhat.com>
4116
4117 * lib/gdb.exp (rerun_to_main): Allow restarting application.
4118 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
4119
0deec7d6
TT
41202002-09-17 Tom Tromey <tromey@redhat.com>
4121
4122 * gdb.base/printcmds.exp (test_print_string_constants): Expect
4123 \000, not \0, in double-quoted string.
4124
b2b4a1b5
CV
41252002-09-14 Corinna Vinschen <vinschen@redhat.com>
4126
c9d37158 4127 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
4128 string after running the commands execution on breakpoint tests.
4129
1c56143a
CV
41302002-09-13 Corinna Vinschen <vinschen@redhat.com>
4131
4132 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
4133
37f8da45
JB
41342002-09-12 Joel Brobecker <brobecker@gnat.com>
4135
4136 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
4137
08b468e0
KS
41382002-09-10 Keith Seitz <keiths@redhat.com>
4139
4140 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
4141 runto proc.
4142 (mi_run_to_main): Use mi_runto.
4143 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
4144
dc360f58
KS
41452002-09-10 Keith Seitz <keiths@redhat.com>
4146
4147 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
4148 regexp for stopping at main. Could have multiple event notifications.
4149 Don't assume that main was declared with no parameters.
4150 (mi_next): Use mi_step_to.
4151 (mi_step): Use mi_next_to.
4152
ce3abcfb
CV
41532002-09-09 Corinna Vinschen <vinschen@redhat.com>
4154
4155 * gdb.base/default.exp: Fix expected string in `info float' test.
4156
d1f5b980
BE
41572002-09-09 Ben Elliston <bje@redhat.com>
4158
4159 * config/mips.exp: Update comments.
4160 * config/mips-idt.exp: Likewise.
4161 * config/nind.exp: Likewise.
4162 * config/slite.exp: Likewise.
4163 * config/sparclet.exp: Likewise.
4164 * config/udi.exp: Likewise.
4165 * config/vx.exp: Likewise.
4166 * config/vxworks29k.exp: Likewise.
4167
2f71430b
JB
41682002-09-05 Jim Blandy <jimb@redhat.com>
4169
4170 * gdb.threads/killed.exp: Fix test failure message.
4171
7ddebc7e
KS
41722002-09-04 Keith Seitz <keiths@redhat.com>
4173
4174 * lib/mi-support.exp: Update copyright.
4175 (mi_gdb_test): Increase the priority of the expected pattern
4176 so that it matches gdb_test.
4177
0ae67eb3
KS
41782002-09-03 Keith Seitz <keiths@redhat.com>
4179
4180 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
4181 Use integer comparison instead of string comparison for testing
4182 whether binary was built.
4183
38fc42c8
JB
41842002-09-03 Jim Blandy <jimb@redhat.com>
4185
4186 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
4187
b6ff0e81
JB
41882002-08-29 Jim Blandy <jimb@redhat.com>
4189
4190 * gdb.threads/pthreads.exp: Move the portable thread compilation
4191 code into a function in lib/gdb.exp, and call that from here.
4192 * lib/gdb.exp (gdb_compile_pthreads): New function.
4193
07c98896
KS
41942002-08-29 Keith Seitz <keiths@redhat.com>
4195
4196 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
4197 expect_out so that callers can get at it.
4198
0312286c
DJ
41992002-08-23 Daniel Jacobowitz <drow@mvista.com>
4200
4201 * gdb.threads/print-threads.c: New file.
4202 * gdb.threads/print-threads.exp: New file.
4203 * gdb.threads/schedlock.c: New file.
4204 * gdb.threads/schedlock.exp: New file.
4205
dd039bc4
EZ
42062002-08-22 Elena Zannoni <ezannoni@redhat.com>
4207
4208 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
4209 not altivec.c.
4210
1f36144c
MK
42112002-08-17 Mark Kettenis <kettenis@gnu.org>
4212
4213 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
4214 targets. The problem should be fixed now.
4215
16057ec7 42162002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
4217
4218 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
4219 2002-07-24 change that removes final dots from error messages.
4220
3c1499ad
TT
42212002-08-13 Tom Tromey <tromey@redhat.com>
4222
4223 * gdb.base/readline.exp: New file.
4224
a20ce2c3
AC
42252002-08-01 Andrew Cagney <ac131313@redhat.com>
4226
4227 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
4228 supress message.
4229
db034ac5
AC
42302002-08-01 Andrew Cagney <cagney@redhat.com>
4231
4232 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
4233 CHILL_FOR_TARGET and CHILL_LIB.
4234 * configure.in (configdirs): Remove gdb.chill.
4235 * configure: Regenerate.
4236 * lib/gdb.exp: Obsolete references to chill.
4237 * gdb.fortran/types.exp: Ditto.
4238 * gdb.fortran/exprs.exp: Ditto.
4239
3e000b18
KB
42402002-07-30 Kevin Buettner <kevinb@redhat.com>
4241
4242 * gdb.base/shlib-call.exp (additional_flags): Conditionally
4243 set Irix-specific compile and link flags.
4244
28f4966b
KB
42452002-07-29 Kevin Buettner <kevinb@redhat.com>
4246
4247 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
4248 source files. The ``-o'' option doesn't work with the ``-E'' option
4249 when using the Irix compiler.
4250
46c0d5a6
DJ
42512002-07-19 Daniel Jacobowitz <drow@mvista.com>
4252
4253 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
4254 Improve support for reusing an exec file. Copy exec file
4255 to target, and run gdbserver on the target instead of on the host.
4256
eecf4bed
JB
42572002-07-18 Jim Blandy <jimb@redhat.com>
4258
0f815cdf
JB
4259 * gdb.base/ending-run.exp: Don't expect to see the program end in
4260 some orderly fashion when we're running on a real stand-alone
4261 board.
4262
eecf4bed
JB
4263 * gdb.base/interrupt.exp: Correct logic for skipping tests on
4264 targets that don't support interrupts.
4265
52d309e4
JB
42662002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
4267
4268 * gdb.base/attach.exp: Add patterns to match output from /proc-based
4269 systems.
4270 Move comments in expect statements to inside the actions, so that they
4271 don't get matched against.
4272
ff683d9e
MK
42732002-07-10 Mark Kettenis <kettenis@gnu.org>
4274
4275 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
4276 function when asleep" test.
4277
b5356753
AC
42782002-07-10 Andrew Cagney <ac131313@redhat.com>
4279
4280 * gdb.base/page.exp: Rewrite to handle problems with very long
4281 `info set' output. Update copyright.
4282
6aa4d13a
AC
42832002-06-26 Andrew Cagney <ac131313@redhat.com>
4284
4285 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
4286 gdb.threads-hp.
4287 * gdb.hp/configure: Regenerate.
4288 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
4289 * gdb.hp/gdb.threads-hp/configure: Delete file.
4290 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
4291
8cf8c2b8
AC
42922002-06-22 Andrew Cagney <ac131313@redhat.com>
4293
4294 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
4295 setlocale, bindtextdomain and textdomain.
4296
6827a8f8
JB
42972002-06-11 Jim Blandy <jimb@redhat.com>
4298
919d772c
JB
4299 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
4300 preprocessor macro information is present.
4301
6827a8f8
JB
4302 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
4303 tests.
4304
c15b0d21
MS
43052002-06-06 Michael Snyder <msnyder@redhat.com>
4306
c5984d70
MS
4307 * gdb.base/overlays.exp: Record addresses of overlay
4308 functions in TCL variables rather than in GDB variables,
4309 to avoid having GDB convert them to pointers (with loss
4310 of information).
4311
d63a86f8 4312 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 4313 default linker script changes.
c15b0d21
MS
4314 * gdb.base/long_long.exp: Add check for sizeof (long double).
4315
be26fe0d
ML
43162002-06-06 Michal Ludvig <mludvig@suse.cz>
4317
4318 * gdb.asm/asm-source.exp: Add x86-64 target.
4319 * gdb.asm/x86_64.inc: New.
d63a86f8 4320
258093ca 43212002-05-30 Michael Chastain <mec@shout.net>
258093ca 4322
4b3153f1 4323 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
4324 * gdb.c++/m-static.cc: New file.
4325 * gdb.c++/m-static.exp: New file.
4326
241264c6
MS
43272002-05-28 Michael Snyder <msnyder@redhat.com>
4328
4329 * gdb.base/call-ar-st.exp: Allow for reduced floating point
4330 precision.
4331
9bba8c8f 43322002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 4333
4b3153f1 4334 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
4335 * gdb.c++/m-data.cc: New file.
4336 * gdb.c++/m-data.exp: New file.
4337
43382002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 4339
4b3153f1 4340 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 4341 * gdb.c++/try_catch.cc: New file.
d63a86f8 4342 * gdb.c++/try_catch.exp: New file.
9bba8c8f 4343
def1b996
MC
43442002-05-27 Michael Chastain <mec@shout.net>
4345
4346 * gdb.c++/local.exp: Accept more nested types in output.
4347
522ba268
MC
43482002-05-26 Michael Chastain <mec@shout.net>
4349
4350 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
4351
277254ba
MS
43522002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
4353
4354 * lib/gdb.exp (gdb_wrapper_init): Just because
4355 gdb_wrapper_file exists, this does not mean that the file
4356 should not be rebuilt. That is what gdb_wrapper_initialized
4357 is for.
4358 (default_gdb_init): Reset gdb_wrapper_initialized.
4359
b61a8733
MS
43602002-05-23 Michael Snyder <msnyder@redhat.com>
4361
d63a86f8 4362 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
4363 the precision of the floating point test results.
4364 * gdb.base/call-rt-st.exp: Ditto.
4365
b61a8733
MS
4366 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
4367 * gdb.base/call-rt-st.exp: Ditto.
4368
56f6e910
MC
43692002-05-19 Michael Chastain <mec@shout.net>
4370
4371 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
4372
ad0b0016
EZ
43732002-05-19 Elena Zannoni <ezannoni@redhat.com>
4374
4375 * configure.in (configdirs): Add gdb.arch.
4376 * configure: Regenerate.
4377
f617d2b6
JB
43782002-05-17 Jim Blandy <jimb@redhat.com>
4379
4380 * gdb.base/completion.exp: Recognize the more detailed error
4381 messages produced by the macro expander's lexical analyzer.
4382
eac2a696
EZ
43832002-05-14 Elena Zannoni <ezannoni@redhat.com>
4384
4385 * gdb.arch/altivec-abi.c: New file.
4386 * gdb.arch/altivec-abi.exp: New file.
4387 * gdb.arch/altivec-regs.c: New file.
4388 * gdb.arch/altivec-regs.exp: New file.
4389
2fdde8f8
DJ
43902002-05-14 Daniel Jacobowitz <drow@mvista.com>
4391
4392 * gdb.base/maint.exp (maint print type): Update for new type
4393 structure.
d63a86f8 4394
e31f1a7c
EZ
43952002-05-14 Elena Zannoni <ezannoni@redhat.com>
4396
4397 * gdb.arch: New directory.
4398 * gdb.arch/configure.in: New file.
4399 * gdb.arch/configure: New file.
4400 * gdb.arch/Makefile.in: New file.
4401
db589741
CV
44022002-05-13 Corinna Vinschen <vinschen@redhat.com>
4403
4404 * gdb.asm/asm-source.exp: Add v850 as supported target.
4405 * gdb.asm/v850.inc: New file.
4406
8ce2a7dc
DJ
44072002-05-13 Daniel Jacobowitz <drow@mvista.com>
4408
4409 * gdb.c++/annota2.exp (annotate-quit): Add comment.
4410
df763c7f
DJ
44112002-05-12 Daniel Jacobowitz <drow@mvista.com>
4412
4413 * gdb.base/break.exp: Check 'break "marker2"'.
4414
377daeed
MS
44152002-05-10 Michael Snyder <msnyder@redhat.com>
4416
4417 * gdb.base/long_long.exp: Fix typo.
4418
c4b7bc2b
JB
44192002-05-10 Jim Blandy <jimb@redhat.com>
4420
ecac9a4e
JB
4421 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
4422 a bug.
4423
c4b7bc2b
JB
4424 * gdb.base/printcmds.exp (test_integer_literals_rejected):
4425 Recognize more detailed error message produced by the macro
4426 expander's lexical analyzer.
4427 * lib/gdb.exp (test_print_reject): Same.
4428
e71019a1
MK
44292002-05-09 Mark Kettenis <kettenis@gnu.org>
4430
4431 * gdb.c++/method.exp: Fix typo.
4432
fedfc8e6
MS
44332002-05-08 Michael Snyder <msnyder@redhat.com>
4434
166a1957
MS
4435 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
4436 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 4437 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
4438 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
4439 Add iftarget clause for strongarm.
d63a86f8 4440
f1c47eb2
MS
44412002-05-06 Michael Snyder <msnyder@redhat.com>
4442
cb9a9d3e
MS
4443 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
4444 (gdb_continue_to_end): Accept output from status wrapper.
4445 * gdb.base/ending-run.exp: Add case for output from status wrapper.
4446 Clean up fail messages to match pass messages.
4447
f1c47eb2
MS
4448 Enable the "needs_status_wrapper" testsuite feature.
4449 * lib/gdb.exp (gdb_wrapper_init): New procedure.
4450 (gdb_compile): Conditionally call gdb_wrapper_init.
4451 * gdb.base/a2-run.exp: Recognize output from status wrapper.
4452 * gdb.c++/method.exp: Recognize output from status wrapper.
4453
6079c749
BE
44542002-05-06 Ben Elliston <bje@redhat.com>
4455From Graydon Hoare <graydon@redhat.com>
4456
4457 * config/sid.exp: Include support for "rawsid" protocol.
4458
188baff3
JB
44592002-05-03 Jim Blandy <jimb@redhat.com>
4460
4461 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
4462 * gdb.c++/hang3.C: New file.
4463
b9c07f0f
AC
44642002-05-04 Andrew Cagney <ac131313@redhat.com>
4465
4466 * gdb.base/default.exp: Remove obsolete code.
4467 * gdb.c++/misc.exp: Ditto. Update copyright.
4468 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
4469 * gdb.base/whatis.exp: Ditto. Update copyright.
4470 * gdb.base/scope.exp: Ditto. Update copyright.
4471 * gdb.base/ptype.exp: Ditto. Update copyright.
4472 * gdb.base/printcmds.exp: Ditto. Update copyright.
4473 * gdb.base/opaque.exp: Ditto. Update copyright.
4474 * gdb.base/list.exp: Ditto.
4475 * gdb.base/funcargs.exp: Ditto. Update copyright.
4476 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
4477 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
4478 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
4479 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
4480 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
4481 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
4482
5c7a0397
MS
44832002-05-02 Michael Snyder <msnyder@redhat.com>
4484
d6dcc264 4485 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
4486 * gdb.base/long_long.exp: Add xscale target.
4487 * gdb.base/default.exp: Add xscale target.
4488
eb7f1c48
JB
44892002-05-01 Jim Blandy <jimb@redhat.com>
4490
4491 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
4492 gdb.c++/hang.exp: New test.
4493
a6befae8
FF
44942002-05-01 Fred Fish <fnf@redhat.com>
4495
4496 * gdb.base/completion.exp: Handle completions of "./Make" for
4497 more than one completion possibility, as is the case when we
4498 build and test in the source tree.
4499
0a310277
AG
45002002-04-29 Anthony Green <green@redhat.com>
4501
4502 * gdb.java/jmisc1.exp: New file.
4503 * gdb.java/jmisc2.exp: New file.
4504
6ff9af88
DJ
45052002-04-24 Daniel Jacobowitz <drow@mvista.com>
4506
4507 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
4508
96b3d632
EZ
45092002-04-23 Elena Zannoni <ezannoni@redhat.com>
4510
4511 * gdb.base/help.exp: Change 'help status' to allow for target
4512 dependent output differences.
4513
5019bb54
MC
45142002-04-22 Michael Chastain <mec@shout.net>
4515
4516 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
4517
a805a116
MC
45182002-04-22 Michael Chastain <mec@shout.net>
4519
4520 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
4521
a1706bfd
DM
45222002-04-17 David S. Miller <davem@redhat.com>
4523
4524 * gdb.asm/sparc64.inc: New file.
4525 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
4526
a73a20a2
EZ
45272002-04-19 Elena Zannoni <ezannoni@redhat.com>
4528
4529 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
4530 instruction file directly into the build tree. Clean up at end of
4531 test.
4532
ba678339
DM
45332002-04-18 David S. Miller <davem@redhat.com>
4534
4535 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
4536 handle 64-bit platforms correctly.
4537 * gdb.base/maint.exp: Likewise.
4538
b03399da
KB
45392002-04-18 Kevin Buettner <kevinb@redhat.com>
4540
4541 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
4542 ``-fpic'' when compiling files comprising a shared library, but
4543 it does need additional linker flags in order to find shared
4544 libraries at run time.
4545
e2004992
KB
45462002-04-18 Kevin Buettner <kevinb@redhat.com>
4547
4548 * gdb.base/cvexpr.c (use): New function.
4549 (main): Invoke use() on all global variables to prevent
4550 some linkers from deleting these otherwise unused symbols.
4551
d8937120
MC
45522002-04-17 Michael Chastain <mec@shout.net>
4553From David S. Miller <davem@redhat.com>
4554
4555 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
4556 handle 64-bit platforms correctly.
4557
ffd61a58
MS
45582002-04-12 Michael Snyder <msnyder@redhat.com>
4559From Jim Blandy <jimb@redhat.com>
4560 * gdb.base/foo.c (foox): Remove section attribute; the linker
4561 script can handle this instead.
4562 * gdb.base/bar.c (barx): Same.
4563 * gdb.base/baz.c (bazx): Same.
4564 * gdb.base/grbx.c (grbxx): Same.
4565
4566 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
4567 manager doesn't automatically unmap overlays unnecessarily.
4568
6b8426a6
MH
45692002-04-10 Martin M. Hunt <hunt@redhat.com>
4570
4571 * gdb.base/ending-run.exp: Fix pattern for Mips targets
4572 stepping out of main.
4573
34af4875
MC
45742002-04-09 Michael Chastain <mec@shout.net>
4575
4576 * gdb.c++/local.cc (main): Move call to marker1() inside nested
4577 scope so that the nested scope tests will make sense.
4578 * gdb.c++/local.exp: Write patterns that actually work with gcc
4579 (the HP patterns "were never known to work with gcc").
4580 Keep the old aCC patterns too.
4581
2d1676a0
DJ
45822002-04-09 Daniel Jacobowitz <drow@mvista.com>
4583
4584 * gdb.base/attach.exp: Correct target board test.
4585
3a63e3f9
MC
45862002-04-08 Michael Chastain <mec@shout.net>
4587
4588 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
4589 in a const method. Add some xfail and fail cases for configurations
4590 that do not emit the "const ...".
4591
f18dabd2
MC
45922002-04-07 Michael Chastain <mec@shout.net>
4593
4594 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
4595 Accept "A * const" and "const A * const" as type of "this".
4596 Fix spelling of getFunky throughout. Make messages uniform.
4597
0fcddd82
EZ
45982002-04-07 Elena Zannoni <ezannoni@redhat.com>
4599
4600 Work around for PR gdb/285:
4601 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
4602
16a8534a
EZ
46032002-04-07 Elena Zannoni <ezannoni@redhat.com>
4604
4605 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
4606 instructions file at run time instead of configure time.
4607 Sometimes we run the test in a directory that is not the one we
4608 configured in.
4609 * gdb.asm/configure.in: Delete creation of symlink.
4610 * gdb.asm/configure: Regenerate.
4611
24181d81
JB
46122002-04-05 J. Brobecker <brobecker@gnat.com>
4613
4614 * gdb.gdb/xfullpath.exp: New test, to exercise the new
4615 xfullpath () function.
4616
7cdb7107
DJ
46172002-04-04 Daniel Jacobowitz <drow@mvista.com>
4618
4619 * gdb.asm/Makefile.in: Correct dependencies.
4620
4621 * gdb.asm/powerpc.inc: New file.
4622 * gdb.asm/asm-source.exp: Add PowerPC.
4623 * gdb.asm/configure.in: Likewise.
4624 * gdb.asm/configure: Regenerated.
4625
a7d17088
DJ
46262002-04-04 Daniel Jacobowitz <drow@mvista.com>
4627
4628 * gdb.base/relocate.exp: New file.
4629 * gdb.base/relocate.c: New file.
4630
cd721503
FF
46312002-04-04 Fred Fish <fnf@redhat.com>
4632
4633 * gdb.base/step-test.exp: Update comment regarding stopping in
4634 memcpy/bcopy calls inserted as part of the compiler runtime.
4635
b22ad7a7
MS
46362002-04-04 Michael Snyder <msnyder@redhat.com>
4637
4638 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
4639
5f279fa6
DJ
46402002-04-03 Daniel Jacobowitz <drow@mvista.com>
4641
4642 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
4643 (gdb_expect): Remove $notransfer hack.
4644
dd0fd3ce
DJ
46452002-04-02 Daniel Jacobowitz <drow@mvista.com>
4646
4647 * gdb.c++/classes.exp ("calling method for small class"): Match
4648 updated register output.
4649
1e50cda1
DJ
46502002-03-30 Daniel Jacobowitz <drow@mvista.com>
4651
4652 Fix PR gdb/452
4653 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
4654 when finished. Make gdb_file_cmd send "exec-file" when
4655 appropriate.
4656
24015922
DJ
46572002-03-30 Daniel Jacobowitz <drow@mvista.com>
4658
4659 * gdb.base/attach.exp: Remove extra setup_xfail.
4660
dd7dfd64
MS
46612002-03-26 Michael Snyder <msnyder@redhat.com>
4662
4663 * gdb.base/default.exp: Add tests for dump, append, and restore.
4664 * gdb.base/help.exp: Add tests for dump, append, and restore.
4665 * gdb.base/dump.exp: New file, test dump, append and restore.
4666 * gdb.base/dump.c: New file.
4667
48b2f8d7
MS
46682002-03-27 Michael Snyder <msnyder@redhat.com>
4669
d63a86f8 4670 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
4671 clean-ups in help messages.
4672
05b4d525
FF
46732002-03-26 Fred Fish <fnf@redhat.com>
4674
4675 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
4676 have debugging info for those functions and the compiler uses them
4677 internally to copy structs around.
4678
d7679631
FF
46792002-03-26 Fred Fish <fnf@redhat.com>
4680
4681 * gdb.base/list.exp: Revert the change made yesterday and add note
4682 about why we don't list the default lines for remote targets.
4683
523ac3f9
MS
46842002-03-25 Michael Snyder <msnyder@redhat.com>
4685
4686 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
4687
754b2b8d
FF
46882002-03-25 Fred Fish <fnf@redhat.com>
4689
4690 * gdb.base/list.exp: This test works on remote targets so remove
4691 the short circuit for remote targets. Update copyright.
4692
33c3e192
FF
46932002-03-25 Fred Fish <fnf@redhat.com>
4694
4695 * gdb.base/attach.exp: Fix logic error that was suppressing this
4696 test for all non hppa*-*-hpux* targets, instead of the hp target.
4697 Move comments closer to the suppression point. Also now need to
4698 check that we are running natively.
4699
d43e73ee
MS
47002002-03-22 Michael Snyder <msnyder@redhat.com>
4701
882c8f02
MS
4702 * gdb.base/default.exp: Add test for gcore. Update copyright.
4703 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 4704
04c12f60
FF
47052002-03-06 Fred Fish <fnf@redhat.com>
4706
4707 * gdb.base/funcargs.c: Remove extraneous ';' character.
4708 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
4709
b43df995
MC
47102002-03-04 Michael Chastain <mec@shout.net>
4711
4712 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
4713 accommodate gcc v3 function signature.
4714 * gdb.mi/mi0-var-cmd-exp: Ditto.
4715
92362027
AC
47162002-02-24 Andrew Cagney <ac131313@redhat.com>
4717
4718 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
4719 ``GNU/Linux'' or ``Linux kernel''
4720 * testsuite/gdb.threads/pthreads.c: Ditto.
4721
258ad32d
MC
47222002-02-24 Michael Chastain <mec@shout.net>
4723
4724 * gdb.threads/pthreads.c (thread1): Add a return statement.
4725 (thread2): Likewise.
4726 (foo): Likewise.
4727
04c3b3d4
MC
47282002-02-23 Michael Chastain <mec@shout.net>
4729
4730 * gdb.threads/linux-dp.c (philosopher): Add a return statement
4731 to placate gcc.
4732
5a2a0a20
MC
47332002-02-23 Michael Chastain <mec@shout.net>
4734
4735 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
4736 test "ptype bint". The test passes on all my stabs configurations.
4737
a640f7fc
JB
47382002-02-21 Jim Blandy <jimb@redhat.com>
4739
27924826
JB
4740 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
4741 filename at a time, and watch for the ones we want to see.
4742
a640f7fc
JB
4743 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
4744 types of pointers to prototyped functions.
4745
edcc8c75
AC
47462002-02-20 Andrew Cagney <ac131313@redhat.com>
4747
4748 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
4749 signed, unsigned and straight char.
4750 (padding_char, padding_short, padding_int, padding_long,
4751 padding_long_long, padding_float, padding_double,
4752 padding_long_double): New global variables.
4753 (fill, fill_structs): New functions.
4754
4755 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
4756 for correctly sized writes. Update copyright.
4757 (get_valueof): New procedure.
4758 (get_sizeof): Call get_valueof.
4759 (check_valueof): New procedure.
4760 (check_padding): New procedure.
4761
ac57ea44
MC
47622002-02-20 Michael Chastain <mec@shout.net>
4763
4764 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
4765 to setup_xfail. Document some of the remaining calls.
4766
7a10c941
MC
47672002-02-18 Michael Chastain <mec@shout.net>
4768
4769 * gdb.c++/userdef.exp: Update copyright year.
4770
fb8acdcc
DJ
47712002-02-18 Daniel Jacobowitz <drow@mvista.com>
4772
4773 * gdb.c++/userdef.exp: Test overloaded operators properly.
4774 Remove xfails.
4775
fda6ae12
MS
47762002-02-14 Michael Snyder <msnyder@redhat.com>
4777
4778 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
4779
676a0442
DJ
47802002-02-14 Daniel Jacobowitz <drow@mvista.com>
4781
4782 * gdb.base/a2-run.exp: Check for a remote target properly.
4783 * gdb.base/annota1.exp: Likewise.
4784 * gdb.base/list.exp: Likewise.
4785 * gdb.base/reread.exp: Likewise.
4786 * gdb.base/scope.exp: Likewise.
4787 * gdb.base/shlib-call.exp: Likewise.
4788 * gdb.base/term.exp: Likewise.
4789 * gdb.c++/annota2.exp: Likewise.
4790
78b4f468
RE
47912002-02-13 Richard Earnshaw <rearnsha@arm.com>
4792
4793 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
4794
9a81ba51
MC
47952002-02-10 Michael Chastain <mec@shout.net>
4796
4797 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
4798 (call_after_alloca): Ditto.
4799
004af6c7
DJ
48002002-02-10 Daniel Jacobowitz <drow@mvista.com>
4801
4802 * gdb.base/ending-run.exp: Guard "cont" test with
4803 gdb_skip_stdio_test.
4804
37225f62
JB
48052002-02-06 Jim Blandy <jimb@redhat.com>
4806
4807 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
4808 from here...
4809 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
4810 To here. Disable this test on non-HP platforms. Add big comment.
4811
fe6fdd96
MS
48122002-02-04 Michael Snyder <msnyder@redhat.com>
4813
4814 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
4815 other than d10v and m32r.
4816
036fad3f
RE
48172002-02-02 Richard Earnshaw <rearnsha@arm.com>
4818
4819 * gdb.base/default.exp: Rewrite test patterns to reduce time
4820 taken to match them.
4821
7148ab62
DJ
48222002-01-30 Daniel Jacobowitz <drow@mvista.com>
4823
4824 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
4825 Allow a start function above main.
4826 * gdb.threads/linux-dp.exp: Fix copyright date.
4827
396cc255
DJ
48282002-01-30 Daniel Jacobowitz <drow@mvista.com>
4829
4830 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
4831 (check_philosopher_stack): Check for manager thread before checking
4832 for a just-starting thread.
4833
f038d31b
DJ
48342002-01-30 Daniel Jacobowitz <drow@mvista.com>
4835
4836 From Neil Booth <neil@daikokuya.demon.co.uk>:
4837 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
4838 warnings.
4839
b3ff9d9a
FF
48402002-01-21 Fred Fish <fnf@redhat.com>
4841
4842 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
4843 not caller.
4844
39ad761d
JB
48452002-01-21 Jim Blandy <jimb@redhat.com>
4846
4847 * gdb.base/reread.exp: Check that GDB properly re-reads the
4848 executable file when it changes while no inferior is running.
4849
aaf320fa
FF
48502002-01-21 Fred Fish <fnf@redhat.com>
4851
4852 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
4853 optionally accept the "shlib events" variation.
4854
808a31f5
JB
48552002-01-21 Jim Blandy <jimb@redhat.com>
4856
4857 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
4858 call `fflush' after every `printf', so that the output is produced
4859 at predictable points, regardless of whatever buffering does (or
4860 doesn't) take place.
4861 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
4862 at different points.
4863
4420d5e2
DJ
48642002-01-20 Daniel Jacobowitz <drow@mvista.com>
4865
4866 * gdb.c++/inherit.exp: Update copyright years.
4867 * gdb.c++/method.exp: Likewise.
4868
3e36a0f4
DJ
48692002-01-20 Daniel Jacobowitz <drow@mvista.com>
4870
4871 * gdb.c++/classes.exp: Update for improved v3 support and skipping
4872 artificial methods/arguments.
4873 * gdb.c++/derivation.exp: Likewise.
4874 * gdb.c++/inherit.exp: Likewise.
4875 * gdb.c++/method.exp: Likewise.
4876 * gdb.c++/virtfunc.exp: Likewise.
4877
b4ceaee6
AC
48782002-01-18 Andrew Cagney <ac131313@redhat.com>
4879
4880 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
4881 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
4882 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
4883 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
4884 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
4885 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
4886
ecace851
JB
48872002-01-17 Jim Blandy <jimb@redhat.com>
4888
4889 * gdb.asm/asm-source.exp (info symbol): Take another shot at
4890 anchoring the pattern matching the entry point symbol's name.
4891
375fc983
AC
48922002-01-17 Andrew Cagney <ac131313@redhat.com>
4893
4894 * gdb.base/maint.exp: Update ``maint internal-error'' to match
4895 continue/quit query. Update copyright.
4896
fe6fdd96
MS
48972002-01-14 Michael Snyder <msnyder@redhat.com>
4898
4899 * gdb.base/gcore.exp: Remove extra debugging output.
4900
e017c81f
DJ
49012002-01-13 Daniel Jacobowitz <drow@mvista.com>
4902
4903 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
4904 for slightly dubious v2 mangled string.
4905
37ab3bf8
DJ
49062002-01-13 Daniel Jacobowitz <drow@mvista.com>
4907
4908 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
4909
1bc05c3a 49102002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 4911
1bc05c3a 4912 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 4913
1bc05c3a
JM
4914 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
4915 constructors.
4916 * gdb.c++/derivation.exp: Likewise.
4917 * gdb.c++/templates.exp: Likewise.
4918 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 4919
1bc05c3a
JM
49202002-01-10 Michael Snyder <msnyder@redhat.com>
4921
4922 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 4923
a911c360
MS
49242002-01-08 Michael Snyder <msnyder@redhat.com>
4925
4926 * gdb.base/gcore.exp: New test for generate-core-file command.
4927 * gdb.base/gcore.c: Testcase for above.
4928 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
4929
ea2119ec
JM
49302002-01-08 Jason Merrill <jason@redhat.com>
4931
4932 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
4933
68203136
FF
49342002-01-07 Fred Fish <fnf@redhat.com>
4935
4936 * gdb.c++/overload.exp: Remove unconditional xfails for:
4937 print foo_instance1.overloadargs(1)
4938 print foo_instance1.overloadargs(1, 2)
4939 print foo_instance1.overloadargs(1, 2, 3)
4940 print foo_instance1.overloadargs(1, 2, 3, 4)
4941 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
4942 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
4943 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
4944 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
4945 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
4946 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
4947 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
4948 print foo_instance1.overload1arg()
4949 print foo_instance1.overload1arg((char)arg2)
4950 print foo_instance1.overload1arg((signed char)arg3)
4951 print foo_instance1.overload1arg((unsigned char)arg4)
4952 print foo_instance1.overload1arg((int)arg7)
4953 print foo_instance1.overload1arg((unsigned int)arg8)
4954 print foo_instance1.overload1arg((float)arg11)
4955 print foo_instance1.overload1arg((double)arg12)
d63a86f8 4956
21b9b5b1
MS
49572002-01-07 Michael Snyder <msnyder@redhat.com>
4958
4959 * gdb.base/huge.exp: New test. Print a very large target data object.
4960 (skip_huge_test): New test variable. Define if you want to skip this
4961 test. The test reads an 8 megabyte data object from the target, so it
4962 might be very time consuming on remote targets with a slow connection.
4963 * gdb.base/huge.c: New file. Test case for above.
4964
725f922e
FF
49652002-01-07 Fred Fish <fnf@redhat.com>
4966
4967 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
4968 g_instance.bfoo, and g_instance.cfoo.
4969
634d57ec
JL
4970Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
4971
f286b2c3
JL
4972 * gdb.base/break.c (multi_line_if_conditional): New function.
4973 (multi_ilne_while_conditional): Likewise.
4974 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
4975 IF or WHILE condition puts the breakpoint at the start of
4976 the condition.
4977
634d57ec
JL
4978 * gdb.base/selftest.exp (backtrace through signal handler): Remove
4979 hppa*-*-hpux* expected failure.
4980 * gdb.base/structs.exp (do_function_calls): Similarly.
4981
4982 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
4983 watchpoints.
4984
9fbfe2dc
AC
49852002-01-06 Andrew Cagney <ac131313@redhat.com>
4986
4987 Fix PR gdb/66.
4988 * gdb.base/structs.exp: Replace skip for a29k with skip for
4989 gdb,cannot_call_functions.
4990 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
4991 * gdb.base/callfuncs.exp: Ditto.
4992 * gdb.base/call-rt-st.exp: Ditto.
4993 * gdb.base/call-strs.exp: Ditto.
4994 * gdb.base/callfwmall.exp: Ditto.
4995 * gdb.base/scope.exp: Obsolete xfail a29k.
4996 * gdb.c++/misc.exp: Ditto.
4997 * gdb.c++/cplusfuncs.exp: Ditto.
4998 * gdb.base/ptype.exp: Ditto.
4999 * gdb.base/printcmds.exp: Ditto.
5000 * gdb.base/opaque.exp: Ditto.
5001 * gdb.base/list.exp: Ditto.
5002 * gdb.base/funcargs.exp: Ditto.
5003 * gdb.base/default.exp: Ditto.
5004
8ddad156
MS
50052002-01-04 Michael Snyder <msnyder@redhat.com>
5006
ca4976a6 5007 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
5008 * gdb.base/maint.exp: Add tests for maint info sections options.
5009
1b074332
JL
5010Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
5011
5012 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
5013
7d159115
CV
50142001-12-20 Corinna Vinschen <vinschen@redhat.com>
5015
5016 * gdb.asm/arm.inc: New file.
5017 * gdb.asm/asm-source.exp: Add arm targets.
5018 * gdb.asm/configure.in: Ditto.
5019 * gdb.asm/configure: Recreated from configure.in.
5020
8fb87725
JL
5021Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
5022
afabe08c
JL
5023 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
5024 with HP's compiler.
5025 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
5026 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
5027 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
5028 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
5029
5030 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
5031 either HP's compilers or GCC.
5032
db521deb
JL
5033 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
5034 a SIGBUS or SIGSEGV.
5035
5036 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
5037
5038 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
5039 can be compiled with either HP's compiler or GCC.
5040
cfa88ab7
JL
5041 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
5042 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
5043 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
5044
ca344dff
JL
5045 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
5046 to match current gdb output. Update due to using auto-solib-limit
5047 for limiting instead of overloading auto-solib-add.
5048 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
5049 test program.
5050
3f3c6e55 5051 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
5052 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
5053 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
5054 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
5055 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
5056 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
5057 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
5058 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
5059 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
5060 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
5061 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
5062 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
5063 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 5064
8fb87725
JL
5065 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
5066 a SIGTRAP to the inferior.
5067
cf599fa7
CV
50682001-12-19 Corinna Vinschen <vinschen@redhat.com>
5069
5070 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
5071 Substitute call to target_link by call to gdb_compile.
5072
2cd045cd
JL
5073Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
5074
5075 * gdb.base/break.exp: Fix HP specific search string when testing
5076 backtracing in a called function.
5077
d63a86f8 5078 * gdb.base/constvars.exp: Only set lang to C++ if we're
2cd045cd
JL
5079 compiling the test with HP's compilers.
5080 * gdb.base/volatile.exp: Similarly.
5081
99ebe9ac
JB
50822001-12-19 Jim Blandy <jimb@redhat.com>
5083
5084 * gdb.base/printcmds.exp: Expect the null character to be printed
5085 as '\0', and the '\013' to be printed as '\v'.
5086 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
5087 * gdb.base/setvar.exp: Same.
5088
b9891b29
JB
50892001-12-17 Jim Blandy <jimb@redhat.com>
5090
0eba65ab
JB
5091 * gdb.base/completion.exp: Rather than completing very long
5092 filenames, which can make the readline library produce output we
5093 don't recognize, cd to the directory first, and then complete
5094 using nice, short relative paths.
5095
6970b5b1
JB
5096 * gdb.base/completion.exp: On some systems, there is, in fact, a
5097 variable named `b' in scope, since GDB treats all static
5098 variables as being in scope. So use `no_var_named_this'
5099 instead of `b'.
5100
b9891b29
JB
5101 * gdb.base/corefile.exp: Recognize the message saying that GDB
5102 can't find the core file's registers as a failure.
5103
e6ccd35f
JSC
51042001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
5105
5106 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
5107 test expect string more specific.
5108
105ba819
CV
51092001-12-13 Corinna Vinschen <vinschen@redhat.com>
5110
5111 * gdb.asm/asm-source.exp: Add support for xstormy16.
5112 * gdb.asm/configure.in: Ditto.
5113 * gdb.asm/configure: Rebuild.
5114 * gdb.asm/xstormy16.inc: New file.
5115
e9e79dd9
FF
51162001-12-10 Fred Fish <fnf@redhat.com>
5117
5118 * gdb.base/maint.exp: Update to match changes in type dumping code.
5119
347dc97d
JB
51202001-12-10 Jim Blandy <jimb@redhat.com>
5121
5122 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
5123 matching the entry point symbol's name at the beginning of the
5124 line.
5125
5178b9d6
DJ
51262001-12-07 Daniel Jacobowitz <drow@mvista.com>
5127
5128 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
5129 gdb.c++/inherit.exp, gdb.c++/method.exp,
5130 gdb.c++/namespace.exp, gdb.c++/templates.exp,
5131 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
5132 and class layout support.
5133
af890c52
DJ
51342001-12-07 Daniel Jacobowitz <drow@mvista.com>
5135
5136 * gdb.c++/classes.exp: Add test for static member function.
5137 * gdb.c++/misc.cc: Add class with static member function.
5138
7a345fb3
JB
51392001-12-07 Jim Blandy <jimb@redhat.com>
5140
f2e54a80 5141 If GDB says it can't find the struct the function returned, report
8032bf31
JB
5142 those tests as `unsupported'.
5143 * gdb.base/call-rt-st.exp (print_struct_call): New function.
5144 Rewrite subsequent tests to use it.
5145
5146 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
5147 those tests as `unsupported'.
5148 * gdb.base/structs.exp (call_struct_func): New function.
5149 (do_function_calls): Use call_struct_func to call the functions
5150 returning structs.
5151
0bc69509
JB
5152 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
5153 whether functions are prototyped or not, so we can't possibly pass
5154 arguments to t_float_values2 properly.
5155
7a345fb3
JB
5156 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
5157 value of `timeout' for targets other than the mips*tx39-*.
5158
edb6ede1
MS
51592001-12-06 Michael Snyder <msnyder@redhat.com>
5160
d63a86f8 5161 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
5162 and detect whether the start symbol has a leading underscore.
5163
2d842f13
JB
51642001-12-04 Jim Blandy <jimb@redhat.com>
5165
5166 * gdb.base/completion.exp: Clarify indentation.
5167
68550daf
JB
51682001-12-03 Jim Blandy <jimb@redhat.com>
5169
5170 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
5171 variables on the S/390, not `.word'.
5172
cd5195a8
JB
51732001-11-30 Jim Blandy <jimb@redhat.com>
5174
5175 Add assembly-source tests for s390-ibm-linux.
5176 * gdb.asm/s390.inc: New file.
5177 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
5178 the S/390 architecture.
5179 * gdb.asm/configure: Regenerated.
5180
ca9efc90
MS
51812001-11-30 Michael Snyder <msnyder@redhat.com>
5182
5183 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
5184 next, info source, info sources, info line, global and static
5185 variables, and static functions.
5186 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
5187 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
5188 * gdb.asm/asmsrc1.s: Add a static function and some variables.
5189 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
5190 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
5191 (gdbasm_leave): Restore frame pointer.
5192 (gdbasm_startup): Copy stack set-up from crt0.S.
5193
d0e66976
FN
51942001-11-26 Fernando Nasser <fnasser@redhat.com>
5195
5196 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
5197 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
5198 to a local (non-static) variable. Copy tstruct.a to a static buffer
5199 and return a pointer to that buffer.
5200 * gdb.base/callfwmall.c (t_structs_a): Ditto.
5201
e2334072
MK
52022001-11-24 Mark Kettenis <kettenis@gnu.org>
5203
5204 * gdb.asm/configure.in: Fix recognition of ix86 target.
5205 * gdb.asm/configure: Regenerate.
5206
756caa3d
MS
52072001-11-21 Michael Snyder <msnyder@redhat.com>
5208
5209 * gdb.asm/sparc.inc: New file.
5210 * gdb.asm/asm-source.exp: Recognize sparc target.
5211 * gdb.asm/configure.in: Recognize sparc target.
5212 * gdb.asm/configure: Regenerate.
d63a86f8 5213
9a4d72d5
MS
52142001-11-21 Michael Snyder <msnyder@redhat.com>
5215
5216 * gdb.asm/m32r.inc: New file.
5217 * gdb.asm/asm-source.exp: Recognize m32r target.
5218 * gdb.asm/configure.in: Recognize m32r target.
5219 * gdb.asm/configure: Regenerate.
5220
a773d1cd
MS
52212001-11-20 Michael Snyder <msnyder@redhat.com>
5222
017ac23d
MS
5223 * gdb.asm/i386.inc: New file.
5224 * gdb.asm/asm-source.exp: Recognize ix86 target.
5225 * gdb.asm/configure.in: Recognize ix86 target.
5226 * gdb.asm/configure: Regenerate.
5227
a773d1cd
MS
5228 * gdb.c++/namespace.exp: Fix quotes in output messages.
5229
bb632afb
MS
52302001-11-14 Michael Snyder <msnyder@redhat.com>
5231
25d559ca 5232 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
5233 qualifier in a type cast expression, to designate an address
5234 in the instruction space (Harvard architecture).
5235
4749e309
MS
52362001-11-13 Michael Snyder <msnyder@redhat.com>
5237
5238 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
5239 Tests for expressions using 'const' and 'volatile'.
5240
25050984
CV
52412001-11-13 Corinna Vinschen <vinschen@redhat.com>
5242
5243 * gdb.asm/asm-sources.exp: Allow defining linker flags.
5244
1902c51f
DJ
52452001-11-12 Daniel Jacobowitz <drow@mvista.com>
5246
5247 * lib/mi-support.exp (mi_run_to_helper): Move comments
5248 outside of gdb_expect.
5249
dcf95b47
DJ
52502001-11-11 Daniel Jacobowitz <drow@mvista.com>
5251
5252 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
5253 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
5254 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
5255 mi0_run_to): New functions.
5256 * gdb.mi/mi-simplerun.exp: Use them.
5257 * gdb.mi/mi0-simplerun.exp: Likewise.
5258 * gdb.mi/mi-var-cmd.exp: Likewise.
5259 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 5260
45b074e1
AC
52612001-11-10 Andrew Cagney <ac131313@redhat.com>
5262
5263 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
5264 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
5265
bf50d346
AC
52662001-11-09 Andrew Cagney <ac131313@redhat.com>
5267
5268 * gdb.base/restore.exp: Include $expected value in restored test
5269 message.
5270
9383332c
AC
52712001-11-09 Andrew Cagney <ac131313@redhat.com>
5272
5273 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
5274 implemented.
5275
db62520a
MS
52762001-11-08 Michael Snyder <msnyder@redhat.com>
5277
5278 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
5279 Add pass/fail message for stop at breakpoint in call dummy function.
5280
b5703437
MS
52812001-11-07 Michael Snyder <msnyder@redhat.com>
5282
d63a86f8
RM
5283 * gdb.c++/templates.exp (test_template_breakpoints):
5284 If we get an overload menu, but it does not match what
760f6330 5285 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
5286 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
5287 making the whitespace optional. Argument for "new" may be
5288 "unsigned" as well as "unsigned int/long".
d63a86f8 5289 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
5290 making the whitespace optional. Also replace "(void) with
5291 "((void|)), making the keyword "void" optional.
d63a86f8 5292 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
5293 making the whitespace optional. Also replace "(void) with
5294 "((void|)), making the keyword "void" optional.
3bf40917
MS
5295 * gdb.base/callfuncs.c (t_float_values): This function must
5296 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 5297 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
5298 can be tested against both cases. Usually one case involves
5299 promotion of float to double, while the other does not.
5300 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
5301 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
5302 includes a stack frame for "start".
5303
c8ab4e6d
JB
53042001-11-05 Jim Blandy <jimb@redhat.com>
5305
5306 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
5307 pointers are 32 bits long, and that offsets of relocs are always
5308 stored in the data (REL-style), and not in the reloc entry itself
5309 (RELA-style).
5310 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
5311 stabs.
5312
3f08ced9
MS
53132001-11-01 Michael Snyder <msnyder@redhat.com>
5314
5315 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
5316 and regular expression operators by using quoting.
5317
cbfa24cd
MS
53182001-10-31 Michael Snyder <msnyder@redhat.com>
5319
5320 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
5321 depending on what the symbol table contains.
5322 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
5323 the output of the ptype command. Similarly, accept both "const &"
5324 and "const&".
5325
aaa68313
CV
53262001-10-31 Corinna Vinschen <vinschen@redhat.com>
5327
5328 * gdb.base/miscexprs.c (main): Add usage of preprocessor
5329 symbol `STORAGE' to allow to choose the storage class of
5330 the local datastructures.
5331 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
5332 compiler directive.
5333
91740388
MS
53342001-10-30 Michael Snyder <msnyder@redhat.com>
5335
5336 * gdb.base/jump.exp: Allow it to run for all targets.
5337
1b7c05e7
CV
53382001-10-29 Corinna Vinschen <vinschen@redhat.com>
5339
5340 * gdb.base/call-ar-st.c (print_double_array): Match for loop
5341 with new double_array size.
5342 (main): Change storage class of all local variables to static.
5343 Reduce size of double_array to 9.
5344 * gdb.base/call-ar-st.exp: Increase timeout value.
5345 Change expected output for double array to match new size in
5346 call-ar-st.c.
5347
36a22261
CV
53482001-10-29 Corinna Vinschen <vinschen@redhat.com>
5349
5350 * gdb.base/ending-run.exp: Create identical output when passing
5351 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 5352 Stormy16 target.
36a22261 5353
92b8ae91
MK
53542001-10-28 Mark Kettenis <kettenis@gnu.org>
5355
5356 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
5357 that we catch the expected failure under Linux/x86.
5358
cb135b83
OF
53592001-10-29 Orjan Friberg <orjanf@axis.com>
5360
5361 * gdb.base/setvar.exp: Escape curly braces.
5362 * gdb.stabs/weird.exp: Ditto.
5363
6884aa54
DJ
53642001-10-27 Daniel Jacobowitz <drow@mvista.com>
5365
5366 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
5367 * gdm.mi/mi0-hack-cli.exp: Likewise.
5368
0398c9aa
AC
53692001-10-25 Andrew Cagney <ac131313@redhat.com>
5370
5371 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
5372 messages.
5373
d20bf2e8
AC
53742001-10-21 Andrew Cagney <ac131313@redhat.com>
5375
5376 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
5377 checking MI enabled.
5378
03dd63aa
CV
53792001-10-09 Corinna Vinschen <vinschen@redhat.com>
5380
5381 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
5382
1d9d99f3
FCE
53832001-10-04 Frank Ch. Eigler <fche@redhat.com>
5384
5385 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
5386 if gdb child process crashes, just signal an error.
5387
838ae6c4
JB
53882001-10-02 Jim Blandy <jimb@redhat.com>
5389
5390 * lib/gdb.exp (test_xfail_format): Simplify.
5391
5392 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
5393 front of the variable name `format'. Simplify `if'.
5394
8f0cbc1c
DJ
53952001-10-01 Daniel Jacobowitz <drow@mvista.com>
5396
5397 * gdb.threads/pthreads.exp: Wait for output and delay
5398 before sending ^C.
5399
1f08dafd
DJ
54002001-10-01 Daniel Jacobowitz <drow@mvista.com>
5401
5402 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
5403 some incorrect output instead of timing out.
5404 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
5405
674f90ff
CV
54062001-09-28 Corinna Vinschen <vinschen@redhat.com>
5407
5408 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
5409 check to allow additional `int'.
5410
9b284272
DJ
54112001-09-27 Daniel Jacobowitz <drow@mvista.com>
5412
5413 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
5414 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
5415
b55a4771
MS
54162001-09-27 Michael Snyder <msnyder@redhat.com>
5417
5418 * lib/gdb.exp (test_debug_format): New proc.
5419 (setup_xfail_format): Use new proc test_debug_format.
5420 * gdb.base/constvars.exp (local_compiler_xfail_check): New
5421 proc; use new service proc test_debug_format.
5422 Replace all other "gcc_compiled" tests with this test.
5423 * gdb.base/volatile.exp (local_compiler_xfail_check): New
5424 proc; use new service proc test_debug_format.
5425 Replace all other "gcc_compiled" tests with this test.
5426
54272001-09-27 Michael Snyder <msnyder@redhat.com>
5428
5429 * gdb.base/cvexpr.exp: New file.
5430 * gdb.base/cvexpr.c: New file
5431 Test for expressions using const and volatile keywords.
5432
4e6667ac
CV
54332001-09-26 Corinna Vinschen <vinschen@redhat.com>
5434
5435 * gdb.base/constvars.exp: Check for different orders of keywords
5436 and additional "int" strings in output.
5437
4f337972
AC
54382001-09-22 Andrew Cagney <ac131313@redhat.com>
5439
5440 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
5441 responses from "help maint".
5442
2015650d
FCE
54432001-09-19 Frank Ch. Eigler <fche@redhat.com>
5444
5445 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
5446 to localhost:NNN instead of :NNN, in case Xvfb is listening
5447 only on TCP.
5448
f3bcedc1
CV
54492001-09-19 Corinna Vinschen <vinschen@redhat.com>
5450
5451 * gdb.base/recurse.exp: When checking leaving the watchpoint
5452 scope, recognize when gdb is in function's epilogue and pass.
5453
6b819c92
KS
54542001-09-18 Keith Seitz <keiths@redhat.com>
5455
5456 * lib/insight-support.exp (_gdbtk_export_target_info): Add
5457 support for running tests against sid targets.
5458 (gdbtk_done): Ditto.
5459
a10c9419
CV
54602001-09-18 Corinna Vinschen <vinschen@redhat.com>
5461
5462 * gdb.base/ending-run.c (main): Set stdout buffersize
5463 to the same reasonable value for any target.
5464 * gdb.base/ending-run.exp: Add a regular expression
5465 to make testsuite happy on Sanyo Stormy16 target.
5466
739d0d99
CV
54672001-09-17 Corinna Vinschen <vinschen@redhat.com>
5468
5469 * gdb.base/display.c (do_loops): Add float variable `f'.
5470 Increment f in loop.
5471 * gdb.base/display.exp: Increment timeout by 60 seconds.
5472 Change float display test to use variable `f'.
5473
1b8947f0
JB
54742001-09-17 Jim Blandy <jimb@redhat.com>
5475
5476 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
5477 overflowing the limited breakpoint tables on some ROM monitors
5478 (like the ROM68K).
5479
9890ac81
FCE
54802001-09-15 Frank Ch. Eigler <fche@redhat.com>
5481
5482 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
5483 the "-ac" (disable access control) flag.
5484
6db765ea
JH
54852001-08-30 Jeff Holcomb <jeffh@redhat.com>
5486
5487 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
5488 ints.
5489
4c32cc04
KS
54902001-08-30 Keith Seitz <keiths@redhat.com>
5491
5492 * lib/gdb.exp: Move all insight-related functionality into
5493 separate file.
5494 * lib/insight-support.exp: New file.
5495
8d6e6f81
FCE
54962001-08-29 Frank Ch. Eigler <fche@redhat.com>
5497
5498 * config/sid.exp (sid_start): Never set sid verbosity; disable
5499 expect_background {} that consumed its stdout; tolerate </dev/null.
5500 Attempt to set endianness override in "sid" protocol mode. Cleanup.
5501
6a90e1d0
AC
55022001-08-18 Andrew Cagney <ac131313@redhat.com>
5503
5504 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
5505 CLI jump command to start it.
5506 (mi_run_to_main): Fail immediatly when unexpected output.
5507
1759b3c3
AC
55082001-08-18 Andrew Cagney <ac131313@redhat.com>
5509
5510 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
5511 beginning of function. Fix PR gdb/191.
5512
61d11d80
FCE
55132001-08-16 Frank Ch. Eigler <fche@redhat.com>
5514
5515 * config/sid.exp (sid_start): Don't warn if we cannot figure out
5516 what to force sid endianness to.
5517
942a4df2
KS
55182001-08-15 Keith Seitz <keiths@redhat.com>
5519
5520 * lib/gdb.exp (gdbtk_start): Don't set environment
5521 variables for TCL_LIBRARY and friends. Insight will
5522 now figure these out for itself.
5523
0521c418
MS
55242001-08-02 Michael Snyder <msnyder@redhat.com>
5525
5526 * gdb.base/completion.exp: Remove the symbol "a64l" from
5527 the expect string; this is target-specific, and not related
5528 to what is being tested.
5529
74a9a58a
DB
55302001-08-02 Dave Brolley <brolley@redhat.com>
5531
5532 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
5533
c70819fa
MS
55342001-07-25 Michael Snyder <msnyder@redhat.com>
5535
c2b8fa57
MS
5536 * gdb.base/consecutive.exp: New file. Test stepping over
5537 breakpoints on consecutive instructions.
5538 * gdb.base/consecutive.c: New file.
5539
c70819fa
MS
5540 * gdb.base/call-rt-st.exp: Use double-backslash to quote
5541 curly braces in regular expressions.
5542
2b1a1355
MS
55432001-07-25 Michael Snyder <msnyder@redhat.com>
5544
5545 * gdb.base/ending-run.exp: Accept "Program exited normally" as
5546 legitimate output from stepping out of main.
5547
413eca6f
KS
55482001-07-22 Keith Seitz <keiths@redhat.com>
5549
5550 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
5551 the empty string, do not run the tests.
5552
7e5a9322
SC
55532001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5554
5555 * gdb.base/long_long.exp: Detect size of pointer. Take into
5556 account 2-byte pointers when testing for p/a results.
5557
de58f10f
SC
55582001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5559
d63a86f8 5560 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
5561 and defined to 1K for m68hc11.
5562 (random_data): Reduce table to 1K for embedded platforms (68hc11).
5563 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
5564 (sizeof_random_data): New variable to tell the size of the data table;
5565 don't test past this size; always run to main.
5566
d6f5fea1
SC
55672001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5568
5569 * gdb.base/return2.exp: return of long long and double fails for
5570 68HC11; don't execute these tests on that platform.
5571 * gdb.base/return.exp: Return of a double fails for 68hc11.
5572
c477543d
SC
55732001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
5574
5575 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
5576 tests that print a float.
5577 * call-rt-st.exp: Likewise.
5578
63cf1c79
MK
55792001-07-12 Mark Kettenis <kettenis@gnu.org>
5580
5581 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
5582 running this test on Linux.
5583
112f9ab5
MC
55842001-06-24 Michael Chastain <chastain@redhat.com>
5585
5586 * gdb.base/arithmet.exp: Remove some tests to make all test names
5587 unique.
5588
4970cb0f
MS
55892001-07-03 Michael Snyder <msnyder@redhat.com>
5590
5591 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
5592 the output of the ptype command.
5593
d85da69f
MS
55942001-07-02 Michael Snyder <msnyder@redhat.com>
5595
4c8a82de
MS
5596 * gdb.base/completion.exp: Don't assume that break.c is the only
5597 source file that may contain functions named "marker".
d85da69f
MS
5598 * gdb.base/corefile.exp: Quote the curly braces in regexp.
5599
8afc772b
AC
56002001-06-28 Andrew Cagney <ac131313@redhat.com>
5601
5602 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
5603 of files to delete.
5604
5605 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
5606 * gdb.disasm/h8300s.exp: New file.
5607 gdb.disasm/h8300s.s: Likewise.
5608
cff22675
AC
56092001-06-27 Andrew Cagney <ac131313@redhat.com>
5610
5611 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
5612 empty breakpoint tables.
5613
68c81b54
AC
56142001-06-25 Andrew Cagney <ac131313@redhat.com>
5615
5616 * lib/mi-support.exp: Update args=... part of stop-reason
5617 patterns. Accept either a list or a tuple.
5618
2dd62704
AC
56192001-06-23 Andrew Cagney <ac131313@redhat.com>
5620
5621 * lib/mi-support.exp: Remove local emacs variable defining
5622 change-log-default-name.
5623
b4127474
MC
56242001-06-22 Michael Chastain <chastain@redhat.com>
5625
5626 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
5627 This is operationally compatible with the previous version.
5628
8dbfb380
JB
56292001-06-13 Jim Blandy <jimb@redhat.com>
5630
5631 * lib/gdb.exp (gdb_test): Doc fix.
5632
f2d8c86d
MC
56332001-06-10 Michael Chastain <chastain@redhat.com>
5634
5635 * gdb.base/exprs.exp: Remove a duplicate test.
5636
81564d34
JB
56372001-06-06 Jim Blandy <jimb@redhat.com>
5638
5639 * gdb.base/return2.exp (main): Use values to test float and double
5640 returns that are not NaN's, to avoid being confused by IEEE
5641 comparison rules.
5642
da55addb
MS
56432001-06-04 Michael Snyder <msnyder@redhat.com>
5644
5645 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 5646 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
5647 rather than wait for 12 more tests to time out.
5648
42c65987
JB
56492001-06-06 Jim Blandy <jimb@redhat.com>
5650
b18bced9 5651 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 5652 Don't forget to match the GDB prompt.
b18bced9 5653
42c65987
JB
5654 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
5655
5b41e5f0
JB
56562001-06-04 Jim Blandy <jimb@redhat.com>
5657
5658 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
5659 command.
5660
015e046f
KB
56612001-05-31 Kevin Buettner <kevinb@redhat.com>
5662
5663 * gdb.base/annota1.exp (info break): Match four or more spaces
5664 after "Address".
5665
fb1ffbbe
MC
56662001-05-31 Michael Chastain <chastain@redhat.com>
5667
5668 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
5669 (dm_type_int_star): Likewise.
5670 (dm_type_long_star): Likewise.
5671 (dm_type_void_star): Likewise.
5672
5ea2a32c
KB
56732001-05-29 Kevin Buettner <kevinb@redhat.com>
5674
5675 * gdb.base/completion.exp (INPUTRC): Set this environment variable
5676 to a known value in order to get consistent results regardless
5677 of the setting of INPUTRC or the presence or contents of .inputrc.
5678
ae23c492
MS
56792001-05-24 Michael Snyder <msnyder@redhat.com>
5680
ac55707e
MS
5681 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
5682 Don't require that the main thread and the manager thread are the
5683 first in the list.
5684
ae23c492
MS
5685 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
5686 debugging. If test fails, issue an "unsupported" not a "fail".
5687
400071f1
JB
56882001-05-24 Jim Blandy <jimb@redhat.com>
5689
5690 Don't assume that short is shorter than int.
5691 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
5692 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 5693 this isn't true.
400071f1
JB
5694 ("print unsigned char == (~0)"): Add test that verifies that ~0,
5695 an int, is not equal to ~0 stored in an unsigned char. This tests
5696 the same thing that the previous test meant to, but works on
5697 16-bit machines, too.
5698 ("print unsigned char != (~0)"): Same test, complemented.
5699
0816a3e5
MS
57002001-05-24 Michael Snyder <msnyder@redhat.com>
5701
5702 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 5703 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
5704 and prevents dejagnu getting out of step.
5705
f6dc23a9
KB
57062001-05-23 Kevin Buettner <kevinb@redhat.com>
5707
5708 * gdb.base/finish.exp (finish_void): Revise pattern for
5709 stopping on the call statement to not permit stopping at
5710 the start of the instructions comprising the call sequence.
5711
7dbd117d
MC
57122001-05-19 Michael Chastain <chastain@redhat.com>
5713
5714 * gdb.base/callfuncs.exp: Make all test names unique.
5715 * gdb.base/commands.exp: Make all test names unique.
5716 * gdb.base/condbreak.exp: Make all test names unique.
5717 * gdb.base/dbx.exp: Make all test names unique.
5718 * gdb.base/default.exp: Make all test names unique.
5719 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
5720 and TIMEOUT messages to their corresponding PASS message.
5721 * gdb.base/ending-run.exp: Make all test names unique.
5722 * gdb.base/long_long.exp: Remove duplicate test.
5723
6b0b0a9e
KB
57242001-05-21 Kevin Buettner <kevinb@redhat.com>
5725
5726 * gdb.base/finish.exp (finish_void): Allow "finish" command to
5727 stop on the call statement as well as the statement after the
5728 call.
5729
2caa35cb
MS
57302001-05-21 Michael Snyder <msnyder@redhat.com>
5731
5732 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
5733
40713331
EZ
57342001-05-10 Elena Zannoni <ezannoni@redhat.com>
5735
5736 * gdb.base/completion.exp: Revamp test. Make it execute on all
5737 platforms.
5738
c2c1be8d
EZ
57392001-05-10 Elena Zannoni <ezannoni@redhat.com>
5740
2c9cd303
EZ
5741 * config/gdbserver.exp (gdb_load): Handle the case
5742 in which the arguments to gdbserver are given in the
5743 baseboard configuration file.
5744 Also handle the case in which the server needs to do a
5745 load.
5746
9671de48
KS
57472001-05-07 Keith Seitz <keiths@cygnus.com>
5748
5749 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
5750 set up the display for testing.
5751 (gdbtk_start): Convert all paths to paths that tcl will like.
5752 Export target information to environment.
5753 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
5754 necessary.
5755 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
5756 (to_tcl_path): New proc to convert a given pathname into
5757 a path acceptible as an argument to a tcl command.
5758 (_gdbtk_export_target_info): New proc to export target info
5759 into the environment for gdbtk testing.
5760 (gdbtk_done): New proc to signal end-of-test.
5761
5a360f47
JB
57622001-05-06 Jim Blandy <jimb@redhat.com>
5763
5764 * restore.c: Make the code of caller0 correspond to its comment.
5765
66c756c6
MS
57662001-05-03 Michael Snyder <msnyder@redhat.com>
5767
5768 * config/sid.exp (gdb_target_sid): Check for error messages.
5769 On error or timeout, don't make expect exit (which will terminate
5770 all subsequent tests); instead just make gdb exit.
d63a86f8 5771 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
5772 return a negative value.
5773
a966fde5
JB
57742001-04-24 Jim Blandy <jimb@redhat.com>
5775
851c18e0
JB
5776 * gdb.c++/templates.exp: If we see the prompt for the overload
5777 list, but we haven't recognized any of the longer patterns,
5778 arrange for this test to fail, not hang.
5779
a966fde5
JB
5780 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
5781 variations.
5782
db144853
MC
57832001-04-22 Michael Chastain <chastain@redhat.com>
5784
5785 * gdb.c++/local.exp: Use the 'runto' library function.
5786 * gdb.c++/namespace.exp: Likewise.
5787 * gdb.c++/overload.exp: Likewise.
5788
3207ec21
KB
57892001-03-26 Kevin Buettner <kevinb@redhat.com>
5790
5791 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
5792 * gdb.base/step-line.exp: New file. Test step/next in presence of
5793 #line directives.
5794 * gdb.base/step-line.c: New file. Test program for the above.
5795 * gdb.base/step-line.inp: New file. We pretend that this file has
5796 been transformed by some other tool into step-line.c.
5797
13b57657
JB
57982001-03-21 Jim Blandy <jimb@redhat.com>
5799
5800 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
5801 unmangled operator names.
5802
754cbe1c
JB
58032001-03-20 Jim Blandy <jimb@redhat.com>
5804
5805 * gdb.threads/linux-dp.exp: Recognize an additional message
5806 generated by GDB when it doesn't understand how to debug threads
5807 on the target system.
5808
177495c9
AC
58092001-03-19 Andrew Cagney <ac131313@redhat.com>
5810
5811 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
5812
f266096b
MC
58132001-03-12 Michael Chastain <chastain@redhat.com>
5814
5815 * gdb.c++/derivation.exp: Use the 'runto' library function.
5816
cac3c2ff
MC
58172001-03-12 Michael Chastain <chastain@redhat.com>
5818
5819 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
5820
b6c11a24
MC
58212001-02-24 Michael Chastain <chastain@redhat.com>
5822
5823 * gdb.c++/ref-types.exp: Change handwritten code to library
5824 function 'runto'.
5825
6bae5bce
OF
58262001-03-16 Orjan Friberg <orjanf@axis.com>
5827
5828 * gdb.base/signals.exp: Set count to 0 explicitly.
5829
0015fd9a
MS
58302001-03-15 Mark Salter <msalter@redhat.com>
5831
5832 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
5833 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
5834 (gdb_load): Add support for additional target_info: gdb_download_size
5835 and gdb_load_timeout.
0015fd9a 5836
fc33412a
DT
5837Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
5838
5839 * gdb.base/annota1.exp: Move test of isnative to earlier in the
5840 file -- to prevent failing when the compile fails but we have no
5841 intention of running the tests anyway.
5842
5843 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
5844 tests if set.
5845
5846 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
5847 integers.
5848
5849 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
5850 * gdb.c++/namespace.exp: Ditto.
5851
115f06de
OF
58522001-03-07 Orjan Friberg <orjanf@axis.com>
5853
5854 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
5855 * gdb.base/pointers.exp: Relax pattern match of decimals.
5856
b6ba6518
KB
58572001-03-06 Kevin Buettner <kevinb@redhat.com>
5858
5859 * Makefile.in, config/abug.exp, config/cfdbug.exp,
5860 config/cpu32bug.exp, config/dve.exp, config/est.exp,
5861 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
5862 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
5863 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
5864 config/sh.exp, config/sid.exp, config/slite.exp,
5865 config/sparclet.exp, config/udi.exp, config/unknown.exp,
5866 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
5867 config/vxworks.exp, config/vxworks29k.exp,
5868 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
5869 gdb.base/all-bin.exp, gdb.base/annota1.exp,
5870 gdb.base/arithmet.exp, gdb.base/assign.exp,
5871 gdb.base/async.exp, gdb.base/attach.exp,
5872 gdb.base/bitfields.exp, gdb.base/bitops.exp,
5873 gdb.base/break.exp, gdb.base/call-ar-st.exp,
5874 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
5875 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
5876 gdb.base/commands.exp, gdb.base/completion.exp,
5877 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
5878 gdb.base/constvars.exp, gdb.base/corefile.exp,
5879 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
5880 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
5881 gdb.base/ending-run.exp, gdb.base/environ.exp,
5882 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
5883 gdb.base/finish.exp, gdb.base/foll-exec.exp,
5884 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
5885 gdb.base/funcargs.exp, gdb.base/help.exp,
5886 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
5887 gdb.base/logical.exp, gdb.base/long_long.exp,
5888 gdb.base/maint.exp, gdb.base/mips_pro.exp,
5889 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
5890 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
5891 gdb.base/pointers.exp, gdb.base/printcmds.exp,
5892 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
5893 gdb.base/regs.exp, gdb.base/relational.exp,
5894 gdb.base/remote.exp, gdb.base/reread.exp,
5895 gdb.base/restore.exp, gdb.base/return2.exp,
5896 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
5897 gdb.base/selftest.exp, gdb.base/setshow.exp,
5898 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
5899 gdb.base/sigall.exp, gdb.base/signals.exp,
5900 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
5901 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
5902 gdb.base/step-test.exp, gdb.base/structs.c,
5903 gdb.base/structs.exp, gdb.base/structs2.exp,
5904 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
5905 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
5906 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
5907 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
5908 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
5909 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
5910 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
5911 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
5912 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
5913 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
5914 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
5915 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
5916 gdb.fortran/types.exp, gdb.java/jmisc.exp,
5917 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
5918 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
5919 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5920 gdb.trace/circ.exp, gdb.trace/collection.exp,
5921 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5922 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5923 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
5924 gdb.trace/report.exp, gdb.trace/save-trace.exp,
5925 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5926 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
5927 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
5928 notices.
5929
dc96c6c7 59302001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
5931
5932 * gdb.base/varargs.c (find_max_double): Fix printf format string:
5933 first arg is int not float.
5934
dc96c6c7 59352001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
5936
5937 * gdb.base/reread.exp: Unsupported for non-native targets;
5938 doesn't work for remote debugging.
5939
9b0c4aeb
FN
59402001-02-19 Fernando Nasser <fnasser@redhat.com>
5941
5942 From Drew Moseley <dmoseley@redhat.com>
5943 * gdb.base/ending-run.exp: Properly handle the BSP state when
5944 stepping past the end of main.
5945
02aa71d5
MC
59462001-02-19 John Moore <jmoore@redhat.com>
5947
5948 * gdb.base/commands.exp (infrun_breakpoint_command_test):
5949 Converted HPUX fix for non-expected items following multiple
5950 step commands into general solution for all platforms.
5951
1fa449a4
MC
59522001-02-18 Michael Chastain <chastain@redhat.com>
5953
5954 * gdb.c++/classes.exp (do_tests): Change runto statements
5955 from "runto 'foo(void)'" to "runto 'foo'". This makes the
5956 statements demangler agnostic.
5957 * gdb.c++/virtfunc.exp (do_tests): Likewise.
5958 (gdb_virtfunc_restart): Likewise.
5959
b2f9ec70
MC
59602001-02-14 Michael Chastain <chastain@redhat.com>
5961
5962 * gdb.c++/inherit.exp (do_tests): Change runto statements
5963 from "runto 'foo(void)'" to "runto 'foo'". This makes the
5964 statements demangler agnostic.
5965
cf74b8ca
AC
5966Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
5967
5968 * gdb.threads/pthreads.exp: Unify pass/fail messages for
5969 ``continue to bkpt at common_routine in thread 2'' and ``stopped
5970 before calling common_routine 15 times'' tests.
5971
99f78f56
MC
59722001-02-11 Michael Chastain <chastain@redhat.com>
5973
5974 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
5975 Helps the test script figure out which demangler is in use.
5976 (dm_type_foo_ref): Ditto.
5977 (dm_type_int_star): Ditto.
5978 (dm_type_long_star): Ditto.
5979 (dm_type_unsigned_int): Ditto.
5980 (dm_type_void): Ditto.
5981 (dm_type_void_star): Ditto.
99707966 5982 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
5983 Probe the gdb demangler and set variables to accommodate
5984 formatting differences.
5985 (info_func_regexp): New function. Same as info_func, but
5986 matches against a regexp.
5987 (info_func): Match against a literal string.
5988 (print_addr_2): New function. Match against a literal string,
5989 which can be different from the input to gdb.
5990 (print_addr): Simply call print_addr_2 with the same argument twice.
5991 (test_lookup_operator_functions): Use demangler formatting variables.
5992 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
5993 the tests in the same order as the C++ class declaration.
5994 (test_paddr_operator_functions): Ditto.
5995 (test_paddr_overloaded_functions): Ditto.
5996 (test_paddr_hairy_functions): Use demangler formatting variables.
5997 Add reference to gdb/19 for related tests.
5998 (do_tests): Call probe_demangler.
5999
1de8f023
KB
60002001-01-30 Kevin Buettner <kevinb@redhat.com>
6001
6002 * gdb.c++/templates.cc (printf): Remove unused function definition.
6003
ca3f91ed
MS
60042001-01-26 Felix Lee <flee@redhat.com>
6005
6006 * sid.exp (sid_exit): Pass host, not target, to remote_close.
6007
60082001-01-25 matthew green <mrg@redhat.com>
6009
6010 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
6011 up sid.
6012 (sid_exit): Call `remote_pop_conn' after GDB is gone.
6013
60142001-01-25 matthew green <mrg@redhat.com>
6015
6016 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 6017 Deprecate $sid_spawn_id.
ca3f91ed
MS
6018 (sid_exit): Remove code necessary only for `spawn.'
6019
60202001-01-25 matthew green <mrg@redhat.com>
6021
6022 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
6023
fb18ec4a
MC
60242001-01-28 Michael Chastain <chastain@redhat.com>
6025
6026 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
6027 to call when tests fail. It takes gdb out of the overloaded
6028 function choice menu back to the main prompt, so that the test
6029 program stays synchronized.
6030 (set_bp_overloaded): New proc to collect all the common
6031 code for setting a breakpoint on an overloaded name. Calls
6032 take_gdb_out_of_choice_menu when needed.
6033 (menu_overload1arg): New variable to collect the repeated
6034 instances of the expected menu for an overloaded name. Change
6035 the regular expression to handle changes in g++ type encoding:
6036 "void" can be either "void" or "", and "unsigned int" can be
6037 either "unsigned int" or "unsigned".
6038 (continue_to_bp_overloaded): Change regular expressions to handle
6039 changes in g++ type encoding.
6040 (no proc): Call take_gdb_out_of_choice_menu when needed.
6041 Remove redundant calls to "info break". Accept either "canceled"
6042 or "cancelled". Change regular expressions in "info break"
6043 calls to handle changes in g++ type encoding. Give all tests
6044 unique strings.
6045
9c646a6e
BE
60462001-01-17 Ben Elliston <bje@redhat.com>
6047
6048 * config/sid.exp: New file.
6049
9549d9c1
AC
6050Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
6051
6052 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
6053
dc96c6c7 60542000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
6055
6056 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
6057 Add a RE to accept a non-ascii char if one is ever presented.
6058
b4df4f68
FN
60592000-12-20 Fernando Nasser <fnasser@redhat.com>
6060
297dd0fd 6061 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 6062
dc96c6c7 60632000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 6064
d63a86f8 6065 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
6066 in regexp. One '\' does not suffice on Linux.
6067
4a7bddb6
MC
60682000-12-09 Michael Chastain <chastain@redhat.com>
6069
6070 * gdb.base/break.exp (test_clear_command): Use a marker function
6071 rather than 'main' for the test function. Also move this
6072 test to an execution point where the marker function names are
6073 guaranteed to be bound to functions. (Executing tests after a
6074 'finish' from main runs into name conflicts with local names
6075 in __libc_start_main).
6076
dc96c6c7 60772000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
6078
6079 * gdb.base/finish.exp: New test for gdb's "finish" command.
6080 * gdb.base/return2.exp: New test for gdb's "return" command.
6081 * gdb.base/return2.c: New source file for above.
6082
dc96c6c7 60832000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
6084
6085 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
6086 * gdb.base/miscexprs.exp: Ditto.
6087 * gdb.base/pointers.exp: Ditto.
6088 * gdb.c++/derivation.exp: Ditto.
6089 * gdb.c++/local.exp: Ditto.
6090 * gdb.c++/namespace.exp: Ditto.
6091 * gdb.c++/overload.exp: Ditto.
6092 * gdb.c++/ref-types.exp: Ditto.
6093
dc96c6c7 60942000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
6095
6096 * gdb.base/constvars.exp: Test result of "up" command.
6097 * gdb.base/miscexprs.exp: Ditto.
6098 * gdb.base/pointers.exp: Ditto.
6099 * gdb.base/scope.exp: Ditto.
6100 * gdb.c++/derivation.exp: Ditto.
6101 * gdb.c++/local.exp: Ditto.
6102 * gdb.c++/namespace.exp: Ditto.
6103 * gdb.c++/overload.exp: Ditto.
6104 * gdb.c++/ref-types.exp: Ditto.
6105
44097287
FN
61062000-11-22 Michael Chastain <chastain@redhat.com>
6107
6108 * mips_pro.exp: Accept either "middle -> top -> main" or
6109 "middle -> main" in the backtrace, because gcc can optimize
6110 tail calls to jumps. Remove setup_xfail for the hppa case.
6111 Add a comment with the original warning messages from PR 3016,
6112 which was filed in 1993, to preserve them for posterity.
6113
9d2e1bab
ND
61142000-11-17 Nick Duffek <nsd@redhat.com>
6115
6116 * lib/gdb.exp (gdb_test): Override timeout with board info.
6117
1aca8eb7
ND
61182000-11-17 Nick Duffek <nsd@redhat.com>
6119
6120 * gdb.base/display.exp: Don't kill running stub. Add "again" to
6121 the second kill and detach messages.
6122
93076499
ND
61232000-11-17 Nick Duffek <nsd@redhat.com>
6124
6125 * configure.in: Add AC_EXEEXT.
6126 * configure: Regenerate.
6127 * Makefile.in (just-check): Export EXEEXT.
6128 * lib/gdb.exp ($EXEEXT): Import from environment.
6129 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
6130 expect "maint dump-me" on Cygwin.
6131 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
6132 $EXEEXT.
6133
30e87cd3
ND
61342000-11-17 Nick Duffek <nsd@redhat.com>
6135
6136 * gdb.base/break.exp: Test backtrace and finish from called
6137 function on all platforms, not just HP-UX.
6138
dc96c6c7 61392000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
6140
6141 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
6142 code from gdb_target_monitor, so it can be used independantly
6143 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 6144
dc96c6c7 61452000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
6146
6147 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
6148 * gdb.base/corefile.exp: Expect the message "Program is being
6149 debugged already" when we send the "corefile" command, since
6150 the preceeding gdb_load may have connected gdb to a remote target.
6151 * gdb.base/display.exp: Disable hardware watchpoints if new
6152 board info variable "no_hardware_watchpoints" is true.
6153 Replace single-letter commands with more readable ones.
6154 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
6155 if new board info variable "no_hardware_watchpoints" is true.
6156 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
6157 to see if stdio (printf) testing is possible.
6158 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
6159 board info variable "no_hardware_watchpoints" is true. Use new
6160 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
6161
39124dea
FN
61622000-11-13 Fernando Nasser <fnasser@redhat.com>
6163
6164 From Orjan Friberg <orjanf@axis.com>:
6165 * gdb.base/printcmds.exp: Escape curly braces followed by a number
6166 in array print pattern match.
6167
a9e2e984
FN
61682000-11-09 Fernando Nasser <fnasser@redhat.com>
6169
6170 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
6171 spelling "cancelled" to U.S. spelling "canceled" to match changes
6172 made to gdb.
6173 * gdb.c++/ovldbreak.exp: Ditto.
6174
c7db355b
PS
61752000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6176
6177 * gdb.base/callfuncs.c (main): Moved to end of file, call
6178 t_double_values to initialize the FPU before inferior calls are made.
6179 * gdb.base/callfuncs.exp: Test for register preservation after calling
6180 inferior functions. Add tests for continuining, finishing and
6181 returning from a stop in a call dummy.
6182
dc96c6c7 61832000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
6184
6185 * gdb.base/commands.exp: Break up long lines, and re-indent.
6186
dc96c6c7 61872000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
6188
6189 * config/gdbserver.exp: Rewritten from the ground up, to make it
6190 compatible with the current dejagnu tree, and to make it work with
6191 the new "gdbserver" in libremote.
6192
dc96c6c7 61932000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
6194
6195 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
6196 * gdb.base/varargs.exp: Skip entire test if no printf support.
6197 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
6198 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
6199
dc96c6c7 62002000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
6201
6202 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
6203 no floating point support.
6204 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
6205 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
6206 * gdb.base/call-rt-st.exp: Ditto.
6207 * gdb.base/call-strs.exp: Ditto.
6208
bac5fc66
JG
62092000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
6210
6211 * gdb.base/sizeof.c: include <stdio.h>.
6212
6213 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
6214 'finish', otherwise uncaptured gdb_prompt would potentially
6215 throw remaining test points out of sync.
6216
b22a6027
SB
62172000-07-26 Scott Bambrough <scottb@netwinder.org>
6218
6219 * gdb.base/recurse.exp: Run tests for all targets.
6220 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
6221 gnu-oldld case on ARM.
6222 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
6223 for ARM targets.
d63a86f8 6224
d8231941
AG
6225Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
6226
6227 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
6228 * gdb.java/configure: Rebuild.
6229
8caabe69
AG
6230Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
6231
6232 * gdb.java/jv-exp.exp: New file.
6233
9d273ca3
AG
6234Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
6235
6236 * configure: Rebuilt.
6237 * configure.in (configdirs): Add gdb.java.
6238 * gdb.java/jmisc.java: New file.
6239 * gdb.java/jmisc.exp: New file.
6240 * gdb.java/Makefile.in: New file.
6241 * gdb.java/configure: Rebuilt.
6242 * gdb.java/configure.in: New file.
6243 * lib/java.exp: New file.
6244
4f823a66
AC
6245Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
6246
6247 * gdb.base/exprs.exp: Test casts to a pointer including over and
6248 underflow.
6249
2391e11d
AC
6250Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
6251
6252 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
6253 and the compilers sizes.
6254
54602222
ND
62552000-07-09 Nick Duffek <nsd@redhat.com>
6256
6257 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
6258 (use_methods): New function.
6259 (main): Call use_methods().
6260 * gdb.c++/classes.exp (test_method_param_class): New procedure.
6261 (do_tests): Call test_method_param_class.
6262
2bec0572
ND
62632000-07-09 Nick Duffek <nsd@redhat.com>
6264
6265 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
6266 spelling.
6267 (test_enums): New procedure. Move enum tests from end of script
6268 to here. Set breakpoint on function name instead of line number.
6269 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
6270 (enums2): New marker function.
6271 (enums1): New function.
6272 (main): Call enums1(). Move enum tests to enums1().
6273
78492fde
AC
6274Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
6275
6276 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
6277 compile/link program. Update line numbers.
6278 * gdb.asm/d10v.inc: Define ``startup''.
6279 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 6280
49a2cef8
AC
6281Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
6282
6283 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
6284
3e6c8688
EZ
62852000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6286
6287 * gdb.base/maint.exp: Add 'maint print architecture' item to output
6288 of 'help maint print' command.
6289
9ff5cbe9
AC
6290Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
6291
6292 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
6293 they use gdb_expect_list.
6294
17c579bd
AC
6295Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
6296
6297 * gdb.base/commands.exp: Use ``set remote
6298 memory-read-packet-size'' instead of ``set endian big'' to test
6299 long commands.
6300
e6d71bf3
DB
63012000-06-03 Daniel Berlin <dan@cgsoftware.com>
6302
6303 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 6304 g++, and stop skipping them.
e6d71bf3
DB
6305
6306 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
6307 work under g++.
6308
d63a86f8 6309 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
6310 initialization.
6311
dc96c6c7 63122000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
6313
6314 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
6315 the regular expression: accept an (almost) arbitrary sequence of
6316 "frames-invalid" and "breakpoints-invalid" messages both before
6317 and after the "starting" message.
6318
dc96c6c7 63192000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
6320
6321 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 6322
dc96c6c7 63232000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
6324
6325 * gdb.base/annota1.exp (annotate-signal-handler-caller):
6326 Relax the regular expression a little, make it pass on Solaris 8.
6327
8216cda9
KB
63282000-05-12 Kevin Buettner <kevinb@redhat.com>
6329
6330 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 6331 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
6332 Instead, it is permissible for gdb to stop on the line of the
6333 call itself.
6334
1a570b2f
MS
63352000-05-12 Michael Snyder <msnyder@.cygnus.com>
6336
6337 * gdb.base/break.exp (bp on small function, optimized file):
6338 Add a second pass pattern. The behavior differs here between stabs
6339 and dwarf for one-line functions. Stabs preserves two line symbols
6340 (one before the prologue and one after) with the same line number,
6341 but dwarf regards these as duplicates and discards one of them.
6342 Therefore the address after the prologue (where the breakpoint is)
6343 has no exactly matching line symbol, and GDB reports the breakpoint
6344 as if it were in the middle of a line rather than at the beginning.
6345
dc96c6c7 63462000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 6347
d63a86f8 6348 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
6349 rather than "send_gdb" (for consistancy).
6350
7d418785
AC
6351Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
6352
6353 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
6354 * gdb.c++/templates.cc: Properly check for GCC version number.
6355 * lib/compiler.cc: Likewise
6356
dc96c6c7 63572000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 6358
d63a86f8 6359 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
6360 gdb may not stop at the first line of main, due to code motion.
6361
dc96c6c7 63622000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
6363
6364 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
6365 This test depends on parsing the printf output from the target.
6366 Since the sparclet stub doesn't do stdio, this will never work.
6367 * gdb.base/call-rt-st.exp: ditto.
6368 * gdb.base/call-strs: ditto.
6369
dc96c6c7 63702000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
6371
6372 * gdb.base/miscexprs.exp: make sizeof long array test portable.
6373
6374 * gdb.base/ending-run.exp: After connecting to a remote target,
6375 but before running, the target will appear to be in a random
6376 location. Specify both a file and a line for breakpoints.
6377 Also, the function that calls main may be called 'init'
6378 rather than 'start'.
6379
a5a51225
EZ
63802000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6381
6382 * gdb.base/help.exp: Update output for add-symbol-file command.
6383
7930cc7c
FN
63842000-04-10 Fernando Nasser <fnasser@cygnus.com>
6385
6386 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6387 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
6388
23e37ab1
C
63892000-04-07 J.T. Conklin <jtc@redback.com>
6390
e93c542c
C
6391 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
6392
23e37ab1
C
6393 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
6394
591b8fa3
PDM
6395Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
6396
6397 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
6398 values that can be represented exactly.
6399 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
6400 above change, and to not check against the directory part of the source
6401 file name.
6402 (step into print_long_arg_list): Likewise.
6403 (print print_small_structs from print_long_arg_list): Likewise.
6404 (print print_long_arg_list): Likewise.
6405
7a495180
EZ
64062000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6407
30b53638 6408 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 6409
beb998c6
AC
6410Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
6411
6412 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
6413
1c689132
DB
64142000-03-25 Daniel Berlin <dan@cgsoftware.com>
6415
6416 * gdb.base/commands.exp (deprecated_command_test): Add test for
6417 deprecate with no arguments.
6418
c1790a9d
JL
64192000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
6420
6421 * gdb.base/break.exp: Add new test for setting breakpoints on
6422 optimized code so we can test breakpoints work even when function
6423 prologues may be optimized away
6424
003ba290
FN
64252000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
6426
6427 From David Whedon <dwhedon@gordian.com>
6428 * gdb.base/commands.exp : Added command deprecator tests.
6429
6837a0a2
DB
64302000-03-22 Daniel Berlin <dan@cgsoftware.com>
6431
6432 * gdb.base/help.exp: Added test for new apropos command.
6433
b9593231
KB
64342000-03-21 Kevin Buettner <kevinb@redhat.com>
6435
6436 * gdb.base/pointers.c (usevar): New function.
6437 (main): Make sure that global variables v_int_pointer2, rptr,
6438 and y are all referenced someplace in the program by calling
6439 usevar() on them. [Some linkers delete symbols which are
6440 never referenced. The space remains, but there's no way to
6441 get a (symbolic) handle on the variable from the debugger.]
6442
751a959b
EZ
64432000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6444
6445 * gdb.base/printcmds.c: Add typedeffed arrays.
6446
6447 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
6448 procedure to test arrays that are typedef'd.
6449
73a93a32
JI
64502000-03-13 James Ingham <jingham@leda.cygnus.com>
6451
6452 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 6453 the library directories.
73a93a32 6454
fb40c209
AC
6455Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
6456
6457 * configure.in (configdirs): Add sub directory gdb.mi.
6458 * configure: Re-generate.
6459
6460 * gdb.mi: New directory.
d63a86f8 6461
ee4dd2c9
AC
64622000-02-25 Scott Bambrough <scottb@netwinder.org>
6463
6464 * gdb.base/long_long.exp: Correct test suite failure when printing
6465 a long long value as a double on ARM platforms.
6466
70f0cc22
JB
64672000-02-16 Jim Blandy <jimb@redhat.com>
6468
6469 * gdb.base/break.exp ("breakpoint line number"): Make sure the
6470 default source file is set properly before running this test.
6471
853819b8
EZ
64722000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6473
6474 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
6475 gdbtk/library directory, not in gdbtcl2.
6476
dfcd3bfb
JM
64772000-02-04 Jim Blandy <jimb@redhat.com>
6478
6479 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
6480 backslash from regexp pattern.
6481
6482 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
6483 procedure. Use it to run all the "continue to bp overloaded"
6484 tests. Note that this changes the names of the tests slightly.
6485 If the breakpoint hit message includes a hex PC value, because
6486 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
6487 from the real source code, still consider that a pass.
6488
6489 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
6490 XFAIL here if the breakpoint message contains a hex address. Note
6491 similar change on 1999-11-02.
6492
6493 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
6494
6495 * gdb.base/ptype.exp: Establish a default source file before
6496 calling get_debug_format.
6497
64982000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
6499
6500 * gdb.base/watchpoint.exp: Remove duplication of test messages.
6501
8b93c638
JM
65022000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6503
6504 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
6505 of successive stepi commands -- while in the prologue we should see
6506 the function entry bracket.
6507
65082000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
6509
6510 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
6511 reach __change_mode() when stepping through the end of main().
6512
c5394b80
JM
65132000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
6514
6515 * gdb.base/default.exp: Fix expected pattern.
6516 * gdb.base/help.exp: Same.
6517
0d06e24b
JM
65182000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6519
6520 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
6521 Don't use xfail's because that affects only the following test.
d63a86f8 6522
0d06e24b
JM
6523 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
6524 solaris or linux.
6525
6526 * gdb.base/selftest.exp: Update to reflect changes to main.c.
6527
dc96c6c7 65282000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 6529
d63a86f8 6530 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
6531 "A syntax error" rather than "A parse error". Accept both.
6532
65332000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
6534
6535 * gdb.base/default.exp: Remove OS dependent string from "target
6536 remote" test.
6537 * gdb.base/help.exp: Same for "help target remote" test.
6538
c3f6f71d
JM
65392000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6540
6541 From Jim Kingdon <kingdon@redhat.com>:
6542
6543 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
6544 prompt (cleanup rather than necessity, but still might keep output
6545 from spilling to next test).
6546
65472000-01-02 Fred Fish <fnf@cygnus.com>
6548
6549 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
6550 AIX, which defines them in <sys/types.h>.
6551
ed9a39eb 65521999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 6553
ed9a39eb
JM
6554 * gdb.base/default.exp: Match arm* etc instead of arm in "info
6555 float" test.
6556
65571999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 6558
ed9a39eb 6559 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
6560
6561 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
6562 outermost frame disallowed".
6563
65641999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
6565
6566 * gdb.base/setvar.exp: New tests for setting the value of a struct
6567 with a constant list.
6568
65691999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
6570
6571 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
6572 require the user to type a cast before setting the value of a struct.
6573
de57eccd
JM
65741999-12-06 Jim Blandy <jimb@cygnus.com>
6575
6576 * gdb.base/default.exp: Expect the new 'info float' command on
6577 all i386 platforms.
6578
6579 * gdb.threads/linux-dp.exp: Expand our ability to recognize
6580 LinuxThreads libraries that don't support debugging.
6581
c2d11a7d
JM
6582Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
6583
6584 * gdb.base/remote.c: Fill the buffer with truely random data.
6585 Change the buffer type to ``unsigned char'' to simplify size
6586 arithmetic.
6587
6588 * gdb.base/remote.exp: Reduce download numbers by one. Typical
6589 stub only handles 400-1 byte packets. Verify that the download
6590 worked.
6591
65921999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
6593
6594 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
6595 tests, using UNRESOLVED for the untested cases. Also, does not wait
6596 for a timeout if the prompt was received before a recognizable pattern.
6597
65981999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
6599
6600 * lib/gdb.exp (gdb_expect_list): Fix spelling.
6601
66021999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6603
6604 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
6605 watchpoints.
6606
66071999-11-24 Jason Merrill <jason@casey.cygnus.com>
6608
6609 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
6610
6611 * gdb.c++/local.exp: Be more flexible in recognizing local class
6612 name mangling. Don't allow horribly truncated method names.
6613 * gdb.c++/derivation.exp: Expect protected inheritance.
6614 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
6615 * gdb.c++/virtfunc.exp: Likewise.
6616 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
6617 when printing a nested enum.
6618
66191999-11-22 Jim Blandy <jimb@cygnus.com>
6620
6621 * gdb.base/step-test.exp: Properly await GDB's response to setting
6622 a breakpoint on the call to large_struct_by_value.
6623
6624 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
6625 just because we have debug info for the `start' function.
6626
66271999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
6628
6629 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
6630 "Unknown signal" messages, which indicate (on LinuxThreads) that
6631 GDB doesn't know how to debug threads on this system. This is
6632 better than hanging while philosopher 0 dumps chatter into gdb.log.
6633
66341999-11-18 Tom Tromey <tromey@cygnus.com>
6635
6636 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
6637
66381999-11-18 Fred Fish <fnf@cygnus.com>
6639
6640 * gdb.base/coremaker2.c: Add sample program for generating
6641 cores that is more self contained than coremaker.c. Eventually
6642 I'll add more code to this and tie it into the testsuite.
6643
4ce44c66
JM
66441999-11-12 Stan Shebs <shebs@andros.cygnus.com>
6645
6646 * gdb.base/dollar.exp: Remove, now in gdb.hp.
6647
66481999-11-10 Jimmy Guo <guo@cup.hp.com>
6649
6650 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
6651 from $srcdir/lib/.
6652 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
6653 and gdb.c++/.
6654
6655 * gdb.c++/derivation.exp: remove redundant get compiler info code.
6656
d63a86f8 6657 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
6658 'continue with watch' test point.
6659
66601999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
6661
6662 Merged from p2linux-990323-branch:
d63a86f8 6663
4ce44c66
JM
6664 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
6665
11cf8741
JM
6666Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
6667
6668 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
6669 {limit,fixed}''. Test ``set download-write-size''.
6670
6671Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
6672
6673 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
6674 gdb_expect_list.
6675
6676Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
6677
6678 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
6679
66801999-11-03 Mark Salter <msalter@cygnus.com>
6681
6682 * gdb.base/break.exp: Fix "stub continue" pattern.
6683
66841999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
6685
6686 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
6687
66881999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
6689
6690 * gdb.base/display.exp ("finish"): Add timeout clause.
6691
6692 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
6693 plain prompt clause, so this doesn't have to time out in order to
6694 fail.
6695
6696 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
6697 breakpoint hit messages include an address.
6698
6699 * gdb.base/display.exp: Don't forget to escape parens in regular
6700 expressions. Unix regexp notatation sucks.
6701
67021999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6703
6704 * gdb.base/annota1.exp: Test for annotate-signalled: change output
6705 order for 'signalled' message.
6706
5c44784c
JM
67071999-11-01 Stan Shebs <shebs@andros.cygnus.com>
6708
6709 From Jimmy Guo <guo@cup.hp.com>:
6710 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
6711 * gdb.base/annota1.c: Add code for tests to work with.
6712
67131999-10-26 Frank Ch. Eigler <fche@cygnus.com>
6714
6715 * gdb.base/remote.exp: New test for remote downloading settings.
6716 * gdb.base/remote.c: New file with large .data.
6717
917317f4
JM
67181999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
6719
6720 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
6721 for LinuxThreads support, merged from the Code Fusion branch.
6722
6723Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
6724
6725 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
6726 containing exp_continue into a while within an expect. Don't
6727 attempt a start more than three times. Check return value from
6728 gdb_load.
d63a86f8 6729
2df3850c
JM
6730Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
6731
6732 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
6733 a pass case.
6734
2acceee2
JM
67351999-10-01 Kevin Buettner <kevinb@cygnus.com>
6736
6737 * gdb.base/break.c (main): Added a statement that we can step
6738 off of.
6739 * gdb.base/break.exp: Added tests for setting a breakpoint
6740 at an offset and stepping onto a breakpoint.
6741
67421999-10-01 Fred Fish <fnf@cygnus.com>
6743
d63a86f8 6744 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
6745 gdb output.
6746
c2c6d25f
JM
67471999-09-18 Jim Blandy <jimb@cris.red-bean.com>
6748
6749 * gdb.base/break.exp: Code locations are in hex, don't forget!
6750 (For HP-UX.)
6751
67521999-09-17 Stan Shebs <shebs@andros.cygnus.com>
6753
6754 * condbreak.exp: Use break.c as test program.
6755 * condbreak.c: Remove, redundant with break.c.
6756
67571999-09-15 Stan Shebs <shebs@andros.cygnus.com>
6758
6759 * config/monitor.exp (gdb_target_monitor): Disable X- and
6760 Z-packets if the target needs it.
6761
67621999-09-13 James Ingham <jingham@leda.cygnus.com>
6763
6764 * gdb.c++/overload.exp: Added tests for listing overloaded
6765 functions with function pointers in the arg, explicitly calling
6766 out the version you want.
6767
cff3e48b
JM
67681999-09-09 Stan Shebs <shebs@andros.cygnus.com>
6769
6770 * long_long.exp: Add variations of test cases that work for
6771 targets with 16-bit ints and 32-bit doubles.
6772
d4f3574e
SS
67731999-09-08 Stan Shebs <shebs@andros.cygnus.com>
6774
6775 * break.c (main): Compare a possibly-uninitialized argc with an
6776 unlikely value that fits in 16 bits.
6777
67781999-09-07 Stan Shebs <shebs@andros.cygnus.com>
6779
6780 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
6781 0xfeeb, don't want negative numbers if ints are 16 bits.
6782
6783 * lib/gdb.exp (skip_cplus_tests): New proc.
6784 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
6785 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
6786 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
6787 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
6788 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
6789 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
6790 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
6791 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
6792
6793 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
6794
6795Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
6796
6797 * gdb.base/corefile.exp (up): Allow a parameter to appear
6798 in the frame that we're going up to.
6799
6800 From Jim Blandy <jimb@cygnus.com>:
6801
6802 * gdb.base/default.exp (info float): Expect some output now.
6803
6804 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
6805 returning floating-point values to fail on the x86.
6806 * gdb.base/callfwmall.exp (do_function_calls): Same.
6807
6808 * gdb.base/list.exp (test_listsize): Correct expectations for
6809 listing line 1 with listsize 2. Also, listing a single line
6810 works now, as does listing three lines. [Kevin's note: There
6811 were a number of other cases fixed too where the expectations
6812 differed...]
6813
68141999-09-02 Stan Shebs <shebs@andros.cygnus.com>
6815
6816 * gdb.base/selftest.exp: Add case for when version prints as
6817 constant string instead of char pointer.
6818
104c1213
JM
68191999-08-25 Stan Shebs <shebs@andros.cygnus.com>
6820
6821 * gdb.base/ending-run.exp: Add Solaris case for what happens when
6822 stepping out of main.
6823
6824 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
6825 G++ used.
6826
6827 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
6828 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
6829
6830 * gdb.c++/ovldbreak.exp: Update match string in test that
6831 includes a warning of multiple breakpoints.
6832
68331999-08-24 Stan Shebs <shebs@andros.cygnus.com>
6834
6835 * gdb.base/display.exp: Improve precision of step-after-finish
6836 added yesterday.
6837
6838 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
6839 test.
6840
6841 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
6842 configs when using G++, not just hppa*.
6843
68441999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6845
6846 * gdb.base/async.c: New file.
6847 * gdb.base/async.exp: New file.
6848
6849Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
6850
6851 * gdb.base/break.exp: Tweak PA specific tests to properly handle
6852 PA64.
6853
53a5351d
JM
6854Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
6855
104c1213
JM
6856 * gdb.base/display.exp: "finish" can leave us mid-line on many
6857 targets, deal with it. Add a small constant to main, instead of
6858 1000 since main+1000 may not be a valid address in the target.
6859
53a5351d
JM
6860 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
6861 on hpux11.
6862
6863 * gdb.base/attach.exp: Handle another hpux11 error message variant
6864 when attaching to a process that does not exist.
6865
68661999-08-19 J.T. Conklin <jtc@redback.com>
6867
6868 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
6869 characters in 'continue to 1241' test.
6870
68711999-08-17 Stan Shebs <shebs@andros.cygnus.com>
6872
6873 * gdb.base/call-ar-st.exp: Add a shorter match case for the
6874 stop in print_long_arg_list, define and use a whitespace
6875 variable in print_small_structs test, add an XFAIL for Solaris.
6876 * gdb.base/dbx.exp: XFAIL func commands until somebody is
6877 interested enough to fix.
6878
7be570e7
JM
68791999-08-13 Keith Seitz <keiths@cygnus.com>
6880
6881 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
6882 (dbx_gdb_load): Remove. Use gdb_load instead, since that
6883 proc knows about targets other than the natives.
6884 (test_assign): Use "gdb_run_cmd" to "run" the target.
6885 Check that we've actually hit the breakpoint at main.
6886 When we attempt to assign a value to a local variable, check
6887 that the variable is in the current scope, i.e., don't use
6888 a test with an empty result.
6889
6890Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
6891
6892 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
6893 command.
6894
68951999-08-09 Stan Shebs <shebs@andros.cygnus.com>
6896
6897 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6898 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
6899 gdb.compat, gdb.threads-hp.
6900 gdb.hp/configure, gdb.hp/configure.in: New files.
6901 gdb.hp/Makefile.in: Recurse into new subdirs.
6902 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
6903 gdb.hp/gdb.objdbg: New directory, tests for debugging info
6904 in object files.
6905 gdb.hp/tools: New directory, aux tools for HP-specific tests.
6906
96baa820
JM
69071999-08-05 Stan Shebs <shebs@andros.cygnus.com>
6908
6909 * gdb.base/display.exp: Help expect by putting a newline in the
6910 funky printf, remove a bogus p/a test.
6911
69121999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6913
6914 * gdb.base/display.exp: Make sure that when we say 'run', we are
6915 connected to the target. This is necessary when running not
6916 natively.
6917
69181999-08-03 Stan Shebs <shebs@andros.cygnus.com>
6919
6920 * gdb.base/step-test.exp: Removed some extraneous messages.
6921
6922 * gdb.base/long_long.exp: Don't run memory examination tests
6923 on little-endian targets (they will need a different set of
6924 results to match).
6925
69261999-08-02 Stan Shebs <shebs@andros.cygnus.com>
6927
6928 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
6929 until somebody decides to fix GDB.
6930
6931 * gdb.base/long_long.c: Stop compiler complaint by specifying long
6932 constant as "ULL".
6933 * gdb.base/long_long.exp: Loosen x/c test, add partial result
6934 matches for a couple x/2 commands.
6935
a0b3c4fd
JM
69361999-07-30 Stan Shebs <shebs@andros.cygnus.com>
6937
6938 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
6939 by merging in ref-types2 tests.
6940 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
6941
6942 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6943 * gdb.c++/Makefile.in: Add standard actions.
6944 (EXECUTABLES): Rename from PROGS, update list.
6945 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
6946 from gdb.hp.
6947 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
6948 foo and bar locals.
6949 * gdb.c++/anon-union.exp: Fix tests to match.
6950 * gdb.c++/classes.exp: Run if HP compiler used, add extra
6951 expect matches to handle output variations.
6952 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
6953 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
6954 output, add HP alternatives for new and delete prints.
6955 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
6956 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
6957 * gdb.c++/demangle.exp: Use $style when reporting failure.
6958 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
6959 * gdb.c++/inherit.exp: Run if HP compiler used, add some
6960 match alternatives.
6961 * gdb.c++/local.exp: Add match alternatives or xfails for HP
6962 compilers.
6963 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
6964 * gdb.c++/method.exp: Add match alternatives.
6965 * gdb.c++/misc.cc: Add bool types.
6966 * gdb.c++/misc.exp: Add tests for bool types.
6967 * gdb.c++/overload.exp: Add xfails.
6968 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
6969 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
6970 add some more template parameter tests (only for HP currently).
6971 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
6972 * gdb.c++/virtfunc.cc: Add return type and value for main.
6973 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
6974 match alternatives.
d63a86f8 6975
a0b3c4fd
JM
69761999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6977
6978 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
6979
69801999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
6981
6982 * gdb.base/signals.exp: Don't expect getting a backtrace from
6983 within a signal handler to fail on Linux.
6984
69851999-07-29 Stan Shebs <shebs@andros.cygnus.com>
6986
6987 From Jimmy Guo <guo@cup.hp.com> and others at HP:
6988 * lib/gdb.exp: Remove some gratuitious semicolons.
6989 (delete_breakpoints): Increase timeout.
6990 (gdb_expect): Add -notransfer option.
6991 (gdb_test): Use -notransfer option.
6992 (get_compiler_info): Add f77 case.
6993 (get_compiler): New proc, split out from gdb_preprocess, add f77
6994 case.
6995 (gdb_preprocess): Call get_compiler.
6996
6997 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
6998 * gdb.base/attach.exp, gdb.base/display.exp,
6999 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
7000 gdb.base/long_long.exp, gdb.base/printcmds.exp,
7001 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
7002 third arg to gdb_test.
7003 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
7004 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
7005 HP-UX xfails, add others.
7006 * gdb.base/completion.exp: Reflect name change of self-test.
7007 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
7008 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
7009 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
7010 HP failure number.
7011 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
7012 useless HP-UX 10.30 references.
7013 * gdb.base/maint.exp: Loosen matches.
7014 * gdb.base/pointers.c (main): Declare more_code.
7015 * gdb.base/pointers.exp: Match on output of a `next'.
7016 * gdb.base/structs.c: Add prototypes.
7017 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
7018 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
7019
70201999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7021
7022 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
7023 command.
7024
70251999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7026
7027 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
7028 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
7029
7030 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
7031 debug info. Deal with lack of signal hanlder info in stack.
7032
7033 From Jim Kingdon <kingdon@redhat.com>:
7034 * gdb.base/annota1.exp: If printf has debug info, deal with it.
7035
5a2468f5
JM
70361999-07-19 Stan Shebs <shebs@andros.cygnus.com>
7037
7038 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
7039 gdb.base/foll-vfork.exp: Don't run for crosses.
7040
adf40b2e
JM
7041Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
7042
7043 * gdb.base/configure.in: Check for gdbvars.exp instead of
7044 a1-selftest.exp.
7045 * gdb.base/configure: Re-generate.
7046
70471999-07-12 Stan Shebs <shebs@andros.cygnus.com>
7048
7049 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
7050 in trying to run first and name is too long.
7051
7052 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
7053 pointers2.c and pointers2.exp, respectively.
7054 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
7055 doschk happier.
7056
43e526b9
JM
70571999-07-08 Stan Shebs <shebs@andros.cygnus.com>
7058
7059 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
7060 callfuncs2.c and callfuncs2.exp.
7061
7062 * gdb.base/list.exp: Remove mistaken xfails.
7063 * gdb.base/list0.h: Add optional prototypes.
7064
9846de1b
JM
7065Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
7066
7067 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
7068 calling malloc.
7069 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
7070 * ptype.exp: Move test for get_debug_format to before its first
7071 use.
7072
70731999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7074
7075 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
7076 * gdb.base/annota2.cc, annota2.exp: Move from here.
7077 * gdb.c++/annota2.cc, annota2.exp: To here.
7078 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
7079
43ff13b4
JM
7080Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
7081
7082 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
7083 a consistent format.
7084
085dd6e6
JM
70851999-06-25 Stan Shebs <shebs@andros.cygnus.com>
7086
7087 From Jimmy Guo <guo@cup.hp.com> and others at HP:
7088 * lib/gdb.exp (get_compiler_info): Add detection for assorted
7089 HP compilers, also set the globals $true and $false.
7090
7091 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
7092 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
7093 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
7094 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
7095 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
7096 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
7097 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
7098 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
7099 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
7100 whatis.c} Add C++ compatible function definitions and return
7101 types, add includes for library functions.
7102 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
7103 * gdb.base/step-test.c (myglob): Rename from glob.
7104 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
7105 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
7106 files, move here from gdb.hp.
7107 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
7108 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
7109 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
7110 Adjust line numbers in regexps.
7111
7112 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
7113 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
7114 instead of 0/1.
7115
7116 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
7117 foll-vfork.exp: New files, move here from gdb.hp.
7118 * gdb.base/page.exp: New file, test of pagination command.
7119
7120 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
7121 recursion test.
7122 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
7123
7124 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
7125 gdb.base/solib.exp: Fix compiler invocation process.
7126
7127 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
7128 HP-UX 11, turn off overload resolution explicitly.
7129 * gdb.base/commands.exp: Set argument list explicitly, add
7130 watchpoint test.
7131 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
7132 them work.
7133 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
7134 expressions properly.
7135 * gdb.base/corefile.exp: Loosen the match slightly.
7136 * gdb.base/default.exp: Allow "Error accessing memory" message
7137 also.
7138 * gdb.base/display.exp: Skip over x/0 j if PA64.
7139 * gdb.base/funcargs.exp: Add xfails for HP-UX.
7140 * gdb.base/interrupt.exp: Ditto.
7141 * gdb.base/langs.exp: Add symbolic matches governed by compiler
7142 in use.
7143 * gdb.base/list.exp: Add xfails for HP-UX.
7144 * gdb.base/long_long.exp: Refine some of the numeric matches.
7145 * gdb.base/mips_pro.exp: Xfail on HP-UX.
7146 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
7147 * gdb.base/nodebug.exp: Succeed on more varieties of output.
7148 * gdb.base/opaque.exp: Remove some HP-UX xfails.
7149 * gdb.base/ptype.exp: Succeed on more varieties of output.
7150 * gdb.base/scope.exp: Add xfails for HP-UX.
7151 * gdb.base/sect-cmd.exp: Add more cases.
7152 * gdb.base/setvar.exp: Add xfails for HP-UX.
7153 * gdb.base/shlib-call.exp: Loosen some matches slightly.
7154 * gdb.base/signals.exp: Match on void symbolically.
7155 * gdb.base/step-test.exp: Add case for PA64.
7156 * gdb.base/term.exp: Add exit and restart.
7157 * gdb.base/twice.exp: Clean up after self.
7158 * gdb.base/varargs.exp: Disable overload resolution explicitly.
7159 * gdb.base/whatis.exp: Allow more ways to pass tests.
7160
7161 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
7162 no longer useful.
7163
7164Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
7165
7166 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
7167 list of patterns.
7168 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
7169 print_double_array(double_array)", "continuing to breakpoint
7170 1018", "print print_double_array(array_d)" and "continuing to
7171 1034" tests.
d63a86f8 7172
085dd6e6
JM
71731999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
7174
7175 * Makefile.in: Add empty html and install-html targets.
7176
71771999-06-24 Stan Shebs <shebs@andros.cygnus.com>
7178
7179 * config/mt-*: Remove, these haven't been used since 1996.
7180
71811999-06-22 Stan Shebs <shebs@andros.cygnus.com>
7182
7183 * gdb.base/call-strs.c, gdb.base/ending-run.c,
7184 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
7185 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
7186
9e0b60a8
JM
71871999-06-18 Stan Shebs <shebs@andros.cygnus.com>
7188
7189 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
7190 simpler match case for the ptype of the big class.
7191
71921999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7193
7194 * gdb.exp: Fix test for gdb_prompt existence.
7195
71961999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7197
7198 * gdb.exp (gdb_test): Add fail after calls to perror.
7199
72001999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7201
7202 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
7203
72041999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
7205
7206 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
7207
0f71a2f6
JM
7208Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
7209
7210 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
7211 malloc() is linked in.
7212
72131999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
7214
7215 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
7216 step at end.
7217
7218 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
7219
72201999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
7221
7222 * gdb.java/jv-print.exp: New file. (Our first Java test!)
7223
cce74817
JM
7224Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
7225
7226 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
7227 * gdb.base/mips_pro.exp: Likewise.
7228
72291999-06-02 Keith Seitz <keiths@cygnus.com>
7230
7231 * gdb.c++/templates.cc: Change all "new" operators to throw
7232 an exception.
7233 * gdb.c++/cplusfuncs.cc: Likewise.
7234
7235 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
7236
7237Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
7238
7239 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
7240 * gdb.base/ending-run.exp: When stepping out of main, accept a
7241 step into an arbitrary assembler file.
7242
392a587b
JM
72431999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7244
d63a86f8 7245 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 7246 "breakpoint-invalid" to be printed.
d63a86f8 7247 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
7248 number of "frames-invalid" and "breakpoint-invalid" to be printed.
7249 * gdb.base/annota2.cc: Initialize a.x to 0.
7250
9e086581
JM
72511999-05-17 Keith Seitz <keiths@cygnus.com>
7252
7253 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
7254 when "skip_float_tests" set.
7255 Ditto for "print print_double_array(array_d)", "print print_small_structs",
7256 "print print_ten_doubles", and "step into print_long_arg_list".
7257 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
7258 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
7259 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
7260 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
7261 "skip_float_tests" is set.
7262 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
7263 when "skip_float_tests" set.
d63a86f8 7264
cd0fc7c3
SS
72651999-05-06 Keith Seitz <keiths@cygnus.com>
7266
7267 * gdb.base/annota2.cc: Include stdio.h.
7268
7269Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
7270
7271 * gdb.base/crossload.exp: Remove, this has been disabled ever
7272 since BFD stopped including all targets, and cross-GDB gets
7273 plenty of testing anyway.
7274 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
7275 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
7276 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
7277 * gdb.base/README: Remove, was doc for this.
7278 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
7279 needed.
7280
b83266a0
SS
72811999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7282
7283 * gdb.base/call-ar-st.exp: Fix one regular expression in test
7284 output.
7285
7286 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
7287 * gdb.base/annota2.exp: New file. More annotation tests.
7288 * gdb.base/annota1.c: New file. Source file for annota1.exp.
7289 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
7290
72911999-04-23 Angela Marie Thomas <angela@cygnus.com>
7292
7293 * config/cfdbug.exp: New file.
7294
7a292a7a
SS
72951999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
7296
7297 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
7298 Marcus Daniel's and Dale Hawkins's demangler crashes.
7299
7300 * gdb.c++/demangle.exp (test_gnu_style_demangling,
7301 test_lucid_style_demangling, test_arm_style_demangling,
7302 test_hp_style_demangling): Try Tom Tromey's core-dumping
7303 identifier under each demangling style.
7304
73051999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
7306
7307 * gdb.c++/demangle.exp: Include the current demangling style
7308 in all test names.
7309 (current_demangling_style): New global variable.
7310 (set_demangling_style, test_demangling_core, test_demangling,
7311 test_demangling_exact): New functions.
7312 (test_gnu_style_demangling, test_lucid_style_demangling,
7313 test_arm_style_demangling, test_hp_style_demangling): Use those,
7314 instead of calling gdb_test and gdb_test_exact directly.
7315 (catch_demangling_errors): New function, which reports errors
7316 signalled by the demangling test functions in an orderly way.
7317 (do_tests): Use catch_demangling_errors.
7318
73191999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
7320
7321 * gdb.base/signals.exp (test_handle_all_print): Use () for
7322 grouping in expressions, not {}.
7323
7324 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
7325 initialized yet.
7326
73271999-04-01 Stan Shebs <shebs@andros.cygnus.com>
7328
7329 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
7330 are listed.
7331
73321999-03-26 Stan Shebs <shebs@andros.cygnus.com>
7333
7334 * gdb.stabs/weird.exp: Test for CC being defined before
7335 looking at its value.
7336
73371999-03-25 Stan Shebs <shebs@andros.cygnus.com>
7338
7339 * gdb.base/call-ar-st.exp: Remove stray '#'.
7340 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
7341 "short int" and "long int".
7342 * gdb.c++/overload.cc: Cast the string added in the previous
7343 change, to mollify finicky HP compiler.
7344 * gdb.hp/reg-test.exp (testfile): Fix file name.
7345 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 7346
7a292a7a
SS
7347 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
7348 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
7349 alternate form of enum ptype.
7350
c906108c
SS
73511999-03-23 Stan Shebs <shebs@andros.cygnus.com>
7352
7a292a7a
SS
7353 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
7354 * gdb.hp/*.exp: Change all to run compiler probe only after
7355 passing skip_hp_tests, so as not to waste time on guaranteed
7356 failure.
7357
c906108c
SS
7358 * gdb.c++/overload.cc: Pass string instead of char addr, always
7359 init ccpfoo.
7360 * gdb.c++/templates.cc: Fix syntax error.
7361
7a292a7a
SS
7362Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7363
7364 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 7365 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
7366 command.
7367
73681999-03-18 James Ingham <jingham@cygnus.com>
7369
7370 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
7371
7372 * gdb.c++/method.exp: It was testing an uninitialized int on the
7373 stack and assuming it was positive.
7374
7375 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
7376
7377 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 7378 keep it from killing the rest of the tests.
7a292a7a
SS
7379 Use gdb_continue_to_end.
7380
7381 * gdb.base/sigall.exp: use gdb_continue_to_end.
7382
7383 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
7384
7385 * gdb.base/display.exp: use runto_main, not run.
7386
d63a86f8
RM
7387 * gdb.base/default.exp: Check for the current error message in the
7388 r abbreviation test.
7a292a7a
SS
7389 Add strongarm to the targets that know info float.
7390
d63a86f8 7391 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
7392 run which doesn't work with monitors.
7393
7394 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
7395
7396 * gdb.base/break.exp: use the gdb_continue_to_end proc.
7397
7398 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
7399 program. Traps the case (in Cygmon) when the program never really
7400 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
7401 more places, so I used my name. Sorry Mark...
7402
7403 * config/monitor.exp (gdb_target_monitor): added another
7404 target_info parameter: remotebinarydownload. This will set the
7405 remotebinarydownload flag if this is causing some boards trouble.
7406
74071999-03-18 Mark Salter <msalter@cygnus.com>
7408
7409 * lib/gdb.exp (continue_to_exit): New function.
7410
7411 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
7412 * gdb.base/ending-run.exp: Ditto.
7413 * gdb.base/step-test.exp: Ditto.
7414
74151999-03-16 Stan Shebs <shebs@andros.cygnus.com>
7416
7417 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
7418 (suggested by Art Haas <ahaas@neosoft.com>).
7419
74201999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
7421
7422 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7423
7424Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
7425
7426 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
7427 descriptions of types (short unsigned int vs unsigned short, etc).
7428
74291999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
7430
7431 * gdb.base/call-strs.exp: Don't assume that `step' will step over
7432 a call to strlen; sometimes we do have sources.
7433
74341999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
7435
7436 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
7437 character, so GDB won't print garbage after its end.
d63a86f8 7438
c906108c
SS
7439 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
7440 breakpoint there instead. Sometimes GCC emits memcpy to handle
7441 the large structures being passed by value, so we step into that
7442 instead of sum_array_print, which obscures what we're really testing.
7443 * gdb.base/step-test.exp: However, we do want a test that notices
7444 the bizarre steps into memcpy, so do that here. Add check for
7445 stepping into function calls that pass large structures by value.
7446 ("Is that a noun clause, or are you just happy to see me?")
7447 Remove all references to specific line numbers.
7448 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
7449 New type and function.
7450 (main): Call large_struct_by_value, passing it a large struct by value.
7451 * lib/gdb.exp (gdb_get_line_number): New function.
7452
7453 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
7454 more portable.
7455
7a292a7a
SS
74561999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
7457
c906108c
SS
7458 * lib/gdb.exp: Doc fixes.
7459
7a292a7a
SS
74601999-03-05 Nick Clifton <nickc@cygnus.com>
7461
d63a86f8 7462 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
7463
74641999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
7465
c906108c
SS
7466 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
7467 commands. They're not germane to this test, and they don't work
7468 that way on remote targets.
7469
3fc11d3e
JM
74701999-03-01 James Ingham <jingham@cygnus.com>
7471
7472 * Changelog entries merged over from gdb development branch.
7473
3fc11d3e
JM
7474 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
7475
7476 * lib/gdb.exp (gdbtk_analyze_results): Generic function
7477 for outputting results of test run.
7478
2d4a1622 7479 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
7480
7481 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 7482
7a292a7a
SS
74831999-02-25 Felix Lee <flee@cygnus.com>
7484
7485 * lib/gdb.exp (debug_format): initialize
7486
c906108c
SS
74871999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
7488
7489 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
7490 * gdb.base/call-rt-st.c: Ditto.
7491
c906108c
SS
74921999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
7493
7494 * gdb.threads/pthreads.exp (horiz): New variable.
7495 (test_startup): Fix regexps that capture thread numbers.
7496
74971999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
7498
7499 * gdb.base/smoke.exp: Disambiguate two test case names (both
7500 called ``print'').
7501
7502Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7503
7504 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
7505 compilation.
7506
75071999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7508
7509 * gdb.base/miscexprs.exp: Change patterns to match GDB's
7510 actual output formatting.
7511 * gdb.base/smoke.exp: GDB removes leading 0's.
7512 * gdb.base/volatile.exp: Don't check type of remuneration;
7513 that variable is no longer defined in constvars.c.
7514 * gdb.base/step-test.c (main): Exit with explicit exit code.
7515 * gdb.base/step-test.exp: Remove two nexti checks--they are
7516 not portable.
7517
75181999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
7519
7520 * gdb.base/help.exp ("help delete display"): Fix test to match
7521 gdb's output.
7522
7523 * gdb.base/long_long.c (known_types): Initialize values to zero.
7524 * gdb.base/long_long.exp: Step one more line
7525 so 'dec' is initialized in "get to known place". GDB removes
d63a86f8 7526 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
7527 unique test case names.
7528
7529Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7530
d63a86f8 7531 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
7532
7533 * gdb.c++/method.exp: Add missing close brace.
7534
75351999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
7536
7537 * gdb.base/maint.exp: Use 'set height 0' to disable page
7538 prompting, not 'set height 400'.
7539
7540 Fix a bunch of timeouts.
7541 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
7542 four separate tests, so expect doesn't take forever to match a ton
7543 of text against a regexp with lots of .* forms.
7544 ("maint print psymbols", "maint print symbols"): Make some of
7545 these greps more selective, so that expect doesn't try to wade
7546 through huge piles of output and time out.
7547
7548 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
7549
7550 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
7551 tests: one which doesn't expect shlib events to be reported, and
7552 another which does, but is XFAIL for all platforms other than
7553 HP/UX.
7554
7555 * gdb.base/break.exp: Teach the test suite that the `catch
7556 fork', `catch vfork', and `catch exec' commands produce error
7557 messages on platforms that don't provide these features.
7558
7559Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
7560
7561 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
7562 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
7563 (shortening names from solib_threshold.exp etc), won't run on
7564 anything but HP-UX for the foreseeable future.
7565 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
7566 reflect move.
7567
7568Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
7569
7570 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
7571 gdb.trace/Makefile.in (clean): Remove all test executables.
7572
7573Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
7574
7575 * gdb.base/shlib-call.exp: add test cases to verify that gdb
7576 successfully re-sets breakpoints in shared libraries.
7577 * gdb.base/shmain.c (main): return 0, don't fall off the end.
7578
7579Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7580
d63a86f8
RM
7581 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
7582 and compiled w/o GCC.
c906108c
SS
7583
7584 * gdb.hp/watch-cmd.exp: ditto.
7585
7586 * gdb.hp/watch-hp.exp: ditto.
7587
7588 * gdb.hp/xdb1.exp: ditto.
7589
7590 * gdb.hp/xdb2.exp: ditto.
7591
7592 * gdb.hp/dbx.exp: ditto.
7593
7594Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
7595
7596 * constvars.c: Remove C++-isms.
7597 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
7598 with GCC.
7599
7600Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
7601
7602 The following changes are part of the HP merge.
7603
7604 * gdb.base/break.exp: new tests to verify that catchpoints for
7605 fork, vfork, and exec don't trigger inappropriately.
7606
7607 * gdb.base/opaque.exp: compile one file at a time, then link.
7608
7609 * gdb.base/signals.exp: be more restrictive about which hppa
7610 systems receive a setup_xfail. new tests.
7611
7612 * gdb.base/solib_threshold.build: new file.
7613 * gdb.base/solib_threshold.exp: new file.
7614 * gdb.base/solib_threshold.link_opts: new file.
7615 * gdb.base/solib_threshold.mk: new file.
7616 * gdb.base/gen_solib_threshold.c: new file.
7617
7618 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
7619 tests. New tests for enums inside classes.
7620
7621 * gdb.c++/compiler.cc: indicate support of template debugging.
7622
7623 * gdb.c++/demangle.exp: run hp style demangling tests.
7624
7625 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
7626 tests.
7627
7628 * gdb.c++/misc.cc: changes to support new tests.
7629
7630 * gdb.c++/templates.cc: changes to support HP's compiler; changes
7631 to support new tests.
7632
7633 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
7634 gcc, then skip these tests.
7635
7636Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
7637
7638 The following files are part of the HP merge; some had longer
7639 names at HP, but have been renamed to be no more than 14
7640 characters in length.
7641
7642 * gdb.hp/ambiguous.cc: new file.
7643 * gdb.hp/ambiguous.exp: new file.
7644 * gdb.hp/attach.exp: new file.
7645 * gdb.hp/attach2.exp: new file.
7646 * gdb.hp/classes-hp.exp: new file.
7647 * gdb.hp/ctti.exp: new file.
7648 * gdb.hp/ctti-add.cc: new file.
7649 * gdb.hp/ctti-add1.cc: new file.
7650 * gdb.hp/ctti-add2.cc: new file.
7651 * gdb.hp/ctti-add3.cc: new file.
7652 * gdb.hp/dbx.exp: new file.
7653 * gdb.hp/exception.cc: new file.
7654 * gdb.hp/exception.exp: new file.
7655 * gdb.hp/foll-exec.c: new file.
7656 * gdb.hp/foll-exec.exp: new file.
7657 * gdb.hp/foll-fork.c: new file.
7658 * gdb.hp/foll-fork.exp: new file.
7659 * gdb.hp/foll-vfork.c: new file.
7660 * gdb.hp/foll-vfork.exp: new file.
7661 * gdb.hp/inherit-hp.exp: new file.
7662 * gdb.hp/more-steps.exp: new file.
7663 * gdb.hp/namespace.cc: new file.
7664 * gdb.hp/namespace.exp: new file.
7665 * gdb.hp/optimize.exp: new file.
7666 * gdb.hp/pxdb.c: new file.
7667 * gdb.hp/pxdb.exp: new file.
7668 * gdb.hp/quicksort.exp: new file.
7669 * gdb.hp/reg-test.exp: new file.
7670 * gdb.hp/reg-test.s: new file.
7671 * gdb.hp/sized-enum.c: new file.
7672 * gdb.hp/sized-enum.exp: new file.
7673 * gdb.hp/start-stop.exp: new file.
7674 * gdb.hp/templ-hp.cc: new file.
7675 * gdb.hp/templ-hp.exp: new file.
7676 * gdb.hp/thr-lib.c: new file.
7677 * gdb.hp/thr-lib.exp: new file.
7678 * gdb.hp/thr-lib.h: new file.
7679 * gdb.hp/thr-liblib.c: new file.
7680 * gdb.hp/virtfun-hp.c: new file.
7681 * gdb.hp/virtfun-hp.exp: new file.
7682 * gdb.hp/watch-cmd.exp: new file.
7683 * gdb.hp/watch-hp.exp: new file.
7684 * gdb.hp/xdb1.exp: new file.
7685 * gdb.hp/xdb2.exp: new file.
7686 * gdb.hp/xdb3.exp: new file.
7687
7688Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
7689
7690 The following files are part of the HP merge; some had longer
7691 names at HP, but have been renamed to be no more than 14
7692 characters in length.
7693
7694 * gdb.base/ss.h: new file.
7695 * gdb.base/call-ar-st.c: new file.
7696 * gdb.base/call-ar-st.exp: new file.
7697 * gdb.base/call-rt-st.c: new file.
7698 * gdb.base/call-rt-st-exp: new file.
7699 * gdb.base/call-strs.exp: new file.
7700 * gdb.base/ena-dis-br.exp: new file.
7701 * gdb.base/environ.exp: new file.
7702 * gdb.base/long_long.exp: new file.
7703 * gdb.base/sect-cmd.exp: new file.
7704 * gdb.base/shlib-cl2.exp: new file.
7705 * gdb.base/smoke.exp: new file.
7706 * gdb.base/so-impl-ld.c: new file.
7707 * gdb.base/so-impl-ld.exp: new file.
7708 * gdb.base/so-indr-cl.c: new file.
7709 * gdb.base/so-indr-cl.exp: new file.
7710 * gdb.base/varargs.exp: new file.
7711 * gdb.base/volatile.exp: new file.
7712 * gdb.base/whatis-exp.exp: new file.
7a292a7a 7713 * gdb.base/display.exp: new file.
c906108c
SS
7714 * gdb.c++/derivation.exp: new file.
7715 * gdb.c++/local.exp: new file.
7716 * gdb.c++/member-ptr.exp: new file.
7717 * gdb.c++/overload.exp: new file.
7718 * gdb.c++/ovldbreak.exp: new file.
7719 * gdb.c++/ref-types.exp: new file.
7720 * gdb.c++/ref-types2.exp: new file.
7721 * gdb.c++/userdef.exp: new file.
d63a86f8 7722
c906108c
SS
7723Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
7724
7725 * gdb.base/default.exp: Reflect wording change in remote.c.
7726
dc96c6c7 7727Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7728
7729 * gdb.base/help.exp: Update to reflect current text.
7730
7731Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
7732
7733 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
7734 they're stack variables and contain garbage.
7735 * gdb.c++/anon-union.exp: new file.
7736
7737 The following changes were made by David Taylor
7738 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7739 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7740 in changes by HP.
7741
7742 * gdb.base/bitops.exp: new file.
7743 * gdb.base/default.exp: change expected messages for catch and
7744 info catch tests to reflect HP merge changes.
7745 * gdb.base/enable-disable-break.exp
7746 * gdb.base/ending-run.c: new file.
7747 * gdb.base/long_long.c: new file.
7748 * gdb.base/maint.exp: new file.
7749 * gdb.base/pointers2.exp: new file.
7750 * gdb.base/shlib-call2.exp: new file.
7751 * gdb.base/solib.exp: new file.
7752 * gdb.base/step-test.c: new file.
7753 * gdb.c++/anon-union.cc: new file.
7754 * gdb.c++/local.cc: new file.
7755 * gdb.c++/member-pointer.cc: new file.
7756 * gdb.c++/method.cc: new file.
7757 * gdb.c++/ref-types.cc: new file.
7758 * gdb.c++/ref-types2.cc: new file.
7759 * gdb.c++/userdef.cc: new file.
d63a86f8 7760
c906108c
SS
7761 * gdb.base/scope.exp: compile one file at a time, then link.
7762 * gdb.base/langs.exp: ditto.
7763 * gdb.base/list.exp: ditto.
d63a86f8 7764
c906108c
SS
7765Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
7766
7767 The following changes were made by David Taylor
7768 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
7769 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
7770 in changes by HP.
d63a86f8 7771
c906108c
SS
7772 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
7773 skip tests. When compiling pass c++ flag to gdb_compile.
7774 * gdb.c++/
d63a86f8 7775
c906108c
SS
7776 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
7777 test for on hppa*-*-hpux*; use args to see if c++ was specified.
7778 (skip_hp_tests): new function.
7779 (gdb_preprocess): new function.
7780
7781 * configure.in (hpdir): decide whether to configure gdb.hp.
7782 * configure: regenerated.
7783
7784 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
7785 to delete on clean.
7786 (EXECUTABLES): update to reflect new additions.
7787 * gdb.base/commands.exp: update message expected.
7788 * gdb.base/default.exp: add copyright notice.
7789 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
7790 * gdb.base/help.exp: update messages to reflect current text.
7791 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
7792 targets for recurse tests.
7793 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
7794 skip this file.
7795
7796 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
7797 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
7798 compilation.
7799 * gdb.c++/misc.exp: ditto.
7800 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
7801 run the tests. tell gdb_compile that it's a c++ compilation.
7802
7803 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 7804
c906108c
SS
7805 * gdb.base/all-bin.exp: new file.
7806 * gdb.base/arithmet.exp: new file.
7807 * gdb.base/assign.exp: new file.
7808 * gdb.base/completion.exp: new file.
7809 * gdb.base/cond-expr.exp: new file.
7810 * gdb.base/condbreak.exp: new file.
7811 * gdb.base/define.exp: new file.
7812 * gdb.base/dollar.exp: new file.
7813 * gdb.base/environment.exp: new file.
7814 * gdb.base/eval-skip.exp: new file.
7815 * gdb.base/jump.exp: new file.
7816 * gdb.base/logical.exp: new file.
7817 * gdb.base/pointers.exp: new file.
7818 * gdb.base/relational.exp: new file.
7819 * gdb.base/section_command.exp: new file.
7820 * gdb.base/whatis-expr.exp: new file.
7821
7822 * gdb.base/all-types.c: new file.
7823 * gdb.base/call-array-struct.c: new file.
7824 * gdb.base/call-return-struct.c: new file.
7825 * gdb.base/call-strings.c: new file.
7826 * gdb.base/callfuncs2.c: new file.
7827 * gdb.base/condbreak.c: new file.
7828 * gdb.base/constvars.c: new file.
7829 * gdb.base/display.c: new file.
7830 * gdb.base/int-type.c: new file.
7831 * gdb.base/jump.c: new file.
7832 * gdb.base/miscexprs.c: new file.
7833 * gdb.base/pointers.c: new file.
7834 * gdb.base/pointers2.c: new file.
7835 * gdb.base/shmain.c: new file.
7836 * gdb.base/shr1.c: new file.
7837 * gdb.base/shr2.c: new file.
7838 * gdb.base/solib.c: new file.
7839 * gdb.base/solib1.c: new file.
7840 * gdb.base/solib2.c: new file.
7841 * gdb.base/varargs.c: new file.
7842 * gdb.c++/derivation.cc: new file.
7843 * gdb.c++/overload.cc: new file.
7844 * gdb.c++/ovldbreak.cc: new file.
7845 * gdb.hp/attach.c: new file.
7846 * gdb.hp/attach2.c: new file.
7847 * gdb.hp/average.c: new file.
7848 * gdb.hp/compiler.c: new file.
7849 * gdb.hp/compiler.cc: new file.
7850 * gdb.hp/execd-program.c: new file.
7851 * gdb.hp/follow-exec.c: new file.
7852 * gdb.hp/follow-fork.c: new file.
7853 * gdb.hp/follow-vfork-and-exec.c: new file.
7854 * gdb.hp/misc-hp.cc: new file.
7855 * gdb.hp/more-steps.c: new file.
7856 * gdb.hp/optimize.c: new file.
7857 * gdb.hp/quicksort.c: new file.
7858 * gdb.hp/run-hp.c: new file.
7859 * gdb.hp/start-stop.c: new file.
7860 * gdb.hp/sum.c: new file.
7861 * gdb.hp/templates-hp.cc: new file.
7862 * gdb.hp/thread-local-in-lib.c: new file.
7863 * gdb.hp/thread-local-in-lib.h: new file.
7864 * gdb.hp/thread-local-in-lib.lib.c: new file.
7865 * gdb.hp/vforked-program.c: new file.
7866 * gdb.hp/virtfunc-hp.cc: new file.
7867 * gdb.hp/watchpoint-hp.c: new file.
7868 * gdb.hp/xdb.c: new file.
7869 * gdb.hp/xdb0.c: new file.
7870 * gdb.hp/xdb0.h: new file.
7871 * gdb.hp/xdb1.c: new file.
7872
7873Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
7874
7875 The following change was made by Edith Epstein
7876 <eepstein@cygnus.com> as part of a project to merge in changes
7877 originally made by HP; HP did not create ChangeLog entries.
7878
7879 * gdb.c++/demangle.exp: changed the expected output for some
7880 ARM-style mangling -- removed second reference to datatype.
7881 For example, maint demangle __dt__11T1__pt__2_cFv
7882 T1<char>::~T1<char>(void)
7883 becomes,
7884 maint demangle __dt__11T1__pt__2_cFv
7885 T1<char>::~T1(void)
7886
7887 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 7888
c906108c
SS
7889Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
7890
7891 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
7892 * gdb.trace/backtrace.exp: Likewise.
7893 * gdb.trace/circ.exp: Likewise.
7894 * gdb.trace/collection.exp: Likewise.
7895 * gdb.trace/deltrace.exp: Likewise.
7896 * gdb.trace/infotrace.exp: Likewise.
7897 * gdb.trace/limits.exp: Likewise.
7898 * gdb.trace/packetlen.exp: Likewise.
7899 * gdb.trace/passc-dyn.exp: Likewise.
7900 * gdb.trace/passcount.exp: Likewise.
7901 * gdb.trace/report.exp: Likewise.
7902 * gdb.trace/save-trace.exp: Likewise.
7903 * gdb.trace/tfind.exp: Likewise.
7904 * gdb.trace/tracecmd.exp: Likewise.
7905 * gdb.trace/while-dyn.exp: Likewise.
7906 * gdb.trace/while-stepping.exp: Likewise.
7907
79081998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
7909
7910 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
7911
7912Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
7913
7914 From Brendan Kehoe:
7915 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
7916 int return types.
7917
7918Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
7919
7920 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
7921 remote dos host testing right.
7922
7923Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
7924
7925 * gdb.base/corefile.exp: remove some xfails.
7926
7927Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
7928
7929 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
7930 have different timestamps.
7931
7932Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
7933
7934 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
7935 gdb.base/default.exp: Replace "exec" with "executable".
7936
7937Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
7938
7939 * gdb.base/default.exp: Change else if to elseif from previous
7940 delta.
7941
7942Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
7943
7944 * gdb.base/default.exp: Add brace missing from previous delta.
7945
7946Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
7947
7948 * gdb.base/default.exp: Support test for info float for all
7949 varieties of arm toolchain.
7950
dc96c6c7 7951Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7952
7953 * gdb.trace/*.exp: remove "remote_download" command.
7954
dc96c6c7 7955Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7956
7957 * gdb.trace/*.exp: remove -gdwarf from compile.
7958
7959Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
7960
7961 * gdb.trace/configure.in(AC_INIT): typo
7962 * gdb.trace/configure: regenerated
7963
dc96c6c7 7964Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7965
7966 * config/m68k-emc.exp: New file.
7967 * lib/<emc-support.exp trace-support.exp}: New files.
7968 * configure.in: add new test directory gdb.trace.
7969 * gdb.trace/{configure configure.in Makefile.in}: New files.
7970 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
7971 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
7972 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
7973 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
7974 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
7975 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
7976 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 7977
dc96c6c7 7978Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7979
7980 * gdb.c++/classes.exp: Change all regular expressions to match
7981 arbitrary combinations of newline/carriage-return, so that they
7982 will work equally well on Unix and Windows.
7983 * gdb.c++/inherit.exp: ditto.
7984 * gdb.c++/virtfunc.exp: ditto.
7985
79861998-08-11 Dawn Perchik <dawn@cygnus.com>
7987
7988 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
7989
c2d11a7d
JM
7990Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
7991
7992 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
7993 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
7994 to use a0-a3/d0-d3 as needed.
7995
7996Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
7997
7998 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
7999 * gdb.disasm/am33.exp: Corresponding changes.
8000
c906108c
SS
80011998-07-11 Felix Lee <flee@cygnus.com>
8002
8003 * gdb.base/callfuncs.exp: add cmp10 test.
8004 * gdb.base/callfuncs.c (cmp10): new function.
8005
8006Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
8007
d63a86f8 8008 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
8009 into two parts to get around a synchronization problem in expect.
8010
3fc11d3e
JM
8011Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
8012
8013 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
8014
8015 * configure.in: Add options for gdbtk testsuite.
8016
8017 * configure: Regenerate.
8018
8019 * gdb.gdbtk: New directory to hold gdbtk tests.
8020
c906108c
SS
8021Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8022
8023 * gdb.fortran/types.exp: Escape brackets in expect patterns
8024 for test_float_literal_types_accepted tests.
8025 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
8026 before run test.
8027
c2d11a7d
JM
8028Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
8029
8030 * am33.exp: Just compile, do not link the testcase.
8031 * am33.s: Add ".am33" pseudoop to force am33 mode.
8032
c906108c
SS
80331998-06-25 Felix Lee <flee@cygnus.com>
8034
8035 * gdb.base/setshow.exp: make sure $pc is sane.
8036
8037 * gdb.stabs/weird.exp: split expect patterns properly.
8038
c2d11a7d
JM
8039Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
8040
8041 * gdb.disasm/am33.s: New disassembler testfile for the am33.
8042 * gdb.disasm/am33.exp: Run it.
8043
dc96c6c7 8044Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8045
8046 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
8047 match processing (and eliminate spurious timeouts when running).
8048
dc96c6c7 8049Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8050
8051 * gdb.base/signals.exp (test_handle_all_print): put back Mach
8052 exception test, but conditionalize it on target [mach | gnu].
8053
dc96c6c7 8054Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8055
8056 * gdb.base/overlays.exp: fixup compile line for linker script.
8057
8058Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
8059
8060 * gdb.fortran/types.exp: don't guess at float size.
8061
8062Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
8063
8064 * gdb.base/exprs.exp: delete test that depends on int size.
8065
8066Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
8067
8068 * config/sim.exp: Removed checks for target triplets.
8069 (gdb_target_sim): Use gdb,target_sim_options.
8070
8071Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
8072
8073 * gdb.base/reread.exp: New file.
8074 * gdb.base/reread1.c: New file.
8075 * gdb.base/reread2.c: New file.
8076
8077Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
8078
8079 * config/sim.exp: Use 'target sim -sparclite' when running
8080 SPARClite programs.
8081
8082Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
8083
8084 * gdb.base/structs2.exp: New file.
8085 * gdb.base/structs2.c: New file.
8086
8087Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
8088
8089 * gdb.asm/common.inc: New file.
8090 * gdb.asm/d10v.inc: New file.
8091 * asm-source.exp: Pass -I's to gas to find .inc files.
8092 Update line numbers in expected output.
8093 * asmsrc1.s: Rewrite.
8094 * asmsrc2.s: Rewrite.
8095 * configure.in: Create arch.inc symlink.
8096 * configure: Regenerate.
8097 * Makefile.in (distclean): Delete arch.inc.
8098
8099Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
8100
8101 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
8102 (t_enum_value2): ditto
8103 (t_enum_value3): ditto
8104 (main): ditto
8105Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
8106
8107 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
8108 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
8109 change.
8110 Use gdb_test instead of send_gdb/gdb_expect sequences.
8111
8112Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
8113
8114 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
8115 not void.
8116
8117Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
8118
8119 * gdb.base/branches.c: Code with lots of loops and
8120 subroutines. Used to test gdbs ability to single step through PC
8121 changes, especially to test mips-tdep.c:mips_next_pc
8122
8123Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
8124
8125 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
8126 more rigorous EGCS C++ error checking.
8127
8128Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8129
8130 * gdb.base/help.exp: Clean up `help set args' and `help show args'
d63a86f8 8131 tests.
c906108c 8132 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
d63a86f8 8133 function when asleep.
c906108c 8134 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
d63a86f8
RM
8135 for i*86 Linux and SVR4 signal handling problems.
8136 Remove linux xfail for `next to handler in signals_tests_1', fixed
8137 by recent infrun.c change.
c906108c 8138 Limit backtrace to 10 frames to avoid timeout problems with infinite
d63a86f8 8139 stack backtraces.
c906108c
SS
8140 Adjust expect pattern in `handle all print' test to match Apr 28 1997
8141 target.[ch] change.
8142
8143Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
8144
8145 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
8146 for a newline from gdb before continuing.
8147 (default_gdb_exit): Just look for y or n.
8148 (gdb_test): Detect abnormal exit from GDB running on DOS; if
8149 it does, fail the rests of the tests in the file.
8150
8151Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
8152
8153 * config/cygmon.exp: New file.
8154
8155Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
8156
8157 * gdb.base/list.exp: Fix problem with "list default lines around
8158 main" test on remote targets.
8159
8160 * gdb.base/scope.exp: Fix problem with filelocal_bss before
8161 run test on remote targets.
8162
8163Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
8164
8165 * gdb.asm: New directory.
8166 * configure.in: Configure it.
8167 * configure: Regenerate.
8168 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
8169 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
8170
8171Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
8172
8173 * config/mn10300-eval.exp: New file to support MN10300 eval board.
8174
dc96c6c7 8175Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 8176
c906108c
SS
8177 * gdb.base/overlays (several files): Merge the two overlay
8178 managers into one. Change variables (foox, barx, bazx, grbxx)
8179 back into ints but force them to load in their proper sections.
8180
8181Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
8182
8183 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
8184 on-chip insn memory and IMAP1 to upper 128k.
8185 (D10VCopy): Handle memory regions crossing 16k boundaries.
8186 (D10VCopy): Transfer data in 32 bit chunks.
8187
8188Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
8189
8190 * gdb.base/overlays.c (main): Exit normally when result is
8191 correct.
8192
8193 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
8194 map. Include space for printf in .text segment.
8195
8196 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
8197 updated d10v memory VMA/LMA map.
8198 (D10VCopy): Call D10VTranslate.
d63a86f8 8199
c906108c
SS
8200Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
8201
8202 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
8203
8204 * gdb.base/bar.c (barx, bar): Change variable to small array so
8205 that it won't be put into the .sdata - small data -
8206 section. Update reference.
8207 * gdb.base/baz.c (bazx, baz): Ditto.
8208 * gdb.base/foo.c (foox, foo): Ditto.
8209 * gdb.base/grbx.c (grbxx, grbx): Ditto.
8210
8211 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
8212 to be arrays.
d63a86f8 8213
dc96c6c7 8214Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 8215
c906108c
SS
8216 * gdb.base/overlays.exp: fix up and get working again.
8217 Add tests for backtraces from an overlay function.
d63a86f8 8218
c906108c
SS
8219Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
8220
8221 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
8222 "calling function with watchpoint enabled".
8223
8224Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
8225
8226 * gdb.base/break.exp (test_next_with_recursion): Remove
8227 gdb_suppress_tests for d10v-*-*.
8228 * lib/gdb.exp (gdb_suppress_tests): Disable this function
8229 pending review of whether it is useful or not.
8230
8231Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
8232
8233 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
8234
8235Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
8236
8237 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
8238 * config/dve.exp: New file to support Densan boards.
8239
8240Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
8241
8242 * gdb.base/interrupt.exp: Document problem of simulators, signals,
8243 reads and BSD.
8244
8245Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
8246
8247 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
8248 response.
8249
8250 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
8251
8252Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
8253
8254 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
8255 test.
8256
8257 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
8258 target_sizeof_long and target_bigendian_p.
8259 (structs_by_value, structs_by_reference): Check values according
8260 to targets word size and endianess.
d63a86f8 8261
c906108c
SS
8262Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
8263
8264 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
8265 output.
8266
8267Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
8268
8269 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
8270 Update test of set args help to match source change.
8271
8272Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
8273
8274 * gdb.base/default.exp: Expect help system output to be in
8275 alphabetical order.
8276 * gdb.base/help.exp: Ditto.
8277
8278Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
8279
8280 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
8281 "i*86-pc-linux-gnu*".
8282 * gdb.base/interrupt.exp: Ditto.
8283 * gdb.base/corefile.exp: Ditto.
8284
8285 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
8286 define vxworks when building the testcase.
8287
8288 * gdb.base/ptype.exp: Fix testnames to be unique.
8289 * gdb.base/radix.exp: Ditto.
8290 * gdb.base/term.exp: Ditto.
8291 * gdb.base/whatis.exp: Ditto.
8292 * gdb.c++/classes.exp: Ditto.
8293
8294Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
8295
8296 * gdb.base/callfuncs.exp: Fix indentation.
8297
8298 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
8299 suppress_flag has been set.
8300 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
8301 target feature.
8302
8303Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
8304
8305 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
8306 the testcase.
8307
8308 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
8309 set_debug_traps() and breakpoint().
8310 * gdb.c++/misc.cc (main): Ditto.
8311 * gdb.c++/templates.cc (main): Ditto.
8312 * gdb.c++/virtfunc.cc (main): Ditto.
8313
8314Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
8315
8316 * lib/gdb.exp(gdb_step_for_stub): New function.
8317 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
8318 exists, reload the executable and do a "continue" instead of
8319 doing a jump.
8320 (runto_main): Use gdb_step_for_stub.
d63a86f8 8321
c906108c
SS
8322 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
8323 tests to have unique names.
8324 * gdb.base/callfuncs.exp: Ditto.
8325 * gdb.base/commands.exp: Ditto.
8326 * gdb.base/default.exp: Ditto.
8327 * gdb.base/help.exp: Ditto.
8328 * gdb.base/list.exp: Ditto.
8329 * gdb.base/opaque.exp: Ditto.
8330 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
8331 similar tests.
d63a86f8 8332
c906108c
SS
8333 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
8334 * gdb.c++/cplusfuncs.cc: Ditto.
8335 * gdb.c++/virtfunc.cc: Ditto.
8336
8337 * config/monitor.exp: Keep track of the last file we saw, rather
8338 than trying to get the info from gdb.
8339
8340 * gdb.fortran/types.exp: Move comment to previous line.
8341
8342Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
8343
8344 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
8345 target mode.
8346
8347Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
8348
8349 From Bob Manson:
8350 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
8351 string from GDB when it connects.
8352
8353 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
8354
8355Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
8356
8357 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
8358 if we can't get a debug format from GDB (we may be testing an
8359 older GDB). Use a 10 second timeout when checking for the format.
8360
8361 * gdb.stabs/weird.exp: Fix quoting.
8362
8363 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
8364
8365Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
8366
8367 * config/arm-ice.exp: New file.
8368
8369Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
8370
8371 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
8372 until it has been modified to work with the new testsuite.
8373
99707966 8374 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
8375 testcase won't compile, cause all of the testcases in the file to
8376 fail instead.
8377
8378 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
8379 (gdb_clear_suppressed): New procedure.
8380 (gdb_stop_suppressing_tests): Only clear suppress_flag if
8381 it contains a positive value.
8382
8383Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
8384
8385 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
8386
8387 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
8388
8389Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
8390
8391 * lib/gdb.exp (setup_xfail_format): New function.
8392 (get_debug_format): New function to get debug format.
8393 (debug_format): New global variable to hold last value set
8394 by get_debug_format.
8395 * gdb.base/list.exp: Call get_debug_format and expect some
8396 tests to fail for DWARF 1 and COFF formats.
8397 * gdb.c++/ptype.exp: Ditto.
8398 * gdb.c++/classes.exp: Ditto.
8399 * gdb.c++/cplusfuncs.exp: Ditto.
8400 * gdb.c++/inherit.exp: Ditto.
8401 * gdb.c++/templates.exp: Ditto.
8402 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 8403
c906108c
SS
8404Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
8405
8406 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
8407 host doesn't have a currently-open connection.
8408
8409 * config/sparclet.exp: Cleanups and fixes to make it generic for
8410 any gdb stub target. Handle cases where gdb doesn't respond when
8411 interrupted in a sane fashion.
8412
8413 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
8414 same thing in a totally different way.
8415
8416 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
8417 setting "timeout".
8418 (gdb_start): We set the global gdb_prompt variable in
8419 default_gdb_init now.
8420
8421Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
8422
8423 * gdb.base/printcmds.exp: Fix "check for floating addition"
8424 regexp to accept results within approx +/- .01 of exact value.
8425 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
8426
8427Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
8428
8429 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
8430 properly.
8431 (gdb_expect): Add optional timeout parameter, and add timeout
8432 value to various calls.
8433 (gdb_suppress_tests): Only give one warning message per group.
8434
8435Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
8436
8437 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
8438 global variables. Handle getting a value for $timeout more
8439 gracefully.
8440
8441Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8442
8443 * lib/gdb.exp: Close connection to remote host if gdb doesn't
8444 initialize.
8445 (default_gdb_init): New procedure; allow gdb_init to be overridden
8446 by a target configuration file.
8447 (gdb_expect): Pass the timeout to remote_expect.
8448
8449 * config/monitor.exp(gdb_load): Fix typo in regexp.
8450
8451Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
8452
8453 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
8454
8455Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
8456
8457 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
8458 here. Call gdb_target_exec before rebooting the target, to make
8459 sure the connection to the target is closed.
8460 (gdb_load): Pass the name of the executable to gdb_target_monitor.
8461 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
8462 Also detect "Timeout reading from remote" error.
8463
8464 * config/gdbserver.exp: Pass the executable being loaded to
8465 gdb_target_monitor. Don't call gdb_file_cmd here; let
8466 gdb_target_monitor do it.
8467
8468 * gdb.disasm/hppa.exp: Don't use exec_output.
8469
8470Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
8471
8472 * gdb.base/list.exp: If we're debugging a non-native target,
8473 try to set the pc register to point to the start of the
8474 program before doing the first list command.
8475
8476 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
8477 test_calls after restarting.
8478
8479 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
8480 reloading.
8481
8482 * gdb.base/watchpoint.exp: Fix typo.
8483
8484 * gdb.base/setshow.exp: Check for use_gdb_stub.
8485
8486 * gdb.base/break.exp: Fix continue until exit test for the gdb
8487 stub case.
8488 * gdb.base/langs.exp: Ditto.
8489
8490 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
8491 gdb_load_offset. If we weren't given a file to load, figure out
8492 what the current file is and use it.
8493
8494 * config/i386-bozo.exp: New file.
8495
8496Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
8497
8498 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
8499 feature.
8500
8501 * config/proelf.exp: New entry.
8502
8503Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
8504
8505 * lib/gdb.exp: Remove spurious .* patterns at the beginning
8506 of regexps.
8507
8508 * gdb.base/watchpoint.exp: Don't run the test_stepping
8509 tests if gdb can't call functions on the target.
8510
8511 * gdb.base/setshow.exp: Don't run the set prompt tests if
8512 the board has gdb_prompt set.
8513
8514Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
8515
8516 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
8517 * gdb.base/commands.exp: Likewise.
8518 * gdb.base/setshow.exp: Likewise.
8519
8520Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
8521
8522 * config/monitor.exp(gdb_start): Look for gdb_prompt target
8523 feature.
8524
8525 * config/i960.exp: New file.
8526
8527Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
8528
8529 * gdb.base/funcargs.exp: Check for gdb,short_int target
8530 feature instead of looking for explicit target triplets.
8531
dc96c6c7 8532Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 8533
d63a86f8 8534 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
8535 "p 123DEADBEEF", to check parse_number.
8536 * top.c: change "to enable to enable" to "to enable" in a couple
8537 of help strings.
8538
8539Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
8540
8541 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
8542 on the mn10300.
d63a86f8 8543
c906108c
SS
8544Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
8545
8546 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
8547 where the test executable is run with explicit args.
8548 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
8549
8550Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
8551
8552 * gdb.base/run.c: Use FAKEARGV to build test executable that
8553 does not require a command line arg, since most simulators
8554 don't currently support passing such an arg into the simulated
8555 program.
8556 * gdb.base/commands.exp: Change tests to insert the proper
8557 value as the arg to the first recursive factorial call. Change
8558 compilation line to define FAKEARGV at compile time.
8559
8560Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
8561
8562 * gdb.base/recurse.exp: Enable these tests for the mn10300.
8563 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
8564 function with watchpoint enabled" test.
8565
8566Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
8567
8568 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
8569 Don't call gdb_test when the command doesn't return to a gdb prompt.
8570
8571 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
8572 "Tests restarted" messages.
8573
8574Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
8575
8576 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
8577
dc96c6c7 8578Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8579
8580 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
8581 for INFO SYMBOL; add help tests for OVERLAY commands.
8582 * gdb.base/default.exp: add tests for INFO SYMBOL command;
8583 add tests for OVERLAY commands
8584 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
8585 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
8586 * gdb.base/sigall.c: add usestubs code frag
8587 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 8588
c906108c
SS
8589Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
8590
8591 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
8592 failures.
8593 (gdb_stop_suppressing_tests): Note that tests have restarted.
8594
8595Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
8596
8597 * config/h8300.exp: New file.
8598
8599Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
8600
8601 * gdb.base/setshow.exp: Check for the existence of a
8602 feature, not its value.
8603
8604Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
8605
8606 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
8607
8608 * gdb.base/scope.exp: It's now init0(), not init().
8609
8610 * gdb.base/scope0.c: For now, change init() to be init0().
8611
8612 * config/monitor.exp: Use gdb_serial in preference to serial
8613 or netport.
8614
8615 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
8616 and it's not already set.
8617
8618Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
8619
8620 * gdb.base/setshow.exp: Only test the run command if the target
8621 isn't using a stub and if it supports argument passing.
8622
8623Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
8624
8625 * config/udi.exp(gdb_start): Make sure UDICONF is set
8626 properly before starting gdb.
8627
8628Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
8629
8630 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
8631 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
8632 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
8633
8634Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
8635
8636 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
8637 specialized code to reboot the board, use remote_reboot instead.
8638
8639 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
8640
8641 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
8642
8643 * config/monitor.exp: Make sure we disconnect from the target.
8644 Also, try a reboot/reload cycle instead of failing if the
8645 load fails.
8646
8647Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
8648
8649 * gdb.base/default.exp: Don't set match_max.
8650 * gdb.base/help.exp: Ditto.
8651 * gdb.base/list.exp: Ditto.
8652 * gdb.base/signals.exp: Ditto.
8653
8654 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
8655 set, use remote_ld to download the testcase instead of
8656 the GDB loader.
8657
8658Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
8659
8660 * config/vr5000.exp: New file.
8661
8662 * config/monitor.exp(gdb_target_monitor): Add pattern for
8663 "Ending remote" to detect errors in connecting.
8664
8665 * gdb.base/setshow.exp: Add .* within auto language test.
8666
8667 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
8668 target feature.
8669
8670 * config/monitor.exp(gdb_load): Check for a failure when loading,
8671 and reboot the board if necessary.
8672
8673 * gdb.base/setvar.exp(test_set): Handle multiple prints within
8674 a set of tests. Remove print.* from the patterns being checked.
8675
8676Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
8677
8678 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
8679 refer to gdb_spawn_id.
8680
8681 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
8682 longer used.
8683 * config/sparclet.exp: Ditto.
8684 * config/sparclet-old.exp: Ditto.
8685 * config/slite.exp: Ditto.
8686 * config/sim.exp: Ditto.
8687 * gdb.base/funcargs.exp: Ditto.
8688
8689 * lib/gdb.exp:Remove references to gdb_spawn_id.
8690 (gdb_expect): Move to remote.exp.
8691
8692Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
8693
8694 * config/monitor.exp: Detect the "Couldn't establish connection"
8695 message from GDB.
8696
8697Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
8698
8699 * gdb.base/bitfields.exp: Use runto instead of explicit
8700 gdb_run_cmd/gdb_expect sequences.
8701
8702 * gdb.base/break.exp(text_next_with_recursion): Add match for
8703 gdb_expect call.
8704
8705 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
8706 We also need to handle the "A program is being debugged already"
8707 prompt from gdb. Use gdb_test to set the baud rate.
8708
8709 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
8710 to 20000. Really. I mean it.
8711
8712Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
8713
8714 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
8715 fails. If suppress_flag is set, skip perror message about not
8716 being able to send to GDB.
8717 (send_gdb): If suppress_flag is set, don't try to send commands to
8718 GDB.
8719 (gdb_expect): If suppress_flag is set, always fail immediately.
8720 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
8721 (gdb_init): Call gdb_stop_suppressing_tests.
8722 (default_gdb_exit): Ditto.
8723 (default_gdb_start): Ditto.
8724
8725 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
8726 gdb_stop_suppressing_tests as appropriate.
8727 * gdb.base/break.exp: Ditto.
8728 * gdb.base/callfuncs.exp: Ditto.
8729 * gdb.base/commands.exp: Ditto.
8730 * gdb.base/exprs.exp: Ditto.
8731 * gdb.base/funcargs.exp: Ditto.
8732 * gdb.base/list.exp: Ditto.
8733 * gdb.base/recurse.exp: Ditto.
8734 * gdb.base/scope.exp: Ditto.
8735 * gdb.base/structs.exp: Ditto.
8736 * gdb.c++/inherit.exp: Ditto.
8737
8738Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
8739
8740 * config/vr4300.exp: New file.
8741
99707966 8742 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 8743
99707966 8744 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
8745
8746Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
8747
8748 * lib/gdb.exp(gdb_init): New function.
8749
8750 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
8751 for each individual variable set.
8752
8753 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
8754 name.
8755
8756 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
8757
8758 * gdb.base/scope.exp: Use gdb_test.
8759
8760 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
8761 aborting; the testsuite driver will do that for us (see
8762 gdb_finish). Also, use gdb_test in a few more places.
8763
8764Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
8765
8766 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
8767
8768Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
8769
8770 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
8771 and "add_tests" are not at the same address.
8772
8773Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
8774
8775 * gdb.base/ptype.exp: Use gdb_test.
8776
8777Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
8778
8779 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
8780 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
8781 left in. No longer expect them to fail.
8782
8783 * gdb.stabs/*.mt; Deleted, no longer used.
8784 * gdb.stabs/configure.in: Remove references to target makefile
8785 frags.
8786 * gdb.stabs/configure: Rebuilt.
8787
8788 * gdb.disasm/*.mt: Deleted, no longer used.
8789 * gdb.disasm/configure.in: Remove references to target makefile
8790 frags. Use "sh3.s" as the unique filename for this directory.
8791 * gdb.disasm/configure: Rebuilt.
8792
8793 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
8794 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
8795 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
8796
8797Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
8798
8799 * config/udi.exp: Use mondfe,name instead of remote_host.
8800
8801Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
8802
8803 * gdb.base/watchpoint.exp: Don't expect a failure when calling
8804 a function with a watchpoint enabled on the mn10200.
8805
8806 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
8807 before trying to create it!
8808
8809Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
8810
8811 * config/vx.exp: Use hostname instead of netport.
8812
8813 * config/vxworks.exp: New file.
8814
8815 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
8816
8817 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
8818 gdb before assuming everything worked. Send a ^C if a timeout
8819 occurs.
8820
8821 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
8822 $gdb_spawn_id directly.
8823 (gdb_run_cmd): Try _start as well as start. Use the target feature
8824 gdb,start_symbol as the symbol to start from when jumping.
8825
8826Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
8827
8828 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
8829 redundant) test.
8830
8831 * gdb.base/recurse.exp: Relax final value test for 'b' so that
8832 it doesn't lose for 16bit integer systems.
8833
8834Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
8835
8836 * gdb.fortran/types.exp: If the target doesn't support "double"
8837 data types, then expect "real" types to only be 4 bytes.
8838
8839 * gdb.c++/virtfunc.exp: Expect failure for virtual function
8840 call tests if the target doesn't support inferior function calls.
8841
8842 * gdb.base/printcmds.exp: Allow minor deviation in FP values
8843 in printf tests.
8844
8845Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
8846
8847 * gdb.base/help.exp: Disable "help set", "help show", and
8848 "help support". Simplify regexp for "help stack".
8849
8850 * gdb.base/default.exp: Set match_max to 5000 and the timeout
8851 to 60 seconds. Temporarily set match_max to 15000 around the
8852 "info copying" test.
8853
8854 * gdb.base/nodebug.exp: Don't try to do an inferior function
8855 call if the target doesn't support them.
8856 * gdb.base/printcmds.exp: Likewise.
8857 * gdb.base/setvar.exp: Likewise.
8858 * gdb.base/structs.exp: Likewise.
8859 * gdb.c++/templates.exp: Likewise.
8860 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
8861
8862 * gdb.base/recurse.exp: Enable for the mn10200.
8863
8864 * configure.in: Do configure gdb.stabs directory for *-*-elf
8865 targets.
8866 * configure: Rebuilt.
8867
8868 * gdb.base/break.exp: Check for gdb,noresults before testing
8869 exit status and/or results from the target.
8870 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
8871 * lib/gdb.exp: Remove old (now bogus) initialization of
8872 noinferior, noargs, noresults and nosignals.
8873
8874Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
8875
8876 * config/sh.exp: New file.
8877
8878 * config/slite.exp: Try to connect multiple times to the board
8879 before rebooting. Only send a "monitor run" if need_monitor_run
8880 is set.
8881
8882 * gdb.base/break.exp: Don't do the "stub continue" test if
8883 the target has gdb_stub set.
8884
8885 * gdb.base/callfuncs.exp: Increase the timeout.
8886
8887 * gdb.base/interrupt.exp: Don't even try to compile the testcase
8888 if the target has gdb,noinferiorio set.
8889
8890 * gdb.base/list.exp: Increase match_max to 10000 characters.
8891
8892 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
8893
8894 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
8895 target.
8896
8897 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
8898
8899Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
8900
8901 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
8902 trying to delete the copy of gdb. Catch the file delete so we
8903 don't die if the delete fails; also, the file should be copied to
8904 the host, not to the build.
8905
8906Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
8907
8908 * lib/gdb.exp(gdb_test): Surround the result pattern with
8909 parenthesis in case it contains multiple regexps separated
8910 with |.
8911
8912 * gdb.base/watchpoint.exp: Use gdb_test.
8913 * gdb.base/default.exp: Ditto.
8914
8915Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
8916
99707966 8917 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 8918
c906108c
SS
8919 * gdb.base/scope.exp: Use gdb_test.
8920 * gdb.c++/classes.exp: Ditto.
8921 * gdb.c++/inherit.exp: Ditto.
8922
8923Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
8924
8925 * gdb.base/crossload.exp: Don't use execute_anywhere, use
8926 remote_exec instead.
8927 * gdb.base/corefile.exp: Don't be ridiculous.
8928 * gdb.base/*.c: Add missing stub invocations.
8929
8930Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
8931
8932 * config/slite.exp: Miscellaneous fixes.
8933
8934 * lib/gdb.exp: Fix runto.
8935
8936 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
8937 the target.
8938
8939 * gdb.base/watchpoint.exp: Fix regexp.
8940
8941 * lib/gdb.exp(default_gdb_exit): Add a catch to the
8942 close and wait commands, as the descriptor may now be
8943 invalid. Always call "remote_close host".
8944
8945Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
8946
8947 Major rewrite for testsuite revision.
d63a86f8 8948
c906108c
SS
8949 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
8950 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
8951 instead of relying on spawn_id to always contain a valid
8952 spawn id.
8953 (get_compiler_info): New procedure to build the ${binfile}.ci
8954 file, instead of replicating this in N different places.
8955 (gdb_compile): New procedure.
d63a86f8 8956
c906108c
SS
8957 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
8958 appropriate arguments) instead of compile. Use gdb_test in a lot
8959 more places. Use send_gdb instead of send. Always run gdb_start
8960 at the start of a testcase, as this is no longer done magically.
8961
8962 config/*-gdb.exp: Rename without the -gdb suffix.
8963
8964 config/mips.exp: Use remote_close instead of exit_remote_shell.
8965 config/monitor.exp: Use target_info instead of looking at
8966 baud, timeout, etc.
8967 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
8968
8969Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8970
8971 * gdb.c++/templates.exp (test_ptype_of_templates),
8972 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
8973 Update expect patterns for destructors and assignment operators
8974 to match corresponding c-typeprint.c changes.
8975 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
8976 to destructor breakpoint test, GDB should be able to set the
8977 destructor breakpoint without specifying arguments.
8978
8979Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
8980
8981 * gdb.threads/pthreads.exp: Change result for failure to compile due
8982 to lack of pthreads runtime support from an error to simply an
8983 unsupported test, per dejagnu standards.
8984
8985Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8986
8987 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
8988 where GDB exits to reduce pattern match time.
8989 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
8990
8991 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
8992
dc96c6c7 8993Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
8994
8995 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
8996 * gdb.base/default.exp: ditto.
8997 * gdb.base/nodebug.exp: ditto.
8998 * gdb.base/printcmds.exp: ditto.
8999 * gdb.base/ptype.exp: ditto.
9000 * gdb.base/setvar.exp: ditto.
9001 * gdb.base/structs.exp: ditto.
9002 * gdb.base/setshow.c: Guard against uninitialized values of argc.
9003
9004Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
9005
9006 * configure, */configure: Rebuild with autoconf 2.12.
9007
9008Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
9009
9010 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
9011 use new i*86-pc-linux*-gnu quads.
9012 * gdb.base/corefile.exp: Ditto.
9013 * gdb.base/signals.exp: Ditto.
9014 * gdb.base/sigall.exp: Ditto.
9015 * gdb.base/interrupt.exp: Ditto.
9016
9017 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
9018 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
9019 RedHat 4.0.
d63a86f8 9020
c906108c
SS
9021 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
9022 linux. This allows the test case to at least compile on latest
9023 linux, but still not run due to missing the threads runtime library.
9024
9025Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9026
9027 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
9028 directory to search gdb directory. Accept and step over conditional
9029 stack alignment code. Consume $prompt in failure cases.
9030 Reset timeout to $oldtimeout instead of some arbitrary value.
9031 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
9032 timeout problems with infinite stack backtraces.
9033 * gdb.base/ptype.exp (ptype struct link, union tu_link):
9034 Accept function parameters for linkfunc member.
9035
9036Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
9037
9038 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
9039 (CXXFLAGS): Remove, unreferenced.
9040 (B_OPTIONS): Add for -B options and add code to initialize with
9041 previous -B options and also add -B option to pick up cross compiled
9042 runtime.
9043 (TARGET_INCLUDES): Add for -I options and add code to initialize when
9044 doing cross compiles.
9045 (target_alias): Declare global.
9046 (xgcc): Set variable to full path of gcc in build tree. Use findfile
9047 to verify that gcc exists in build tree, and if so set CC to that
9048 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 9049
c906108c
SS
9050Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
9051
9052 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
9053 ptype test for anonymous union. Fixup testcase to match
9054 current gcc debug output.
9055
9056Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
9057
9058 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
9059 force argument to an unsigned long type.
9060
9061Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
9062
9063 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
9064 tests and anonymous union print/ptype tests.
9065 * gdb.base/list.exp (test_forward-search): Increase timeout by
9066 5 minutes for the "search extremely long line" case.
9067 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
9068 completely optional and that the pass/fail messages use the command as
9069 the message if that third arg is a null string.
9070 (gdb_test_exact): Arrange that a null string pattern means match a
9071 null string output rather than any output, which might include random
9072 errors.
9073 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
9074 backtrace test.
9075 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
9076 always failing and failure is now exposed by gdb.exp changes.
9077
9078Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
9079
9080 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
9081 weren't being noted.
9082
9083Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9084
9085 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
9086 * gdb.stabs/weird.exp: Remove v_comb xfails.
9087
dc96c6c7 9088Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9089
9090 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
9091 list.exp scope.exp watchpoint.exp]
9092 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 9093
dc96c6c7 9094Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9095
9096 * config/monitor.exp: Increase download timeout to 1000 seconds.
9097
dc96c6c7 9098Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9099
9100 * config/m32r.exp: Increase timeout to 120 seconds.
9101
9102Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
9103
9104 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
9105 and accept older ordering as obsolescent gcc or gdb.
9106 * gdb.c++/templates.exp: Ditto.
9107 * gdb.c++/virtfunc.exp: Ditto.
9108
9109Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
9110
9111 * gdb.base/coremaker.c: Add code to mmap some data so we
9112 can check that it ends up in the core file.
9113 * gdb.base/corefile.exp: Add test to read mmapped data
9114 from core file.
9115
dc96c6c7 9116Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9117
9118 * config/m32r.exp: New file.
9119
9120Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
9121
9122 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
9123 that cflags can contains -gstabs, and work correctly for other tests.
9124
dc96c6c7 9125Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
9126
9127 * gdb.base/setshow.exp: New file, tests show and set.
9128 * gdb.base/setshow.c: New file, tests show and set.
9129 * gdb.base/help.exp: Add test for help set|show annotate.
9130 * gdb.base/default.exp: Add test for set|show annotate.
9131
9132Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
9133
9134 * testsuite/gdb.base/break.exp: Make backtrace from factorial
9135 errors unique.
9136 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
9137 explicitly.
9138
9139Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
9140
9141 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
9142 and width commands. This is done elsewhere.
9143 * (gdb_start): Don't call gdb_start_sim here. That's already
9144 done in gdb_load. This fixes lots of failures in default.exp.
9145
9146Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
9147
9148 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
9149 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
9150 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
9151 in the same we we treat other failures (since it may be an expected
9152 condition), rather than as an error.
9153 * gdb.base/signals.exp (test_handle_all_print): Revert back to
9154 old test format.
9155
9156Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
9157
9158 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
9159 (distclean maintainer-clean realclean): No need to remove files
9160 twice. Nuke the duplicates.
9161 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 9162 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
9163 Remove config.h along with other config files.
9164
9165Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
9166
9167 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
9168 "p func1 ()" and note that rests of tests are skipped.
9169 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
9170 setup_xfails for "print func2::coremaker_local".
9171 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
9172 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
9173 affected by the previous run test.
9174 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
9175 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
9176 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
9177 "pass int powerset tuple" and "pass modeless int powerset tuple".
9178 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
9179 "real write 4" and "real write 8".
9180 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
9181 setup_xfails for "print vs1 after tuple assign 2",
9182 "print \$i after tuple assign 2", and
9183 "print vs2 after tuple assign 2".
9184 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
9185 meaningful error message and return -1 so the caller can
9186 suppress further tests and avoid a cascade of errors.
d63a86f8 9187
c906108c
SS
9188Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
9189
9190 * gdb.base/a1-selftest.exp: Tweak tests to account for new
9191 format for printing version.
9192 * gdb.base/default.exp: Ditto.
9193 * gdb.base/interrupt.exp: Fix problem with cascade of
9194 errors if child process dies while calling a function.
d63a86f8 9195
c906108c
SS
9196Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
9197
9198 * Makefile.in (VPATH): Add
9199 * Makefile.in (Makefile, config.status): Fix rules so things get
9200 remade when necessary.
9201
9202Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
9203
9204 * Makefile.in (just-check): Add path to sibling expect dir
9205 to environment variable specified by RPATH_ENVVAR.
9206
9207Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
9208
9209 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
9210 (just-check): Add shared library paths for libstdc++, tk,
9211 tcl, bfd, and opcodes to the environment variable specified
9212 in RPATH_ENVVAR.
9213 * configure.in: Add support to recognize --enable-shared flag
9214 and generate correct value for RPATH_ENVVAR.
9215 * configure: Regenerated with autoconf.
9216
9217Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
9218
9219 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
9220 include all osf versions.
9221 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
9222 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
9223 when target is linux. When failing to build pthreads test
9224 executable, give more meaningful message.
9225 * gdb.threads/pthreads.c: Hpux also uses old definition of second
9226 arg for pthread_create.
d63a86f8 9227
c906108c
SS
9228Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
9229
9230 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
9231 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
9232 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
9233 and -lpthreads (everybody else).
9234 (test_startup): Fail gracefully if threads are not supported.
9235 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
9236 "p/c array_index("abcdef",2)" when not gcc compiled.
9237 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
9238 "print func2::coremaker_local" when not gcc compiled.
9239 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
9240 "ptype on opaque struct tagname (statically)",
9241 "ptype on opaque struct tagname (dynamically) 1", and
9242 "ptype on opaque struct tagname (dynamically) 2"
9243 for not compiled with gcc.
9244 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
9245 backtrace when compiled with gcc.
d63a86f8 9246 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
9247 than always return success.
9248
9249Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
9250
9251 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
9252
9253Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
9254
9255 * gdb.base/structs.exp: Undo last change.
9256
9257Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
9258
9259 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
9260 encapsulate all the steps/nexts done during self test, starting
9261 at main, and makes them less sensitive to optimization issues.
9262 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
9263 signal handler" test.
9264 * gdb.threads/pthreads.exp: Only run this for native configs.
9265 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
9266 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
9267 tests.
9268 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
9269 for "runto test_calls(void)" test.
d63a86f8 9270
c906108c
SS
9271Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
9272
9273 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
9274 and don't expect address info in breakpoint confirmations.
9275
9276Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
9277
9278 * gdb.base/list.exp (test_forward_search): Increase timeout
9279 temporarily by 60 seconds for searching extremely long line,
9280 and then reset to old value when done. Increase expect input
9281 buffer to 10000.
9282
9283Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
9284
9285 * gdb.base/list.exp (test_forward_search): Fix to handle very
9286 long source line without overflowing expect's input buffer.
9287
9288Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
9289
9290 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
9291 "buffer_full".
9292
9293 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
9294 "buffer_full".
9295
9296 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
9297 "buffer_full".
9298
9299 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
9300 "buffer_full".
9301
9302Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
9303
9304 * configure.in (configdirs): Add gdb.threads.
9305 * configure: Regenerated with autoconf.
9306 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
9307 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
9308 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 9309
c906108c
SS
9310Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
9311
9312 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
9313
9314Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
9315
9316 * gdb.base/signals.exp (test_handle_all_print): Test separately for
9317 each signal's status in the output of "handle all print".
9318 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
9319 the \r\n sequence that immediately precedes the gdb prompt.
9320 * gdb.base/a1-selftest.exp: Save original timeout and restore
9321 after test.
9322
9323Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
9324
9325 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
9326 symbol.
9327
9328Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
9329
9330 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
9331
9332Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
9333
9334 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
9335 timeout by 60 seconds.
9336
9337Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
9338
9339 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
9340 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
9341 error return.
9342
9343Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
9344
9345 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
9346 gdb initialization, also report how long dejagnu waited. Restore
9347 old timeout before doing error return. Temporarily increase timeout
9348 by 3 minutes to allow for slow startups over heavy NFS use.
9349
9350Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
9351
9352 * lib/gdb.exp: Report timeout value for verbosity level 2.
9353 * config/gdbserver.exp: Ditto.
9354 * config/hppro.exp: Ditto.
9355 * config/mips-gdb.exp: Ditto.
9356 * config/monitor.exp: Ditto.
9357 * config/netware.exp: Ditto.
9358 * config/sim-gdb.exp: Ditto.
9359 * config/slite-gdb.exp: Ditto.
9360 * config/udi-gdb.exp: Ditto.
9361 * config/unix-gdb.exp: Ditto.
9362 * config/vx-gdb.exp: Ditto.
9363 * gdb.base/a1-selftest.exp: Ditto.
9364 * gdb.base/a2-run.exp: Ditto.
9365 * gdb.base/break.exp: Ditto.
9366 * gdb.base/corefile.exp: Ditto.
9367 * gdb.base/list.exp: Ditto.
9368 * gdb.base/recurse.exp: Ditto.
9369 * gdb.base/scope.exp: Ditto.
9370 * gdb.base/signals.exp: Ditto.
9371
9372Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9373
9374 * gdb.threads/Makefile.in (docdir): Removed.
9375
9376Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
9377
9378 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 9379 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 9380 @srcdir@.
d63a86f8 9381 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
9382 autoconf 2.5 or higher.
9383 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
9384
9385Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
9386
9387 * configure: Regenerated.
9388 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
9389 avoid name clashes with SunOS headers.
9390
9391Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
9392
9393 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
9394
9395Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
9396
9397 * gdb.base/callfuncs.exp: Finish last change -- make sure the
9398 prototype information ends up in the compiler info file.
9399
9400Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
9401
9402 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
9403 attempting to regenerate it. Eliminate use of a temporary file
9404 and just generate the info file directly. Source it immediately,
9405 for consistency of use.
9406 * gdb.base/corefile.exp: Ditto
9407 * gdb.base/exprs.exp: Ditto.
9408 * gdb.base/funcargs.exp: Ditto.
9409 * gdb.base/langs.exp: Ditto.
9410 * gdb.base/list.exp: Ditto.
9411 * gdb.base/mips_pro.exp: Ditto.
9412 * gdb.base/nodebug.exp: Ditto.
9413 * gdb.base/opaque.exp: Ditto.
9414 * gdb.base/ptype.exp: Ditto.
9415 * gdb.base/scope.exp: Ditto.
9416 * gdb.base/setvar.exp: Ditto.
9417 * gdb.base/signals.exp: Ditto.
9418 * gdb.base/whatis.exp: Ditto.
9419 * gdb.c++/templates.exp: Ditto.
9420 * gdb.c++/virtfunc.exp: Ditto.
9421 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
9422 whether or not to add -lstdc++ to the compile command line args.
9423
9424Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9425
9426 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
9427 it got fixed by the recent lookup_minimal_symbol_by_pc change.
9428 Increase timeout, a lot of single stepping might be needed if the
9429 target has no hardware watchpoints.
9430
9431Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
9432
9433 * gdb.base/break.exp: Ignore compiler warnings when compiling
9434 break.c.
9435 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
9436 * gdb.base/default.exp: Add h8300 xfails. Handle messages
9437 from remote-sim.
9438 * gdb.base/exprs.exp: Add h8300 xfails.
9439 * gdb.base/funcargs.exp: Likewise.
9440 * gdb.base/nodebug.exp: Likewise.
9441 * gdb.base/printcmds.exp: Likewise.
9442 * gdb.base/ptype.exp: Likewise.
9443 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
9444 h8300 xfails.
d63a86f8 9445 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
9446 on the h8300.
9447 * gdb.base/funcargs.c: Explicitly make last constant argument to
9448 call_after_alloca_subr an unsigned long type.
9449 * gdb.base/return.c: Include stdio.h.
9450
9451Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
9452
9453 * config/abug.exp: New file for the older Motorola Bug monitor
9454 that runs on the mvme13x series VME boards.
9455 * config/monitor.exp: Use the new config array for target settings
9456 if they exist.
9457
9458Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
9459
9460 * sim-gdb.exp: Make the SH simulator allocate less space when
9461 it is targeted.
9462
9463Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
9464
9465 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
9466 test.
9467
9468Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
9469
9470 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
9471 "rs6000-*-*" for "list function in include file" when gcc compiled.
9472 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
9473 for "p ctable1[120]".
9474 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
9475 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
9476 Remove setup_xfail for "rs6000-*-*" for
9477 "print 'scope0.c'::filelocal before run".
9478 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
9479 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
9480 since some compilers don't allow both options to be given
9481 on the same command line. Create object file and move it.
d63a86f8 9482
c906108c
SS
9483Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
9484
9485 * gdb.base/corefile.exp: Always regenerate the core file, since
9486 we always regenerate the coremaker program. Detect special case
9487 where registers cannot be read from core file.
d63a86f8 9488
c906108c
SS
9489Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
9490
9491 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
9492 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
9493 * gdb.c++/templates.exp: Only match on basename of file since
9494 some formats like xcoff don't encode directory information.
9495 * gdb.stabs/weird.exp: Use the right sed script for powerpc
9496 and rs6000 AIX xcoff targets.
9497 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
9498 * configure: Regenerate.
9499 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
9500 here, rather than in distclean.
d63a86f8 9501
c906108c
SS
9502Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
9503
9504 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
9505 defined, and use it to compile the test case with -O2. The
9506 native compilation still uses no optimization.
9507 * gdb.base/mips_pro.c: Remove inline assembly code since
9508 it is compiled PIC by default, which results in assembler
9509 warnings that make the testsuite think the compilation
9510 was unsuccessful.
9511
9512Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
9513
9514 * gdb.c++/misc.exp: Add note to message for
9515 "print s.a for foo struct" that this is a known gcc 2.7.2
9516 and earlier bug.
9517
9518Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
9519
9520 * gdb.base/break.exp: Fix pattern for matching "Delete all
9521 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
9522 setup_xfail for deleting all breakpoints test. Fix various
9523 timeout messages to include "(timeout)".
9524 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
9525 for "p t_float_values2(3.14159,float_val2)".
9526 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
9527 for "continue to call2g" when gcc compiled.
9528 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
9529 "up to foo in langs.exp", "show language at foo in langs.exp",
9530 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
9531 and "show language at fsub in langs.exp".
9532 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
9533 "list line 1 in include file", "list message for lines past EOF",
9534 "list function in include file", "list list0.h:foo", and
9535 "list filename:function; nonexistant function".
9536 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
9537 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
9538 and "ptype t_char_array" to be for native cc only.
d63a86f8 9539
c906108c
SS
9540Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
9541
d63a86f8 9542 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
9543 setup_xfail for "print coremaker_bss", "print coremaker_ro",
9544 "print func2::coremaker_local", and "backtrace in corefile.exp".
9545
9546Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
9547
9548 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
9549 "bt in signals.exp". This problem only appears when running
9550 the testsuite, and then only intermittently.
9551
9552Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
9553
9554 * gdb.base/return.exp (return_tests): Differentiate between
9555 two tests of continuing.
9556
9557Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
9558
9559 * */Makefile.in (maintainer-clean): Remove config.log.
9560 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
9561 * gdb.c++/Makefile.in (PROGS): Add inherit.
9562 (clean): Remove *.ci.
9563
9564Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
9565
9566 * gdb.c++/misc.cc: Add test code from Mike Stump.
9567 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
9568
9569Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
9570
9571 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
9572 to "alpha-*-osf2*" and add comment.
9573 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
9574 setup_xfail for "step over execarg initialization" and
9575 "step over corearg initialization".
9576 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
9577 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
9578 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
9579 gcc compiled for "print coremaker_bss", "print coremaker_ro",
9580 "print func2::coremaker_local", and "backtrace in corefile.exp".
9581 * gdb.base/signals.exp: Build and source signals.ci.
9582 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
9583 to be for gcc only.
9584 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 9585
c906108c
SS
9586Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9587
9588 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
9589 Feb 3 procfs.c change.
9590
9591Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
9592
9593 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
9594
9595Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
9596
9597 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
9598 from dejagnu's apparent default of 10 seconds, which gives random
9599 results when running the tests over NFS on moderately loaded systems.
9600 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
9601
9602Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
9603
9604 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
9605 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
9606 result reports.
9607
9608Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
9609
9610 * configure.in (CY_AC_PATH_TCLH): Remove.
9611 * configure: Regenerate.
9612
9613Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
9614
9615 * gdb.c++/Makefile.in (clean): Add missing '{'.
9616
9617Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
9618
9619 * lib/gdb.exp: Provide a default value for noinferior.
9620
9621 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
9622 Load libgloss.exp.
9623
9624Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
9625
9626 * gdb.disasm/hppa.exp: Compile directly into an executable, use
9627 the executable, not the .o to run the tests from.
9628
9629Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
9630
9631 * gdb.base/break.exp: Don't test for program exit or exit status
9632 if $noresults if nonzero.
9633 * gdb.base/langs.exp: Likewise.
9634 * gdb.base/watchpoint.exp: Likewise.
9635
9636 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
9637 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
9638 trying to compile the testcase.
9639
9640Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
9641
9642 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
9643 * gdb.base/signals.exp (continue to handler): Likewise.
9644
9645Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
9646
9647 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
9648
9649 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
9650
9651Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
9652
9653 * gdb.base/corefile.exp: Recognize "not found" as failure
9654 when trying to determine if a core file was generated.
9655 If no core file was generate the first time, try again without
9656 the ulimit -c to work around braindamaged shells.
9657
9658Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
9659
9660 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
9661 [] tests with "test" and enclose string in quotes.
9662 * gdb.stabs/configure: Rebuild
d63a86f8 9663
c906108c
SS
9664Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
9665
9666 Changes in sync with expect:
9667 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
9668 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
9669 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
9670 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
9671 argument to AC_REQUIRE.
9672 * configure: Regenerated.
9673
9674Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
9675
9676 * gdb.base/corefile.exp: When generating a core, discard any
9677 error messages about ulimit not found and the "core dumped"
9678 message from the shell that runs the coredumper.
9679
9680Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
9681
9682 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
9683
9684 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
9685 which sed script to run. Expect failure for v_comb test
9686 on PA targets too.
d63a86f8 9687
c906108c
SS
9688Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
9689
9690 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
9691 "print func2::coremaker_local" and for "backtrace in corefile.exp"
9692
9693Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
9694
9695 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
9696 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
9697 "sparc-sun-solaris*" xfails for "p v_comb".
9698 * lib/gdb.exp (default_gdb_start): Fix typo.
9699 * gdb.base/corefile.exp: Allow "Core was generated by ..."
9700 messages to not include the full program name that caused
9701 the core dump since some systems (such as solaris) apparently
9702 truncate this path to about 80 characters.
9703 When generating a core file first try increasing the core file
9704 size limit to unlimited since some systems may default it to
9705 zero, and it is harmless to try it. Move the test for failing
9706 to generate a core file to where it will actually get executed.
9707 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
9708 new gdb result from g++ debug info improvements and make old
9709 pattern obsolescent. Also account for size_t differences
9710 (may be int or long).
9711 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
9712 initialization before function call is placed in the delay slot
9713 and thus appears to be skipped over by commands such as "next".
9714
9715Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
9716
9717 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
9718
9719Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
9720
9721 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
9722 input source file; fix code to compile test to deal with this
9723 convention.
9724 * gdb.c++/*.exp: Likewise.
9725
9726Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
9727
9728 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
9729 "bt in signals.exp".
9730
9731Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
9732
9733 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
9734 "step over execarg initialization" and
9735 "step over corearg initialization".
9736
9737Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
9738
9739 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
9740 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
9741
9742Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
9743
9744 From Rob Savoye (rob@poseidon.cygnus.com)
9745 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
9746 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
9747 configure.in}, gdb.disasm/{Makefile.in, configure.in},
9748 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
9749 configure.in}: Major reworking for autoconfig.
9750 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
9751 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
9752 New files.
9753 * config/unix-gdb.exp: Make GDB global.
9754 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
9755 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
9756 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
9757 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
9758 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
9759 term.exp, twice.exp, watchpoint.exp, whatis.exp},
9760 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
9761 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
9762 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
9763 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
9764 pr-8136.exp, result.exp, string.exp, tuples.exp},
9765 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
9766 to returns as necessary, arrange for test to compile own testcase
9767 executable.
9768 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 9769
c906108c
SS
9770Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
9771
9772 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
9773 clear_xfail at end of test which might not call either pass or fail.
9774 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
9775 "backtrace through signal handler".
9776
9777Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9778
9779 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
9780 continuing from a job control stop signal.
9781 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
9782
9783Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
9784
9785 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
9786 * gdb.base/corefile.exp: Likewise.
9787 * gdb.base/funcargs.exp: Likewise.
9788
9789Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
9790
9791 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
9792 * config/monitor.exp: Add support for setting baud rate.
9793
9794Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
9795
9796 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
9797 i*86-*-linux* xfails for "backtrace through signal handler".
9798 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
9799 "print func2::coremaker_local".
9800 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
9801 alpha-dec-osf2* xfail for
9802 "delete all breakpoints when none".
9803
9804Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
9805
9806 * gdb.base/break.exp: Change test that deletes all breakpoints
9807 when no user breakpoints are installed. A post 4.15 change
9808 causes gdb to no longer prompt in this case.
9809
9810Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
9811
9812 * gdb.base/return.exp (return_tests): Change xfail for test
9813 "correct value returned double test" to stop xfailing at
9814 Solaris 2.5. Apparently the bug has been fixed.
9815
9816Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
9817
9818 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
9819 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
9820
9821Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
9822
9823 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
9824 * gdb.disasm/hppa.s: Corresponding changes.
9825
9826Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
9827
9828 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
9829 makefile fragment.
9830 * config/mt-hpux: Deleted.
9831
9832Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
9833
d63a86f8 9834 * Many files: When warning about suppressed tests due to a
c906108c
SS
9835 nonexistant test binary, avoid incrementing the warning count.
9836
9837Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
9838
9839 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 9840
c906108c
SS
9841Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9842
9843 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
9844 "sparc-*-solaris2*".
9845
9846Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9847
9848 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
9849 Add global and local variables and initialize them.
9850 * gdb.base/corefile.exp: Test correct mapping of corefile sections
9851 by printing variables. Remove rs6000 and powerpc xfails, BFD now
9852 extracts the file name and terminating signal from the core file.
9853 * TODO: Remove note about tests for correct mapping of corefile.
9854 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
9855 from optimizing it away.
9856 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
9857 handles common blocks.
9858
9859Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
9860
9861 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
9862 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
9863
9864Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
9865
9866 * Makefile.in (maintainer-clean): New target, synonym for
9867 realclean.
9868 * gdb.base/Makefile.in (maintainer-clean): Likewise.
9869 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
9870 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
9871 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
9872 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
9873 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
9874
9875Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
9876
9877 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
9878 xfails when not gcc compiled for "print foo::funclocal".
9879 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
9880 "print foo::funclocal at foo",
9881 "print 'scope1.c'::foo::funclocal at foo",
9882 "print foo::funclocal_bss at foo",
9883 "print 'scope1.c'::foo::funclocal_bss at foo",
9884 "print foo::funclocal_ro at foo",
9885 "print 'scope1.c'::foo::funclocal_ro at foo",
9886 "print bar::funclocal at foo" and
9887 "print 'scope1.c'::bar::funclocal at foo".
9888 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
9889 gcc compiled for "print foo::funclocal at bar".
9890 Expand all messages to ensure that they identify that
9891 the test is at bar().
9892 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
9893 gcc compiled for:
9894 "ptype on opaque struct pointer (statically)",
9895 "ptype on opaque struct tagname (statically)",
9896 "ptype on opaque struct pointer (dynamically) 1",
9897 "ptype on opaque struct tagname (dynamically) 1",
9898 "ptype on opaque struct pointer (dynamically) 2" and
9899 "ptype on opaque struct tagname (dynamically) 2
9900 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
9901 gcc compiled for:
9902 "p datalocal"
9903 "whatis datalocal",
9904 "ptype datalocal",
9905 "p bsslocal",
9906 "whatis bsslocal", and
9907 "ptype bsslocal".
9908 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
9909 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
9910 when not gcc compiled.
9911 * gdb.base/funcargs.exp (float_and_integral_args): Add
9912 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
9913 compiled.
9914 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
9915 "backtrace from call6a" when not gcc compiled.
9916 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
9917 "backtrace from call7a" when not gcc compiled.
9918 * gdb.base/callfuncs.exp (do_function_calls):
9919 Add "hppa*-*-hpux*" xfail when not gcc compiled for
9920 "p t_char_array_values(char_array_val2,char_array_val1)",
9921 "p t_char_array_values(char_array_val1,char_array_val2)",
9922 "p t_char_array_values("carray 1","carray 2")",
9923 "p t_char_array_values("carray 1",char_array_val2)",
9924 "p t_char_array_values(char_array_val1,"carray 2")",
9925 "p sum_args(1,{2})",
9926 "p sum_args(2,{2,3})",
9927 "p sum_args(3,{2,3,4})",
9928 "p sum_args(4,{2,3,4,5})"
9929 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
9930 "backtrace in corefile.exp" when not gcc compiled.
9931
9932Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9933
9934 * gdb.base/signals.exp: Rewrite `handle all print' test as
9935 a procedure. Accept blanks or TABs as whitespace, increase
9936 timeout and expect input buffer size for the large output
9937 from the command. Remove "i*86-*-bsdi2.0" xfail.
9938
9939Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9940
9941 * gdb.base/setvar.exp: Add new testcases for truncation when
9942 assigning invalid values to bitfields.
9943
9944Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
9945
d63a86f8 9946 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
9947 mips-sgi-irix* xfail for
9948 "call inferior func with struct - returns char *"
9949 and fix test so that an optional (unsigned char *) cast is
9950 accepted in the result.
9951
9952Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
9953
9954 * gdb.base/funcargs.exp (float_and_integral_args): Remove
9955 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
9956 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
9957 * gdb.base/signals.exp: Remove duplicate "handle all print" test
9958 that accidentally got checked in.
9959
9960Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
9961
d63a86f8 9962 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
9963 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
9964 compiled test.
9965 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
9966 Add mips-sgi-irix5* xfail for not gcc compiled.
9967 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
9968 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
9969 "p top", "whatis top", "p middle", and "whatis middle".
9970 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
9971 "whatis signed char" for not gcc compiled.
9972 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
9973 "set variable signed char=-1 (-1)" and
9974 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
9975 * gdb.base/funcargs.exp (float_and_integral_args):
9976 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
9977 Add mips-sgi-irix* xfail when not gcc compiled for
9978 "continue to call2b".
9979 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
9980 "continue to call2g".
9981 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
9982 "backtrace from call6a"
9983 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
9984 "backtrace from call7k".
9985 Add mips-sgi-irix5* xfail when not gcc compiled for
9986 "backtrace from call7a".
9987 (localvars_after_alloca): Fix gdb_test cmds for
9988 "print * after runto ...".
9989 Remove rs6000-*-* xfails for
9990 "print i after runto localvars_after_alloca" and
9991 "print l after runto localvars_after_alloca"
9992 for all compilers.
9993 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
9994 when not compiled with gcc, for:
9995 "print signed char == (minus)",
9996 "print signed char != (minus)",
9997 "print signed char < (minus)",
9998 "print signed char > (minus)".
9999 * gdb.base/callfuncs.exp (do_function_calls):
10000 Add mips-sgi-irix* xfail, when compiled with native compiler, for
10001 "call inferior func with struct - returns char *".
d63a86f8 10002 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
10003 "correct value returned double test" to include Solaris 2.4.
10004 * gdb.base/funcargs.exp (float_and_integral_args):
10005 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 10006
c906108c
SS
10007Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10008
10009 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
10010 enumeration bitfields if compiling with GNU C.
10011 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
10012 to empty' prompt.
10013
10014Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
10015
10016 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
10017 test for PRO targets.
10018
10019 * gdb.base/funcargs.exp: Avoid ever setting more than 8
10020 breakpoints in the inferior at any given time by making
10021 two groups of breakpoints for call2*, call6* and call7*
10022 tests.
10023
10024Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10025
10026 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
10027 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
10028 from optimizing it away.
10029 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
10030 "call inferior func with struct".
10031
10032Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
10033
10034 * configure.in: Only configure gdb.chill for particular targets.
10035
10036Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
10037
10038 * gdb.base/Makefile.in: Add action to .c.o transformation
10039 rule that generates a .ci file for each .o file and remove
10040 explicit .c.o rules except for callfuncs.o.
10041 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
10042 generates a .ci file for each .o file and remove explicit
10043 .cc.o rules.
10044 (clean): Remove *.tmp *.ci files.
10045 (EXECUTABLES): Remove templ-info.exp.
10046 * gdb.base/compiler.c: New file.
10047 * gdb.c++/compiler.cc: New file
10048 * gdb.base/scope.exp: Source gdb.base/scope.ci.
10049 Change rs6000-*-* xfail for
10050 "print 'scope0.c'::filelocal_ro" and
10051 "print 'scope1.c'::filelocal" and
10052 "print 'scope1.c'::filelocal_bss" and
10053 "print 'scope1.c'::filelocal_ro" and
10054 "print 'scope1.c'::foo::funclocal" and
10055 "print 'scope1.c'::foo::funclocal_ro" and
10056 "print 'scope1.c'::bar::funclocal" and
10057 "print 'scope0.c'::filelocal_ro" and
10058 "print 'scope1.c'::filelocal at foo" and
10059 "print 'scope1.c'::filelocal_bss at foo" and
10060 "print 'scope1.c'::filelocal_ro at foo" and
10061 "print 'scope1.c'::foo::funclocal at foo" and
10062 "print 'scope1.c'::foo::funclocal_bss at foo" and
10063 "print 'scope1.c'::foo::funclocal_ro at foo" and
10064 "print 'scope1.c'::bar::funclocal at foo" and
10065 "print 'scope0.c'::filelocal_ro" and
10066 "print 'scope1.c'::filelocal" and
10067 "print 'scope1.c'::filelocal_bss" and
10068 "print 'scope1.c'::filelocal_ro" and
10069 "print 'scope1.c'::foo::funclocal" and
10070 "print 'scope1.c'::foo::funclocal_bss" and
10071 "print 'scope1.c'::foo::funclocal_ro" and
10072 "print 'scope1.c'::bar::funclocal" and
10073 "print 'scope1.c'::bar::funclocal_bss"
10074 to only be xfail'd when not compiled with gcc.
d63a86f8 10075 Add rs6000-*-* xfail for
c906108c
SS
10076 "print 'scope0.c'::filelocal_bss before run"
10077 when compiled with gcc.
10078 (test_at_main): Add rs6000-*-* xfail for
10079 "print filelocal_ro in test_at_main"
10080 when compiled with gcc.
10081 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 10082 Add rs6000-*-aix* xfail for
c906108c
SS
10083 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
10084 "ptype t_char_array", not compiled with gcc.
10085 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
10086 xfail for "list foo (in include file)" when gcc compiled.
10087 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
10088 (integral_args): Add rs6000-*-* xfail for
10089 "run to call0a" if not compiled with gcc.
10090 (unsigned_integral_args): Add rs6000-*-* xfail for
10091 "run to call1a" if not compiled with gcc.
10092 (float_and_integral_args): Add rs6000-*-* xfail for
10093 "run to call2a" if not compiled with gcc and for
10094 "continue to call2b" for any compiler.
10095 Add rs6000-*-* xfail to
10096 "print f1 after run to call2a" for gcc compiled.
10097 (discard_and_shuffle): Add rs6000-*-* xfail for
10098 "run to call6a".
10099 (shuffle_round_robin): Add rs6000-*-* xfail for
10100 "backtrace from call7a" if not compiled with gcc.
10101 Add rs6000-*-* xfail for
10102 "backtrace from call7b" if compiled with gcc.
10103 (call_after_alloca): Add rs6000-*-* xfail for
10104 "print c in call_after_alloca" and
10105 "print s in call_after_alloca" and
10106 "backtrace from call_after_alloca_subr"
10107 if not compiled with gcc.
10108 (localvars_in_indirect_call): Add rs6000-*-* xfail for
10109 "print c in localvars_in_indirect_call" and
10110 "print c in localvars_in_indirect_call" and
10111 "backtrace in indirectly called function" and
10112 "stepping into indirectly called function"
10113 if not compiled with gcc.
10114 (localvars_after_alloca): Add rs6000-*-* xfail for
10115 "print c after runto localvars_after_alloca" and
10116 "print s after runto localvars_after_alloca" and
10117 "print i after runto localvars_after_alloca" and
10118 "print l after runto localvars_after_alloca"
10119 for all compilers.
10120 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
10121 than whatis-info.exp.
10122 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
10123 than opaque-info.exp.
10124 Setup rs6000-*-* xfail for
d63a86f8 10125 "ptype on opaque struct pointer (statically)" and
c906108c
SS
10126 "ptype on opaque struct pointer (dynamically)" when
10127 not compiled with gcc.
10128 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
10129 rather than callf-info.exp.
10130 (do_function_calls): Add clear_xfail for rs6000-*-* for
10131 "p t_float_values2(3.14159,float_val2)". Seems to work
10132 fine there, both with xlc and gcc. Need to find out what
10133 it is doing right and fix other platforms.
10134 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
10135 "call inferior func with struct - returns int",
10136 "call inferior func with struct - returns long",
10137 "call inferior func with struct - returns float",
10138 "call inferior func with struct - returns double",
10139 "call inferior func with struct - returns char *",
10140 but only if not gcc compiled (presumes xlc compiled).
10141 Change rs6000-*-* xfails for
10142 "call inferior func with struct - returns char" and
10143 " call inferior func with struct - returns short" to only
10144 xfail if not using gcc.
10145 (clean mostlyclean): Remove *.ci and *.tmp files.
10146 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
10147 than templ-info.exp.
10148 * gdb.base/langs.exp: Source gdb.base/langs.ci.
10149 Add rs6000-*-* xfail for "up to foo in langs.exp"
10150 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
10151 when not gcc compiled.
d63a86f8 10152
c906108c
SS
10153Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10154
10155 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
10156 * gdb.base/corefile.exp: Likewise.
10157 * gdb.base/list.exp: Likewise.
10158 * gdb.base/scope.exp: Likewise.
10159 * gdb.base/siganls.exp: Likewise.
10160
10161 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
10162 compiler output.
10163 * gdb.base/whatis.exp: Likewise.
10164
10165Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
10166
10167 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
10168 failure (opcode table has been fixed to match reality).
10169
10170Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
10171
10172 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
10173 "call inferior func with struct - returns char",
10174 "call inferior func with struct - returns short"
10175
10176 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
10177 "print 'scope0.c'::filelocal at main",
10178 "print 'scope0.c'::filelocal_bss in test_at_main",
10179 "print 'scope0.c'::filelocal at foo",
10180 "print 'scope0.c'::filelocal_bss in test_at_foo",
10181 "print 'scope0.c'::filelocal at bar",
10182 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 10183
c906108c
SS
10184 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
10185 in source file 1". This bug seems to have been fixed with both
10186 gcc and native cc (was native assembler bug?).
10187
10188Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
10189
10190 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
10191 "backtrace through signal handler" to "i*86-*-sysv4*".
10192 * gdb.base/signals.exp: Add xfail for "'next' behaved as
10193 continue" case. Add "known SVR4 bug" to fail message.
10194 Add "i*86-*-bsdi2.0" xfail for "handle all print".
10195 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
10196 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
10197 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
10198 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
10199 "up to foo in langs.exp", "show language at foo in
10200 langs.exp", "up to cppsub_ in langs.exp", "show
10201 language at cppsub_ in langs.exp", "up to fsub in
10202 langs.exp", and "show language at fsub in langs.exp".
10203 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
10204 "bactrace in corefile.exp".
10205 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
10206 "call inferior function with struct - returns float" and
10207 "call inferior function with struct - returns double".
d63a86f8 10208
c906108c
SS
10209Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
10210
10211 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
10212 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
10213 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
10214 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
10215
10216Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
10217
10218 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
10219 (or overriden) "CHILL" macro rather then bare "gcc".
10220 Also look for ../../gcc/xgcc since that is what we will
10221 actually need, not "Makefile". Remove following assignment
10222 of CHILL to CHILL_FOR_TARGET because that results in
10223 recursive definition.
10224
10225Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
10226
10227 * gdb.base/corefile.exp: Change xfail for backtrace in
10228 corefile.exp from linuxaout to all linux.
10229 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
10230 cases where we miss the breakpoint at the signal handler
10231 for some reason. Setup xfail for linuxoldld/linuxaout and
10232 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
10233 hitting SIGURG breakpoint.
10234 * gdb.base/signals.exp: Setup xfail for "next" acting like
10235 continue to add linuxoldld. Setup xfail for all linux for
10236 "next to handler in signals_tests_1", "backtrace in
10237 signals_tests_1", "continue to func1", "pass SIGUSR1",
10238 and continue to handler".
10239
10240Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
10241
10242 * Update all FSF addresses except those in COPYING* files.
10243
10244Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
10245
10246 * gdb.base/a2-run.exp: Change messages to be more explicit about
10247 the status of args, and quote binfile in results.
10248
10249Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
10250
10251 * gdb.base/callfuncs.exp: Add tests for passing structs to
10252 inferior functions and return various types.
10253 * gdb.base/callfuncs.c: Add functions to receive a struct
10254 and return a member of the struct, in various types.
10255
10256Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10257
10258 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
10259
10260Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
10261
10262 * config/vxworks29k.exp: New file, sources vxworks.exp.
10263
10264Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10265
10266 * config/gdbremote.exp: New file. Testing framework using
10267 gdbserver.
10268
10269Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
10270
10271 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
10272 "call function when asleep" and "send end of file".
10273 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
10274 for "backtrace in corefile.exp".
10275 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
10276 for "backtrace through signal handler".
10277 * gdb.base/corefile.exp: Make sure we actually generate a core file
10278 before trying the core tests. Some systems allow the user to suppress
10279 generation of core files and default to that (linux for example).
10280 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
10281 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
10282
10283Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10284
10285 * gdb.threads: New directory with some crude multi-threaded
10286 gdb tests (step.exp and step2.exp).
10287 * config/mt-lynx (STEP_EXECUTABLE): Define.
10288 (THREADFLAGS): Define.
10289
10290Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
10291
10292 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
10293
10294 * gdb.base/signals.exp: Disable whole file for lynx until
10295 further notice.
10296
10297 * gdb.base/signals.exp: xfail test where "next" acts like
10298 "continue" for lynx.
10299
10300 * gdb.base/interrupt.exp: xfail test for calling function while
10301 inferior is asleep for lynx.
10302
10303 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
10304 than one cr-lf after each command.
10305
10306Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10307
10308 * configure.in: Reinstate setting of stabsdirs variable, fix
10309 typo in setting up configdirs for native builds.
10310
10311 * gdb.base/return.exp: Fix typo in return double test.
10312 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
10313 compiler from optimizing them away.
10314
10315Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
10316
10317 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
10318 sequences to be echo'd by gdb when using gdb_test.
10319 * gdb.chill/chexp.exp: Likewise.
10320 * gdb.fortran/exprs.exp: Likewise
10321
10322Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
10323
10324 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
10325 after the inferior gdb has started.
10326
10327 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
10328 after each command.
10329 * gdb.base/funcargs.exp: Likewise.
10330 * gdb.base/gdbvars.exp: Likewise.
10331 * gdb.base/interrupt.exp: Likewise.
10332 * gdb.base/list.exp: Likewise.
10333 * gdb.base/watchpoint.exp: Likewise.
10334 * gdb.c++/demangle.exp: Likewise.
10335 * gdb.c++/inherit.exp: Likewise.
10336 * gdb.chill/chexp.exp: Likewise.
10337 * gdb.fortran/exprs.exp: Likewise.
10338
10339 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
10340 test if we can't handle IO to/from the inferior.
10341
10342 * gdb.c++/misc.exp: Always check for a program already being
10343 started after sending a "run" command to gdb.
10344
10345 * gdb.base/twice.exp: Start with a fresh gdb.
10346
10347 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
10348 only depend on gdb's expression code, not the chill runtime.
10349
10350 * gdb.base/return.c: Put return values into variables so we
10351 can have gdb print them rather than depending on the program
10352 to print them.
10353 * gdb.base/return.exp: Corresponding changes.
10354
10355 * lib/gdb.exp: Provide default value for noinferiorio.
10356 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
10357 the inferior.
10358
10359 * gdb.base/break.exp: Always check for a program already being
10360 started after sending a "run" command to gdb.
10361 (text_next_with_recursion): Don't check the output from the
10362 program's printf statement. Instead just make sure the program
10363 exited.
10364
10365 * gdb.base/commands.exp: Protect tests which need arguments with
10366 $noargs conditionals.
10367
10368Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10369
10370 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
10371 of structure member arrays to match gdb/valops.c:value_addr change.
10372
10373Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
10374
10375 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
10376 cases.
10377
10378Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
10379
10380 * configure.in (configdirs): Remove gdb.chill from default list
10381 of subdirs and then add it back in only if doing a native build.
10382 The current chill compiler does not yet work in any cross build.
10383 * Revert all signal changes from Jul 6.
10384 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
10385 for sh-hms targets, allowing these tests to link, with no other
10386 changes. Testing is suppressed by setting "nosignals" in site.exp.
10387
10388Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
10389
10390 * configure.in (signaldirs): Define and add to configdirs for all
10391 targets except some specific ones that are known to not support signals.
10392 Also clean up formatting.
10393 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
10394 (signals, sigall): Remove rules to build.
10395 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
10396 Moved to new gdb.signals directory.
10397 * gdb.signals: New test directory.
10398 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
10399 signals.c signals.exp}: New or moved files.
10400
10401Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
10402
10403 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
10404
10405Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
10406
10407 * gdb.base/return.exp: Xfail `return double' test failure
10408 on at least Solaris 2.3 and handle future/past versions on
10409 a case by case basis as appropriate. Also update message
10410 to include i*86 failures.
10411
10412Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10413
10414 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
10415
10416 * lib/gdb.exp: Fix comment which erroneously identified
10417 gdb_file_cmd as gdb_load (the 19 May change was in fact to
10418 gdb_file_cmd not gdb_load).
10419 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
10420
10421 * gdb.base/setvar.exp: Make test names consistent between pass and
10422 fail cases. Use gdb_test more.
10423
10424Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10425
10426 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
10427
10428Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10429
10430 * gdb.base/help.exp: Fix expected help string for `show commands'.
10431
10432Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
10433
10434 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
10435
10436 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
10437 of a text section.
10438
10439Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
10440
10441 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
10442 that loop eventually terminates. Fix Connection refused logic so
10443 that testsuite will expire nicely.
10444
10445Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
10446
10447 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
10448 config/rom68k.exp: New tcl glue for the appropriate monitors.
10449 These all just end up calling monitor.exp.
10450 * config/monitor.exp (gdb_target_monitor): Handle `Connection
10451 refused' by retrying. Cleanup some timeout issues.
10452 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
10453 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
10454 callers don't have to set/restore global timeout variable.
10455
10456 * The following set of changes centralizes management of the global
10457 timeout variable. This way, it can be set in one target dependent
10458 place instead of dozens of places scattered throughout the test suite.
10459 If you need to lengthen a timeout, then you should either set timeout
10460 in one of the config/{target}.exp files, or multiply it by a factor.
10461 Setting it to an absolute value is always going to lose for some
10462 targets.
10463 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
10464 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
10465 * gdb.base/funcargs.exp: Don't set timeout.
10466 * gdb.base/list.exp (test_forward_search): Only use local timeout.
10467 * gdb.base/printcmds.exp (test_print_string_constants
10468 test_print_array_constants): Don't set timeout.
10469 * gdb.base/ptype.exp: Don't set timeout.
10470 * gdb.base/recurse.exp: Don't set timeout.
10471 * gdb.base/return.exp: Don't set timeout.
10472 * gdb.base/watchpoint.exp: Don't set timeout.
10473 * gdb.c++/classes.exp (do_tests): Don't set timeout.
10474 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
10475
10476Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
10477
10478 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
10479
10480Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10481
10482 * lib/gdb.exp: Disable chill tests for irix5.
10483
10484Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10485
10486 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
10487 each test pass or fail.
10488
10489Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10490
10491 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
10492 xlc not gcc.
10493
10494Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
10495
10496 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
10497
10498Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
10499
10500 * config/est.exp: Fix copyright and comments. Remove dead code.
10501 Use targetname, serialport and baud variables instead of fixed
10502 constants.
10503 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
10504 * config/cpu32bug.exp: New file to support cpu32bug monitors.
10505
10506Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10507
10508 * gdb.base/watchpoint.exp: Don't run
10509 test_watchpoint_triggered_in_syscall for sunos.
10510
10511Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10512
10513 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
10514 they don't seem to exist. Do include stdio.h.
10515
10516Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10517
10518 * gdb.base/a1-selftest.exp: Add alpha xfail.
10519
10520Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10521
10522 * gdb.base/watchpoint.c (main): Prompt before calling read().
10523 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10524 Revise accordingly. Remove cruft about sending "123" several
10525 times, until it gets noticed. Clean up the "print buf[0]" stuff
10526 so that it passes or fails, and waits for prompts in the usual way.
10527
10528Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10529
10530 * gdb.base/recurse.exp: Fix comment.
10531
10532 * TODO: Remove item about printing variables in nodebug.exp. Add
10533 item about enabling tests which are only run on some targets.
10534
10535 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
10536 fail, make test names unique, use new gdb_test convention
10537 regarding pattern, use gdb_test more, etc.).
10538
10539 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
10540 fail, make test names unique, etc.).
10541
10542Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10543
10544 * gdb.base/nodebug.c: Change return type of top and middle to
10545 short.
10546 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
10547 are fixed by the recent mdebugread.c changes. Allow `short ()'
10548 as type for top and middle.
10549
10550Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10551
10552 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
10553 nearly as I can tell, the whole thing was an accident in Stu's
10554 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
10555 to replace a send/expect pair with gdb_test, but ended up only
10556 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
10557 of 30 Mar 1995 took care of it, but left this vestigial comment
10558 which I am now nuking.
10559
10560Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10561
10562 * gdb.base/break.exp: Look for different line number for
10563 breakpoint at main depending on usestubs.
10564
10565Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10566
10567 * gdb.base/list.exp: Adjust some alternate expect patterns to
10568 match recent list0.c change. Add alternate expect pattern for
10569 output from `list default lines around main' for optimizing
10570 compilers.
10571
10572Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10573
10574 * lib/gdb.exp: If nosignals is not set, set it to 0.
10575
10576Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
10577
10578 * config/slite-gdb.exp: Responds to load symbol table prompt.
10579 * gdb.base/break.exp: Adjust line number, fix rerun.
10580 * gdb.base/langs0.c: Add #ifdef usestubs.
10581
10582Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
10583
10584 * gdb.base/list.exp: Adjust line contents after adding new lines in
10585 list0.c. Also fix a syntax error.
10586
10587 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
10588 * gdb.base/break.exp: ditto.
10589 * gdb.base/list.exp: ditto.
10590 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
10591 * gdb.base/run.c: ditto.
10592 * gdb.base/list0.c: ditto.
10593 * gdb.base/funcargs.c: ditto.
10594
10595Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
10596
10597 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
10598 $targetname, $serialport and $baud instead of hardwired variables.
10599 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
10600 target doesn't support signals.
10601
10602Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
10603
10604 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
10605
10606Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10607
10608 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
10609 Don't rely on the value of an auto variable before it has been
10610 initialized. Use gdb_test more.
10611
10612Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10613
10614 * lib/gdb.exp (default_gdb_version): A version number must start
10615 with a digit, but other than that contains all characters up to
10616 the first whitespace character.
10617
10618Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10619
10620 * gdb.base/commands.exp (breakpoint_command_test): New tests.
10621
10622Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10623
10624 * gdb.c++/*.exp: Warn if executable does not exist. The original
10625 reason for skipping the warning was that configure.in sometimes
10626 intentionally skipped building the executables but the tcl code
10627 had no way of knowing. That (a) was always bogus with respect to
10628 error handling, (b) is no longer true (right now there is no way
10629 to skip C++ tests).
10630
10631 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
10632
10633Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10634
10635 * gdb.base/list.exp: Add expect patterns for output from
10636 SunPRO compiled executables.
10637 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
10638 types.
10639
10640Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10641
10642 * gdb.base/break.exp (test_next_with_recursion): Accept any line
10643 number (we are already testing that the correct source line text
10644 gets printed).
10645
10646 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
10647 that is what is intended, but something needed to be done to get
10648 sunos4 native working again.
10649
10650 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
10651
10652 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
10653 apparently went with a (very) old xfail.
10654
10655Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
10656
10657 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
10658 runto_main is a proc in gdb.exp that will do 'step' for target use
10659 stubs.
10660 * gdb.base/exprs.exp: ditto.
10661 * gdb.base/interrupt.exp: ditto.
10662 * gdb.base/opaque.exp: ditto.
10663 * gdb.base/printcmds.exp: ditto.
10664 * gdb.base/ptype.exp: ditto.
10665 * gdb.base/scope.exp: ditto.
10666 * gdb.base/setvar.exp: ditto.
10667 * gdb.base/signals.exp: ditto.
10668 * gdb.base/twice.exp: ditto.
10669 * gdb.c++/classes.exp: ditto.
10670 * gdb.c++/inherit.exp: ditto.
10671 * gdb.c++/templates.exp: ditto.
10672 * gdb.base/break.exp: no run and hit main for stubs. Change line
10673 numbers for breakpoints and info breakpoint.
10674 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
10675 breakpoint().
10676 * gdb.base/callfuncs.c: ditto.
10677 * gdb.base/exprs: ditto.
10678 * gdb.base/interrupt.c: ditto.
10679 * gdb.base/opaque0.c: ditto.
10680 * gdb.base/printcmds.c: ditto.
10681 * gdb.base/ptype.c: ditto.
10682 * gdb.base/scope0.c: ditto.
10683 * gdb.base/setvar.c: ditto.
10684 * gdb.base/signals.c: ditto.
10685 * gdb.base/twice.c: ditto.
10686 * gdb.c++/misc.cc: ditto.
10687 * gdb.c++/templates.cc: ditto.
10688
10689Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10690
10691 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
10692
10693 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
10694 somewhere between `read' and `main.c'. I'm pretty sure the
10695 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
10696 and it isn't particularly useful.
10697
10698 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
10699
10700Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10701
10702 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
10703
10704Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
10705
10706 * config/mt-slite: add LIBS and -nostdlib.
10707 * config/slite-gdb.exp: add this new file to support sparclite target.
10708
10709Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
10710
10711 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
10712
10713 * gdb.base/a2-run.exp: Change argument to istarget from
10714 "*-*-vxworks" to "*-*-vxworks*".
10715 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
10716
10717Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
10718
10719 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
10720 will not runto main but do a 'step' to step out of breakpoint().
10721 * config/mt-slite: add -Dusestubs.
10722
10723Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10724
10725 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
10726 instead of just @.
10727
10728 * gdb.base/signals.exp: Add test for "handle all print".
10729 * TODO: Remove "handle all print". Also remove item about
10730 checking copyright date (I don't like the idea of a spurious FAIL
10731 based on when we run the tests).
10732
10733 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
10734 for SunOS4 (reason for failure not investigated). Remove
10735 redundant test for $binfile.
10736
10737 * gdb.base/nodebug.c (array_index): Call malloc.
10738
10739 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
10740
10741Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
10742
10743 * gdb.base/recurse.exp: Update gdb_test invocation to use new
10744 conventions and slightly simplify the matching regexp.
10745
10746Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10747
10748 * gdb.base/break.exp: Update gdb_test invocation to use new
10749 convention.
10750
10751 * lib/gdb.exp: If noargs is not set, set it to 0.
10752
10753 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
10754 tests unique.
10755
10756 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
10757
10758Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10759
10760 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
10761 one argument of type "<non-float parameter>".
10762
10763Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
10764
10765 * config/rom68k.exp: New file to support Motorola IDP board.
10766 * gdb.base/a2-run.exp: Skip this file if noargs is set.
10767 * gdb.base/break.c: Change things around so that this program
10768 doesn't depend upon args. This is necessary to make remote
10769 targets work (in general, they can't take args).
10770 * gdb.base/break.exp: Don't try to send args to program. Don't
10771 expect output. Also, replace lots of code with gdb_test.
10772
10773Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10774
10775 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
10776 printing of '\'' (which is what the comment says we are testing,
10777 even though we were not), not '''.
10778 (test_integer_literals_rejected): Test that printing ''' is an error.
10779
10780 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
10781 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
10782 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
10783 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
10784 Use gdb_test not test_print_accept.
10785 * lib/gdb.exp: Remove test_print_accept.
10786
10787 * gdb.base/signals.exp (signal_tests_1): Make pass message
10788 consistent with fail message.
10789
10790 * gdb.base/whatis.exp: Remove xfails for printing char vs.
10791 unsigned char; the bug (PR 1821) is fixed.
10792
10793 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
10794
10795 * gdb.base/scope.exp (test_at_localscopes): Call pass for
10796 successful tests--makes xfailing them work right.
10797
10798Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10799
10800 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
10801 only \r\n, not .*. The test can pass .* as the last thing in
10802 $pattern if that is what it wants. In addition to providing this
10803 flexibility, this change should speed up pattern matching in cases
10804 where the pattern already ended with .* (there were a number of
10805 them). This change also helps catch bad patterns--in the old
10806 scheme the typo "char \*" instead of "char \\*" would pass. Now
10807 it is caught.
10808 * Many .exp files: Update callers.
10809
10810 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
10811 clearer and does not spuriously match multiple ('s. Likewise for
10812 ) and *.
10813
10814 * gdb.base/nodebug.exp: Test ability to call a function and pass
10815 it a string (even with no debugging info).
10816
10817 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
10818 "p '\'", which is the same as "p ''" once tcl gets done with
10819 quoting, to "p '\\'", which I suspect is what is intended (one
10820 backslash gets sent to GDB).
10821
10822 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
10823
10824Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10825
10826 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
10827 1817) was fixed literally years ago.
10828
10829Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10830
10831 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
10832 test, it causes stepping out of call_after_alloca_subr with
10833 optimizing compilers.
10834 (localvars_in_indirect_call): Consume GDB prompt if `finish'
10835 fails.
10836
10837 * gdb.c++/templates.exp: Source templ-info.exp only if
10838 the templates executable exists.
10839
10840 * gdb.c++/misc.cc (class Contains_static_instance,
10841 class Contains_nested_static_instance),
10842 gdb.c++/classes.exp (test_static_members): Test printing of
10843 a class that contains a static instance of the class.
10844
10845Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10846
10847 * gdb.base/langs2.c (cppsub_): Don't prototype.
10848 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
10849 only, I believe).
10850
10851Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10852
10853 * lib/gdb.exp (skip_chill_tests): New procedure.
10854
10855 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
10856
10857Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
10858
10859 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
10860 each expect pattern. Cuts runtime from 12 to about 4 seconds.
10861
10862Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10863
10864 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
10865
10866 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
10867 disassemble 8, not 16, instructions for part 4.
10868
10869 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
10870 support the latter anymore.
10871
10872 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
10873 -DNO_PROTOTYPES.
10874 * gdb.base/callfuncs.c: Control use of prototypes based on
10875 NO_PROTOTYPES, not __STDC__.
10876 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
10877 t_float_values2 tests if prototypes in use.
10878
10879 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
10880 t_double_values): When checking differences against DELTA, check
10881 that difference is within the range (-DELTA,DELTA), not just
10882 (-infinity,DELTA).
10883
10884Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
10885
10886 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
10887 'file' command firts, then 'target', then 'load', this is due to gdb
10888 target set up.
10889 * config/mips-gdb.exp: Fix a couple regular exp bugs.
10890
10891Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
10892
10893 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
10894 FP load/store variants.
10895 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
10896
10897Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
10898
10899 * gdb.base/term.exp: Do not give a warning if not native, it is
10900 not an abnormal condition.
10901
10902Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
10903
10904 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
10905 t_char_array".
10906
10907Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
10908
10909 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
10910 are getting the version number.
10911
10912 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
10913 if not native, it is not an abnormal condition.
10914
10915Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10916
10917 * lib/gdb.exp: Just use "file exists", rather than undocumented
10918 dejagnu procedure "findfile".
10919
10920Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10921
10922 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
10923 (LDFLAGS): Set to -Xlinker -Ur.
10924
10925 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
10926 Removed, these values are set by lib/gdb.exp.
10927
10928 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
10929
10930Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10931
10932 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
10933 of replicating gdb startup code.
10934
10935 * config/mt-vxworks (LDFLAGS): Set to -r.
10936 (CFLAGS_FOR_TARGET): Removed.
10937
10938 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
10939 (gdb) and gdb for vxworks uses (vxgdb).
10940
10941 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
10942 executable is not in the tree and host != target, use sed and
10943 program_transform_name to determine the gdb name used by the
10944 target.
10945
10946 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
10947 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
10948
10949Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10950
10951 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
10952 floats, chars, and shorts where there are ANSI-style function
10953 definitions.
10954
10955 * gdb.base/langs.exp, gdb.base/langs*: New test.
10956 * gdb.base/Makefile.in: Build it.
10957 * TODO: Remove item about checking that C names don't get C++
10958 demangling applied; this test tests it.
10959
10960Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10961
10962 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
10963 went with the const70 xfail. The xfail went away a year ago.
10964
10965 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
10966
10967 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
10968 for hp300.
10969
10970 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
10971
10972 * gdb.base/a1-selftest.exp: Don't run on hp300.
10973
10974Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10975
10976 * Makefile.in (site.exp): Set host_alias and target_alias as well
10977 as host_triplet and target_triplet.
10978
10979Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10980
10981 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
10982
10983 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
10984 places as other ecoff systems).
10985
10986 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
10987 ultrix.
10988
10989Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
10990
10991 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
10992 remove them.
10993 * gdb.base/nodebug.exp: Accept "function" in addition to "text
10994 variable and "variable" in addition to "data variable".
10995 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
10996
10997 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
10998 2.
10999 * gdb.base/list1.c (long_line): Add additional statement at start
11000 of function.
11001 * gdb.base/list.exp (test_forward_search): Update line number to
11002 reflect new statement.
11003
11004Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11005
11006 * gdb.base/signals.exp: Reinitialize searched source directories
11007 after gdb_start call.
11008
11009Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
11010
11011 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
11012 * gdb.stabs/Makefile.in: Likewise.
11013
11014 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
11015 change. Instead split the tests into smaller pieces.
11016 * gdb.disasm/hppa.s: Corresponding changes.
11017
11018Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11019
11020 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
11021 Quote ^C when passing it to stty. For some shells ^ is a pipe.
11022
11023 * gdb.base/funcargs.exp: Modify many tests so that every test
11024 either passes or fails. Make some test names unique.
11025
11026Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11027
11028 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
11029 Call stty to set interrupt character.
11030
11031 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
11032 for HP assembler versus GNU assembler based on actual behavior of
11033 $(CC), rather than assuming that $(AS) is always the GNU assembler.
11034
11035 * TODO: Suggest a few more stepping tests.
11036
11037Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
11038
11039 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
11040 restart GDB for h8300 after a continue.
11041 (return): Add pattern to match a29k-udi behavior.
11042 * gdb.base/nodebug.exp: Remove obsolete comment.
11043 * gdb.base/regs.exp: New file, testing of register displays.
11044 * gdb.base/return.exp: Fix typo in reference to $objdir.
11045 * gdb.base/whatis.exp: Always start with a fresh GDB.
11046
11047Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11048
11049 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
11050 higher, these tests generate a lot of output.
11051
11052Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11053
11054 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
11055 code following the catch silently ignored some errors; without the
11056 catch they should be thrown like any other tcl error. Also, the
11057 catch used "" instead of {} which meant all the callers who wanted
11058 to include one of the characters "[]$ had to quote it an extra time.
11059 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
11060 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
11061 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
11062 Remove extra quoting.
11063
11064Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
11065
11066 * gdb.base/commands.exp: Make test names unique; every test either
11067 passes or fails. Update some comments.
11068
11069 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
11070
11071Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11072
11073 The following fixes a FAIL caused by the fact that the alpha stabs
11074 configuration didn't use the ".if alpha" code in weird.def.
11075 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
11076 bit pointer, so the 32 bit version works even on the alpha.
11077 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
11078 Remove the stuff which allowed us to have separate versions for
11079 alpha and everything else.
11080
11081 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
11082 regexp which "info func operator\[\](" is supposed to match. Fix
11083 string to send to GDB. Note that GDB still doesn't work right. Add a
11084 new test for "info func .perator\[\](" which GDB does handle correctly.
11085
11086 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
11087
11088Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11089
11090 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
11091 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
11092 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
11093 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
11094 it makes the tests harder to understand and confuses test-o-matic.
11095 The preferred style is that each test provides a PASS or a FAIL,
11096 and has a unique message (e.g. "continue #54" not just "continue")
11097 which is the same for the pass and the fail.
11098 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
11099 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
11100 to lib/gdb.exp.
11101 * gdb.base/printcmds.exp: Use test_print_accept. Remove
11102 prt_accept which was basically the same thing. Likewise for
11103 test_print_reject and prt_reject.
11104 * lib/gdb.exp (test_print_reject): Add some more error message
11105 patterns to match from the former printcmds.exp (prt_reject).
11106 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
11107 One defect of the passcount stuff is that some of it failed to
11108 report XPASS where appropriate.
11109 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
11110 stuff before and after arg in expected pattern.
11111 (test_paddr_operator_functions): Re-do test without print_addr_of;
11112 this is the only test which seems to want extra stuff there.
11113
11114Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11115
11116 * gdb.base/nodebug.exp: Update new tests to reflect improved
11117 wording of gdb output.
11118
11119 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
11120 and "ptype" work on variables in files compiled without -g.
11121 Replaces commented out "maint print msymbol" tests.
11122
11123Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11124
11125 * gdb.base/setvar.c (dummy): Call malloc.
11126
11127 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
11128 losing with the irix4 sed.
11129
11130 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
11131 ALRM" on irix4.
11132
11133Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11134
11135 * TODO: Remove items about corefile.exp testing new exec-file and
11136 backtrace; both are now done. Add items about printing enums.
11137
11138Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11139
11140 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
11141 "get signal $thissig" test fails.
11142
11143 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
11144
11145Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11146
11147 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
11148 compiler warning with dec alpha compiler.
11149
11150 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
11151 extra \n from gdb_test call (this explains why the prompt test
11152 that I removed yesterday was there).
11153 (user_defined_command_test): Remove extra \n and prompt test.
11154
11155 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
11156 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
11157 doesn't exist.
11158 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
11159 Also remove alpha workaround, which turns out to be because
11160 SIGABRT == SIGLOST.
11161
11162 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
11163
11164 * gdb.base/help.exp: Don't test "help show".
11165
11166Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11167
11168 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
11169 "set print address" is on.
11170 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
11171 pass prompt to gdb_test; gdb_test already looks for the prompt.
11172
11173 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
11174
11175 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
11176 was a vestige of the manual TESTSTRATEGY, and the purpose of it
11177 was to make sure that gdb can read a core file. But (a) the "read
11178 the corefile" part didn't make it to a1-selftest.exp, we just
11179 delete the corefile after creating it, and (b) we test reading
11180 corefiles in corefile.exp anyway. Also, this test left around a
11181 xgdb process on Solaris.
11182
11183 * gdb.base/corefile.exp: Also test backtrace.
11184
11185Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
11186
11187 * gdb.base/commands.exp: Test a simple user defined command with
11188 arguments and if/while statements; verify the full user command is
11189 printed by "show user".
11190
11191 * gdb.base/commands.exp: Test if/while commands as part of a
11192 breakpoint command list; verify they appear in breakpoint
11193 information.
11194
11195Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11196
11197 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
11198 than by dividing by zero.
11199
11200Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
11201
11202 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
11203 performing an inferior call with watchpoints enabled.
11204 * gdb.base/watchpoint.c (main): Delete second unnecessary read
11205 call.
11206
11207Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11208
11209 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
11210 of "file" command.
11211
11212 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
11213 Add additional pattern for when "int operator int(void);" appears
11214 in a different order.
11215
11216Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
11217
11218 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
11219
11220 * gdb.base/help.exp: Replace most of docstrings for "info signals"
11221 and "signal" with ".*".
11222
11223Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
11224
11225 * TODO: Add note about "handle all nostop".
11226
11227 * gdb.base/{sigall.c, sigall.exp}: New test.
11228 * gdb.base/Makefile.in: Add it.
11229
11230Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
11231
11232 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
11233 when invoking GDB, suppresses any windowing interface.
11234
11235Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
11236
11237 * config/sim-gdb: New file, simulator testing support.
11238
11239Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
11240
11241 * gdb.base/interrupt.exp: Test calling func1 twice.
11242
11243Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
11244
11245 * gdb.base/list.exp (test_forward_search): Set timeout higher
11246 when we'll be getting lots of output from gdb.
11247
11248 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
11249 "init_malloc" to after the expect statement. Run it if that
11250 regexp is taken, but also for two others which happen if source
11251 cannot be found.
11252
11253Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11254
11255 * gdb.base/printcmds.exp: New test, for printing register before
11256 program is running.
11257
11258Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11259
11260 * gdb.base/list.exp: Correct some alternate expect patterns
11261 to reflect changes in list1.c.
11262
11263Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11264
11265 * TODO: Add item regarding large frames.
11266
11267 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
11268
11269 * TODO: Remove item about enabling return.exp; it
11270 is enabled. Suggest a few more "return" tests.
11271
11272Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11273
11274 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
11275 anonymous unions.
11276
11277Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11278
11279 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
11280 and pr-5646.o, so "make" is the same as "make all", not "make
11281 pr-4975.o".
11282
11283Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
11284
11285 * gdb.base/list.exp: Adjust expectations to reflect changes in
11286 list1.c.
11287 (test_forward_search): New test proc.
11288 * gdb.base/list1.c (long_line): New function, has long source line.
11289
11290Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
11291
11292 * gdb.base/a1-selftest.exp: Change initial stepping to know about
11293 additional line of code that was added.
11294
11295Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
11296
11297 * gdb.disasm/hppa.s: Break the large branching tests into smaller
11298 tests so as not to overflow expect's input buffers.
11299 * gdb.disasm/hppa.exp: Corresponding changes.
11300
11301Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11302
11303 Beginnings of template debugging tests.
11304 * gdb.c++/templ-info.cc: New file to test for template
11305 debugging capability of the compiler.
11306 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
11307 templ-info.cc.
11308 * gdb.c++/templates.cc: Add explicit template instantiations
11309 to enable compiling with -fno-implicit-templates. Add destructor
11310 and 'value' method to T5 class for template tests.
11311 * gdb.c++/templates.exp: Add testcases for printing of template
11312 types, setting breakpoints on template methods and calling a
d63a86f8 11313 template method.
c906108c
SS
11314
11315Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
11316
11317 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
11318 branch target since some assemblers (gas-2.5) may emit a
11319 relocation for the branch instead of resolving it in the
11320 assembler.
11321
11322Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11323
11324 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
11325 through signal handler.
11326
11327Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11328
11329 * configure.in (*-*-netware): Use config/mt-netware.
11330
11331 * config/mt-netware: New file.
11332 * config/mt-i386-netware: Removed, separate configs for different
11333 netware architectures are no longer needed now that we have
11334 --with-headers.
11335
11336Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11337
11338 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
11339 by the recent changes to use ANSI C arithmetic conversions.
11340
11341Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11342
11343 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
11344 bug involving using inferior_pid to figure out whether to select a
11345 frame.
11346
11347Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
11348
11349 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
11350 match the current disassembler output.
11351
11352Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
11353
11354 * gdb.fortran/exprs.exp: Expect VOID instead of void.
11355 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
11356 types, expect "int" as type of integer values (for now).
11357
11358Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
11359
11360 * gdb.base/commands.exp: New tests for if/while commands.
11361
11362Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
11363
11364 * lib/gdb.exp (runto): Replace sub-pattern for hex value
11365 by .*, since hex values have different syntax in Chill mode.
11366
11367Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11368
11369 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
11370 linefeed from expect pattern for repeated types with indices > 9.
11371
11372Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
11373
11374 First part of Fortran test suite.
11375 * gdb.fortran: New directory.
11376 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
11377
11378Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11379
11380 * gdb.base/default.exp: Update expect pattern for load command
11381 without arguments.
11382
11383Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11384
11385 * configure.in: Change i386 to i[345]86.
11386 * gdb.base/configure.in: Likewise.
11387 * gdb.c++/configure.in: Likewise.
11388 * gdb.chill/configure.in: Likewise.
11389
11390Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
11391
11392 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
11393 patterns, since that is not a valid context for comments.
11394
11395Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
11396
11397 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
11398 repeated types and repeated types with indices > 9.
11399
11400Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
11401
11402 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
11403 2417; old bug has been fixed.
11404
11405Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
11406
11407 * gdb.base/interrupt.exp: When trying to wake up the inferior,
11408 send the newline ourselves instead of assuming gdb_test will do
11409 so when passed an empty input string.
11410
11411 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
11412 stabs testcode.
11413
11414Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11415
11416 * lib/gdb.exp (gdb_test): Don't send anything if the first
11417 argument is an empty string. This makes cases where we want to
11418 match output that is already in expect's buffers (for example,
11419 matching a breakpoint after gdb_run_cmd has been called) work
11420 reliably.
11421
11422Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11423
11424 * config/netware.exp: New file.
11425
11426Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11427
11428 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
11429 the -B and -L prefixes so we can find the debugging stub.
11430
11431 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
11432 there and we are using the gcc from the tree.
11433
11434 * gdb.base/types.c: Removed.
11435
11436 * gdb.base/configure.in: Look for makefile fragments in ../config.
11437 Recognize i386-*-netware.
11438 * gdb.c++/configure.in: Likewise.
11439
11440Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11441
11442 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
11443 the correct TCL syntax.
11444
11445Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11446
11447 * gdb.base/opaque.exp: use runto instead of messing around with
11448 breakpoints. Simplify by using gdb_test.
11449
11450 * gdb.base/bitfields.exp: restart between tests on netware targets
11451 because breakpoints aren't relocated after target death. Run
11452 processes to completion.
11453
11454 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
11455
11456Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
11457
11458 * Makefile.in: Remove extra tabs that confuse some versions
11459 of "make". Use the newly built gdb to test with by default,
11460 rather than the first one in the tester's search path.
11461
11462Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
11463
11464 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
11465
11466 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
11467 condition help.
11468
11469Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11470
11471 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
11472
11473 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
11474 running.
11475 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
11476 * gdb.base/funcargs.exp: Likewise.
11477
11478 * gdb.base/bitfields.exp: Simplify by using gdb_test.
11479 * gdb.base/funcargs.exp: Likewise.
11480
11481 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
11482 message is "".
11483
11484Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11485
11486 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
11487 return,signals,twice}.exp: Handle non-existant binaries
11488 consistantly.
11489
11490 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
11491 * gdb.base/Makefile.in: Don't try to generate a core dump, we
11492 might testing a cross development system.
11493
11494Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11495
11496 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
11497 runtest script is relative to ${srcdir}, not ${rootdir}.
11498
11499Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
11500
11501 * gdb.base/signals.exp: Allow for optionality of breakpoint
11502 address.
11503
11504Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11505
11506 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
11507
11508Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11509
11510 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
11511 for size_t definition.
11512 * gdb.c++/templates.cc: Likewise
11513
11514 * config/mt-i386-netware: New file.
11515
11516 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
11517 defined.
11518
11519 * gdb.base/Makefile.in: Added support for systems that name core
11520 files by appending "core" to the program name.
11521 * gdb.base/a1-selftest.exp: Likewise.
11522
11523Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11524
11525 * gdb.base/return.exp: Add comment and message for `return double'
11526 test failure on Sparc Solaris.
11527
11528Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
11529
11530 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
11531
11532Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11533
11534 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
11535 from optimizing them away.
11536 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
11537 patterns to include default constructors and assignment operators,
11538 to match gcc versions beyond 2.5.8. Accept any cplus demangling
11539 character in the output of the virtual base pointer.
11540
11541Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11542
11543 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
11544 expression match in print_addr_of to avoid unintented matches.
11545 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
11546 versions up to 2.5.8.
11547
11548Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11549
11550 * gdb.base/list.exp: Tweak alternate pattern for listing of an
11551 included file to run under newer versions of expect.
11552 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
11553 consecutive >'s in templates to accomodate recent cplus-dem.c change.
11554 Remove xfail for the virtual table of BDDHookV.
11555
11556Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
11557
11558 * lib/gdb.exp (string_to_regexp): Set a default result.
11559 (default_gdb_start): Fix misleading message.
11560
11561Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
11562
11563 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
11564 Remove all CC, etc definitions.
11565 * config/mt-hpux: New file.
11566 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
11567 (CFLAGS, LDFLAGS): Define.
11568 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
11569
11570 * Makefile.in (site.exp): Don't insert host_os, etc.
11571 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
11572 (distclean): Check existence of subdir.
11573 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
11574 * gdb.base/Makefile.in: General cleanup and simplification.
11575 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11576 to build executables. Use default rule to build .o files.
11577 (EXPECT, RUNTEST, CC): Fix relative pathname.
11578 (site.exp): Don't insert host_os, etc.
11579 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
11580 and/or SIGUSR1 defined.
11581 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
11582 * gdb.c++/Makefile.in: General cleanup and simplification.
11583 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
11584 (CFLAGS): Remove.
11585 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
11586
11587Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
11588
11589 * gdb.base/recurse.exp: Misc changes to get tests running again
11590 after Kung's changes to the watchpoint code.
11591 * gdb.base/watchpoint.exp: Likewise.
11592
11593Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
11594
11595 * lib/gdb.exp (string_to_regexp): Convert {\} also.
11596
11597Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
11598
11599 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
11600 * lib/gdb.exp (default_gdb_start): Define.
11601 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
11602 gdb.base/funcargs.exp, gdb.base/opaque.exp,
11603 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
11604 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
11605 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
11606 Don't call gdb_target_udi in between tests.
11607
11608Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11609
11610 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
11611 (which was basically just a local version of the same thing). In
11612 addition to avoiding duplication, gdb_test_exact is faster.
11613 * lib/gdb.exp (gdb_test_exact): Fix typo.
11614
11615 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
11616 don't give an error.
11617
11618 * gdb.base/term.exp: Call delete_breakpoints before starting.
11619
11620 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
11621 (t10): Add comment.
11622
11623Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11624
11625 Reorganization of the GDB Test Suite.
11626
11627 * gdb.base: New directory, contains all the basic tests.
11628 * gdb.c++: New directory, tests specific to C++.
11629 * gdb.chill: New directory, tests specific to Chill.
11630 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
11631 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
11632 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
11633 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
11634 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
11635 t30-31 to chill).
11636 * */gdbme.*: Rename to match appropriate expect scripts.
11637 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
11638 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
11639 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
11640 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
11641 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
11642 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
11643 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
11644 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
11645 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
11646 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
11647 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
11648 gdb.c++/virtfunc.cc: New names of C++ files.
11649 * gdb.chill/chillvars.ch: New name of Chill file.
11650 * gdb.base/configure.in, gdb.c++/configure.in,
11651 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
11652 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
11653 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
11654 * configure.in (configdirs): Update to reflect directory changes.
11655 (target_abbrev): No longer define for any configuration.
11656 * Makefile.in: Cosmetic improvements to header comments.
11657
11658Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
11659
11660 Various changes to gdb.t31:
11661
11662 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
11663 * gdbme.ch: Make all key-words and predefineds be upper-case.
11664 * chillvars.exp: Expect key-words and predefinds in upper-case.
11665
11666 * chillvars.exp: Use gdb_test_exact many places.
11667 Change expected output for arrays (which now includes index labels).
11668
11669 * pr-5020.exp, gdme.ch (module PR_5020):
11670 New test, for PR-5020.
11671
11672Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
11673
11674 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
11675 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
11676
11677Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
11678
11679 * Makefile.in: Fix bit-rot in definitions of CHILL,
11680 CHILL_FOR_TARGET and Chill_LIB.
11681 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
11682 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
11683 CHILL, and CHILL_LIB.
11684
11685Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
11686
11687 * Revert the previous changes. Please see Rob's directory
11688 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
11689
11690Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
11691
11692 * Makefile.in, configure.in, config/mips-gdb.exp,
11693 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
11694 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
11695 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
11696 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
11697 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
11698 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
11699 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
11700 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
11701 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
11702 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
11703 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
11704 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
11705 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
11706 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
11707 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
11708 changes from 94Q1.
11709
11710Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
11711
11712 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
11713 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
11714 Rob's new testing fragments.
11715
11716Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
11717
11718 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
11719 lib/gdb.exp: Replace error proc calls with perror.
11720
11721Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
11722
11723 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
11724 version also, match on casted version strings, and match on
11725 gdb startup case where the line numbers might be messed up.
11726
11727Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
11728
11729 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
11730 (CFLAGS): Delete it from here.
11731
11732Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
11733
11734 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
11735
11736Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
11737
11738 * Makefile.in (RUNTEST): Default to just "runtest".
11739
11740Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11741
11742 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
11743 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
11744 the code has been restructured.
11745
11746Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11747
11748 * gdb.t00/default.exp (set write): Allow any number of \r and/or
11749 \n, not just one of each.
11750
11751 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
11752 /bin/cc gives a warning if you do.
11753
11754Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
11755
d63a86f8 11756 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
11757 __t10ListS_link1ZUiRCUiPT0
11758
11759Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11760
11761 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
11762 on local variables in recursive functions.
11763
11764 * gdb.t07/Makefile.in: Build the new test.
11765
11766Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11767
11768 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
11769 directly. Instead compare the return values from actual calls.
11770
11771Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
11772
11773 * Makefile.in (check): Set TCL_LIBRARY for runtest.
11774
11775Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11776
11777 * From Peter Schauer with minor modifications.
11778 * gdb.t15/return.exp (return_tests): Handle targets where "return"
11779 stops in mid-line in the caller. Add xfail for returning a float
11780 value on X86 targets.
11781
11782Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11783
11784 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
11785 to avoid expect lossage.
11786 (fmem_LRbug_tests): Likewise.
11787 * gdb.disasm/hppa.s: Corresponding changes.
11788
11789 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
11790 conditions to work with latest dejagnu/expect.
11791
11792 * gdb.t15/funcargs.exp (finish from indirect call): No longer
11793 expected to fail on the PA.
11794 (backtrace in call with trampolines): Explicitly require main
11795 to be frame #1 (no trampolines should show up in backtrace).
11796
11797 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
11798 "continue -expect".
11799 * gdb.t06/break.exp: Likewise.
11800 * gdb.t07/watchpoint.exp: Likewise.
11801 * gdb.t13/bitfields.exp: Likewise.
11802 * gdb.t15/{funcargs,return}.exp: Likewise.
11803 * gdb.stabs/weird.exp: Likewise.
11804 * config/{mips,udi}-gdb.exp: Likewise.
11805
11806 * hppa.sed: Enclose comments within a sed command to avoid
11807 losing with the old OSF1 sed.
11808
11809Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11810
11811 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
11812 sequent dynix.
11813 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
11814 * gdb.t15/funcargs.exp: Conditionally step again to really
11815 finish from marker_call_with_trampolines. Handle the case where
11816 the first step from within call_with_trampolines already steps
11817 us back to main.
11818 * gdb.t15/gdbme.c: Add comment to closing brace of
11819 call_with_trampolines for funcargs.exp.
11820
11821Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11822
d63a86f8 11823 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
11824 Fix typo(s).
11825
11826Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11827
11828 * gdb.t07/gdbme.c: More code for watchpoint testing.
11829
11830 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
11831 "Hardware watchpoint" throughout file.
11832 (test_watchpoint_triggered_in_syscall): New test.
11833 (test_complex_watchpoint): New test.
11834
11835Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11836
11837 * gdbme.c (call_with_trampolines): New function to try and step
11838 into. Tests trampoline problems on the PA.
11839
11840 * funcargs.exp (localvars_in_indirect_call): No longer expect
11841 stepping into indirect call to fail on PAs.
11842 (test_stepping_over_trampolines): New test.
11843
11844Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11845
11846 * TODO: Add suggestions for static member function tests, and
11847 completion tests.
11848
11849Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11850
11851 * TODO: Add suggestions for "p/a" tests.
11852
11853 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
11854 (default_gdb_exit): Replace all the hair with sending "quit" to
11855 the process with a simple close.
11856
11857Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11858
11859 * TODO: Add suggestions for shared library tests.
11860
11861Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11862
11863 * TODO: Add suggestions for x/s tests.
11864
11865Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11866
11867 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
11868 "enable once", and "enable breakpoints once" with ".*".
11869
11870Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11871
11872 * TODO: Add suggestions about structure passing tests.
11873
11874Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11875
11876 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
11877 the primary1 test, use work around if __GNUC__ < 2.
11878 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
11879 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
11880 Test for bad output rather than waiting for timeout. Issue
11881 second continue only if first continue failed.
11882
11883Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11884
11885 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
11886 operator[] test with gdb_test because the old code didn't seem to
11887 be getting the quoting right with the new dejagnu.
11888
11889Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
11890
11891 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
11892 one from the path.
11893 * Makefile.in: Use a fresh expect if there is one, use runtest
11894 from the src tree if there is one.
d63a86f8 11895
c906108c
SS
11896Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11897
11898 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
11899 next over recursive call. Revise the tests from that point on
11900 (which had been skipped) to match GDB's actual (correct) output.
11901
11902 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
11903 with next over a breakpoint whose condition is false.
11904
11905 * gdb.t00/help.exp: Comment out "help set print" tests just like
11906 (and for same reason as) "help set" test.
11907
11908Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11909
11910 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
11911 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
11912
11913Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11914
11915 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
11916 necessary gdb_target_udi.
11917
11918 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
11919
11920 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
11921 1838 and 2417; they are fixed.
11922
11923 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
11924 gdb.t03/ptype.exp (ptype structure, ptype union):
11925 Remove xfails; the test is looser than when the xfails were added.
11926
11927 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
11928 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
11929
11930 * gdb.t01/run.exp: Only run shell test if isnative.
11931
11932 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
11933 since "run" automatically loads if necessary. Call gdb_target_udi
11934 after the "file" since "file" kills any execution target.
11935
11936 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
11937 GDB. GDB doesn't work that way (not anymore at least) on UDI.
11938 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
11939 argument for UDI.
11940
11941Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
11942
11943 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
11944
11945 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
11946
11947Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11948
11949 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
11950 properly quoting regexps. This makes the second argument to
11951 demangle a fixed string, which matches the callers, instead of a
11952 shell-style pattern which is what the previous implementation
11953 used. Update some of the callers.
11954
11955Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11956
11957 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
11958 (comib_nullified_tests): Fix typo.
11959 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
11960 strings. No longer expected to fail.
11961
11962 * gdb.disasm/hppa.s (addib_tests): Fix typo.
11963 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
11964 strings. No longer expected to fail.
11965
11966 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
11967 string. No longer expected to fail.
11968
11969Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
11970
11971 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
11972 No longer expected to fail.
11973
11974 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
11975 string. No longer expected to fail.
11976
11977Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11978
11979 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
11980 only in the names (I probably got most of them). I was even
11981 generous with some which differed in underscores in names, and
11982 probably missed a few, and I *still* was able to remove almost a
11983 third of the file with almost no impact on testsuite coverage.
11984
11985Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
11986
11987 * gdb.t00/default.exp: Match udi_attach error message as well as
11988 the one from child_attach.
11989
11990 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
11991
11992 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
11993
11994 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
11995 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
11996
11997 * Move test with enums and partial symbols back to
11998 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
11999 Reverts the change of 26 May 93. Per today's change to
12000 stabs.texinfo, the behavior that weird.exp was expecting was
12001 unreasonable; what is important is that the compiler+gdb get
12002 things right, which happens with a recent gcc. Also fix the test
12003 to deal with native compilers which put out the stab gdb can't
12004 deal with.
12005
12006Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12007
12008 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
12009 in the names. The main thing these accomplish is to slow things down.
12010 Many more such duplicates surely remain.
12011
12012 * gdb.t00/help.exp: Comment out "help support" test just like
12013 (and for same reason as) "help set" test.
12014
12015Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
12016
12017 * gdb.t06/break.exp: Remove setup_xfails for
12018 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
12019 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
12020 about known bug in gcc to include up through 2.5.8.
12021 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
12022 well as "_vb$".
12023 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
12024 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
12025 with latest gcc and gdb.
12026 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
12027 well as "_vb$".
12028
12029Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12030
12031 * configure.in (hppa*-*-*): Also configure and build stabs-only
12032 tests.
12033
12034Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12035
12036 * gdb.t10/hppa.mt: A makefile fragment for the PA.
12037 * gdb.t10/configure.in (hppa*-*-*): Use it.
12038
12039Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12040
12041 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
12042
12043Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12044
12045 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
12046 versions prior to 1.13.5.
12047
12048Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12049
12050 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
12051 the prompt is at the start of a line.
12052
12053Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
12054
12055 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
12056 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
12057 in the copr tests now.
12058 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
12059 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
12060 expected to fail.
12061
12062Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
12063
12064 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
12065 gdb.t31/chillvars.exp, lib/gdb.exp:
12066 Tweak to run under either version of expect.
12067 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
12068 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
12069 * gdb.t11/list.exp: Remove extraneous whitespace.
12070
12071Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12072
12073 * gdb.t16/printcmds.exp (test_print_strings): Accept
12074 "(unsigned char *) " before the string.
12075
12076 * TODO: Add notes about printing of fancy types and GDB expressions.
12077
12078Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
12079
12080 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
12081 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 12082 if doing mips-idt-ecoff.
c906108c
SS
12083
12084Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
12085
12086 * Most .exp files: Tweak to run under either version of expect.
12087
12088Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12089
12090 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
12091 xfails; I'm not sure why they are failing, but not because of PR 1806.
12092
12093Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
12094
12095 * config/unix-gdb.exp: Remove gdb_unload cause it's already
12096 defined in lib/gdb.exp.
12097
12098Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12099
12100 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
12101 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
12102 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
12103 have to be typeless.
12104
12105Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
12106
12107 * TODO: Add suggestion for copyright year test.
12108
12109Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
12110
12111 * configure.in (*-*-lynxos*): Add stabs tests.
12112
12113Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
12114
12115 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
12116 so insert a tab before any assembler directive in column zero.
12117
12118 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
12119 stores.
12120 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
12121 stores.
12122 (fpu_short_memory_tests): Likewise.
12123
12124Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12125
12126 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
12127 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
12128 .stabs directives in comments.
12129
12130Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12131
12132 * TODO: New file, describing tests we could write.
12133 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
12134
12135Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12136
12137 * gdb.t06/signals.exp: Add kludge to force re-sync.
12138
12139 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
12140 to xgdb instead of gdb, get out of gdb.
12141
12142Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
12143
12144 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
12145 for info.
12146
12147Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
12148
12149 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
12150 * gdb.stabs/configure.in (hppa*-*-*): Use it.
12151 * gdb.stabs/hppa.sed: New sed script for the PA.
12152
12153Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12154
12155 * gdb.stabs: Re-write weird.def and configuration to use sed
12156 instead of cpp. sed is portable and POSIX; cpp is neither.
12157
12158Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12159
12160 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
12161
12162Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12163
12164 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
12165
12166Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12167
12168 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
12169 "_vb$".
12170 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
12171 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
12172
12173Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12174
12175 * lib/gdb.exp: Comment out code which depends on non-existent
12176 `transform' procedure.
12177
12178Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
12179
12180 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
12181 * lib/gdb.exp: Transform tool name.
12182 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
12183 1.1's new error handling system.
12184
12185Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12186
12187 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
12188
12189Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12190
12191 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
12192 They made pattern matching so slow that timeouts happened on
12193 heavily loaded systems. Now any output from "show print" which
12194 gets us back to the GDB prompt is a PASS.
12195
12196Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
12197
12198 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
12199
12200Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12201
12202 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
12203
12204 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
12205 It is not from PR 3220.
12206
12207Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12208
12209 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
12210 just started failing because they depended on the order the
12211 subcommands are presented, or exact docstring text. This kind of
12212 test is a pain and has minimal benefit.
12213
12214Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12215
12216 * gdb.t09/corefile.exp: At end of test, use "core" command with
12217 no arguments.
12218
12219Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
12220
12221 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
12222 17}/Makefile.in: Make it possible to run the testsuite with Sun
12223 make and CC = cross gcc by adding explicit build rules for .o
12224 files.
12225
12226Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12227
12228 * gdb.t15/funcargs.exp: Don't put comments on same line as
12229 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 12230
c906108c
SS
12231Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12232
12233 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
12234
12235Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
12236
12237 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
12238 * gdb.t20/inherit.exp: remove three dumplicate entries.
12239
12240Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12241
12242 * gdb.t06/break.exp: For "next over recursive call", fail on any
12243 incorrect output, not just on "factorial (value=2)".
12244
12245Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12246
12247 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
12248 working now. Add an xfail if accesing a bss variable causes
12249 a memory error if the target is not yet run.
12250
12251Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12252
12253 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
12254 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
12255 name of __st* demangling (2 strings). Did Kung really get the
12256 more than 95 others right without testing them?
12257
12258Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
12259
12260 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
12261
12262Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
12263
12264 * configure.in (configdirs): Add gdb.disasm
12265 * gdb.disasm: New directory for GDB disassembler tests.
12266 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
12267
12268Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12269
12270 * gdb.t00/help.exp: Don't test "help set".
12271
12272 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
12273 from within expect statements. None of these happen anymore and
12274 they cause regressions to be silently unnoticed.
12275
12276 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
12277 messages) about known failures with gcc cygnus-2.4.5-930417.
12278
12279 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
12280 comp-info.exp so it gets built if it doesn't exist.
12281
12282 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
12283 it is no longer used.
12284 * gdb.t13/comp-info.c: Removed.
12285
12286Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12287
12288 * gdb.t06/signals.exp: Add xfail for sun3.
12289
12290Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12291
12292 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
12293 relevant because ^C doesn't get sent but failure can be reproduced
12294 interactively).
12295
12296Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12297
12298 * gdb.stabs/alpha.mt: New configuration file for alpha.
12299 * gdb.stabs/configure.in: Use it.
12300 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
12301 sharing with alpha.mt, redefine long to word via preprocessor.
12302 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
12303 for alpha.
12304 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
12305 native cc.
12306 * gdb.t00/teststrategy.exp: Change expect string so that we
12307 consume the `(xgdb)' from the command echo and from the gdb prompt.
12308 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
12309 gdb currently compares all values as long, so this failure probably
12310 applies to any configuration where LONGEST is bigger than a target int.
12311 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
12312 with gcc.
12313 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
12314 to handle opaque pointers, gcc is.
12315 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
12316 as first argument. Include <sys/types.h> and change all operator
12317 new definitions to use size_t.
12318 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
12319 now that we use size_t.
12320
12321Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12322
12323 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
12324 a long or float array cast all array members to the same type.
12325 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
12326 with 64 bit longs.
12327 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
12328 on alpha.
12329 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
12330
12331Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12332
12333 * gdb.t24 (demangle.exp): Constructors of templates have names like
12334 vector<int>::vector(int) not vector<int>::vector<int>(int). See
12335 section 14.6 of the ARM.
12336
12337 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
12338 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
12339 accomplish little and slow down the testsuite.
12340
12341 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
12342 Accept spaces various places.
12343
12344Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12345
12346 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
12347 with watchpoint enabled.
12348
12349 * Makefile.in: Remove definition of CC and remove the second
12350 definition of CXX (the "CXX = gcc" one remains). These definitions
12351 were causing backquotes to be expanded within backquotes, which
12352 doesn't work.
12353
12354Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
12355
12356 * gdb.t17/callfuncs.exp: Add "return 0" to end.
12357
12358Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12359
12360 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
12361 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
12362 by mips cc and contains no stabs entries.
12363
12364Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
12365
12366 * config/vx-gdb.exp: Use fake device to load files rather than
12367 NFS.
12368 * lib/gdb.exp: New proc to do "file" command.
12369 * config/unix-gdb.exp: Use new "file" proc.
12370
12371Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12372
12373 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
12374 Rework board rebooting slightly.
12375 (gdb_exit): Don't exit from the remote shell; there isn't one.
12376 * gdb.stabs/weird.exp: If a program is being debugged already,
12377 kill it.
12378 * gdb.t04/setvar.exp: Stop and restart gdb.
12379 * gdb.t05/expr.exp: Likewise.
12380 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
12381 restart gdb and reload the program.
12382 * gdb.t08/opaque.exp: Likewise.
12383 * gdb.t12/scope.exp: Likewise.
12384 * gdb.t13/bitfields.exp: Likewise.
12385 * gdb.t15/funcargs.exp: Likewise.
12386 * gdb.t20/classes.exp: Likewise.
12387 * gdb.t03/ptype.exp: Increase timeout.
12388 * gdb.t16/printcmds.exp (test_print_string_constants,
12389 test_print_array_constants): Likewise.
12390 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
12391 * gdb.t20/classes.exp (do_tests): Likewise.
12392 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
12393
12394Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
12395
12396 * gdb.stabs: Renamed *wierd* to *weird*.
12397
12398Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12399
12400 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
12401 for timeout. Add "known gcc 2.4.5 bug" to failure message.
12402
12403Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
12404
12405 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
12406 (do_tests): Remove xfail for whatis on one_var and two_var.
12407
12408Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
12409
12410 * Makefile.in: Made cross building work better by adding
12411 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
12412
12413Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12414
12415 * gdb.t15/{return.c,return.exp,Makefile.in}:
12416 New test, currently commented out.
12417
12418Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
12419
12420 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
12421 still running and removes the leftover named socket so GDb can do
12422 clean restarts.
12423
12424Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
12425
12426 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
12427 console, not GDB.
12428 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
12429 cross testing works better with "make check"
12430 * config/unix-gdb: Use default procedures for exit and version.
12431 * config/vx-gdb.exp: Cleaned up and massaged back to working order
12432 with the newest VxWorks.
12433
12434Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12435
12436 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
12437 old form.
12438
12439 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
12440 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
12441
12442 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
12443
12444 * config/unix-gdb.exp: Remove this version of gdb_exit
12445 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
12446 Rob says he'll look at it when he gets back to testing boards.
12447
12448Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
12449
12450 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
12451 an expected fail for certain ptype commands.
12452
12453 * gdb.t20/classes.exp: Update expected results of "ptype class
12454 Base1" to account for the constructor that now appears in the type.
12455
12456Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
12457
12458 * configure.in (configdirs): Restore gdb.t04, which mysteriously
12459 disappeared from list.
12460 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
12461 "alldone" proc with call to cleanup and exit.
12462 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
12463 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
12464 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
12465 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
12466 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
12467 "alldone" proc with simple returns that suppress remaining
12468 tests. The alldone proc went away many months ago.
12469
12470Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12471
12472 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
12473
12474 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
12475
12476Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12477
12478 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
12479 as vax gdb will display them.
12480
12481Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12482
12483 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
12484 optimizers.
12485
12486 * scope.exp: Change "bad value for localval" messages so each one
12487 is unique.
12488
12489 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
12490 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
12491
12492 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
12493
12494Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12495
12496 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
12497 doesn't exist (due to optimization).
12498
12499Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12500
12501 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
12502 contains \r because the filename is long.
12503
12504 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
12505 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
12506
12507Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12508
12509 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
12510 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
12511 Ultrix.
12512 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
12513 int tests.
12514 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
12515
12516Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
12517
12518 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
12519
12520 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 12521 to match does not match the passing case but still matches the
c906108c
SS
12522 failing case.
12523
12524Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12525
12526 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
12527
12528Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
12529
12530 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
12531 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
12532 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
12533 Remove various versions of gdb_exit.
12534 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
12535 gdb_exit.
12536 * config/unix-gdb.exp: gdb_exit remains here, and should override
12537 the generic version, since it's doing a lot of wierd stuff that
12538 the other versions aren't. FIXME, fold it in, or abandon this
12539 version.
12540
12541Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12542
12543 * gdb.t24/demangle.exp: Add tests for PR 3220.
12544
12545Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12546
12547 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
12548
12549Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
12550
12551 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
12552 "i386-*-*". Works for i486 as well.
12553
12554 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
12555 bug, and expand domain of xfail to all SVR4 systems, since the
12556 actual problem is likely to be in generic SVR4 /proc support.
12557
12558Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12559
12560 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
12561
12562Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
12563
12564 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
12565 xfails for other systems. Match a missing 'Continuing.' as an
12566 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
12567
12568 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
12569 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
12570 Only issue warning for missing executables if -all option is used.
12571
12572 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
12573 file if -all option is used. It's like an unpredictable XFAIL.
12574
12575Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12576
12577 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
12578 for dynamically linked binaries.
12579
12580 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
12581
12582Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12583
12584 * gdb.t20/inherit.exp: Change message for "print tagless struct"
12585 to state that this is a known bug in old versions of g++.
12586
12587Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12588
12589 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
12590 while waiting for `Continuing'.
12591
12592Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
12593
12594 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
12595 in text, data, and bss.
12596 * gdb.t10/nodebug.c: Add local and global test variables for
12597 initialized and uninitialized data.
12598
12599Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12600
12601 * config/unix-gdb.exp (gdb_exit): Add "wait".
12602
12603Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12604
12605 * gdb.t06/signals.exp: xfail the continue from the handler for all
12606 targets.
12607
12608 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
12609 function with watchpoints enabled, the i386 call dummy starts with
12610 a call.
12611
12612 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
12613 386 bsd names its corefiles.
12614
12615Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
12616
12617 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
12618 compilers don't grok it.
12619 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
12620 with small octal ints rather than character constants, which
12621 are signed and might not fit if first promoted to int.
12622
12623Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
12624
12625 * gdb.t09/Makefile.in (clean): Remove corefile.
12626
12627Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12628
12629 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
12630
12631Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12632 and Jim Kingdon (kingdon@cygnus.com)
12633
12634 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
12635 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
12636 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
12637
12638Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12639
12640 * gdb.t17/interrupt.exp: Add xfail for hppa.
12641
12642Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12643
12644 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
12645 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
12646 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
12647 to determine signed-ness of bitfields and use the result to setup
12648 the xfail.
12649 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
12650 * gdb.t15/funcargs.exp: Use them to step until the second indirect
12651 call line is reached if necessary.
12652
12653Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12654
12655 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
12656
12657Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12658
12659 * gdb.t06/break.exp: Also test `clear' command.
12660
12661Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12662
12663 * gdb.t00/teststrategy.exp: Remove extra quote.
12664
12665 * gdb.t07/watchpoint.exp: Change xfail for calling function with
12666 watchpoint enabled to be for all non-68k machines.
12667
12668 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
12669
12670Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12671
12672 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
12673 targets use aout.mt instead of ecoff.mt as gas understands
12674 standard aout format.
12675
12676Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
12677
12678 * lib/gdb.exp (runto): Don't insist that function we are running to
12679 was compiled with -g.
12680
12681 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
12682
12683 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
12684 to get back into the read system call.
12685 Accept leading newline in case where we woke it up.
12686
12687Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12688
12689 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
12690 to make the stabs test work on ecoff systems using gcc and -with-stabs.
12691 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
12692 enable ecoff configuration.
12693
12694Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12695
12696 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
12697
12698Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12699
12700 * gdb.t16/printcmds.exp: Add another printf test.
12701
12702Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
12703
12704 * configure.in: If configured -with-stabs on any target, add
12705 stabsdirs to configdirs.
12706
12707Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12708
12709 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
12710 fun" so pattern does not match the command itself.
12711
12712Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12713
12714 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
12715
12716Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12717
12718 * gdb.t17/interrupt.exp: Test for more things.
12719
12720Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12721
12722 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
12723 compiler arranges the code and line numbers.
12724
12725 * gdb.t17/interrupt.exp: Don't send \n after ^C.
12726
12727Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12728
12729 * gdb.t00/help.exp: Increase expect input buffer size.
12730
12731Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12732
12733 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
12734
12735 * gdb.t07/watchpoint.exp: Add xfail for hppa.
12736
12737 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
12738
12739 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
12740 [0-9]*, not just [0-9].
12741
12742Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12743
12744 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
12745
12746 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
12747
12748Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12749
12750 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
12751
12752Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12753
12754 * gdb.t06/signals.c: Add xfails for sun3.
12755
12756 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
12757
12758 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
12759 test_stepping tests.
12760
12761Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12762
12763 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
12764
12765 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
12766
12767 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
12768 rather than actually putting it through cpp twice.
12769
12770 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
12771
12772Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
12773
12774 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
12775 no longer needed.
12776
12777Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12778
12779 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
12780
12781 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
12782 C++ features prints as "struct", make it a pass, not an xfail.
12783
12784Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12785
12786 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
12787 Don't require VA to print as "class" rather than "struct".
12788
12789Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
12790
12791 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
12792
12793Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12794
12795 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
12796
12797Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12798
12799 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
12800 order.
12801
12802Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12803
12804 * gdb.t16/printcmds.exp: Add printf tests.
12805
12806 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
12807
12808 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
12809
12810Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
12811
12812 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
12813 pass counts, to counteract any existing or future setup_xfails.
12814
12815Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12816
12817 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
12818 {BEGIN,END}_COMMON for common block instead of STAB.
12819 * gdb.stabs/wierd.exp: Add xfail for rs6000.
12820
12821 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
12822 intp_var should be N_GSYM not N_LSYM.
12823 wierd-aout.S: Use a label for the value of the N_SO.
12824 wierd.def: Remove all backslashes.
12825 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
12826
12827Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12828
12829 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
12830 get the expected next to inheritance3.
12831
12832Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
12833
12834 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
12835 now that gcc-2.4 gets it right.
12836
12837Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12838
12839 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
12840
12841 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
12842 generating comp-info.exp which works for cross-compilation.
12843
12844Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
12845
12846 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
12847 "*-*-sysv4.*".
12848
12849Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
12850
12851 * gdb.t01/run.exp: Start with a fresh gdb.
12852 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
12853 SVR4.x.
12854
12855Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
12856
12857 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
12858 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
12859 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
12860 Makefile.in (distclean, realclean): Remove gdbme.c from list of
12861 things to remove.
12862
12863Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
12864
12865 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
12866 test cases from bug reports.
12867
12868Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
12869
12870 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
12871 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
12872 avoid spurious xfails.
12873 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
12874 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
12875 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
12876
12877Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
12878
12879 * gdb.t00/teststrategy.exp: Rework to provide more useful
12880 description of each test, fix problem with systems that define
12881 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
12882 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
12883 results for "next over recursive call" so timeouts aren't taken
12884 by error.
12885
12886Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
12887
12888 * gdb.t12/scope.exp: Test printing of variables before run.
12889
12890 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
12891 printed in wrong order due to sorting.
12892
12893Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
12894
12895 * gdb.t00/teststrategy.exp: Fix expected results for printing
12896 user entered string constant. Is array of char, prints with no
12897 address.
12898
12899 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
12900 commands.
12901 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
12902 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
12903 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
12904 of struct of char arrays.
12905 * gdb.t00/radix.exp: New tests for radix commands.
12906
12907Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
12908
12909 * gdb.t16/printcmd.exp: Print a variable before running program
12910 (with xfail for AIX).
12911
12912Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
12913
12914 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
12915
12916 * gdb.t16/printcmd.exp: Don't print variables before running program.
12917
12918 * gdb.t06/break.exp: Don't require envp argument to main.
12919
12920 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
12921
12922 * gdb.t02/whatis.exp, gdb.t11/list.exp:
12923 Add xfails for rs6000.
12924
12925 * gdb.t02/whatis.exp: Change other tests not to re-test something
12926 we already tested.
12927
12928 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
12929 each type used has a variable of that type.
12930
12931Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
12932
12933 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
12934
12935Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
12936
12937 * configure.in: change srctrigger to be a file, not a directory
12938
12939Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
12940
12941 * configure.in (mips-idt-ecoff*): Added trailing '*'.
12942
12943 * gdb.t11/list.exp: Fixed a couple of typos.
12944
12945Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
12946
12947 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
12948 is fixed and PR is closed.
12949 * gdb.t16 (gdbme.c): Add simple test string variable.
12950 * gdb.t16 (printcmds.exp): Add tests with simple test string
12951 variable, primarily for boundaries on "set print elements".
12952
12953Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
12954
12955 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
12956 Make leading 0's optional and don't expect a tab in the middle
12957 of the number.
12958
12959 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
12960
12961 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
12962 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
12963 don't end command passed to gdb_test with newline.
12964
12965 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
12966 signed keyword away, don't expect signed bitfields to be signed.
12967
12968 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
12969 printing with only as many 1's as are in the field as well as printing
12970 with 32 1's (see comment).
12971
12972Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
12973
12974 * gdb.t00/default.exp: Start with a fresh gdb.
12975 * configure.in (configdirs): Remove gdb.t31 until the chill
12976 compiler works again. It no longer is able to find chillrt0
12977 since it isn't in libchill.a anymore.
12978 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
12979 wierd.o, make more modular.
12980 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
12981 spurious newlines that caused problems.
12982
12983Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12984
12985 * Move test with enums and partial symbols from gdb.t03/ptype.exp
12986 to gdb.stabs/wierd.exp since GCC has worked around the bug.
12987 gdb.stabs/wierd.{exp,def}: Many new tests.
12988
12989 * gdb.t00/default.exp: update info line for new message.
12990
12991 * gdb.t02/{whatis.exp,gdbme.c}:
12992 Test that "char *" doesn't print as "caddr_t".
12993
12994Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
12995
12996 * gdb.t00/help.exp: Use .* in place of some help messages which
12997 just changed.
12998 gdb.t00/default.exp: Update "info frame" test for new message.
12999 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
13000 Remove some xfails
13001
13002Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13003
13004 * gdb.t03/{gdbme.c,ptype.exp}:
13005 Add tests for typedef'd struct and union without tags.
13006 Also check "whatis" on a variable of a typedef'd enum without a tag.
13007
13008 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
13009 PRMS 1823; the bug still exists but isn't reproduced by this test
13010 anymore), and remove rs6000 XFAIL (the bug is fixed).
13011
13012 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
13013 duplicated from whatis.exp. For those that are left, accept
13014 "long", "long int", or "int" for long variables (whatis.exp already
13015 has an XFAIL for "int", so no need to fail it here).
13016
13017 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
13018 Deal with GCC's names for types now that GDB uses the compiler's names.
13019
13020 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
13021 setup_xfail's for sunos4. If we #defined the signed keyword away,
13022 don't expect GDB to know that char it is signed.
13023
13024 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
13025
13026Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
13027
13028 * configure.in (configdirs): Add gdb.t24 for C++ tests that
13029 should work on any system, regardless of debugging format.
13030 * gdb.t21/demangle.exp: Move to gdb.t24.
13031 * gdb.t24/demangle.exp: Move from gdb.t21.
13032 * gdb.t24/{Makefile.in, configure.in}: New files.
13033
13034Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13035
13036 * configure.in: Do gdb.stabs and C++ tests only for stabs.
13037 * gdb.stabs: New directory.
13038
13039Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
13040
13041 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
13042 not just "Quit anyway?".
13043
13044Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
13045
13046 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
13047 that all setup_xfails are immediately followed by clear_xfails.
13048
13049Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
13050
13051 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
13052 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
13053 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
13054 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
13055 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
13056 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13057 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13058 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
13059 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
13060 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
13061 gdb.t31/chillvars.exp, lib/gdb.exp:
13062 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
13063 bug-gdb@prep.ai.mit.edu.
13064
13065Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
13066
13067 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
13068 with 0.0, not integer 0.
13069
13070Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
13071
13072 * gdb.t06/break.exp: Update for "Kill the program" message change.
13073
13074Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
13075
13076 * Makefile.in (GDBFLAGS): Set to -nx.
13077 * Makefile.in (site.exp): Use GDBFLAGS.
13078
13079Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
13080
13081 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
13082 Makefiles.
13083 (check): depend on just-check.
13084 (just-check): added so that tests can be run without a noop
13085 build pass.
13086
13087Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
13088
13089 Switch to using configure's configdirs.
13090 * Makefile.in (Makefile): add configure.in dependency.
13091 (SUBDIRS): removed redundant assignment.
13092 * configure.in: switch subdirs assignment to configdirs.
13093 * gdb.t*/configure.in: new files.
13094
13095Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
13096
13097 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
13098 works.
13099
13100Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
13101
13102 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
13103 in explicit rules. Apparently this is not supported by some makes.
13104
13105Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
13106
13107 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
13108
13109Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13110
13111 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
13112 disappeared.
13113
13114Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
13115
13116 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
13117
13118Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
13119
13120 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
13121 watchpoint problem that is now fixed.
13122 * gdb.t30/chexp.exp: Remove setup_xfail for printing
13123 uninitialized convenience variables.
13124 * gdb.t31/chillvars.exp: Fix expected patterns for printing
13125 structures.
13126
13127Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13128
13129 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
13130 which causes expect to get out of sync with gdb on long output
13131 from help set.
13132 * gdb.t09/corefile.exp: Make expected pattern for core file
13133 failing signal and frame output format less sun specific.
13134
13135Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
13136
13137 * gdb.t31/chillvars.exp: Add and remove initial dummy
13138 breakpoint, so that symbol table is forced in.
13139 (Needed at least on Sunos4, though it seems not SVR4.)
13140 * gdb.t31/chillvars.exp: Update for changed output format.
13141
13142Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
13143
13144 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
13145
13146Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
13147
13148 * Makefile.in: Added --srcdir when invoking runtest, removed the
13149 need for a local config file. (optional now)
13150
13151Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
13152
13153 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
13154 failure count used to force early termination. Add some more
13155 expected failures for gnu style demangling.
13156
13157Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13158
13159 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
13160 pmi variable from gdb.t20/gdbme to get optimized away.
13161 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
13162 Check for written corefile upon timeout _and_ eof.
13163
13164Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13165
13166 * config/unix-gdb.exp: Add missing return 0.
13167
13168Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
13169
13170 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
13171 test termination.
13172
13173Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
13174
13175 * configure.in (subdirs): Put back gdb.t17 which mysteriously
13176 disappeared.
13177
13178Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
13179
13180 * gdb.t10/crossload.exp: Disable the i860-elf test until such
13181 time as i860 support works.
13182
d63a86f8 13183 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
13184 "backtrace 100\r" rather than just "backtrace\r", to match last
13185 change.
13186
13187Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
13188
13189 * config/udi-gdb.exp (gdb_exit): Remove close command.
13190 (gdb_target_udi): New procedure to set the UDI target.
13191 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
13192 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
13193 Added waits for prompts after several question responses. Added
13194 some more responses used by a29k-amd-udi-gdb.
13195 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
13196 pass different arguments, restart UDI connection after program
13197 completion.
13198 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
13199 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
13200 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
13201 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
13202 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
13203 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
13204 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
13205 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
13206 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
13207 after program completion.
13208 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
13209 compiled with a SELECT_VECS setting.
13210 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
13211 infinite recursion.
13212
13213 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
13214 Added checks for COFF results, and made them expected failures for
13215 all targets. It would be better to make them expected failures
13216 for COFF targets only.
13217
13218Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
13219
13220 * Makefile.in: add null dvi target, don't bother to recurse
13221 through test directories for info and install-info; rename
13222 $(datadir) to be dejagnu instead of deja-gnu
13223
13224Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
13225
13226 * gdb.t31/gdbme.ch: Re-enable code that previously caused
13227 compiler to coredump.
13228 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
13229 code.
13230
13231Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
13232
13233 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
13234 coredump.
13235 * gdb.t31/chillvars.exp: Comment out tests that depend on that
13236 code.
13237
13238Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
13239
13240 * gdb.t03/ptype.exp: tests for return code from gdb_test.
13241 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
13242 which in a shell. Deletes xgdb when done.
13243 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
13244 Tests the return from the "set height" or "set width" commands.
13245 Added a few return codes where needed.
13246
13247Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
13248
13249 * Makefile.in (SUBDIRS): Add gdb.t17.
13250 * configure.in (subdirs): Add gdb.t17.
13251 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
13252 files to test gdb's calling of functions in the inferior with
13253 the correct arguments and gdb's ability to retrieve any
13254 result returned.
13255
13256Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
13257
13258 * config/unix-gdb.exp (gdb_exit): Remove close commands that
13259 may be called after gdb goes away. Previous versions of expect
13260 needed these to avoid file descriptor leaks, but they cause
13261 errors with the current revision of expect.
13262 * gdb.t00/gdbvars.exp: Use -re on expected output after
13263 setting sevenbit-strings.
13264 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
13265 to set sevenbit-strings consistent across tests.
13266 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
13267 set sevenbit-strings consistent across tests.
13268
13269Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
13270
13271 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
13272 expected output to match current "expect" expectations.
13273
13274Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
13275
13276 * gdb.t00/default.exp: Change expected output for default "source"
13277 command, to match new gdb behavior which requires a filename to
13278 source.
13279
13280Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
13281
13282 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
13283 expected fail for i486-*-* that misses the marker2 function.
13284 * gdb.t10/crossload.exp (bfddefault): Allow successful
13285 recognition of a format to pass even if no symbols are found.
13286 Explicitly catch failures where the format is not recognized
13287 or is ambiguous, and add the reason to the fail message.
13288 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
13289 the cause is and invalid target and add reason to failure message.
13290 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
13291 elf32-i386, elf32-sparc, and elf32-i860.
13292 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
13293 Set up expected failure for 'filename'::variable scope resolution,
13294 which is now apparently broken on all targets.
13295 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
13296 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
13297 gdb.t23/templates.exp: Change failure for missing binfile into
13298 just a warning.
13299 gdb.t21/demangle.exp: Change all cfront references to 'arm'
13300 references.
13301
13302Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
13303
13304 * gdb.t00/default.exp: Add expected output for default "source"
13305 command, to match new gdb behavior.
13306 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
13307
13308Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
13309
13310 * config/*-gdb.exp: returns an error, rather than exiting on
13311 internal errors.
13312
13313Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
13314
13315 * gdb.t03/gdbme.c: Add pointer to struct variable.
13316 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
13317 referencing struct members.
13318
13319Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
13320
13321 * configure.in (mips-idt-ecoff): New target.
13322 * config/mips-gdb.exp: New file for remote board using MIPS remote
13323 debugging protocol.
13324
13325 * Redid configuration scheme. Removed gdb.t*/configure.in.
13326 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
13327 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
13328 distclean targets. Built executables via .o files. Adjusted
13329 tests to account for source files in $(srcdir) rather than
13330 $(objdir).
13331 * lib/gdb.exp (runto): Don't expect () after the function name,
13332 because it may have arguments.
13333
13334Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
13335
13336 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
13337 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
13338 expected failures for mips-idt-* and mips-sgi-*.
13339 * gdb.t00/default.exp (attach): Kill process if requested.
13340 * gdb.t00/help.exp (help target core, help target): Accept a gdb
13341 that does not read core files.
13342 * gdb.t01/run.exp: Removed checks for exit status code.
13343 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
13344 it is linked in.
13345 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
13346 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
13347 appropriate, rather than doing it by hand.
13348 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
13349 execution.
13350 * gdb.t10/crossload.exp: Kill existing program if needed.
13351 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
13352 appropriate, rather than doing it by hand. Always increase
13353 timeout for this test, not just for VxWorks.
13354
13355Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
13356
13357 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
13358 of Chill STRUCT types and STRUCT values.
13359 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
13360 than "char".
13361 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 13362 struct2): New struct definitions and initializations to test
c906108c
SS
13363 simple Chill STRUCT types.
13364
13365Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
13366
13367 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
13368 the null byte at the end of strings.
13369 * gdb.t00/default.exp: Make show version insensitive to copyright
13370 date.
13371 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
13372 to avoid dependencies on target char signedness.
13373 * gdb.t16/printcmds.exp: Update expected results for explicitly
13374 unsigned char.
13375 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
13376 now work.
13377 * gdb.t21/demangle.exp: Add many more patterns for template
13378 demangling, most of them being expected failures.
13379 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
13380 string we are matching for, to match on the whole string.
13381 * gdb.t21/demangle.exp: Add many new test strings to demangle,
13382 and fix a whole bunch that had incorrect expected output but were
13383 passing anyway because of the bug in "proc demangle".
13384 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
13385 type.
13386 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
13387
13388Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
13389
13390 * gdb/testsuite: made modifications to testcases, etc., to allow
13391 them to work properly given the reorganization of deja-gnu and the
13392 relocation of the testcases from deja-gnu to a "tool" subdirectory.
13393
13394Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
13395
13396 * gdb/testsuite: Initial creation of gdb/testsuite.
13397 Migrated dejagnu testcases and support files for testing nm to
13398 gdb/testsuite from deja-gnu. These files were moved "as is"
13399 with no modifications. This migration is part of a major overhaul
13400 of dejagnu. The modifications to these testcases, etc., which
13401 will allow them to work with the new version of dejagnu will be
13402 made in a future update.
48efe704 13403
8d8cb839 13404 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 13405\f
8d8cb839
EZ
13406;; Local Variables:
13407;; mode: change-log
13408;; left-margin: 8
13409;; fill-column: 74
13410;; version-control: never
13411;; End:
902f2ccb
MC
13412
13413 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 13414 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
13415 Copying and distribution of this file, with or without modification,
13416 are permitted provided the copyright notice and this notice are preserved.
This page took 1.924629 seconds and 4 git commands to generate.