2003-04-04 Elena Zannoni <ezannoni@redhat.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ed4c619a
AC
12003-04-02 Andrew Cagney <cagney@redhat.com>
2
3 * gdb.base/callfuncs.exp: Make "print add" messages unique.
4 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
5 matching directories by the name breakpoint.
6 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
7 Make "continue to marker1" consistent.
8 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
9 message consistent.
10 * lib/gdb.exp: Put "the program is no longer running", and "the
11 program exited" in parenthesis.
12 * lib/mi-support.exp: Ditto.
13
4e35d5f0
BR
142003-04-02 Bob Rossi <bob_rossi@cox.net>
15
16 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
17
71900fe8
AC
182003-03-29 Andrew Cagney <cagney@redhat.com>
19
20 * gdb.base/sizeof.c (main): Print the value of '\377'.
21 * gdb.base/sizeof.exp: Check the sign of '\377'.
22
c0655a16
MC
232003-03-27 Michael Chastain <mec@shout.net>
24
25 * gdb.base/gdb1090.exp: New file.
26 * gdb.base/gdb1090.cc: New file.
27
5b2a3989
JB
282003-03-27 J. Brobecker <brobecker@gnat.com>
29
30 * gdb.gdb/observer.exp: New regression test.
31
79876890
MC
322003-03-27 Michael Chastain <mec@shout.net>
33
34 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
35 * gdb.base/ptype.exp: Likewise.
36
6eac95e3
CV
372003-03-27 Corinna Vinschen <vinschen@redhat.com>
38
39 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
40
e8c71839
MC
412003-03-26 Michael Chastain <mec@shout.net>
42
43 * gdb.base/ptype.exp: Actually use some typedef'd types.
44
71b10041
SC
452003-03-21 Stephane Carrez <stcarrez@nerim.fr>
46
47 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
48 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
49
2512cf80
CV
502003-03-20 Corinna Vinschen <vinschen@redhat.com>
51
52 * gdb.base/default.exp: Fix regular expression.
53
0d195a4f
CV
542003-03-20 Corinna Vinschen <vinschen@redhat.com>
55
56 * gdb.base/args.exp: Fix regular expression.
57
8a2dbca8
CV
582003-03-20 Corinna Vinschen <vinschen@redhat.com>
59
60 * gdb.base/help.exp: Allow Win32 child process.
61
bf028682
CV
622003-03-20 Corinna Vinschen <vinschen@redhat.com>
63
64 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
65 when stepping out of main().
66
182dbe85
CV
672003-03-20 Corinna Vinschen <vinschen@redhat.com>
68
69 * gdb.base/default.exp: Check for win32 specific message when calling
70 "run" without executable.
71
d67a6ba5
CV
722003-03-20 Corinna Vinschen <vinschen@redhat.com>
73
74 * gdb.base/args.exp: Expect .exe in output.
75
a955b5bb
CV
762003-03-20 Corinna Vinschen <vinschen@redhat.com>
77
78 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
79 Cygwin native.
80
bf6bad4b
AC
812003-03-17 Andrew Cagney <cagney@redhat.com>
82
83 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
84 vector registes.
85 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
86 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
87
293e9a31
DC
882003-03-17 David Carlton <carlton@math.stanford.edu>
89
90 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
91 test, for PR breakpoints/38.
92 Call test_watchpoint_and_breakpoint.
93 * gdb.base/watchpoint.c (func3): New function.
94 (main): Call func3.
95
5330f2db
DC
962003-03-04 David Carlton <carlton@math.stanford.edu>
97
98 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
99 Garply<Garply<char> >:: garply".
100 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
101 with respect to PR c++/1111; note also PR c++/1113.
102 (test_template_breakpoints): KFAIL "constructor breakpoint" with
103 respect to PR c++/1062.
104 KFAIL "destructor breakpoint" with respect to PR c++/1112.
105
6ece72da
DC
1062003-03-03 David Carlton <carlton@math.stanford.edu>
107
108 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
109 with respect to PR c++/57.
110 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
111 c++/826.
112 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
113 respect to PR c++/57.
114
85ca1584
DC
1152003-03-03 David Carlton <carlton@math.stanford.edu>
116
117 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
118 respect to PR c++/33 into FAILs.
119
98e9c5b8
MC
1202003-03-03 Michael Chastain <mec@shout.net>
121
7bedbf27
MC
122 * configure.in: Update copyright years.
123
1242003-03-03 Michael Chastain <mec@shout.net>
125
126 * Makefile.in: Update copyright years.
98e9c5b8 127
f683e100
DC
1282003-02-28 David Carlton <carlton@math.stanford.edu>
129
130 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
131 print class instead of struct and/or superfluous protection
132 specifiers, as long as the resulting output is equivalent to the
133 source code.
134 Delete FIXME from end of messages on tests that don't need
135 fixing.
136
a9e0cf2c
DC
1372003-02-28 David Carlton <carlton@math.stanford.edu>
138
139 * gdb.c++/templates.exp (do_tests): Allow const in the two
140 Foo<volatile char *>::foo tests.
141
e8d359df
MS
1422003-02-27 Michael Snyder <msnyder@redhat.com>
143
144 * gdb.base/restore.c (main): Return zero, so exit code
145 will be consistant.
146
0b71dc91
DC
1472003-02-26 David Carlton <carlton@math.stanford.edu>
148
149 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
150 char *>::foo" test with respect to PR c++/33. Create a new test
151 which is identical to that one except that it doesn't put the
152 space between the "char" and the "*"; KFAIL it, too.
153
dd14ab43
DC
1542003-02-26 David Carlton <carlton@math.stanford.edu>
155
156 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
157 template types into either PASSes or KFAILs (corresponding to PR
158 c++/57). Tweak indentation. Update copyright.
159
1146c7f1
SC
1602003-02-23 Stephane Carrez <stcarrez@nerim.fr>
161
162 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
163
74641dfb
MC
1642003-02-13 Michael Chastain <mec@shout.net>
165
166 * gdb.base/exprs.exp: Remove i960 remnants.
167 * gdb.base/funcargs.exp: Likewise.
168 * gdb.base/list.exp: Likewise.
169 * gdb.base/ptype.exp: Likewise.
170
559cd2d0
DC
1712003-02-14 David Carlton <carlton@math.stanford.edu>
172
173 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
174 pEe->D::vg()" from XFAIL to KFAIL.
175
c4f90d87
JM
1762003-02-13 Jason Molenda (jmolenda@apple.com)
177
178 * gdb.base/maint.exp: Update maint print statistics regexp to include
179 new entries.
180
cbc4d97c
MC
1812003-02-13 Michael Chastain <mec@shout.net>
182
183 * gdb.c++/inherit.exp: Remove call to get_debug_format.
184
40f235b7
MC
1852003-02-12 Michael Chastain <mec@shout.net>
186
187 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
188 * gdb.c++/inherit.exp: Likewise.
189 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
190 * gdb.c++/templates.exp: Likewise.
191 * gdb.c++/virtfunc.exp: Likewise.
192
c56716b0
JM
1932003-02-06 Jason Molenda (jason-cl@molenda.com)
194
195 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
196 why the code is written that way.
197
070afcf8
MC
1982003-02-05 Michael Chastain <mec@shout.net>
199
200 * gdb.base/dump.exp: Add missing copyright line.
201
5d0331e5
JM
2022003-02-05 Jason Molenda (jason-cl@molenda.com)
203
f7ae6d3e 204 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
205 at the beginning so the breakpoint doesn't get set on the loop.
206
92851186
MC
2072003-02-05 Michael Chastain <mec@shout.net>
208
209 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
210 output for configurations with gcc 2.95.3.
211
cbf1e085
AC
2122003-02-05 Keith Seitz <keiths@redhat.com>
213 Andrew Cagney <ac131313@redhat.com>
214
215 * gdb.mi/mi-cli.exp: New file.
216
29518e1e
MC
2172003-02-04 Michael Chastain <mec@shout.net>
218
219 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
220 Call perror and then continue.
221
5af1d5f3
MC
2222003-02-03 Michael Chastain <mec@shout.net>
223
224 * gdb.c++/pr-1023.cc: New file.
225 * gdb.c++/pr-1023.exp: New file.
226
6b549786
JB
2272003-02-05 Jim Blandy <jimb@redhat.com>
228
229 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
230 it's local to foobar. Check for it there, and check that it's not
231 present in main.
232 * gdb.c++/local.cc (marker2): New function.
233 (foobar): Call marker1.
234 (main): Call marker2 instead of marker1.
235
67f16606
AC
2362003-02-04 Andrew Cagney <ac131313@redhat.com>
237
238 * gdb.disasm/mn10200.exp: Obsolete file.
239 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
240 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
241 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
242
1c5cb38e
DC
2432003-02-04 David Carlton <carlton@math.stanford.edu>
244
245 * gdb.c++/overload.exp: Test intToChar(1).
246 * gdb.c++/overload.cc (intToChar): New.
247 (main): Call intToChar.
248
d1fe6965
DC
2492003-02-03 David Carlton <carlton@math.stanford.edu>
250
251 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
252 'might_kfail' arg.
253 KFAIL some of the continue_to_bp_overloaded calls, according to
254 PR c++/1025.
255
9ba61c5d
MC
2562003-02-01 Michael Chastain <mec@shout.net>
257
258 * gdb.base/advance.c (marker1): New marker function.
259 * gdb.base/advance.exp: When the 'advance' command lands on the
260 return breakpoint, it can legitimately stop on either the
261 current line or the next line. Accommodate both outcomes.
262 * gdb.base/until.exp: Likewise.
263
e7494ffb
AC
2642003-02-02 Andrew Cagney <ac131313@redhat.com>
265
266 2002-11-10 Jason Molenda (jason-cl@molenda.com):
267 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
268 now a list, not a tuple.
269 * gdb.mi/mi-var-display.exp: Ditto.
270 * gdb.mi/gdb792.exp: Ditto.
271
075559bc
AC
2722003-02-01 Andrew Cagney <ac131313@redhat.com>
273
274 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
275 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
276 stack backtraces.
277 * gdb.mi/mi-syn-frame.c: Part of same.
278
2bd4c7b1
MK
2792003-02-01 Mark Kettenis <kettenis@gnu.org>
280
281 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
282 gdb.mi/mi1-pthreads.exp: Return instead of calling
283 gdb_suppress_entire_file.
284
eabd8992
MS
2852003-02-01 Mark Salter <msalter@redhat.com>
286
287 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
288
71469e2f
MS
2892003-01-31 Mark Salter <msalter@redhat.com>
290
291 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
292 Support empty arg.
293
38a94d44
MC
2942003-01-30 Michael Chastain <mec@shout.net>
295
296 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
297 This was a workaround for a UTF-8 bug in readline 4.3. The bug
298 has been fixed in gdb/readline on 2003-01-09.
299
19ea9e73
MS
3002003-01-29 Michael Snyder <msnyder@redhat.com>
301
e8d359df
MS
302 * gdb.base/maint.exp: Allow for leading underscore in symbol.
303 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
304 * gdb.base/args.exp: Skip if target does not support args passing.
305
2307bd6a
DJ
3062003-01-22 Daniel Jacobowitz <drow@mvista.com>
307
19ea9e73 308 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
309 gdb_test. Accept a list of expect arguments as the third
310 parameter.
311 (gdb_test): Use it.
312
f2dd3617
EZ
3132003-01-20 Elena Zannoni <ezannoni@redhat.com>
314
315 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
316 allow for different test tree configurations. Update some
317 tescases accordingly.
318 * gdb.arch/altivec-regs.exp: Ditto.
319 * gdb.asm/asm-source.exp: Ditto.
320 * gdb.base/advance.exp: Ditto.
321 * gdb.base/display.exp: Ditto.
322 * gdb.base/long_long.exp: Ditto.
323 * gdb.base/mips_pro.exp: Ditto.
324 * gdb.base/overlays.exp: Ditto.
325 * gdb.base/relocate.exp: Ditto.
326 * gdb.base/setshow.exp: Ditto.
327 * gdb.base/step-line.exp: Ditto.
328 * gdb.base/step-test.exp: Ditto.
329 * gdb.base/until.exp: Ditto.
330 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
331
c71cdefd
DC
3322003-01-17 David Carlton <carlton@math.stanford.edu>
333
334 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
335 corresponding to PR c++/945.
336 Update copyright.
337
fdba05d7
DC
3382003-01-17 David Carlton <carlton@math.stanford.edu>
339
340 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
341 corresponding to PR c++/68.
342
3432003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
344
345 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
346 (test_paddr_hairy_functions): Call print_addr_2_kfail for
347 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
348
c362c33a
EZ
3492003-01-15 Elena Zannoni <ezannoni@redhat.com>
350
0fbc361c
EZ
351 * gdb.base/break.exp: Fix change of default location, because of
352 removal of until tests.
353 * gdb.base/help.exp: Update test for new 'until' help message.
354 Add test for help on 'advance'.
c362c33a
EZ
355 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
356
dabf8a35
MK
3572003-01-15 Mark Kettenis <kettenis@gnu.org>
358
359 * gdb.base/default.exp: Adapt "info float" test for recent changes
360 to that command. Add test for "info vector".
361 * gdb.base/float.exp: New file. Add test for "info float" that
362 resembles the old test in gdb.base/default.exp.
363
a1769aca
DC
3642003-01-15 David Carlton <carlton@math.stanford.edu>
365
366 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
367
82025e13
EZ
3682003-01-15 Elena Zannoni <ezannoni@redhat.com>
369
370 * gdb.base/break.exp: Move the tests of until command from here...
371 * gdb.base/until.exp: ... to here. New file. Add other tests.
372 * gdb.base/advance.c: New file.
373 * gdb.base/advance.exp: New file.
374
8f9ab801
EZ
3752003-01-14 Elena Zannoni <ezannoni@redhat.com>
376
377 * gdb.base/args.c: New file.
378 * gdb.base/args.exp: New file.
379
9ae66589
DJ
3802003-01-14 Daniel Jacobowitz <drow@mvista.com>
381
382 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
383
8d77e5c3
DJ
3842003-01-14 Daniel Jacobowitz <drow@mvista.com>
385
386 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
387
12d2f0a1
DJ
3882003-01-14 Daniel Jacobowitz <drow@mvista.com>
389
390 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
391 dates.
392
6ca37014
DJ
3932003-01-13 Daniel Jacobowitz <drow@mvista.com>
394
395 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
396
b0023472
DJ
3972003-01-13 Daniel Jacobowitz <drow@mvista.com>
398
399 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
400 (ptype &*"foo").
401 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
402
d6abaea5
DJ
4032002-01-13 Daniel Jacobowitz <drow@mvista.com>
404
405 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
406 * gdb.mi/mi1-console.exp: Likewise.
407
dfd536a7
DJ
4082002-01-13 Daniel Jacobowitz <drow@mvista.com>
409
410 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
411 * gdb.mi/mi1-console.exp: Likewise.
412
a1fb14a2
DJ
4132003-01-13 Daniel Jacobowitz <drow@mvista.com>
414
415 * gdb.c++/overload.exp: Remove some fixed XFAILs.
416
c4cf40b7
DJ
4172003-01-09 Daniel Jacobowitz <drow@mvista.com>
418
419 * gdb.base/detach.exp: New test.
420
696d5a5b
DJ
4212003-01-09 Daniel Jacobowitz <drow@mvista.com>
422
423 * Makefile.in (ALL_SUBDIRS): New variable.
424 (subdirs, clean, distclean): Use it.
425 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
426 regenerating Makefile, since it is generated from the top level.
427 * gdb.asm/Makefile.in: Likewise.
428 * gdb.base/Makefile.in: Likewise.
429 * gdb.c++/Makefile.in: Likewise.
430 * gdb.disasm/Makefile.in: Likewise.
431 * gdb.java/Makefile.in: Likewise.
432 * gdb.mi/Makefile.in: Likewise.
433 * gdb.threads/Makefile.in: Likewise.
434 * gdb.trace/Makefile.in: Likewise.
435
754533e4
DC
4362003-01-09 David Carlton <carlton@math.stanford.edu>
437
438 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
439 Add copyright year 2003.
440
d8b3e9ee
MC
4412003-01-06 Michael Chastain <mec@shout.net>
442
443 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
444 When selecting a thread, 'line' and 'file' are optional.
445 * gdb.mi/mi1-pthreads.exp: Likewise.
446
8e9e0fe6
AS
4472003-01-06 Andreas Schwab <schwab@suse.de>
448
449 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
450 failures.
451
b5ab8ff3
DJ
4522003-01-04 Daniel Jacobowitz <drow@mvista.com>
453
454 Fix PR gdb/844
455 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
456 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
457
458 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
459 instead of calling gdb_suppress_entire_file.
460 * gdb.threads/print-threads.exp: Likewise.
461 * gdb.threads/schedlock.exp: Likewise.
462
463 * gdb.threads/killed.exp: Return instead of calling
464 gdb_suppress_entire_file.
465 * gdb.threads/linux-dp.exp: Likewise.
466 * gdb.threads/pthreads.exp: Likewise.
467
1e698235
DJ
4682003-01-04 Daniel Jacobowitz <drow@mvista.com>
469
470 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
471 stabs.
472 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
473 * gdb.base/whatis.exp: Always allow (void) after function names.
474
147ff08c
DJ
4752003-01-04 Daniel Jacobowitz <drow@mvista.com>
476
477 * gdb.c++/casts.exp: Correct regexp.
478
dc62bfc2
MK
4792003-01-04 Mark Kettenis <kettenis@gnu.org>
480
481 * configure.in: Call AC_CONFIG_HEADER. Don't call
482 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
483 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
484 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
485 aforementioned directories in the AC_OUPUT call.
486 * config.hin: New file.
487 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
488 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
489 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
490 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
491 pass -I$objdir instead of -I$objdir/$subdir in compilation.
492 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
493 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
494 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
495 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
496 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
497 gdb.threads/configure.in, gdb.threads/configure,
498 gdb.threads/config.in, gdb.trace/configure.in,
499 gdb.trace/configure: Removed.
500
77afa639
MC
5012003-01-03 Michael Chastain <mec@shout.net>
502
503 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
504 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
505
7634bb6e
DJ
5062003-01-03 Daniel Jacobowitz <drow@mvista.com>
507
508 * gdb.base/store.exp: Fix regular expressions.
509
b39c905e
MK
5102002-12-28 Mark Kettenis <kettenis@gnu.org>
511
512 * configure.in: Rewrite.
513 * configure: Regenerated.
514
0a8551dd
DC
5152003-01-03 David Carlton <carlton@math.stanford.edu>
516
517 * gdb.base/psymtab.exp: New file.
518 * gdb.base/psymtab1.c: Ditto.
519 * gdb.base/psymtab2.c: Ditto.
520
c60b7188
AF
5212002-12-23 Adam Fedor <fedor@gnu.org>
522
523 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
524
ee73db83
DC
5252002-12-23 David Carlton <carlton@math.stanford.edu>
526
527 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
528 and current_directory initialization.
529
d6c1774e
JB
5302002-12-22 Jim Blandy <jimb@redhat.com>
531
f0a847b8
JB
532 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
533 rather than as part of the output file name.
534
d6c1774e
JB
535 * gdb.base/attach.exp: There's no need to copy the test program to
536 /tmp; that was only ever necessary on HP/UX, and this test is
537 entirely disabled there anyway.
538
f0708dbb
JB
5392002-12-21 Jim Blandy <jimb@redhat.com>
540
4c2acfea
JB
541 * gdb.c++/psmang.exp: Doc fix.
542
f0708dbb
JB
543 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
544 test.
545
9579e000
DC
5462002-12-20 David Carlton <carlton@math.stanford.edu>
547
548 * gdb.c++/annota2.exp: KFAIL annotate-quit.
549
d1810171
MC
5502002-12-18 Michael Chastain <mec@shout.net>
551
552 * gdb.c++/annota2.exp: Add copyright year 2002.
553
76565097
DC
5542002-12-17 David Carlton <carlton@math.stanford.edu>
555
556 * gdb.c++/try_catch.cc: Add marker comments.
557 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
558 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
559 * gdb.c++/m-static.cc: Ditto.
560 * gdb.c++/m-static1.cc: Ditto.
561 * gdb.c++/try_catch.cc: Ditto.
562
da81390b
JJ
5632002-12-16 Jeff Johnston <jjohnstn@redhat.com>
564
565 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
566 to see whether we are using the new -environment-directory
567 command which resets via -r or the old version of the command
568 which may prompt the user. Part of fix for gdb/741.
569
b304d130
AC
5702002-12-13 Andrew Cagney <ac131313@redhat.com>
571
572 * gdb.fortran/types.exp: Update obsolete comment.
573 * gdb.fortran/exprs.exp: Ditto.
574 * lib/gdb.exp: Delete obsolete code.
575 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
576 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
577 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
578 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
579 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
580 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
581 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
582 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
583 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
584 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
585 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
586 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
587 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
588 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
589 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
590 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
591 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
592 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
593 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
594 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
595 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
596 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
597 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
598 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
599 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
600 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
601 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
602 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
603 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
604 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
605 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
606 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
607 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
608 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
609 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
610 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
611 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
612
a23b6e6a
DC
6132002-12-11 David Carlton <carlton@math.stanford.edu>
614
615 * gdb.c++/m-data.exp: Add test for members that shadow global
616 variables: see PR gdb/804.
617 * gdb.c++/m-data.cc: Ditto.
618
6604731b
DJ
6192002-12-10 Daniel Jacobowitz <drow@mvista.com>
620
621 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
622
de46ecd7
DC
6232002-12-06 David Carlton <carlton@math.stanford.edu>
624
625 * gdb.base/store.c: Don't declare functions static.
626
27e829d0
AC
6272002-12-04 Andrew Cagney <ac131313@redhat.com>
628
629 * gdb.base/store.exp, gdb.base/store.c: New files.
630
92806416
DJ
6312002-12-03 Daniel Jacobowitz <drow@mvista.com>
632
633 * gdb.base/selftest.exp: Update for current gdb.
634
3bcbaac5
DJ
6352002-12-03 Daniel Jacobowitz <drow@mvista.com>
636
637 * gdb.base/maint.exp: Only dump symbols from one source file
638 or objfile.
639
f4f00b1f
DJ
6402002-12-03 Daniel Jacobowitz <drow@mvista.com>
641
642 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
643 function call.
644
f1c8a949
JB
6452002-11-25 Jim Blandy <jimb@redhat.com>
646
647 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
648 function appearing in error message.
649
9e297a97
DJ
6502002-11-21 Daniel Jacobowitz <drow@mvista.com>
651
652 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
653
1f312e79
JJ
6542002-11-08 Jeff Johnston <jjohnstn@redhat.com>
655
656 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
657 for mi1 and current mi is in correct format. New mi startup message
658 should be in mi console format. This is part of fix for PR gdb/604.
659
83c31e7d
FN
6602002-09-18 Fernando Nasser <fnasser@redhat.com>
661
662 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
663 which explicitly prints the zero offset as "+0".
664
322b3f65
DJ
6652002-10-22 Daniel Jacobowitz <drow@mvista.com>
666
667 * gdb.threads/schedlock.c (args): Make unsigned.
668
6692002-10-21 Daniel Jacobowitz <drow@mvista.com>
670
671 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
672 numbers. Allow "foo2|selected stack frame".
673 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
674 * gdb.asm/asmsrc2.s: Likewise.
675 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
676 comments.
677 * gdb.asm/mips.inc: New file.
678
5e2fe5b8
AF
6792002-10-18 Adam Fedor <fedor@gnu.org>
680
681 * gdb.base/default.exp: Update expected output to include 'ObjC'.
682 * gdb.base/help.exp: Likewise.
683
abe1a5d0
KB
6842002-10-17 Kevin Buettner <kevinb@redhat.com>
685
686 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
687 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
688
10abb1d4
JB
6892002-10-02 Jim Blandy <jimb@redhat.com>
690
691 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
692
1f609b42
AC
6932002-10-01 Andrew Cagney <ac131313@redhat.com>
694
695 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
696 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
697 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
698 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
699 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
700 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
701 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
702
0aee02e4
AC
7032002-09-29 Andrew Cagney <ac131313@redhat.com>
704
705 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
706 * mi0-disassemble.exp, mi0-eval.exp: Delete.
707 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
708 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
709 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
710 * mi0-var-block.exp, mi0-var-child.exp: Delete.
711 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
712
6fde09ad
KB
7132002-09-27 Kevin Buettner <kevinb@redhat.com>
714
715 * gdb.base/annota1.exp (info break): Make directory components of
716 path optional since not all compilers emit this debug information.
717
718 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
719 step ends up stepping out of the function instead of stopping on
720 the epilogue.
721
9e8aab75
KS
7222002-09-26 Keith Seitz <keiths@redhat.com>
723
724 * lib/insight-support.exp (gdbtk_start): Figure out where
725 the insight executable is based on where gdb is. Use this
726 executable to start insight instead of gdb.
727
e36180d7
AC
7282002-09-25 Andrew Cagney <cagney@redhat.com>
729
730 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
731
9dd34b2b
AC
7322002-09-24 Andrew Cagney <ac131313@redhat.com>
733
734 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
735 test_isolated_complaints.
736 (test_empty_complaint): New function.
737 (test_empty_complaints): New function. Check no output when no
738 complaints.
739
dea97812
KB
7402002-09-19 Jim Blandy <jimb@redhat.com>
741
742 * gdb.base/charset.exp, gdb.base/charset.c: New files.
743
54951bd7
AC
7442002-09-19 Andrew Cagney <ac131313@redhat.com>
745
746 * gdb.gdb/complaints.exp: New file.
747
dec43320
AC
7482002-09-18 Andrew Cagney <ac131313@redhat.com>
749
750 * gdb.base/maint.exp: Check `help maint internal-warning'.
751
e70d6e3f
DC
7522002-09-18 David Carlton <carlton@math.stanford.edu>
753
754 * gdb.c++/m-static.exp: Remove breakpoints depending on line
755 numbers, and replace them by a single breakpoint after the
756 constructors are all finished.
757 Add test 4.
758 * gdb.c++/m-static.cc: Add test 4.
759 * gdb.c++/m-static.h: New file.
760 * gdb.c++/m-static1.cc: New file.
761
762 * gdb.c++/printmethod.exp: New file.
763 * gdb.c++/printmethod.cc: New file.
764
765 * gdb.c++/pr-574.exp: New file.
766 * gdb.c++/pr-574.cc: New file.
767
afb5c968
CV
7682002-09-18 Corinna Vinschen <vinschen@redhat.com>
769
770 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
771 embedded targets which never actually exit.
772
31e45dee
FN
7732002-09-18 Fernando Nasser <fnasser@redhat.com>
774
775 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
776 "don't step after run" as unresolved or unsupported, instead of xfail.
777
a283c5a1
CV
7782002-09-18 Corinna Vinschen <vinschen@redhat.com>
779
780 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
781 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
782 Add newline to expected string in "step out of main (status wrapper)"
783 case.
784
11350d2a
CV
7852002-09-18 Corinna Vinschen <vinschen@redhat.com>
786
787 * lib/gdb.exp (rerun_to_main): Allow restarting application.
788 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
789
0deec7d6
TT
7902002-09-17 Tom Tromey <tromey@redhat.com>
791
792 * gdb.base/printcmds.exp (test_print_string_constants): Expect
793 \000, not \0, in double-quoted string.
794
b2b4a1b5
CV
7952002-09-14 Corinna Vinschen <vinschen@redhat.com>
796
797 * gdb.base/command.exp: Don't expect a "Program exited normally"
798 string after running the commands execution on breakpoint tests.
799
1c56143a
CV
8002002-09-13 Corinna Vinschen <vinschen@redhat.com>
801
802 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
803
37f8da45
JB
8042002-09-12 Joel Brobecker <brobecker@gnat.com>
805
806 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
807
08b468e0
KS
8082002-09-10 Keith Seitz <keiths@redhat.com>
809
810 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
811 runto proc.
812 (mi_run_to_main): Use mi_runto.
813 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
814
dc360f58
KS
8152002-09-10 Keith Seitz <keiths@redhat.com>
816
817 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
818 regexp for stopping at main. Could have multiple event notifications.
819 Don't assume that main was declared with no parameters.
820 (mi_next): Use mi_step_to.
821 (mi_step): Use mi_next_to.
822
ce3abcfb
CV
8232002-09-09 Corinna Vinschen <vinschen@redhat.com>
824
825 * gdb.base/default.exp: Fix expected string in `info float' test.
826
d1f5b980
BE
8272002-09-09 Ben Elliston <bje@redhat.com>
828
829 * config/mips.exp: Update comments.
830 * config/mips-idt.exp: Likewise.
831 * config/nind.exp: Likewise.
832 * config/slite.exp: Likewise.
833 * config/sparclet.exp: Likewise.
834 * config/udi.exp: Likewise.
835 * config/vx.exp: Likewise.
836 * config/vxworks29k.exp: Likewise.
837
2f71430b
JB
8382002-09-05 Jim Blandy <jimb@redhat.com>
839
840 * gdb.threads/killed.exp: Fix test failure message.
841
7ddebc7e
KS
8422002-09-04 Keith Seitz <keiths@redhat.com>
843
844 * lib/mi-support.exp: Update copyright.
845 (mi_gdb_test): Increase the priority of the expected pattern
846 so that it matches gdb_test.
847
0ae67eb3
KS
8482002-09-03 Keith Seitz <keiths@redhat.com>
849
850 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
851 Use integer comparison instead of string comparison for testing
852 whether binary was built.
853
38fc42c8
JB
8542002-09-03 Jim Blandy <jimb@redhat.com>
855
856 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
857
b6ff0e81
JB
8582002-08-29 Jim Blandy <jimb@redhat.com>
859
860 * gdb.threads/pthreads.exp: Move the portable thread compilation
861 code into a function in lib/gdb.exp, and call that from here.
862 * lib/gdb.exp (gdb_compile_pthreads): New function.
863
07c98896
KS
8642002-08-29 Keith Seitz <keiths@redhat.com>
865
866 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
867 expect_out so that callers can get at it.
868
0312286c
DJ
8692002-08-23 Daniel Jacobowitz <drow@mvista.com>
870
871 * gdb.threads/print-threads.c: New file.
872 * gdb.threads/print-threads.exp: New file.
873 * gdb.threads/schedlock.c: New file.
874 * gdb.threads/schedlock.exp: New file.
875
dd039bc4
EZ
8762002-08-22 Elena Zannoni <ezannoni@redhat.com>
877
878 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
879 not altivec.c.
880
1f36144c
MK
8812002-08-17 Mark Kettenis <kettenis@gnu.org>
882
883 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
884 targets. The problem should be fixed now.
885
16057ec7 8862002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
887
888 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
889 2002-07-24 change that removes final dots from error messages.
890
3c1499ad
TT
8912002-08-13 Tom Tromey <tromey@redhat.com>
892
893 * gdb.base/readline.exp: New file.
894
a20ce2c3
AC
8952002-08-01 Andrew Cagney <ac131313@redhat.com>
896
897 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
898 supress message.
899
db034ac5
AC
9002002-08-01 Andrew Cagney <cagney@redhat.com>
901
902 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
903 CHILL_FOR_TARGET and CHILL_LIB.
904 * configure.in (configdirs): Remove gdb.chill.
905 * configure: Regenerate.
906 * lib/gdb.exp: Obsolete references to chill.
907 * gdb.fortran/types.exp: Ditto.
908 * gdb.fortran/exprs.exp: Ditto.
909
3e000b18
KB
9102002-07-30 Kevin Buettner <kevinb@redhat.com>
911
912 * gdb.base/shlib-call.exp (additional_flags): Conditionally
913 set Irix-specific compile and link flags.
914
28f4966b
KB
9152002-07-29 Kevin Buettner <kevinb@redhat.com>
916
917 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
918 source files. The ``-o'' option doesn't work with the ``-E'' option
919 when using the Irix compiler.
920
46c0d5a6
DJ
9212002-07-19 Daniel Jacobowitz <drow@mvista.com>
922
923 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
924 Improve support for reusing an exec file. Copy exec file
925 to target, and run gdbserver on the target instead of on the host.
926
eecf4bed
JB
9272002-07-18 Jim Blandy <jimb@redhat.com>
928
0f815cdf
JB
929 * gdb.base/ending-run.exp: Don't expect to see the program end in
930 some orderly fashion when we're running on a real stand-alone
931 board.
932
eecf4bed
JB
933 * gdb.base/interrupt.exp: Correct logic for skipping tests on
934 targets that don't support interrupts.
935
52d309e4
JB
9362002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
937
938 * gdb.base/attach.exp: Add patterns to match output from /proc-based
939 systems.
940 Move comments in expect statements to inside the actions, so that they
941 don't get matched against.
942
ff683d9e
MK
9432002-07-10 Mark Kettenis <kettenis@gnu.org>
944
945 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
946 function when asleep" test.
947
b5356753
AC
9482002-07-10 Andrew Cagney <ac131313@redhat.com>
949
950 * gdb.base/page.exp: Rewrite to handle problems with very long
951 `info set' output. Update copyright.
952
6aa4d13a
AC
9532002-06-26 Andrew Cagney <ac131313@redhat.com>
954
955 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
956 gdb.threads-hp.
957 * gdb.hp/configure: Regenerate.
958 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
959 * gdb.hp/gdb.threads-hp/configure: Delete file.
960 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
961
8cf8c2b8
AC
9622002-06-22 Andrew Cagney <ac131313@redhat.com>
963
964 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
965 setlocale, bindtextdomain and textdomain.
966
6827a8f8
JB
9672002-06-11 Jim Blandy <jimb@redhat.com>
968
919d772c
JB
969 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
970 preprocessor macro information is present.
971
6827a8f8
JB
972 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
973 tests.
974
c15b0d21
MS
9752002-06-06 Michael Snyder <msnyder@redhat.com>
976
c5984d70
MS
977 * gdb.base/overlays.exp: Record addresses of overlay
978 functions in TCL variables rather than in GDB variables,
979 to avoid having GDB convert them to pointers (with loss
980 of information).
981
99a8512b
MS
982 * gdb.base/d10v.ld: Merge in several years worth of
983 default linker script changes.
c15b0d21
MS
984 * gdb.base/long_long.exp: Add check for sizeof (long double).
985
be26fe0d
ML
9862002-06-06 Michal Ludvig <mludvig@suse.cz>
987
988 * gdb.asm/asm-source.exp: Add x86-64 target.
989 * gdb.asm/x86_64.inc: New.
990
258093ca 9912002-05-30 Michael Chastain <mec@shout.net>
258093ca 992
4b3153f1 993 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
994 * gdb.c++/m-static.cc: New file.
995 * gdb.c++/m-static.exp: New file.
996
241264c6
MS
9972002-05-28 Michael Snyder <msnyder@redhat.com>
998
999 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1000 precision.
1001
9bba8c8f 10022002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1003
4b3153f1 1004 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1005 * gdb.c++/m-data.cc: New file.
1006 * gdb.c++/m-data.exp: New file.
1007
10082002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1009
4b3153f1 1010 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1011 * gdb.c++/try_catch.cc: New file.
1012 * gdb.c++/try_catch.exp: New file.
1013
def1b996
MC
10142002-05-27 Michael Chastain <mec@shout.net>
1015
1016 * gdb.c++/local.exp: Accept more nested types in output.
1017
522ba268
MC
10182002-05-26 Michael Chastain <mec@shout.net>
1019
1020 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1021
277254ba
MS
10222002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1023
1024 * lib/gdb.exp (gdb_wrapper_init): Just because
1025 gdb_wrapper_file exists, this does not mean that the file
1026 should not be rebuilt. That is what gdb_wrapper_initialized
1027 is for.
1028 (default_gdb_init): Reset gdb_wrapper_initialized.
1029
b61a8733
MS
10302002-05-23 Michael Snyder <msnyder@redhat.com>
1031
5bdb6d01
MS
1032 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1033 the precision of the floating point test results.
1034 * gdb.base/call-rt-st.exp: Ditto.
1035
b61a8733
MS
1036 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1037 * gdb.base/call-rt-st.exp: Ditto.
1038
56f6e910
MC
10392002-05-19 Michael Chastain <mec@shout.net>
1040
1041 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1042
ad0b0016
EZ
10432002-05-19 Elena Zannoni <ezannoni@redhat.com>
1044
1045 * configure.in (configdirs): Add gdb.arch.
1046 * configure: Regenerate.
1047
f617d2b6
JB
10482002-05-17 Jim Blandy <jimb@redhat.com>
1049
1050 * gdb.base/completion.exp: Recognize the more detailed error
1051 messages produced by the macro expander's lexical analyzer.
1052
eac2a696
EZ
10532002-05-14 Elena Zannoni <ezannoni@redhat.com>
1054
1055 * gdb.arch/altivec-abi.c: New file.
1056 * gdb.arch/altivec-abi.exp: New file.
1057 * gdb.arch/altivec-regs.c: New file.
1058 * gdb.arch/altivec-regs.exp: New file.
1059
2fdde8f8
DJ
10602002-05-14 Daniel Jacobowitz <drow@mvista.com>
1061
1062 * gdb.base/maint.exp (maint print type): Update for new type
1063 structure.
eac2a696 1064
e31f1a7c
EZ
10652002-05-14 Elena Zannoni <ezannoni@redhat.com>
1066
1067 * gdb.arch: New directory.
1068 * gdb.arch/configure.in: New file.
1069 * gdb.arch/configure: New file.
1070 * gdb.arch/Makefile.in: New file.
1071
db589741
CV
10722002-05-13 Corinna Vinschen <vinschen@redhat.com>
1073
1074 * gdb.asm/asm-source.exp: Add v850 as supported target.
1075 * gdb.asm/v850.inc: New file.
1076
8ce2a7dc
DJ
10772002-05-13 Daniel Jacobowitz <drow@mvista.com>
1078
1079 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1080
df763c7f
DJ
10812002-05-12 Daniel Jacobowitz <drow@mvista.com>
1082
1083 * gdb.base/break.exp: Check 'break "marker2"'.
1084
377daeed
MS
10852002-05-10 Michael Snyder <msnyder@redhat.com>
1086
1087 * gdb.base/long_long.exp: Fix typo.
1088
c4b7bc2b
JB
10892002-05-10 Jim Blandy <jimb@redhat.com>
1090
ecac9a4e
JB
1091 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1092 a bug.
1093
c4b7bc2b
JB
1094 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1095 Recognize more detailed error message produced by the macro
1096 expander's lexical analyzer.
1097 * lib/gdb.exp (test_print_reject): Same.
1098
e71019a1
MK
10992002-05-09 Mark Kettenis <kettenis@gnu.org>
1100
1101 * gdb.c++/method.exp: Fix typo.
1102
fedfc8e6
MS
11032002-05-08 Michael Snyder <msnyder@redhat.com>
1104
166a1957
MS
1105 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1106 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1107 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1108 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1109 Add iftarget clause for strongarm.
1110
f1c47eb2
MS
11112002-05-06 Michael Snyder <msnyder@redhat.com>
1112
cb9a9d3e
MS
1113 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1114 (gdb_continue_to_end): Accept output from status wrapper.
1115 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1116 Clean up fail messages to match pass messages.
1117
f1c47eb2
MS
1118 Enable the "needs_status_wrapper" testsuite feature.
1119 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1120 (gdb_compile): Conditionally call gdb_wrapper_init.
1121 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1122 * gdb.c++/method.exp: Recognize output from status wrapper.
1123
6079c749
BE
11242002-05-06 Ben Elliston <bje@redhat.com>
1125From Graydon Hoare <graydon@redhat.com>
1126
1127 * config/sid.exp: Include support for "rawsid" protocol.
1128
188baff3
JB
11292002-05-03 Jim Blandy <jimb@redhat.com>
1130
1131 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1132 * gdb.c++/hang3.C: New file.
1133
b9c07f0f
AC
11342002-05-04 Andrew Cagney <ac131313@redhat.com>
1135
1136 * gdb.base/default.exp: Remove obsolete code.
1137 * gdb.c++/misc.exp: Ditto. Update copyright.
1138 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1139 * gdb.base/whatis.exp: Ditto. Update copyright.
1140 * gdb.base/scope.exp: Ditto. Update copyright.
1141 * gdb.base/ptype.exp: Ditto. Update copyright.
1142 * gdb.base/printcmds.exp: Ditto. Update copyright.
1143 * gdb.base/opaque.exp: Ditto. Update copyright.
1144 * gdb.base/list.exp: Ditto.
1145 * gdb.base/funcargs.exp: Ditto. Update copyright.
1146 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1147 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1148 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1149 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1150 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1151 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1152
5c7a0397
MS
11532002-05-02 Michael Snyder <msnyder@redhat.com>
1154
d6dcc264 1155 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1156 * gdb.base/long_long.exp: Add xscale target.
1157 * gdb.base/default.exp: Add xscale target.
1158
eb7f1c48
JB
11592002-05-01 Jim Blandy <jimb@redhat.com>
1160
1161 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1162 gdb.c++/hang.exp: New test.
1163
a6befae8
FF
11642002-05-01 Fred Fish <fnf@redhat.com>
1165
1166 * gdb.base/completion.exp: Handle completions of "./Make" for
1167 more than one completion possibility, as is the case when we
1168 build and test in the source tree.
1169
0a310277
AG
11702002-04-29 Anthony Green <green@redhat.com>
1171
1172 * gdb.java/jmisc1.exp: New file.
1173 * gdb.java/jmisc2.exp: New file.
1174
6ff9af88
DJ
11752002-04-24 Daniel Jacobowitz <drow@mvista.com>
1176
1177 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1178
96b3d632
EZ
11792002-04-23 Elena Zannoni <ezannoni@redhat.com>
1180
1181 * gdb.base/help.exp: Change 'help status' to allow for target
1182 dependent output differences.
1183
5019bb54
MC
11842002-04-22 Michael Chastain <mec@shout.net>
1185
1186 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1187
a805a116
MC
11882002-04-22 Michael Chastain <mec@shout.net>
1189
1190 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1191
a1706bfd
DM
11922002-04-17 David S. Miller <davem@redhat.com>
1193
1194 * gdb.asm/sparc64.inc: New file.
1195 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1196
a73a20a2
EZ
11972002-04-19 Elena Zannoni <ezannoni@redhat.com>
1198
1199 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1200 instruction file directly into the build tree. Clean up at end of
1201 test.
1202
ba678339
DM
12032002-04-18 David S. Miller <davem@redhat.com>
1204
1205 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1206 handle 64-bit platforms correctly.
1207 * gdb.base/maint.exp: Likewise.
1208
b03399da
KB
12092002-04-18 Kevin Buettner <kevinb@redhat.com>
1210
1211 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1212 ``-fpic'' when compiling files comprising a shared library, but
1213 it does need additional linker flags in order to find shared
1214 libraries at run time.
1215
e2004992
KB
12162002-04-18 Kevin Buettner <kevinb@redhat.com>
1217
1218 * gdb.base/cvexpr.c (use): New function.
1219 (main): Invoke use() on all global variables to prevent
1220 some linkers from deleting these otherwise unused symbols.
1221
d8937120
MC
12222002-04-17 Michael Chastain <mec@shout.net>
1223From David S. Miller <davem@redhat.com>
1224
1225 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1226 handle 64-bit platforms correctly.
1227
ffd61a58
MS
12282002-04-12 Michael Snyder <msnyder@redhat.com>
1229From Jim Blandy <jimb@redhat.com>
1230 * gdb.base/foo.c (foox): Remove section attribute; the linker
1231 script can handle this instead.
1232 * gdb.base/bar.c (barx): Same.
1233 * gdb.base/baz.c (bazx): Same.
1234 * gdb.base/grbx.c (grbxx): Same.
1235
1236 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1237 manager doesn't automatically unmap overlays unnecessarily.
1238
6b8426a6
MH
12392002-04-10 Martin M. Hunt <hunt@redhat.com>
1240
1241 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1242 stepping out of main.
1243
34af4875
MC
12442002-04-09 Michael Chastain <mec@shout.net>
1245
1246 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1247 scope so that the nested scope tests will make sense.
1248 * gdb.c++/local.exp: Write patterns that actually work with gcc
1249 (the HP patterns "were never known to work with gcc").
1250 Keep the old aCC patterns too.
1251
2d1676a0
DJ
12522002-04-09 Daniel Jacobowitz <drow@mvista.com>
1253
1254 * gdb.base/attach.exp: Correct target board test.
1255
3a63e3f9
MC
12562002-04-08 Michael Chastain <mec@shout.net>
1257
1258 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1259 in a const method. Add some xfail and fail cases for configurations
1260 that do not emit the "const ...".
1261
f18dabd2
MC
12622002-04-07 Michael Chastain <mec@shout.net>
1263
1264 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1265 Accept "A * const" and "const A * const" as type of "this".
1266 Fix spelling of getFunky throughout. Make messages uniform.
1267
0fcddd82
EZ
12682002-04-07 Elena Zannoni <ezannoni@redhat.com>
1269
1270 Work around for PR gdb/285:
1271 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1272
16a8534a
EZ
12732002-04-07 Elena Zannoni <ezannoni@redhat.com>
1274
1275 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1276 instructions file at run time instead of configure time.
1277 Sometimes we run the test in a directory that is not the one we
1278 configured in.
1279 * gdb.asm/configure.in: Delete creation of symlink.
1280 * gdb.asm/configure: Regenerate.
1281
24181d81
JB
12822002-04-05 J. Brobecker <brobecker@gnat.com>
1283
1284 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1285 xfullpath () function.
1286
7cdb7107
DJ
12872002-04-04 Daniel Jacobowitz <drow@mvista.com>
1288
1289 * gdb.asm/Makefile.in: Correct dependencies.
1290
1291 * gdb.asm/powerpc.inc: New file.
1292 * gdb.asm/asm-source.exp: Add PowerPC.
1293 * gdb.asm/configure.in: Likewise.
1294 * gdb.asm/configure: Regenerated.
1295
a7d17088
DJ
12962002-04-04 Daniel Jacobowitz <drow@mvista.com>
1297
1298 * gdb.base/relocate.exp: New file.
1299 * gdb.base/relocate.c: New file.
1300
cd721503
FF
13012002-04-04 Fred Fish <fnf@redhat.com>
1302
1303 * gdb.base/step-test.exp: Update comment regarding stopping in
1304 memcpy/bcopy calls inserted as part of the compiler runtime.
1305
b22ad7a7
MS
13062002-04-04 Michael Snyder <msnyder@redhat.com>
1307
1308 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1309
5f279fa6
DJ
13102002-04-03 Daniel Jacobowitz <drow@mvista.com>
1311
1312 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1313 (gdb_expect): Remove $notransfer hack.
1314
dd0fd3ce
DJ
13152002-04-02 Daniel Jacobowitz <drow@mvista.com>
1316
1317 * gdb.c++/classes.exp ("calling method for small class"): Match
1318 updated register output.
1319
1e50cda1
DJ
13202002-03-30 Daniel Jacobowitz <drow@mvista.com>
1321
1322 Fix PR gdb/452
1323 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1324 when finished. Make gdb_file_cmd send "exec-file" when
1325 appropriate.
1326
24015922
DJ
13272002-03-30 Daniel Jacobowitz <drow@mvista.com>
1328
1329 * gdb.base/attach.exp: Remove extra setup_xfail.
1330
dd7dfd64
MS
13312002-03-26 Michael Snyder <msnyder@redhat.com>
1332
1333 * gdb.base/default.exp: Add tests for dump, append, and restore.
1334 * gdb.base/help.exp: Add tests for dump, append, and restore.
1335 * gdb.base/dump.exp: New file, test dump, append and restore.
1336 * gdb.base/dump.c: New file.
1337
48b2f8d7
MS
13382002-03-27 Michael Snyder <msnyder@redhat.com>
1339
1340 * gdb.base/help.exp: Modify expect strings to reflect
1341 clean-ups in help messages.
1342
05b4d525
FF
13432002-03-26 Fred Fish <fnf@redhat.com>
1344
1345 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1346 have debugging info for those functions and the compiler uses them
1347 internally to copy structs around.
1348
d7679631
FF
13492002-03-26 Fred Fish <fnf@redhat.com>
1350
1351 * gdb.base/list.exp: Revert the change made yesterday and add note
1352 about why we don't list the default lines for remote targets.
1353
523ac3f9
MS
13542002-03-25 Michael Snyder <msnyder@redhat.com>
1355
1356 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1357
754b2b8d
FF
13582002-03-25 Fred Fish <fnf@redhat.com>
1359
1360 * gdb.base/list.exp: This test works on remote targets so remove
1361 the short circuit for remote targets. Update copyright.
1362
33c3e192
FF
13632002-03-25 Fred Fish <fnf@redhat.com>
1364
1365 * gdb.base/attach.exp: Fix logic error that was suppressing this
1366 test for all non hppa*-*-hpux* targets, instead of the hp target.
1367 Move comments closer to the suppression point. Also now need to
1368 check that we are running natively.
1369
d43e73ee
MS
13702002-03-22 Michael Snyder <msnyder@redhat.com>
1371
882c8f02
MS
1372 * gdb.base/default.exp: Add test for gcore. Update copyright.
1373 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1374
04c12f60
FF
13752002-03-06 Fred Fish <fnf@redhat.com>
1376
1377 * gdb.base/funcargs.c: Remove extraneous ';' character.
1378 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1379
b43df995
MC
13802002-03-04 Michael Chastain <mec@shout.net>
1381
1382 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1383 accommodate gcc v3 function signature.
1384 * gdb.mi/mi0-var-cmd-exp: Ditto.
1385
92362027
AC
13862002-02-24 Andrew Cagney <ac131313@redhat.com>
1387
1388 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1389 ``GNU/Linux'' or ``Linux kernel''
1390 * testsuite/gdb.threads/pthreads.c: Ditto.
1391
258ad32d
MC
13922002-02-24 Michael Chastain <mec@shout.net>
1393
1394 * gdb.threads/pthreads.c (thread1): Add a return statement.
1395 (thread2): Likewise.
1396 (foo): Likewise.
1397
04c3b3d4
MC
13982002-02-23 Michael Chastain <mec@shout.net>
1399
1400 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1401 to placate gcc.
1402
5a2a0a20
MC
14032002-02-23 Michael Chastain <mec@shout.net>
1404
1405 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1406 test "ptype bint". The test passes on all my stabs configurations.
1407
a640f7fc
JB
14082002-02-21 Jim Blandy <jimb@redhat.com>
1409
27924826
JB
1410 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1411 filename at a time, and watch for the ones we want to see.
1412
a640f7fc
JB
1413 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1414 types of pointers to prototyped functions.
1415
edcc8c75
AC
14162002-02-20 Andrew Cagney <ac131313@redhat.com>
1417
1418 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1419 signed, unsigned and straight char.
1420 (padding_char, padding_short, padding_int, padding_long,
1421 padding_long_long, padding_float, padding_double,
1422 padding_long_double): New global variables.
1423 (fill, fill_structs): New functions.
1424
1425 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1426 for correctly sized writes. Update copyright.
1427 (get_valueof): New procedure.
1428 (get_sizeof): Call get_valueof.
1429 (check_valueof): New procedure.
1430 (check_padding): New procedure.
1431
ac57ea44
MC
14322002-02-20 Michael Chastain <mec@shout.net>
1433
1434 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1435 to setup_xfail. Document some of the remaining calls.
1436
7a10c941
MC
14372002-02-18 Michael Chastain <mec@shout.net>
1438
1439 * gdb.c++/userdef.exp: Update copyright year.
1440
fb8acdcc
DJ
14412002-02-18 Daniel Jacobowitz <drow@mvista.com>
1442
1443 * gdb.c++/userdef.exp: Test overloaded operators properly.
1444 Remove xfails.
1445
fda6ae12
MS
14462002-02-14 Michael Snyder <msnyder@redhat.com>
1447
1448 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1449
676a0442
DJ
14502002-02-14 Daniel Jacobowitz <drow@mvista.com>
1451
1452 * gdb.base/a2-run.exp: Check for a remote target properly.
1453 * gdb.base/annota1.exp: Likewise.
1454 * gdb.base/list.exp: Likewise.
1455 * gdb.base/reread.exp: Likewise.
1456 * gdb.base/scope.exp: Likewise.
1457 * gdb.base/shlib-call.exp: Likewise.
1458 * gdb.base/term.exp: Likewise.
1459 * gdb.c++/annota2.exp: Likewise.
1460
78b4f468
RE
14612002-02-13 Richard Earnshaw <rearnsha@arm.com>
1462
1463 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1464
9a81ba51
MC
14652002-02-10 Michael Chastain <mec@shout.net>
1466
1467 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1468 (call_after_alloca): Ditto.
1469
004af6c7
DJ
14702002-02-10 Daniel Jacobowitz <drow@mvista.com>
1471
1472 * gdb.base/ending-run.exp: Guard "cont" test with
1473 gdb_skip_stdio_test.
1474
37225f62
JB
14752002-02-06 Jim Blandy <jimb@redhat.com>
1476
1477 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1478 from here...
1479 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1480 To here. Disable this test on non-HP platforms. Add big comment.
1481
fe6fdd96
MS
14822002-02-04 Michael Snyder <msnyder@redhat.com>
1483
1484 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1485 other than d10v and m32r.
1486
036fad3f
RE
14872002-02-02 Richard Earnshaw <rearnsha@arm.com>
1488
1489 * gdb.base/default.exp: Rewrite test patterns to reduce time
1490 taken to match them.
1491
7148ab62
DJ
14922002-01-30 Daniel Jacobowitz <drow@mvista.com>
1493
1494 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1495 Allow a start function above main.
1496 * gdb.threads/linux-dp.exp: Fix copyright date.
1497
396cc255
DJ
14982002-01-30 Daniel Jacobowitz <drow@mvista.com>
1499
1500 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1501 (check_philosopher_stack): Check for manager thread before checking
1502 for a just-starting thread.
1503
f038d31b
DJ
15042002-01-30 Daniel Jacobowitz <drow@mvista.com>
1505
1506 From Neil Booth <neil@daikokuya.demon.co.uk>:
1507 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1508 warnings.
1509
b3ff9d9a
FF
15102002-01-21 Fred Fish <fnf@redhat.com>
1511
1512 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1513 not caller.
1514
39ad761d
JB
15152002-01-21 Jim Blandy <jimb@redhat.com>
1516
1517 * gdb.base/reread.exp: Check that GDB properly re-reads the
1518 executable file when it changes while no inferior is running.
1519
aaf320fa
FF
15202002-01-21 Fred Fish <fnf@redhat.com>
1521
1522 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1523 optionally accept the "shlib events" variation.
1524
808a31f5
JB
15252002-01-21 Jim Blandy <jimb@redhat.com>
1526
1527 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1528 call `fflush' after every `printf', so that the output is produced
1529 at predictable points, regardless of whatever buffering does (or
1530 doesn't) take place.
1531 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1532 at different points.
1533
4420d5e2
DJ
15342002-01-20 Daniel Jacobowitz <drow@mvista.com>
1535
1536 * gdb.c++/inherit.exp: Update copyright years.
1537 * gdb.c++/method.exp: Likewise.
1538
3e36a0f4
DJ
15392002-01-20 Daniel Jacobowitz <drow@mvista.com>
1540
1541 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1542 artificial methods/arguments.
1543 * gdb.c++/derivation.exp: Likewise.
1544 * gdb.c++/inherit.exp: Likewise.
1545 * gdb.c++/method.exp: Likewise.
1546 * gdb.c++/virtfunc.exp: Likewise.
1547
b4ceaee6
AC
15482002-01-18 Andrew Cagney <ac131313@redhat.com>
1549
1550 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1551 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1552 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1553 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1554 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1555 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1556
ecace851
JB
15572002-01-17 Jim Blandy <jimb@redhat.com>
1558
1559 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1560 anchoring the pattern matching the entry point symbol's name.
1561
375fc983
AC
15622002-01-17 Andrew Cagney <ac131313@redhat.com>
1563
1564 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1565 continue/quit query. Update copyright.
1566
fe6fdd96
MS
15672002-01-14 Michael Snyder <msnyder@redhat.com>
1568
1569 * gdb.base/gcore.exp: Remove extra debugging output.
1570
e017c81f
DJ
15712002-01-13 Daniel Jacobowitz <drow@mvista.com>
1572
1573 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1574 for slightly dubious v2 mangled string.
1575
37ab3bf8
DJ
15762002-01-13 Daniel Jacobowitz <drow@mvista.com>
1577
1578 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1579
1bc05c3a 15802002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1581
1bc05c3a 1582 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1583
1bc05c3a
JM
1584 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1585 constructors.
1586 * gdb.c++/derivation.exp: Likewise.
1587 * gdb.c++/templates.exp: Likewise.
1588 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1589
1bc05c3a
JM
15902002-01-10 Michael Snyder <msnyder@redhat.com>
1591
1592 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1593
a911c360
MS
15942002-01-08 Michael Snyder <msnyder@redhat.com>
1595
1596 * gdb.base/gcore.exp: New test for generate-core-file command.
1597 * gdb.base/gcore.c: Testcase for above.
1598 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1599
ea2119ec
JM
16002002-01-08 Jason Merrill <jason@redhat.com>
1601
1602 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1603
68203136
FF
16042002-01-07 Fred Fish <fnf@redhat.com>
1605
1606 * gdb.c++/overload.exp: Remove unconditional xfails for:
1607 print foo_instance1.overloadargs(1)
1608 print foo_instance1.overloadargs(1, 2)
1609 print foo_instance1.overloadargs(1, 2, 3)
1610 print foo_instance1.overloadargs(1, 2, 3, 4)
1611 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1612 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1613 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1614 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1615 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1616 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1617 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1618 print foo_instance1.overload1arg()
1619 print foo_instance1.overload1arg((char)arg2)
1620 print foo_instance1.overload1arg((signed char)arg3)
1621 print foo_instance1.overload1arg((unsigned char)arg4)
1622 print foo_instance1.overload1arg((int)arg7)
1623 print foo_instance1.overload1arg((unsigned int)arg8)
1624 print foo_instance1.overload1arg((float)arg11)
1625 print foo_instance1.overload1arg((double)arg12)
1626
21b9b5b1
MS
16272002-01-07 Michael Snyder <msnyder@redhat.com>
1628
1629 * gdb.base/huge.exp: New test. Print a very large target data object.
1630 (skip_huge_test): New test variable. Define if you want to skip this
1631 test. The test reads an 8 megabyte data object from the target, so it
1632 might be very time consuming on remote targets with a slow connection.
1633 * gdb.base/huge.c: New file. Test case for above.
1634
725f922e
FF
16352002-01-07 Fred Fish <fnf@redhat.com>
1636
1637 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1638 g_instance.bfoo, and g_instance.cfoo.
1639
634d57ec
JL
1640Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1641
f286b2c3
JL
1642 * gdb.base/break.c (multi_line_if_conditional): New function.
1643 (multi_ilne_while_conditional): Likewise.
1644 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1645 IF or WHILE condition puts the breakpoint at the start of
1646 the condition.
1647
634d57ec
JL
1648 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1649 hppa*-*-hpux* expected failure.
1650 * gdb.base/structs.exp (do_function_calls): Similarly.
1651
1652 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1653 watchpoints.
1654
9fbfe2dc
AC
16552002-01-06 Andrew Cagney <ac131313@redhat.com>
1656
1657 Fix PR gdb/66.
1658 * gdb.base/structs.exp: Replace skip for a29k with skip for
1659 gdb,cannot_call_functions.
1660 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1661 * gdb.base/callfuncs.exp: Ditto.
1662 * gdb.base/call-rt-st.exp: Ditto.
1663 * gdb.base/call-strs.exp: Ditto.
1664 * gdb.base/callfwmall.exp: Ditto.
1665 * gdb.base/scope.exp: Obsolete xfail a29k.
1666 * gdb.c++/misc.exp: Ditto.
1667 * gdb.c++/cplusfuncs.exp: Ditto.
1668 * gdb.base/ptype.exp: Ditto.
1669 * gdb.base/printcmds.exp: Ditto.
1670 * gdb.base/opaque.exp: Ditto.
1671 * gdb.base/list.exp: Ditto.
1672 * gdb.base/funcargs.exp: Ditto.
1673 * gdb.base/default.exp: Ditto.
1674
8ddad156
MS
16752002-01-04 Michael Snyder <msnyder@redhat.com>
1676
ca4976a6 1677 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1678 * gdb.base/maint.exp: Add tests for maint info sections options.
1679
1b074332
JL
1680Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1681
1682 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1683
7d159115
CV
16842001-12-20 Corinna Vinschen <vinschen@redhat.com>
1685
1686 * gdb.asm/arm.inc: New file.
1687 * gdb.asm/asm-source.exp: Add arm targets.
1688 * gdb.asm/configure.in: Ditto.
1689 * gdb.asm/configure: Recreated from configure.in.
1690
8fb87725
JL
1691Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1692
afabe08c
JL
1693 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1694 with HP's compiler.
1695 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1696 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1697 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1698 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1699
1700 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1701 either HP's compilers or GCC.
1702
db521deb
JL
1703 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1704 a SIGBUS or SIGSEGV.
1705
1706 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1707
1708 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1709 can be compiled with either HP's compiler or GCC.
1710
cfa88ab7
JL
1711 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1712 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1713 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1714
ca344dff
JL
1715 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1716 to match current gdb output. Update due to using auto-solib-limit
1717 for limiting instead of overloading auto-solib-add.
1718 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1719 test program.
1720
3f3c6e55 1721 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1722 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1723 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1724 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1725 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1726 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1727 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1728 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1729 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1730 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1731 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1732 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1733 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1734
8fb87725
JL
1735 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1736 a SIGTRAP to the inferior.
1737
cf599fa7
CV
17382001-12-19 Corinna Vinschen <vinschen@redhat.com>
1739
1740 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1741 Substitute call to target_link by call to gdb_compile.
1742
2cd045cd
JL
1743Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1744
1745 * gdb.base/break.exp: Fix HP specific search string when testing
1746 backtracing in a called function.
1747
1748 * gdb.base/constvars.exp: Only set lang to C++ if we're
1749 compiling the test with HP's compilers.
1750 * gdb.base/volatile.exp: Similarly.
1751
99ebe9ac
JB
17522001-12-19 Jim Blandy <jimb@redhat.com>
1753
1754 * gdb.base/printcmds.exp: Expect the null character to be printed
1755 as '\0', and the '\013' to be printed as '\v'.
1756 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1757 * gdb.base/setvar.exp: Same.
1758
b9891b29
JB
17592001-12-17 Jim Blandy <jimb@redhat.com>
1760
0eba65ab
JB
1761 * gdb.base/completion.exp: Rather than completing very long
1762 filenames, which can make the readline library produce output we
1763 don't recognize, cd to the directory first, and then complete
1764 using nice, short relative paths.
1765
6970b5b1
JB
1766 * gdb.base/completion.exp: On some systems, there is, in fact, a
1767 variable named `b' in scope, since GDB treats all static
1768 variables as being in scope. So use `no_var_named_this'
1769 instead of `b'.
1770
b9891b29
JB
1771 * gdb.base/corefile.exp: Recognize the message saying that GDB
1772 can't find the core file's registers as a failure.
1773
e6ccd35f
JSC
17742001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1775
1776 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1777 test expect string more specific.
1778
105ba819
CV
17792001-12-13 Corinna Vinschen <vinschen@redhat.com>
1780
1781 * gdb.asm/asm-source.exp: Add support for xstormy16.
1782 * gdb.asm/configure.in: Ditto.
1783 * gdb.asm/configure: Rebuild.
1784 * gdb.asm/xstormy16.inc: New file.
1785
e9e79dd9
FF
17862001-12-10 Fred Fish <fnf@redhat.com>
1787
1788 * gdb.base/maint.exp: Update to match changes in type dumping code.
1789
347dc97d
JB
17902001-12-10 Jim Blandy <jimb@redhat.com>
1791
1792 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1793 matching the entry point symbol's name at the beginning of the
1794 line.
1795
5178b9d6
DJ
17962001-12-07 Daniel Jacobowitz <drow@mvista.com>
1797
1798 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1799 gdb.c++/inherit.exp, gdb.c++/method.exp,
1800 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1801 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1802 and class layout support.
1803
af890c52
DJ
18042001-12-07 Daniel Jacobowitz <drow@mvista.com>
1805
1806 * gdb.c++/classes.exp: Add test for static member function.
1807 * gdb.c++/misc.cc: Add class with static member function.
1808
7a345fb3
JB
18092001-12-07 Jim Blandy <jimb@redhat.com>
1810
f2e54a80 1811 If GDB says it can't find the struct the function returned, report
8032bf31
JB
1812 those tests as `unsupported'.
1813 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1814 Rewrite subsequent tests to use it.
1815
1816 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
1817 those tests as `unsupported'.
1818 * gdb.base/structs.exp (call_struct_func): New function.
1819 (do_function_calls): Use call_struct_func to call the functions
1820 returning structs.
1821
0bc69509
JB
1822 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1823 whether functions are prototyped or not, so we can't possibly pass
1824 arguments to t_float_values2 properly.
1825
7a345fb3
JB
1826 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1827 value of `timeout' for targets other than the mips*tx39-*.
1828
edb6ede1
MS
18292001-12-06 Michael Snyder <msnyder@redhat.com>
1830
1831 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1832 and detect whether the start symbol has a leading underscore.
1833
2d842f13
JB
18342001-12-04 Jim Blandy <jimb@redhat.com>
1835
1836 * gdb.base/completion.exp: Clarify indentation.
1837
68550daf
JB
18382001-12-03 Jim Blandy <jimb@redhat.com>
1839
1840 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1841 variables on the S/390, not `.word'.
1842
cd5195a8
JB
18432001-11-30 Jim Blandy <jimb@redhat.com>
1844
1845 Add assembly-source tests for s390-ibm-linux.
1846 * gdb.asm/s390.inc: New file.
1847 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1848 the S/390 architecture.
1849 * gdb.asm/configure: Regenerated.
1850
ca9efc90
MS
18512001-11-30 Michael Snyder <msnyder@redhat.com>
1852
1853 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
1854 next, info source, info sources, info line, global and static
1855 variables, and static functions.
1856 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
1857 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
1858 * gdb.asm/asmsrc1.s: Add a static function and some variables.
1859 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
1860 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
1861 (gdbasm_leave): Restore frame pointer.
1862 (gdbasm_startup): Copy stack set-up from crt0.S.
1863
d0e66976
FN
18642001-11-26 Fernando Nasser <fnasser@redhat.com>
1865
1866 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
1867 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
1868 to a local (non-static) variable. Copy tstruct.a to a static buffer
1869 and return a pointer to that buffer.
1870 * gdb.base/callfwmall.c (t_structs_a): Ditto.
1871
e2334072
MK
18722001-11-24 Mark Kettenis <kettenis@gnu.org>
1873
1874 * gdb.asm/configure.in: Fix recognition of ix86 target.
1875 * gdb.asm/configure: Regenerate.
1876
756caa3d
MS
18772001-11-21 Michael Snyder <msnyder@redhat.com>
1878
1879 * gdb.asm/sparc.inc: New file.
1880 * gdb.asm/asm-source.exp: Recognize sparc target.
1881 * gdb.asm/configure.in: Recognize sparc target.
1882 * gdb.asm/configure: Regenerate.
1883
9a4d72d5
MS
18842001-11-21 Michael Snyder <msnyder@redhat.com>
1885
1886 * gdb.asm/m32r.inc: New file.
1887 * gdb.asm/asm-source.exp: Recognize m32r target.
1888 * gdb.asm/configure.in: Recognize m32r target.
1889 * gdb.asm/configure: Regenerate.
1890
a773d1cd
MS
18912001-11-20 Michael Snyder <msnyder@redhat.com>
1892
017ac23d
MS
1893 * gdb.asm/i386.inc: New file.
1894 * gdb.asm/asm-source.exp: Recognize ix86 target.
1895 * gdb.asm/configure.in: Recognize ix86 target.
1896 * gdb.asm/configure: Regenerate.
1897
a773d1cd
MS
1898 * gdb.c++/namespace.exp: Fix quotes in output messages.
1899
bb632afb
MS
19002001-11-14 Michael Snyder <msnyder@redhat.com>
1901
25d559ca 1902 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
1903 qualifier in a type cast expression, to designate an address
1904 in the instruction space (Harvard architecture).
1905
4749e309
MS
19062001-11-13 Michael Snyder <msnyder@redhat.com>
1907
1908 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
1909 Tests for expressions using 'const' and 'volatile'.
1910
25050984
CV
19112001-11-13 Corinna Vinschen <vinschen@redhat.com>
1912
1913 * gdb.asm/asm-sources.exp: Allow defining linker flags.
1914
1902c51f
DJ
19152001-11-12 Daniel Jacobowitz <drow@mvista.com>
1916
1917 * lib/mi-support.exp (mi_run_to_helper): Move comments
1918 outside of gdb_expect.
1919
dcf95b47
DJ
19202001-11-11 Daniel Jacobowitz <drow@mvista.com>
1921
1922 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
1923 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
1924 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
1925 mi0_run_to): New functions.
1926 * gdb.mi/mi-simplerun.exp: Use them.
1927 * gdb.mi/mi0-simplerun.exp: Likewise.
1928 * gdb.mi/mi-var-cmd.exp: Likewise.
1929 * gdb.mi/mi0-var-cmd.exp: Likewise.
1930
45b074e1
AC
19312001-11-10 Andrew Cagney <ac131313@redhat.com>
1932
1933 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
1934 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
1935
bf50d346
AC
19362001-11-09 Andrew Cagney <ac131313@redhat.com>
1937
1938 * gdb.base/restore.exp: Include $expected value in restored test
1939 message.
1940
9383332c
AC
19412001-11-09 Andrew Cagney <ac131313@redhat.com>
1942
1943 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
1944 implemented.
1945
db62520a
MS
19462001-11-08 Michael Snyder <msnyder@redhat.com>
1947
1948 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
1949 Add pass/fail message for stop at breakpoint in call dummy function.
1950
b5703437
MS
19512001-11-07 Michael Snyder <msnyder@redhat.com>
1952
760f6330
MS
1953 * gdb.c++/templates.exp (test_template_breakpoints):
1954 If we get an overload menu, but it does not match what
1955 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
1956 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
1957 making the whitespace optional. Argument for "new" may be
1958 "unsigned" as well as "unsigned int/long".
eef747c0
MS
1959 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
1960 making the whitespace optional. Also replace "(void) with
1961 "((void|)), making the keyword "void" optional.
63f50499
MS
1962 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
1963 making the whitespace optional. Also replace "(void) with
1964 "((void|)), making the keyword "void" optional.
3bf40917
MS
1965 * gdb.base/callfuncs.c (t_float_values): This function must
1966 _not_ be prototyped, and the following function (t_float_values2)
1967 must be prototyped (if the compiler supports it), so that GDB
1968 can be tested against both cases. Usually one case involves
1969 promotion of float to double, while the other does not.
1970 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
1971 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
1972 includes a stack frame for "start".
1973
c8ab4e6d
JB
19742001-11-05 Jim Blandy <jimb@redhat.com>
1975
1976 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
1977 pointers are 32 bits long, and that offsets of relocs are always
1978 stored in the data (REL-style), and not in the reloc entry itself
1979 (RELA-style).
1980 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
1981 stabs.
1982
3f08ced9
MS
19832001-11-01 Michael Snyder <msnyder@redhat.com>
1984
1985 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
1986 and regular expression operators by using quoting.
1987
cbfa24cd
MS
19882001-10-31 Michael Snyder <msnyder@redhat.com>
1989
1990 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
1991 depending on what the symbol table contains.
1992 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
1993 the output of the ptype command. Similarly, accept both "const &"
1994 and "const&".
1995
aaa68313
CV
19962001-10-31 Corinna Vinschen <vinschen@redhat.com>
1997
1998 * gdb.base/miscexprs.c (main): Add usage of preprocessor
1999 symbol `STORAGE' to allow to choose the storage class of
2000 the local datastructures.
2001 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2002 compiler directive.
2003
91740388
MS
20042001-10-30 Michael Snyder <msnyder@redhat.com>
2005
2006 * gdb.base/jump.exp: Allow it to run for all targets.
2007
1b7c05e7
CV
20082001-10-29 Corinna Vinschen <vinschen@redhat.com>
2009
2010 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2011 with new double_array size.
2012 (main): Change storage class of all local variables to static.
2013 Reduce size of double_array to 9.
2014 * gdb.base/call-ar-st.exp: Increase timeout value.
2015 Change expected output for double array to match new size in
2016 call-ar-st.c.
2017
36a22261
CV
20182001-10-29 Corinna Vinschen <vinschen@redhat.com>
2019
2020 * gdb.base/ending-run.exp: Create identical output when passing
2021 `step to end of run' case. Add regular expression branch satisfying
2022 Stormy16 target.
2023
92b8ae91
MK
20242001-10-28 Mark Kettenis <kettenis@gnu.org>
2025
2026 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2027 that we catch the expected failure under Linux/x86.
2028
cb135b83
OF
20292001-10-29 Orjan Friberg <orjanf@axis.com>
2030
2031 * gdb.base/setvar.exp: Escape curly braces.
2032 * gdb.stabs/weird.exp: Ditto.
2033
6884aa54
DJ
20342001-10-27 Daniel Jacobowitz <drow@mvista.com>
2035
2036 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2037 * gdm.mi/mi0-hack-cli.exp: Likewise.
2038
0398c9aa
AC
20392001-10-25 Andrew Cagney <ac131313@redhat.com>
2040
2041 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2042 messages.
2043
d20bf2e8
AC
20442001-10-21 Andrew Cagney <ac131313@redhat.com>
2045
2046 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2047 checking MI enabled.
2048
03dd63aa
CV
20492001-10-09 Corinna Vinschen <vinschen@redhat.com>
2050
2051 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2052
1d9d99f3
FCE
20532001-10-04 Frank Ch. Eigler <fche@redhat.com>
2054
2055 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2056 if gdb child process crashes, just signal an error.
2057
838ae6c4
JB
20582001-10-02 Jim Blandy <jimb@redhat.com>
2059
2060 * lib/gdb.exp (test_xfail_format): Simplify.
2061
2062 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2063 front of the variable name `format'. Simplify `if'.
2064
8f0cbc1c
DJ
20652001-10-01 Daniel Jacobowitz <drow@mvista.com>
2066
2067 * gdb.threads/pthreads.exp: Wait for output and delay
2068 before sending ^C.
2069
1f08dafd
DJ
20702001-10-01 Daniel Jacobowitz <drow@mvista.com>
2071
2072 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2073 some incorrect output instead of timing out.
2074 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2075
674f90ff
CV
20762001-09-28 Corinna Vinschen <vinschen@redhat.com>
2077
2078 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2079 check to allow additional `int'.
2080
9b284272
DJ
20812001-09-27 Daniel Jacobowitz <drow@mvista.com>
2082
2083 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2084 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2085
b55a4771
MS
20862001-09-27 Michael Snyder <msnyder@redhat.com>
2087
2088 * lib/gdb.exp (test_debug_format): New proc.
2089 (setup_xfail_format): Use new proc test_debug_format.
2090 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2091 proc; use new service proc test_debug_format.
2092 Replace all other "gcc_compiled" tests with this test.
2093 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2094 proc; use new service proc test_debug_format.
2095 Replace all other "gcc_compiled" tests with this test.
2096
20972001-09-27 Michael Snyder <msnyder@redhat.com>
2098
2099 * gdb.base/cvexpr.exp: New file.
2100 * gdb.base/cvexpr.c: New file
2101 Test for expressions using const and volatile keywords.
2102
4e6667ac
CV
21032001-09-26 Corinna Vinschen <vinschen@redhat.com>
2104
2105 * gdb.base/constvars.exp: Check for different orders of keywords
2106 and additional "int" strings in output.
2107
4f337972
AC
21082001-09-22 Andrew Cagney <ac131313@redhat.com>
2109
2110 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2111 responses from "help maint".
2112
2015650d
FCE
21132001-09-19 Frank Ch. Eigler <fche@redhat.com>
2114
2115 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2116 to localhost:NNN instead of :NNN, in case Xvfb is listening
2117 only on TCP.
2118
f3bcedc1
CV
21192001-09-19 Corinna Vinschen <vinschen@redhat.com>
2120
2121 * gdb.base/recurse.exp: When checking leaving the watchpoint
2122 scope, recognize when gdb is in function's epilogue and pass.
2123
6b819c92
KS
21242001-09-18 Keith Seitz <keiths@redhat.com>
2125
2126 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2127 support for running tests against sid targets.
2128 (gdbtk_done): Ditto.
2129
a10c9419
CV
21302001-09-18 Corinna Vinschen <vinschen@redhat.com>
2131
2132 * gdb.base/ending-run.c (main): Set stdout buffersize
2133 to the same reasonable value for any target.
2134 * gdb.base/ending-run.exp: Add a regular expression
2135 to make testsuite happy on Sanyo Stormy16 target.
2136
739d0d99
CV
21372001-09-17 Corinna Vinschen <vinschen@redhat.com>
2138
2139 * gdb.base/display.c (do_loops): Add float variable `f'.
2140 Increment f in loop.
2141 * gdb.base/display.exp: Increment timeout by 60 seconds.
2142 Change float display test to use variable `f'.
2143
1b8947f0
JB
21442001-09-17 Jim Blandy <jimb@redhat.com>
2145
2146 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2147 overflowing the limited breakpoint tables on some ROM monitors
2148 (like the ROM68K).
2149
9890ac81
FCE
21502001-09-15 Frank Ch. Eigler <fche@redhat.com>
2151
2152 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2153 the "-ac" (disable access control) flag.
2154
6db765ea
JH
21552001-08-30 Jeff Holcomb <jeffh@redhat.com>
2156
2157 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2158 ints.
2159
4c32cc04
KS
21602001-08-30 Keith Seitz <keiths@redhat.com>
2161
2162 * lib/gdb.exp: Move all insight-related functionality into
2163 separate file.
2164 * lib/insight-support.exp: New file.
2165
8d6e6f81
FCE
21662001-08-29 Frank Ch. Eigler <fche@redhat.com>
2167
2168 * config/sid.exp (sid_start): Never set sid verbosity; disable
2169 expect_background {} that consumed its stdout; tolerate </dev/null.
2170 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2171
6a90e1d0
AC
21722001-08-18 Andrew Cagney <ac131313@redhat.com>
2173
2174 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2175 CLI jump command to start it.
2176 (mi_run_to_main): Fail immediatly when unexpected output.
2177
1759b3c3
AC
21782001-08-18 Andrew Cagney <ac131313@redhat.com>
2179
2180 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2181 beginning of function. Fix PR gdb/191.
2182
61d11d80
FCE
21832001-08-16 Frank Ch. Eigler <fche@redhat.com>
2184
2185 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2186 what to force sid endianness to.
2187
942a4df2
KS
21882001-08-15 Keith Seitz <keiths@redhat.com>
2189
2190 * lib/gdb.exp (gdbtk_start): Don't set environment
2191 variables for TCL_LIBRARY and friends. Insight will
2192 now figure these out for itself.
2193
0521c418
MS
21942001-08-02 Michael Snyder <msnyder@redhat.com>
2195
2196 * gdb.base/completion.exp: Remove the symbol "a64l" from
2197 the expect string; this is target-specific, and not related
2198 to what is being tested.
2199
74a9a58a
DB
22002001-08-02 Dave Brolley <brolley@redhat.com>
2201
2202 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2203
c70819fa
MS
22042001-07-25 Michael Snyder <msnyder@redhat.com>
2205
c2b8fa57
MS
2206 * gdb.base/consecutive.exp: New file. Test stepping over
2207 breakpoints on consecutive instructions.
2208 * gdb.base/consecutive.c: New file.
2209
c70819fa
MS
2210 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2211 curly braces in regular expressions.
2212
2b1a1355
MS
22132001-07-25 Michael Snyder <msnyder@redhat.com>
2214
2215 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2216 legitimate output from stepping out of main.
2217
413eca6f
KS
22182001-07-22 Keith Seitz <keiths@redhat.com>
2219
2220 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2221 the empty string, do not run the tests.
2222
7e5a9322
SC
22232001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2224
2225 * gdb.base/long_long.exp: Detect size of pointer. Take into
2226 account 2-byte pointers when testing for p/a results.
2227
de58f10f
SC
22282001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2229
2230 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2231 and defined to 1K for m68hc11.
2232 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2233 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2234 (sizeof_random_data): New variable to tell the size of the data table;
2235 don't test past this size; always run to main.
2236
d6f5fea1
SC
22372001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2238
2239 * gdb.base/return2.exp: return of long long and double fails for
2240 68HC11; don't execute these tests on that platform.
2241 * gdb.base/return.exp: Return of a double fails for 68hc11.
2242
c477543d
SC
22432001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2244
2245 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2246 tests that print a float.
2247 * call-rt-st.exp: Likewise.
2248
63cf1c79
MK
22492001-07-12 Mark Kettenis <kettenis@gnu.org>
2250
2251 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2252 running this test on Linux.
2253
112f9ab5
MC
22542001-06-24 Michael Chastain <chastain@redhat.com>
2255
2256 * gdb.base/arithmet.exp: Remove some tests to make all test names
2257 unique.
2258
4970cb0f
MS
22592001-07-03 Michael Snyder <msnyder@redhat.com>
2260
2261 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2262 the output of the ptype command.
2263
d85da69f
MS
22642001-07-02 Michael Snyder <msnyder@redhat.com>
2265
4c8a82de
MS
2266 * gdb.base/completion.exp: Don't assume that break.c is the only
2267 source file that may contain functions named "marker".
d85da69f
MS
2268 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2269
8afc772b
AC
22702001-06-28 Andrew Cagney <ac131313@redhat.com>
2271
2272 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2273 of files to delete.
2274
2275 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2276 * gdb.disasm/h8300s.exp: New file.
2277 gdb.disasm/h8300s.s: Likewise.
2278
cff22675
AC
22792001-06-27 Andrew Cagney <ac131313@redhat.com>
2280
2281 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2282 empty breakpoint tables.
2283
68c81b54
AC
22842001-06-25 Andrew Cagney <ac131313@redhat.com>
2285
2286 * lib/mi-support.exp: Update args=... part of stop-reason
2287 patterns. Accept either a list or a tuple.
2288
2dd62704
AC
22892001-06-23 Andrew Cagney <ac131313@redhat.com>
2290
2291 * lib/mi-support.exp: Remove local emacs variable defining
2292 change-log-default-name.
2293
b4127474
MC
22942001-06-22 Michael Chastain <chastain@redhat.com>
2295
2296 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2297 This is operationally compatible with the previous version.
2298
8dbfb380
JB
22992001-06-13 Jim Blandy <jimb@redhat.com>
2300
2301 * lib/gdb.exp (gdb_test): Doc fix.
2302
f2d8c86d
MC
23032001-06-10 Michael Chastain <chastain@redhat.com>
2304
2305 * gdb.base/exprs.exp: Remove a duplicate test.
2306
81564d34
JB
23072001-06-06 Jim Blandy <jimb@redhat.com>
2308
2309 * gdb.base/return2.exp (main): Use values to test float and double
2310 returns that are not NaN's, to avoid being confused by IEEE
2311 comparison rules.
2312
da55addb
MS
23132001-06-04 Michael Snyder <msnyder@redhat.com>
2314
2315 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2316 non-zero if control_c fails. Terminate the test on failure,
2317 rather than wait for 12 more tests to time out.
2318
42c65987
JB
23192001-06-06 Jim Blandy <jimb@redhat.com>
2320
b18bced9
JB
2321 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2322 Don't forget to match the GDB prompt.
2323
42c65987
JB
2324 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2325
5b41e5f0
JB
23262001-06-04 Jim Blandy <jimb@redhat.com>
2327
2328 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2329 command.
2330
015e046f
KB
23312001-05-31 Kevin Buettner <kevinb@redhat.com>
2332
2333 * gdb.base/annota1.exp (info break): Match four or more spaces
2334 after "Address".
2335
fb1ffbbe
MC
23362001-05-31 Michael Chastain <chastain@redhat.com>
2337
2338 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2339 (dm_type_int_star): Likewise.
2340 (dm_type_long_star): Likewise.
2341 (dm_type_void_star): Likewise.
2342
5ea2a32c
KB
23432001-05-29 Kevin Buettner <kevinb@redhat.com>
2344
2345 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2346 to a known value in order to get consistent results regardless
2347 of the setting of INPUTRC or the presence or contents of .inputrc.
2348
ae23c492
MS
23492001-05-24 Michael Snyder <msnyder@redhat.com>
2350
ac55707e
MS
2351 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2352 Don't require that the main thread and the manager thread are the
2353 first in the list.
2354
ae23c492
MS
2355 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2356 debugging. If test fails, issue an "unsupported" not a "fail".
2357
400071f1
JB
23582001-05-24 Jim Blandy <jimb@redhat.com>
2359
2360 Don't assume that short is shorter than int.
2361 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2362 assume that shorts are smaller than ints. On a 16-bit machine,
2363 this isn't true.
2364 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2365 an int, is not equal to ~0 stored in an unsigned char. This tests
2366 the same thing that the previous test meant to, but works on
2367 16-bit machines, too.
2368 ("print unsigned char != (~0)"): Same test, complemented.
2369
0816a3e5
MS
23702001-05-24 Michael Snyder <msnyder@redhat.com>
2371
2372 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2373 test for (full_coverage == 0). This makes the test run faster,
2374 and prevents dejagnu getting out of step.
2375
f6dc23a9
KB
23762001-05-23 Kevin Buettner <kevinb@redhat.com>
2377
2378 * gdb.base/finish.exp (finish_void): Revise pattern for
2379 stopping on the call statement to not permit stopping at
2380 the start of the instructions comprising the call sequence.
2381
7dbd117d
MC
23822001-05-19 Michael Chastain <chastain@redhat.com>
2383
2384 * gdb.base/callfuncs.exp: Make all test names unique.
2385 * gdb.base/commands.exp: Make all test names unique.
2386 * gdb.base/condbreak.exp: Make all test names unique.
2387 * gdb.base/dbx.exp: Make all test names unique.
2388 * gdb.base/default.exp: Make all test names unique.
2389 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2390 and TIMEOUT messages to their corresponding PASS message.
2391 * gdb.base/ending-run.exp: Make all test names unique.
2392 * gdb.base/long_long.exp: Remove duplicate test.
2393
6b0b0a9e
KB
23942001-05-21 Kevin Buettner <kevinb@redhat.com>
2395
2396 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2397 stop on the call statement as well as the statement after the
2398 call.
2399
2caa35cb
MS
24002001-05-21 Michael Snyder <msnyder@redhat.com>
2401
2402 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2403
40713331
EZ
24042001-05-10 Elena Zannoni <ezannoni@redhat.com>
2405
2406 * gdb.base/completion.exp: Revamp test. Make it execute on all
2407 platforms.
2408
c2c1be8d
EZ
24092001-05-10 Elena Zannoni <ezannoni@redhat.com>
2410
2c9cd303
EZ
2411 * config/gdbserver.exp (gdb_load): Handle the case
2412 in which the arguments to gdbserver are given in the
2413 baseboard configuration file.
2414 Also handle the case in which the server needs to do a
2415 load.
2416
9671de48
KS
24172001-05-07 Keith Seitz <keiths@cygnus.com>
2418
2419 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2420 set up the display for testing.
2421 (gdbtk_start): Convert all paths to paths that tcl will like.
2422 Export target information to environment.
2423 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2424 necessary.
2425 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2426 (to_tcl_path): New proc to convert a given pathname into
2427 a path acceptible as an argument to a tcl command.
2428 (_gdbtk_export_target_info): New proc to export target info
2429 into the environment for gdbtk testing.
2430 (gdbtk_done): New proc to signal end-of-test.
2431
5a360f47
JB
24322001-05-06 Jim Blandy <jimb@redhat.com>
2433
2434 * restore.c: Make the code of caller0 correspond to its comment.
2435
66c756c6
MS
24362001-05-03 Michael Snyder <msnyder@redhat.com>
2437
2438 * config/sid.exp (gdb_target_sid): Check for error messages.
2439 On error or timeout, don't make expect exit (which will terminate
2440 all subsequent tests); instead just make gdb exit.
2441 (gdb_load): Check for error messages. On error or timeout,
2442 return a negative value.
2443
a966fde5
JB
24442001-04-24 Jim Blandy <jimb@redhat.com>
2445
851c18e0
JB
2446 * gdb.c++/templates.exp: If we see the prompt for the overload
2447 list, but we haven't recognized any of the longer patterns,
2448 arrange for this test to fail, not hang.
2449
a966fde5
JB
2450 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2451 variations.
2452
db144853
MC
24532001-04-22 Michael Chastain <chastain@redhat.com>
2454
2455 * gdb.c++/local.exp: Use the 'runto' library function.
2456 * gdb.c++/namespace.exp: Likewise.
2457 * gdb.c++/overload.exp: Likewise.
2458
3207ec21
KB
24592001-03-26 Kevin Buettner <kevinb@redhat.com>
2460
2461 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2462 * gdb.base/step-line.exp: New file. Test step/next in presence of
2463 #line directives.
2464 * gdb.base/step-line.c: New file. Test program for the above.
2465 * gdb.base/step-line.inp: New file. We pretend that this file has
2466 been transformed by some other tool into step-line.c.
2467
13b57657
JB
24682001-03-21 Jim Blandy <jimb@redhat.com>
2469
2470 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2471 unmangled operator names.
2472
754cbe1c
JB
24732001-03-20 Jim Blandy <jimb@redhat.com>
2474
2475 * gdb.threads/linux-dp.exp: Recognize an additional message
2476 generated by GDB when it doesn't understand how to debug threads
2477 on the target system.
2478
177495c9
AC
24792001-03-19 Andrew Cagney <ac131313@redhat.com>
2480
2481 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2482
f266096b
MC
24832001-03-12 Michael Chastain <chastain@redhat.com>
2484
2485 * gdb.c++/derivation.exp: Use the 'runto' library function.
2486
cac3c2ff
MC
24872001-03-12 Michael Chastain <chastain@redhat.com>
2488
2489 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2490
b6c11a24
MC
24912001-02-24 Michael Chastain <chastain@redhat.com>
2492
2493 * gdb.c++/ref-types.exp: Change handwritten code to library
2494 function 'runto'.
2495
6bae5bce
OF
24962001-03-16 Orjan Friberg <orjanf@axis.com>
2497
2498 * gdb.base/signals.exp: Set count to 0 explicitly.
2499
0015fd9a
MS
25002001-03-15 Mark Salter <msalter@redhat.com>
2501
2502 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2503 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2504 (gdb_load): Add support for additional target_info: gdb_download_size
2505 and gdb_load_timeout.
0015fd9a 2506
fc33412a
DT
2507Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2508
2509 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2510 file -- to prevent failing when the compile fails but we have no
2511 intention of running the tests anyway.
2512
2513 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2514 tests if set.
2515
2516 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2517 integers.
2518
2519 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2520 * gdb.c++/namespace.exp: Ditto.
2521
115f06de
OF
25222001-03-07 Orjan Friberg <orjanf@axis.com>
2523
2524 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2525 * gdb.base/pointers.exp: Relax pattern match of decimals.
2526
b6ba6518
KB
25272001-03-06 Kevin Buettner <kevinb@redhat.com>
2528
2529 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2530 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2531 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2532 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2533 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2534 config/sh.exp, config/sid.exp, config/slite.exp,
2535 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2536 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2537 config/vxworks.exp, config/vxworks29k.exp,
2538 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2539 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2540 gdb.base/arithmet.exp, gdb.base/assign.exp,
2541 gdb.base/async.exp, gdb.base/attach.exp,
2542 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2543 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2544 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2545 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2546 gdb.base/commands.exp, gdb.base/completion.exp,
2547 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2548 gdb.base/constvars.exp, gdb.base/corefile.exp,
2549 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2550 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2551 gdb.base/ending-run.exp, gdb.base/environ.exp,
2552 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2553 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2554 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2555 gdb.base/funcargs.exp, gdb.base/help.exp,
2556 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2557 gdb.base/logical.exp, gdb.base/long_long.exp,
2558 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2559 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2560 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2561 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2562 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2563 gdb.base/regs.exp, gdb.base/relational.exp,
2564 gdb.base/remote.exp, gdb.base/reread.exp,
2565 gdb.base/restore.exp, gdb.base/return2.exp,
2566 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2567 gdb.base/selftest.exp, gdb.base/setshow.exp,
2568 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2569 gdb.base/sigall.exp, gdb.base/signals.exp,
2570 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2571 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2572 gdb.base/step-test.exp, gdb.base/structs.c,
2573 gdb.base/structs.exp, gdb.base/structs2.exp,
2574 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2575 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2576 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2577 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2578 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2579 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2580 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2581 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2582 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2583 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2584 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2585 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2586 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2587 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2588 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2589 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2590 gdb.trace/circ.exp, gdb.trace/collection.exp,
2591 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2592 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2593 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2594 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2595 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2596 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2597 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2598 notices.
2599
dc96c6c7 26002001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2601
2602 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2603 first arg is int not float.
2604
dc96c6c7 26052001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2606
2607 * gdb.base/reread.exp: Unsupported for non-native targets;
2608 doesn't work for remote debugging.
2609
9b0c4aeb
FN
26102001-02-19 Fernando Nasser <fnasser@redhat.com>
2611
2612 From Drew Moseley <dmoseley@redhat.com>
2613 * gdb.base/ending-run.exp: Properly handle the BSP state when
2614 stepping past the end of main.
2615
02aa71d5
MC
26162001-02-19 John Moore <jmoore@redhat.com>
2617
2618 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2619 Converted HPUX fix for non-expected items following multiple
2620 step commands into general solution for all platforms.
2621
1fa449a4
MC
26222001-02-18 Michael Chastain <chastain@redhat.com>
2623
2624 * gdb.c++/classes.exp (do_tests): Change runto statements
2625 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2626 statements demangler agnostic.
2627 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2628 (gdb_virtfunc_restart): Likewise.
2629
b2f9ec70
MC
26302001-02-14 Michael Chastain <chastain@redhat.com>
2631
2632 * gdb.c++/inherit.exp (do_tests): Change runto statements
2633 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2634 statements demangler agnostic.
2635
cf74b8ca
AC
2636Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2637
2638 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2639 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2640 before calling common_routine 15 times'' tests.
2641
99f78f56
MC
26422001-02-11 Michael Chastain <chastain@redhat.com>
2643
2644 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2645 Helps the test script figure out which demangler is in use.
2646 (dm_type_foo_ref): Ditto.
2647 (dm_type_int_star): Ditto.
2648 (dm_type_long_star): Ditto.
2649 (dm_type_unsigned_int): Ditto.
2650 (dm_type_void): Ditto.
2651 (dm_type_void_star): Ditto.
99707966 2652 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2653 Probe the gdb demangler and set variables to accommodate
2654 formatting differences.
2655 (info_func_regexp): New function. Same as info_func, but
2656 matches against a regexp.
2657 (info_func): Match against a literal string.
2658 (print_addr_2): New function. Match against a literal string,
2659 which can be different from the input to gdb.
2660 (print_addr): Simply call print_addr_2 with the same argument twice.
2661 (test_lookup_operator_functions): Use demangler formatting variables.
2662 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2663 the tests in the same order as the C++ class declaration.
2664 (test_paddr_operator_functions): Ditto.
2665 (test_paddr_overloaded_functions): Ditto.
2666 (test_paddr_hairy_functions): Use demangler formatting variables.
2667 Add reference to gdb/19 for related tests.
2668 (do_tests): Call probe_demangler.
2669
1de8f023
KB
26702001-01-30 Kevin Buettner <kevinb@redhat.com>
2671
2672 * gdb.c++/templates.cc (printf): Remove unused function definition.
2673
ca3f91ed
MS
26742001-01-26 Felix Lee <flee@redhat.com>
2675
2676 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2677
26782001-01-25 matthew green <mrg@redhat.com>
2679
2680 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2681 up sid.
2682 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2683
26842001-01-25 matthew green <mrg@redhat.com>
2685
2686 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2687 Deprecate $sid_spawn_id.
2688 (sid_exit): Remove code necessary only for `spawn.'
2689
26902001-01-25 matthew green <mrg@redhat.com>
2691
2692 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2693
fb18ec4a
MC
26942001-01-28 Michael Chastain <chastain@redhat.com>
2695
2696 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2697 to call when tests fail. It takes gdb out of the overloaded
2698 function choice menu back to the main prompt, so that the test
2699 program stays synchronized.
2700 (set_bp_overloaded): New proc to collect all the common
2701 code for setting a breakpoint on an overloaded name. Calls
2702 take_gdb_out_of_choice_menu when needed.
2703 (menu_overload1arg): New variable to collect the repeated
2704 instances of the expected menu for an overloaded name. Change
2705 the regular expression to handle changes in g++ type encoding:
2706 "void" can be either "void" or "", and "unsigned int" can be
2707 either "unsigned int" or "unsigned".
2708 (continue_to_bp_overloaded): Change regular expressions to handle
2709 changes in g++ type encoding.
2710 (no proc): Call take_gdb_out_of_choice_menu when needed.
2711 Remove redundant calls to "info break". Accept either "canceled"
2712 or "cancelled". Change regular expressions in "info break"
2713 calls to handle changes in g++ type encoding. Give all tests
2714 unique strings.
2715
9c646a6e
BE
27162001-01-17 Ben Elliston <bje@redhat.com>
2717
2718 * config/sid.exp: New file.
2719
9549d9c1
AC
2720Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2721
2722 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2723
dc96c6c7 27242000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2725
2726 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2727 Add a RE to accept a non-ascii char if one is ever presented.
2728
b4df4f68
FN
27292000-12-20 Fernando Nasser <fnasser@redhat.com>
2730
297dd0fd 2731 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2732
dc96c6c7 27332000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2734
2735 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2736 in regexp. One '\' does not suffice on Linux.
2737
4a7bddb6
MC
27382000-12-09 Michael Chastain <chastain@redhat.com>
2739
2740 * gdb.base/break.exp (test_clear_command): Use a marker function
2741 rather than 'main' for the test function. Also move this
2742 test to an execution point where the marker function names are
2743 guaranteed to be bound to functions. (Executing tests after a
2744 'finish' from main runs into name conflicts with local names
2745 in __libc_start_main).
2746
dc96c6c7 27472000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2748
2749 * gdb.base/finish.exp: New test for gdb's "finish" command.
2750 * gdb.base/return2.exp: New test for gdb's "return" command.
2751 * gdb.base/return2.c: New source file for above.
2752
dc96c6c7 27532000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2754
2755 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2756 * gdb.base/miscexprs.exp: Ditto.
2757 * gdb.base/pointers.exp: Ditto.
2758 * gdb.c++/derivation.exp: Ditto.
2759 * gdb.c++/local.exp: Ditto.
2760 * gdb.c++/namespace.exp: Ditto.
2761 * gdb.c++/overload.exp: Ditto.
2762 * gdb.c++/ref-types.exp: Ditto.
2763
dc96c6c7 27642000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2765
2766 * gdb.base/constvars.exp: Test result of "up" command.
2767 * gdb.base/miscexprs.exp: Ditto.
2768 * gdb.base/pointers.exp: Ditto.
2769 * gdb.base/scope.exp: Ditto.
2770 * gdb.c++/derivation.exp: Ditto.
2771 * gdb.c++/local.exp: Ditto.
2772 * gdb.c++/namespace.exp: Ditto.
2773 * gdb.c++/overload.exp: Ditto.
2774 * gdb.c++/ref-types.exp: Ditto.
2775
44097287
FN
27762000-11-22 Michael Chastain <chastain@redhat.com>
2777
2778 * mips_pro.exp: Accept either "middle -> top -> main" or
2779 "middle -> main" in the backtrace, because gcc can optimize
2780 tail calls to jumps. Remove setup_xfail for the hppa case.
2781 Add a comment with the original warning messages from PR 3016,
2782 which was filed in 1993, to preserve them for posterity.
2783
9d2e1bab
ND
27842000-11-17 Nick Duffek <nsd@redhat.com>
2785
2786 * lib/gdb.exp (gdb_test): Override timeout with board info.
2787
1aca8eb7
ND
27882000-11-17 Nick Duffek <nsd@redhat.com>
2789
2790 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2791 the second kill and detach messages.
2792
93076499
ND
27932000-11-17 Nick Duffek <nsd@redhat.com>
2794
2795 * configure.in: Add AC_EXEEXT.
2796 * configure: Regenerate.
2797 * Makefile.in (just-check): Export EXEEXT.
2798 * lib/gdb.exp ($EXEEXT): Import from environment.
2799 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2800 expect "maint dump-me" on Cygwin.
2801 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2802 $EXEEXT.
2803
30e87cd3
ND
28042000-11-17 Nick Duffek <nsd@redhat.com>
2805
2806 * gdb.base/break.exp: Test backtrace and finish from called
2807 function on all platforms, not just HP-UX.
2808
dc96c6c7 28092000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
2810
2811 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2812 code from gdb_target_monitor, so it can be used independantly
2813 for gdbserver. Also comment out an unnecessary PUTS.
2814
dc96c6c7 28152000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
2816
2817 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2818 * gdb.base/corefile.exp: Expect the message "Program is being
2819 debugged already" when we send the "corefile" command, since
2820 the preceeding gdb_load may have connected gdb to a remote target.
2821 * gdb.base/display.exp: Disable hardware watchpoints if new
2822 board info variable "no_hardware_watchpoints" is true.
2823 Replace single-letter commands with more readable ones.
2824 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2825 if new board info variable "no_hardware_watchpoints" is true.
2826 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2827 to see if stdio (printf) testing is possible.
2828 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2829 board info variable "no_hardware_watchpoints" is true. Use new
2830 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2831
39124dea
FN
28322000-11-13 Fernando Nasser <fnasser@redhat.com>
2833
2834 From Orjan Friberg <orjanf@axis.com>:
2835 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2836 in array print pattern match.
2837
a9e2e984
FN
28382000-11-09 Fernando Nasser <fnasser@redhat.com>
2839
2840 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2841 spelling "cancelled" to U.S. spelling "canceled" to match changes
2842 made to gdb.
2843 * gdb.c++/ovldbreak.exp: Ditto.
2844
c7db355b
PS
28452000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2846
2847 * gdb.base/callfuncs.c (main): Moved to end of file, call
2848 t_double_values to initialize the FPU before inferior calls are made.
2849 * gdb.base/callfuncs.exp: Test for register preservation after calling
2850 inferior functions. Add tests for continuining, finishing and
2851 returning from a stop in a call dummy.
2852
dc96c6c7 28532000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
2854
2855 * gdb.base/commands.exp: Break up long lines, and re-indent.
2856
dc96c6c7 28572000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
2858
2859 * config/gdbserver.exp: Rewritten from the ground up, to make it
2860 compatible with the current dejagnu tree, and to make it work with
2861 the new "gdbserver" in libremote.
2862
dc96c6c7 28632000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2864
2865 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
2866 * gdb.base/varargs.exp: Skip entire test if no printf support.
2867 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
2868 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2869
dc96c6c7 28702000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2871
2872 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
2873 no floating point support.
2874 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
2875 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
2876 * gdb.base/call-rt-st.exp: Ditto.
2877 * gdb.base/call-strs.exp: Ditto.
2878
bac5fc66
JG
28792000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
2880
2881 * gdb.base/sizeof.c: include <stdio.h>.
2882
2883 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
2884 'finish', otherwise uncaptured gdb_prompt would potentially
2885 throw remaining test points out of sync.
2886
b22a6027
SB
28872000-07-26 Scott Bambrough <scottb@netwinder.org>
2888
2889 * gdb.base/recurse.exp: Run tests for all targets.
2890 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
2891 gnu-oldld case on ARM.
2892 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
2893 for ARM targets.
2894
d8231941
AG
2895Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2896
2897 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
2898 * gdb.java/configure: Rebuild.
2899
8caabe69
AG
2900Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
2901
2902 * gdb.java/jv-exp.exp: New file.
2903
9d273ca3
AG
2904Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
2905
2906 * configure: Rebuilt.
2907 * configure.in (configdirs): Add gdb.java.
2908 * gdb.java/jmisc.java: New file.
2909 * gdb.java/jmisc.exp: New file.
2910 * gdb.java/Makefile.in: New file.
2911 * gdb.java/configure: Rebuilt.
2912 * gdb.java/configure.in: New file.
2913 * lib/java.exp: New file.
2914
4f823a66
AC
2915Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
2916
2917 * gdb.base/exprs.exp: Test casts to a pointer including over and
2918 underflow.
2919
2391e11d
AC
2920Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
2921
2922 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
2923 and the compilers sizes.
2924
54602222
ND
29252000-07-09 Nick Duffek <nsd@redhat.com>
2926
2927 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
2928 (use_methods): New function.
2929 (main): Call use_methods().
2930 * gdb.c++/classes.exp (test_method_param_class): New procedure.
2931 (do_tests): Call test_method_param_class.
2932
2bec0572
ND
29332000-07-09 Nick Duffek <nsd@redhat.com>
2934
2935 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
2936 spelling.
2937 (test_enums): New procedure. Move enum tests from end of script
2938 to here. Set breakpoint on function name instead of line number.
2939 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
2940 (enums2): New marker function.
2941 (enums1): New function.
2942 (main): Call enums1(). Move enum tests to enums1().
2943
78492fde
AC
2944Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
2945
2946 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
2947 compile/link program. Update line numbers.
2948 * gdb.asm/d10v.inc: Define ``startup''.
2949 * gdb.asm/asmsrc1.s: Add definition of _start.
2950
49a2cef8
AC
2951Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
2952
2953 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
2954
3e6c8688
EZ
29552000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2956
2957 * gdb.base/maint.exp: Add 'maint print architecture' item to output
2958 of 'help maint print' command.
2959
9ff5cbe9
AC
2960Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
2961
2962 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
2963 they use gdb_expect_list.
2964
17c579bd
AC
2965Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
2966
2967 * gdb.base/commands.exp: Use ``set remote
2968 memory-read-packet-size'' instead of ``set endian big'' to test
2969 long commands.
2970
e6d71bf3
DB
29712000-06-03 Daniel Berlin <dan@cgsoftware.com>
2972
2973 * gdb.c++/templates.exp (do_tests): Make all of these work under
2974 g++, and stop skipping them.
2975
2976 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
2977 work under g++.
2978
e5f9ba7b
MS
2979 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
2980 initialization.
2981
dc96c6c7 29822000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
2983
2984 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
2985 the regular expression: accept an (almost) arbitrary sequence of
2986 "frames-invalid" and "breakpoints-invalid" messages both before
2987 and after the "starting" message.
2988
dc96c6c7 29892000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
2990
2991 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 2992
dc96c6c7 29932000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
2994
2995 * gdb.base/annota1.exp (annotate-signal-handler-caller):
2996 Relax the regular expression a little, make it pass on Solaris 8.
2997
8216cda9
KB
29982000-05-12 Kevin Buettner <kevinb@redhat.com>
2999
3000 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3001 a call, do not require that gdb stop on the line after the call.
3002 Instead, it is permissible for gdb to stop on the line of the
3003 call itself.
3004
1a570b2f
MS
30052000-05-12 Michael Snyder <msnyder@.cygnus.com>
3006
3007 * gdb.base/break.exp (bp on small function, optimized file):
3008 Add a second pass pattern. The behavior differs here between stabs
3009 and dwarf for one-line functions. Stabs preserves two line symbols
3010 (one before the prologue and one after) with the same line number,
3011 but dwarf regards these as duplicates and discards one of them.
3012 Therefore the address after the prologue (where the breakpoint is)
3013 has no exactly matching line symbol, and GDB reports the breakpoint
3014 as if it were in the middle of a line rather than at the beginning.
3015
dc96c6c7 30162000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3017
3018 * gdb.base/interrupt.exp: Make "pass" message say "send"
3019 rather than "send_gdb" (for consistancy).
3020
7d418785
AC
3021Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3022
3023 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3024 * gdb.c++/templates.cc: Properly check for GCC version number.
3025 * lib/compiler.cc: Likewise
3026
dc96c6c7 30272000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3028
3029 * gdb.base/break.exp: When compiled with -O2 optimization,
3030 gdb may not stop at the first line of main, due to code motion.
3031
dc96c6c7 30322000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3033
3034 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3035 This test depends on parsing the printf output from the target.
3036 Since the sparclet stub doesn't do stdio, this will never work.
3037 * gdb.base/call-rt-st.exp: ditto.
3038 * gdb.base/call-strs: ditto.
3039
dc96c6c7 30402000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3041
3042 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3043
3044 * gdb.base/ending-run.exp: After connecting to a remote target,
3045 but before running, the target will appear to be in a random
3046 location. Specify both a file and a line for breakpoints.
3047 Also, the function that calls main may be called 'init'
3048 rather than 'start'.
3049
a5a51225
EZ
30502000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3051
3052 * gdb.base/help.exp: Update output for add-symbol-file command.
3053
7930cc7c
FN
30542000-04-10 Fernando Nasser <fnasser@cygnus.com>
3055
3056 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3057 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3058
23e37ab1
C
30592000-04-07 J.T. Conklin <jtc@redback.com>
3060
e93c542c
C
3061 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3062
23e37ab1
C
3063 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3064
591b8fa3
PDM
3065Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3066
3067 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3068 values that can be represented exactly.
3069 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3070 above change, and to not check against the directory part of the source
3071 file name.
3072 (step into print_long_arg_list): Likewise.
3073 (print print_small_structs from print_long_arg_list): Likewise.
3074 (print print_long_arg_list): Likewise.
3075
7a495180
EZ
30762000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3077
30b53638 3078 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3079
beb998c6
AC
3080Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3081
3082 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3083
1c689132
DB
30842000-03-25 Daniel Berlin <dan@cgsoftware.com>
3085
3086 * gdb.base/commands.exp (deprecated_command_test): Add test for
3087 deprecate with no arguments.
3088
c1790a9d
JL
30892000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3090
3091 * gdb.base/break.exp: Add new test for setting breakpoints on
3092 optimized code so we can test breakpoints work even when function
3093 prologues may be optimized away
3094
003ba290
FN
30952000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3096
3097 From David Whedon <dwhedon@gordian.com>
3098 * gdb.base/commands.exp : Added command deprecator tests.
3099
6837a0a2
DB
31002000-03-22 Daniel Berlin <dan@cgsoftware.com>
3101
3102 * gdb.base/help.exp: Added test for new apropos command.
3103
b9593231
KB
31042000-03-21 Kevin Buettner <kevinb@redhat.com>
3105
3106 * gdb.base/pointers.c (usevar): New function.
3107 (main): Make sure that global variables v_int_pointer2, rptr,
3108 and y are all referenced someplace in the program by calling
3109 usevar() on them. [Some linkers delete symbols which are
3110 never referenced. The space remains, but there's no way to
3111 get a (symbolic) handle on the variable from the debugger.]
3112
751a959b
EZ
31132000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3114
3115 * gdb.base/printcmds.c: Add typedeffed arrays.
3116
3117 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3118 procedure to test arrays that are typedef'd.
3119
73a93a32
JI
31202000-03-13 James Ingham <jingham@leda.cygnus.com>
3121
3122 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3123 the library directories.
73a93a32 3124
fb40c209
AC
3125Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3126
3127 * configure.in (configdirs): Add sub directory gdb.mi.
3128 * configure: Re-generate.
3129
3130 * gdb.mi: New directory.
beb998c6 3131
ee4dd2c9
AC
31322000-02-25 Scott Bambrough <scottb@netwinder.org>
3133
3134 * gdb.base/long_long.exp: Correct test suite failure when printing
3135 a long long value as a double on ARM platforms.
3136
70f0cc22
JB
31372000-02-16 Jim Blandy <jimb@redhat.com>
3138
3139 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3140 default source file is set properly before running this test.
3141
853819b8
EZ
31422000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3143
3144 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3145 gdbtk/library directory, not in gdbtcl2.
3146
dfcd3bfb
JM
31472000-02-04 Jim Blandy <jimb@redhat.com>
3148
3149 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3150 backslash from regexp pattern.
3151
3152 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3153 procedure. Use it to run all the "continue to bp overloaded"
3154 tests. Note that this changes the names of the tests slightly.
3155 If the breakpoint hit message includes a hex PC value, because
3156 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3157 from the real source code, still consider that a pass.
3158
3159 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3160 XFAIL here if the breakpoint message contains a hex address. Note
3161 similar change on 1999-11-02.
3162
3163 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3164
3165 * gdb.base/ptype.exp: Establish a default source file before
3166 calling get_debug_format.
3167
31682000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3169
3170 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3171
8b93c638
JM
31722000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3173
3174 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3175 of successive stepi commands -- while in the prologue we should see
3176 the function entry bracket.
3177
31782000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3179
3180 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3181 reach __change_mode() when stepping through the end of main().
3182
c5394b80
JM
31832000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3184
3185 * gdb.base/default.exp: Fix expected pattern.
3186 * gdb.base/help.exp: Same.
3187
0d06e24b
JM
31882000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3189
3190 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3191 Don't use xfail's because that affects only the following test.
beb998c6 3192
0d06e24b
JM
3193 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3194 solaris or linux.
3195
3196 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3197
dc96c6c7 31982000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3199
beb998c6 3200 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3201 "A syntax error" rather than "A parse error". Accept both.
3202
32032000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3204
3205 * gdb.base/default.exp: Remove OS dependent string from "target
3206 remote" test.
3207 * gdb.base/help.exp: Same for "help target remote" test.
3208
c3f6f71d
JM
32092000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3210
3211 From Jim Kingdon <kingdon@redhat.com>:
3212
3213 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3214 prompt (cleanup rather than necessity, but still might keep output
3215 from spilling to next test).
3216
32172000-01-02 Fred Fish <fnf@cygnus.com>
3218
3219 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3220 AIX, which defines them in <sys/types.h>.
3221
ed9a39eb 32221999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3223
ed9a39eb
JM
3224 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3225 float" test.
3226
32271999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3228
ed9a39eb 3229 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3230
3231 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3232 outermost frame disallowed".
3233
32341999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3235
3236 * gdb.base/setvar.exp: New tests for setting the value of a struct
3237 with a constant list.
3238
32391999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3240
3241 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3242 require the user to type a cast before setting the value of a struct.
3243
de57eccd
JM
32441999-12-06 Jim Blandy <jimb@cygnus.com>
3245
3246 * gdb.base/default.exp: Expect the new 'info float' command on
3247 all i386 platforms.
3248
3249 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3250 LinuxThreads libraries that don't support debugging.
3251
c2d11a7d
JM
3252Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3253
3254 * gdb.base/remote.c: Fill the buffer with truely random data.
3255 Change the buffer type to ``unsigned char'' to simplify size
3256 arithmetic.
3257
3258 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3259 stub only handles 400-1 byte packets. Verify that the download
3260 worked.
3261
32621999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3263
3264 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3265 tests, using UNRESOLVED for the untested cases. Also, does not wait
3266 for a timeout if the prompt was received before a recognizable pattern.
3267
32681999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3269
3270 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3271
32721999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3273
3274 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3275 watchpoints.
3276
32771999-11-24 Jason Merrill <jason@casey.cygnus.com>
3278
3279 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3280
3281 * gdb.c++/local.exp: Be more flexible in recognizing local class
3282 name mangling. Don't allow horribly truncated method names.
3283 * gdb.c++/derivation.exp: Expect protected inheritance.
3284 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3285 * gdb.c++/virtfunc.exp: Likewise.
3286 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3287 when printing a nested enum.
3288
32891999-11-22 Jim Blandy <jimb@cygnus.com>
3290
3291 * gdb.base/step-test.exp: Properly await GDB's response to setting
3292 a breakpoint on the call to large_struct_by_value.
3293
3294 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3295 just because we have debug info for the `start' function.
3296
32971999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3298
3299 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3300 "Unknown signal" messages, which indicate (on LinuxThreads) that
3301 GDB doesn't know how to debug threads on this system. This is
3302 better than hanging while philosopher 0 dumps chatter into gdb.log.
3303
33041999-11-18 Tom Tromey <tromey@cygnus.com>
3305
3306 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3307
33081999-11-18 Fred Fish <fnf@cygnus.com>
3309
3310 * gdb.base/coremaker2.c: Add sample program for generating
3311 cores that is more self contained than coremaker.c. Eventually
3312 I'll add more code to this and tie it into the testsuite.
3313
4ce44c66
JM
33141999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3315
3316 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3317
33181999-11-10 Jimmy Guo <guo@cup.hp.com>
3319
3320 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3321 from $srcdir/lib/.
3322 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3323 and gdb.c++/.
3324
3325 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3326
beb998c6 3327 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3328 'continue with watch' test point.
3329
33301999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3331
3332 Merged from p2linux-990323-branch:
beb998c6 3333
4ce44c66
JM
3334 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3335
11cf8741
JM
3336Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3337
3338 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3339 {limit,fixed}''. Test ``set download-write-size''.
3340
3341Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3342
3343 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3344 gdb_expect_list.
3345
3346Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3347
3348 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3349
33501999-11-03 Mark Salter <msalter@cygnus.com>
3351
3352 * gdb.base/break.exp: Fix "stub continue" pattern.
3353
33541999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3355
3356 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3357
33581999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3359
3360 * gdb.base/display.exp ("finish"): Add timeout clause.
3361
3362 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3363 plain prompt clause, so this doesn't have to time out in order to
3364 fail.
3365
3366 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3367 breakpoint hit messages include an address.
3368
3369 * gdb.base/display.exp: Don't forget to escape parens in regular
3370 expressions. Unix regexp notatation sucks.
3371
33721999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3373
3374 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3375 order for 'signalled' message.
3376
5c44784c
JM
33771999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3378
3379 From Jimmy Guo <guo@cup.hp.com>:
3380 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3381 * gdb.base/annota1.c: Add code for tests to work with.
3382
33831999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3384
3385 * gdb.base/remote.exp: New test for remote downloading settings.
3386 * gdb.base/remote.c: New file with large .data.
3387
917317f4
JM
33881999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3389
3390 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3391 for LinuxThreads support, merged from the Code Fusion branch.
3392
3393Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3394
3395 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3396 containing exp_continue into a while within an expect. Don't
3397 attempt a start more than three times. Check return value from
3398 gdb_load.
beb998c6 3399
2df3850c
JM
3400Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3401
3402 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3403 a pass case.
3404
2acceee2
JM
34051999-10-01 Kevin Buettner <kevinb@cygnus.com>
3406
3407 * gdb.base/break.c (main): Added a statement that we can step
3408 off of.
3409 * gdb.base/break.exp: Added tests for setting a breakpoint
3410 at an offset and stepping onto a breakpoint.
3411
34121999-10-01 Fred Fish <fnf@cygnus.com>
3413
beb998c6 3414 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3415 gdb output.
3416
c2c6d25f
JM
34171999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3418
3419 * gdb.base/break.exp: Code locations are in hex, don't forget!
3420 (For HP-UX.)
3421
34221999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3423
3424 * condbreak.exp: Use break.c as test program.
3425 * condbreak.c: Remove, redundant with break.c.
3426
34271999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3428
3429 * config/monitor.exp (gdb_target_monitor): Disable X- and
3430 Z-packets if the target needs it.
3431
34321999-09-13 James Ingham <jingham@leda.cygnus.com>
3433
3434 * gdb.c++/overload.exp: Added tests for listing overloaded
3435 functions with function pointers in the arg, explicitly calling
3436 out the version you want.
3437
cff3e48b
JM
34381999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3439
3440 * long_long.exp: Add variations of test cases that work for
3441 targets with 16-bit ints and 32-bit doubles.
3442
d4f3574e
SS
34431999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3444
3445 * break.c (main): Compare a possibly-uninitialized argc with an
3446 unlikely value that fits in 16 bits.
3447
34481999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3449
3450 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3451 0xfeeb, don't want negative numbers if ints are 16 bits.
3452
3453 * lib/gdb.exp (skip_cplus_tests): New proc.
3454 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3455 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3456 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3457 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3458 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3459 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3460 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3461 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3462
3463 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3464
3465Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3466
3467 * gdb.base/corefile.exp (up): Allow a parameter to appear
3468 in the frame that we're going up to.
3469
3470 From Jim Blandy <jimb@cygnus.com>:
3471
3472 * gdb.base/default.exp (info float): Expect some output now.
3473
3474 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3475 returning floating-point values to fail on the x86.
3476 * gdb.base/callfwmall.exp (do_function_calls): Same.
3477
3478 * gdb.base/list.exp (test_listsize): Correct expectations for
3479 listing line 1 with listsize 2. Also, listing a single line
3480 works now, as does listing three lines. [Kevin's note: There
3481 were a number of other cases fixed too where the expectations
3482 differed...]
3483
34841999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3485
3486 * gdb.base/selftest.exp: Add case for when version prints as
3487 constant string instead of char pointer.
3488
104c1213
JM
34891999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3490
3491 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3492 stepping out of main.
3493
3494 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3495 G++ used.
3496
3497 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3498 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3499
3500 * gdb.c++/ovldbreak.exp: Update match string in test that
3501 includes a warning of multiple breakpoints.
3502
35031999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3504
3505 * gdb.base/display.exp: Improve precision of step-after-finish
3506 added yesterday.
3507
3508 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3509 test.
3510
3511 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3512 configs when using G++, not just hppa*.
3513
35141999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3515
3516 * gdb.base/async.c: New file.
3517 * gdb.base/async.exp: New file.
3518
3519Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3520
3521 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3522 PA64.
3523
53a5351d
JM
3524Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3525
104c1213
JM
3526 * gdb.base/display.exp: "finish" can leave us mid-line on many
3527 targets, deal with it. Add a small constant to main, instead of
3528 1000 since main+1000 may not be a valid address in the target.
3529
53a5351d
JM
3530 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3531 on hpux11.
3532
3533 * gdb.base/attach.exp: Handle another hpux11 error message variant
3534 when attaching to a process that does not exist.
3535
35361999-08-19 J.T. Conklin <jtc@redback.com>
3537
3538 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3539 characters in 'continue to 1241' test.
3540
35411999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3542
3543 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3544 stop in print_long_arg_list, define and use a whitespace
3545 variable in print_small_structs test, add an XFAIL for Solaris.
3546 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3547 interested enough to fix.
3548
7be570e7
JM
35491999-08-13 Keith Seitz <keiths@cygnus.com>
3550
3551 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3552 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3553 proc knows about targets other than the natives.
3554 (test_assign): Use "gdb_run_cmd" to "run" the target.
3555 Check that we've actually hit the breakpoint at main.
3556 When we attempt to assign a value to a local variable, check
3557 that the variable is in the current scope, i.e., don't use
3558 a test with an empty result.
3559
3560Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3561
3562 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3563 command.
3564
35651999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3566
3567 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3568 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3569 gdb.compat, gdb.threads-hp.
3570 gdb.hp/configure, gdb.hp/configure.in: New files.
3571 gdb.hp/Makefile.in: Recurse into new subdirs.
3572 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3573 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3574 in object files.
3575 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3576
96baa820
JM
35771999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3578
3579 * gdb.base/display.exp: Help expect by putting a newline in the
3580 funky printf, remove a bogus p/a test.
3581
35821999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3583
3584 * gdb.base/display.exp: Make sure that when we say 'run', we are
3585 connected to the target. This is necessary when running not
3586 natively.
3587
35881999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3589
3590 * gdb.base/step-test.exp: Removed some extraneous messages.
3591
3592 * gdb.base/long_long.exp: Don't run memory examination tests
3593 on little-endian targets (they will need a different set of
3594 results to match).
3595
35961999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3597
3598 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3599 until somebody decides to fix GDB.
3600
3601 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3602 constant as "ULL".
3603 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3604 matches for a couple x/2 commands.
3605
a0b3c4fd
JM
36061999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3607
3608 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3609 by merging in ref-types2 tests.
3610 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3611
3612 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3613 * gdb.c++/Makefile.in: Add standard actions.
3614 (EXECUTABLES): Rename from PROGS, update list.
3615 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3616 from gdb.hp.
3617 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3618 foo and bar locals.
3619 * gdb.c++/anon-union.exp: Fix tests to match.
3620 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3621 expect matches to handle output variations.
3622 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3623 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3624 output, add HP alternatives for new and delete prints.
3625 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3626 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3627 * gdb.c++/demangle.exp: Use $style when reporting failure.
3628 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3629 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3630 match alternatives.
3631 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3632 compilers.
3633 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3634 * gdb.c++/method.exp: Add match alternatives.
3635 * gdb.c++/misc.cc: Add bool types.
3636 * gdb.c++/misc.exp: Add tests for bool types.
3637 * gdb.c++/overload.exp: Add xfails.
3638 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3639 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3640 add some more template parameter tests (only for HP currently).
3641 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3642 * gdb.c++/virtfunc.cc: Add return type and value for main.
3643 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3644 match alternatives.
beb998c6 3645
a0b3c4fd
JM
36461999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3647
3648 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3649
36501999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3651
3652 * gdb.base/signals.exp: Don't expect getting a backtrace from
3653 within a signal handler to fail on Linux.
3654
36551999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3656
3657 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3658 * lib/gdb.exp: Remove some gratuitious semicolons.
3659 (delete_breakpoints): Increase timeout.
3660 (gdb_expect): Add -notransfer option.
3661 (gdb_test): Use -notransfer option.
3662 (get_compiler_info): Add f77 case.
3663 (get_compiler): New proc, split out from gdb_preprocess, add f77
3664 case.
3665 (gdb_preprocess): Call get_compiler.
3666
3667 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3668 * gdb.base/attach.exp, gdb.base/display.exp,
3669 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3670 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3671 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3672 third arg to gdb_test.
3673 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3674 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3675 HP-UX xfails, add others.
3676 * gdb.base/completion.exp: Reflect name change of self-test.
3677 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3678 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3679 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3680 HP failure number.
3681 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3682 useless HP-UX 10.30 references.
3683 * gdb.base/maint.exp: Loosen matches.
3684 * gdb.base/pointers.c (main): Declare more_code.
3685 * gdb.base/pointers.exp: Match on output of a `next'.
3686 * gdb.base/structs.c: Add prototypes.
3687 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3688 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3689
36901999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3691
3692 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3693 command.
3694
36951999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3696
3697 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3698 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3699
3700 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3701 debug info. Deal with lack of signal hanlder info in stack.
3702
3703 From Jim Kingdon <kingdon@redhat.com>:
3704 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3705
5a2468f5
JM
37061999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3707
3708 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3709 gdb.base/foll-vfork.exp: Don't run for crosses.
3710
adf40b2e
JM
3711Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3712
3713 * gdb.base/configure.in: Check for gdbvars.exp instead of
3714 a1-selftest.exp.
3715 * gdb.base/configure: Re-generate.
3716
37171999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3718
3719 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3720 in trying to run first and name is too long.
3721
3722 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3723 pointers2.c and pointers2.exp, respectively.
3724 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3725 doschk happier.
3726
43e526b9
JM
37271999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3728
3729 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3730 callfuncs2.c and callfuncs2.exp.
3731
3732 * gdb.base/list.exp: Remove mistaken xfails.
3733 * gdb.base/list0.h: Add optional prototypes.
3734
9846de1b
JM
3735Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3736
3737 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3738 calling malloc.
3739 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3740 * ptype.exp: Move test for get_debug_format to before its first
3741 use.
3742
37431999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3744
3745 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3746 * gdb.base/annota2.cc, annota2.exp: Move from here.
3747 * gdb.c++/annota2.cc, annota2.exp: To here.
3748 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3749
43ff13b4
JM
3750Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3751
3752 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3753 a consistent format.
3754
085dd6e6
JM
37551999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3756
3757 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3758 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3759 HP compilers, also set the globals $true and $false.
3760
3761 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3762 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3763 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3764 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3765 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3766 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3767 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3768 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3769 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3770 whatis.c} Add C++ compatible function definitions and return
3771 types, add includes for library functions.
3772 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3773 * gdb.base/step-test.c (myglob): Rename from glob.
3774 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3775 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3776 files, move here from gdb.hp.
3777 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3778 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3779 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3780 Adjust line numbers in regexps.
3781
3782 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3783 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3784 instead of 0/1.
3785
3786 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3787 foll-vfork.exp: New files, move here from gdb.hp.
3788 * gdb.base/page.exp: New file, test of pagination command.
3789
3790 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3791 recursion test.
3792 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3793
3794 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3795 gdb.base/solib.exp: Fix compiler invocation process.
3796
3797 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3798 HP-UX 11, turn off overload resolution explicitly.
3799 * gdb.base/commands.exp: Set argument list explicitly, add
3800 watchpoint test.
3801 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3802 them work.
3803 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3804 expressions properly.
3805 * gdb.base/corefile.exp: Loosen the match slightly.
3806 * gdb.base/default.exp: Allow "Error accessing memory" message
3807 also.
3808 * gdb.base/display.exp: Skip over x/0 j if PA64.
3809 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3810 * gdb.base/interrupt.exp: Ditto.
3811 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3812 in use.
3813 * gdb.base/list.exp: Add xfails for HP-UX.
3814 * gdb.base/long_long.exp: Refine some of the numeric matches.
3815 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3816 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3817 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3818 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3819 * gdb.base/ptype.exp: Succeed on more varieties of output.
3820 * gdb.base/scope.exp: Add xfails for HP-UX.
3821 * gdb.base/sect-cmd.exp: Add more cases.
3822 * gdb.base/setvar.exp: Add xfails for HP-UX.
3823 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3824 * gdb.base/signals.exp: Match on void symbolically.
3825 * gdb.base/step-test.exp: Add case for PA64.
3826 * gdb.base/term.exp: Add exit and restart.
3827 * gdb.base/twice.exp: Clean up after self.
3828 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3829 * gdb.base/whatis.exp: Allow more ways to pass tests.
3830
3831 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3832 no longer useful.
3833
3834Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3835
3836 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3837 list of patterns.
3838 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3839 print_double_array(double_array)", "continuing to breakpoint
3840 1018", "print print_double_array(array_d)" and "continuing to
3841 1034" tests.
beb998c6 3842
085dd6e6
JM
38431999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3844
3845 * Makefile.in: Add empty html and install-html targets.
3846
38471999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3848
3849 * config/mt-*: Remove, these haven't been used since 1996.
3850
38511999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3852
3853 * gdb.base/call-strs.c, gdb.base/ending-run.c,
3854 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
3855 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
3856
9e0b60a8
JM
38571999-06-18 Stan Shebs <shebs@andros.cygnus.com>
3858
3859 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
3860 simpler match case for the ptype of the big class.
3861
38621999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3863
3864 * gdb.exp: Fix test for gdb_prompt existence.
3865
38661999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3867
3868 * gdb.exp (gdb_test): Add fail after calls to perror.
3869
38701999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3871
3872 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
3873
38741999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3875
3876 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
3877
0f71a2f6
JM
3878Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
3879
3880 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
3881 malloc() is linked in.
3882
38831999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3884
3885 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
3886 step at end.
3887
3888 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
3889
38901999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
3891
3892 * gdb.java/jv-print.exp: New file. (Our first Java test!)
3893
cce74817
JM
3894Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
3895
3896 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
3897 * gdb.base/mips_pro.exp: Likewise.
3898
38991999-06-02 Keith Seitz <keiths@cygnus.com>
3900
3901 * gdb.c++/templates.cc: Change all "new" operators to throw
3902 an exception.
3903 * gdb.c++/cplusfuncs.cc: Likewise.
3904
3905 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
3906
3907Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
3908
3909 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
3910 * gdb.base/ending-run.exp: When stepping out of main, accept a
3911 step into an arbitrary assembler file.
3912
392a587b
JM
39131999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3914
beb998c6 3915 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 3916 "breakpoint-invalid" to be printed.
beb998c6 3917 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
3918 number of "frames-invalid" and "breakpoint-invalid" to be printed.
3919 * gdb.base/annota2.cc: Initialize a.x to 0.
3920
9e086581
JM
39211999-05-17 Keith Seitz <keiths@cygnus.com>
3922
3923 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
3924 when "skip_float_tests" set.
3925 Ditto for "print print_double_array(array_d)", "print print_small_structs",
3926 "print print_ten_doubles", and "step into print_long_arg_list".
3927 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
3928 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
3929 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
3930 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
3931 "skip_float_tests" is set.
3932 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
3933 when "skip_float_tests" set.
beb998c6 3934
cd0fc7c3
SS
39351999-05-06 Keith Seitz <keiths@cygnus.com>
3936
3937 * gdb.base/annota2.cc: Include stdio.h.
3938
3939Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
3940
3941 * gdb.base/crossload.exp: Remove, this has been disabled ever
3942 since BFD stopped including all targets, and cross-GDB gets
3943 plenty of testing anyway.
3944 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
3945 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
3946 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
3947 * gdb.base/README: Remove, was doc for this.
3948 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
3949 needed.
3950
b83266a0
SS
39511999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3952
3953 * gdb.base/call-ar-st.exp: Fix one regular expression in test
3954 output.
3955
3956 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
3957 * gdb.base/annota2.exp: New file. More annotation tests.
3958 * gdb.base/annota1.c: New file. Source file for annota1.exp.
3959 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
3960
39611999-04-23 Angela Marie Thomas <angela@cygnus.com>
3962
3963 * config/cfdbug.exp: New file.
3964
7a292a7a
SS
39651999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3966
3967 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
3968 Marcus Daniel's and Dale Hawkins's demangler crashes.
3969
3970 * gdb.c++/demangle.exp (test_gnu_style_demangling,
3971 test_lucid_style_demangling, test_arm_style_demangling,
3972 test_hp_style_demangling): Try Tom Tromey's core-dumping
3973 identifier under each demangling style.
3974
39751999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
3976
3977 * gdb.c++/demangle.exp: Include the current demangling style
3978 in all test names.
3979 (current_demangling_style): New global variable.
3980 (set_demangling_style, test_demangling_core, test_demangling,
3981 test_demangling_exact): New functions.
3982 (test_gnu_style_demangling, test_lucid_style_demangling,
3983 test_arm_style_demangling, test_hp_style_demangling): Use those,
3984 instead of calling gdb_test and gdb_test_exact directly.
3985 (catch_demangling_errors): New function, which reports errors
3986 signalled by the demangling test functions in an orderly way.
3987 (do_tests): Use catch_demangling_errors.
3988
39891999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
3990
3991 * gdb.base/signals.exp (test_handle_all_print): Use () for
3992 grouping in expressions, not {}.
3993
3994 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
3995 initialized yet.
3996
39971999-04-01 Stan Shebs <shebs@andros.cygnus.com>
3998
3999 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4000 are listed.
4001
40021999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4003
4004 * gdb.stabs/weird.exp: Test for CC being defined before
4005 looking at its value.
4006
40071999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4008
4009 * gdb.base/call-ar-st.exp: Remove stray '#'.
4010 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4011 "short int" and "long int".
4012 * gdb.c++/overload.cc: Cast the string added in the previous
4013 change, to mollify finicky HP compiler.
4014 * gdb.hp/reg-test.exp (testfile): Fix file name.
4015 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4016
7a292a7a
SS
4017 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4018 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4019 alternate form of enum ptype.
4020
c906108c
SS
40211999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4022
7a292a7a
SS
4023 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4024 * gdb.hp/*.exp: Change all to run compiler probe only after
4025 passing skip_hp_tests, so as not to waste time on guaranteed
4026 failure.
4027
c906108c
SS
4028 * gdb.c++/overload.cc: Pass string instead of char addr, always
4029 init ccpfoo.
4030 * gdb.c++/templates.cc: Fix syntax error.
4031
7a292a7a
SS
4032Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4033
4034 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4035 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4036 command.
4037
40381999-03-18 James Ingham <jingham@cygnus.com>
4039
4040 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4041
4042 * gdb.c++/method.exp: It was testing an uninitialized int on the
4043 stack and assuming it was positive.
4044
4045 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4046
4047 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4048 keep it from killing the rest of the tests.
7a292a7a
SS
4049 Use gdb_continue_to_end.
4050
4051 * gdb.base/sigall.exp: use gdb_continue_to_end.
4052
4053 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4054
4055 * gdb.base/display.exp: use runto_main, not run.
4056
beb998c6
AC
4057 * gdb.base/default.exp: Check for the current error message in the
4058 r abbreviation test.
7a292a7a
SS
4059 Add strongarm to the targets that know info float.
4060
beb998c6 4061 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4062 run which doesn't work with monitors.
4063
4064 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4065
4066 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4067
4068 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4069 program. Traps the case (in Cygmon) when the program never really
4070 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4071 more places, so I used my name. Sorry Mark...
4072
4073 * config/monitor.exp (gdb_target_monitor): added another
4074 target_info parameter: remotebinarydownload. This will set the
4075 remotebinarydownload flag if this is causing some boards trouble.
4076
40771999-03-18 Mark Salter <msalter@cygnus.com>
4078
4079 * lib/gdb.exp (continue_to_exit): New function.
4080
4081 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4082 * gdb.base/ending-run.exp: Ditto.
4083 * gdb.base/step-test.exp: Ditto.
4084
40851999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4086
4087 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4088 (suggested by Art Haas <ahaas@neosoft.com>).
4089
40901999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4091
4092 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4093
4094Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4095
4096 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4097 descriptions of types (short unsigned int vs unsigned short, etc).
4098
40991999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4100
4101 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4102 a call to strlen; sometimes we do have sources.
4103
41041999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4105
4106 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4107 character, so GDB won't print garbage after its end.
beb998c6 4108
c906108c
SS
4109 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4110 breakpoint there instead. Sometimes GCC emits memcpy to handle
4111 the large structures being passed by value, so we step into that
4112 instead of sum_array_print, which obscures what we're really testing.
4113 * gdb.base/step-test.exp: However, we do want a test that notices
4114 the bizarre steps into memcpy, so do that here. Add check for
4115 stepping into function calls that pass large structures by value.
4116 ("Is that a noun clause, or are you just happy to see me?")
4117 Remove all references to specific line numbers.
4118 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4119 New type and function.
4120 (main): Call large_struct_by_value, passing it a large struct by value.
4121 * lib/gdb.exp (gdb_get_line_number): New function.
4122
4123 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4124 more portable.
4125
7a292a7a
SS
41261999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4127
c906108c
SS
4128 * lib/gdb.exp: Doc fixes.
4129
7a292a7a
SS
41301999-03-05 Nick Clifton <nickc@cygnus.com>
4131
beb998c6 4132 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4133
41341999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4135
c906108c
SS
4136 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4137 commands. They're not germane to this test, and they don't work
4138 that way on remote targets.
4139
3fc11d3e
JM
41401999-03-01 James Ingham <jingham@cygnus.com>
4141
4142 * Changelog entries merged over from gdb development branch.
4143
3fc11d3e
JM
4144 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4145
4146 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4147 for outputting results of test run.
4148
2d4a1622 4149 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4150
4151 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4152
7a292a7a
SS
41531999-02-25 Felix Lee <flee@cygnus.com>
4154
4155 * lib/gdb.exp (debug_format): initialize
4156
c906108c
SS
41571999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4158
4159 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4160 * gdb.base/call-rt-st.c: Ditto.
4161
c906108c
SS
41621999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4163
4164 * gdb.threads/pthreads.exp (horiz): New variable.
4165 (test_startup): Fix regexps that capture thread numbers.
4166
41671999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4168
4169 * gdb.base/smoke.exp: Disambiguate two test case names (both
4170 called ``print'').
4171
4172Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4173
4174 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4175 compilation.
4176
41771999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4178
4179 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4180 actual output formatting.
4181 * gdb.base/smoke.exp: GDB removes leading 0's.
4182 * gdb.base/volatile.exp: Don't check type of remuneration;
4183 that variable is no longer defined in constvars.c.
4184 * gdb.base/step-test.c (main): Exit with explicit exit code.
4185 * gdb.base/step-test.exp: Remove two nexti checks--they are
4186 not portable.
4187
41881999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4189
4190 * gdb.base/help.exp ("help delete display"): Fix test to match
4191 gdb's output.
4192
4193 * gdb.base/long_long.c (known_types): Initialize values to zero.
4194 * gdb.base/long_long.exp: Step one more line
4195 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4196 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4197 unique test case names.
4198
4199Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4200
beb998c6 4201 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4202
4203 * gdb.c++/method.exp: Add missing close brace.
4204
42051999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4206
4207 * gdb.base/maint.exp: Use 'set height 0' to disable page
4208 prompting, not 'set height 400'.
4209
4210 Fix a bunch of timeouts.
4211 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4212 four separate tests, so expect doesn't take forever to match a ton
4213 of text against a regexp with lots of .* forms.
4214 ("maint print psymbols", "maint print symbols"): Make some of
4215 these greps more selective, so that expect doesn't try to wade
4216 through huge piles of output and time out.
4217
4218 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4219
4220 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4221 tests: one which doesn't expect shlib events to be reported, and
4222 another which does, but is XFAIL for all platforms other than
4223 HP/UX.
4224
4225 * gdb.base/break.exp: Teach the test suite that the `catch
4226 fork', `catch vfork', and `catch exec' commands produce error
4227 messages on platforms that don't provide these features.
4228
4229Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4230
4231 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4232 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4233 (shortening names from solib_threshold.exp etc), won't run on
4234 anything but HP-UX for the foreseeable future.
4235 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4236 reflect move.
4237
4238Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4239
4240 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4241 gdb.trace/Makefile.in (clean): Remove all test executables.
4242
4243Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4244
4245 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4246 successfully re-sets breakpoints in shared libraries.
4247 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4248
4249Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4250
beb998c6
AC
4251 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4252 and compiled w/o GCC.
c906108c
SS
4253
4254 * gdb.hp/watch-cmd.exp: ditto.
4255
4256 * gdb.hp/watch-hp.exp: ditto.
4257
4258 * gdb.hp/xdb1.exp: ditto.
4259
4260 * gdb.hp/xdb2.exp: ditto.
4261
4262 * gdb.hp/dbx.exp: ditto.
4263
4264Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4265
4266 * constvars.c: Remove C++-isms.
4267 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4268 with GCC.
4269
4270Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4271
4272 The following changes are part of the HP merge.
4273
4274 * gdb.base/break.exp: new tests to verify that catchpoints for
4275 fork, vfork, and exec don't trigger inappropriately.
4276
4277 * gdb.base/opaque.exp: compile one file at a time, then link.
4278
4279 * gdb.base/signals.exp: be more restrictive about which hppa
4280 systems receive a setup_xfail. new tests.
4281
4282 * gdb.base/solib_threshold.build: new file.
4283 * gdb.base/solib_threshold.exp: new file.
4284 * gdb.base/solib_threshold.link_opts: new file.
4285 * gdb.base/solib_threshold.mk: new file.
4286 * gdb.base/gen_solib_threshold.c: new file.
4287
4288 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4289 tests. New tests for enums inside classes.
4290
4291 * gdb.c++/compiler.cc: indicate support of template debugging.
4292
4293 * gdb.c++/demangle.exp: run hp style demangling tests.
4294
4295 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4296 tests.
4297
4298 * gdb.c++/misc.cc: changes to support new tests.
4299
4300 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4301 to support new tests.
4302
4303 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4304 gcc, then skip these tests.
4305
4306Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4307
4308 The following files are part of the HP merge; some had longer
4309 names at HP, but have been renamed to be no more than 14
4310 characters in length.
4311
4312 * gdb.hp/ambiguous.cc: new file.
4313 * gdb.hp/ambiguous.exp: new file.
4314 * gdb.hp/attach.exp: new file.
4315 * gdb.hp/attach2.exp: new file.
4316 * gdb.hp/classes-hp.exp: new file.
4317 * gdb.hp/ctti.exp: new file.
4318 * gdb.hp/ctti-add.cc: new file.
4319 * gdb.hp/ctti-add1.cc: new file.
4320 * gdb.hp/ctti-add2.cc: new file.
4321 * gdb.hp/ctti-add3.cc: new file.
4322 * gdb.hp/dbx.exp: new file.
4323 * gdb.hp/exception.cc: new file.
4324 * gdb.hp/exception.exp: new file.
4325 * gdb.hp/foll-exec.c: new file.
4326 * gdb.hp/foll-exec.exp: new file.
4327 * gdb.hp/foll-fork.c: new file.
4328 * gdb.hp/foll-fork.exp: new file.
4329 * gdb.hp/foll-vfork.c: new file.
4330 * gdb.hp/foll-vfork.exp: new file.
4331 * gdb.hp/inherit-hp.exp: new file.
4332 * gdb.hp/more-steps.exp: new file.
4333 * gdb.hp/namespace.cc: new file.
4334 * gdb.hp/namespace.exp: new file.
4335 * gdb.hp/optimize.exp: new file.
4336 * gdb.hp/pxdb.c: new file.
4337 * gdb.hp/pxdb.exp: new file.
4338 * gdb.hp/quicksort.exp: new file.
4339 * gdb.hp/reg-test.exp: new file.
4340 * gdb.hp/reg-test.s: new file.
4341 * gdb.hp/sized-enum.c: new file.
4342 * gdb.hp/sized-enum.exp: new file.
4343 * gdb.hp/start-stop.exp: new file.
4344 * gdb.hp/templ-hp.cc: new file.
4345 * gdb.hp/templ-hp.exp: new file.
4346 * gdb.hp/thr-lib.c: new file.
4347 * gdb.hp/thr-lib.exp: new file.
4348 * gdb.hp/thr-lib.h: new file.
4349 * gdb.hp/thr-liblib.c: new file.
4350 * gdb.hp/virtfun-hp.c: new file.
4351 * gdb.hp/virtfun-hp.exp: new file.
4352 * gdb.hp/watch-cmd.exp: new file.
4353 * gdb.hp/watch-hp.exp: new file.
4354 * gdb.hp/xdb1.exp: new file.
4355 * gdb.hp/xdb2.exp: new file.
4356 * gdb.hp/xdb3.exp: new file.
4357
4358Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4359
4360 The following files are part of the HP merge; some had longer
4361 names at HP, but have been renamed to be no more than 14
4362 characters in length.
4363
4364 * gdb.base/ss.h: new file.
4365 * gdb.base/call-ar-st.c: new file.
4366 * gdb.base/call-ar-st.exp: new file.
4367 * gdb.base/call-rt-st.c: new file.
4368 * gdb.base/call-rt-st-exp: new file.
4369 * gdb.base/call-strs.exp: new file.
4370 * gdb.base/ena-dis-br.exp: new file.
4371 * gdb.base/environ.exp: new file.
4372 * gdb.base/long_long.exp: new file.
4373 * gdb.base/sect-cmd.exp: new file.
4374 * gdb.base/shlib-cl2.exp: new file.
4375 * gdb.base/smoke.exp: new file.
4376 * gdb.base/so-impl-ld.c: new file.
4377 * gdb.base/so-impl-ld.exp: new file.
4378 * gdb.base/so-indr-cl.c: new file.
4379 * gdb.base/so-indr-cl.exp: new file.
4380 * gdb.base/varargs.exp: new file.
4381 * gdb.base/volatile.exp: new file.
4382 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4383 * gdb.base/display.exp: new file.
c906108c
SS
4384 * gdb.c++/derivation.exp: new file.
4385 * gdb.c++/local.exp: new file.
4386 * gdb.c++/member-ptr.exp: new file.
4387 * gdb.c++/overload.exp: new file.
4388 * gdb.c++/ovldbreak.exp: new file.
4389 * gdb.c++/ref-types.exp: new file.
4390 * gdb.c++/ref-types2.exp: new file.
4391 * gdb.c++/userdef.exp: new file.
beb998c6 4392
c906108c
SS
4393Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4394
4395 * gdb.base/default.exp: Reflect wording change in remote.c.
4396
dc96c6c7 4397Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4398
4399 * gdb.base/help.exp: Update to reflect current text.
4400
4401Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4402
4403 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4404 they're stack variables and contain garbage.
4405 * gdb.c++/anon-union.exp: new file.
4406
4407 The following changes were made by David Taylor
4408 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4409 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4410 in changes by HP.
4411
4412 * gdb.base/bitops.exp: new file.
4413 * gdb.base/default.exp: change expected messages for catch and
4414 info catch tests to reflect HP merge changes.
4415 * gdb.base/enable-disable-break.exp
4416 * gdb.base/ending-run.c: new file.
4417 * gdb.base/long_long.c: new file.
4418 * gdb.base/maint.exp: new file.
4419 * gdb.base/pointers2.exp: new file.
4420 * gdb.base/shlib-call2.exp: new file.
4421 * gdb.base/solib.exp: new file.
4422 * gdb.base/step-test.c: new file.
4423 * gdb.c++/anon-union.cc: new file.
4424 * gdb.c++/local.cc: new file.
4425 * gdb.c++/member-pointer.cc: new file.
4426 * gdb.c++/method.cc: new file.
4427 * gdb.c++/ref-types.cc: new file.
4428 * gdb.c++/ref-types2.cc: new file.
4429 * gdb.c++/userdef.cc: new file.
beb998c6 4430
c906108c
SS
4431 * gdb.base/scope.exp: compile one file at a time, then link.
4432 * gdb.base/langs.exp: ditto.
4433 * gdb.base/list.exp: ditto.
beb998c6 4434
c906108c
SS
4435Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4436
4437 The following changes were made by David Taylor
4438 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4439 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4440 in changes by HP.
beb998c6 4441
c906108c
SS
4442 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4443 skip tests. When compiling pass c++ flag to gdb_compile.
4444 * gdb.c++/
beb998c6 4445
c906108c
SS
4446 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4447 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4448 (skip_hp_tests): new function.
4449 (gdb_preprocess): new function.
4450
4451 * configure.in (hpdir): decide whether to configure gdb.hp.
4452 * configure: regenerated.
4453
4454 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4455 to delete on clean.
4456 (EXECUTABLES): update to reflect new additions.
4457 * gdb.base/commands.exp: update message expected.
4458 * gdb.base/default.exp: add copyright notice.
4459 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4460 * gdb.base/help.exp: update messages to reflect current text.
4461 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4462 targets for recurse tests.
4463 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4464 skip this file.
4465
4466 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4467 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4468 compilation.
4469 * gdb.c++/misc.exp: ditto.
4470 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4471 run the tests. tell gdb_compile that it's a c++ compilation.
4472
4473 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4474
c906108c
SS
4475 * gdb.base/all-bin.exp: new file.
4476 * gdb.base/arithmet.exp: new file.
4477 * gdb.base/assign.exp: new file.
4478 * gdb.base/completion.exp: new file.
4479 * gdb.base/cond-expr.exp: new file.
4480 * gdb.base/condbreak.exp: new file.
4481 * gdb.base/define.exp: new file.
4482 * gdb.base/dollar.exp: new file.
4483 * gdb.base/environment.exp: new file.
4484 * gdb.base/eval-skip.exp: new file.
4485 * gdb.base/jump.exp: new file.
4486 * gdb.base/logical.exp: new file.
4487 * gdb.base/pointers.exp: new file.
4488 * gdb.base/relational.exp: new file.
4489 * gdb.base/section_command.exp: new file.
4490 * gdb.base/whatis-expr.exp: new file.
4491
4492 * gdb.base/all-types.c: new file.
4493 * gdb.base/call-array-struct.c: new file.
4494 * gdb.base/call-return-struct.c: new file.
4495 * gdb.base/call-strings.c: new file.
4496 * gdb.base/callfuncs2.c: new file.
4497 * gdb.base/condbreak.c: new file.
4498 * gdb.base/constvars.c: new file.
4499 * gdb.base/display.c: new file.
4500 * gdb.base/int-type.c: new file.
4501 * gdb.base/jump.c: new file.
4502 * gdb.base/miscexprs.c: new file.
4503 * gdb.base/pointers.c: new file.
4504 * gdb.base/pointers2.c: new file.
4505 * gdb.base/shmain.c: new file.
4506 * gdb.base/shr1.c: new file.
4507 * gdb.base/shr2.c: new file.
4508 * gdb.base/solib.c: new file.
4509 * gdb.base/solib1.c: new file.
4510 * gdb.base/solib2.c: new file.
4511 * gdb.base/varargs.c: new file.
4512 * gdb.c++/derivation.cc: new file.
4513 * gdb.c++/overload.cc: new file.
4514 * gdb.c++/ovldbreak.cc: new file.
4515 * gdb.hp/attach.c: new file.
4516 * gdb.hp/attach2.c: new file.
4517 * gdb.hp/average.c: new file.
4518 * gdb.hp/compiler.c: new file.
4519 * gdb.hp/compiler.cc: new file.
4520 * gdb.hp/execd-program.c: new file.
4521 * gdb.hp/follow-exec.c: new file.
4522 * gdb.hp/follow-fork.c: new file.
4523 * gdb.hp/follow-vfork-and-exec.c: new file.
4524 * gdb.hp/misc-hp.cc: new file.
4525 * gdb.hp/more-steps.c: new file.
4526 * gdb.hp/optimize.c: new file.
4527 * gdb.hp/quicksort.c: new file.
4528 * gdb.hp/run-hp.c: new file.
4529 * gdb.hp/start-stop.c: new file.
4530 * gdb.hp/sum.c: new file.
4531 * gdb.hp/templates-hp.cc: new file.
4532 * gdb.hp/thread-local-in-lib.c: new file.
4533 * gdb.hp/thread-local-in-lib.h: new file.
4534 * gdb.hp/thread-local-in-lib.lib.c: new file.
4535 * gdb.hp/vforked-program.c: new file.
4536 * gdb.hp/virtfunc-hp.cc: new file.
4537 * gdb.hp/watchpoint-hp.c: new file.
4538 * gdb.hp/xdb.c: new file.
4539 * gdb.hp/xdb0.c: new file.
4540 * gdb.hp/xdb0.h: new file.
4541 * gdb.hp/xdb1.c: new file.
4542
4543Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4544
4545 The following change was made by Edith Epstein
4546 <eepstein@cygnus.com> as part of a project to merge in changes
4547 originally made by HP; HP did not create ChangeLog entries.
4548
4549 * gdb.c++/demangle.exp: changed the expected output for some
4550 ARM-style mangling -- removed second reference to datatype.
4551 For example, maint demangle __dt__11T1__pt__2_cFv
4552 T1<char>::~T1<char>(void)
4553 becomes,
4554 maint demangle __dt__11T1__pt__2_cFv
4555 T1<char>::~T1(void)
4556
4557 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4558
c906108c
SS
4559Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4560
4561 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4562 * gdb.trace/backtrace.exp: Likewise.
4563 * gdb.trace/circ.exp: Likewise.
4564 * gdb.trace/collection.exp: Likewise.
4565 * gdb.trace/deltrace.exp: Likewise.
4566 * gdb.trace/infotrace.exp: Likewise.
4567 * gdb.trace/limits.exp: Likewise.
4568 * gdb.trace/packetlen.exp: Likewise.
4569 * gdb.trace/passc-dyn.exp: Likewise.
4570 * gdb.trace/passcount.exp: Likewise.
4571 * gdb.trace/report.exp: Likewise.
4572 * gdb.trace/save-trace.exp: Likewise.
4573 * gdb.trace/tfind.exp: Likewise.
4574 * gdb.trace/tracecmd.exp: Likewise.
4575 * gdb.trace/while-dyn.exp: Likewise.
4576 * gdb.trace/while-stepping.exp: Likewise.
4577
45781998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4579
4580 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4581
4582Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4583
4584 From Brendan Kehoe:
4585 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4586 int return types.
4587
4588Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4589
4590 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4591 remote dos host testing right.
4592
4593Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4594
4595 * gdb.base/corefile.exp: remove some xfails.
4596
4597Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4598
4599 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4600 have different timestamps.
4601
4602Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4603
4604 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4605 gdb.base/default.exp: Replace "exec" with "executable".
4606
4607Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4608
4609 * gdb.base/default.exp: Change else if to elseif from previous
4610 delta.
4611
4612Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4613
4614 * gdb.base/default.exp: Add brace missing from previous delta.
4615
4616Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4617
4618 * gdb.base/default.exp: Support test for info float for all
4619 varieties of arm toolchain.
4620
dc96c6c7 4621Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4622
4623 * gdb.trace/*.exp: remove "remote_download" command.
4624
dc96c6c7 4625Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4626
4627 * gdb.trace/*.exp: remove -gdwarf from compile.
4628
4629Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4630
4631 * gdb.trace/configure.in(AC_INIT): typo
4632 * gdb.trace/configure: regenerated
4633
dc96c6c7 4634Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4635
4636 * config/m68k-emc.exp: New file.
4637 * lib/<emc-support.exp trace-support.exp}: New files.
4638 * configure.in: add new test directory gdb.trace.
4639 * gdb.trace/{configure configure.in Makefile.in}: New files.
4640 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4641 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4642 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4643 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4644 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4645 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4646 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4647
dc96c6c7 4648Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4649
4650 * gdb.c++/classes.exp: Change all regular expressions to match
4651 arbitrary combinations of newline/carriage-return, so that they
4652 will work equally well on Unix and Windows.
4653 * gdb.c++/inherit.exp: ditto.
4654 * gdb.c++/virtfunc.exp: ditto.
4655
46561998-08-11 Dawn Perchik <dawn@cygnus.com>
4657
4658 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4659
c2d11a7d
JM
4660Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4661
4662 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4663 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4664 to use a0-a3/d0-d3 as needed.
4665
4666Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4667
4668 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4669 * gdb.disasm/am33.exp: Corresponding changes.
4670
c906108c
SS
46711998-07-11 Felix Lee <flee@cygnus.com>
4672
4673 * gdb.base/callfuncs.exp: add cmp10 test.
4674 * gdb.base/callfuncs.c (cmp10): new function.
4675
4676Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4677
beb998c6 4678 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4679 into two parts to get around a synchronization problem in expect.
4680
3fc11d3e
JM
4681Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4682
4683 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4684
4685 * configure.in: Add options for gdbtk testsuite.
4686
4687 * configure: Regenerate.
4688
4689 * gdb.gdbtk: New directory to hold gdbtk tests.
4690
c906108c
SS
4691Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4692
4693 * gdb.fortran/types.exp: Escape brackets in expect patterns
4694 for test_float_literal_types_accepted tests.
4695 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4696 before run test.
4697
c2d11a7d
JM
4698Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4699
4700 * am33.exp: Just compile, do not link the testcase.
4701 * am33.s: Add ".am33" pseudoop to force am33 mode.
4702
c906108c
SS
47031998-06-25 Felix Lee <flee@cygnus.com>
4704
4705 * gdb.base/setshow.exp: make sure $pc is sane.
4706
4707 * gdb.stabs/weird.exp: split expect patterns properly.
4708
c2d11a7d
JM
4709Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4710
4711 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4712 * gdb.disasm/am33.exp: Run it.
4713
dc96c6c7 4714Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4715
4716 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4717 match processing (and eliminate spurious timeouts when running).
4718
dc96c6c7 4719Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4720
4721 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4722 exception test, but conditionalize it on target [mach | gnu].
4723
dc96c6c7 4724Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4725
4726 * gdb.base/overlays.exp: fixup compile line for linker script.
4727
4728Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4729
4730 * gdb.fortran/types.exp: don't guess at float size.
4731
4732Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4733
4734 * gdb.base/exprs.exp: delete test that depends on int size.
4735
4736Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4737
4738 * config/sim.exp: Removed checks for target triplets.
4739 (gdb_target_sim): Use gdb,target_sim_options.
4740
4741Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4742
4743 * gdb.base/reread.exp: New file.
4744 * gdb.base/reread1.c: New file.
4745 * gdb.base/reread2.c: New file.
4746
4747Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4748
4749 * config/sim.exp: Use 'target sim -sparclite' when running
4750 SPARClite programs.
4751
4752Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4753
4754 * gdb.base/structs2.exp: New file.
4755 * gdb.base/structs2.c: New file.
4756
4757Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4758
4759 * gdb.asm/common.inc: New file.
4760 * gdb.asm/d10v.inc: New file.
4761 * asm-source.exp: Pass -I's to gas to find .inc files.
4762 Update line numbers in expected output.
4763 * asmsrc1.s: Rewrite.
4764 * asmsrc2.s: Rewrite.
4765 * configure.in: Create arch.inc symlink.
4766 * configure: Regenerate.
4767 * Makefile.in (distclean): Delete arch.inc.
4768
4769Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4770
4771 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4772 (t_enum_value2): ditto
4773 (t_enum_value3): ditto
4774 (main): ditto
4775Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4776
4777 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4778 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4779 change.
4780 Use gdb_test instead of send_gdb/gdb_expect sequences.
4781
4782Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4783
4784 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4785 not void.
4786
4787Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4788
4789 * gdb.base/branches.c: Code with lots of loops and
4790 subroutines. Used to test gdbs ability to single step through PC
4791 changes, especially to test mips-tdep.c:mips_next_pc
4792
4793Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4794
4795 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4796 more rigorous EGCS C++ error checking.
4797
4798Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4799
4800 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4801 tests.
c906108c 4802 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4803 function when asleep.
c906108c 4804 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
4805 for i*86 Linux and SVR4 signal handling problems.
4806 Remove linux xfail for `next to handler in signals_tests_1', fixed
4807 by recent infrun.c change.
c906108c 4808 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 4809 stack backtraces.
c906108c
SS
4810 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4811 target.[ch] change.
4812
4813Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4814
4815 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4816 for a newline from gdb before continuing.
4817 (default_gdb_exit): Just look for y or n.
4818 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4819 it does, fail the rests of the tests in the file.
4820
4821Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4822
4823 * config/cygmon.exp: New file.
4824
4825Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4826
4827 * gdb.base/list.exp: Fix problem with "list default lines around
4828 main" test on remote targets.
4829
4830 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4831 run test on remote targets.
4832
4833Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4834
4835 * gdb.asm: New directory.
4836 * configure.in: Configure it.
4837 * configure: Regenerate.
4838 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4839 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4840
4841Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4842
4843 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4844
dc96c6c7 4845Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4846
c906108c
SS
4847 * gdb.base/overlays (several files): Merge the two overlay
4848 managers into one. Change variables (foox, barx, bazx, grbxx)
4849 back into ints but force them to load in their proper sections.
4850
4851Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4852
4853 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4854 on-chip insn memory and IMAP1 to upper 128k.
4855 (D10VCopy): Handle memory regions crossing 16k boundaries.
4856 (D10VCopy): Transfer data in 32 bit chunks.
4857
4858Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
4859
4860 * gdb.base/overlays.c (main): Exit normally when result is
4861 correct.
4862
4863 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
4864 map. Include space for printf in .text segment.
4865
4866 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
4867 updated d10v memory VMA/LMA map.
4868 (D10VCopy): Call D10VTranslate.
beb998c6 4869
c906108c
SS
4870Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
4871
4872 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
4873
4874 * gdb.base/bar.c (barx, bar): Change variable to small array so
4875 that it won't be put into the .sdata - small data -
4876 section. Update reference.
4877 * gdb.base/baz.c (bazx, baz): Ditto.
4878 * gdb.base/foo.c (foox, foo): Ditto.
4879 * gdb.base/grbx.c (grbxx, grbx): Ditto.
4880
4881 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
4882 to be arrays.
beb998c6 4883
dc96c6c7 4884Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4885
c906108c
SS
4886 * gdb.base/overlays.exp: fix up and get working again.
4887 Add tests for backtraces from an overlay function.
beb998c6 4888
c906108c
SS
4889Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
4890
4891 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
4892 "calling function with watchpoint enabled".
4893
4894Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
4895
4896 * gdb.base/break.exp (test_next_with_recursion): Remove
4897 gdb_suppress_tests for d10v-*-*.
4898 * lib/gdb.exp (gdb_suppress_tests): Disable this function
4899 pending review of whether it is useful or not.
4900
4901Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
4902
4903 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
4904
4905Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
4906
4907 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
4908 * config/dve.exp: New file to support Densan boards.
4909
4910Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
4911
4912 * gdb.base/interrupt.exp: Document problem of simulators, signals,
4913 reads and BSD.
4914
4915Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
4916
4917 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
4918 response.
4919
4920 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
4921
4922Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
4923
4924 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
4925 test.
4926
4927 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
4928 target_sizeof_long and target_bigendian_p.
4929 (structs_by_value, structs_by_reference): Check values according
4930 to targets word size and endianess.
beb998c6 4931
c906108c
SS
4932Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
4933
4934 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
4935 output.
4936
4937Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
4938
4939 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
4940 Update test of set args help to match source change.
4941
4942Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
4943
4944 * gdb.base/default.exp: Expect help system output to be in
4945 alphabetical order.
4946 * gdb.base/help.exp: Ditto.
4947
4948Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
4949
4950 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
4951 "i*86-pc-linux-gnu*".
4952 * gdb.base/interrupt.exp: Ditto.
4953 * gdb.base/corefile.exp: Ditto.
4954
4955 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
4956 define vxworks when building the testcase.
4957
4958 * gdb.base/ptype.exp: Fix testnames to be unique.
4959 * gdb.base/radix.exp: Ditto.
4960 * gdb.base/term.exp: Ditto.
4961 * gdb.base/whatis.exp: Ditto.
4962 * gdb.c++/classes.exp: Ditto.
4963
4964Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
4965
4966 * gdb.base/callfuncs.exp: Fix indentation.
4967
4968 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
4969 suppress_flag has been set.
4970 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
4971 target feature.
4972
4973Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
4974
4975 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
4976 the testcase.
4977
4978 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
4979 set_debug_traps() and breakpoint().
4980 * gdb.c++/misc.cc (main): Ditto.
4981 * gdb.c++/templates.cc (main): Ditto.
4982 * gdb.c++/virtfunc.cc (main): Ditto.
4983
4984Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
4985
4986 * lib/gdb.exp(gdb_step_for_stub): New function.
4987 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
4988 exists, reload the executable and do a "continue" instead of
4989 doing a jump.
4990 (runto_main): Use gdb_step_for_stub.
beb998c6 4991
c906108c
SS
4992 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
4993 tests to have unique names.
4994 * gdb.base/callfuncs.exp: Ditto.
4995 * gdb.base/commands.exp: Ditto.
4996 * gdb.base/default.exp: Ditto.
4997 * gdb.base/help.exp: Ditto.
4998 * gdb.base/list.exp: Ditto.
4999 * gdb.base/opaque.exp: Ditto.
5000 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5001 similar tests.
beb998c6 5002
c906108c
SS
5003 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5004 * gdb.c++/cplusfuncs.cc: Ditto.
5005 * gdb.c++/virtfunc.cc: Ditto.
5006
5007 * config/monitor.exp: Keep track of the last file we saw, rather
5008 than trying to get the info from gdb.
5009
5010 * gdb.fortran/types.exp: Move comment to previous line.
5011
5012Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5013
5014 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5015 target mode.
5016
5017Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5018
5019 From Bob Manson:
5020 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5021 string from GDB when it connects.
5022
5023 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5024
5025Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5026
5027 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5028 if we can't get a debug format from GDB (we may be testing an
5029 older GDB). Use a 10 second timeout when checking for the format.
5030
5031 * gdb.stabs/weird.exp: Fix quoting.
5032
5033 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5034
5035Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5036
5037 * config/arm-ice.exp: New file.
5038
5039Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5040
5041 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5042 until it has been modified to work with the new testsuite.
5043
99707966 5044 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5045 testcase won't compile, cause all of the testcases in the file to
5046 fail instead.
5047
5048 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5049 (gdb_clear_suppressed): New procedure.
5050 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5051 it contains a positive value.
5052
5053Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5054
5055 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5056
5057 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5058
5059Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5060
5061 * lib/gdb.exp (setup_xfail_format): New function.
5062 (get_debug_format): New function to get debug format.
5063 (debug_format): New global variable to hold last value set
5064 by get_debug_format.
5065 * gdb.base/list.exp: Call get_debug_format and expect some
5066 tests to fail for DWARF 1 and COFF formats.
5067 * gdb.c++/ptype.exp: Ditto.
5068 * gdb.c++/classes.exp: Ditto.
5069 * gdb.c++/cplusfuncs.exp: Ditto.
5070 * gdb.c++/inherit.exp: Ditto.
5071 * gdb.c++/templates.exp: Ditto.
5072 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5073
c906108c
SS
5074Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5075
5076 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5077 host doesn't have a currently-open connection.
5078
5079 * config/sparclet.exp: Cleanups and fixes to make it generic for
5080 any gdb stub target. Handle cases where gdb doesn't respond when
5081 interrupted in a sane fashion.
5082
5083 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5084 same thing in a totally different way.
5085
5086 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5087 setting "timeout".
5088 (gdb_start): We set the global gdb_prompt variable in
5089 default_gdb_init now.
5090
5091Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5092
5093 * gdb.base/printcmds.exp: Fix "check for floating addition"
5094 regexp to accept results within approx +/- .01 of exact value.
5095 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5096
5097Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5098
5099 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5100 properly.
5101 (gdb_expect): Add optional timeout parameter, and add timeout
5102 value to various calls.
5103 (gdb_suppress_tests): Only give one warning message per group.
5104
5105Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5106
5107 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5108 global variables. Handle getting a value for $timeout more
5109 gracefully.
5110
5111Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5112
5113 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5114 initialize.
5115 (default_gdb_init): New procedure; allow gdb_init to be overridden
5116 by a target configuration file.
5117 (gdb_expect): Pass the timeout to remote_expect.
5118
5119 * config/monitor.exp(gdb_load): Fix typo in regexp.
5120
5121Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5122
5123 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5124
5125Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5126
5127 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5128 here. Call gdb_target_exec before rebooting the target, to make
5129 sure the connection to the target is closed.
5130 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5131 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5132 Also detect "Timeout reading from remote" error.
5133
5134 * config/gdbserver.exp: Pass the executable being loaded to
5135 gdb_target_monitor. Don't call gdb_file_cmd here; let
5136 gdb_target_monitor do it.
5137
5138 * gdb.disasm/hppa.exp: Don't use exec_output.
5139
5140Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5141
5142 * gdb.base/list.exp: If we're debugging a non-native target,
5143 try to set the pc register to point to the start of the
5144 program before doing the first list command.
5145
5146 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5147 test_calls after restarting.
5148
5149 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5150 reloading.
5151
5152 * gdb.base/watchpoint.exp: Fix typo.
5153
5154 * gdb.base/setshow.exp: Check for use_gdb_stub.
5155
5156 * gdb.base/break.exp: Fix continue until exit test for the gdb
5157 stub case.
5158 * gdb.base/langs.exp: Ditto.
5159
5160 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5161 gdb_load_offset. If we weren't given a file to load, figure out
5162 what the current file is and use it.
5163
5164 * config/i386-bozo.exp: New file.
5165
5166Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5167
5168 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5169 feature.
5170
5171 * config/proelf.exp: New entry.
5172
5173Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5174
5175 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5176 of regexps.
5177
5178 * gdb.base/watchpoint.exp: Don't run the test_stepping
5179 tests if gdb can't call functions on the target.
5180
5181 * gdb.base/setshow.exp: Don't run the set prompt tests if
5182 the board has gdb_prompt set.
5183
5184Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5185
5186 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5187 * gdb.base/commands.exp: Likewise.
5188 * gdb.base/setshow.exp: Likewise.
5189
5190Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5191
5192 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5193 feature.
5194
5195 * config/i960.exp: New file.
5196
5197Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5198
5199 * gdb.base/funcargs.exp: Check for gdb,short_int target
5200 feature instead of looking for explicit target triplets.
5201
dc96c6c7 5202Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5203
beb998c6 5204 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5205 "p 123DEADBEEF", to check parse_number.
5206 * top.c: change "to enable to enable" to "to enable" in a couple
5207 of help strings.
5208
5209Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5210
5211 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5212 on the mn10300.
beb998c6 5213
c906108c
SS
5214Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5215
5216 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5217 where the test executable is run with explicit args.
5218 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5219
5220Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5221
5222 * gdb.base/run.c: Use FAKEARGV to build test executable that
5223 does not require a command line arg, since most simulators
5224 don't currently support passing such an arg into the simulated
5225 program.
5226 * gdb.base/commands.exp: Change tests to insert the proper
5227 value as the arg to the first recursive factorial call. Change
5228 compilation line to define FAKEARGV at compile time.
5229
5230Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5231
5232 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5233 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5234 function with watchpoint enabled" test.
5235
5236Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5237
5238 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5239 Don't call gdb_test when the command doesn't return to a gdb prompt.
5240
5241 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5242 "Tests restarted" messages.
5243
5244Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5245
5246 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5247
dc96c6c7 5248Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5249
5250 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5251 for INFO SYMBOL; add help tests for OVERLAY commands.
5252 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5253 add tests for OVERLAY commands
5254 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5255 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5256 * gdb.base/sigall.c: add usestubs code frag
5257 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5258
c906108c
SS
5259Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5260
5261 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5262 failures.
5263 (gdb_stop_suppressing_tests): Note that tests have restarted.
5264
5265Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5266
5267 * config/h8300.exp: New file.
5268
5269Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5270
5271 * gdb.base/setshow.exp: Check for the existence of a
5272 feature, not its value.
5273
5274Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5275
5276 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5277
5278 * gdb.base/scope.exp: It's now init0(), not init().
5279
5280 * gdb.base/scope0.c: For now, change init() to be init0().
5281
5282 * config/monitor.exp: Use gdb_serial in preference to serial
5283 or netport.
5284
5285 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5286 and it's not already set.
5287
5288Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5289
5290 * gdb.base/setshow.exp: Only test the run command if the target
5291 isn't using a stub and if it supports argument passing.
5292
5293Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5294
5295 * config/udi.exp(gdb_start): Make sure UDICONF is set
5296 properly before starting gdb.
5297
5298Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5299
5300 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5301 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5302 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5303
5304Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5305
5306 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5307 specialized code to reboot the board, use remote_reboot instead.
5308
5309 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5310
5311 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5312
5313 * config/monitor.exp: Make sure we disconnect from the target.
5314 Also, try a reboot/reload cycle instead of failing if the
5315 load fails.
5316
5317Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5318
5319 * gdb.base/default.exp: Don't set match_max.
5320 * gdb.base/help.exp: Ditto.
5321 * gdb.base/list.exp: Ditto.
5322 * gdb.base/signals.exp: Ditto.
5323
5324 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5325 set, use remote_ld to download the testcase instead of
5326 the GDB loader.
5327
5328Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5329
5330 * config/vr5000.exp: New file.
5331
5332 * config/monitor.exp(gdb_target_monitor): Add pattern for
5333 "Ending remote" to detect errors in connecting.
5334
5335 * gdb.base/setshow.exp: Add .* within auto language test.
5336
5337 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5338 target feature.
5339
5340 * config/monitor.exp(gdb_load): Check for a failure when loading,
5341 and reboot the board if necessary.
5342
5343 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5344 a set of tests. Remove print.* from the patterns being checked.
5345
5346Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5347
5348 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5349 refer to gdb_spawn_id.
5350
5351 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5352 longer used.
5353 * config/sparclet.exp: Ditto.
5354 * config/sparclet-old.exp: Ditto.
5355 * config/slite.exp: Ditto.
5356 * config/sim.exp: Ditto.
5357 * gdb.base/funcargs.exp: Ditto.
5358
5359 * lib/gdb.exp:Remove references to gdb_spawn_id.
5360 (gdb_expect): Move to remote.exp.
5361
5362Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5363
5364 * config/monitor.exp: Detect the "Couldn't establish connection"
5365 message from GDB.
5366
5367Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5368
5369 * gdb.base/bitfields.exp: Use runto instead of explicit
5370 gdb_run_cmd/gdb_expect sequences.
5371
5372 * gdb.base/break.exp(text_next_with_recursion): Add match for
5373 gdb_expect call.
5374
5375 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5376 We also need to handle the "A program is being debugged already"
5377 prompt from gdb. Use gdb_test to set the baud rate.
5378
5379 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5380 to 20000. Really. I mean it.
5381
5382Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5383
5384 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5385 fails. If suppress_flag is set, skip perror message about not
5386 being able to send to GDB.
5387 (send_gdb): If suppress_flag is set, don't try to send commands to
5388 GDB.
5389 (gdb_expect): If suppress_flag is set, always fail immediately.
5390 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5391 (gdb_init): Call gdb_stop_suppressing_tests.
5392 (default_gdb_exit): Ditto.
5393 (default_gdb_start): Ditto.
5394
5395 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5396 gdb_stop_suppressing_tests as appropriate.
5397 * gdb.base/break.exp: Ditto.
5398 * gdb.base/callfuncs.exp: Ditto.
5399 * gdb.base/commands.exp: Ditto.
5400 * gdb.base/exprs.exp: Ditto.
5401 * gdb.base/funcargs.exp: Ditto.
5402 * gdb.base/list.exp: Ditto.
5403 * gdb.base/recurse.exp: Ditto.
5404 * gdb.base/scope.exp: Ditto.
5405 * gdb.base/structs.exp: Ditto.
5406 * gdb.c++/inherit.exp: Ditto.
5407
5408Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5409
5410 * config/vr4300.exp: New file.
5411
99707966
MC
5412 * gdb.*/*.exp: Call gdb_expect instead of expect.
5413
5414 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5415
5416Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5417
5418 * lib/gdb.exp(gdb_init): New function.
5419
5420 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5421 for each individual variable set.
5422
5423 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5424 name.
5425
5426 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5427
5428 * gdb.base/scope.exp: Use gdb_test.
5429
5430 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5431 aborting; the testsuite driver will do that for us (see
5432 gdb_finish). Also, use gdb_test in a few more places.
5433
5434Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5435
5436 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5437
5438Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5439
5440 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5441 and "add_tests" are not at the same address.
5442
5443Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5444
5445 * gdb.base/ptype.exp: Use gdb_test.
5446
5447Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5448
5449 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5450 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5451 left in. No longer expect them to fail.
5452
5453 * gdb.stabs/*.mt; Deleted, no longer used.
5454 * gdb.stabs/configure.in: Remove references to target makefile
5455 frags.
5456 * gdb.stabs/configure: Rebuilt.
5457
5458 * gdb.disasm/*.mt: Deleted, no longer used.
5459 * gdb.disasm/configure.in: Remove references to target makefile
5460 frags. Use "sh3.s" as the unique filename for this directory.
5461 * gdb.disasm/configure: Rebuilt.
5462
5463 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5464 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5465 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5466
5467Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5468
5469 * config/udi.exp: Use mondfe,name instead of remote_host.
5470
5471Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5472
5473 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5474 a function with a watchpoint enabled on the mn10200.
5475
5476 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5477 before trying to create it!
5478
5479Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5480
5481 * config/vx.exp: Use hostname instead of netport.
5482
5483 * config/vxworks.exp: New file.
5484
5485 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5486
5487 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5488 gdb before assuming everything worked. Send a ^C if a timeout
5489 occurs.
5490
5491 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5492 $gdb_spawn_id directly.
5493 (gdb_run_cmd): Try _start as well as start. Use the target feature
5494 gdb,start_symbol as the symbol to start from when jumping.
5495
5496Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5497
5498 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5499 redundant) test.
5500
5501 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5502 it doesn't lose for 16bit integer systems.
5503
5504Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5505
5506 * gdb.fortran/types.exp: If the target doesn't support "double"
5507 data types, then expect "real" types to only be 4 bytes.
5508
5509 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5510 call tests if the target doesn't support inferior function calls.
5511
5512 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5513 in printf tests.
5514
5515Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5516
5517 * gdb.base/help.exp: Disable "help set", "help show", and
5518 "help support". Simplify regexp for "help stack".
5519
5520 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5521 to 60 seconds. Temporarily set match_max to 15000 around the
5522 "info copying" test.
5523
5524 * gdb.base/nodebug.exp: Don't try to do an inferior function
5525 call if the target doesn't support them.
5526 * gdb.base/printcmds.exp: Likewise.
5527 * gdb.base/setvar.exp: Likewise.
5528 * gdb.base/structs.exp: Likewise.
5529 * gdb.c++/templates.exp: Likewise.
5530 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5531
5532 * gdb.base/recurse.exp: Enable for the mn10200.
5533
5534 * configure.in: Do configure gdb.stabs directory for *-*-elf
5535 targets.
5536 * configure: Rebuilt.
5537
5538 * gdb.base/break.exp: Check for gdb,noresults before testing
5539 exit status and/or results from the target.
5540 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5541 * lib/gdb.exp: Remove old (now bogus) initialization of
5542 noinferior, noargs, noresults and nosignals.
5543
5544Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5545
5546 * config/sh.exp: New file.
5547
5548 * config/slite.exp: Try to connect multiple times to the board
5549 before rebooting. Only send a "monitor run" if need_monitor_run
5550 is set.
5551
5552 * gdb.base/break.exp: Don't do the "stub continue" test if
5553 the target has gdb_stub set.
5554
5555 * gdb.base/callfuncs.exp: Increase the timeout.
5556
5557 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5558 if the target has gdb,noinferiorio set.
5559
5560 * gdb.base/list.exp: Increase match_max to 10000 characters.
5561
5562 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5563
5564 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5565 target.
5566
5567 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5568
5569Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5570
5571 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5572 trying to delete the copy of gdb. Catch the file delete so we
5573 don't die if the delete fails; also, the file should be copied to
5574 the host, not to the build.
5575
5576Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5577
5578 * lib/gdb.exp(gdb_test): Surround the result pattern with
5579 parenthesis in case it contains multiple regexps separated
5580 with |.
5581
5582 * gdb.base/watchpoint.exp: Use gdb_test.
5583 * gdb.base/default.exp: Ditto.
5584
5585Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5586
99707966 5587 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5588
c906108c
SS
5589 * gdb.base/scope.exp: Use gdb_test.
5590 * gdb.c++/classes.exp: Ditto.
5591 * gdb.c++/inherit.exp: Ditto.
5592
5593Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5594
5595 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5596 remote_exec instead.
5597 * gdb.base/corefile.exp: Don't be ridiculous.
5598 * gdb.base/*.c: Add missing stub invocations.
5599
5600Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5601
5602 * config/slite.exp: Miscellaneous fixes.
5603
5604 * lib/gdb.exp: Fix runto.
5605
5606 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5607 the target.
5608
5609 * gdb.base/watchpoint.exp: Fix regexp.
5610
5611 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5612 close and wait commands, as the descriptor may now be
5613 invalid. Always call "remote_close host".
5614
5615Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5616
5617 Major rewrite for testsuite revision.
beb998c6 5618
c906108c
SS
5619 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5620 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5621 instead of relying on spawn_id to always contain a valid
5622 spawn id.
5623 (get_compiler_info): New procedure to build the ${binfile}.ci
5624 file, instead of replicating this in N different places.
5625 (gdb_compile): New procedure.
beb998c6 5626
c906108c
SS
5627 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5628 appropriate arguments) instead of compile. Use gdb_test in a lot
5629 more places. Use send_gdb instead of send. Always run gdb_start
5630 at the start of a testcase, as this is no longer done magically.
5631
5632 config/*-gdb.exp: Rename without the -gdb suffix.
5633
5634 config/mips.exp: Use remote_close instead of exit_remote_shell.
5635 config/monitor.exp: Use target_info instead of looking at
5636 baud, timeout, etc.
5637 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5638
5639Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5640
5641 * gdb.c++/templates.exp (test_ptype_of_templates),
5642 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5643 Update expect patterns for destructors and assignment operators
5644 to match corresponding c-typeprint.c changes.
5645 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5646 to destructor breakpoint test, GDB should be able to set the
5647 destructor breakpoint without specifying arguments.
5648
5649Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5650
5651 * gdb.threads/pthreads.exp: Change result for failure to compile due
5652 to lack of pthreads runtime support from an error to simply an
5653 unsupported test, per dejagnu standards.
5654
5655Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5656
5657 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5658 where GDB exits to reduce pattern match time.
5659 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5660
5661 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5662
dc96c6c7 5663Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5664
5665 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5666 * gdb.base/default.exp: ditto.
5667 * gdb.base/nodebug.exp: ditto.
5668 * gdb.base/printcmds.exp: ditto.
5669 * gdb.base/ptype.exp: ditto.
5670 * gdb.base/setvar.exp: ditto.
5671 * gdb.base/structs.exp: ditto.
5672 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5673
5674Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5675
5676 * configure, */configure: Rebuild with autoconf 2.12.
5677
5678Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5679
5680 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5681 use new i*86-pc-linux*-gnu quads.
5682 * gdb.base/corefile.exp: Ditto.
5683 * gdb.base/signals.exp: Ditto.
5684 * gdb.base/sigall.exp: Ditto.
5685 * gdb.base/interrupt.exp: Ditto.
5686
5687 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5688 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5689 RedHat 4.0.
beb998c6 5690
c906108c
SS
5691 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5692 linux. This allows the test case to at least compile on latest
5693 linux, but still not run due to missing the threads runtime library.
5694
5695Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5696
5697 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5698 directory to search gdb directory. Accept and step over conditional
5699 stack alignment code. Consume $prompt in failure cases.
5700 Reset timeout to $oldtimeout instead of some arbitrary value.
5701 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5702 timeout problems with infinite stack backtraces.
5703 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5704 Accept function parameters for linkfunc member.
5705
5706Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5707
5708 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5709 (CXXFLAGS): Remove, unreferenced.
5710 (B_OPTIONS): Add for -B options and add code to initialize with
5711 previous -B options and also add -B option to pick up cross compiled
5712 runtime.
5713 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5714 doing cross compiles.
5715 (target_alias): Declare global.
5716 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5717 to verify that gcc exists in build tree, and if so set CC to that
5718 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5719
c906108c
SS
5720Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5721
5722 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5723 ptype test for anonymous union. Fixup testcase to match
5724 current gcc debug output.
5725
5726Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5727
5728 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5729 force argument to an unsigned long type.
5730
5731Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5732
5733 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5734 tests and anonymous union print/ptype tests.
5735 * gdb.base/list.exp (test_forward-search): Increase timeout by
5736 5 minutes for the "search extremely long line" case.
5737 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5738 completely optional and that the pass/fail messages use the command as
5739 the message if that third arg is a null string.
5740 (gdb_test_exact): Arrange that a null string pattern means match a
5741 null string output rather than any output, which might include random
5742 errors.
5743 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5744 backtrace test.
5745 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5746 always failing and failure is now exposed by gdb.exp changes.
5747
5748Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5749
5750 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5751 weren't being noted.
5752
5753Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5754
5755 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5756 * gdb.stabs/weird.exp: Remove v_comb xfails.
5757
dc96c6c7 5758Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5759
5760 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5761 list.exp scope.exp watchpoint.exp]
5762 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5763
dc96c6c7 5764Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5765
5766 * config/monitor.exp: Increase download timeout to 1000 seconds.
5767
dc96c6c7 5768Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5769
5770 * config/m32r.exp: Increase timeout to 120 seconds.
5771
5772Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5773
5774 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5775 and accept older ordering as obsolescent gcc or gdb.
5776 * gdb.c++/templates.exp: Ditto.
5777 * gdb.c++/virtfunc.exp: Ditto.
5778
5779Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5780
5781 * gdb.base/coremaker.c: Add code to mmap some data so we
5782 can check that it ends up in the core file.
5783 * gdb.base/corefile.exp: Add test to read mmapped data
5784 from core file.
5785
dc96c6c7 5786Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5787
5788 * config/m32r.exp: New file.
5789
5790Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5791
5792 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5793 that cflags can contains -gstabs, and work correctly for other tests.
5794
dc96c6c7 5795Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5796
5797 * gdb.base/setshow.exp: New file, tests show and set.
5798 * gdb.base/setshow.c: New file, tests show and set.
5799 * gdb.base/help.exp: Add test for help set|show annotate.
5800 * gdb.base/default.exp: Add test for set|show annotate.
5801
5802Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5803
5804 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5805 errors unique.
5806 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5807 explicitly.
5808
5809Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5810
5811 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5812 and width commands. This is done elsewhere.
5813 * (gdb_start): Don't call gdb_start_sim here. That's already
5814 done in gdb_load. This fixes lots of failures in default.exp.
5815
5816Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5817
5818 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5819 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5820 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5821 in the same we we treat other failures (since it may be an expected
5822 condition), rather than as an error.
5823 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5824 old test format.
5825
5826Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5827
5828 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5829 (distclean maintainer-clean realclean): No need to remove files
5830 twice. Nuke the duplicates.
5831 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5832 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5833 Remove config.h along with other config files.
5834
5835Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5836
5837 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5838 "p func1 ()" and note that rests of tests are skipped.
5839 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5840 setup_xfails for "print func2::coremaker_local".
5841 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5842 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5843 affected by the previous run test.
5844 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5845 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5846 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5847 "pass int powerset tuple" and "pass modeless int powerset tuple".
5848 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5849 "real write 4" and "real write 8".
5850 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5851 setup_xfails for "print vs1 after tuple assign 2",
5852 "print \$i after tuple assign 2", and
5853 "print vs2 after tuple assign 2".
5854 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
5855 meaningful error message and return -1 so the caller can
5856 suppress further tests and avoid a cascade of errors.
beb998c6 5857
c906108c
SS
5858Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
5859
5860 * gdb.base/a1-selftest.exp: Tweak tests to account for new
5861 format for printing version.
5862 * gdb.base/default.exp: Ditto.
5863 * gdb.base/interrupt.exp: Fix problem with cascade of
5864 errors if child process dies while calling a function.
beb998c6 5865
c906108c
SS
5866Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
5867
5868 * Makefile.in (VPATH): Add
5869 * Makefile.in (Makefile, config.status): Fix rules so things get
5870 remade when necessary.
5871
5872Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
5873
5874 * Makefile.in (just-check): Add path to sibling expect dir
5875 to environment variable specified by RPATH_ENVVAR.
5876
5877Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
5878
5879 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
5880 (just-check): Add shared library paths for libstdc++, tk,
5881 tcl, bfd, and opcodes to the environment variable specified
5882 in RPATH_ENVVAR.
5883 * configure.in: Add support to recognize --enable-shared flag
5884 and generate correct value for RPATH_ENVVAR.
5885 * configure: Regenerated with autoconf.
5886
5887Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
5888
5889 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
5890 include all osf versions.
5891 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
5892 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
5893 when target is linux. When failing to build pthreads test
5894 executable, give more meaningful message.
5895 * gdb.threads/pthreads.c: Hpux also uses old definition of second
5896 arg for pthread_create.
beb998c6 5897
c906108c
SS
5898Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
5899
5900 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
5901 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
5902 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
5903 and -lpthreads (everybody else).
5904 (test_startup): Fail gracefully if threads are not supported.
5905 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
5906 "p/c array_index("abcdef",2)" when not gcc compiled.
5907 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
5908 "print func2::coremaker_local" when not gcc compiled.
5909 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
5910 "ptype on opaque struct tagname (statically)",
5911 "ptype on opaque struct tagname (dynamically) 1", and
5912 "ptype on opaque struct tagname (dynamically) 2"
5913 for not compiled with gcc.
5914 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
5915 backtrace when compiled with gcc.
beb998c6 5916 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
5917 than always return success.
5918
5919Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
5920
5921 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
5922
5923Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
5924
5925 * gdb.base/structs.exp: Undo last change.
5926
5927Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
5928
5929 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
5930 encapsulate all the steps/nexts done during self test, starting
5931 at main, and makes them less sensitive to optimization issues.
5932 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
5933 signal handler" test.
5934 * gdb.threads/pthreads.exp: Only run this for native configs.
5935 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
5936 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
5937 tests.
5938 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
5939 for "runto test_calls(void)" test.
beb998c6 5940
c906108c
SS
5941Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
5942
5943 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
5944 and don't expect address info in breakpoint confirmations.
5945
5946Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
5947
5948 * gdb.base/list.exp (test_forward_search): Increase timeout
5949 temporarily by 60 seconds for searching extremely long line,
5950 and then reset to old value when done. Increase expect input
5951 buffer to 10000.
5952
5953Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
5954
5955 * gdb.base/list.exp (test_forward_search): Fix to handle very
5956 long source line without overflowing expect's input buffer.
5957
5958Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
5959
5960 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
5961 "buffer_full".
5962
5963 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
5964 "buffer_full".
5965
5966 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
5967 "buffer_full".
5968
5969 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
5970 "buffer_full".
5971
5972Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
5973
5974 * configure.in (configdirs): Add gdb.threads.
5975 * configure: Regenerated with autoconf.
5976 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
5977 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
5978 * gdb.threads/configure: New, generated with autoconf.
beb998c6 5979
c906108c
SS
5980Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
5981
5982 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
5983
5984Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
5985
5986 * gdb.base/signals.exp (test_handle_all_print): Test separately for
5987 each signal's status in the output of "handle all print".
5988 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
5989 the \r\n sequence that immediately precedes the gdb prompt.
5990 * gdb.base/a1-selftest.exp: Save original timeout and restore
5991 after test.
5992
5993Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
5994
5995 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
5996 symbol.
5997
5998Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5999
6000 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6001
6002Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6003
6004 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6005 timeout by 60 seconds.
6006
6007Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6008
6009 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6010 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6011 error return.
6012
6013Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6014
6015 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6016 gdb initialization, also report how long dejagnu waited. Restore
6017 old timeout before doing error return. Temporarily increase timeout
6018 by 3 minutes to allow for slow startups over heavy NFS use.
6019
6020Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6021
6022 * lib/gdb.exp: Report timeout value for verbosity level 2.
6023 * config/gdbserver.exp: Ditto.
6024 * config/hppro.exp: Ditto.
6025 * config/mips-gdb.exp: Ditto.
6026 * config/monitor.exp: Ditto.
6027 * config/netware.exp: Ditto.
6028 * config/sim-gdb.exp: Ditto.
6029 * config/slite-gdb.exp: Ditto.
6030 * config/udi-gdb.exp: Ditto.
6031 * config/unix-gdb.exp: Ditto.
6032 * config/vx-gdb.exp: Ditto.
6033 * gdb.base/a1-selftest.exp: Ditto.
6034 * gdb.base/a2-run.exp: Ditto.
6035 * gdb.base/break.exp: Ditto.
6036 * gdb.base/corefile.exp: Ditto.
6037 * gdb.base/list.exp: Ditto.
6038 * gdb.base/recurse.exp: Ditto.
6039 * gdb.base/scope.exp: Ditto.
6040 * gdb.base/signals.exp: Ditto.
6041
6042Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6043
6044 * gdb.threads/Makefile.in (docdir): Removed.
6045
6046Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6047
6048 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6049 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6050 @srcdir@.
beb998c6 6051 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6052 autoconf 2.5 or higher.
6053 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6054
6055Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6056
6057 * configure: Regenerated.
6058 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6059 avoid name clashes with SunOS headers.
6060
6061Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6062
6063 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6064
6065Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6066
6067 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6068 prototype information ends up in the compiler info file.
6069
6070Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6071
6072 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6073 attempting to regenerate it. Eliminate use of a temporary file
6074 and just generate the info file directly. Source it immediately,
6075 for consistency of use.
6076 * gdb.base/corefile.exp: Ditto
6077 * gdb.base/exprs.exp: Ditto.
6078 * gdb.base/funcargs.exp: Ditto.
6079 * gdb.base/langs.exp: Ditto.
6080 * gdb.base/list.exp: Ditto.
6081 * gdb.base/mips_pro.exp: Ditto.
6082 * gdb.base/nodebug.exp: Ditto.
6083 * gdb.base/opaque.exp: Ditto.
6084 * gdb.base/ptype.exp: Ditto.
6085 * gdb.base/scope.exp: Ditto.
6086 * gdb.base/setvar.exp: Ditto.
6087 * gdb.base/signals.exp: Ditto.
6088 * gdb.base/whatis.exp: Ditto.
6089 * gdb.c++/templates.exp: Ditto.
6090 * gdb.c++/virtfunc.exp: Ditto.
6091 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6092 whether or not to add -lstdc++ to the compile command line args.
6093
6094Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6095
6096 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6097 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6098 Increase timeout, a lot of single stepping might be needed if the
6099 target has no hardware watchpoints.
6100
6101Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6102
6103 * gdb.base/break.exp: Ignore compiler warnings when compiling
6104 break.c.
6105 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6106 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6107 from remote-sim.
6108 * gdb.base/exprs.exp: Add h8300 xfails.
6109 * gdb.base/funcargs.exp: Likewise.
6110 * gdb.base/nodebug.exp: Likewise.
6111 * gdb.base/printcmds.exp: Likewise.
6112 * gdb.base/ptype.exp: Likewise.
6113 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6114 h8300 xfails.
beb998c6 6115 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6116 on the h8300.
6117 * gdb.base/funcargs.c: Explicitly make last constant argument to
6118 call_after_alloca_subr an unsigned long type.
6119 * gdb.base/return.c: Include stdio.h.
6120
6121Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6122
6123 * config/abug.exp: New file for the older Motorola Bug monitor
6124 that runs on the mvme13x series VME boards.
6125 * config/monitor.exp: Use the new config array for target settings
6126 if they exist.
6127
6128Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6129
6130 * sim-gdb.exp: Make the SH simulator allocate less space when
6131 it is targeted.
6132
6133Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6134
6135 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6136 test.
6137
6138Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6139
6140 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6141 "rs6000-*-*" for "list function in include file" when gcc compiled.
6142 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6143 for "p ctable1[120]".
6144 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6145 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6146 Remove setup_xfail for "rs6000-*-*" for
6147 "print 'scope0.c'::filelocal before run".
6148 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6149 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6150 since some compilers don't allow both options to be given
6151 on the same command line. Create object file and move it.
beb998c6 6152
c906108c
SS
6153Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6154
6155 * gdb.base/corefile.exp: Always regenerate the core file, since
6156 we always regenerate the coremaker program. Detect special case
6157 where registers cannot be read from core file.
beb998c6 6158
c906108c
SS
6159Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6160
6161 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6162 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6163 * gdb.c++/templates.exp: Only match on basename of file since
6164 some formats like xcoff don't encode directory information.
6165 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6166 and rs6000 AIX xcoff targets.
6167 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6168 * configure: Regenerate.
6169 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6170 here, rather than in distclean.
beb998c6 6171
c906108c
SS
6172Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6173
6174 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6175 defined, and use it to compile the test case with -O2. The
6176 native compilation still uses no optimization.
6177 * gdb.base/mips_pro.c: Remove inline assembly code since
6178 it is compiled PIC by default, which results in assembler
6179 warnings that make the testsuite think the compilation
6180 was unsuccessful.
6181
6182Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6183
6184 * gdb.c++/misc.exp: Add note to message for
6185 "print s.a for foo struct" that this is a known gcc 2.7.2
6186 and earlier bug.
6187
6188Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6189
6190 * gdb.base/break.exp: Fix pattern for matching "Delete all
6191 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6192 setup_xfail for deleting all breakpoints test. Fix various
6193 timeout messages to include "(timeout)".
6194 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6195 for "p t_float_values2(3.14159,float_val2)".
6196 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6197 for "continue to call2g" when gcc compiled.
6198 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6199 "up to foo in langs.exp", "show language at foo in langs.exp",
6200 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6201 and "show language at fsub in langs.exp".
6202 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6203 "list line 1 in include file", "list message for lines past EOF",
6204 "list function in include file", "list list0.h:foo", and
6205 "list filename:function; nonexistant function".
6206 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6207 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6208 and "ptype t_char_array" to be for native cc only.
beb998c6 6209
c906108c
SS
6210Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6211
beb998c6 6212 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6213 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6214 "print func2::coremaker_local", and "backtrace in corefile.exp".
6215
6216Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6217
6218 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6219 "bt in signals.exp". This problem only appears when running
6220 the testsuite, and then only intermittently.
6221
6222Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6223
6224 * gdb.base/return.exp (return_tests): Differentiate between
6225 two tests of continuing.
6226
6227Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6228
6229 * */Makefile.in (maintainer-clean): Remove config.log.
6230 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6231 * gdb.c++/Makefile.in (PROGS): Add inherit.
6232 (clean): Remove *.ci.
6233
6234Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6235
6236 * gdb.c++/misc.cc: Add test code from Mike Stump.
6237 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6238
6239Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6240
6241 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6242 to "alpha-*-osf2*" and add comment.
6243 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6244 setup_xfail for "step over execarg initialization" and
6245 "step over corearg initialization".
6246 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6247 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6248 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6249 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6250 "print func2::coremaker_local", and "backtrace in corefile.exp".
6251 * gdb.base/signals.exp: Build and source signals.ci.
6252 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6253 to be for gcc only.
6254 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6255
c906108c
SS
6256Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6257
6258 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6259 Feb 3 procfs.c change.
6260
6261Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6262
6263 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6264
6265Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6266
6267 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6268 from dejagnu's apparent default of 10 seconds, which gives random
6269 results when running the tests over NFS on moderately loaded systems.
6270 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6271
6272Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6273
6274 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6275 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6276 result reports.
6277
6278Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6279
6280 * configure.in (CY_AC_PATH_TCLH): Remove.
6281 * configure: Regenerate.
6282
6283Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6284
6285 * gdb.c++/Makefile.in (clean): Add missing '{'.
6286
6287Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6288
6289 * lib/gdb.exp: Provide a default value for noinferior.
6290
6291 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6292 Load libgloss.exp.
6293
6294Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6295
6296 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6297 the executable, not the .o to run the tests from.
6298
6299Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6300
6301 * gdb.base/break.exp: Don't test for program exit or exit status
6302 if $noresults if nonzero.
6303 * gdb.base/langs.exp: Likewise.
6304 * gdb.base/watchpoint.exp: Likewise.
6305
6306 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6307 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6308 trying to compile the testcase.
6309
6310Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6311
6312 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6313 * gdb.base/signals.exp (continue to handler): Likewise.
6314
6315Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6316
6317 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6318
6319 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6320
6321Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6322
6323 * gdb.base/corefile.exp: Recognize "not found" as failure
6324 when trying to determine if a core file was generated.
6325 If no core file was generate the first time, try again without
6326 the ulimit -c to work around braindamaged shells.
6327
6328Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6329
6330 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6331 [] tests with "test" and enclose string in quotes.
6332 * gdb.stabs/configure: Rebuild
beb998c6 6333
c906108c
SS
6334Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6335
6336 Changes in sync with expect:
6337 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6338 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6339 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6340 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6341 argument to AC_REQUIRE.
6342 * configure: Regenerated.
6343
6344Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6345
6346 * gdb.base/corefile.exp: When generating a core, discard any
6347 error messages about ulimit not found and the "core dumped"
6348 message from the shell that runs the coredumper.
6349
6350Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6351
6352 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6353
6354 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6355 which sed script to run. Expect failure for v_comb test
6356 on PA targets too.
beb998c6 6357
c906108c
SS
6358Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6359
6360 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6361 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6362
6363Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6364
6365 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6366 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6367 "sparc-sun-solaris*" xfails for "p v_comb".
6368 * lib/gdb.exp (default_gdb_start): Fix typo.
6369 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6370 messages to not include the full program name that caused
6371 the core dump since some systems (such as solaris) apparently
6372 truncate this path to about 80 characters.
6373 When generating a core file first try increasing the core file
6374 size limit to unlimited since some systems may default it to
6375 zero, and it is harmless to try it. Move the test for failing
6376 to generate a core file to where it will actually get executed.
6377 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6378 new gdb result from g++ debug info improvements and make old
6379 pattern obsolescent. Also account for size_t differences
6380 (may be int or long).
6381 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6382 initialization before function call is placed in the delay slot
6383 and thus appears to be skipped over by commands such as "next".
6384
6385Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6386
6387 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6388
6389Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6390
6391 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6392 input source file; fix code to compile test to deal with this
6393 convention.
6394 * gdb.c++/*.exp: Likewise.
6395
6396Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6397
6398 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6399 "bt in signals.exp".
6400
6401Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6402
6403 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6404 "step over execarg initialization" and
6405 "step over corearg initialization".
6406
6407Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6408
6409 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6410 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6411
6412Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6413
6414 From Rob Savoye (rob@poseidon.cygnus.com)
6415 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6416 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6417 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6418 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6419 configure.in}: Major reworking for autoconfig.
6420 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6421 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6422 New files.
6423 * config/unix-gdb.exp: Make GDB global.
6424 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6425 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6426 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6427 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6428 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6429 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6430 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6431 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6432 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6433 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6434 pr-8136.exp, result.exp, string.exp, tuples.exp},
6435 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6436 to returns as necessary, arrange for test to compile own testcase
6437 executable.
6438 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6439
c906108c
SS
6440Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6441
6442 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6443 clear_xfail at end of test which might not call either pass or fail.
6444 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6445 "backtrace through signal handler".
6446
6447Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6448
6449 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6450 continuing from a job control stop signal.
6451 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6452
6453Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6454
6455 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6456 * gdb.base/corefile.exp: Likewise.
6457 * gdb.base/funcargs.exp: Likewise.
6458
6459Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6460
6461 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6462 * config/monitor.exp: Add support for setting baud rate.
6463
6464Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6465
6466 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6467 i*86-*-linux* xfails for "backtrace through signal handler".
6468 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6469 "print func2::coremaker_local".
6470 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6471 alpha-dec-osf2* xfail for
6472 "delete all breakpoints when none".
6473
6474Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6475
6476 * gdb.base/break.exp: Change test that deletes all breakpoints
6477 when no user breakpoints are installed. A post 4.15 change
6478 causes gdb to no longer prompt in this case.
6479
6480Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6481
6482 * gdb.base/return.exp (return_tests): Change xfail for test
6483 "correct value returned double test" to stop xfailing at
6484 Solaris 2.5. Apparently the bug has been fixed.
6485
6486Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6487
6488 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6489 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6490
6491Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6492
6493 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6494 * gdb.disasm/hppa.s: Corresponding changes.
6495
6496Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6497
6498 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6499 makefile fragment.
6500 * config/mt-hpux: Deleted.
6501
6502Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6503
beb998c6 6504 * Many files: When warning about suppressed tests due to a
c906108c
SS
6505 nonexistant test binary, avoid incrementing the warning count.
6506
6507Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6508
6509 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6510
c906108c
SS
6511Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6512
6513 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6514 "sparc-*-solaris2*".
6515
6516Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6517
6518 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6519 Add global and local variables and initialize them.
6520 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6521 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6522 extracts the file name and terminating signal from the core file.
6523 * TODO: Remove note about tests for correct mapping of corefile.
6524 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6525 from optimizing it away.
6526 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6527 handles common blocks.
6528
6529Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6530
6531 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6532 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6533
6534Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6535
6536 * Makefile.in (maintainer-clean): New target, synonym for
6537 realclean.
6538 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6539 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6540 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6541 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6542 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6543 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6544
6545Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6546
6547 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6548 xfails when not gcc compiled for "print foo::funclocal".
6549 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6550 "print foo::funclocal at foo",
6551 "print 'scope1.c'::foo::funclocal at foo",
6552 "print foo::funclocal_bss at foo",
6553 "print 'scope1.c'::foo::funclocal_bss at foo",
6554 "print foo::funclocal_ro at foo",
6555 "print 'scope1.c'::foo::funclocal_ro at foo",
6556 "print bar::funclocal at foo" and
6557 "print 'scope1.c'::bar::funclocal at foo".
6558 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6559 gcc compiled for "print foo::funclocal at bar".
6560 Expand all messages to ensure that they identify that
6561 the test is at bar().
6562 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6563 gcc compiled for:
6564 "ptype on opaque struct pointer (statically)",
6565 "ptype on opaque struct tagname (statically)",
6566 "ptype on opaque struct pointer (dynamically) 1",
6567 "ptype on opaque struct tagname (dynamically) 1",
6568 "ptype on opaque struct pointer (dynamically) 2" and
6569 "ptype on opaque struct tagname (dynamically) 2
6570 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6571 gcc compiled for:
6572 "p datalocal"
6573 "whatis datalocal",
6574 "ptype datalocal",
6575 "p bsslocal",
6576 "whatis bsslocal", and
6577 "ptype bsslocal".
6578 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6579 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6580 when not gcc compiled.
6581 * gdb.base/funcargs.exp (float_and_integral_args): Add
6582 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6583 compiled.
6584 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6585 "backtrace from call6a" when not gcc compiled.
6586 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6587 "backtrace from call7a" when not gcc compiled.
6588 * gdb.base/callfuncs.exp (do_function_calls):
6589 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6590 "p t_char_array_values(char_array_val2,char_array_val1)",
6591 "p t_char_array_values(char_array_val1,char_array_val2)",
6592 "p t_char_array_values("carray 1","carray 2")",
6593 "p t_char_array_values("carray 1",char_array_val2)",
6594 "p t_char_array_values(char_array_val1,"carray 2")",
6595 "p sum_args(1,{2})",
6596 "p sum_args(2,{2,3})",
6597 "p sum_args(3,{2,3,4})",
6598 "p sum_args(4,{2,3,4,5})"
6599 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6600 "backtrace in corefile.exp" when not gcc compiled.
6601
6602Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6603
6604 * gdb.base/signals.exp: Rewrite `handle all print' test as
6605 a procedure. Accept blanks or TABs as whitespace, increase
6606 timeout and expect input buffer size for the large output
6607 from the command. Remove "i*86-*-bsdi2.0" xfail.
6608
6609Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6610
6611 * gdb.base/setvar.exp: Add new testcases for truncation when
6612 assigning invalid values to bitfields.
6613
6614Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6615
beb998c6 6616 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6617 mips-sgi-irix* xfail for
6618 "call inferior func with struct - returns char *"
6619 and fix test so that an optional (unsigned char *) cast is
6620 accepted in the result.
6621
6622Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6623
6624 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6625 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6626 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6627 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6628 that accidentally got checked in.
6629
6630Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6631
beb998c6 6632 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6633 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6634 compiled test.
6635 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6636 Add mips-sgi-irix5* xfail for not gcc compiled.
6637 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6638 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6639 "p top", "whatis top", "p middle", and "whatis middle".
6640 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6641 "whatis signed char" for not gcc compiled.
6642 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6643 "set variable signed char=-1 (-1)" and
6644 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6645 * gdb.base/funcargs.exp (float_and_integral_args):
6646 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6647 Add mips-sgi-irix* xfail when not gcc compiled for
6648 "continue to call2b".
6649 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6650 "continue to call2g".
6651 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6652 "backtrace from call6a"
6653 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6654 "backtrace from call7k".
6655 Add mips-sgi-irix5* xfail when not gcc compiled for
6656 "backtrace from call7a".
6657 (localvars_after_alloca): Fix gdb_test cmds for
6658 "print * after runto ...".
6659 Remove rs6000-*-* xfails for
6660 "print i after runto localvars_after_alloca" and
6661 "print l after runto localvars_after_alloca"
6662 for all compilers.
6663 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6664 when not compiled with gcc, for:
6665 "print signed char == (minus)",
6666 "print signed char != (minus)",
6667 "print signed char < (minus)",
6668 "print signed char > (minus)".
6669 * gdb.base/callfuncs.exp (do_function_calls):
6670 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6671 "call inferior func with struct - returns char *".
beb998c6 6672 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6673 "correct value returned double test" to include Solaris 2.4.
6674 * gdb.base/funcargs.exp (float_and_integral_args):
6675 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6676
c906108c
SS
6677Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6678
6679 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6680 enumeration bitfields if compiling with GNU C.
6681 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6682 to empty' prompt.
6683
6684Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6685
6686 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6687 test for PRO targets.
6688
6689 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6690 breakpoints in the inferior at any given time by making
6691 two groups of breakpoints for call2*, call6* and call7*
6692 tests.
6693
6694Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6695
6696 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6697 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6698 from optimizing it away.
6699 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6700 "call inferior func with struct".
6701
6702Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6703
6704 * configure.in: Only configure gdb.chill for particular targets.
6705
6706Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6707
6708 * gdb.base/Makefile.in: Add action to .c.o transformation
6709 rule that generates a .ci file for each .o file and remove
6710 explicit .c.o rules except for callfuncs.o.
6711 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6712 generates a .ci file for each .o file and remove explicit
6713 .cc.o rules.
6714 (clean): Remove *.tmp *.ci files.
6715 (EXECUTABLES): Remove templ-info.exp.
6716 * gdb.base/compiler.c: New file.
6717 * gdb.c++/compiler.cc: New file
6718 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6719 Change rs6000-*-* xfail for
6720 "print 'scope0.c'::filelocal_ro" and
6721 "print 'scope1.c'::filelocal" and
6722 "print 'scope1.c'::filelocal_bss" and
6723 "print 'scope1.c'::filelocal_ro" and
6724 "print 'scope1.c'::foo::funclocal" and
6725 "print 'scope1.c'::foo::funclocal_ro" and
6726 "print 'scope1.c'::bar::funclocal" and
6727 "print 'scope0.c'::filelocal_ro" and
6728 "print 'scope1.c'::filelocal at foo" and
6729 "print 'scope1.c'::filelocal_bss at foo" and
6730 "print 'scope1.c'::filelocal_ro at foo" and
6731 "print 'scope1.c'::foo::funclocal at foo" and
6732 "print 'scope1.c'::foo::funclocal_bss at foo" and
6733 "print 'scope1.c'::foo::funclocal_ro at foo" and
6734 "print 'scope1.c'::bar::funclocal at foo" and
6735 "print 'scope0.c'::filelocal_ro" and
6736 "print 'scope1.c'::filelocal" and
6737 "print 'scope1.c'::filelocal_bss" and
6738 "print 'scope1.c'::filelocal_ro" and
6739 "print 'scope1.c'::foo::funclocal" and
6740 "print 'scope1.c'::foo::funclocal_bss" and
6741 "print 'scope1.c'::foo::funclocal_ro" and
6742 "print 'scope1.c'::bar::funclocal" and
6743 "print 'scope1.c'::bar::funclocal_bss"
6744 to only be xfail'd when not compiled with gcc.
beb998c6 6745 Add rs6000-*-* xfail for
c906108c
SS
6746 "print 'scope0.c'::filelocal_bss before run"
6747 when compiled with gcc.
6748 (test_at_main): Add rs6000-*-* xfail for
6749 "print filelocal_ro in test_at_main"
6750 when compiled with gcc.
6751 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6752 Add rs6000-*-aix* xfail for
c906108c
SS
6753 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6754 "ptype t_char_array", not compiled with gcc.
6755 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6756 xfail for "list foo (in include file)" when gcc compiled.
6757 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6758 (integral_args): Add rs6000-*-* xfail for
6759 "run to call0a" if not compiled with gcc.
6760 (unsigned_integral_args): Add rs6000-*-* xfail for
6761 "run to call1a" if not compiled with gcc.
6762 (float_and_integral_args): Add rs6000-*-* xfail for
6763 "run to call2a" if not compiled with gcc and for
6764 "continue to call2b" for any compiler.
6765 Add rs6000-*-* xfail to
6766 "print f1 after run to call2a" for gcc compiled.
6767 (discard_and_shuffle): Add rs6000-*-* xfail for
6768 "run to call6a".
6769 (shuffle_round_robin): Add rs6000-*-* xfail for
6770 "backtrace from call7a" if not compiled with gcc.
6771 Add rs6000-*-* xfail for
6772 "backtrace from call7b" if compiled with gcc.
6773 (call_after_alloca): Add rs6000-*-* xfail for
6774 "print c in call_after_alloca" and
6775 "print s in call_after_alloca" and
6776 "backtrace from call_after_alloca_subr"
6777 if not compiled with gcc.
6778 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6779 "print c in localvars_in_indirect_call" and
6780 "print c in localvars_in_indirect_call" and
6781 "backtrace in indirectly called function" and
6782 "stepping into indirectly called function"
6783 if not compiled with gcc.
6784 (localvars_after_alloca): Add rs6000-*-* xfail for
6785 "print c after runto localvars_after_alloca" and
6786 "print s after runto localvars_after_alloca" and
6787 "print i after runto localvars_after_alloca" and
6788 "print l after runto localvars_after_alloca"
6789 for all compilers.
6790 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6791 than whatis-info.exp.
6792 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6793 than opaque-info.exp.
6794 Setup rs6000-*-* xfail for
beb998c6 6795 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6796 "ptype on opaque struct pointer (dynamically)" when
6797 not compiled with gcc.
6798 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6799 rather than callf-info.exp.
6800 (do_function_calls): Add clear_xfail for rs6000-*-* for
6801 "p t_float_values2(3.14159,float_val2)". Seems to work
6802 fine there, both with xlc and gcc. Need to find out what
6803 it is doing right and fix other platforms.
6804 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6805 "call inferior func with struct - returns int",
6806 "call inferior func with struct - returns long",
6807 "call inferior func with struct - returns float",
6808 "call inferior func with struct - returns double",
6809 "call inferior func with struct - returns char *",
6810 but only if not gcc compiled (presumes xlc compiled).
6811 Change rs6000-*-* xfails for
6812 "call inferior func with struct - returns char" and
6813 " call inferior func with struct - returns short" to only
6814 xfail if not using gcc.
6815 (clean mostlyclean): Remove *.ci and *.tmp files.
6816 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6817 than templ-info.exp.
6818 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6819 Add rs6000-*-* xfail for "up to foo in langs.exp"
6820 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6821 when not gcc compiled.
beb998c6 6822
c906108c
SS
6823Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6824
6825 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6826 * gdb.base/corefile.exp: Likewise.
6827 * gdb.base/list.exp: Likewise.
6828 * gdb.base/scope.exp: Likewise.
6829 * gdb.base/siganls.exp: Likewise.
6830
6831 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6832 compiler output.
6833 * gdb.base/whatis.exp: Likewise.
6834
6835Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6836
6837 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6838 failure (opcode table has been fixed to match reality).
6839
6840Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6841
6842 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6843 "call inferior func with struct - returns char",
6844 "call inferior func with struct - returns short"
6845
6846 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6847 "print 'scope0.c'::filelocal at main",
6848 "print 'scope0.c'::filelocal_bss in test_at_main",
6849 "print 'scope0.c'::filelocal at foo",
6850 "print 'scope0.c'::filelocal_bss in test_at_foo",
6851 "print 'scope0.c'::filelocal at bar",
6852 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 6853
c906108c
SS
6854 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
6855 in source file 1". This bug seems to have been fixed with both
6856 gcc and native cc (was native assembler bug?).
6857
6858Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
6859
6860 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
6861 "backtrace through signal handler" to "i*86-*-sysv4*".
6862 * gdb.base/signals.exp: Add xfail for "'next' behaved as
6863 continue" case. Add "known SVR4 bug" to fail message.
6864 Add "i*86-*-bsdi2.0" xfail for "handle all print".
6865 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
6866 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
6867 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
6868 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
6869 "up to foo in langs.exp", "show language at foo in
6870 langs.exp", "up to cppsub_ in langs.exp", "show
6871 language at cppsub_ in langs.exp", "up to fsub in
6872 langs.exp", and "show language at fsub in langs.exp".
6873 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
6874 "bactrace in corefile.exp".
6875 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
6876 "call inferior function with struct - returns float" and
6877 "call inferior function with struct - returns double".
beb998c6 6878
c906108c
SS
6879Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
6880
6881 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
6882 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
6883 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
6884 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
6885
6886Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
6887
6888 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
6889 (or overriden) "CHILL" macro rather then bare "gcc".
6890 Also look for ../../gcc/xgcc since that is what we will
6891 actually need, not "Makefile". Remove following assignment
6892 of CHILL to CHILL_FOR_TARGET because that results in
6893 recursive definition.
6894
6895Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
6896
6897 * gdb.base/corefile.exp: Change xfail for backtrace in
6898 corefile.exp from linuxaout to all linux.
6899 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
6900 cases where we miss the breakpoint at the signal handler
6901 for some reason. Setup xfail for linuxoldld/linuxaout and
6902 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
6903 hitting SIGURG breakpoint.
6904 * gdb.base/signals.exp: Setup xfail for "next" acting like
6905 continue to add linuxoldld. Setup xfail for all linux for
6906 "next to handler in signals_tests_1", "backtrace in
6907 signals_tests_1", "continue to func1", "pass SIGUSR1",
6908 and continue to handler".
6909
6910Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
6911
6912 * Update all FSF addresses except those in COPYING* files.
6913
6914Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
6915
6916 * gdb.base/a2-run.exp: Change messages to be more explicit about
6917 the status of args, and quote binfile in results.
6918
6919Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
6920
6921 * gdb.base/callfuncs.exp: Add tests for passing structs to
6922 inferior functions and return various types.
6923 * gdb.base/callfuncs.c: Add functions to receive a struct
6924 and return a member of the struct, in various types.
6925
6926Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6927
6928 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
6929
6930Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6931
6932 * config/vxworks29k.exp: New file, sources vxworks.exp.
6933
6934Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6935
6936 * config/gdbremote.exp: New file. Testing framework using
6937 gdbserver.
6938
6939Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
6940
6941 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
6942 "call function when asleep" and "send end of file".
6943 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
6944 for "backtrace in corefile.exp".
6945 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
6946 for "backtrace through signal handler".
6947 * gdb.base/corefile.exp: Make sure we actually generate a core file
6948 before trying the core tests. Some systems allow the user to suppress
6949 generation of core files and default to that (linux for example).
6950 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
6951 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
6952
6953Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6954
6955 * gdb.threads: New directory with some crude multi-threaded
6956 gdb tests (step.exp and step2.exp).
6957 * config/mt-lynx (STEP_EXECUTABLE): Define.
6958 (THREADFLAGS): Define.
6959
6960Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
6961
6962 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
6963
6964 * gdb.base/signals.exp: Disable whole file for lynx until
6965 further notice.
6966
6967 * gdb.base/signals.exp: xfail test where "next" acts like
6968 "continue" for lynx.
6969
6970 * gdb.base/interrupt.exp: xfail test for calling function while
6971 inferior is asleep for lynx.
6972
6973 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
6974 than one cr-lf after each command.
6975
6976Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6977
6978 * configure.in: Reinstate setting of stabsdirs variable, fix
6979 typo in setting up configdirs for native builds.
6980
6981 * gdb.base/return.exp: Fix typo in return double test.
6982 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
6983 compiler from optimizing them away.
6984
6985Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
6986
6987 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
6988 sequences to be echo'd by gdb when using gdb_test.
6989 * gdb.chill/chexp.exp: Likewise.
6990 * gdb.fortran/exprs.exp: Likewise
6991
6992Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6993
6994 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
6995 after the inferior gdb has started.
6996
6997 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
6998 after each command.
6999 * gdb.base/funcargs.exp: Likewise.
7000 * gdb.base/gdbvars.exp: Likewise.
7001 * gdb.base/interrupt.exp: Likewise.
7002 * gdb.base/list.exp: Likewise.
7003 * gdb.base/watchpoint.exp: Likewise.
7004 * gdb.c++/demangle.exp: Likewise.
7005 * gdb.c++/inherit.exp: Likewise.
7006 * gdb.chill/chexp.exp: Likewise.
7007 * gdb.fortran/exprs.exp: Likewise.
7008
7009 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7010 test if we can't handle IO to/from the inferior.
7011
7012 * gdb.c++/misc.exp: Always check for a program already being
7013 started after sending a "run" command to gdb.
7014
7015 * gdb.base/twice.exp: Start with a fresh gdb.
7016
7017 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7018 only depend on gdb's expression code, not the chill runtime.
7019
7020 * gdb.base/return.c: Put return values into variables so we
7021 can have gdb print them rather than depending on the program
7022 to print them.
7023 * gdb.base/return.exp: Corresponding changes.
7024
7025 * lib/gdb.exp: Provide default value for noinferiorio.
7026 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7027 the inferior.
7028
7029 * gdb.base/break.exp: Always check for a program already being
7030 started after sending a "run" command to gdb.
7031 (text_next_with_recursion): Don't check the output from the
7032 program's printf statement. Instead just make sure the program
7033 exited.
7034
7035 * gdb.base/commands.exp: Protect tests which need arguments with
7036 $noargs conditionals.
7037
7038Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7039
7040 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7041 of structure member arrays to match gdb/valops.c:value_addr change.
7042
7043Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7044
7045 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7046 cases.
7047
7048Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7049
7050 * configure.in (configdirs): Remove gdb.chill from default list
7051 of subdirs and then add it back in only if doing a native build.
7052 The current chill compiler does not yet work in any cross build.
7053 * Revert all signal changes from Jul 6.
7054 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7055 for sh-hms targets, allowing these tests to link, with no other
7056 changes. Testing is suppressed by setting "nosignals" in site.exp.
7057
7058Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7059
7060 * configure.in (signaldirs): Define and add to configdirs for all
7061 targets except some specific ones that are known to not support signals.
7062 Also clean up formatting.
7063 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7064 (signals, sigall): Remove rules to build.
7065 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7066 Moved to new gdb.signals directory.
7067 * gdb.signals: New test directory.
7068 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7069 signals.c signals.exp}: New or moved files.
7070
7071Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7072
7073 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7074
7075Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7076
7077 * gdb.base/return.exp: Xfail `return double' test failure
7078 on at least Solaris 2.3 and handle future/past versions on
7079 a case by case basis as appropriate. Also update message
7080 to include i*86 failures.
7081
7082Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7083
7084 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7085
7086 * lib/gdb.exp: Fix comment which erroneously identified
7087 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7088 gdb_file_cmd not gdb_load).
7089 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7090
7091 * gdb.base/setvar.exp: Make test names consistent between pass and
7092 fail cases. Use gdb_test more.
7093
7094Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7095
7096 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7097
7098Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7099
7100 * gdb.base/help.exp: Fix expected help string for `show commands'.
7101
7102Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7103
7104 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7105
7106 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7107 of a text section.
7108
7109Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7110
7111 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7112 that loop eventually terminates. Fix Connection refused logic so
7113 that testsuite will expire nicely.
7114
7115Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7116
7117 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7118 config/rom68k.exp: New tcl glue for the appropriate monitors.
7119 These all just end up calling monitor.exp.
7120 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7121 refused' by retrying. Cleanup some timeout issues.
7122 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7123 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7124 callers don't have to set/restore global timeout variable.
7125
7126 * The following set of changes centralizes management of the global
7127 timeout variable. This way, it can be set in one target dependent
7128 place instead of dozens of places scattered throughout the test suite.
7129 If you need to lengthen a timeout, then you should either set timeout
7130 in one of the config/{target}.exp files, or multiply it by a factor.
7131 Setting it to an absolute value is always going to lose for some
7132 targets.
7133 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7134 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7135 * gdb.base/funcargs.exp: Don't set timeout.
7136 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7137 * gdb.base/printcmds.exp (test_print_string_constants
7138 test_print_array_constants): Don't set timeout.
7139 * gdb.base/ptype.exp: Don't set timeout.
7140 * gdb.base/recurse.exp: Don't set timeout.
7141 * gdb.base/return.exp: Don't set timeout.
7142 * gdb.base/watchpoint.exp: Don't set timeout.
7143 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7144 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7145
7146Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7147
7148 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7149
7150Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7151
7152 * lib/gdb.exp: Disable chill tests for irix5.
7153
7154Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7155
7156 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7157 each test pass or fail.
7158
7159Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7160
7161 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7162 xlc not gcc.
7163
7164Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7165
7166 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7167
7168Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7169
7170 * config/est.exp: Fix copyright and comments. Remove dead code.
7171 Use targetname, serialport and baud variables instead of fixed
7172 constants.
7173 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7174 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7175
7176Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7177
7178 * gdb.base/watchpoint.exp: Don't run
7179 test_watchpoint_triggered_in_syscall for sunos.
7180
7181Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7182
7183 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7184 they don't seem to exist. Do include stdio.h.
7185
7186Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7187
7188 * gdb.base/a1-selftest.exp: Add alpha xfail.
7189
7190Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7191
7192 * gdb.base/watchpoint.c (main): Prompt before calling read().
7193 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7194 Revise accordingly. Remove cruft about sending "123" several
7195 times, until it gets noticed. Clean up the "print buf[0]" stuff
7196 so that it passes or fails, and waits for prompts in the usual way.
7197
7198Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7199
7200 * gdb.base/recurse.exp: Fix comment.
7201
7202 * TODO: Remove item about printing variables in nodebug.exp. Add
7203 item about enabling tests which are only run on some targets.
7204
7205 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7206 fail, make test names unique, use new gdb_test convention
7207 regarding pattern, use gdb_test more, etc.).
7208
7209 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7210 fail, make test names unique, etc.).
7211
7212Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7213
7214 * gdb.base/nodebug.c: Change return type of top and middle to
7215 short.
7216 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7217 are fixed by the recent mdebugread.c changes. Allow `short ()'
7218 as type for top and middle.
7219
7220Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7221
7222 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7223 nearly as I can tell, the whole thing was an accident in Stu's
7224 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7225 to replace a send/expect pair with gdb_test, but ended up only
7226 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7227 of 30 Mar 1995 took care of it, but left this vestigial comment
7228 which I am now nuking.
7229
7230Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7231
7232 * gdb.base/break.exp: Look for different line number for
7233 breakpoint at main depending on usestubs.
7234
7235Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7236
7237 * gdb.base/list.exp: Adjust some alternate expect patterns to
7238 match recent list0.c change. Add alternate expect pattern for
7239 output from `list default lines around main' for optimizing
7240 compilers.
7241
7242Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7243
7244 * lib/gdb.exp: If nosignals is not set, set it to 0.
7245
7246Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7247
7248 * config/slite-gdb.exp: Responds to load symbol table prompt.
7249 * gdb.base/break.exp: Adjust line number, fix rerun.
7250 * gdb.base/langs0.c: Add #ifdef usestubs.
7251
7252Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7253
7254 * gdb.base/list.exp: Adjust line contents after adding new lines in
7255 list0.c. Also fix a syntax error.
7256
7257 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7258 * gdb.base/break.exp: ditto.
7259 * gdb.base/list.exp: ditto.
7260 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7261 * gdb.base/run.c: ditto.
7262 * gdb.base/list0.c: ditto.
7263 * gdb.base/funcargs.c: ditto.
7264
7265Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7266
7267 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7268 $targetname, $serialport and $baud instead of hardwired variables.
7269 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7270 target doesn't support signals.
7271
7272Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7273
7274 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7275
7276Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7277
7278 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7279 Don't rely on the value of an auto variable before it has been
7280 initialized. Use gdb_test more.
7281
7282Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7283
7284 * lib/gdb.exp (default_gdb_version): A version number must start
7285 with a digit, but other than that contains all characters up to
7286 the first whitespace character.
7287
7288Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7289
7290 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7291
7292Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7293
7294 * gdb.c++/*.exp: Warn if executable does not exist. The original
7295 reason for skipping the warning was that configure.in sometimes
7296 intentionally skipped building the executables but the tcl code
7297 had no way of knowing. That (a) was always bogus with respect to
7298 error handling, (b) is no longer true (right now there is no way
7299 to skip C++ tests).
7300
7301 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7302
7303Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7304
7305 * gdb.base/list.exp: Add expect patterns for output from
7306 SunPRO compiled executables.
7307 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7308 types.
7309
7310Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7311
7312 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7313 number (we are already testing that the correct source line text
7314 gets printed).
7315
7316 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7317 that is what is intended, but something needed to be done to get
7318 sunos4 native working again.
7319
7320 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7321
7322 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7323 apparently went with a (very) old xfail.
7324
7325Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7326
7327 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7328 runto_main is a proc in gdb.exp that will do 'step' for target use
7329 stubs.
7330 * gdb.base/exprs.exp: ditto.
7331 * gdb.base/interrupt.exp: ditto.
7332 * gdb.base/opaque.exp: ditto.
7333 * gdb.base/printcmds.exp: ditto.
7334 * gdb.base/ptype.exp: ditto.
7335 * gdb.base/scope.exp: ditto.
7336 * gdb.base/setvar.exp: ditto.
7337 * gdb.base/signals.exp: ditto.
7338 * gdb.base/twice.exp: ditto.
7339 * gdb.c++/classes.exp: ditto.
7340 * gdb.c++/inherit.exp: ditto.
7341 * gdb.c++/templates.exp: ditto.
7342 * gdb.base/break.exp: no run and hit main for stubs. Change line
7343 numbers for breakpoints and info breakpoint.
7344 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7345 breakpoint().
7346 * gdb.base/callfuncs.c: ditto.
7347 * gdb.base/exprs: ditto.
7348 * gdb.base/interrupt.c: ditto.
7349 * gdb.base/opaque0.c: ditto.
7350 * gdb.base/printcmds.c: ditto.
7351 * gdb.base/ptype.c: ditto.
7352 * gdb.base/scope0.c: ditto.
7353 * gdb.base/setvar.c: ditto.
7354 * gdb.base/signals.c: ditto.
7355 * gdb.base/twice.c: ditto.
7356 * gdb.c++/misc.cc: ditto.
7357 * gdb.c++/templates.cc: ditto.
7358
7359Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7360
7361 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7362
7363 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7364 somewhere between `read' and `main.c'. I'm pretty sure the
7365 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7366 and it isn't particularly useful.
7367
7368 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7369
7370Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7371
7372 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7373
7374Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7375
7376 * config/mt-slite: add LIBS and -nostdlib.
7377 * config/slite-gdb.exp: add this new file to support sparclite target.
7378
7379Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7380
7381 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7382
7383 * gdb.base/a2-run.exp: Change argument to istarget from
7384 "*-*-vxworks" to "*-*-vxworks*".
7385 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7386
7387Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7388
7389 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7390 will not runto main but do a 'step' to step out of breakpoint().
7391 * config/mt-slite: add -Dusestubs.
7392
7393Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7394
7395 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7396 instead of just @.
7397
7398 * gdb.base/signals.exp: Add test for "handle all print".
7399 * TODO: Remove "handle all print". Also remove item about
7400 checking copyright date (I don't like the idea of a spurious FAIL
7401 based on when we run the tests).
7402
7403 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7404 for SunOS4 (reason for failure not investigated). Remove
7405 redundant test for $binfile.
7406
7407 * gdb.base/nodebug.c (array_index): Call malloc.
7408
7409 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7410
7411Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7412
7413 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7414 conventions and slightly simplify the matching regexp.
7415
7416Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7417
7418 * gdb.base/break.exp: Update gdb_test invocation to use new
7419 convention.
7420
7421 * lib/gdb.exp: If noargs is not set, set it to 0.
7422
7423 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7424 tests unique.
7425
7426 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7427
7428Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7429
7430 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7431 one argument of type "<non-float parameter>".
7432
7433Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7434
7435 * config/rom68k.exp: New file to support Motorola IDP board.
7436 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7437 * gdb.base/break.c: Change things around so that this program
7438 doesn't depend upon args. This is necessary to make remote
7439 targets work (in general, they can't take args).
7440 * gdb.base/break.exp: Don't try to send args to program. Don't
7441 expect output. Also, replace lots of code with gdb_test.
7442
7443Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7444
7445 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7446 printing of '\'' (which is what the comment says we are testing,
7447 even though we were not), not '''.
7448 (test_integer_literals_rejected): Test that printing ''' is an error.
7449
7450 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7451 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7452 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7453 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7454 Use gdb_test not test_print_accept.
7455 * lib/gdb.exp: Remove test_print_accept.
7456
7457 * gdb.base/signals.exp (signal_tests_1): Make pass message
7458 consistent with fail message.
7459
7460 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7461 unsigned char; the bug (PR 1821) is fixed.
7462
7463 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7464
7465 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7466 successful tests--makes xfailing them work right.
7467
7468Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7469
7470 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7471 only \r\n, not .*. The test can pass .* as the last thing in
7472 $pattern if that is what it wants. In addition to providing this
7473 flexibility, this change should speed up pattern matching in cases
7474 where the pattern already ended with .* (there were a number of
7475 them). This change also helps catch bad patterns--in the old
7476 scheme the typo "char \*" instead of "char \\*" would pass. Now
7477 it is caught.
7478 * Many .exp files: Update callers.
7479
7480 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7481 clearer and does not spuriously match multiple ('s. Likewise for
7482 ) and *.
7483
7484 * gdb.base/nodebug.exp: Test ability to call a function and pass
7485 it a string (even with no debugging info).
7486
7487 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7488 "p '\'", which is the same as "p ''" once tcl gets done with
7489 quoting, to "p '\\'", which I suspect is what is intended (one
7490 backslash gets sent to GDB).
7491
7492 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7493
7494Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7495
7496 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7497 1817) was fixed literally years ago.
7498
7499Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7500
7501 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7502 test, it causes stepping out of call_after_alloca_subr with
7503 optimizing compilers.
7504 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7505 fails.
7506
7507 * gdb.c++/templates.exp: Source templ-info.exp only if
7508 the templates executable exists.
7509
7510 * gdb.c++/misc.cc (class Contains_static_instance,
7511 class Contains_nested_static_instance),
7512 gdb.c++/classes.exp (test_static_members): Test printing of
7513 a class that contains a static instance of the class.
7514
7515Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7516
7517 * gdb.base/langs2.c (cppsub_): Don't prototype.
7518 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7519 only, I believe).
7520
7521Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7522
7523 * lib/gdb.exp (skip_chill_tests): New procedure.
7524
7525 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7526
7527Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7528
7529 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7530 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7531
7532Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7533
7534 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7535
7536 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7537 disassemble 8, not 16, instructions for part 4.
7538
7539 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7540 support the latter anymore.
7541
7542 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7543 -DNO_PROTOTYPES.
7544 * gdb.base/callfuncs.c: Control use of prototypes based on
7545 NO_PROTOTYPES, not __STDC__.
7546 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7547 t_float_values2 tests if prototypes in use.
7548
7549 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7550 t_double_values): When checking differences against DELTA, check
7551 that difference is within the range (-DELTA,DELTA), not just
7552 (-infinity,DELTA).
7553
7554Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7555
7556 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7557 'file' command firts, then 'target', then 'load', this is due to gdb
7558 target set up.
7559 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7560
7561Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7562
7563 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7564 FP load/store variants.
7565 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7566
7567Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7568
7569 * gdb.base/term.exp: Do not give a warning if not native, it is
7570 not an abnormal condition.
7571
7572Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7573
7574 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7575 t_char_array".
7576
7577Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7578
7579 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7580 are getting the version number.
7581
7582 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7583 if not native, it is not an abnormal condition.
7584
7585Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7586
7587 * lib/gdb.exp: Just use "file exists", rather than undocumented
7588 dejagnu procedure "findfile".
7589
7590Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7591
7592 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7593 (LDFLAGS): Set to -Xlinker -Ur.
7594
7595 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7596 Removed, these values are set by lib/gdb.exp.
7597
7598 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7599
7600Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7601
7602 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7603 of replicating gdb startup code.
7604
7605 * config/mt-vxworks (LDFLAGS): Set to -r.
7606 (CFLAGS_FOR_TARGET): Removed.
7607
7608 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7609 (gdb) and gdb for vxworks uses (vxgdb).
7610
7611 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7612 executable is not in the tree and host != target, use sed and
7613 program_transform_name to determine the gdb name used by the
7614 target.
7615
7616 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7617 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7618
7619Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7620
7621 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7622 floats, chars, and shorts where there are ANSI-style function
7623 definitions.
7624
7625 * gdb.base/langs.exp, gdb.base/langs*: New test.
7626 * gdb.base/Makefile.in: Build it.
7627 * TODO: Remove item about checking that C names don't get C++
7628 demangling applied; this test tests it.
7629
7630Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7631
7632 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7633 went with the const70 xfail. The xfail went away a year ago.
7634
7635 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7636
7637 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7638 for hp300.
7639
7640 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7641
7642 * gdb.base/a1-selftest.exp: Don't run on hp300.
7643
7644Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7645
7646 * Makefile.in (site.exp): Set host_alias and target_alias as well
7647 as host_triplet and target_triplet.
7648
7649Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7650
7651 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7652
7653 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7654 places as other ecoff systems).
7655
7656 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7657 ultrix.
7658
7659Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7660
7661 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7662 remove them.
7663 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7664 variable and "variable" in addition to "data variable".
7665 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7666
7667 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7668 2.
7669 * gdb.base/list1.c (long_line): Add additional statement at start
7670 of function.
7671 * gdb.base/list.exp (test_forward_search): Update line number to
7672 reflect new statement.
7673
7674Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7675
7676 * gdb.base/signals.exp: Reinitialize searched source directories
7677 after gdb_start call.
7678
7679Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7680
7681 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7682 * gdb.stabs/Makefile.in: Likewise.
7683
7684 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7685 change. Instead split the tests into smaller pieces.
7686 * gdb.disasm/hppa.s: Corresponding changes.
7687
7688Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7689
7690 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7691 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7692
7693 * gdb.base/funcargs.exp: Modify many tests so that every test
7694 either passes or fails. Make some test names unique.
7695
7696Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7697
7698 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7699 Call stty to set interrupt character.
7700
7701 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7702 for HP assembler versus GNU assembler based on actual behavior of
7703 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7704
7705 * TODO: Suggest a few more stepping tests.
7706
7707Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7708
7709 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7710 restart GDB for h8300 after a continue.
7711 (return): Add pattern to match a29k-udi behavior.
7712 * gdb.base/nodebug.exp: Remove obsolete comment.
7713 * gdb.base/regs.exp: New file, testing of register displays.
7714 * gdb.base/return.exp: Fix typo in reference to $objdir.
7715 * gdb.base/whatis.exp: Always start with a fresh GDB.
7716
7717Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7718
7719 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7720 higher, these tests generate a lot of output.
7721
7722Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7723
7724 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7725 code following the catch silently ignored some errors; without the
7726 catch they should be thrown like any other tcl error. Also, the
7727 catch used "" instead of {} which meant all the callers who wanted
7728 to include one of the characters "[]$ had to quote it an extra time.
7729 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7730 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7731 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7732 Remove extra quoting.
7733
7734Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7735
7736 * gdb.base/commands.exp: Make test names unique; every test either
7737 passes or fails. Update some comments.
7738
7739 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7740
7741Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7742
7743 The following fixes a FAIL caused by the fact that the alpha stabs
7744 configuration didn't use the ".if alpha" code in weird.def.
7745 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7746 bit pointer, so the 32 bit version works even on the alpha.
7747 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7748 Remove the stuff which allowed us to have separate versions for
7749 alpha and everything else.
7750
7751 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7752 regexp which "info func operator\[\](" is supposed to match. Fix
7753 string to send to GDB. Note that GDB still doesn't work right. Add a
7754 new test for "info func .perator\[\](" which GDB does handle correctly.
7755
7756 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7757
7758Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7759
7760 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7761 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7762 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7763 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7764 it makes the tests harder to understand and confuses test-o-matic.
7765 The preferred style is that each test provides a PASS or a FAIL,
7766 and has a unique message (e.g. "continue #54" not just "continue")
7767 which is the same for the pass and the fail.
7768 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7769 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7770 to lib/gdb.exp.
7771 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7772 prt_accept which was basically the same thing. Likewise for
7773 test_print_reject and prt_reject.
7774 * lib/gdb.exp (test_print_reject): Add some more error message
7775 patterns to match from the former printcmds.exp (prt_reject).
7776 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7777 One defect of the passcount stuff is that some of it failed to
7778 report XPASS where appropriate.
7779 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7780 stuff before and after arg in expected pattern.
7781 (test_paddr_operator_functions): Re-do test without print_addr_of;
7782 this is the only test which seems to want extra stuff there.
7783
7784Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7785
7786 * gdb.base/nodebug.exp: Update new tests to reflect improved
7787 wording of gdb output.
7788
7789 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7790 and "ptype" work on variables in files compiled without -g.
7791 Replaces commented out "maint print msymbol" tests.
7792
7793Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7794
7795 * gdb.base/setvar.c (dummy): Call malloc.
7796
7797 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7798 losing with the irix4 sed.
7799
7800 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7801 ALRM" on irix4.
7802
7803Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7804
7805 * TODO: Remove items about corefile.exp testing new exec-file and
7806 backtrace; both are now done. Add items about printing enums.
7807
7808Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7809
7810 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7811 "get signal $thissig" test fails.
7812
7813 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7814
7815Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7816
7817 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7818 compiler warning with dec alpha compiler.
7819
7820 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7821 extra \n from gdb_test call (this explains why the prompt test
7822 that I removed yesterday was there).
7823 (user_defined_command_test): Remove extra \n and prompt test.
7824
7825 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7826 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7827 doesn't exist.
7828 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7829 Also remove alpha workaround, which turns out to be because
7830 SIGABRT == SIGLOST.
7831
7832 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7833
7834 * gdb.base/help.exp: Don't test "help show".
7835
7836Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7837
7838 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7839 "set print address" is on.
7840 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7841 pass prompt to gdb_test; gdb_test already looks for the prompt.
7842
7843 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7844
7845 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7846 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7847 was to make sure that gdb can read a core file. But (a) the "read
7848 the corefile" part didn't make it to a1-selftest.exp, we just
7849 delete the corefile after creating it, and (b) we test reading
7850 corefiles in corefile.exp anyway. Also, this test left around a
7851 xgdb process on Solaris.
7852
7853 * gdb.base/corefile.exp: Also test backtrace.
7854
7855Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
7856
7857 * gdb.base/commands.exp: Test a simple user defined command with
7858 arguments and if/while statements; verify the full user command is
7859 printed by "show user".
7860
7861 * gdb.base/commands.exp: Test if/while commands as part of a
7862 breakpoint command list; verify they appear in breakpoint
7863 information.
7864
7865Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7866
7867 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
7868 than by dividing by zero.
7869
7870Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
7871
7872 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
7873 performing an inferior call with watchpoints enabled.
7874 * gdb.base/watchpoint.c (main): Delete second unnecessary read
7875 call.
7876
7877Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7878
7879 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
7880 of "file" command.
7881
7882 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
7883 Add additional pattern for when "int operator int(void);" appears
7884 in a different order.
7885
7886Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7887
7888 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
7889
7890 * gdb.base/help.exp: Replace most of docstrings for "info signals"
7891 and "signal" with ".*".
7892
7893Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7894
7895 * TODO: Add note about "handle all nostop".
7896
7897 * gdb.base/{sigall.c, sigall.exp}: New test.
7898 * gdb.base/Makefile.in: Add it.
7899
7900Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
7901
7902 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
7903 when invoking GDB, suppresses any windowing interface.
7904
7905Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
7906
7907 * config/sim-gdb: New file, simulator testing support.
7908
7909Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
7910
7911 * gdb.base/interrupt.exp: Test calling func1 twice.
7912
7913Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
7914
7915 * gdb.base/list.exp (test_forward_search): Set timeout higher
7916 when we'll be getting lots of output from gdb.
7917
7918 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
7919 "init_malloc" to after the expect statement. Run it if that
7920 regexp is taken, but also for two others which happen if source
7921 cannot be found.
7922
7923Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7924
7925 * gdb.base/printcmds.exp: New test, for printing register before
7926 program is running.
7927
7928Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7929
7930 * gdb.base/list.exp: Correct some alternate expect patterns
7931 to reflect changes in list1.c.
7932
7933Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7934
7935 * TODO: Add item regarding large frames.
7936
7937 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
7938
7939 * TODO: Remove item about enabling return.exp; it
7940 is enabled. Suggest a few more "return" tests.
7941
7942Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7943
7944 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
7945 anonymous unions.
7946
7947Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7948
7949 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
7950 and pr-5646.o, so "make" is the same as "make all", not "make
7951 pr-4975.o".
7952
7953Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
7954
7955 * gdb.base/list.exp: Adjust expectations to reflect changes in
7956 list1.c.
7957 (test_forward_search): New test proc.
7958 * gdb.base/list1.c (long_line): New function, has long source line.
7959
7960Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
7961
7962 * gdb.base/a1-selftest.exp: Change initial stepping to know about
7963 additional line of code that was added.
7964
7965Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
7966
7967 * gdb.disasm/hppa.s: Break the large branching tests into smaller
7968 tests so as not to overflow expect's input buffers.
7969 * gdb.disasm/hppa.exp: Corresponding changes.
7970
7971Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7972
7973 Beginnings of template debugging tests.
7974 * gdb.c++/templ-info.cc: New file to test for template
7975 debugging capability of the compiler.
7976 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
7977 templ-info.cc.
7978 * gdb.c++/templates.cc: Add explicit template instantiations
7979 to enable compiling with -fno-implicit-templates. Add destructor
7980 and 'value' method to T5 class for template tests.
7981 * gdb.c++/templates.exp: Add testcases for printing of template
7982 types, setting breakpoints on template methods and calling a
beb998c6 7983 template method.
c906108c
SS
7984
7985Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
7986
7987 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
7988 branch target since some assemblers (gas-2.5) may emit a
7989 relocation for the branch instead of resolving it in the
7990 assembler.
7991
7992Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7993
7994 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
7995 through signal handler.
7996
7997Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7998
7999 * configure.in (*-*-netware): Use config/mt-netware.
8000
8001 * config/mt-netware: New file.
8002 * config/mt-i386-netware: Removed, separate configs for different
8003 netware architectures are no longer needed now that we have
8004 --with-headers.
8005
8006Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8007
8008 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8009 by the recent changes to use ANSI C arithmetic conversions.
8010
8011Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8012
8013 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8014 bug involving using inferior_pid to figure out whether to select a
8015 frame.
8016
8017Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8018
8019 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8020 match the current disassembler output.
8021
8022Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8023
8024 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8025 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8026 types, expect "int" as type of integer values (for now).
8027
8028Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8029
8030 * gdb.base/commands.exp: New tests for if/while commands.
8031
8032Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8033
8034 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8035 by .*, since hex values have different syntax in Chill mode.
8036
8037Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8038
8039 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8040 linefeed from expect pattern for repeated types with indices > 9.
8041
8042Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8043
8044 First part of Fortran test suite.
8045 * gdb.fortran: New directory.
8046 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8047
8048Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8049
8050 * gdb.base/default.exp: Update expect pattern for load command
8051 without arguments.
8052
8053Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8054
8055 * configure.in: Change i386 to i[345]86.
8056 * gdb.base/configure.in: Likewise.
8057 * gdb.c++/configure.in: Likewise.
8058 * gdb.chill/configure.in: Likewise.
8059
8060Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8061
8062 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8063 patterns, since that is not a valid context for comments.
8064
8065Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8066
8067 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8068 repeated types and repeated types with indices > 9.
8069
8070Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8071
8072 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8073 2417; old bug has been fixed.
8074
8075Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8076
8077 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8078 send the newline ourselves instead of assuming gdb_test will do
8079 so when passed an empty input string.
8080
8081 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8082 stabs testcode.
8083
8084Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8085
8086 * lib/gdb.exp (gdb_test): Don't send anything if the first
8087 argument is an empty string. This makes cases where we want to
8088 match output that is already in expect's buffers (for example,
8089 matching a breakpoint after gdb_run_cmd has been called) work
8090 reliably.
8091
8092Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8093
8094 * config/netware.exp: New file.
8095
8096Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8097
8098 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8099 the -B and -L prefixes so we can find the debugging stub.
8100
8101 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8102 there and we are using the gcc from the tree.
8103
8104 * gdb.base/types.c: Removed.
8105
8106 * gdb.base/configure.in: Look for makefile fragments in ../config.
8107 Recognize i386-*-netware.
8108 * gdb.c++/configure.in: Likewise.
8109
8110Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8111
8112 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8113 the correct TCL syntax.
8114
8115Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8116
8117 * gdb.base/opaque.exp: use runto instead of messing around with
8118 breakpoints. Simplify by using gdb_test.
8119
8120 * gdb.base/bitfields.exp: restart between tests on netware targets
8121 because breakpoints aren't relocated after target death. Run
8122 processes to completion.
8123
8124 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8125
8126Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8127
8128 * Makefile.in: Remove extra tabs that confuse some versions
8129 of "make". Use the newly built gdb to test with by default,
8130 rather than the first one in the tester's search path.
8131
8132Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8133
8134 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8135
8136 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8137 condition help.
8138
8139Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8140
8141 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8142
8143 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8144 running.
8145 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8146 * gdb.base/funcargs.exp: Likewise.
8147
8148 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8149 * gdb.base/funcargs.exp: Likewise.
8150
8151 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8152 message is "".
8153
8154Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8155
8156 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8157 return,signals,twice}.exp: Handle non-existant binaries
8158 consistantly.
8159
8160 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8161 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8162 might testing a cross development system.
8163
8164Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8165
8166 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8167 runtest script is relative to ${srcdir}, not ${rootdir}.
8168
8169Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8170
8171 * gdb.base/signals.exp: Allow for optionality of breakpoint
8172 address.
8173
8174Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8175
8176 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8177
8178Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8179
8180 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8181 for size_t definition.
8182 * gdb.c++/templates.cc: Likewise
8183
8184 * config/mt-i386-netware: New file.
8185
8186 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8187 defined.
8188
8189 * gdb.base/Makefile.in: Added support for systems that name core
8190 files by appending "core" to the program name.
8191 * gdb.base/a1-selftest.exp: Likewise.
8192
8193Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8194
8195 * gdb.base/return.exp: Add comment and message for `return double'
8196 test failure on Sparc Solaris.
8197
8198Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8199
8200 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8201
8202Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8203
8204 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8205 from optimizing them away.
8206 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8207 patterns to include default constructors and assignment operators,
8208 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8209 character in the output of the virtual base pointer.
8210
8211Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8212
8213 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8214 expression match in print_addr_of to avoid unintented matches.
8215 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8216 versions up to 2.5.8.
8217
8218Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8219
8220 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8221 included file to run under newer versions of expect.
8222 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8223 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8224 Remove xfail for the virtual table of BDDHookV.
8225
8226Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8227
8228 * lib/gdb.exp (string_to_regexp): Set a default result.
8229 (default_gdb_start): Fix misleading message.
8230
8231Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8232
8233 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8234 Remove all CC, etc definitions.
8235 * config/mt-hpux: New file.
8236 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8237 (CFLAGS, LDFLAGS): Define.
8238 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8239
8240 * Makefile.in (site.exp): Don't insert host_os, etc.
8241 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8242 (distclean): Check existence of subdir.
8243 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8244 * gdb.base/Makefile.in: General cleanup and simplification.
8245 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8246 to build executables. Use default rule to build .o files.
8247 (EXPECT, RUNTEST, CC): Fix relative pathname.
8248 (site.exp): Don't insert host_os, etc.
8249 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8250 and/or SIGUSR1 defined.
8251 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8252 * gdb.c++/Makefile.in: General cleanup and simplification.
8253 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8254 (CFLAGS): Remove.
8255 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8256
8257Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8258
8259 * gdb.base/recurse.exp: Misc changes to get tests running again
8260 after Kung's changes to the watchpoint code.
8261 * gdb.base/watchpoint.exp: Likewise.
8262
8263Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8264
8265 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8266
8267Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8268
8269 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8270 * lib/gdb.exp (default_gdb_start): Define.
8271 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8272 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8273 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8274 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8275 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8276 Don't call gdb_target_udi in between tests.
8277
8278Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8279
8280 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8281 (which was basically just a local version of the same thing). In
8282 addition to avoiding duplication, gdb_test_exact is faster.
8283 * lib/gdb.exp (gdb_test_exact): Fix typo.
8284
8285 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8286 don't give an error.
8287
8288 * gdb.base/term.exp: Call delete_breakpoints before starting.
8289
8290 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8291 (t10): Add comment.
8292
8293Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8294
8295 Reorganization of the GDB Test Suite.
8296
8297 * gdb.base: New directory, contains all the basic tests.
8298 * gdb.c++: New directory, tests specific to C++.
8299 * gdb.chill: New directory, tests specific to Chill.
8300 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8301 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8302 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8303 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8304 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8305 t30-31 to chill).
8306 * */gdbme.*: Rename to match appropriate expect scripts.
8307 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8308 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8309 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8310 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8311 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8312 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8313 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8314 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8315 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8316 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8317 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8318 gdb.c++/virtfunc.cc: New names of C++ files.
8319 * gdb.chill/chillvars.ch: New name of Chill file.
8320 * gdb.base/configure.in, gdb.c++/configure.in,
8321 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8322 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8323 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8324 * configure.in (configdirs): Update to reflect directory changes.
8325 (target_abbrev): No longer define for any configuration.
8326 * Makefile.in: Cosmetic improvements to header comments.
8327
8328Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8329
8330 Various changes to gdb.t31:
8331
8332 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8333 * gdbme.ch: Make all key-words and predefineds be upper-case.
8334 * chillvars.exp: Expect key-words and predefinds in upper-case.
8335
8336 * chillvars.exp: Use gdb_test_exact many places.
8337 Change expected output for arrays (which now includes index labels).
8338
8339 * pr-5020.exp, gdme.ch (module PR_5020):
8340 New test, for PR-5020.
8341
8342Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8343
8344 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8345 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8346
8347Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8348
8349 * Makefile.in: Fix bit-rot in definitions of CHILL,
8350 CHILL_FOR_TARGET and Chill_LIB.
8351 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8352 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8353 CHILL, and CHILL_LIB.
8354
8355Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8356
8357 * Revert the previous changes. Please see Rob's directory
8358 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8359
8360Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8361
8362 * Makefile.in, configure.in, config/mips-gdb.exp,
8363 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8364 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8365 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8366 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8367 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8368 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8369 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8370 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8371 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8372 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8373 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8374 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8375 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8376 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8377 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8378 changes from 94Q1.
8379
8380Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8381
8382 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8383 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8384 Rob's new testing fragments.
8385
8386Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8387
8388 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8389 lib/gdb.exp: Replace error proc calls with perror.
8390
8391Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8392
8393 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8394 version also, match on casted version strings, and match on
8395 gdb startup case where the line numbers might be messed up.
8396
8397Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8398
8399 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8400 (CFLAGS): Delete it from here.
8401
8402Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8403
8404 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8405
8406Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8407
8408 * Makefile.in (RUNTEST): Default to just "runtest".
8409
8410Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8411
8412 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8413 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8414 the code has been restructured.
8415
8416Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8417
8418 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8419 \n, not just one of each.
8420
8421 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8422 /bin/cc gives a warning if you do.
8423
8424Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8425
beb998c6 8426 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8427 __t10ListS_link1ZUiRCUiPT0
8428
8429Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8430
8431 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8432 on local variables in recursive functions.
8433
8434 * gdb.t07/Makefile.in: Build the new test.
8435
8436Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8437
8438 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8439 directly. Instead compare the return values from actual calls.
8440
8441Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8442
8443 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8444
8445Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8446
8447 * From Peter Schauer with minor modifications.
8448 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8449 stops in mid-line in the caller. Add xfail for returning a float
8450 value on X86 targets.
8451
8452Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8453
8454 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8455 to avoid expect lossage.
8456 (fmem_LRbug_tests): Likewise.
8457 * gdb.disasm/hppa.s: Corresponding changes.
8458
8459 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8460 conditions to work with latest dejagnu/expect.
8461
8462 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8463 expected to fail on the PA.
8464 (backtrace in call with trampolines): Explicitly require main
8465 to be frame #1 (no trampolines should show up in backtrace).
8466
8467 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8468 "continue -expect".
8469 * gdb.t06/break.exp: Likewise.
8470 * gdb.t07/watchpoint.exp: Likewise.
8471 * gdb.t13/bitfields.exp: Likewise.
8472 * gdb.t15/{funcargs,return}.exp: Likewise.
8473 * gdb.stabs/weird.exp: Likewise.
8474 * config/{mips,udi}-gdb.exp: Likewise.
8475
8476 * hppa.sed: Enclose comments within a sed command to avoid
8477 losing with the old OSF1 sed.
8478
8479Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8480
8481 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8482 sequent dynix.
8483 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8484 * gdb.t15/funcargs.exp: Conditionally step again to really
8485 finish from marker_call_with_trampolines. Handle the case where
8486 the first step from within call_with_trampolines already steps
8487 us back to main.
8488 * gdb.t15/gdbme.c: Add comment to closing brace of
8489 call_with_trampolines for funcargs.exp.
8490
8491Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8492
beb998c6 8493 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8494 Fix typo(s).
8495
8496Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8497
8498 * gdb.t07/gdbme.c: More code for watchpoint testing.
8499
8500 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8501 "Hardware watchpoint" throughout file.
8502 (test_watchpoint_triggered_in_syscall): New test.
8503 (test_complex_watchpoint): New test.
8504
8505Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8506
8507 * gdbme.c (call_with_trampolines): New function to try and step
8508 into. Tests trampoline problems on the PA.
8509
8510 * funcargs.exp (localvars_in_indirect_call): No longer expect
8511 stepping into indirect call to fail on PAs.
8512 (test_stepping_over_trampolines): New test.
8513
8514Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8515
8516 * TODO: Add suggestions for static member function tests, and
8517 completion tests.
8518
8519Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8520
8521 * TODO: Add suggestions for "p/a" tests.
8522
8523 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8524 (default_gdb_exit): Replace all the hair with sending "quit" to
8525 the process with a simple close.
8526
8527Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8528
8529 * TODO: Add suggestions for shared library tests.
8530
8531Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8532
8533 * TODO: Add suggestions for x/s tests.
8534
8535Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8536
8537 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8538 "enable once", and "enable breakpoints once" with ".*".
8539
8540Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8541
8542 * TODO: Add suggestions about structure passing tests.
8543
8544Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8545
8546 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8547 the primary1 test, use work around if __GNUC__ < 2.
8548 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8549 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8550 Test for bad output rather than waiting for timeout. Issue
8551 second continue only if first continue failed.
8552
8553Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8554
8555 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8556 operator[] test with gdb_test because the old code didn't seem to
8557 be getting the quoting right with the new dejagnu.
8558
8559Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8560
8561 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8562 one from the path.
8563 * Makefile.in: Use a fresh expect if there is one, use runtest
8564 from the src tree if there is one.
beb998c6 8565
c906108c
SS
8566Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8567
8568 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8569 next over recursive call. Revise the tests from that point on
8570 (which had been skipped) to match GDB's actual (correct) output.
8571
8572 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8573 with next over a breakpoint whose condition is false.
8574
8575 * gdb.t00/help.exp: Comment out "help set print" tests just like
8576 (and for same reason as) "help set" test.
8577
8578Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8579
8580 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8581 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8582
8583Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8584
8585 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8586 necessary gdb_target_udi.
8587
8588 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8589
8590 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8591 1838 and 2417; they are fixed.
8592
8593 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8594 gdb.t03/ptype.exp (ptype structure, ptype union):
8595 Remove xfails; the test is looser than when the xfails were added.
8596
8597 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8598 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8599
8600 * gdb.t01/run.exp: Only run shell test if isnative.
8601
8602 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8603 since "run" automatically loads if necessary. Call gdb_target_udi
8604 after the "file" since "file" kills any execution target.
8605
8606 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8607 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8608 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8609 argument for UDI.
8610
8611Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8612
8613 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8614
8615 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8616
8617Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8618
8619 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8620 properly quoting regexps. This makes the second argument to
8621 demangle a fixed string, which matches the callers, instead of a
8622 shell-style pattern which is what the previous implementation
8623 used. Update some of the callers.
8624
8625Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8626
8627 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8628 (comib_nullified_tests): Fix typo.
8629 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8630 strings. No longer expected to fail.
8631
8632 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8633 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8634 strings. No longer expected to fail.
8635
8636 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8637 string. No longer expected to fail.
8638
8639Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8640
8641 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8642 No longer expected to fail.
8643
8644 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8645 string. No longer expected to fail.
8646
8647Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8648
8649 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8650 only in the names (I probably got most of them). I was even
8651 generous with some which differed in underscores in names, and
8652 probably missed a few, and I *still* was able to remove almost a
8653 third of the file with almost no impact on testsuite coverage.
8654
8655Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8656
8657 * gdb.t00/default.exp: Match udi_attach error message as well as
8658 the one from child_attach.
8659
8660 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8661
8662 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8663
8664 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8665 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8666
8667 * Move test with enums and partial symbols back to
8668 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8669 Reverts the change of 26 May 93. Per today's change to
8670 stabs.texinfo, the behavior that weird.exp was expecting was
8671 unreasonable; what is important is that the compiler+gdb get
8672 things right, which happens with a recent gcc. Also fix the test
8673 to deal with native compilers which put out the stab gdb can't
8674 deal with.
8675
8676Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8677
8678 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8679 in the names. The main thing these accomplish is to slow things down.
8680 Many more such duplicates surely remain.
8681
8682 * gdb.t00/help.exp: Comment out "help support" test just like
8683 (and for same reason as) "help set" test.
8684
8685Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8686
8687 * gdb.t06/break.exp: Remove setup_xfails for
8688 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8689 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8690 about known bug in gcc to include up through 2.5.8.
8691 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8692 well as "_vb$".
8693 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8694 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8695 with latest gcc and gdb.
8696 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8697 well as "_vb$".
8698
8699Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8700
8701 * configure.in (hppa*-*-*): Also configure and build stabs-only
8702 tests.
8703
8704Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8705
8706 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8707 * gdb.t10/configure.in (hppa*-*-*): Use it.
8708
8709Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8710
8711 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8712
8713Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8714
8715 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8716 versions prior to 1.13.5.
8717
8718Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8719
8720 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8721 the prompt is at the start of a line.
8722
8723Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8724
8725 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8726 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8727 in the copr tests now.
8728 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8729 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8730 expected to fail.
8731
8732Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8733
8734 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8735 gdb.t31/chillvars.exp, lib/gdb.exp:
8736 Tweak to run under either version of expect.
8737 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8738 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8739 * gdb.t11/list.exp: Remove extraneous whitespace.
8740
8741Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8742
8743 * gdb.t16/printcmds.exp (test_print_strings): Accept
8744 "(unsigned char *) " before the string.
8745
8746 * TODO: Add notes about printing of fancy types and GDB expressions.
8747
8748Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8749
8750 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8751 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8752 if doing mips-idt-ecoff.
c906108c
SS
8753
8754Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8755
8756 * Most .exp files: Tweak to run under either version of expect.
8757
8758Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8759
8760 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8761 xfails; I'm not sure why they are failing, but not because of PR 1806.
8762
8763Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8764
8765 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8766 defined in lib/gdb.exp.
8767
8768Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8769
8770 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8771 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8772 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8773 have to be typeless.
8774
8775Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8776
8777 * TODO: Add suggestion for copyright year test.
8778
8779Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8780
8781 * configure.in (*-*-lynxos*): Add stabs tests.
8782
8783Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8784
8785 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8786 so insert a tab before any assembler directive in column zero.
8787
8788 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8789 stores.
8790 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8791 stores.
8792 (fpu_short_memory_tests): Likewise.
8793
8794Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8795
8796 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8797 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8798 .stabs directives in comments.
8799
8800Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8801
8802 * TODO: New file, describing tests we could write.
8803 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8804
8805Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8806
8807 * gdb.t06/signals.exp: Add kludge to force re-sync.
8808
8809 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8810 to xgdb instead of gdb, get out of gdb.
8811
8812Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8813
8814 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8815 for info.
8816
8817Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8818
8819 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8820 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8821 * gdb.stabs/hppa.sed: New sed script for the PA.
8822
8823Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8824
8825 * gdb.stabs: Re-write weird.def and configuration to use sed
8826 instead of cpp. sed is portable and POSIX; cpp is neither.
8827
8828Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8829
8830 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8831
8832Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8833
8834 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8835
8836Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8837
8838 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8839 "_vb$".
8840 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8841 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8842
8843Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8844
8845 * lib/gdb.exp: Comment out code which depends on non-existent
8846 `transform' procedure.
8847
8848Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8849
8850 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8851 * lib/gdb.exp: Transform tool name.
8852 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8853 1.1's new error handling system.
8854
8855Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8856
8857 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
8858
8859Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8860
8861 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
8862 They made pattern matching so slow that timeouts happened on
8863 heavily loaded systems. Now any output from "show print" which
8864 gets us back to the GDB prompt is a PASS.
8865
8866Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
8867
8868 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
8869
8870Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8871
8872 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
8873
8874 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
8875 It is not from PR 3220.
8876
8877Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8878
8879 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
8880 just started failing because they depended on the order the
8881 subcommands are presented, or exact docstring text. This kind of
8882 test is a pain and has minimal benefit.
8883
8884Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8885
8886 * gdb.t09/corefile.exp: At end of test, use "core" command with
8887 no arguments.
8888
8889Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
8890
8891 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
8892 17}/Makefile.in: Make it possible to run the testsuite with Sun
8893 make and CC = cross gcc by adding explicit build rules for .o
8894 files.
8895
8896Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8897
8898 * gdb.t15/funcargs.exp: Don't put comments on same line as
8899 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 8900
c906108c
SS
8901Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8902
8903 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
8904
8905Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
8906
8907 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
8908 * gdb.t20/inherit.exp: remove three dumplicate entries.
8909
8910Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8911
8912 * gdb.t06/break.exp: For "next over recursive call", fail on any
8913 incorrect output, not just on "factorial (value=2)".
8914
8915Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8916
8917 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
8918 working now. Add an xfail if accesing a bss variable causes
8919 a memory error if the target is not yet run.
8920
8921Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8922
8923 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
8924 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
8925 name of __st* demangling (2 strings). Did Kung really get the
8926 more than 95 others right without testing them?
8927
8928Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
8929
8930 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
8931
8932Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
8933
8934 * configure.in (configdirs): Add gdb.disasm
8935 * gdb.disasm: New directory for GDB disassembler tests.
8936 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
8937
8938Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8939
8940 * gdb.t00/help.exp: Don't test "help set".
8941
8942 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
8943 from within expect statements. None of these happen anymore and
8944 they cause regressions to be silently unnoticed.
8945
8946 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
8947 messages) about known failures with gcc cygnus-2.4.5-930417.
8948
8949 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
8950 comp-info.exp so it gets built if it doesn't exist.
8951
8952 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
8953 it is no longer used.
8954 * gdb.t13/comp-info.c: Removed.
8955
8956Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8957
8958 * gdb.t06/signals.exp: Add xfail for sun3.
8959
8960Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8961
8962 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
8963 relevant because ^C doesn't get sent but failure can be reproduced
8964 interactively).
8965
8966Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8967
8968 * gdb.stabs/alpha.mt: New configuration file for alpha.
8969 * gdb.stabs/configure.in: Use it.
8970 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
8971 sharing with alpha.mt, redefine long to word via preprocessor.
8972 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
8973 for alpha.
8974 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
8975 native cc.
8976 * gdb.t00/teststrategy.exp: Change expect string so that we
8977 consume the `(xgdb)' from the command echo and from the gdb prompt.
8978 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
8979 gdb currently compares all values as long, so this failure probably
8980 applies to any configuration where LONGEST is bigger than a target int.
8981 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
8982 with gcc.
8983 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
8984 to handle opaque pointers, gcc is.
8985 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
8986 as first argument. Include <sys/types.h> and change all operator
8987 new definitions to use size_t.
8988 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
8989 now that we use size_t.
8990
8991Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8992
8993 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
8994 a long or float array cast all array members to the same type.
8995 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
8996 with 64 bit longs.
8997 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
8998 on alpha.
8999 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9000
9001Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9002
9003 * gdb.t24 (demangle.exp): Constructors of templates have names like
9004 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9005 section 14.6 of the ARM.
9006
9007 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9008 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9009 accomplish little and slow down the testsuite.
9010
9011 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9012 Accept spaces various places.
9013
9014Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9015
9016 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9017 with watchpoint enabled.
9018
9019 * Makefile.in: Remove definition of CC and remove the second
9020 definition of CXX (the "CXX = gcc" one remains). These definitions
9021 were causing backquotes to be expanded within backquotes, which
9022 doesn't work.
9023
9024Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9025
9026 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9027
9028Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9029
9030 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9031 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9032 by mips cc and contains no stabs entries.
9033
9034Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9035
9036 * config/vx-gdb.exp: Use fake device to load files rather than
9037 NFS.
9038 * lib/gdb.exp: New proc to do "file" command.
9039 * config/unix-gdb.exp: Use new "file" proc.
9040
9041Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9042
9043 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9044 Rework board rebooting slightly.
9045 (gdb_exit): Don't exit from the remote shell; there isn't one.
9046 * gdb.stabs/weird.exp: If a program is being debugged already,
9047 kill it.
9048 * gdb.t04/setvar.exp: Stop and restart gdb.
9049 * gdb.t05/expr.exp: Likewise.
9050 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9051 restart gdb and reload the program.
9052 * gdb.t08/opaque.exp: Likewise.
9053 * gdb.t12/scope.exp: Likewise.
9054 * gdb.t13/bitfields.exp: Likewise.
9055 * gdb.t15/funcargs.exp: Likewise.
9056 * gdb.t20/classes.exp: Likewise.
9057 * gdb.t03/ptype.exp: Increase timeout.
9058 * gdb.t16/printcmds.exp (test_print_string_constants,
9059 test_print_array_constants): Likewise.
9060 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9061 * gdb.t20/classes.exp (do_tests): Likewise.
9062 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9063
9064Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9065
9066 * gdb.stabs: Renamed *wierd* to *weird*.
9067
9068Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9069
9070 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9071 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9072
9073Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9074
9075 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9076 (do_tests): Remove xfail for whatis on one_var and two_var.
9077
9078Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9079
9080 * Makefile.in: Made cross building work better by adding
9081 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9082
9083Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9084
9085 * gdb.t15/{return.c,return.exp,Makefile.in}:
9086 New test, currently commented out.
9087
9088Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9089
9090 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9091 still running and removes the leftover named socket so GDb can do
9092 clean restarts.
9093
9094Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9095
9096 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9097 console, not GDB.
9098 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9099 cross testing works better with "make check"
9100 * config/unix-gdb: Use default procedures for exit and version.
9101 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9102 with the newest VxWorks.
9103
9104Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9105
9106 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9107 old form.
9108
9109 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9110 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9111
9112 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9113
9114 * config/unix-gdb.exp: Remove this version of gdb_exit
9115 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9116 Rob says he'll look at it when he gets back to testing boards.
9117
9118Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9119
9120 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9121 an expected fail for certain ptype commands.
9122
9123 * gdb.t20/classes.exp: Update expected results of "ptype class
9124 Base1" to account for the constructor that now appears in the type.
9125
9126Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9127
9128 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9129 disappeared from list.
9130 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9131 "alldone" proc with call to cleanup and exit.
9132 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9133 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9134 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9135 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9136 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9137 "alldone" proc with simple returns that suppress remaining
9138 tests. The alldone proc went away many months ago.
9139
9140Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9141
9142 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9143
9144 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9145
9146Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9147
9148 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9149 as vax gdb will display them.
9150
9151Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9152
9153 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9154 optimizers.
9155
9156 * scope.exp: Change "bad value for localval" messages so each one
9157 is unique.
9158
9159 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9160 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9161
9162 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9163
9164Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9165
9166 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9167 doesn't exist (due to optimization).
9168
9169Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9170
9171 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9172 contains \r because the filename is long.
9173
9174 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9175 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9176
9177Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9178
9179 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9180 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9181 Ultrix.
9182 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9183 int tests.
9184 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9185
9186Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9187
9188 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9189
9190 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9191 to match does not match the passing case but still matches the
c906108c
SS
9192 failing case.
9193
9194Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9195
9196 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9197
9198Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9199
9200 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9201 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9202 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9203 Remove various versions of gdb_exit.
9204 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9205 gdb_exit.
9206 * config/unix-gdb.exp: gdb_exit remains here, and should override
9207 the generic version, since it's doing a lot of wierd stuff that
9208 the other versions aren't. FIXME, fold it in, or abandon this
9209 version.
9210
9211Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9212
9213 * gdb.t24/demangle.exp: Add tests for PR 3220.
9214
9215Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9216
9217 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9218
9219Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9220
9221 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9222 "i386-*-*". Works for i486 as well.
9223
9224 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9225 bug, and expand domain of xfail to all SVR4 systems, since the
9226 actual problem is likely to be in generic SVR4 /proc support.
9227
9228Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9229
9230 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9231
9232Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9233
9234 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9235 xfails for other systems. Match a missing 'Continuing.' as an
9236 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9237
9238 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9239 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9240 Only issue warning for missing executables if -all option is used.
9241
9242 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9243 file if -all option is used. It's like an unpredictable XFAIL.
9244
9245Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9246
9247 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9248 for dynamically linked binaries.
9249
9250 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9251
9252Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9253
9254 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9255 to state that this is a known bug in old versions of g++.
9256
9257Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9258
9259 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9260 while waiting for `Continuing'.
9261
9262Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9263
9264 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9265 in text, data, and bss.
9266 * gdb.t10/nodebug.c: Add local and global test variables for
9267 initialized and uninitialized data.
9268
9269Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9270
9271 * config/unix-gdb.exp (gdb_exit): Add "wait".
9272
9273Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9274
9275 * gdb.t06/signals.exp: xfail the continue from the handler for all
9276 targets.
9277
9278 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9279 function with watchpoints enabled, the i386 call dummy starts with
9280 a call.
9281
9282 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9283 386 bsd names its corefiles.
9284
9285Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9286
9287 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9288 compilers don't grok it.
9289 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9290 with small octal ints rather than character constants, which
9291 are signed and might not fit if first promoted to int.
9292
9293Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9294
9295 * gdb.t09/Makefile.in (clean): Remove corefile.
9296
9297Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9298
9299 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9300
9301Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9302 and Jim Kingdon (kingdon@cygnus.com)
9303
9304 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9305 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9306 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9307
9308Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9309
9310 * gdb.t17/interrupt.exp: Add xfail for hppa.
9311
9312Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9313
9314 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9315 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9316 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9317 to determine signed-ness of bitfields and use the result to setup
9318 the xfail.
9319 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9320 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9321 call line is reached if necessary.
9322
9323Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9324
9325 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9326
9327Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9328
9329 * gdb.t06/break.exp: Also test `clear' command.
9330
9331Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9332
9333 * gdb.t00/teststrategy.exp: Remove extra quote.
9334
9335 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9336 watchpoint enabled to be for all non-68k machines.
9337
9338 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9339
9340Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9341
9342 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9343 targets use aout.mt instead of ecoff.mt as gas understands
9344 standard aout format.
9345
9346Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9347
9348 * lib/gdb.exp (runto): Don't insist that function we are running to
9349 was compiled with -g.
9350
9351 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9352
9353 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9354 to get back into the read system call.
9355 Accept leading newline in case where we woke it up.
9356
9357Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9358
9359 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9360 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9361 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9362 enable ecoff configuration.
9363
9364Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9365
9366 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9367
9368Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9369
9370 * gdb.t16/printcmds.exp: Add another printf test.
9371
9372Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9373
9374 * configure.in: If configured -with-stabs on any target, add
9375 stabsdirs to configdirs.
9376
9377Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9378
9379 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9380 fun" so pattern does not match the command itself.
9381
9382Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9383
9384 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9385
9386Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9387
9388 * gdb.t17/interrupt.exp: Test for more things.
9389
9390Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9391
9392 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9393 compiler arranges the code and line numbers.
9394
9395 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9396
9397Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9398
9399 * gdb.t00/help.exp: Increase expect input buffer size.
9400
9401Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9402
9403 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9404
9405 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9406
9407 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9408
9409 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9410 [0-9]*, not just [0-9].
9411
9412Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9413
9414 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9415
9416 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9417
9418Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9419
9420 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9421
9422Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9423
9424 * gdb.t06/signals.c: Add xfails for sun3.
9425
9426 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9427
9428 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9429 test_stepping tests.
9430
9431Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9432
9433 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9434
9435 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9436
9437 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9438 rather than actually putting it through cpp twice.
9439
9440 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9441
9442Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9443
9444 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9445 no longer needed.
9446
9447Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9448
9449 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9450
9451 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9452 C++ features prints as "struct", make it a pass, not an xfail.
9453
9454Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9455
9456 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9457 Don't require VA to print as "class" rather than "struct".
9458
9459Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9460
9461 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9462
9463Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9464
9465 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9466
9467Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9468
9469 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9470 order.
9471
9472Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9473
9474 * gdb.t16/printcmds.exp: Add printf tests.
9475
9476 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9477
9478 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9479
9480Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9481
9482 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9483 pass counts, to counteract any existing or future setup_xfails.
9484
9485Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9486
9487 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9488 {BEGIN,END}_COMMON for common block instead of STAB.
9489 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9490
9491 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9492 intp_var should be N_GSYM not N_LSYM.
9493 wierd-aout.S: Use a label for the value of the N_SO.
9494 wierd.def: Remove all backslashes.
9495 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9496
9497Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9498
9499 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9500 get the expected next to inheritance3.
9501
9502Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9503
9504 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9505 now that gcc-2.4 gets it right.
9506
9507Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9508
9509 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9510
9511 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9512 generating comp-info.exp which works for cross-compilation.
9513
9514Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9515
9516 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9517 "*-*-sysv4.*".
9518
9519Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9520
9521 * gdb.t01/run.exp: Start with a fresh gdb.
9522 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9523 SVR4.x.
9524
9525Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9526
9527 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9528 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9529 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9530 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9531 things to remove.
9532
9533Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9534
9535 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9536 test cases from bug reports.
9537
9538Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9539
9540 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9541 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9542 avoid spurious xfails.
9543 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9544 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9545 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9546
9547Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9548
9549 * gdb.t00/teststrategy.exp: Rework to provide more useful
9550 description of each test, fix problem with systems that define
9551 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9552 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9553 results for "next over recursive call" so timeouts aren't taken
9554 by error.
9555
9556Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9557
9558 * gdb.t12/scope.exp: Test printing of variables before run.
9559
9560 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9561 printed in wrong order due to sorting.
9562
9563Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9564
9565 * gdb.t00/teststrategy.exp: Fix expected results for printing
9566 user entered string constant. Is array of char, prints with no
9567 address.
9568
9569 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9570 commands.
9571 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9572 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9573 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9574 of struct of char arrays.
9575 * gdb.t00/radix.exp: New tests for radix commands.
9576
9577Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9578
9579 * gdb.t16/printcmd.exp: Print a variable before running program
9580 (with xfail for AIX).
9581
9582Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9583
9584 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9585
9586 * gdb.t16/printcmd.exp: Don't print variables before running program.
9587
9588 * gdb.t06/break.exp: Don't require envp argument to main.
9589
9590 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9591
9592 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9593 Add xfails for rs6000.
9594
9595 * gdb.t02/whatis.exp: Change other tests not to re-test something
9596 we already tested.
9597
9598 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9599 each type used has a variable of that type.
9600
9601Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9602
9603 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9604
9605Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9606
9607 * configure.in: change srctrigger to be a file, not a directory
9608
9609Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9610
9611 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9612
9613 * gdb.t11/list.exp: Fixed a couple of typos.
9614
9615Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9616
9617 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9618 is fixed and PR is closed.
9619 * gdb.t16 (gdbme.c): Add simple test string variable.
9620 * gdb.t16 (printcmds.exp): Add tests with simple test string
9621 variable, primarily for boundaries on "set print elements".
9622
9623Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9624
9625 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9626 Make leading 0's optional and don't expect a tab in the middle
9627 of the number.
9628
9629 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9630
9631 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9632 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9633 don't end command passed to gdb_test with newline.
9634
9635 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9636 signed keyword away, don't expect signed bitfields to be signed.
9637
9638 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9639 printing with only as many 1's as are in the field as well as printing
9640 with 32 1's (see comment).
9641
9642Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9643
9644 * gdb.t00/default.exp: Start with a fresh gdb.
9645 * configure.in (configdirs): Remove gdb.t31 until the chill
9646 compiler works again. It no longer is able to find chillrt0
9647 since it isn't in libchill.a anymore.
9648 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9649 wierd.o, make more modular.
9650 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9651 spurious newlines that caused problems.
9652
9653Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9654
9655 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9656 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9657 gdb.stabs/wierd.{exp,def}: Many new tests.
9658
9659 * gdb.t00/default.exp: update info line for new message.
9660
9661 * gdb.t02/{whatis.exp,gdbme.c}:
9662 Test that "char *" doesn't print as "caddr_t".
9663
9664Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9665
9666 * gdb.t00/help.exp: Use .* in place of some help messages which
9667 just changed.
9668 gdb.t00/default.exp: Update "info frame" test for new message.
9669 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9670 Remove some xfails
9671
9672Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9673
9674 * gdb.t03/{gdbme.c,ptype.exp}:
9675 Add tests for typedef'd struct and union without tags.
9676 Also check "whatis" on a variable of a typedef'd enum without a tag.
9677
9678 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9679 PRMS 1823; the bug still exists but isn't reproduced by this test
9680 anymore), and remove rs6000 XFAIL (the bug is fixed).
9681
9682 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9683 duplicated from whatis.exp. For those that are left, accept
9684 "long", "long int", or "int" for long variables (whatis.exp already
9685 has an XFAIL for "int", so no need to fail it here).
9686
9687 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9688 Deal with GCC's names for types now that GDB uses the compiler's names.
9689
9690 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9691 setup_xfail's for sunos4. If we #defined the signed keyword away,
9692 don't expect GDB to know that char it is signed.
9693
9694 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9695
9696Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9697
9698 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9699 should work on any system, regardless of debugging format.
9700 * gdb.t21/demangle.exp: Move to gdb.t24.
9701 * gdb.t24/demangle.exp: Move from gdb.t21.
9702 * gdb.t24/{Makefile.in, configure.in}: New files.
9703
9704Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9705
9706 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9707 * gdb.stabs: New directory.
9708
9709Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9710
9711 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9712 not just "Quit anyway?".
9713
9714Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9715
9716 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9717 that all setup_xfails are immediately followed by clear_xfails.
9718
9719Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9720
9721 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9722 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9723 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9724 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9725 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9726 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9727 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9728 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9729 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9730 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9731 gdb.t31/chillvars.exp, lib/gdb.exp:
9732 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9733 bug-gdb@prep.ai.mit.edu.
9734
9735Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9736
9737 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9738 with 0.0, not integer 0.
9739
9740Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9741
9742 * gdb.t06/break.exp: Update for "Kill the program" message change.
9743
9744Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9745
9746 * Makefile.in (GDBFLAGS): Set to -nx.
9747 * Makefile.in (site.exp): Use GDBFLAGS.
9748
9749Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9750
9751 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9752 Makefiles.
9753 (check): depend on just-check.
9754 (just-check): added so that tests can be run without a noop
9755 build pass.
9756
9757Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9758
9759 Switch to using configure's configdirs.
9760 * Makefile.in (Makefile): add configure.in dependency.
9761 (SUBDIRS): removed redundant assignment.
9762 * configure.in: switch subdirs assignment to configdirs.
9763 * gdb.t*/configure.in: new files.
9764
9765Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9766
9767 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9768 works.
9769
9770Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9771
9772 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9773 in explicit rules. Apparently this is not supported by some makes.
9774
9775Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9776
9777 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9778
9779Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9780
9781 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9782 disappeared.
9783
9784Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9785
9786 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9787
9788Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9789
9790 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9791 watchpoint problem that is now fixed.
9792 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9793 uninitialized convenience variables.
9794 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9795 structures.
9796
9797Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9798
9799 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9800 which causes expect to get out of sync with gdb on long output
9801 from help set.
9802 * gdb.t09/corefile.exp: Make expected pattern for core file
9803 failing signal and frame output format less sun specific.
9804
9805Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9806
9807 * gdb.t31/chillvars.exp: Add and remove initial dummy
9808 breakpoint, so that symbol table is forced in.
9809 (Needed at least on Sunos4, though it seems not SVR4.)
9810 * gdb.t31/chillvars.exp: Update for changed output format.
9811
9812Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9813
9814 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9815
9816Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9817
9818 * Makefile.in: Added --srcdir when invoking runtest, removed the
9819 need for a local config file. (optional now)
9820
9821Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9822
9823 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9824 failure count used to force early termination. Add some more
9825 expected failures for gnu style demangling.
9826
9827Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9828
9829 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9830 pmi variable from gdb.t20/gdbme to get optimized away.
9831 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9832 Check for written corefile upon timeout _and_ eof.
9833
9834Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9835
9836 * config/unix-gdb.exp: Add missing return 0.
9837
9838Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9839
9840 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9841 test termination.
9842
9843Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9844
9845 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9846 disappeared.
9847
9848Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9849
9850 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9851 time as i860 support works.
9852
beb998c6 9853 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
9854 "backtrace 100\r" rather than just "backtrace\r", to match last
9855 change.
9856
9857Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
9858
9859 * config/udi-gdb.exp (gdb_exit): Remove close command.
9860 (gdb_target_udi): New procedure to set the UDI target.
9861 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
9862 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
9863 Added waits for prompts after several question responses. Added
9864 some more responses used by a29k-amd-udi-gdb.
9865 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
9866 pass different arguments, restart UDI connection after program
9867 completion.
9868 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
9869 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9870 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
9871 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
9872 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
9873 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
9874 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9875 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
9876 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
9877 after program completion.
9878 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
9879 compiled with a SELECT_VECS setting.
9880 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
9881 infinite recursion.
9882
9883 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
9884 Added checks for COFF results, and made them expected failures for
9885 all targets. It would be better to make them expected failures
9886 for COFF targets only.
9887
9888Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
9889
9890 * Makefile.in: add null dvi target, don't bother to recurse
9891 through test directories for info and install-info; rename
9892 $(datadir) to be dejagnu instead of deja-gnu
9893
9894Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
9895
9896 * gdb.t31/gdbme.ch: Re-enable code that previously caused
9897 compiler to coredump.
9898 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
9899 code.
9900
9901Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
9902
9903 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
9904 coredump.
9905 * gdb.t31/chillvars.exp: Comment out tests that depend on that
9906 code.
9907
9908Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
9909
9910 * gdb.t03/ptype.exp: tests for return code from gdb_test.
9911 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
9912 which in a shell. Deletes xgdb when done.
9913 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
9914 Tests the return from the "set height" or "set width" commands.
9915 Added a few return codes where needed.
9916
9917Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
9918
9919 * Makefile.in (SUBDIRS): Add gdb.t17.
9920 * configure.in (subdirs): Add gdb.t17.
9921 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
9922 files to test gdb's calling of functions in the inferior with
9923 the correct arguments and gdb's ability to retrieve any
9924 result returned.
9925
9926Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
9927
9928 * config/unix-gdb.exp (gdb_exit): Remove close commands that
9929 may be called after gdb goes away. Previous versions of expect
9930 needed these to avoid file descriptor leaks, but they cause
9931 errors with the current revision of expect.
9932 * gdb.t00/gdbvars.exp: Use -re on expected output after
9933 setting sevenbit-strings.
9934 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
9935 to set sevenbit-strings consistent across tests.
9936 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
9937 set sevenbit-strings consistent across tests.
9938
9939Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
9940
9941 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
9942 expected output to match current "expect" expectations.
9943
9944Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
9945
9946 * gdb.t00/default.exp: Change expected output for default "source"
9947 command, to match new gdb behavior which requires a filename to
9948 source.
9949
9950Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
9951
9952 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
9953 expected fail for i486-*-* that misses the marker2 function.
9954 * gdb.t10/crossload.exp (bfddefault): Allow successful
9955 recognition of a format to pass even if no symbols are found.
9956 Explicitly catch failures where the format is not recognized
9957 or is ambiguous, and add the reason to the fail message.
9958 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
9959 the cause is and invalid target and add reason to failure message.
9960 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
9961 elf32-i386, elf32-sparc, and elf32-i860.
9962 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
9963 Set up expected failure for 'filename'::variable scope resolution,
9964 which is now apparently broken on all targets.
9965 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
9966 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
9967 gdb.t23/templates.exp: Change failure for missing binfile into
9968 just a warning.
9969 gdb.t21/demangle.exp: Change all cfront references to 'arm'
9970 references.
9971
9972Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
9973
9974 * gdb.t00/default.exp: Add expected output for default "source"
9975 command, to match new gdb behavior.
9976 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
9977
9978Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
9979
9980 * config/*-gdb.exp: returns an error, rather than exiting on
9981 internal errors.
9982
9983Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
9984
9985 * gdb.t03/gdbme.c: Add pointer to struct variable.
9986 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
9987 referencing struct members.
9988
9989Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
9990
9991 * configure.in (mips-idt-ecoff): New target.
9992 * config/mips-gdb.exp: New file for remote board using MIPS remote
9993 debugging protocol.
9994
9995 * Redid configuration scheme. Removed gdb.t*/configure.in.
9996 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
9997 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
9998 distclean targets. Built executables via .o files. Adjusted
9999 tests to account for source files in $(srcdir) rather than
10000 $(objdir).
10001 * lib/gdb.exp (runto): Don't expect () after the function name,
10002 because it may have arguments.
10003
10004Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10005
10006 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10007 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10008 expected failures for mips-idt-* and mips-sgi-*.
10009 * gdb.t00/default.exp (attach): Kill process if requested.
10010 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10011 that does not read core files.
10012 * gdb.t01/run.exp: Removed checks for exit status code.
10013 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10014 it is linked in.
10015 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10016 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10017 appropriate, rather than doing it by hand.
10018 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10019 execution.
10020 * gdb.t10/crossload.exp: Kill existing program if needed.
10021 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10022 appropriate, rather than doing it by hand. Always increase
10023 timeout for this test, not just for VxWorks.
10024
10025Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10026
10027 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10028 of Chill STRUCT types and STRUCT values.
10029 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10030 than "char".
10031 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10032 struct2): New struct definitions and initializations to test
c906108c
SS
10033 simple Chill STRUCT types.
10034
10035Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10036
10037 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10038 the null byte at the end of strings.
10039 * gdb.t00/default.exp: Make show version insensitive to copyright
10040 date.
10041 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10042 to avoid dependencies on target char signedness.
10043 * gdb.t16/printcmds.exp: Update expected results for explicitly
10044 unsigned char.
10045 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10046 now work.
10047 * gdb.t21/demangle.exp: Add many more patterns for template
10048 demangling, most of them being expected failures.
10049 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10050 string we are matching for, to match on the whole string.
10051 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10052 and fix a whole bunch that had incorrect expected output but were
10053 passing anyway because of the bug in "proc demangle".
10054 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10055 type.
10056 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10057
10058Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10059
10060 * gdb/testsuite: made modifications to testcases, etc., to allow
10061 them to work properly given the reorganization of deja-gnu and the
10062 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10063
10064Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10065
10066 * gdb/testsuite: Initial creation of gdb/testsuite.
10067 Migrated dejagnu testcases and support files for testing nm to
10068 gdb/testsuite from deja-gnu. These files were moved "as is"
10069 with no modifications. This migration is part of a major overhaul
10070 of dejagnu. The modifications to these testcases, etc., which
10071 will allow them to work with the new version of dejagnu will be
10072 made in a future update.
10073\f
10074Local Variables:
10075mode: indented-text
10076left-margin: 8
10077fill-column: 74
10078version-control: never
10079End:
This page took 0.910283 seconds and 4 git commands to generate.