daily update
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
2307bd6a
DJ
12003-01-22 Daniel Jacobowitz <drow@mvista.com>
2
3 * gdb.exp (gdb_test_multiple): New function, cloned from
4 gdb_test. Accept a list of expect arguments as the third
5 parameter.
6 (gdb_test): Use it.
7
f2dd3617
EZ
82003-01-20 Elena Zannoni <ezannoni@redhat.com>
9
10 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
11 allow for different test tree configurations. Update some
12 tescases accordingly.
13 * gdb.arch/altivec-regs.exp: Ditto.
14 * gdb.asm/asm-source.exp: Ditto.
15 * gdb.base/advance.exp: Ditto.
16 * gdb.base/display.exp: Ditto.
17 * gdb.base/long_long.exp: Ditto.
18 * gdb.base/mips_pro.exp: Ditto.
19 * gdb.base/overlays.exp: Ditto.
20 * gdb.base/relocate.exp: Ditto.
21 * gdb.base/setshow.exp: Ditto.
22 * gdb.base/step-line.exp: Ditto.
23 * gdb.base/step-test.exp: Ditto.
24 * gdb.base/until.exp: Ditto.
25 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
26
c71cdefd
DC
272003-01-17 David Carlton <carlton@math.stanford.edu>
28
29 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
30 corresponding to PR c++/945.
31 Update copyright.
32
fdba05d7
DC
332003-01-17 David Carlton <carlton@math.stanford.edu>
34
35 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
36 corresponding to PR c++/68.
37
382003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
39
40 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
41 (test_paddr_hairy_functions): Call print_addr_2_kfail for
42 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
43
c362c33a
EZ
442003-01-15 Elena Zannoni <ezannoni@redhat.com>
45
0fbc361c
EZ
46 * gdb.base/break.exp: Fix change of default location, because of
47 removal of until tests.
48 * gdb.base/help.exp: Update test for new 'until' help message.
49 Add test for help on 'advance'.
c362c33a
EZ
50 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
51
dabf8a35
MK
522003-01-15 Mark Kettenis <kettenis@gnu.org>
53
54 * gdb.base/default.exp: Adapt "info float" test for recent changes
55 to that command. Add test for "info vector".
56 * gdb.base/float.exp: New file. Add test for "info float" that
57 resembles the old test in gdb.base/default.exp.
58
a1769aca
DC
592003-01-15 David Carlton <carlton@math.stanford.edu>
60
61 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
62
82025e13
EZ
632003-01-15 Elena Zannoni <ezannoni@redhat.com>
64
65 * gdb.base/break.exp: Move the tests of until command from here...
66 * gdb.base/until.exp: ... to here. New file. Add other tests.
67 * gdb.base/advance.c: New file.
68 * gdb.base/advance.exp: New file.
69
8f9ab801
EZ
702003-01-14 Elena Zannoni <ezannoni@redhat.com>
71
72 * gdb.base/args.c: New file.
73 * gdb.base/args.exp: New file.
74
9ae66589
DJ
752003-01-14 Daniel Jacobowitz <drow@mvista.com>
76
77 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
78
8d77e5c3
DJ
792003-01-14 Daniel Jacobowitz <drow@mvista.com>
80
81 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
82
12d2f0a1
DJ
832003-01-14 Daniel Jacobowitz <drow@mvista.com>
84
85 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
86 dates.
87
6ca37014
DJ
882003-01-13 Daniel Jacobowitz <drow@mvista.com>
89
90 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
91
b0023472
DJ
922003-01-13 Daniel Jacobowitz <drow@mvista.com>
93
94 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
95 (ptype &*"foo").
96 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
97
d6abaea5
DJ
982002-01-13 Daniel Jacobowitz <drow@mvista.com>
99
100 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
101 * gdb.mi/mi1-console.exp: Likewise.
102
dfd536a7
DJ
1032002-01-13 Daniel Jacobowitz <drow@mvista.com>
104
105 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
106 * gdb.mi/mi1-console.exp: Likewise.
107
a1fb14a2
DJ
1082003-01-13 Daniel Jacobowitz <drow@mvista.com>
109
110 * gdb.c++/overload.exp: Remove some fixed XFAILs.
111
c4cf40b7
DJ
1122003-01-09 Daniel Jacobowitz <drow@mvista.com>
113
114 * gdb.base/detach.exp: New test.
115
696d5a5b
DJ
1162003-01-09 Daniel Jacobowitz <drow@mvista.com>
117
118 * Makefile.in (ALL_SUBDIRS): New variable.
119 (subdirs, clean, distclean): Use it.
120 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
121 regenerating Makefile, since it is generated from the top level.
122 * gdb.asm/Makefile.in: Likewise.
123 * gdb.base/Makefile.in: Likewise.
124 * gdb.c++/Makefile.in: Likewise.
125 * gdb.disasm/Makefile.in: Likewise.
126 * gdb.java/Makefile.in: Likewise.
127 * gdb.mi/Makefile.in: Likewise.
128 * gdb.threads/Makefile.in: Likewise.
129 * gdb.trace/Makefile.in: Likewise.
130
754533e4
DC
1312003-01-09 David Carlton <carlton@math.stanford.edu>
132
133 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
134 Add copyright year 2003.
135
d8b3e9ee
MC
1362003-01-06 Michael Chastain <mec@shout.net>
137
138 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
139 When selecting a thread, 'line' and 'file' are optional.
140 * gdb.mi/mi1-pthreads.exp: Likewise.
141
8e9e0fe6
AS
1422003-01-06 Andreas Schwab <schwab@suse.de>
143
144 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
145 failures.
146
b5ab8ff3
DJ
1472003-01-04 Daniel Jacobowitz <drow@mvista.com>
148
149 Fix PR gdb/844
150 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
151 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
152
153 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
154 instead of calling gdb_suppress_entire_file.
155 * gdb.threads/print-threads.exp: Likewise.
156 * gdb.threads/schedlock.exp: Likewise.
157
158 * gdb.threads/killed.exp: Return instead of calling
159 gdb_suppress_entire_file.
160 * gdb.threads/linux-dp.exp: Likewise.
161 * gdb.threads/pthreads.exp: Likewise.
162
1e698235
DJ
1632003-01-04 Daniel Jacobowitz <drow@mvista.com>
164
165 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
166 stabs.
167 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
168 * gdb.base/whatis.exp: Always allow (void) after function names.
169
147ff08c
DJ
1702003-01-04 Daniel Jacobowitz <drow@mvista.com>
171
172 * gdb.c++/casts.exp: Correct regexp.
173
dc62bfc2
MK
1742003-01-04 Mark Kettenis <kettenis@gnu.org>
175
176 * configure.in: Call AC_CONFIG_HEADER. Don't call
177 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
178 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
179 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
180 aforementioned directories in the AC_OUPUT call.
181 * config.hin: New file.
182 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
183 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
184 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
185 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
186 pass -I$objdir instead of -I$objdir/$subdir in compilation.
187 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
188 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
189 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
190 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
191 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
192 gdb.threads/configure.in, gdb.threads/configure,
193 gdb.threads/config.in, gdb.trace/configure.in,
194 gdb.trace/configure: Removed.
195
77afa639
MC
1962003-01-03 Michael Chastain <mec@shout.net>
197
198 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
199 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
200
7634bb6e
DJ
2012003-01-03 Daniel Jacobowitz <drow@mvista.com>
202
203 * gdb.base/store.exp: Fix regular expressions.
204
b39c905e
MK
2052002-12-28 Mark Kettenis <kettenis@gnu.org>
206
207 * configure.in: Rewrite.
208 * configure: Regenerated.
209
0a8551dd
DC
2102003-01-03 David Carlton <carlton@math.stanford.edu>
211
212 * gdb.base/psymtab.exp: New file.
213 * gdb.base/psymtab1.c: Ditto.
214 * gdb.base/psymtab2.c: Ditto.
215
c60b7188
AF
2162002-12-23 Adam Fedor <fedor@gnu.org>
217
218 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
219
ee73db83
DC
2202002-12-23 David Carlton <carlton@math.stanford.edu>
221
222 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
223 and current_directory initialization.
224
d6c1774e
JB
2252002-12-22 Jim Blandy <jimb@redhat.com>
226
f0a847b8
JB
227 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
228 rather than as part of the output file name.
229
d6c1774e
JB
230 * gdb.base/attach.exp: There's no need to copy the test program to
231 /tmp; that was only ever necessary on HP/UX, and this test is
232 entirely disabled there anyway.
233
f0708dbb
JB
2342002-12-21 Jim Blandy <jimb@redhat.com>
235
4c2acfea
JB
236 * gdb.c++/psmang.exp: Doc fix.
237
f0708dbb
JB
238 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
239 test.
240
9579e000
DC
2412002-12-20 David Carlton <carlton@math.stanford.edu>
242
243 * gdb.c++/annota2.exp: KFAIL annotate-quit.
244
d1810171
MC
2452002-12-18 Michael Chastain <mec@shout.net>
246
247 * gdb.c++/annota2.exp: Add copyright year 2002.
248
76565097
DC
2492002-12-17 David Carlton <carlton@math.stanford.edu>
250
251 * gdb.c++/try_catch.cc: Add marker comments.
252 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
253 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
254 * gdb.c++/m-static.cc: Ditto.
255 * gdb.c++/m-static1.cc: Ditto.
256 * gdb.c++/try_catch.cc: Ditto.
257
da81390b
JJ
2582002-12-16 Jeff Johnston <jjohnstn@redhat.com>
259
260 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
261 to see whether we are using the new -environment-directory
262 command which resets via -r or the old version of the command
263 which may prompt the user. Part of fix for gdb/741.
264
b304d130
AC
2652002-12-13 Andrew Cagney <ac131313@redhat.com>
266
267 * gdb.fortran/types.exp: Update obsolete comment.
268 * gdb.fortran/exprs.exp: Ditto.
269 * lib/gdb.exp: Delete obsolete code.
270 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
271 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
272 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
273 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
274 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
275 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
276 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
277 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
278 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
279 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
280 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
281 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
282 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
283 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
284 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
285 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
286 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
287 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
288 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
289 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
290 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
291 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
292 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
293 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
294 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
295 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
296 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
297 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
298 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
299 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
300 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
301 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
302 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
303 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
304 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
305 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
306 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
307
a23b6e6a
DC
3082002-12-11 David Carlton <carlton@math.stanford.edu>
309
310 * gdb.c++/m-data.exp: Add test for members that shadow global
311 variables: see PR gdb/804.
312 * gdb.c++/m-data.cc: Ditto.
313
6604731b
DJ
3142002-12-10 Daniel Jacobowitz <drow@mvista.com>
315
316 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
317
de46ecd7
DC
3182002-12-06 David Carlton <carlton@math.stanford.edu>
319
320 * gdb.base/store.c: Don't declare functions static.
321
27e829d0
AC
3222002-12-04 Andrew Cagney <ac131313@redhat.com>
323
324 * gdb.base/store.exp, gdb.base/store.c: New files.
325
92806416
DJ
3262002-12-03 Daniel Jacobowitz <drow@mvista.com>
327
328 * gdb.base/selftest.exp: Update for current gdb.
329
3bcbaac5
DJ
3302002-12-03 Daniel Jacobowitz <drow@mvista.com>
331
332 * gdb.base/maint.exp: Only dump symbols from one source file
333 or objfile.
334
f4f00b1f
DJ
3352002-12-03 Daniel Jacobowitz <drow@mvista.com>
336
337 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
338 function call.
339
f1c8a949
JB
3402002-11-25 Jim Blandy <jimb@redhat.com>
341
342 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
343 function appearing in error message.
344
9e297a97
DJ
3452002-11-21 Daniel Jacobowitz <drow@mvista.com>
346
347 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
348
1f312e79
JJ
3492002-11-08 Jeff Johnston <jjohnstn@redhat.com>
350
351 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
352 for mi1 and current mi is in correct format. New mi startup message
353 should be in mi console format. This is part of fix for PR gdb/604.
354
83c31e7d
FN
3552002-09-18 Fernando Nasser <fnasser@redhat.com>
356
357 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
358 which explicitly prints the zero offset as "+0".
359
322b3f65
DJ
3602002-10-22 Daniel Jacobowitz <drow@mvista.com>
361
362 * gdb.threads/schedlock.c (args): Make unsigned.
363
3642002-10-21 Daniel Jacobowitz <drow@mvista.com>
365
366 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
367 numbers. Allow "foo2|selected stack frame".
368 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
369 * gdb.asm/asmsrc2.s: Likewise.
370 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
371 comments.
372 * gdb.asm/mips.inc: New file.
373
5e2fe5b8
AF
3742002-10-18 Adam Fedor <fedor@gnu.org>
375
376 * gdb.base/default.exp: Update expected output to include 'ObjC'.
377 * gdb.base/help.exp: Likewise.
378
abe1a5d0
KB
3792002-10-17 Kevin Buettner <kevinb@redhat.com>
380
381 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
382 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
383
10abb1d4
JB
3842002-10-02 Jim Blandy <jimb@redhat.com>
385
386 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
387
1f609b42
AC
3882002-10-01 Andrew Cagney <ac131313@redhat.com>
389
390 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
391 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
392 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
393 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
394 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
395 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
396 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
397
0aee02e4
AC
3982002-09-29 Andrew Cagney <ac131313@redhat.com>
399
400 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
401 * mi0-disassemble.exp, mi0-eval.exp: Delete.
402 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
403 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
404 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
405 * mi0-var-block.exp, mi0-var-child.exp: Delete.
406 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
407
6fde09ad
KB
4082002-09-27 Kevin Buettner <kevinb@redhat.com>
409
410 * gdb.base/annota1.exp (info break): Make directory components of
411 path optional since not all compilers emit this debug information.
412
413 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
414 step ends up stepping out of the function instead of stopping on
415 the epilogue.
416
9e8aab75
KS
4172002-09-26 Keith Seitz <keiths@redhat.com>
418
419 * lib/insight-support.exp (gdbtk_start): Figure out where
420 the insight executable is based on where gdb is. Use this
421 executable to start insight instead of gdb.
422
e36180d7
AC
4232002-09-25 Andrew Cagney <cagney@redhat.com>
424
425 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
426
9dd34b2b
AC
4272002-09-24 Andrew Cagney <ac131313@redhat.com>
428
429 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
430 test_isolated_complaints.
431 (test_empty_complaint): New function.
432 (test_empty_complaints): New function. Check no output when no
433 complaints.
434
dea97812
KB
4352002-09-19 Jim Blandy <jimb@redhat.com>
436
437 * gdb.base/charset.exp, gdb.base/charset.c: New files.
438
54951bd7
AC
4392002-09-19 Andrew Cagney <ac131313@redhat.com>
440
441 * gdb.gdb/complaints.exp: New file.
442
dec43320
AC
4432002-09-18 Andrew Cagney <ac131313@redhat.com>
444
445 * gdb.base/maint.exp: Check `help maint internal-warning'.
446
e70d6e3f
DC
4472002-09-18 David Carlton <carlton@math.stanford.edu>
448
449 * gdb.c++/m-static.exp: Remove breakpoints depending on line
450 numbers, and replace them by a single breakpoint after the
451 constructors are all finished.
452 Add test 4.
453 * gdb.c++/m-static.cc: Add test 4.
454 * gdb.c++/m-static.h: New file.
455 * gdb.c++/m-static1.cc: New file.
456
457 * gdb.c++/printmethod.exp: New file.
458 * gdb.c++/printmethod.cc: New file.
459
460 * gdb.c++/pr-574.exp: New file.
461 * gdb.c++/pr-574.cc: New file.
462
afb5c968
CV
4632002-09-18 Corinna Vinschen <vinschen@redhat.com>
464
465 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
466 embedded targets which never actually exit.
467
31e45dee
FN
4682002-09-18 Fernando Nasser <fnasser@redhat.com>
469
470 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
471 "don't step after run" as unresolved or unsupported, instead of xfail.
472
a283c5a1
CV
4732002-09-18 Corinna Vinschen <vinschen@redhat.com>
474
475 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
476 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
477 Add newline to expected string in "step out of main (status wrapper)"
478 case.
479
11350d2a
CV
4802002-09-18 Corinna Vinschen <vinschen@redhat.com>
481
482 * lib/gdb.exp (rerun_to_main): Allow restarting application.
483 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
484
0deec7d6
TT
4852002-09-17 Tom Tromey <tromey@redhat.com>
486
487 * gdb.base/printcmds.exp (test_print_string_constants): Expect
488 \000, not \0, in double-quoted string.
489
b2b4a1b5
CV
4902002-09-14 Corinna Vinschen <vinschen@redhat.com>
491
492 * gdb.base/command.exp: Don't expect a "Program exited normally"
493 string after running the commands execution on breakpoint tests.
494
1c56143a
CV
4952002-09-13 Corinna Vinschen <vinschen@redhat.com>
496
497 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
498
37f8da45
JB
4992002-09-12 Joel Brobecker <brobecker@gnat.com>
500
501 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
502
08b468e0
KS
5032002-09-10 Keith Seitz <keiths@redhat.com>
504
505 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
506 runto proc.
507 (mi_run_to_main): Use mi_runto.
508 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
509
dc360f58
KS
5102002-09-10 Keith Seitz <keiths@redhat.com>
511
512 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
513 regexp for stopping at main. Could have multiple event notifications.
514 Don't assume that main was declared with no parameters.
515 (mi_next): Use mi_step_to.
516 (mi_step): Use mi_next_to.
517
ce3abcfb
CV
5182002-09-09 Corinna Vinschen <vinschen@redhat.com>
519
520 * gdb.base/default.exp: Fix expected string in `info float' test.
521
d1f5b980
BE
5222002-09-09 Ben Elliston <bje@redhat.com>
523
524 * config/mips.exp: Update comments.
525 * config/mips-idt.exp: Likewise.
526 * config/nind.exp: Likewise.
527 * config/slite.exp: Likewise.
528 * config/sparclet.exp: Likewise.
529 * config/udi.exp: Likewise.
530 * config/vx.exp: Likewise.
531 * config/vxworks29k.exp: Likewise.
532
2f71430b
JB
5332002-09-05 Jim Blandy <jimb@redhat.com>
534
535 * gdb.threads/killed.exp: Fix test failure message.
536
7ddebc7e
KS
5372002-09-04 Keith Seitz <keiths@redhat.com>
538
539 * lib/mi-support.exp: Update copyright.
540 (mi_gdb_test): Increase the priority of the expected pattern
541 so that it matches gdb_test.
542
0ae67eb3
KS
5432002-09-03 Keith Seitz <keiths@redhat.com>
544
545 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
546 Use integer comparison instead of string comparison for testing
547 whether binary was built.
548
38fc42c8
JB
5492002-09-03 Jim Blandy <jimb@redhat.com>
550
551 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
552
b6ff0e81
JB
5532002-08-29 Jim Blandy <jimb@redhat.com>
554
555 * gdb.threads/pthreads.exp: Move the portable thread compilation
556 code into a function in lib/gdb.exp, and call that from here.
557 * lib/gdb.exp (gdb_compile_pthreads): New function.
558
07c98896
KS
5592002-08-29 Keith Seitz <keiths@redhat.com>
560
561 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
562 expect_out so that callers can get at it.
563
0312286c
DJ
5642002-08-23 Daniel Jacobowitz <drow@mvista.com>
565
566 * gdb.threads/print-threads.c: New file.
567 * gdb.threads/print-threads.exp: New file.
568 * gdb.threads/schedlock.c: New file.
569 * gdb.threads/schedlock.exp: New file.
570
dd039bc4
EZ
5712002-08-22 Elena Zannoni <ezannoni@redhat.com>
572
573 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
574 not altivec.c.
575
1f36144c
MK
5762002-08-17 Mark Kettenis <kettenis@gnu.org>
577
578 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
579 targets. The problem should be fixed now.
580
16057ec7 5812002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
582
583 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
584 2002-07-24 change that removes final dots from error messages.
585
3c1499ad
TT
5862002-08-13 Tom Tromey <tromey@redhat.com>
587
588 * gdb.base/readline.exp: New file.
589
a20ce2c3
AC
5902002-08-01 Andrew Cagney <ac131313@redhat.com>
591
592 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
593 supress message.
594
db034ac5
AC
5952002-08-01 Andrew Cagney <cagney@redhat.com>
596
597 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
598 CHILL_FOR_TARGET and CHILL_LIB.
599 * configure.in (configdirs): Remove gdb.chill.
600 * configure: Regenerate.
601 * lib/gdb.exp: Obsolete references to chill.
602 * gdb.fortran/types.exp: Ditto.
603 * gdb.fortran/exprs.exp: Ditto.
604
3e000b18
KB
6052002-07-30 Kevin Buettner <kevinb@redhat.com>
606
607 * gdb.base/shlib-call.exp (additional_flags): Conditionally
608 set Irix-specific compile and link flags.
609
28f4966b
KB
6102002-07-29 Kevin Buettner <kevinb@redhat.com>
611
612 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
613 source files. The ``-o'' option doesn't work with the ``-E'' option
614 when using the Irix compiler.
615
46c0d5a6
DJ
6162002-07-19 Daniel Jacobowitz <drow@mvista.com>
617
618 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
619 Improve support for reusing an exec file. Copy exec file
620 to target, and run gdbserver on the target instead of on the host.
621
eecf4bed
JB
6222002-07-18 Jim Blandy <jimb@redhat.com>
623
0f815cdf
JB
624 * gdb.base/ending-run.exp: Don't expect to see the program end in
625 some orderly fashion when we're running on a real stand-alone
626 board.
627
eecf4bed
JB
628 * gdb.base/interrupt.exp: Correct logic for skipping tests on
629 targets that don't support interrupts.
630
52d309e4
JB
6312002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
632
633 * gdb.base/attach.exp: Add patterns to match output from /proc-based
634 systems.
635 Move comments in expect statements to inside the actions, so that they
636 don't get matched against.
637
ff683d9e
MK
6382002-07-10 Mark Kettenis <kettenis@gnu.org>
639
640 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
641 function when asleep" test.
642
b5356753
AC
6432002-07-10 Andrew Cagney <ac131313@redhat.com>
644
645 * gdb.base/page.exp: Rewrite to handle problems with very long
646 `info set' output. Update copyright.
647
6aa4d13a
AC
6482002-06-26 Andrew Cagney <ac131313@redhat.com>
649
650 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
651 gdb.threads-hp.
652 * gdb.hp/configure: Regenerate.
653 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
654 * gdb.hp/gdb.threads-hp/configure: Delete file.
655 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
656
8cf8c2b8
AC
6572002-06-22 Andrew Cagney <ac131313@redhat.com>
658
659 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
660 setlocale, bindtextdomain and textdomain.
661
6827a8f8
JB
6622002-06-11 Jim Blandy <jimb@redhat.com>
663
919d772c
JB
664 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
665 preprocessor macro information is present.
666
6827a8f8
JB
667 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
668 tests.
669
c15b0d21
MS
6702002-06-06 Michael Snyder <msnyder@redhat.com>
671
c5984d70
MS
672 * gdb.base/overlays.exp: Record addresses of overlay
673 functions in TCL variables rather than in GDB variables,
674 to avoid having GDB convert them to pointers (with loss
675 of information).
676
99a8512b
MS
677 * gdb.base/d10v.ld: Merge in several years worth of
678 default linker script changes.
c15b0d21
MS
679 * gdb.base/long_long.exp: Add check for sizeof (long double).
680
be26fe0d
ML
6812002-06-06 Michal Ludvig <mludvig@suse.cz>
682
683 * gdb.asm/asm-source.exp: Add x86-64 target.
684 * gdb.asm/x86_64.inc: New.
685
258093ca 6862002-05-30 Michael Chastain <mec@shout.net>
258093ca 687
4b3153f1 688 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
689 * gdb.c++/m-static.cc: New file.
690 * gdb.c++/m-static.exp: New file.
691
241264c6
MS
6922002-05-28 Michael Snyder <msnyder@redhat.com>
693
694 * gdb.base/call-ar-st.exp: Allow for reduced floating point
695 precision.
696
9bba8c8f 6972002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 698
4b3153f1 699 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
700 * gdb.c++/m-data.cc: New file.
701 * gdb.c++/m-data.exp: New file.
702
7032002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 704
4b3153f1 705 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
706 * gdb.c++/try_catch.cc: New file.
707 * gdb.c++/try_catch.exp: New file.
708
def1b996
MC
7092002-05-27 Michael Chastain <mec@shout.net>
710
711 * gdb.c++/local.exp: Accept more nested types in output.
712
522ba268
MC
7132002-05-26 Michael Chastain <mec@shout.net>
714
715 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
716
277254ba
MS
7172002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
718
719 * lib/gdb.exp (gdb_wrapper_init): Just because
720 gdb_wrapper_file exists, this does not mean that the file
721 should not be rebuilt. That is what gdb_wrapper_initialized
722 is for.
723 (default_gdb_init): Reset gdb_wrapper_initialized.
724
b61a8733
MS
7252002-05-23 Michael Snyder <msnyder@redhat.com>
726
5bdb6d01
MS
727 * gdb.base/all-bin.exp: Revise previous patch by just reducing
728 the precision of the floating point test results.
729 * gdb.base/call-rt-st.exp: Ditto.
730
b61a8733
MS
731 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
732 * gdb.base/call-rt-st.exp: Ditto.
733
56f6e910
MC
7342002-05-19 Michael Chastain <mec@shout.net>
735
736 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
737
ad0b0016
EZ
7382002-05-19 Elena Zannoni <ezannoni@redhat.com>
739
740 * configure.in (configdirs): Add gdb.arch.
741 * configure: Regenerate.
742
f617d2b6
JB
7432002-05-17 Jim Blandy <jimb@redhat.com>
744
745 * gdb.base/completion.exp: Recognize the more detailed error
746 messages produced by the macro expander's lexical analyzer.
747
eac2a696
EZ
7482002-05-14 Elena Zannoni <ezannoni@redhat.com>
749
750 * gdb.arch/altivec-abi.c: New file.
751 * gdb.arch/altivec-abi.exp: New file.
752 * gdb.arch/altivec-regs.c: New file.
753 * gdb.arch/altivec-regs.exp: New file.
754
2fdde8f8
DJ
7552002-05-14 Daniel Jacobowitz <drow@mvista.com>
756
757 * gdb.base/maint.exp (maint print type): Update for new type
758 structure.
eac2a696 759
e31f1a7c
EZ
7602002-05-14 Elena Zannoni <ezannoni@redhat.com>
761
762 * gdb.arch: New directory.
763 * gdb.arch/configure.in: New file.
764 * gdb.arch/configure: New file.
765 * gdb.arch/Makefile.in: New file.
766
db589741
CV
7672002-05-13 Corinna Vinschen <vinschen@redhat.com>
768
769 * gdb.asm/asm-source.exp: Add v850 as supported target.
770 * gdb.asm/v850.inc: New file.
771
8ce2a7dc
DJ
7722002-05-13 Daniel Jacobowitz <drow@mvista.com>
773
774 * gdb.c++/annota2.exp (annotate-quit): Add comment.
775
df763c7f
DJ
7762002-05-12 Daniel Jacobowitz <drow@mvista.com>
777
778 * gdb.base/break.exp: Check 'break "marker2"'.
779
377daeed
MS
7802002-05-10 Michael Snyder <msnyder@redhat.com>
781
782 * gdb.base/long_long.exp: Fix typo.
783
c4b7bc2b
JB
7842002-05-10 Jim Blandy <jimb@redhat.com>
785
ecac9a4e
JB
786 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
787 a bug.
788
c4b7bc2b
JB
789 * gdb.base/printcmds.exp (test_integer_literals_rejected):
790 Recognize more detailed error message produced by the macro
791 expander's lexical analyzer.
792 * lib/gdb.exp (test_print_reject): Same.
793
e71019a1
MK
7942002-05-09 Mark Kettenis <kettenis@gnu.org>
795
796 * gdb.c++/method.exp: Fix typo.
797
fedfc8e6
MS
7982002-05-08 Michael Snyder <msnyder@redhat.com>
799
166a1957
MS
800 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
801 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 802 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
803 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
804 Add iftarget clause for strongarm.
805
f1c47eb2
MS
8062002-05-06 Michael Snyder <msnyder@redhat.com>
807
cb9a9d3e
MS
808 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
809 (gdb_continue_to_end): Accept output from status wrapper.
810 * gdb.base/ending-run.exp: Add case for output from status wrapper.
811 Clean up fail messages to match pass messages.
812
f1c47eb2
MS
813 Enable the "needs_status_wrapper" testsuite feature.
814 * lib/gdb.exp (gdb_wrapper_init): New procedure.
815 (gdb_compile): Conditionally call gdb_wrapper_init.
816 * gdb.base/a2-run.exp: Recognize output from status wrapper.
817 * gdb.c++/method.exp: Recognize output from status wrapper.
818
6079c749
BE
8192002-05-06 Ben Elliston <bje@redhat.com>
820From Graydon Hoare <graydon@redhat.com>
821
822 * config/sid.exp: Include support for "rawsid" protocol.
823
188baff3
JB
8242002-05-03 Jim Blandy <jimb@redhat.com>
825
826 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
827 * gdb.c++/hang3.C: New file.
828
b9c07f0f
AC
8292002-05-04 Andrew Cagney <ac131313@redhat.com>
830
831 * gdb.base/default.exp: Remove obsolete code.
832 * gdb.c++/misc.exp: Ditto. Update copyright.
833 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
834 * gdb.base/whatis.exp: Ditto. Update copyright.
835 * gdb.base/scope.exp: Ditto. Update copyright.
836 * gdb.base/ptype.exp: Ditto. Update copyright.
837 * gdb.base/printcmds.exp: Ditto. Update copyright.
838 * gdb.base/opaque.exp: Ditto. Update copyright.
839 * gdb.base/list.exp: Ditto.
840 * gdb.base/funcargs.exp: Ditto. Update copyright.
841 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
842 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
843 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
844 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
845 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
846 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
847
5c7a0397
MS
8482002-05-02 Michael Snyder <msnyder@redhat.com>
849
d6dcc264 850 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
851 * gdb.base/long_long.exp: Add xscale target.
852 * gdb.base/default.exp: Add xscale target.
853
eb7f1c48
JB
8542002-05-01 Jim Blandy <jimb@redhat.com>
855
856 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
857 gdb.c++/hang.exp: New test.
858
a6befae8
FF
8592002-05-01 Fred Fish <fnf@redhat.com>
860
861 * gdb.base/completion.exp: Handle completions of "./Make" for
862 more than one completion possibility, as is the case when we
863 build and test in the source tree.
864
0a310277
AG
8652002-04-29 Anthony Green <green@redhat.com>
866
867 * gdb.java/jmisc1.exp: New file.
868 * gdb.java/jmisc2.exp: New file.
869
6ff9af88
DJ
8702002-04-24 Daniel Jacobowitz <drow@mvista.com>
871
872 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
873
96b3d632
EZ
8742002-04-23 Elena Zannoni <ezannoni@redhat.com>
875
876 * gdb.base/help.exp: Change 'help status' to allow for target
877 dependent output differences.
878
5019bb54
MC
8792002-04-22 Michael Chastain <mec@shout.net>
880
881 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
882
a805a116
MC
8832002-04-22 Michael Chastain <mec@shout.net>
884
885 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
886
a1706bfd
DM
8872002-04-17 David S. Miller <davem@redhat.com>
888
889 * gdb.asm/sparc64.inc: New file.
890 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
891
a73a20a2
EZ
8922002-04-19 Elena Zannoni <ezannoni@redhat.com>
893
894 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
895 instruction file directly into the build tree. Clean up at end of
896 test.
897
ba678339
DM
8982002-04-18 David S. Miller <davem@redhat.com>
899
900 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
901 handle 64-bit platforms correctly.
902 * gdb.base/maint.exp: Likewise.
903
b03399da
KB
9042002-04-18 Kevin Buettner <kevinb@redhat.com>
905
906 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
907 ``-fpic'' when compiling files comprising a shared library, but
908 it does need additional linker flags in order to find shared
909 libraries at run time.
910
e2004992
KB
9112002-04-18 Kevin Buettner <kevinb@redhat.com>
912
913 * gdb.base/cvexpr.c (use): New function.
914 (main): Invoke use() on all global variables to prevent
915 some linkers from deleting these otherwise unused symbols.
916
d8937120
MC
9172002-04-17 Michael Chastain <mec@shout.net>
918From David S. Miller <davem@redhat.com>
919
920 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
921 handle 64-bit platforms correctly.
922
ffd61a58
MS
9232002-04-12 Michael Snyder <msnyder@redhat.com>
924From Jim Blandy <jimb@redhat.com>
925 * gdb.base/foo.c (foox): Remove section attribute; the linker
926 script can handle this instead.
927 * gdb.base/bar.c (barx): Same.
928 * gdb.base/baz.c (bazx): Same.
929 * gdb.base/grbx.c (grbxx): Same.
930
931 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
932 manager doesn't automatically unmap overlays unnecessarily.
933
6b8426a6
MH
9342002-04-10 Martin M. Hunt <hunt@redhat.com>
935
936 * gdb.base/ending-run.exp: Fix pattern for Mips targets
937 stepping out of main.
938
34af4875
MC
9392002-04-09 Michael Chastain <mec@shout.net>
940
941 * gdb.c++/local.cc (main): Move call to marker1() inside nested
942 scope so that the nested scope tests will make sense.
943 * gdb.c++/local.exp: Write patterns that actually work with gcc
944 (the HP patterns "were never known to work with gcc").
945 Keep the old aCC patterns too.
946
2d1676a0
DJ
9472002-04-09 Daniel Jacobowitz <drow@mvista.com>
948
949 * gdb.base/attach.exp: Correct target board test.
950
3a63e3f9
MC
9512002-04-08 Michael Chastain <mec@shout.net>
952
953 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
954 in a const method. Add some xfail and fail cases for configurations
955 that do not emit the "const ...".
956
f18dabd2
MC
9572002-04-07 Michael Chastain <mec@shout.net>
958
959 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
960 Accept "A * const" and "const A * const" as type of "this".
961 Fix spelling of getFunky throughout. Make messages uniform.
962
0fcddd82
EZ
9632002-04-07 Elena Zannoni <ezannoni@redhat.com>
964
965 Work around for PR gdb/285:
966 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
967
16a8534a
EZ
9682002-04-07 Elena Zannoni <ezannoni@redhat.com>
969
970 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
971 instructions file at run time instead of configure time.
972 Sometimes we run the test in a directory that is not the one we
973 configured in.
974 * gdb.asm/configure.in: Delete creation of symlink.
975 * gdb.asm/configure: Regenerate.
976
24181d81
JB
9772002-04-05 J. Brobecker <brobecker@gnat.com>
978
979 * gdb.gdb/xfullpath.exp: New test, to exercise the new
980 xfullpath () function.
981
7cdb7107
DJ
9822002-04-04 Daniel Jacobowitz <drow@mvista.com>
983
984 * gdb.asm/Makefile.in: Correct dependencies.
985
986 * gdb.asm/powerpc.inc: New file.
987 * gdb.asm/asm-source.exp: Add PowerPC.
988 * gdb.asm/configure.in: Likewise.
989 * gdb.asm/configure: Regenerated.
990
a7d17088
DJ
9912002-04-04 Daniel Jacobowitz <drow@mvista.com>
992
993 * gdb.base/relocate.exp: New file.
994 * gdb.base/relocate.c: New file.
995
cd721503
FF
9962002-04-04 Fred Fish <fnf@redhat.com>
997
998 * gdb.base/step-test.exp: Update comment regarding stopping in
999 memcpy/bcopy calls inserted as part of the compiler runtime.
1000
b22ad7a7
MS
10012002-04-04 Michael Snyder <msnyder@redhat.com>
1002
1003 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1004
5f279fa6
DJ
10052002-04-03 Daniel Jacobowitz <drow@mvista.com>
1006
1007 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1008 (gdb_expect): Remove $notransfer hack.
1009
dd0fd3ce
DJ
10102002-04-02 Daniel Jacobowitz <drow@mvista.com>
1011
1012 * gdb.c++/classes.exp ("calling method for small class"): Match
1013 updated register output.
1014
1e50cda1
DJ
10152002-03-30 Daniel Jacobowitz <drow@mvista.com>
1016
1017 Fix PR gdb/452
1018 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1019 when finished. Make gdb_file_cmd send "exec-file" when
1020 appropriate.
1021
24015922
DJ
10222002-03-30 Daniel Jacobowitz <drow@mvista.com>
1023
1024 * gdb.base/attach.exp: Remove extra setup_xfail.
1025
dd7dfd64
MS
10262002-03-26 Michael Snyder <msnyder@redhat.com>
1027
1028 * gdb.base/default.exp: Add tests for dump, append, and restore.
1029 * gdb.base/help.exp: Add tests for dump, append, and restore.
1030 * gdb.base/dump.exp: New file, test dump, append and restore.
1031 * gdb.base/dump.c: New file.
1032
48b2f8d7
MS
10332002-03-27 Michael Snyder <msnyder@redhat.com>
1034
1035 * gdb.base/help.exp: Modify expect strings to reflect
1036 clean-ups in help messages.
1037
05b4d525
FF
10382002-03-26 Fred Fish <fnf@redhat.com>
1039
1040 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1041 have debugging info for those functions and the compiler uses them
1042 internally to copy structs around.
1043
d7679631
FF
10442002-03-26 Fred Fish <fnf@redhat.com>
1045
1046 * gdb.base/list.exp: Revert the change made yesterday and add note
1047 about why we don't list the default lines for remote targets.
1048
523ac3f9
MS
10492002-03-25 Michael Snyder <msnyder@redhat.com>
1050
1051 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1052
754b2b8d
FF
10532002-03-25 Fred Fish <fnf@redhat.com>
1054
1055 * gdb.base/list.exp: This test works on remote targets so remove
1056 the short circuit for remote targets. Update copyright.
1057
33c3e192
FF
10582002-03-25 Fred Fish <fnf@redhat.com>
1059
1060 * gdb.base/attach.exp: Fix logic error that was suppressing this
1061 test for all non hppa*-*-hpux* targets, instead of the hp target.
1062 Move comments closer to the suppression point. Also now need to
1063 check that we are running natively.
1064
d43e73ee
MS
10652002-03-22 Michael Snyder <msnyder@redhat.com>
1066
882c8f02
MS
1067 * gdb.base/default.exp: Add test for gcore. Update copyright.
1068 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1069
04c12f60
FF
10702002-03-06 Fred Fish <fnf@redhat.com>
1071
1072 * gdb.base/funcargs.c: Remove extraneous ';' character.
1073 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1074
b43df995
MC
10752002-03-04 Michael Chastain <mec@shout.net>
1076
1077 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1078 accommodate gcc v3 function signature.
1079 * gdb.mi/mi0-var-cmd-exp: Ditto.
1080
92362027
AC
10812002-02-24 Andrew Cagney <ac131313@redhat.com>
1082
1083 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1084 ``GNU/Linux'' or ``Linux kernel''
1085 * testsuite/gdb.threads/pthreads.c: Ditto.
1086
258ad32d
MC
10872002-02-24 Michael Chastain <mec@shout.net>
1088
1089 * gdb.threads/pthreads.c (thread1): Add a return statement.
1090 (thread2): Likewise.
1091 (foo): Likewise.
1092
04c3b3d4
MC
10932002-02-23 Michael Chastain <mec@shout.net>
1094
1095 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1096 to placate gcc.
1097
5a2a0a20
MC
10982002-02-23 Michael Chastain <mec@shout.net>
1099
1100 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1101 test "ptype bint". The test passes on all my stabs configurations.
1102
a640f7fc
JB
11032002-02-21 Jim Blandy <jimb@redhat.com>
1104
27924826
JB
1105 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1106 filename at a time, and watch for the ones we want to see.
1107
a640f7fc
JB
1108 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1109 types of pointers to prototyped functions.
1110
edcc8c75
AC
11112002-02-20 Andrew Cagney <ac131313@redhat.com>
1112
1113 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1114 signed, unsigned and straight char.
1115 (padding_char, padding_short, padding_int, padding_long,
1116 padding_long_long, padding_float, padding_double,
1117 padding_long_double): New global variables.
1118 (fill, fill_structs): New functions.
1119
1120 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1121 for correctly sized writes. Update copyright.
1122 (get_valueof): New procedure.
1123 (get_sizeof): Call get_valueof.
1124 (check_valueof): New procedure.
1125 (check_padding): New procedure.
1126
ac57ea44
MC
11272002-02-20 Michael Chastain <mec@shout.net>
1128
1129 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1130 to setup_xfail. Document some of the remaining calls.
1131
7a10c941
MC
11322002-02-18 Michael Chastain <mec@shout.net>
1133
1134 * gdb.c++/userdef.exp: Update copyright year.
1135
fb8acdcc
DJ
11362002-02-18 Daniel Jacobowitz <drow@mvista.com>
1137
1138 * gdb.c++/userdef.exp: Test overloaded operators properly.
1139 Remove xfails.
1140
fda6ae12
MS
11412002-02-14 Michael Snyder <msnyder@redhat.com>
1142
1143 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1144
676a0442
DJ
11452002-02-14 Daniel Jacobowitz <drow@mvista.com>
1146
1147 * gdb.base/a2-run.exp: Check for a remote target properly.
1148 * gdb.base/annota1.exp: Likewise.
1149 * gdb.base/list.exp: Likewise.
1150 * gdb.base/reread.exp: Likewise.
1151 * gdb.base/scope.exp: Likewise.
1152 * gdb.base/shlib-call.exp: Likewise.
1153 * gdb.base/term.exp: Likewise.
1154 * gdb.c++/annota2.exp: Likewise.
1155
78b4f468
RE
11562002-02-13 Richard Earnshaw <rearnsha@arm.com>
1157
1158 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1159
9a81ba51
MC
11602002-02-10 Michael Chastain <mec@shout.net>
1161
1162 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1163 (call_after_alloca): Ditto.
1164
004af6c7
DJ
11652002-02-10 Daniel Jacobowitz <drow@mvista.com>
1166
1167 * gdb.base/ending-run.exp: Guard "cont" test with
1168 gdb_skip_stdio_test.
1169
37225f62
JB
11702002-02-06 Jim Blandy <jimb@redhat.com>
1171
1172 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1173 from here...
1174 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1175 To here. Disable this test on non-HP platforms. Add big comment.
1176
fe6fdd96
MS
11772002-02-04 Michael Snyder <msnyder@redhat.com>
1178
1179 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1180 other than d10v and m32r.
1181
036fad3f
RE
11822002-02-02 Richard Earnshaw <rearnsha@arm.com>
1183
1184 * gdb.base/default.exp: Rewrite test patterns to reduce time
1185 taken to match them.
1186
7148ab62
DJ
11872002-01-30 Daniel Jacobowitz <drow@mvista.com>
1188
1189 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1190 Allow a start function above main.
1191 * gdb.threads/linux-dp.exp: Fix copyright date.
1192
396cc255
DJ
11932002-01-30 Daniel Jacobowitz <drow@mvista.com>
1194
1195 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1196 (check_philosopher_stack): Check for manager thread before checking
1197 for a just-starting thread.
1198
f038d31b
DJ
11992002-01-30 Daniel Jacobowitz <drow@mvista.com>
1200
1201 From Neil Booth <neil@daikokuya.demon.co.uk>:
1202 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1203 warnings.
1204
b3ff9d9a
FF
12052002-01-21 Fred Fish <fnf@redhat.com>
1206
1207 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1208 not caller.
1209
39ad761d
JB
12102002-01-21 Jim Blandy <jimb@redhat.com>
1211
1212 * gdb.base/reread.exp: Check that GDB properly re-reads the
1213 executable file when it changes while no inferior is running.
1214
aaf320fa
FF
12152002-01-21 Fred Fish <fnf@redhat.com>
1216
1217 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1218 optionally accept the "shlib events" variation.
1219
808a31f5
JB
12202002-01-21 Jim Blandy <jimb@redhat.com>
1221
1222 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1223 call `fflush' after every `printf', so that the output is produced
1224 at predictable points, regardless of whatever buffering does (or
1225 doesn't) take place.
1226 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1227 at different points.
1228
4420d5e2
DJ
12292002-01-20 Daniel Jacobowitz <drow@mvista.com>
1230
1231 * gdb.c++/inherit.exp: Update copyright years.
1232 * gdb.c++/method.exp: Likewise.
1233
3e36a0f4
DJ
12342002-01-20 Daniel Jacobowitz <drow@mvista.com>
1235
1236 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1237 artificial methods/arguments.
1238 * gdb.c++/derivation.exp: Likewise.
1239 * gdb.c++/inherit.exp: Likewise.
1240 * gdb.c++/method.exp: Likewise.
1241 * gdb.c++/virtfunc.exp: Likewise.
1242
b4ceaee6
AC
12432002-01-18 Andrew Cagney <ac131313@redhat.com>
1244
1245 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1246 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1247 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1248 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1249 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1250 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1251
ecace851
JB
12522002-01-17 Jim Blandy <jimb@redhat.com>
1253
1254 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1255 anchoring the pattern matching the entry point symbol's name.
1256
375fc983
AC
12572002-01-17 Andrew Cagney <ac131313@redhat.com>
1258
1259 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1260 continue/quit query. Update copyright.
1261
fe6fdd96
MS
12622002-01-14 Michael Snyder <msnyder@redhat.com>
1263
1264 * gdb.base/gcore.exp: Remove extra debugging output.
1265
e017c81f
DJ
12662002-01-13 Daniel Jacobowitz <drow@mvista.com>
1267
1268 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1269 for slightly dubious v2 mangled string.
1270
37ab3bf8
DJ
12712002-01-13 Daniel Jacobowitz <drow@mvista.com>
1272
1273 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1274
1bc05c3a 12752002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1276
1bc05c3a 1277 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1278
1bc05c3a
JM
1279 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1280 constructors.
1281 * gdb.c++/derivation.exp: Likewise.
1282 * gdb.c++/templates.exp: Likewise.
1283 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1284
1bc05c3a
JM
12852002-01-10 Michael Snyder <msnyder@redhat.com>
1286
1287 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1288
a911c360
MS
12892002-01-08 Michael Snyder <msnyder@redhat.com>
1290
1291 * gdb.base/gcore.exp: New test for generate-core-file command.
1292 * gdb.base/gcore.c: Testcase for above.
1293 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1294
ea2119ec
JM
12952002-01-08 Jason Merrill <jason@redhat.com>
1296
1297 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1298
68203136
FF
12992002-01-07 Fred Fish <fnf@redhat.com>
1300
1301 * gdb.c++/overload.exp: Remove unconditional xfails for:
1302 print foo_instance1.overloadargs(1)
1303 print foo_instance1.overloadargs(1, 2)
1304 print foo_instance1.overloadargs(1, 2, 3)
1305 print foo_instance1.overloadargs(1, 2, 3, 4)
1306 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1307 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1308 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1309 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1310 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1311 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1312 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1313 print foo_instance1.overload1arg()
1314 print foo_instance1.overload1arg((char)arg2)
1315 print foo_instance1.overload1arg((signed char)arg3)
1316 print foo_instance1.overload1arg((unsigned char)arg4)
1317 print foo_instance1.overload1arg((int)arg7)
1318 print foo_instance1.overload1arg((unsigned int)arg8)
1319 print foo_instance1.overload1arg((float)arg11)
1320 print foo_instance1.overload1arg((double)arg12)
1321
21b9b5b1
MS
13222002-01-07 Michael Snyder <msnyder@redhat.com>
1323
1324 * gdb.base/huge.exp: New test. Print a very large target data object.
1325 (skip_huge_test): New test variable. Define if you want to skip this
1326 test. The test reads an 8 megabyte data object from the target, so it
1327 might be very time consuming on remote targets with a slow connection.
1328 * gdb.base/huge.c: New file. Test case for above.
1329
725f922e
FF
13302002-01-07 Fred Fish <fnf@redhat.com>
1331
1332 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1333 g_instance.bfoo, and g_instance.cfoo.
1334
634d57ec
JL
1335Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1336
f286b2c3
JL
1337 * gdb.base/break.c (multi_line_if_conditional): New function.
1338 (multi_ilne_while_conditional): Likewise.
1339 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1340 IF or WHILE condition puts the breakpoint at the start of
1341 the condition.
1342
634d57ec
JL
1343 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1344 hppa*-*-hpux* expected failure.
1345 * gdb.base/structs.exp (do_function_calls): Similarly.
1346
1347 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1348 watchpoints.
1349
9fbfe2dc
AC
13502002-01-06 Andrew Cagney <ac131313@redhat.com>
1351
1352 Fix PR gdb/66.
1353 * gdb.base/structs.exp: Replace skip for a29k with skip for
1354 gdb,cannot_call_functions.
1355 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1356 * gdb.base/callfuncs.exp: Ditto.
1357 * gdb.base/call-rt-st.exp: Ditto.
1358 * gdb.base/call-strs.exp: Ditto.
1359 * gdb.base/callfwmall.exp: Ditto.
1360 * gdb.base/scope.exp: Obsolete xfail a29k.
1361 * gdb.c++/misc.exp: Ditto.
1362 * gdb.c++/cplusfuncs.exp: Ditto.
1363 * gdb.base/ptype.exp: Ditto.
1364 * gdb.base/printcmds.exp: Ditto.
1365 * gdb.base/opaque.exp: Ditto.
1366 * gdb.base/list.exp: Ditto.
1367 * gdb.base/funcargs.exp: Ditto.
1368 * gdb.base/default.exp: Ditto.
1369
8ddad156
MS
13702002-01-04 Michael Snyder <msnyder@redhat.com>
1371
ca4976a6 1372 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1373 * gdb.base/maint.exp: Add tests for maint info sections options.
1374
1b074332
JL
1375Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1376
1377 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1378
7d159115
CV
13792001-12-20 Corinna Vinschen <vinschen@redhat.com>
1380
1381 * gdb.asm/arm.inc: New file.
1382 * gdb.asm/asm-source.exp: Add arm targets.
1383 * gdb.asm/configure.in: Ditto.
1384 * gdb.asm/configure: Recreated from configure.in.
1385
8fb87725
JL
1386Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1387
afabe08c
JL
1388 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1389 with HP's compiler.
1390 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1391 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1392 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1393 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1394
1395 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1396 either HP's compilers or GCC.
1397
db521deb
JL
1398 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1399 a SIGBUS or SIGSEGV.
1400
1401 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1402
1403 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1404 can be compiled with either HP's compiler or GCC.
1405
cfa88ab7
JL
1406 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1407 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1408 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1409
ca344dff
JL
1410 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1411 to match current gdb output. Update due to using auto-solib-limit
1412 for limiting instead of overloading auto-solib-add.
1413 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1414 test program.
1415
3f3c6e55 1416 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1417 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1418 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1419 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1420 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1421 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1422 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1423 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1424 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1425 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1426 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1427 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1428 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1429
8fb87725
JL
1430 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1431 a SIGTRAP to the inferior.
1432
cf599fa7
CV
14332001-12-19 Corinna Vinschen <vinschen@redhat.com>
1434
1435 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1436 Substitute call to target_link by call to gdb_compile.
1437
2cd045cd
JL
1438Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1439
1440 * gdb.base/break.exp: Fix HP specific search string when testing
1441 backtracing in a called function.
1442
1443 * gdb.base/constvars.exp: Only set lang to C++ if we're
1444 compiling the test with HP's compilers.
1445 * gdb.base/volatile.exp: Similarly.
1446
99ebe9ac
JB
14472001-12-19 Jim Blandy <jimb@redhat.com>
1448
1449 * gdb.base/printcmds.exp: Expect the null character to be printed
1450 as '\0', and the '\013' to be printed as '\v'.
1451 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1452 * gdb.base/setvar.exp: Same.
1453
b9891b29
JB
14542001-12-17 Jim Blandy <jimb@redhat.com>
1455
0eba65ab
JB
1456 * gdb.base/completion.exp: Rather than completing very long
1457 filenames, which can make the readline library produce output we
1458 don't recognize, cd to the directory first, and then complete
1459 using nice, short relative paths.
1460
6970b5b1
JB
1461 * gdb.base/completion.exp: On some systems, there is, in fact, a
1462 variable named `b' in scope, since GDB treats all static
1463 variables as being in scope. So use `no_var_named_this'
1464 instead of `b'.
1465
b9891b29
JB
1466 * gdb.base/corefile.exp: Recognize the message saying that GDB
1467 can't find the core file's registers as a failure.
1468
e6ccd35f
JSC
14692001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1470
1471 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1472 test expect string more specific.
1473
105ba819
CV
14742001-12-13 Corinna Vinschen <vinschen@redhat.com>
1475
1476 * gdb.asm/asm-source.exp: Add support for xstormy16.
1477 * gdb.asm/configure.in: Ditto.
1478 * gdb.asm/configure: Rebuild.
1479 * gdb.asm/xstormy16.inc: New file.
1480
e9e79dd9
FF
14812001-12-10 Fred Fish <fnf@redhat.com>
1482
1483 * gdb.base/maint.exp: Update to match changes in type dumping code.
1484
347dc97d
JB
14852001-12-10 Jim Blandy <jimb@redhat.com>
1486
1487 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1488 matching the entry point symbol's name at the beginning of the
1489 line.
1490
5178b9d6
DJ
14912001-12-07 Daniel Jacobowitz <drow@mvista.com>
1492
1493 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1494 gdb.c++/inherit.exp, gdb.c++/method.exp,
1495 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1496 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1497 and class layout support.
1498
af890c52
DJ
14992001-12-07 Daniel Jacobowitz <drow@mvista.com>
1500
1501 * gdb.c++/classes.exp: Add test for static member function.
1502 * gdb.c++/misc.cc: Add class with static member function.
1503
7a345fb3
JB
15042001-12-07 Jim Blandy <jimb@redhat.com>
1505
f2e54a80 1506 If GDB says it can't find the struct the function returned, report
8032bf31
JB
1507 those tests as `unsupported'.
1508 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1509 Rewrite subsequent tests to use it.
1510
1511 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
1512 those tests as `unsupported'.
1513 * gdb.base/structs.exp (call_struct_func): New function.
1514 (do_function_calls): Use call_struct_func to call the functions
1515 returning structs.
1516
0bc69509
JB
1517 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1518 whether functions are prototyped or not, so we can't possibly pass
1519 arguments to t_float_values2 properly.
1520
7a345fb3
JB
1521 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1522 value of `timeout' for targets other than the mips*tx39-*.
1523
edb6ede1
MS
15242001-12-06 Michael Snyder <msnyder@redhat.com>
1525
1526 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1527 and detect whether the start symbol has a leading underscore.
1528
2d842f13
JB
15292001-12-04 Jim Blandy <jimb@redhat.com>
1530
1531 * gdb.base/completion.exp: Clarify indentation.
1532
68550daf
JB
15332001-12-03 Jim Blandy <jimb@redhat.com>
1534
1535 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1536 variables on the S/390, not `.word'.
1537
cd5195a8
JB
15382001-11-30 Jim Blandy <jimb@redhat.com>
1539
1540 Add assembly-source tests for s390-ibm-linux.
1541 * gdb.asm/s390.inc: New file.
1542 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1543 the S/390 architecture.
1544 * gdb.asm/configure: Regenerated.
1545
ca9efc90
MS
15462001-11-30 Michael Snyder <msnyder@redhat.com>
1547
1548 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
1549 next, info source, info sources, info line, global and static
1550 variables, and static functions.
1551 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
1552 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
1553 * gdb.asm/asmsrc1.s: Add a static function and some variables.
1554 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
1555 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
1556 (gdbasm_leave): Restore frame pointer.
1557 (gdbasm_startup): Copy stack set-up from crt0.S.
1558
d0e66976
FN
15592001-11-26 Fernando Nasser <fnasser@redhat.com>
1560
1561 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
1562 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
1563 to a local (non-static) variable. Copy tstruct.a to a static buffer
1564 and return a pointer to that buffer.
1565 * gdb.base/callfwmall.c (t_structs_a): Ditto.
1566
e2334072
MK
15672001-11-24 Mark Kettenis <kettenis@gnu.org>
1568
1569 * gdb.asm/configure.in: Fix recognition of ix86 target.
1570 * gdb.asm/configure: Regenerate.
1571
756caa3d
MS
15722001-11-21 Michael Snyder <msnyder@redhat.com>
1573
1574 * gdb.asm/sparc.inc: New file.
1575 * gdb.asm/asm-source.exp: Recognize sparc target.
1576 * gdb.asm/configure.in: Recognize sparc target.
1577 * gdb.asm/configure: Regenerate.
1578
9a4d72d5
MS
15792001-11-21 Michael Snyder <msnyder@redhat.com>
1580
1581 * gdb.asm/m32r.inc: New file.
1582 * gdb.asm/asm-source.exp: Recognize m32r target.
1583 * gdb.asm/configure.in: Recognize m32r target.
1584 * gdb.asm/configure: Regenerate.
1585
a773d1cd
MS
15862001-11-20 Michael Snyder <msnyder@redhat.com>
1587
017ac23d
MS
1588 * gdb.asm/i386.inc: New file.
1589 * gdb.asm/asm-source.exp: Recognize ix86 target.
1590 * gdb.asm/configure.in: Recognize ix86 target.
1591 * gdb.asm/configure: Regenerate.
1592
a773d1cd
MS
1593 * gdb.c++/namespace.exp: Fix quotes in output messages.
1594
bb632afb
MS
15952001-11-14 Michael Snyder <msnyder@redhat.com>
1596
25d559ca 1597 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
1598 qualifier in a type cast expression, to designate an address
1599 in the instruction space (Harvard architecture).
1600
4749e309
MS
16012001-11-13 Michael Snyder <msnyder@redhat.com>
1602
1603 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
1604 Tests for expressions using 'const' and 'volatile'.
1605
25050984
CV
16062001-11-13 Corinna Vinschen <vinschen@redhat.com>
1607
1608 * gdb.asm/asm-sources.exp: Allow defining linker flags.
1609
1902c51f
DJ
16102001-11-12 Daniel Jacobowitz <drow@mvista.com>
1611
1612 * lib/mi-support.exp (mi_run_to_helper): Move comments
1613 outside of gdb_expect.
1614
dcf95b47
DJ
16152001-11-11 Daniel Jacobowitz <drow@mvista.com>
1616
1617 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
1618 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
1619 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
1620 mi0_run_to): New functions.
1621 * gdb.mi/mi-simplerun.exp: Use them.
1622 * gdb.mi/mi0-simplerun.exp: Likewise.
1623 * gdb.mi/mi-var-cmd.exp: Likewise.
1624 * gdb.mi/mi0-var-cmd.exp: Likewise.
1625
45b074e1
AC
16262001-11-10 Andrew Cagney <ac131313@redhat.com>
1627
1628 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
1629 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
1630
bf50d346
AC
16312001-11-09 Andrew Cagney <ac131313@redhat.com>
1632
1633 * gdb.base/restore.exp: Include $expected value in restored test
1634 message.
1635
9383332c
AC
16362001-11-09 Andrew Cagney <ac131313@redhat.com>
1637
1638 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
1639 implemented.
1640
db62520a
MS
16412001-11-08 Michael Snyder <msnyder@redhat.com>
1642
1643 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
1644 Add pass/fail message for stop at breakpoint in call dummy function.
1645
b5703437
MS
16462001-11-07 Michael Snyder <msnyder@redhat.com>
1647
760f6330
MS
1648 * gdb.c++/templates.exp (test_template_breakpoints):
1649 If we get an overload menu, but it does not match what
1650 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
1651 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
1652 making the whitespace optional. Argument for "new" may be
1653 "unsigned" as well as "unsigned int/long".
eef747c0
MS
1654 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
1655 making the whitespace optional. Also replace "(void) with
1656 "((void|)), making the keyword "void" optional.
63f50499
MS
1657 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
1658 making the whitespace optional. Also replace "(void) with
1659 "((void|)), making the keyword "void" optional.
3bf40917
MS
1660 * gdb.base/callfuncs.c (t_float_values): This function must
1661 _not_ be prototyped, and the following function (t_float_values2)
1662 must be prototyped (if the compiler supports it), so that GDB
1663 can be tested against both cases. Usually one case involves
1664 promotion of float to double, while the other does not.
1665 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
1666 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
1667 includes a stack frame for "start".
1668
c8ab4e6d
JB
16692001-11-05 Jim Blandy <jimb@redhat.com>
1670
1671 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
1672 pointers are 32 bits long, and that offsets of relocs are always
1673 stored in the data (REL-style), and not in the reloc entry itself
1674 (RELA-style).
1675 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
1676 stabs.
1677
3f08ced9
MS
16782001-11-01 Michael Snyder <msnyder@redhat.com>
1679
1680 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
1681 and regular expression operators by using quoting.
1682
cbfa24cd
MS
16832001-10-31 Michael Snyder <msnyder@redhat.com>
1684
1685 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
1686 depending on what the symbol table contains.
1687 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
1688 the output of the ptype command. Similarly, accept both "const &"
1689 and "const&".
1690
aaa68313
CV
16912001-10-31 Corinna Vinschen <vinschen@redhat.com>
1692
1693 * gdb.base/miscexprs.c (main): Add usage of preprocessor
1694 symbol `STORAGE' to allow to choose the storage class of
1695 the local datastructures.
1696 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
1697 compiler directive.
1698
91740388
MS
16992001-10-30 Michael Snyder <msnyder@redhat.com>
1700
1701 * gdb.base/jump.exp: Allow it to run for all targets.
1702
1b7c05e7
CV
17032001-10-29 Corinna Vinschen <vinschen@redhat.com>
1704
1705 * gdb.base/call-ar-st.c (print_double_array): Match for loop
1706 with new double_array size.
1707 (main): Change storage class of all local variables to static.
1708 Reduce size of double_array to 9.
1709 * gdb.base/call-ar-st.exp: Increase timeout value.
1710 Change expected output for double array to match new size in
1711 call-ar-st.c.
1712
36a22261
CV
17132001-10-29 Corinna Vinschen <vinschen@redhat.com>
1714
1715 * gdb.base/ending-run.exp: Create identical output when passing
1716 `step to end of run' case. Add regular expression branch satisfying
1717 Stormy16 target.
1718
92b8ae91
MK
17192001-10-28 Mark Kettenis <kettenis@gnu.org>
1720
1721 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
1722 that we catch the expected failure under Linux/x86.
1723
cb135b83
OF
17242001-10-29 Orjan Friberg <orjanf@axis.com>
1725
1726 * gdb.base/setvar.exp: Escape curly braces.
1727 * gdb.stabs/weird.exp: Ditto.
1728
6884aa54
DJ
17292001-10-27 Daniel Jacobowitz <drow@mvista.com>
1730
1731 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
1732 * gdm.mi/mi0-hack-cli.exp: Likewise.
1733
0398c9aa
AC
17342001-10-25 Andrew Cagney <ac131313@redhat.com>
1735
1736 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
1737 messages.
1738
d20bf2e8
AC
17392001-10-21 Andrew Cagney <ac131313@redhat.com>
1740
1741 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
1742 checking MI enabled.
1743
03dd63aa
CV
17442001-10-09 Corinna Vinschen <vinschen@redhat.com>
1745
1746 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
1747
1d9d99f3
FCE
17482001-10-04 Frank Ch. Eigler <fche@redhat.com>
1749
1750 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
1751 if gdb child process crashes, just signal an error.
1752
838ae6c4
JB
17532001-10-02 Jim Blandy <jimb@redhat.com>
1754
1755 * lib/gdb.exp (test_xfail_format): Simplify.
1756
1757 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
1758 front of the variable name `format'. Simplify `if'.
1759
8f0cbc1c
DJ
17602001-10-01 Daniel Jacobowitz <drow@mvista.com>
1761
1762 * gdb.threads/pthreads.exp: Wait for output and delay
1763 before sending ^C.
1764
1f08dafd
DJ
17652001-10-01 Daniel Jacobowitz <drow@mvista.com>
1766
1767 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
1768 some incorrect output instead of timing out.
1769 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
1770
674f90ff
CV
17712001-09-28 Corinna Vinschen <vinschen@redhat.com>
1772
1773 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
1774 check to allow additional `int'.
1775
9b284272
DJ
17762001-09-27 Daniel Jacobowitz <drow@mvista.com>
1777
1778 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
1779 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
1780
b55a4771
MS
17812001-09-27 Michael Snyder <msnyder@redhat.com>
1782
1783 * lib/gdb.exp (test_debug_format): New proc.
1784 (setup_xfail_format): Use new proc test_debug_format.
1785 * gdb.base/constvars.exp (local_compiler_xfail_check): New
1786 proc; use new service proc test_debug_format.
1787 Replace all other "gcc_compiled" tests with this test.
1788 * gdb.base/volatile.exp (local_compiler_xfail_check): New
1789 proc; use new service proc test_debug_format.
1790 Replace all other "gcc_compiled" tests with this test.
1791
17922001-09-27 Michael Snyder <msnyder@redhat.com>
1793
1794 * gdb.base/cvexpr.exp: New file.
1795 * gdb.base/cvexpr.c: New file
1796 Test for expressions using const and volatile keywords.
1797
4e6667ac
CV
17982001-09-26 Corinna Vinschen <vinschen@redhat.com>
1799
1800 * gdb.base/constvars.exp: Check for different orders of keywords
1801 and additional "int" strings in output.
1802
4f337972
AC
18032001-09-22 Andrew Cagney <ac131313@redhat.com>
1804
1805 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
1806 responses from "help maint".
1807
2015650d
FCE
18082001-09-19 Frank Ch. Eigler <fche@redhat.com>
1809
1810 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
1811 to localhost:NNN instead of :NNN, in case Xvfb is listening
1812 only on TCP.
1813
f3bcedc1
CV
18142001-09-19 Corinna Vinschen <vinschen@redhat.com>
1815
1816 * gdb.base/recurse.exp: When checking leaving the watchpoint
1817 scope, recognize when gdb is in function's epilogue and pass.
1818
6b819c92
KS
18192001-09-18 Keith Seitz <keiths@redhat.com>
1820
1821 * lib/insight-support.exp (_gdbtk_export_target_info): Add
1822 support for running tests against sid targets.
1823 (gdbtk_done): Ditto.
1824
a10c9419
CV
18252001-09-18 Corinna Vinschen <vinschen@redhat.com>
1826
1827 * gdb.base/ending-run.c (main): Set stdout buffersize
1828 to the same reasonable value for any target.
1829 * gdb.base/ending-run.exp: Add a regular expression
1830 to make testsuite happy on Sanyo Stormy16 target.
1831
739d0d99
CV
18322001-09-17 Corinna Vinschen <vinschen@redhat.com>
1833
1834 * gdb.base/display.c (do_loops): Add float variable `f'.
1835 Increment f in loop.
1836 * gdb.base/display.exp: Increment timeout by 60 seconds.
1837 Change float display test to use variable `f'.
1838
1b8947f0
JB
18392001-09-17 Jim Blandy <jimb@redhat.com>
1840
1841 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
1842 overflowing the limited breakpoint tables on some ROM monitors
1843 (like the ROM68K).
1844
9890ac81
FCE
18452001-09-15 Frank Ch. Eigler <fche@redhat.com>
1846
1847 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
1848 the "-ac" (disable access control) flag.
1849
6db765ea
JH
18502001-08-30 Jeff Holcomb <jeffh@redhat.com>
1851
1852 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
1853 ints.
1854
4c32cc04
KS
18552001-08-30 Keith Seitz <keiths@redhat.com>
1856
1857 * lib/gdb.exp: Move all insight-related functionality into
1858 separate file.
1859 * lib/insight-support.exp: New file.
1860
8d6e6f81
FCE
18612001-08-29 Frank Ch. Eigler <fche@redhat.com>
1862
1863 * config/sid.exp (sid_start): Never set sid verbosity; disable
1864 expect_background {} that consumed its stdout; tolerate </dev/null.
1865 Attempt to set endianness override in "sid" protocol mode. Cleanup.
1866
6a90e1d0
AC
18672001-08-18 Andrew Cagney <ac131313@redhat.com>
1868
1869 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
1870 CLI jump command to start it.
1871 (mi_run_to_main): Fail immediatly when unexpected output.
1872
1759b3c3
AC
18732001-08-18 Andrew Cagney <ac131313@redhat.com>
1874
1875 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
1876 beginning of function. Fix PR gdb/191.
1877
61d11d80
FCE
18782001-08-16 Frank Ch. Eigler <fche@redhat.com>
1879
1880 * config/sid.exp (sid_start): Don't warn if we cannot figure out
1881 what to force sid endianness to.
1882
942a4df2
KS
18832001-08-15 Keith Seitz <keiths@redhat.com>
1884
1885 * lib/gdb.exp (gdbtk_start): Don't set environment
1886 variables for TCL_LIBRARY and friends. Insight will
1887 now figure these out for itself.
1888
0521c418
MS
18892001-08-02 Michael Snyder <msnyder@redhat.com>
1890
1891 * gdb.base/completion.exp: Remove the symbol "a64l" from
1892 the expect string; this is target-specific, and not related
1893 to what is being tested.
1894
74a9a58a
DB
18952001-08-02 Dave Brolley <brolley@redhat.com>
1896
1897 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
1898
c70819fa
MS
18992001-07-25 Michael Snyder <msnyder@redhat.com>
1900
c2b8fa57
MS
1901 * gdb.base/consecutive.exp: New file. Test stepping over
1902 breakpoints on consecutive instructions.
1903 * gdb.base/consecutive.c: New file.
1904
c70819fa
MS
1905 * gdb.base/call-rt-st.exp: Use double-backslash to quote
1906 curly braces in regular expressions.
1907
2b1a1355
MS
19082001-07-25 Michael Snyder <msnyder@redhat.com>
1909
1910 * gdb.base/ending-run.exp: Accept "Program exited normally" as
1911 legitimate output from stepping out of main.
1912
413eca6f
KS
19132001-07-22 Keith Seitz <keiths@redhat.com>
1914
1915 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
1916 the empty string, do not run the tests.
1917
7e5a9322
SC
19182001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1919
1920 * gdb.base/long_long.exp: Detect size of pointer. Take into
1921 account 2-byte pointers when testing for p/a results.
1922
de58f10f
SC
19232001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1924
1925 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
1926 and defined to 1K for m68hc11.
1927 (random_data): Reduce table to 1K for embedded platforms (68hc11).
1928 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
1929 (sizeof_random_data): New variable to tell the size of the data table;
1930 don't test past this size; always run to main.
1931
d6f5fea1
SC
19322001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1933
1934 * gdb.base/return2.exp: return of long long and double fails for
1935 68HC11; don't execute these tests on that platform.
1936 * gdb.base/return.exp: Return of a double fails for 68hc11.
1937
c477543d
SC
19382001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1939
1940 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
1941 tests that print a float.
1942 * call-rt-st.exp: Likewise.
1943
63cf1c79
MK
19442001-07-12 Mark Kettenis <kettenis@gnu.org>
1945
1946 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
1947 running this test on Linux.
1948
112f9ab5
MC
19492001-06-24 Michael Chastain <chastain@redhat.com>
1950
1951 * gdb.base/arithmet.exp: Remove some tests to make all test names
1952 unique.
1953
4970cb0f
MS
19542001-07-03 Michael Snyder <msnyder@redhat.com>
1955
1956 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
1957 the output of the ptype command.
1958
d85da69f
MS
19592001-07-02 Michael Snyder <msnyder@redhat.com>
1960
4c8a82de
MS
1961 * gdb.base/completion.exp: Don't assume that break.c is the only
1962 source file that may contain functions named "marker".
d85da69f
MS
1963 * gdb.base/corefile.exp: Quote the curly braces in regexp.
1964
8afc772b
AC
19652001-06-28 Andrew Cagney <ac131313@redhat.com>
1966
1967 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
1968 of files to delete.
1969
1970 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
1971 * gdb.disasm/h8300s.exp: New file.
1972 gdb.disasm/h8300s.s: Likewise.
1973
cff22675
AC
19742001-06-27 Andrew Cagney <ac131313@redhat.com>
1975
1976 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
1977 empty breakpoint tables.
1978
68c81b54
AC
19792001-06-25 Andrew Cagney <ac131313@redhat.com>
1980
1981 * lib/mi-support.exp: Update args=... part of stop-reason
1982 patterns. Accept either a list or a tuple.
1983
2dd62704
AC
19842001-06-23 Andrew Cagney <ac131313@redhat.com>
1985
1986 * lib/mi-support.exp: Remove local emacs variable defining
1987 change-log-default-name.
1988
b4127474
MC
19892001-06-22 Michael Chastain <chastain@redhat.com>
1990
1991 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
1992 This is operationally compatible with the previous version.
1993
8dbfb380
JB
19942001-06-13 Jim Blandy <jimb@redhat.com>
1995
1996 * lib/gdb.exp (gdb_test): Doc fix.
1997
f2d8c86d
MC
19982001-06-10 Michael Chastain <chastain@redhat.com>
1999
2000 * gdb.base/exprs.exp: Remove a duplicate test.
2001
81564d34
JB
20022001-06-06 Jim Blandy <jimb@redhat.com>
2003
2004 * gdb.base/return2.exp (main): Use values to test float and double
2005 returns that are not NaN's, to avoid being confused by IEEE
2006 comparison rules.
2007
da55addb
MS
20082001-06-04 Michael Snyder <msnyder@redhat.com>
2009
2010 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2011 non-zero if control_c fails. Terminate the test on failure,
2012 rather than wait for 12 more tests to time out.
2013
42c65987
JB
20142001-06-06 Jim Blandy <jimb@redhat.com>
2015
b18bced9
JB
2016 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2017 Don't forget to match the GDB prompt.
2018
42c65987
JB
2019 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2020
5b41e5f0
JB
20212001-06-04 Jim Blandy <jimb@redhat.com>
2022
2023 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2024 command.
2025
015e046f
KB
20262001-05-31 Kevin Buettner <kevinb@redhat.com>
2027
2028 * gdb.base/annota1.exp (info break): Match four or more spaces
2029 after "Address".
2030
fb1ffbbe
MC
20312001-05-31 Michael Chastain <chastain@redhat.com>
2032
2033 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2034 (dm_type_int_star): Likewise.
2035 (dm_type_long_star): Likewise.
2036 (dm_type_void_star): Likewise.
2037
5ea2a32c
KB
20382001-05-29 Kevin Buettner <kevinb@redhat.com>
2039
2040 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2041 to a known value in order to get consistent results regardless
2042 of the setting of INPUTRC or the presence or contents of .inputrc.
2043
ae23c492
MS
20442001-05-24 Michael Snyder <msnyder@redhat.com>
2045
ac55707e
MS
2046 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2047 Don't require that the main thread and the manager thread are the
2048 first in the list.
2049
ae23c492
MS
2050 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2051 debugging. If test fails, issue an "unsupported" not a "fail".
2052
400071f1
JB
20532001-05-24 Jim Blandy <jimb@redhat.com>
2054
2055 Don't assume that short is shorter than int.
2056 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2057 assume that shorts are smaller than ints. On a 16-bit machine,
2058 this isn't true.
2059 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2060 an int, is not equal to ~0 stored in an unsigned char. This tests
2061 the same thing that the previous test meant to, but works on
2062 16-bit machines, too.
2063 ("print unsigned char != (~0)"): Same test, complemented.
2064
0816a3e5
MS
20652001-05-24 Michael Snyder <msnyder@redhat.com>
2066
2067 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2068 test for (full_coverage == 0). This makes the test run faster,
2069 and prevents dejagnu getting out of step.
2070
f6dc23a9
KB
20712001-05-23 Kevin Buettner <kevinb@redhat.com>
2072
2073 * gdb.base/finish.exp (finish_void): Revise pattern for
2074 stopping on the call statement to not permit stopping at
2075 the start of the instructions comprising the call sequence.
2076
7dbd117d
MC
20772001-05-19 Michael Chastain <chastain@redhat.com>
2078
2079 * gdb.base/callfuncs.exp: Make all test names unique.
2080 * gdb.base/commands.exp: Make all test names unique.
2081 * gdb.base/condbreak.exp: Make all test names unique.
2082 * gdb.base/dbx.exp: Make all test names unique.
2083 * gdb.base/default.exp: Make all test names unique.
2084 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2085 and TIMEOUT messages to their corresponding PASS message.
2086 * gdb.base/ending-run.exp: Make all test names unique.
2087 * gdb.base/long_long.exp: Remove duplicate test.
2088
6b0b0a9e
KB
20892001-05-21 Kevin Buettner <kevinb@redhat.com>
2090
2091 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2092 stop on the call statement as well as the statement after the
2093 call.
2094
2caa35cb
MS
20952001-05-21 Michael Snyder <msnyder@redhat.com>
2096
2097 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2098
40713331
EZ
20992001-05-10 Elena Zannoni <ezannoni@redhat.com>
2100
2101 * gdb.base/completion.exp: Revamp test. Make it execute on all
2102 platforms.
2103
c2c1be8d
EZ
21042001-05-10 Elena Zannoni <ezannoni@redhat.com>
2105
2c9cd303
EZ
2106 * config/gdbserver.exp (gdb_load): Handle the case
2107 in which the arguments to gdbserver are given in the
2108 baseboard configuration file.
2109 Also handle the case in which the server needs to do a
2110 load.
2111
9671de48
KS
21122001-05-07 Keith Seitz <keiths@cygnus.com>
2113
2114 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2115 set up the display for testing.
2116 (gdbtk_start): Convert all paths to paths that tcl will like.
2117 Export target information to environment.
2118 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2119 necessary.
2120 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2121 (to_tcl_path): New proc to convert a given pathname into
2122 a path acceptible as an argument to a tcl command.
2123 (_gdbtk_export_target_info): New proc to export target info
2124 into the environment for gdbtk testing.
2125 (gdbtk_done): New proc to signal end-of-test.
2126
5a360f47
JB
21272001-05-06 Jim Blandy <jimb@redhat.com>
2128
2129 * restore.c: Make the code of caller0 correspond to its comment.
2130
66c756c6
MS
21312001-05-03 Michael Snyder <msnyder@redhat.com>
2132
2133 * config/sid.exp (gdb_target_sid): Check for error messages.
2134 On error or timeout, don't make expect exit (which will terminate
2135 all subsequent tests); instead just make gdb exit.
2136 (gdb_load): Check for error messages. On error or timeout,
2137 return a negative value.
2138
a966fde5
JB
21392001-04-24 Jim Blandy <jimb@redhat.com>
2140
851c18e0
JB
2141 * gdb.c++/templates.exp: If we see the prompt for the overload
2142 list, but we haven't recognized any of the longer patterns,
2143 arrange for this test to fail, not hang.
2144
a966fde5
JB
2145 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2146 variations.
2147
db144853
MC
21482001-04-22 Michael Chastain <chastain@redhat.com>
2149
2150 * gdb.c++/local.exp: Use the 'runto' library function.
2151 * gdb.c++/namespace.exp: Likewise.
2152 * gdb.c++/overload.exp: Likewise.
2153
3207ec21
KB
21542001-03-26 Kevin Buettner <kevinb@redhat.com>
2155
2156 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2157 * gdb.base/step-line.exp: New file. Test step/next in presence of
2158 #line directives.
2159 * gdb.base/step-line.c: New file. Test program for the above.
2160 * gdb.base/step-line.inp: New file. We pretend that this file has
2161 been transformed by some other tool into step-line.c.
2162
13b57657
JB
21632001-03-21 Jim Blandy <jimb@redhat.com>
2164
2165 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2166 unmangled operator names.
2167
754cbe1c
JB
21682001-03-20 Jim Blandy <jimb@redhat.com>
2169
2170 * gdb.threads/linux-dp.exp: Recognize an additional message
2171 generated by GDB when it doesn't understand how to debug threads
2172 on the target system.
2173
177495c9
AC
21742001-03-19 Andrew Cagney <ac131313@redhat.com>
2175
2176 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2177
f266096b
MC
21782001-03-12 Michael Chastain <chastain@redhat.com>
2179
2180 * gdb.c++/derivation.exp: Use the 'runto' library function.
2181
cac3c2ff
MC
21822001-03-12 Michael Chastain <chastain@redhat.com>
2183
2184 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2185
b6c11a24
MC
21862001-02-24 Michael Chastain <chastain@redhat.com>
2187
2188 * gdb.c++/ref-types.exp: Change handwritten code to library
2189 function 'runto'.
2190
6bae5bce
OF
21912001-03-16 Orjan Friberg <orjanf@axis.com>
2192
2193 * gdb.base/signals.exp: Set count to 0 explicitly.
2194
0015fd9a
MS
21952001-03-15 Mark Salter <msalter@redhat.com>
2196
2197 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2198 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2199 (gdb_load): Add support for additional target_info: gdb_download_size
2200 and gdb_load_timeout.
0015fd9a 2201
fc33412a
DT
2202Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2203
2204 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2205 file -- to prevent failing when the compile fails but we have no
2206 intention of running the tests anyway.
2207
2208 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2209 tests if set.
2210
2211 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2212 integers.
2213
2214 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2215 * gdb.c++/namespace.exp: Ditto.
2216
115f06de
OF
22172001-03-07 Orjan Friberg <orjanf@axis.com>
2218
2219 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2220 * gdb.base/pointers.exp: Relax pattern match of decimals.
2221
b6ba6518
KB
22222001-03-06 Kevin Buettner <kevinb@redhat.com>
2223
2224 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2225 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2226 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2227 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2228 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2229 config/sh.exp, config/sid.exp, config/slite.exp,
2230 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2231 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2232 config/vxworks.exp, config/vxworks29k.exp,
2233 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2234 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2235 gdb.base/arithmet.exp, gdb.base/assign.exp,
2236 gdb.base/async.exp, gdb.base/attach.exp,
2237 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2238 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2239 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2240 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2241 gdb.base/commands.exp, gdb.base/completion.exp,
2242 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2243 gdb.base/constvars.exp, gdb.base/corefile.exp,
2244 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2245 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2246 gdb.base/ending-run.exp, gdb.base/environ.exp,
2247 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2248 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2249 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2250 gdb.base/funcargs.exp, gdb.base/help.exp,
2251 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2252 gdb.base/logical.exp, gdb.base/long_long.exp,
2253 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2254 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2255 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2256 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2257 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2258 gdb.base/regs.exp, gdb.base/relational.exp,
2259 gdb.base/remote.exp, gdb.base/reread.exp,
2260 gdb.base/restore.exp, gdb.base/return2.exp,
2261 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2262 gdb.base/selftest.exp, gdb.base/setshow.exp,
2263 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2264 gdb.base/sigall.exp, gdb.base/signals.exp,
2265 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2266 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2267 gdb.base/step-test.exp, gdb.base/structs.c,
2268 gdb.base/structs.exp, gdb.base/structs2.exp,
2269 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2270 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2271 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2272 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2273 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2274 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2275 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2276 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2277 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2278 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2279 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2280 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2281 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2282 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2283 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2284 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2285 gdb.trace/circ.exp, gdb.trace/collection.exp,
2286 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2287 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2288 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2289 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2290 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2291 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2292 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2293 notices.
2294
dc96c6c7 22952001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2296
2297 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2298 first arg is int not float.
2299
dc96c6c7 23002001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2301
2302 * gdb.base/reread.exp: Unsupported for non-native targets;
2303 doesn't work for remote debugging.
2304
9b0c4aeb
FN
23052001-02-19 Fernando Nasser <fnasser@redhat.com>
2306
2307 From Drew Moseley <dmoseley@redhat.com>
2308 * gdb.base/ending-run.exp: Properly handle the BSP state when
2309 stepping past the end of main.
2310
02aa71d5
MC
23112001-02-19 John Moore <jmoore@redhat.com>
2312
2313 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2314 Converted HPUX fix for non-expected items following multiple
2315 step commands into general solution for all platforms.
2316
1fa449a4
MC
23172001-02-18 Michael Chastain <chastain@redhat.com>
2318
2319 * gdb.c++/classes.exp (do_tests): Change runto statements
2320 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2321 statements demangler agnostic.
2322 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2323 (gdb_virtfunc_restart): Likewise.
2324
b2f9ec70
MC
23252001-02-14 Michael Chastain <chastain@redhat.com>
2326
2327 * gdb.c++/inherit.exp (do_tests): Change runto statements
2328 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2329 statements demangler agnostic.
2330
cf74b8ca
AC
2331Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2332
2333 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2334 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2335 before calling common_routine 15 times'' tests.
2336
99f78f56
MC
23372001-02-11 Michael Chastain <chastain@redhat.com>
2338
2339 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2340 Helps the test script figure out which demangler is in use.
2341 (dm_type_foo_ref): Ditto.
2342 (dm_type_int_star): Ditto.
2343 (dm_type_long_star): Ditto.
2344 (dm_type_unsigned_int): Ditto.
2345 (dm_type_void): Ditto.
2346 (dm_type_void_star): Ditto.
99707966 2347 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2348 Probe the gdb demangler and set variables to accommodate
2349 formatting differences.
2350 (info_func_regexp): New function. Same as info_func, but
2351 matches against a regexp.
2352 (info_func): Match against a literal string.
2353 (print_addr_2): New function. Match against a literal string,
2354 which can be different from the input to gdb.
2355 (print_addr): Simply call print_addr_2 with the same argument twice.
2356 (test_lookup_operator_functions): Use demangler formatting variables.
2357 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2358 the tests in the same order as the C++ class declaration.
2359 (test_paddr_operator_functions): Ditto.
2360 (test_paddr_overloaded_functions): Ditto.
2361 (test_paddr_hairy_functions): Use demangler formatting variables.
2362 Add reference to gdb/19 for related tests.
2363 (do_tests): Call probe_demangler.
2364
1de8f023
KB
23652001-01-30 Kevin Buettner <kevinb@redhat.com>
2366
2367 * gdb.c++/templates.cc (printf): Remove unused function definition.
2368
ca3f91ed
MS
23692001-01-26 Felix Lee <flee@redhat.com>
2370
2371 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2372
23732001-01-25 matthew green <mrg@redhat.com>
2374
2375 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2376 up sid.
2377 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2378
23792001-01-25 matthew green <mrg@redhat.com>
2380
2381 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2382 Deprecate $sid_spawn_id.
2383 (sid_exit): Remove code necessary only for `spawn.'
2384
23852001-01-25 matthew green <mrg@redhat.com>
2386
2387 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2388
fb18ec4a
MC
23892001-01-28 Michael Chastain <chastain@redhat.com>
2390
2391 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2392 to call when tests fail. It takes gdb out of the overloaded
2393 function choice menu back to the main prompt, so that the test
2394 program stays synchronized.
2395 (set_bp_overloaded): New proc to collect all the common
2396 code for setting a breakpoint on an overloaded name. Calls
2397 take_gdb_out_of_choice_menu when needed.
2398 (menu_overload1arg): New variable to collect the repeated
2399 instances of the expected menu for an overloaded name. Change
2400 the regular expression to handle changes in g++ type encoding:
2401 "void" can be either "void" or "", and "unsigned int" can be
2402 either "unsigned int" or "unsigned".
2403 (continue_to_bp_overloaded): Change regular expressions to handle
2404 changes in g++ type encoding.
2405 (no proc): Call take_gdb_out_of_choice_menu when needed.
2406 Remove redundant calls to "info break". Accept either "canceled"
2407 or "cancelled". Change regular expressions in "info break"
2408 calls to handle changes in g++ type encoding. Give all tests
2409 unique strings.
2410
9c646a6e
BE
24112001-01-17 Ben Elliston <bje@redhat.com>
2412
2413 * config/sid.exp: New file.
2414
9549d9c1
AC
2415Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2416
2417 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2418
dc96c6c7 24192000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2420
2421 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2422 Add a RE to accept a non-ascii char if one is ever presented.
2423
b4df4f68
FN
24242000-12-20 Fernando Nasser <fnasser@redhat.com>
2425
297dd0fd 2426 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2427
dc96c6c7 24282000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2429
2430 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2431 in regexp. One '\' does not suffice on Linux.
2432
4a7bddb6
MC
24332000-12-09 Michael Chastain <chastain@redhat.com>
2434
2435 * gdb.base/break.exp (test_clear_command): Use a marker function
2436 rather than 'main' for the test function. Also move this
2437 test to an execution point where the marker function names are
2438 guaranteed to be bound to functions. (Executing tests after a
2439 'finish' from main runs into name conflicts with local names
2440 in __libc_start_main).
2441
dc96c6c7 24422000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2443
2444 * gdb.base/finish.exp: New test for gdb's "finish" command.
2445 * gdb.base/return2.exp: New test for gdb's "return" command.
2446 * gdb.base/return2.c: New source file for above.
2447
dc96c6c7 24482000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2449
2450 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2451 * gdb.base/miscexprs.exp: Ditto.
2452 * gdb.base/pointers.exp: Ditto.
2453 * gdb.c++/derivation.exp: Ditto.
2454 * gdb.c++/local.exp: Ditto.
2455 * gdb.c++/namespace.exp: Ditto.
2456 * gdb.c++/overload.exp: Ditto.
2457 * gdb.c++/ref-types.exp: Ditto.
2458
dc96c6c7 24592000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2460
2461 * gdb.base/constvars.exp: Test result of "up" command.
2462 * gdb.base/miscexprs.exp: Ditto.
2463 * gdb.base/pointers.exp: Ditto.
2464 * gdb.base/scope.exp: Ditto.
2465 * gdb.c++/derivation.exp: Ditto.
2466 * gdb.c++/local.exp: Ditto.
2467 * gdb.c++/namespace.exp: Ditto.
2468 * gdb.c++/overload.exp: Ditto.
2469 * gdb.c++/ref-types.exp: Ditto.
2470
44097287
FN
24712000-11-22 Michael Chastain <chastain@redhat.com>
2472
2473 * mips_pro.exp: Accept either "middle -> top -> main" or
2474 "middle -> main" in the backtrace, because gcc can optimize
2475 tail calls to jumps. Remove setup_xfail for the hppa case.
2476 Add a comment with the original warning messages from PR 3016,
2477 which was filed in 1993, to preserve them for posterity.
2478
9d2e1bab
ND
24792000-11-17 Nick Duffek <nsd@redhat.com>
2480
2481 * lib/gdb.exp (gdb_test): Override timeout with board info.
2482
1aca8eb7
ND
24832000-11-17 Nick Duffek <nsd@redhat.com>
2484
2485 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2486 the second kill and detach messages.
2487
93076499
ND
24882000-11-17 Nick Duffek <nsd@redhat.com>
2489
2490 * configure.in: Add AC_EXEEXT.
2491 * configure: Regenerate.
2492 * Makefile.in (just-check): Export EXEEXT.
2493 * lib/gdb.exp ($EXEEXT): Import from environment.
2494 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2495 expect "maint dump-me" on Cygwin.
2496 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2497 $EXEEXT.
2498
30e87cd3
ND
24992000-11-17 Nick Duffek <nsd@redhat.com>
2500
2501 * gdb.base/break.exp: Test backtrace and finish from called
2502 function on all platforms, not just HP-UX.
2503
dc96c6c7 25042000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
2505
2506 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2507 code from gdb_target_monitor, so it can be used independantly
2508 for gdbserver. Also comment out an unnecessary PUTS.
2509
dc96c6c7 25102000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
2511
2512 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2513 * gdb.base/corefile.exp: Expect the message "Program is being
2514 debugged already" when we send the "corefile" command, since
2515 the preceeding gdb_load may have connected gdb to a remote target.
2516 * gdb.base/display.exp: Disable hardware watchpoints if new
2517 board info variable "no_hardware_watchpoints" is true.
2518 Replace single-letter commands with more readable ones.
2519 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2520 if new board info variable "no_hardware_watchpoints" is true.
2521 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2522 to see if stdio (printf) testing is possible.
2523 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2524 board info variable "no_hardware_watchpoints" is true. Use new
2525 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2526
39124dea
FN
25272000-11-13 Fernando Nasser <fnasser@redhat.com>
2528
2529 From Orjan Friberg <orjanf@axis.com>:
2530 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2531 in array print pattern match.
2532
a9e2e984
FN
25332000-11-09 Fernando Nasser <fnasser@redhat.com>
2534
2535 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2536 spelling "cancelled" to U.S. spelling "canceled" to match changes
2537 made to gdb.
2538 * gdb.c++/ovldbreak.exp: Ditto.
2539
c7db355b
PS
25402000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2541
2542 * gdb.base/callfuncs.c (main): Moved to end of file, call
2543 t_double_values to initialize the FPU before inferior calls are made.
2544 * gdb.base/callfuncs.exp: Test for register preservation after calling
2545 inferior functions. Add tests for continuining, finishing and
2546 returning from a stop in a call dummy.
2547
dc96c6c7 25482000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
2549
2550 * gdb.base/commands.exp: Break up long lines, and re-indent.
2551
dc96c6c7 25522000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
2553
2554 * config/gdbserver.exp: Rewritten from the ground up, to make it
2555 compatible with the current dejagnu tree, and to make it work with
2556 the new "gdbserver" in libremote.
2557
dc96c6c7 25582000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2559
2560 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
2561 * gdb.base/varargs.exp: Skip entire test if no printf support.
2562 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
2563 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2564
dc96c6c7 25652000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2566
2567 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
2568 no floating point support.
2569 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
2570 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
2571 * gdb.base/call-rt-st.exp: Ditto.
2572 * gdb.base/call-strs.exp: Ditto.
2573
bac5fc66
JG
25742000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
2575
2576 * gdb.base/sizeof.c: include <stdio.h>.
2577
2578 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
2579 'finish', otherwise uncaptured gdb_prompt would potentially
2580 throw remaining test points out of sync.
2581
b22a6027
SB
25822000-07-26 Scott Bambrough <scottb@netwinder.org>
2583
2584 * gdb.base/recurse.exp: Run tests for all targets.
2585 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
2586 gnu-oldld case on ARM.
2587 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
2588 for ARM targets.
2589
d8231941
AG
2590Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2591
2592 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
2593 * gdb.java/configure: Rebuild.
2594
8caabe69
AG
2595Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
2596
2597 * gdb.java/jv-exp.exp: New file.
2598
9d273ca3
AG
2599Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
2600
2601 * configure: Rebuilt.
2602 * configure.in (configdirs): Add gdb.java.
2603 * gdb.java/jmisc.java: New file.
2604 * gdb.java/jmisc.exp: New file.
2605 * gdb.java/Makefile.in: New file.
2606 * gdb.java/configure: Rebuilt.
2607 * gdb.java/configure.in: New file.
2608 * lib/java.exp: New file.
2609
4f823a66
AC
2610Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
2611
2612 * gdb.base/exprs.exp: Test casts to a pointer including over and
2613 underflow.
2614
2391e11d
AC
2615Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
2616
2617 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
2618 and the compilers sizes.
2619
54602222
ND
26202000-07-09 Nick Duffek <nsd@redhat.com>
2621
2622 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
2623 (use_methods): New function.
2624 (main): Call use_methods().
2625 * gdb.c++/classes.exp (test_method_param_class): New procedure.
2626 (do_tests): Call test_method_param_class.
2627
2bec0572
ND
26282000-07-09 Nick Duffek <nsd@redhat.com>
2629
2630 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
2631 spelling.
2632 (test_enums): New procedure. Move enum tests from end of script
2633 to here. Set breakpoint on function name instead of line number.
2634 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
2635 (enums2): New marker function.
2636 (enums1): New function.
2637 (main): Call enums1(). Move enum tests to enums1().
2638
78492fde
AC
2639Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
2640
2641 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
2642 compile/link program. Update line numbers.
2643 * gdb.asm/d10v.inc: Define ``startup''.
2644 * gdb.asm/asmsrc1.s: Add definition of _start.
2645
49a2cef8
AC
2646Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
2647
2648 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
2649
3e6c8688
EZ
26502000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2651
2652 * gdb.base/maint.exp: Add 'maint print architecture' item to output
2653 of 'help maint print' command.
2654
9ff5cbe9
AC
2655Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
2656
2657 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
2658 they use gdb_expect_list.
2659
17c579bd
AC
2660Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
2661
2662 * gdb.base/commands.exp: Use ``set remote
2663 memory-read-packet-size'' instead of ``set endian big'' to test
2664 long commands.
2665
e6d71bf3
DB
26662000-06-03 Daniel Berlin <dan@cgsoftware.com>
2667
2668 * gdb.c++/templates.exp (do_tests): Make all of these work under
2669 g++, and stop skipping them.
2670
2671 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
2672 work under g++.
2673
e5f9ba7b
MS
2674 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
2675 initialization.
2676
dc96c6c7 26772000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
2678
2679 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
2680 the regular expression: accept an (almost) arbitrary sequence of
2681 "frames-invalid" and "breakpoints-invalid" messages both before
2682 and after the "starting" message.
2683
dc96c6c7 26842000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
2685
2686 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 2687
dc96c6c7 26882000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
2689
2690 * gdb.base/annota1.exp (annotate-signal-handler-caller):
2691 Relax the regular expression a little, make it pass on Solaris 8.
2692
8216cda9
KB
26932000-05-12 Kevin Buettner <kevinb@redhat.com>
2694
2695 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
2696 a call, do not require that gdb stop on the line after the call.
2697 Instead, it is permissible for gdb to stop on the line of the
2698 call itself.
2699
1a570b2f
MS
27002000-05-12 Michael Snyder <msnyder@.cygnus.com>
2701
2702 * gdb.base/break.exp (bp on small function, optimized file):
2703 Add a second pass pattern. The behavior differs here between stabs
2704 and dwarf for one-line functions. Stabs preserves two line symbols
2705 (one before the prologue and one after) with the same line number,
2706 but dwarf regards these as duplicates and discards one of them.
2707 Therefore the address after the prologue (where the breakpoint is)
2708 has no exactly matching line symbol, and GDB reports the breakpoint
2709 as if it were in the middle of a line rather than at the beginning.
2710
dc96c6c7 27112000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
2712
2713 * gdb.base/interrupt.exp: Make "pass" message say "send"
2714 rather than "send_gdb" (for consistancy).
2715
7d418785
AC
2716Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2717
2718 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
2719 * gdb.c++/templates.cc: Properly check for GCC version number.
2720 * lib/compiler.cc: Likewise
2721
dc96c6c7 27222000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
2723
2724 * gdb.base/break.exp: When compiled with -O2 optimization,
2725 gdb may not stop at the first line of main, due to code motion.
2726
dc96c6c7 27272000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
2728
2729 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
2730 This test depends on parsing the printf output from the target.
2731 Since the sparclet stub doesn't do stdio, this will never work.
2732 * gdb.base/call-rt-st.exp: ditto.
2733 * gdb.base/call-strs: ditto.
2734
dc96c6c7 27352000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
2736
2737 * gdb.base/miscexprs.exp: make sizeof long array test portable.
2738
2739 * gdb.base/ending-run.exp: After connecting to a remote target,
2740 but before running, the target will appear to be in a random
2741 location. Specify both a file and a line for breakpoints.
2742 Also, the function that calls main may be called 'init'
2743 rather than 'start'.
2744
a5a51225
EZ
27452000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2746
2747 * gdb.base/help.exp: Update output for add-symbol-file command.
2748
7930cc7c
FN
27492000-04-10 Fernando Nasser <fnasser@cygnus.com>
2750
2751 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2752 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2753
23e37ab1
C
27542000-04-07 J.T. Conklin <jtc@redback.com>
2755
e93c542c
C
2756 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
2757
23e37ab1
C
2758 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2759
591b8fa3
PDM
2760Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
2761
2762 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
2763 values that can be represented exactly.
2764 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
2765 above change, and to not check against the directory part of the source
2766 file name.
2767 (step into print_long_arg_list): Likewise.
2768 (print print_small_structs from print_long_arg_list): Likewise.
2769 (print print_long_arg_list): Likewise.
2770
7a495180
EZ
27712000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2772
30b53638 2773 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 2774
beb998c6
AC
2775Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
2776
2777 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
2778
1c689132
DB
27792000-03-25 Daniel Berlin <dan@cgsoftware.com>
2780
2781 * gdb.base/commands.exp (deprecated_command_test): Add test for
2782 deprecate with no arguments.
2783
c1790a9d
JL
27842000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
2785
2786 * gdb.base/break.exp: Add new test for setting breakpoints on
2787 optimized code so we can test breakpoints work even when function
2788 prologues may be optimized away
2789
003ba290
FN
27902000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
2791
2792 From David Whedon <dwhedon@gordian.com>
2793 * gdb.base/commands.exp : Added command deprecator tests.
2794
6837a0a2
DB
27952000-03-22 Daniel Berlin <dan@cgsoftware.com>
2796
2797 * gdb.base/help.exp: Added test for new apropos command.
2798
b9593231
KB
27992000-03-21 Kevin Buettner <kevinb@redhat.com>
2800
2801 * gdb.base/pointers.c (usevar): New function.
2802 (main): Make sure that global variables v_int_pointer2, rptr,
2803 and y are all referenced someplace in the program by calling
2804 usevar() on them. [Some linkers delete symbols which are
2805 never referenced. The space remains, but there's no way to
2806 get a (symbolic) handle on the variable from the debugger.]
2807
751a959b
EZ
28082000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2809
2810 * gdb.base/printcmds.c: Add typedeffed arrays.
2811
2812 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
2813 procedure to test arrays that are typedef'd.
2814
73a93a32
JI
28152000-03-13 James Ingham <jingham@leda.cygnus.com>
2816
2817 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 2818 the library directories.
73a93a32 2819
fb40c209
AC
2820Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
2821
2822 * configure.in (configdirs): Add sub directory gdb.mi.
2823 * configure: Re-generate.
2824
2825 * gdb.mi: New directory.
beb998c6 2826
ee4dd2c9
AC
28272000-02-25 Scott Bambrough <scottb@netwinder.org>
2828
2829 * gdb.base/long_long.exp: Correct test suite failure when printing
2830 a long long value as a double on ARM platforms.
2831
70f0cc22
JB
28322000-02-16 Jim Blandy <jimb@redhat.com>
2833
2834 * gdb.base/break.exp ("breakpoint line number"): Make sure the
2835 default source file is set properly before running this test.
2836
853819b8
EZ
28372000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2838
2839 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
2840 gdbtk/library directory, not in gdbtcl2.
2841
dfcd3bfb
JM
28422000-02-04 Jim Blandy <jimb@redhat.com>
2843
2844 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
2845 backslash from regexp pattern.
2846
2847 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
2848 procedure. Use it to run all the "continue to bp overloaded"
2849 tests. Note that this changes the names of the tests slightly.
2850 If the breakpoint hit message includes a hex PC value, because
2851 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
2852 from the real source code, still consider that a pass.
2853
2854 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
2855 XFAIL here if the breakpoint message contains a hex address. Note
2856 similar change on 1999-11-02.
2857
2858 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
2859
2860 * gdb.base/ptype.exp: Establish a default source file before
2861 calling get_debug_format.
2862
28632000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
2864
2865 * gdb.base/watchpoint.exp: Remove duplication of test messages.
2866
8b93c638
JM
28672000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2868
2869 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
2870 of successive stepi commands -- while in the prologue we should see
2871 the function entry bracket.
2872
28732000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2874
2875 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
2876 reach __change_mode() when stepping through the end of main().
2877
c5394b80
JM
28782000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
2879
2880 * gdb.base/default.exp: Fix expected pattern.
2881 * gdb.base/help.exp: Same.
2882
0d06e24b
JM
28832000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2884
2885 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
2886 Don't use xfail's because that affects only the following test.
beb998c6 2887
0d06e24b
JM
2888 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
2889 solaris or linux.
2890
2891 * gdb.base/selftest.exp: Update to reflect changes to main.c.
2892
dc96c6c7 28932000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 2894
beb998c6 2895 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
2896 "A syntax error" rather than "A parse error". Accept both.
2897
28982000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2899
2900 * gdb.base/default.exp: Remove OS dependent string from "target
2901 remote" test.
2902 * gdb.base/help.exp: Same for "help target remote" test.
2903
c3f6f71d
JM
29042000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2905
2906 From Jim Kingdon <kingdon@redhat.com>:
2907
2908 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
2909 prompt (cleanup rather than necessity, but still might keep output
2910 from spilling to next test).
2911
29122000-01-02 Fred Fish <fnf@cygnus.com>
2913
2914 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
2915 AIX, which defines them in <sys/types.h>.
2916
ed9a39eb 29171999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 2918
ed9a39eb
JM
2919 * gdb.base/default.exp: Match arm* etc instead of arm in "info
2920 float" test.
2921
29221999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 2923
ed9a39eb 2924 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
2925
2926 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
2927 outermost frame disallowed".
2928
29291999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
2930
2931 * gdb.base/setvar.exp: New tests for setting the value of a struct
2932 with a constant list.
2933
29341999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2935
2936 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
2937 require the user to type a cast before setting the value of a struct.
2938
de57eccd
JM
29391999-12-06 Jim Blandy <jimb@cygnus.com>
2940
2941 * gdb.base/default.exp: Expect the new 'info float' command on
2942 all i386 platforms.
2943
2944 * gdb.threads/linux-dp.exp: Expand our ability to recognize
2945 LinuxThreads libraries that don't support debugging.
2946
c2d11a7d
JM
2947Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2948
2949 * gdb.base/remote.c: Fill the buffer with truely random data.
2950 Change the buffer type to ``unsigned char'' to simplify size
2951 arithmetic.
2952
2953 * gdb.base/remote.exp: Reduce download numbers by one. Typical
2954 stub only handles 400-1 byte packets. Verify that the download
2955 worked.
2956
29571999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
2958
2959 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
2960 tests, using UNRESOLVED for the untested cases. Also, does not wait
2961 for a timeout if the prompt was received before a recognizable pattern.
2962
29631999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
2964
2965 * lib/gdb.exp (gdb_expect_list): Fix spelling.
2966
29671999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2968
2969 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
2970 watchpoints.
2971
29721999-11-24 Jason Merrill <jason@casey.cygnus.com>
2973
2974 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
2975
2976 * gdb.c++/local.exp: Be more flexible in recognizing local class
2977 name mangling. Don't allow horribly truncated method names.
2978 * gdb.c++/derivation.exp: Expect protected inheritance.
2979 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
2980 * gdb.c++/virtfunc.exp: Likewise.
2981 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
2982 when printing a nested enum.
2983
29841999-11-22 Jim Blandy <jimb@cygnus.com>
2985
2986 * gdb.base/step-test.exp: Properly await GDB's response to setting
2987 a breakpoint on the call to large_struct_by_value.
2988
2989 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
2990 just because we have debug info for the `start' function.
2991
29921999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
2993
2994 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
2995 "Unknown signal" messages, which indicate (on LinuxThreads) that
2996 GDB doesn't know how to debug threads on this system. This is
2997 better than hanging while philosopher 0 dumps chatter into gdb.log.
2998
29991999-11-18 Tom Tromey <tromey@cygnus.com>
3000
3001 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3002
30031999-11-18 Fred Fish <fnf@cygnus.com>
3004
3005 * gdb.base/coremaker2.c: Add sample program for generating
3006 cores that is more self contained than coremaker.c. Eventually
3007 I'll add more code to this and tie it into the testsuite.
3008
4ce44c66
JM
30091999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3010
3011 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3012
30131999-11-10 Jimmy Guo <guo@cup.hp.com>
3014
3015 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3016 from $srcdir/lib/.
3017 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3018 and gdb.c++/.
3019
3020 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3021
beb998c6 3022 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3023 'continue with watch' test point.
3024
30251999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3026
3027 Merged from p2linux-990323-branch:
beb998c6 3028
4ce44c66
JM
3029 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3030
11cf8741
JM
3031Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3032
3033 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3034 {limit,fixed}''. Test ``set download-write-size''.
3035
3036Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3037
3038 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3039 gdb_expect_list.
3040
3041Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3042
3043 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3044
30451999-11-03 Mark Salter <msalter@cygnus.com>
3046
3047 * gdb.base/break.exp: Fix "stub continue" pattern.
3048
30491999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3050
3051 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3052
30531999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3054
3055 * gdb.base/display.exp ("finish"): Add timeout clause.
3056
3057 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3058 plain prompt clause, so this doesn't have to time out in order to
3059 fail.
3060
3061 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3062 breakpoint hit messages include an address.
3063
3064 * gdb.base/display.exp: Don't forget to escape parens in regular
3065 expressions. Unix regexp notatation sucks.
3066
30671999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3068
3069 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3070 order for 'signalled' message.
3071
5c44784c
JM
30721999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3073
3074 From Jimmy Guo <guo@cup.hp.com>:
3075 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3076 * gdb.base/annota1.c: Add code for tests to work with.
3077
30781999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3079
3080 * gdb.base/remote.exp: New test for remote downloading settings.
3081 * gdb.base/remote.c: New file with large .data.
3082
917317f4
JM
30831999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3084
3085 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3086 for LinuxThreads support, merged from the Code Fusion branch.
3087
3088Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3089
3090 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3091 containing exp_continue into a while within an expect. Don't
3092 attempt a start more than three times. Check return value from
3093 gdb_load.
beb998c6 3094
2df3850c
JM
3095Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3096
3097 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3098 a pass case.
3099
2acceee2
JM
31001999-10-01 Kevin Buettner <kevinb@cygnus.com>
3101
3102 * gdb.base/break.c (main): Added a statement that we can step
3103 off of.
3104 * gdb.base/break.exp: Added tests for setting a breakpoint
3105 at an offset and stepping onto a breakpoint.
3106
31071999-10-01 Fred Fish <fnf@cygnus.com>
3108
beb998c6 3109 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3110 gdb output.
3111
c2c6d25f
JM
31121999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3113
3114 * gdb.base/break.exp: Code locations are in hex, don't forget!
3115 (For HP-UX.)
3116
31171999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3118
3119 * condbreak.exp: Use break.c as test program.
3120 * condbreak.c: Remove, redundant with break.c.
3121
31221999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3123
3124 * config/monitor.exp (gdb_target_monitor): Disable X- and
3125 Z-packets if the target needs it.
3126
31271999-09-13 James Ingham <jingham@leda.cygnus.com>
3128
3129 * gdb.c++/overload.exp: Added tests for listing overloaded
3130 functions with function pointers in the arg, explicitly calling
3131 out the version you want.
3132
cff3e48b
JM
31331999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3134
3135 * long_long.exp: Add variations of test cases that work for
3136 targets with 16-bit ints and 32-bit doubles.
3137
d4f3574e
SS
31381999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3139
3140 * break.c (main): Compare a possibly-uninitialized argc with an
3141 unlikely value that fits in 16 bits.
3142
31431999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3144
3145 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3146 0xfeeb, don't want negative numbers if ints are 16 bits.
3147
3148 * lib/gdb.exp (skip_cplus_tests): New proc.
3149 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3150 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3151 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3152 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3153 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3154 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3155 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3156 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3157
3158 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3159
3160Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3161
3162 * gdb.base/corefile.exp (up): Allow a parameter to appear
3163 in the frame that we're going up to.
3164
3165 From Jim Blandy <jimb@cygnus.com>:
3166
3167 * gdb.base/default.exp (info float): Expect some output now.
3168
3169 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3170 returning floating-point values to fail on the x86.
3171 * gdb.base/callfwmall.exp (do_function_calls): Same.
3172
3173 * gdb.base/list.exp (test_listsize): Correct expectations for
3174 listing line 1 with listsize 2. Also, listing a single line
3175 works now, as does listing three lines. [Kevin's note: There
3176 were a number of other cases fixed too where the expectations
3177 differed...]
3178
31791999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3180
3181 * gdb.base/selftest.exp: Add case for when version prints as
3182 constant string instead of char pointer.
3183
104c1213
JM
31841999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3185
3186 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3187 stepping out of main.
3188
3189 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3190 G++ used.
3191
3192 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3193 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3194
3195 * gdb.c++/ovldbreak.exp: Update match string in test that
3196 includes a warning of multiple breakpoints.
3197
31981999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3199
3200 * gdb.base/display.exp: Improve precision of step-after-finish
3201 added yesterday.
3202
3203 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3204 test.
3205
3206 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3207 configs when using G++, not just hppa*.
3208
32091999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3210
3211 * gdb.base/async.c: New file.
3212 * gdb.base/async.exp: New file.
3213
3214Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3215
3216 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3217 PA64.
3218
53a5351d
JM
3219Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3220
104c1213
JM
3221 * gdb.base/display.exp: "finish" can leave us mid-line on many
3222 targets, deal with it. Add a small constant to main, instead of
3223 1000 since main+1000 may not be a valid address in the target.
3224
53a5351d
JM
3225 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3226 on hpux11.
3227
3228 * gdb.base/attach.exp: Handle another hpux11 error message variant
3229 when attaching to a process that does not exist.
3230
32311999-08-19 J.T. Conklin <jtc@redback.com>
3232
3233 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3234 characters in 'continue to 1241' test.
3235
32361999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3237
3238 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3239 stop in print_long_arg_list, define and use a whitespace
3240 variable in print_small_structs test, add an XFAIL for Solaris.
3241 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3242 interested enough to fix.
3243
7be570e7
JM
32441999-08-13 Keith Seitz <keiths@cygnus.com>
3245
3246 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3247 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3248 proc knows about targets other than the natives.
3249 (test_assign): Use "gdb_run_cmd" to "run" the target.
3250 Check that we've actually hit the breakpoint at main.
3251 When we attempt to assign a value to a local variable, check
3252 that the variable is in the current scope, i.e., don't use
3253 a test with an empty result.
3254
3255Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3256
3257 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3258 command.
3259
32601999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3261
3262 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3263 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3264 gdb.compat, gdb.threads-hp.
3265 gdb.hp/configure, gdb.hp/configure.in: New files.
3266 gdb.hp/Makefile.in: Recurse into new subdirs.
3267 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3268 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3269 in object files.
3270 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3271
96baa820
JM
32721999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3273
3274 * gdb.base/display.exp: Help expect by putting a newline in the
3275 funky printf, remove a bogus p/a test.
3276
32771999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3278
3279 * gdb.base/display.exp: Make sure that when we say 'run', we are
3280 connected to the target. This is necessary when running not
3281 natively.
3282
32831999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3284
3285 * gdb.base/step-test.exp: Removed some extraneous messages.
3286
3287 * gdb.base/long_long.exp: Don't run memory examination tests
3288 on little-endian targets (they will need a different set of
3289 results to match).
3290
32911999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3292
3293 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3294 until somebody decides to fix GDB.
3295
3296 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3297 constant as "ULL".
3298 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3299 matches for a couple x/2 commands.
3300
a0b3c4fd
JM
33011999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3302
3303 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3304 by merging in ref-types2 tests.
3305 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3306
3307 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3308 * gdb.c++/Makefile.in: Add standard actions.
3309 (EXECUTABLES): Rename from PROGS, update list.
3310 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3311 from gdb.hp.
3312 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3313 foo and bar locals.
3314 * gdb.c++/anon-union.exp: Fix tests to match.
3315 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3316 expect matches to handle output variations.
3317 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3318 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3319 output, add HP alternatives for new and delete prints.
3320 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3321 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3322 * gdb.c++/demangle.exp: Use $style when reporting failure.
3323 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3324 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3325 match alternatives.
3326 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3327 compilers.
3328 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3329 * gdb.c++/method.exp: Add match alternatives.
3330 * gdb.c++/misc.cc: Add bool types.
3331 * gdb.c++/misc.exp: Add tests for bool types.
3332 * gdb.c++/overload.exp: Add xfails.
3333 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3334 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3335 add some more template parameter tests (only for HP currently).
3336 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3337 * gdb.c++/virtfunc.cc: Add return type and value for main.
3338 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3339 match alternatives.
beb998c6 3340
a0b3c4fd
JM
33411999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3342
3343 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3344
33451999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3346
3347 * gdb.base/signals.exp: Don't expect getting a backtrace from
3348 within a signal handler to fail on Linux.
3349
33501999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3351
3352 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3353 * lib/gdb.exp: Remove some gratuitious semicolons.
3354 (delete_breakpoints): Increase timeout.
3355 (gdb_expect): Add -notransfer option.
3356 (gdb_test): Use -notransfer option.
3357 (get_compiler_info): Add f77 case.
3358 (get_compiler): New proc, split out from gdb_preprocess, add f77
3359 case.
3360 (gdb_preprocess): Call get_compiler.
3361
3362 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3363 * gdb.base/attach.exp, gdb.base/display.exp,
3364 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3365 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3366 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3367 third arg to gdb_test.
3368 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3369 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3370 HP-UX xfails, add others.
3371 * gdb.base/completion.exp: Reflect name change of self-test.
3372 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3373 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3374 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3375 HP failure number.
3376 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3377 useless HP-UX 10.30 references.
3378 * gdb.base/maint.exp: Loosen matches.
3379 * gdb.base/pointers.c (main): Declare more_code.
3380 * gdb.base/pointers.exp: Match on output of a `next'.
3381 * gdb.base/structs.c: Add prototypes.
3382 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3383 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3384
33851999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3386
3387 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3388 command.
3389
33901999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3391
3392 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3393 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3394
3395 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3396 debug info. Deal with lack of signal hanlder info in stack.
3397
3398 From Jim Kingdon <kingdon@redhat.com>:
3399 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3400
5a2468f5
JM
34011999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3402
3403 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3404 gdb.base/foll-vfork.exp: Don't run for crosses.
3405
adf40b2e
JM
3406Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3407
3408 * gdb.base/configure.in: Check for gdbvars.exp instead of
3409 a1-selftest.exp.
3410 * gdb.base/configure: Re-generate.
3411
34121999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3413
3414 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3415 in trying to run first and name is too long.
3416
3417 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3418 pointers2.c and pointers2.exp, respectively.
3419 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3420 doschk happier.
3421
43e526b9
JM
34221999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3423
3424 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3425 callfuncs2.c and callfuncs2.exp.
3426
3427 * gdb.base/list.exp: Remove mistaken xfails.
3428 * gdb.base/list0.h: Add optional prototypes.
3429
9846de1b
JM
3430Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3431
3432 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3433 calling malloc.
3434 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3435 * ptype.exp: Move test for get_debug_format to before its first
3436 use.
3437
34381999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3439
3440 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3441 * gdb.base/annota2.cc, annota2.exp: Move from here.
3442 * gdb.c++/annota2.cc, annota2.exp: To here.
3443 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3444
43ff13b4
JM
3445Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3446
3447 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3448 a consistent format.
3449
085dd6e6
JM
34501999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3451
3452 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3453 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3454 HP compilers, also set the globals $true and $false.
3455
3456 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3457 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3458 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3459 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3460 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3461 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3462 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3463 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3464 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3465 whatis.c} Add C++ compatible function definitions and return
3466 types, add includes for library functions.
3467 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3468 * gdb.base/step-test.c (myglob): Rename from glob.
3469 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3470 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3471 files, move here from gdb.hp.
3472 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3473 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3474 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3475 Adjust line numbers in regexps.
3476
3477 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3478 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3479 instead of 0/1.
3480
3481 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3482 foll-vfork.exp: New files, move here from gdb.hp.
3483 * gdb.base/page.exp: New file, test of pagination command.
3484
3485 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3486 recursion test.
3487 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3488
3489 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3490 gdb.base/solib.exp: Fix compiler invocation process.
3491
3492 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3493 HP-UX 11, turn off overload resolution explicitly.
3494 * gdb.base/commands.exp: Set argument list explicitly, add
3495 watchpoint test.
3496 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3497 them work.
3498 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3499 expressions properly.
3500 * gdb.base/corefile.exp: Loosen the match slightly.
3501 * gdb.base/default.exp: Allow "Error accessing memory" message
3502 also.
3503 * gdb.base/display.exp: Skip over x/0 j if PA64.
3504 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3505 * gdb.base/interrupt.exp: Ditto.
3506 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3507 in use.
3508 * gdb.base/list.exp: Add xfails for HP-UX.
3509 * gdb.base/long_long.exp: Refine some of the numeric matches.
3510 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3511 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3512 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3513 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3514 * gdb.base/ptype.exp: Succeed on more varieties of output.
3515 * gdb.base/scope.exp: Add xfails for HP-UX.
3516 * gdb.base/sect-cmd.exp: Add more cases.
3517 * gdb.base/setvar.exp: Add xfails for HP-UX.
3518 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3519 * gdb.base/signals.exp: Match on void symbolically.
3520 * gdb.base/step-test.exp: Add case for PA64.
3521 * gdb.base/term.exp: Add exit and restart.
3522 * gdb.base/twice.exp: Clean up after self.
3523 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3524 * gdb.base/whatis.exp: Allow more ways to pass tests.
3525
3526 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3527 no longer useful.
3528
3529Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3530
3531 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3532 list of patterns.
3533 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3534 print_double_array(double_array)", "continuing to breakpoint
3535 1018", "print print_double_array(array_d)" and "continuing to
3536 1034" tests.
beb998c6 3537
085dd6e6
JM
35381999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3539
3540 * Makefile.in: Add empty html and install-html targets.
3541
35421999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3543
3544 * config/mt-*: Remove, these haven't been used since 1996.
3545
35461999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3547
3548 * gdb.base/call-strs.c, gdb.base/ending-run.c,
3549 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
3550 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
3551
9e0b60a8
JM
35521999-06-18 Stan Shebs <shebs@andros.cygnus.com>
3553
3554 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
3555 simpler match case for the ptype of the big class.
3556
35571999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3558
3559 * gdb.exp: Fix test for gdb_prompt existence.
3560
35611999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3562
3563 * gdb.exp (gdb_test): Add fail after calls to perror.
3564
35651999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3566
3567 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
3568
35691999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3570
3571 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
3572
0f71a2f6
JM
3573Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
3574
3575 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
3576 malloc() is linked in.
3577
35781999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3579
3580 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
3581 step at end.
3582
3583 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
3584
35851999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
3586
3587 * gdb.java/jv-print.exp: New file. (Our first Java test!)
3588
cce74817
JM
3589Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
3590
3591 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
3592 * gdb.base/mips_pro.exp: Likewise.
3593
35941999-06-02 Keith Seitz <keiths@cygnus.com>
3595
3596 * gdb.c++/templates.cc: Change all "new" operators to throw
3597 an exception.
3598 * gdb.c++/cplusfuncs.cc: Likewise.
3599
3600 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
3601
3602Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
3603
3604 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
3605 * gdb.base/ending-run.exp: When stepping out of main, accept a
3606 step into an arbitrary assembler file.
3607
392a587b
JM
36081999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3609
beb998c6 3610 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 3611 "breakpoint-invalid" to be printed.
beb998c6 3612 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
3613 number of "frames-invalid" and "breakpoint-invalid" to be printed.
3614 * gdb.base/annota2.cc: Initialize a.x to 0.
3615
9e086581
JM
36161999-05-17 Keith Seitz <keiths@cygnus.com>
3617
3618 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
3619 when "skip_float_tests" set.
3620 Ditto for "print print_double_array(array_d)", "print print_small_structs",
3621 "print print_ten_doubles", and "step into print_long_arg_list".
3622 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
3623 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
3624 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
3625 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
3626 "skip_float_tests" is set.
3627 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
3628 when "skip_float_tests" set.
beb998c6 3629
cd0fc7c3
SS
36301999-05-06 Keith Seitz <keiths@cygnus.com>
3631
3632 * gdb.base/annota2.cc: Include stdio.h.
3633
3634Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
3635
3636 * gdb.base/crossload.exp: Remove, this has been disabled ever
3637 since BFD stopped including all targets, and cross-GDB gets
3638 plenty of testing anyway.
3639 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
3640 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
3641 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
3642 * gdb.base/README: Remove, was doc for this.
3643 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
3644 needed.
3645
b83266a0
SS
36461999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3647
3648 * gdb.base/call-ar-st.exp: Fix one regular expression in test
3649 output.
3650
3651 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
3652 * gdb.base/annota2.exp: New file. More annotation tests.
3653 * gdb.base/annota1.c: New file. Source file for annota1.exp.
3654 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
3655
36561999-04-23 Angela Marie Thomas <angela@cygnus.com>
3657
3658 * config/cfdbug.exp: New file.
3659
7a292a7a
SS
36601999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3661
3662 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
3663 Marcus Daniel's and Dale Hawkins's demangler crashes.
3664
3665 * gdb.c++/demangle.exp (test_gnu_style_demangling,
3666 test_lucid_style_demangling, test_arm_style_demangling,
3667 test_hp_style_demangling): Try Tom Tromey's core-dumping
3668 identifier under each demangling style.
3669
36701999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
3671
3672 * gdb.c++/demangle.exp: Include the current demangling style
3673 in all test names.
3674 (current_demangling_style): New global variable.
3675 (set_demangling_style, test_demangling_core, test_demangling,
3676 test_demangling_exact): New functions.
3677 (test_gnu_style_demangling, test_lucid_style_demangling,
3678 test_arm_style_demangling, test_hp_style_demangling): Use those,
3679 instead of calling gdb_test and gdb_test_exact directly.
3680 (catch_demangling_errors): New function, which reports errors
3681 signalled by the demangling test functions in an orderly way.
3682 (do_tests): Use catch_demangling_errors.
3683
36841999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
3685
3686 * gdb.base/signals.exp (test_handle_all_print): Use () for
3687 grouping in expressions, not {}.
3688
3689 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
3690 initialized yet.
3691
36921999-04-01 Stan Shebs <shebs@andros.cygnus.com>
3693
3694 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
3695 are listed.
3696
36971999-03-26 Stan Shebs <shebs@andros.cygnus.com>
3698
3699 * gdb.stabs/weird.exp: Test for CC being defined before
3700 looking at its value.
3701
37021999-03-25 Stan Shebs <shebs@andros.cygnus.com>
3703
3704 * gdb.base/call-ar-st.exp: Remove stray '#'.
3705 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
3706 "short int" and "long int".
3707 * gdb.c++/overload.cc: Cast the string added in the previous
3708 change, to mollify finicky HP compiler.
3709 * gdb.hp/reg-test.exp (testfile): Fix file name.
3710 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 3711
7a292a7a
SS
3712 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
3713 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
3714 alternate form of enum ptype.
3715
c906108c
SS
37161999-03-23 Stan Shebs <shebs@andros.cygnus.com>
3717
7a292a7a
SS
3718 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
3719 * gdb.hp/*.exp: Change all to run compiler probe only after
3720 passing skip_hp_tests, so as not to waste time on guaranteed
3721 failure.
3722
c906108c
SS
3723 * gdb.c++/overload.cc: Pass string instead of char addr, always
3724 init ccpfoo.
3725 * gdb.c++/templates.cc: Fix syntax error.
3726
7a292a7a
SS
3727Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3728
3729 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 3730 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
3731 command.
3732
37331999-03-18 James Ingham <jingham@cygnus.com>
3734
3735 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
3736
3737 * gdb.c++/method.exp: It was testing an uninitialized int on the
3738 stack and assuming it was positive.
3739
3740 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
3741
3742 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 3743 keep it from killing the rest of the tests.
7a292a7a
SS
3744 Use gdb_continue_to_end.
3745
3746 * gdb.base/sigall.exp: use gdb_continue_to_end.
3747
3748 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
3749
3750 * gdb.base/display.exp: use runto_main, not run.
3751
beb998c6
AC
3752 * gdb.base/default.exp: Check for the current error message in the
3753 r abbreviation test.
7a292a7a
SS
3754 Add strongarm to the targets that know info float.
3755
beb998c6 3756 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
3757 run which doesn't work with monitors.
3758
3759 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
3760
3761 * gdb.base/break.exp: use the gdb_continue_to_end proc.
3762
3763 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
3764 program. Traps the case (in Cygmon) when the program never really
3765 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
3766 more places, so I used my name. Sorry Mark...
3767
3768 * config/monitor.exp (gdb_target_monitor): added another
3769 target_info parameter: remotebinarydownload. This will set the
3770 remotebinarydownload flag if this is causing some boards trouble.
3771
37721999-03-18 Mark Salter <msalter@cygnus.com>
3773
3774 * lib/gdb.exp (continue_to_exit): New function.
3775
3776 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
3777 * gdb.base/ending-run.exp: Ditto.
3778 * gdb.base/step-test.exp: Ditto.
3779
37801999-03-16 Stan Shebs <shebs@andros.cygnus.com>
3781
3782 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
3783 (suggested by Art Haas <ahaas@neosoft.com>).
3784
37851999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
3786
3787 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
3788
3789Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
3790
3791 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
3792 descriptions of types (short unsigned int vs unsigned short, etc).
3793
37941999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
3795
3796 * gdb.base/call-strs.exp: Don't assume that `step' will step over
3797 a call to strlen; sometimes we do have sources.
3798
37991999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
3800
3801 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
3802 character, so GDB won't print garbage after its end.
beb998c6 3803
c906108c
SS
3804 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
3805 breakpoint there instead. Sometimes GCC emits memcpy to handle
3806 the large structures being passed by value, so we step into that
3807 instead of sum_array_print, which obscures what we're really testing.
3808 * gdb.base/step-test.exp: However, we do want a test that notices
3809 the bizarre steps into memcpy, so do that here. Add check for
3810 stepping into function calls that pass large structures by value.
3811 ("Is that a noun clause, or are you just happy to see me?")
3812 Remove all references to specific line numbers.
3813 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
3814 New type and function.
3815 (main): Call large_struct_by_value, passing it a large struct by value.
3816 * lib/gdb.exp (gdb_get_line_number): New function.
3817
3818 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
3819 more portable.
3820
7a292a7a
SS
38211999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
3822
c906108c
SS
3823 * lib/gdb.exp: Doc fixes.
3824
7a292a7a
SS
38251999-03-05 Nick Clifton <nickc@cygnus.com>
3826
beb998c6 3827 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
3828
38291999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
3830
c906108c
SS
3831 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
3832 commands. They're not germane to this test, and they don't work
3833 that way on remote targets.
3834
3fc11d3e
JM
38351999-03-01 James Ingham <jingham@cygnus.com>
3836
3837 * Changelog entries merged over from gdb development branch.
3838
3fc11d3e
JM
3839 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
3840
3841 * lib/gdb.exp (gdbtk_analyze_results): Generic function
3842 for outputting results of test run.
3843
2d4a1622 3844 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
3845
3846 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 3847
7a292a7a
SS
38481999-02-25 Felix Lee <flee@cygnus.com>
3849
3850 * lib/gdb.exp (debug_format): initialize
3851
c906108c
SS
38521999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
3853
3854 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
3855 * gdb.base/call-rt-st.c: Ditto.
3856
c906108c
SS
38571999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
3858
3859 * gdb.threads/pthreads.exp (horiz): New variable.
3860 (test_startup): Fix regexps that capture thread numbers.
3861
38621999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
3863
3864 * gdb.base/smoke.exp: Disambiguate two test case names (both
3865 called ``print'').
3866
3867Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3868
3869 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
3870 compilation.
3871
38721999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3873
3874 * gdb.base/miscexprs.exp: Change patterns to match GDB's
3875 actual output formatting.
3876 * gdb.base/smoke.exp: GDB removes leading 0's.
3877 * gdb.base/volatile.exp: Don't check type of remuneration;
3878 that variable is no longer defined in constvars.c.
3879 * gdb.base/step-test.c (main): Exit with explicit exit code.
3880 * gdb.base/step-test.exp: Remove two nexti checks--they are
3881 not portable.
3882
38831999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3884
3885 * gdb.base/help.exp ("help delete display"): Fix test to match
3886 gdb's output.
3887
3888 * gdb.base/long_long.c (known_types): Initialize values to zero.
3889 * gdb.base/long_long.exp: Step one more line
3890 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 3891 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
3892 unique test case names.
3893
3894Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3895
beb998c6 3896 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
3897
3898 * gdb.c++/method.exp: Add missing close brace.
3899
39001999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
3901
3902 * gdb.base/maint.exp: Use 'set height 0' to disable page
3903 prompting, not 'set height 400'.
3904
3905 Fix a bunch of timeouts.
3906 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
3907 four separate tests, so expect doesn't take forever to match a ton
3908 of text against a regexp with lots of .* forms.
3909 ("maint print psymbols", "maint print symbols"): Make some of
3910 these greps more selective, so that expect doesn't try to wade
3911 through huge piles of output and time out.
3912
3913 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
3914
3915 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
3916 tests: one which doesn't expect shlib events to be reported, and
3917 another which does, but is XFAIL for all platforms other than
3918 HP/UX.
3919
3920 * gdb.base/break.exp: Teach the test suite that the `catch
3921 fork', `catch vfork', and `catch exec' commands produce error
3922 messages on platforms that don't provide these features.
3923
3924Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3925
3926 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
3927 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
3928 (shortening names from solib_threshold.exp etc), won't run on
3929 anything but HP-UX for the foreseeable future.
3930 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
3931 reflect move.
3932
3933Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
3934
3935 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3936 gdb.trace/Makefile.in (clean): Remove all test executables.
3937
3938Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
3939
3940 * gdb.base/shlib-call.exp: add test cases to verify that gdb
3941 successfully re-sets breakpoints in shared libraries.
3942 * gdb.base/shmain.c (main): return 0, don't fall off the end.
3943
3944Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3945
beb998c6
AC
3946 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
3947 and compiled w/o GCC.
c906108c
SS
3948
3949 * gdb.hp/watch-cmd.exp: ditto.
3950
3951 * gdb.hp/watch-hp.exp: ditto.
3952
3953 * gdb.hp/xdb1.exp: ditto.
3954
3955 * gdb.hp/xdb2.exp: ditto.
3956
3957 * gdb.hp/dbx.exp: ditto.
3958
3959Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
3960
3961 * constvars.c: Remove C++-isms.
3962 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
3963 with GCC.
3964
3965Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
3966
3967 The following changes are part of the HP merge.
3968
3969 * gdb.base/break.exp: new tests to verify that catchpoints for
3970 fork, vfork, and exec don't trigger inappropriately.
3971
3972 * gdb.base/opaque.exp: compile one file at a time, then link.
3973
3974 * gdb.base/signals.exp: be more restrictive about which hppa
3975 systems receive a setup_xfail. new tests.
3976
3977 * gdb.base/solib_threshold.build: new file.
3978 * gdb.base/solib_threshold.exp: new file.
3979 * gdb.base/solib_threshold.link_opts: new file.
3980 * gdb.base/solib_threshold.mk: new file.
3981 * gdb.base/gen_solib_threshold.c: new file.
3982
3983 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
3984 tests. New tests for enums inside classes.
3985
3986 * gdb.c++/compiler.cc: indicate support of template debugging.
3987
3988 * gdb.c++/demangle.exp: run hp style demangling tests.
3989
3990 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
3991 tests.
3992
3993 * gdb.c++/misc.cc: changes to support new tests.
3994
3995 * gdb.c++/templates.cc: changes to support HP's compiler; changes
3996 to support new tests.
3997
3998 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
3999 gcc, then skip these tests.
4000
4001Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4002
4003 The following files are part of the HP merge; some had longer
4004 names at HP, but have been renamed to be no more than 14
4005 characters in length.
4006
4007 * gdb.hp/ambiguous.cc: new file.
4008 * gdb.hp/ambiguous.exp: new file.
4009 * gdb.hp/attach.exp: new file.
4010 * gdb.hp/attach2.exp: new file.
4011 * gdb.hp/classes-hp.exp: new file.
4012 * gdb.hp/ctti.exp: new file.
4013 * gdb.hp/ctti-add.cc: new file.
4014 * gdb.hp/ctti-add1.cc: new file.
4015 * gdb.hp/ctti-add2.cc: new file.
4016 * gdb.hp/ctti-add3.cc: new file.
4017 * gdb.hp/dbx.exp: new file.
4018 * gdb.hp/exception.cc: new file.
4019 * gdb.hp/exception.exp: new file.
4020 * gdb.hp/foll-exec.c: new file.
4021 * gdb.hp/foll-exec.exp: new file.
4022 * gdb.hp/foll-fork.c: new file.
4023 * gdb.hp/foll-fork.exp: new file.
4024 * gdb.hp/foll-vfork.c: new file.
4025 * gdb.hp/foll-vfork.exp: new file.
4026 * gdb.hp/inherit-hp.exp: new file.
4027 * gdb.hp/more-steps.exp: new file.
4028 * gdb.hp/namespace.cc: new file.
4029 * gdb.hp/namespace.exp: new file.
4030 * gdb.hp/optimize.exp: new file.
4031 * gdb.hp/pxdb.c: new file.
4032 * gdb.hp/pxdb.exp: new file.
4033 * gdb.hp/quicksort.exp: new file.
4034 * gdb.hp/reg-test.exp: new file.
4035 * gdb.hp/reg-test.s: new file.
4036 * gdb.hp/sized-enum.c: new file.
4037 * gdb.hp/sized-enum.exp: new file.
4038 * gdb.hp/start-stop.exp: new file.
4039 * gdb.hp/templ-hp.cc: new file.
4040 * gdb.hp/templ-hp.exp: new file.
4041 * gdb.hp/thr-lib.c: new file.
4042 * gdb.hp/thr-lib.exp: new file.
4043 * gdb.hp/thr-lib.h: new file.
4044 * gdb.hp/thr-liblib.c: new file.
4045 * gdb.hp/virtfun-hp.c: new file.
4046 * gdb.hp/virtfun-hp.exp: new file.
4047 * gdb.hp/watch-cmd.exp: new file.
4048 * gdb.hp/watch-hp.exp: new file.
4049 * gdb.hp/xdb1.exp: new file.
4050 * gdb.hp/xdb2.exp: new file.
4051 * gdb.hp/xdb3.exp: new file.
4052
4053Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4054
4055 The following files are part of the HP merge; some had longer
4056 names at HP, but have been renamed to be no more than 14
4057 characters in length.
4058
4059 * gdb.base/ss.h: new file.
4060 * gdb.base/call-ar-st.c: new file.
4061 * gdb.base/call-ar-st.exp: new file.
4062 * gdb.base/call-rt-st.c: new file.
4063 * gdb.base/call-rt-st-exp: new file.
4064 * gdb.base/call-strs.exp: new file.
4065 * gdb.base/ena-dis-br.exp: new file.
4066 * gdb.base/environ.exp: new file.
4067 * gdb.base/long_long.exp: new file.
4068 * gdb.base/sect-cmd.exp: new file.
4069 * gdb.base/shlib-cl2.exp: new file.
4070 * gdb.base/smoke.exp: new file.
4071 * gdb.base/so-impl-ld.c: new file.
4072 * gdb.base/so-impl-ld.exp: new file.
4073 * gdb.base/so-indr-cl.c: new file.
4074 * gdb.base/so-indr-cl.exp: new file.
4075 * gdb.base/varargs.exp: new file.
4076 * gdb.base/volatile.exp: new file.
4077 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4078 * gdb.base/display.exp: new file.
c906108c
SS
4079 * gdb.c++/derivation.exp: new file.
4080 * gdb.c++/local.exp: new file.
4081 * gdb.c++/member-ptr.exp: new file.
4082 * gdb.c++/overload.exp: new file.
4083 * gdb.c++/ovldbreak.exp: new file.
4084 * gdb.c++/ref-types.exp: new file.
4085 * gdb.c++/ref-types2.exp: new file.
4086 * gdb.c++/userdef.exp: new file.
beb998c6 4087
c906108c
SS
4088Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4089
4090 * gdb.base/default.exp: Reflect wording change in remote.c.
4091
dc96c6c7 4092Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4093
4094 * gdb.base/help.exp: Update to reflect current text.
4095
4096Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4097
4098 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4099 they're stack variables and contain garbage.
4100 * gdb.c++/anon-union.exp: new file.
4101
4102 The following changes were made by David Taylor
4103 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4104 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4105 in changes by HP.
4106
4107 * gdb.base/bitops.exp: new file.
4108 * gdb.base/default.exp: change expected messages for catch and
4109 info catch tests to reflect HP merge changes.
4110 * gdb.base/enable-disable-break.exp
4111 * gdb.base/ending-run.c: new file.
4112 * gdb.base/long_long.c: new file.
4113 * gdb.base/maint.exp: new file.
4114 * gdb.base/pointers2.exp: new file.
4115 * gdb.base/shlib-call2.exp: new file.
4116 * gdb.base/solib.exp: new file.
4117 * gdb.base/step-test.c: new file.
4118 * gdb.c++/anon-union.cc: new file.
4119 * gdb.c++/local.cc: new file.
4120 * gdb.c++/member-pointer.cc: new file.
4121 * gdb.c++/method.cc: new file.
4122 * gdb.c++/ref-types.cc: new file.
4123 * gdb.c++/ref-types2.cc: new file.
4124 * gdb.c++/userdef.cc: new file.
beb998c6 4125
c906108c
SS
4126 * gdb.base/scope.exp: compile one file at a time, then link.
4127 * gdb.base/langs.exp: ditto.
4128 * gdb.base/list.exp: ditto.
beb998c6 4129
c906108c
SS
4130Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4131
4132 The following changes were made by David Taylor
4133 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4134 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4135 in changes by HP.
beb998c6 4136
c906108c
SS
4137 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4138 skip tests. When compiling pass c++ flag to gdb_compile.
4139 * gdb.c++/
beb998c6 4140
c906108c
SS
4141 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4142 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4143 (skip_hp_tests): new function.
4144 (gdb_preprocess): new function.
4145
4146 * configure.in (hpdir): decide whether to configure gdb.hp.
4147 * configure: regenerated.
4148
4149 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4150 to delete on clean.
4151 (EXECUTABLES): update to reflect new additions.
4152 * gdb.base/commands.exp: update message expected.
4153 * gdb.base/default.exp: add copyright notice.
4154 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4155 * gdb.base/help.exp: update messages to reflect current text.
4156 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4157 targets for recurse tests.
4158 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4159 skip this file.
4160
4161 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4162 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4163 compilation.
4164 * gdb.c++/misc.exp: ditto.
4165 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4166 run the tests. tell gdb_compile that it's a c++ compilation.
4167
4168 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4169
c906108c
SS
4170 * gdb.base/all-bin.exp: new file.
4171 * gdb.base/arithmet.exp: new file.
4172 * gdb.base/assign.exp: new file.
4173 * gdb.base/completion.exp: new file.
4174 * gdb.base/cond-expr.exp: new file.
4175 * gdb.base/condbreak.exp: new file.
4176 * gdb.base/define.exp: new file.
4177 * gdb.base/dollar.exp: new file.
4178 * gdb.base/environment.exp: new file.
4179 * gdb.base/eval-skip.exp: new file.
4180 * gdb.base/jump.exp: new file.
4181 * gdb.base/logical.exp: new file.
4182 * gdb.base/pointers.exp: new file.
4183 * gdb.base/relational.exp: new file.
4184 * gdb.base/section_command.exp: new file.
4185 * gdb.base/whatis-expr.exp: new file.
4186
4187 * gdb.base/all-types.c: new file.
4188 * gdb.base/call-array-struct.c: new file.
4189 * gdb.base/call-return-struct.c: new file.
4190 * gdb.base/call-strings.c: new file.
4191 * gdb.base/callfuncs2.c: new file.
4192 * gdb.base/condbreak.c: new file.
4193 * gdb.base/constvars.c: new file.
4194 * gdb.base/display.c: new file.
4195 * gdb.base/int-type.c: new file.
4196 * gdb.base/jump.c: new file.
4197 * gdb.base/miscexprs.c: new file.
4198 * gdb.base/pointers.c: new file.
4199 * gdb.base/pointers2.c: new file.
4200 * gdb.base/shmain.c: new file.
4201 * gdb.base/shr1.c: new file.
4202 * gdb.base/shr2.c: new file.
4203 * gdb.base/solib.c: new file.
4204 * gdb.base/solib1.c: new file.
4205 * gdb.base/solib2.c: new file.
4206 * gdb.base/varargs.c: new file.
4207 * gdb.c++/derivation.cc: new file.
4208 * gdb.c++/overload.cc: new file.
4209 * gdb.c++/ovldbreak.cc: new file.
4210 * gdb.hp/attach.c: new file.
4211 * gdb.hp/attach2.c: new file.
4212 * gdb.hp/average.c: new file.
4213 * gdb.hp/compiler.c: new file.
4214 * gdb.hp/compiler.cc: new file.
4215 * gdb.hp/execd-program.c: new file.
4216 * gdb.hp/follow-exec.c: new file.
4217 * gdb.hp/follow-fork.c: new file.
4218 * gdb.hp/follow-vfork-and-exec.c: new file.
4219 * gdb.hp/misc-hp.cc: new file.
4220 * gdb.hp/more-steps.c: new file.
4221 * gdb.hp/optimize.c: new file.
4222 * gdb.hp/quicksort.c: new file.
4223 * gdb.hp/run-hp.c: new file.
4224 * gdb.hp/start-stop.c: new file.
4225 * gdb.hp/sum.c: new file.
4226 * gdb.hp/templates-hp.cc: new file.
4227 * gdb.hp/thread-local-in-lib.c: new file.
4228 * gdb.hp/thread-local-in-lib.h: new file.
4229 * gdb.hp/thread-local-in-lib.lib.c: new file.
4230 * gdb.hp/vforked-program.c: new file.
4231 * gdb.hp/virtfunc-hp.cc: new file.
4232 * gdb.hp/watchpoint-hp.c: new file.
4233 * gdb.hp/xdb.c: new file.
4234 * gdb.hp/xdb0.c: new file.
4235 * gdb.hp/xdb0.h: new file.
4236 * gdb.hp/xdb1.c: new file.
4237
4238Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4239
4240 The following change was made by Edith Epstein
4241 <eepstein@cygnus.com> as part of a project to merge in changes
4242 originally made by HP; HP did not create ChangeLog entries.
4243
4244 * gdb.c++/demangle.exp: changed the expected output for some
4245 ARM-style mangling -- removed second reference to datatype.
4246 For example, maint demangle __dt__11T1__pt__2_cFv
4247 T1<char>::~T1<char>(void)
4248 becomes,
4249 maint demangle __dt__11T1__pt__2_cFv
4250 T1<char>::~T1(void)
4251
4252 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4253
c906108c
SS
4254Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4255
4256 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4257 * gdb.trace/backtrace.exp: Likewise.
4258 * gdb.trace/circ.exp: Likewise.
4259 * gdb.trace/collection.exp: Likewise.
4260 * gdb.trace/deltrace.exp: Likewise.
4261 * gdb.trace/infotrace.exp: Likewise.
4262 * gdb.trace/limits.exp: Likewise.
4263 * gdb.trace/packetlen.exp: Likewise.
4264 * gdb.trace/passc-dyn.exp: Likewise.
4265 * gdb.trace/passcount.exp: Likewise.
4266 * gdb.trace/report.exp: Likewise.
4267 * gdb.trace/save-trace.exp: Likewise.
4268 * gdb.trace/tfind.exp: Likewise.
4269 * gdb.trace/tracecmd.exp: Likewise.
4270 * gdb.trace/while-dyn.exp: Likewise.
4271 * gdb.trace/while-stepping.exp: Likewise.
4272
42731998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4274
4275 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4276
4277Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4278
4279 From Brendan Kehoe:
4280 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4281 int return types.
4282
4283Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4284
4285 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4286 remote dos host testing right.
4287
4288Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4289
4290 * gdb.base/corefile.exp: remove some xfails.
4291
4292Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4293
4294 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4295 have different timestamps.
4296
4297Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4298
4299 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4300 gdb.base/default.exp: Replace "exec" with "executable".
4301
4302Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4303
4304 * gdb.base/default.exp: Change else if to elseif from previous
4305 delta.
4306
4307Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4308
4309 * gdb.base/default.exp: Add brace missing from previous delta.
4310
4311Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4312
4313 * gdb.base/default.exp: Support test for info float for all
4314 varieties of arm toolchain.
4315
dc96c6c7 4316Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4317
4318 * gdb.trace/*.exp: remove "remote_download" command.
4319
dc96c6c7 4320Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4321
4322 * gdb.trace/*.exp: remove -gdwarf from compile.
4323
4324Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4325
4326 * gdb.trace/configure.in(AC_INIT): typo
4327 * gdb.trace/configure: regenerated
4328
dc96c6c7 4329Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4330
4331 * config/m68k-emc.exp: New file.
4332 * lib/<emc-support.exp trace-support.exp}: New files.
4333 * configure.in: add new test directory gdb.trace.
4334 * gdb.trace/{configure configure.in Makefile.in}: New files.
4335 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4336 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4337 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4338 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4339 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4340 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4341 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4342
dc96c6c7 4343Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4344
4345 * gdb.c++/classes.exp: Change all regular expressions to match
4346 arbitrary combinations of newline/carriage-return, so that they
4347 will work equally well on Unix and Windows.
4348 * gdb.c++/inherit.exp: ditto.
4349 * gdb.c++/virtfunc.exp: ditto.
4350
43511998-08-11 Dawn Perchik <dawn@cygnus.com>
4352
4353 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4354
c2d11a7d
JM
4355Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4356
4357 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4358 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4359 to use a0-a3/d0-d3 as needed.
4360
4361Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4362
4363 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4364 * gdb.disasm/am33.exp: Corresponding changes.
4365
c906108c
SS
43661998-07-11 Felix Lee <flee@cygnus.com>
4367
4368 * gdb.base/callfuncs.exp: add cmp10 test.
4369 * gdb.base/callfuncs.c (cmp10): new function.
4370
4371Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4372
beb998c6 4373 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4374 into two parts to get around a synchronization problem in expect.
4375
3fc11d3e
JM
4376Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4377
4378 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4379
4380 * configure.in: Add options for gdbtk testsuite.
4381
4382 * configure: Regenerate.
4383
4384 * gdb.gdbtk: New directory to hold gdbtk tests.
4385
c906108c
SS
4386Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4387
4388 * gdb.fortran/types.exp: Escape brackets in expect patterns
4389 for test_float_literal_types_accepted tests.
4390 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4391 before run test.
4392
c2d11a7d
JM
4393Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4394
4395 * am33.exp: Just compile, do not link the testcase.
4396 * am33.s: Add ".am33" pseudoop to force am33 mode.
4397
c906108c
SS
43981998-06-25 Felix Lee <flee@cygnus.com>
4399
4400 * gdb.base/setshow.exp: make sure $pc is sane.
4401
4402 * gdb.stabs/weird.exp: split expect patterns properly.
4403
c2d11a7d
JM
4404Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4405
4406 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4407 * gdb.disasm/am33.exp: Run it.
4408
dc96c6c7 4409Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4410
4411 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4412 match processing (and eliminate spurious timeouts when running).
4413
dc96c6c7 4414Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4415
4416 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4417 exception test, but conditionalize it on target [mach | gnu].
4418
dc96c6c7 4419Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4420
4421 * gdb.base/overlays.exp: fixup compile line for linker script.
4422
4423Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4424
4425 * gdb.fortran/types.exp: don't guess at float size.
4426
4427Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4428
4429 * gdb.base/exprs.exp: delete test that depends on int size.
4430
4431Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4432
4433 * config/sim.exp: Removed checks for target triplets.
4434 (gdb_target_sim): Use gdb,target_sim_options.
4435
4436Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4437
4438 * gdb.base/reread.exp: New file.
4439 * gdb.base/reread1.c: New file.
4440 * gdb.base/reread2.c: New file.
4441
4442Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4443
4444 * config/sim.exp: Use 'target sim -sparclite' when running
4445 SPARClite programs.
4446
4447Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4448
4449 * gdb.base/structs2.exp: New file.
4450 * gdb.base/structs2.c: New file.
4451
4452Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4453
4454 * gdb.asm/common.inc: New file.
4455 * gdb.asm/d10v.inc: New file.
4456 * asm-source.exp: Pass -I's to gas to find .inc files.
4457 Update line numbers in expected output.
4458 * asmsrc1.s: Rewrite.
4459 * asmsrc2.s: Rewrite.
4460 * configure.in: Create arch.inc symlink.
4461 * configure: Regenerate.
4462 * Makefile.in (distclean): Delete arch.inc.
4463
4464Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4465
4466 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4467 (t_enum_value2): ditto
4468 (t_enum_value3): ditto
4469 (main): ditto
4470Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4471
4472 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4473 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4474 change.
4475 Use gdb_test instead of send_gdb/gdb_expect sequences.
4476
4477Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4478
4479 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4480 not void.
4481
4482Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4483
4484 * gdb.base/branches.c: Code with lots of loops and
4485 subroutines. Used to test gdbs ability to single step through PC
4486 changes, especially to test mips-tdep.c:mips_next_pc
4487
4488Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4489
4490 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4491 more rigorous EGCS C++ error checking.
4492
4493Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4494
4495 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4496 tests.
c906108c 4497 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4498 function when asleep.
c906108c 4499 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
4500 for i*86 Linux and SVR4 signal handling problems.
4501 Remove linux xfail for `next to handler in signals_tests_1', fixed
4502 by recent infrun.c change.
c906108c 4503 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 4504 stack backtraces.
c906108c
SS
4505 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4506 target.[ch] change.
4507
4508Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4509
4510 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4511 for a newline from gdb before continuing.
4512 (default_gdb_exit): Just look for y or n.
4513 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4514 it does, fail the rests of the tests in the file.
4515
4516Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4517
4518 * config/cygmon.exp: New file.
4519
4520Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4521
4522 * gdb.base/list.exp: Fix problem with "list default lines around
4523 main" test on remote targets.
4524
4525 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4526 run test on remote targets.
4527
4528Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4529
4530 * gdb.asm: New directory.
4531 * configure.in: Configure it.
4532 * configure: Regenerate.
4533 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4534 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4535
4536Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4537
4538 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4539
dc96c6c7 4540Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4541
c906108c
SS
4542 * gdb.base/overlays (several files): Merge the two overlay
4543 managers into one. Change variables (foox, barx, bazx, grbxx)
4544 back into ints but force them to load in their proper sections.
4545
4546Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4547
4548 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4549 on-chip insn memory and IMAP1 to upper 128k.
4550 (D10VCopy): Handle memory regions crossing 16k boundaries.
4551 (D10VCopy): Transfer data in 32 bit chunks.
4552
4553Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
4554
4555 * gdb.base/overlays.c (main): Exit normally when result is
4556 correct.
4557
4558 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
4559 map. Include space for printf in .text segment.
4560
4561 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
4562 updated d10v memory VMA/LMA map.
4563 (D10VCopy): Call D10VTranslate.
beb998c6 4564
c906108c
SS
4565Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
4566
4567 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
4568
4569 * gdb.base/bar.c (barx, bar): Change variable to small array so
4570 that it won't be put into the .sdata - small data -
4571 section. Update reference.
4572 * gdb.base/baz.c (bazx, baz): Ditto.
4573 * gdb.base/foo.c (foox, foo): Ditto.
4574 * gdb.base/grbx.c (grbxx, grbx): Ditto.
4575
4576 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
4577 to be arrays.
beb998c6 4578
dc96c6c7 4579Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4580
c906108c
SS
4581 * gdb.base/overlays.exp: fix up and get working again.
4582 Add tests for backtraces from an overlay function.
beb998c6 4583
c906108c
SS
4584Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
4585
4586 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
4587 "calling function with watchpoint enabled".
4588
4589Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
4590
4591 * gdb.base/break.exp (test_next_with_recursion): Remove
4592 gdb_suppress_tests for d10v-*-*.
4593 * lib/gdb.exp (gdb_suppress_tests): Disable this function
4594 pending review of whether it is useful or not.
4595
4596Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
4597
4598 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
4599
4600Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
4601
4602 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
4603 * config/dve.exp: New file to support Densan boards.
4604
4605Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
4606
4607 * gdb.base/interrupt.exp: Document problem of simulators, signals,
4608 reads and BSD.
4609
4610Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
4611
4612 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
4613 response.
4614
4615 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
4616
4617Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
4618
4619 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
4620 test.
4621
4622 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
4623 target_sizeof_long and target_bigendian_p.
4624 (structs_by_value, structs_by_reference): Check values according
4625 to targets word size and endianess.
beb998c6 4626
c906108c
SS
4627Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
4628
4629 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
4630 output.
4631
4632Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
4633
4634 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
4635 Update test of set args help to match source change.
4636
4637Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
4638
4639 * gdb.base/default.exp: Expect help system output to be in
4640 alphabetical order.
4641 * gdb.base/help.exp: Ditto.
4642
4643Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
4644
4645 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
4646 "i*86-pc-linux-gnu*".
4647 * gdb.base/interrupt.exp: Ditto.
4648 * gdb.base/corefile.exp: Ditto.
4649
4650 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
4651 define vxworks when building the testcase.
4652
4653 * gdb.base/ptype.exp: Fix testnames to be unique.
4654 * gdb.base/radix.exp: Ditto.
4655 * gdb.base/term.exp: Ditto.
4656 * gdb.base/whatis.exp: Ditto.
4657 * gdb.c++/classes.exp: Ditto.
4658
4659Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
4660
4661 * gdb.base/callfuncs.exp: Fix indentation.
4662
4663 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
4664 suppress_flag has been set.
4665 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
4666 target feature.
4667
4668Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
4669
4670 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
4671 the testcase.
4672
4673 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
4674 set_debug_traps() and breakpoint().
4675 * gdb.c++/misc.cc (main): Ditto.
4676 * gdb.c++/templates.cc (main): Ditto.
4677 * gdb.c++/virtfunc.cc (main): Ditto.
4678
4679Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
4680
4681 * lib/gdb.exp(gdb_step_for_stub): New function.
4682 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
4683 exists, reload the executable and do a "continue" instead of
4684 doing a jump.
4685 (runto_main): Use gdb_step_for_stub.
beb998c6 4686
c906108c
SS
4687 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
4688 tests to have unique names.
4689 * gdb.base/callfuncs.exp: Ditto.
4690 * gdb.base/commands.exp: Ditto.
4691 * gdb.base/default.exp: Ditto.
4692 * gdb.base/help.exp: Ditto.
4693 * gdb.base/list.exp: Ditto.
4694 * gdb.base/opaque.exp: Ditto.
4695 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
4696 similar tests.
beb998c6 4697
c906108c
SS
4698 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
4699 * gdb.c++/cplusfuncs.cc: Ditto.
4700 * gdb.c++/virtfunc.cc: Ditto.
4701
4702 * config/monitor.exp: Keep track of the last file we saw, rather
4703 than trying to get the info from gdb.
4704
4705 * gdb.fortran/types.exp: Move comment to previous line.
4706
4707Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
4708
4709 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
4710 target mode.
4711
4712Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
4713
4714 From Bob Manson:
4715 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
4716 string from GDB when it connects.
4717
4718 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
4719
4720Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
4721
4722 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
4723 if we can't get a debug format from GDB (we may be testing an
4724 older GDB). Use a 10 second timeout when checking for the format.
4725
4726 * gdb.stabs/weird.exp: Fix quoting.
4727
4728 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
4729
4730Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
4731
4732 * config/arm-ice.exp: New file.
4733
4734Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
4735
4736 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
4737 until it has been modified to work with the new testsuite.
4738
99707966 4739 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
4740 testcase won't compile, cause all of the testcases in the file to
4741 fail instead.
4742
4743 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
4744 (gdb_clear_suppressed): New procedure.
4745 (gdb_stop_suppressing_tests): Only clear suppress_flag if
4746 it contains a positive value.
4747
4748Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
4749
4750 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
4751
4752 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
4753
4754Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
4755
4756 * lib/gdb.exp (setup_xfail_format): New function.
4757 (get_debug_format): New function to get debug format.
4758 (debug_format): New global variable to hold last value set
4759 by get_debug_format.
4760 * gdb.base/list.exp: Call get_debug_format and expect some
4761 tests to fail for DWARF 1 and COFF formats.
4762 * gdb.c++/ptype.exp: Ditto.
4763 * gdb.c++/classes.exp: Ditto.
4764 * gdb.c++/cplusfuncs.exp: Ditto.
4765 * gdb.c++/inherit.exp: Ditto.
4766 * gdb.c++/templates.exp: Ditto.
4767 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 4768
c906108c
SS
4769Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
4770
4771 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
4772 host doesn't have a currently-open connection.
4773
4774 * config/sparclet.exp: Cleanups and fixes to make it generic for
4775 any gdb stub target. Handle cases where gdb doesn't respond when
4776 interrupted in a sane fashion.
4777
4778 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
4779 same thing in a totally different way.
4780
4781 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
4782 setting "timeout".
4783 (gdb_start): We set the global gdb_prompt variable in
4784 default_gdb_init now.
4785
4786Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
4787
4788 * gdb.base/printcmds.exp: Fix "check for floating addition"
4789 regexp to accept results within approx +/- .01 of exact value.
4790 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
4791
4792Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
4793
4794 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
4795 properly.
4796 (gdb_expect): Add optional timeout parameter, and add timeout
4797 value to various calls.
4798 (gdb_suppress_tests): Only give one warning message per group.
4799
4800Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
4801
4802 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
4803 global variables. Handle getting a value for $timeout more
4804 gracefully.
4805
4806Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4807
4808 * lib/gdb.exp: Close connection to remote host if gdb doesn't
4809 initialize.
4810 (default_gdb_init): New procedure; allow gdb_init to be overridden
4811 by a target configuration file.
4812 (gdb_expect): Pass the timeout to remote_expect.
4813
4814 * config/monitor.exp(gdb_load): Fix typo in regexp.
4815
4816Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
4817
4818 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
4819
4820Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
4821
4822 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
4823 here. Call gdb_target_exec before rebooting the target, to make
4824 sure the connection to the target is closed.
4825 (gdb_load): Pass the name of the executable to gdb_target_monitor.
4826 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
4827 Also detect "Timeout reading from remote" error.
4828
4829 * config/gdbserver.exp: Pass the executable being loaded to
4830 gdb_target_monitor. Don't call gdb_file_cmd here; let
4831 gdb_target_monitor do it.
4832
4833 * gdb.disasm/hppa.exp: Don't use exec_output.
4834
4835Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
4836
4837 * gdb.base/list.exp: If we're debugging a non-native target,
4838 try to set the pc register to point to the start of the
4839 program before doing the first list command.
4840
4841 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
4842 test_calls after restarting.
4843
4844 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
4845 reloading.
4846
4847 * gdb.base/watchpoint.exp: Fix typo.
4848
4849 * gdb.base/setshow.exp: Check for use_gdb_stub.
4850
4851 * gdb.base/break.exp: Fix continue until exit test for the gdb
4852 stub case.
4853 * gdb.base/langs.exp: Ditto.
4854
4855 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
4856 gdb_load_offset. If we weren't given a file to load, figure out
4857 what the current file is and use it.
4858
4859 * config/i386-bozo.exp: New file.
4860
4861Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
4862
4863 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
4864 feature.
4865
4866 * config/proelf.exp: New entry.
4867
4868Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
4869
4870 * lib/gdb.exp: Remove spurious .* patterns at the beginning
4871 of regexps.
4872
4873 * gdb.base/watchpoint.exp: Don't run the test_stepping
4874 tests if gdb can't call functions on the target.
4875
4876 * gdb.base/setshow.exp: Don't run the set prompt tests if
4877 the board has gdb_prompt set.
4878
4879Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
4880
4881 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
4882 * gdb.base/commands.exp: Likewise.
4883 * gdb.base/setshow.exp: Likewise.
4884
4885Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
4886
4887 * config/monitor.exp(gdb_start): Look for gdb_prompt target
4888 feature.
4889
4890 * config/i960.exp: New file.
4891
4892Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
4893
4894 * gdb.base/funcargs.exp: Check for gdb,short_int target
4895 feature instead of looking for explicit target triplets.
4896
dc96c6c7 4897Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 4898
beb998c6 4899 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
4900 "p 123DEADBEEF", to check parse_number.
4901 * top.c: change "to enable to enable" to "to enable" in a couple
4902 of help strings.
4903
4904Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
4905
4906 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
4907 on the mn10300.
beb998c6 4908
c906108c
SS
4909Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
4910
4911 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
4912 where the test executable is run with explicit args.
4913 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
4914
4915Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
4916
4917 * gdb.base/run.c: Use FAKEARGV to build test executable that
4918 does not require a command line arg, since most simulators
4919 don't currently support passing such an arg into the simulated
4920 program.
4921 * gdb.base/commands.exp: Change tests to insert the proper
4922 value as the arg to the first recursive factorial call. Change
4923 compilation line to define FAKEARGV at compile time.
4924
4925Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
4926
4927 * gdb.base/recurse.exp: Enable these tests for the mn10300.
4928 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
4929 function with watchpoint enabled" test.
4930
4931Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
4932
4933 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
4934 Don't call gdb_test when the command doesn't return to a gdb prompt.
4935
4936 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
4937 "Tests restarted" messages.
4938
4939Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
4940
4941 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
4942
dc96c6c7 4943Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4944
4945 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
4946 for INFO SYMBOL; add help tests for OVERLAY commands.
4947 * gdb.base/default.exp: add tests for INFO SYMBOL command;
4948 add tests for OVERLAY commands
4949 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
4950 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
4951 * gdb.base/sigall.c: add usestubs code frag
4952 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 4953
c906108c
SS
4954Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
4955
4956 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
4957 failures.
4958 (gdb_stop_suppressing_tests): Note that tests have restarted.
4959
4960Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
4961
4962 * config/h8300.exp: New file.
4963
4964Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
4965
4966 * gdb.base/setshow.exp: Check for the existence of a
4967 feature, not its value.
4968
4969Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
4970
4971 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
4972
4973 * gdb.base/scope.exp: It's now init0(), not init().
4974
4975 * gdb.base/scope0.c: For now, change init() to be init0().
4976
4977 * config/monitor.exp: Use gdb_serial in preference to serial
4978 or netport.
4979
4980 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
4981 and it's not already set.
4982
4983Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
4984
4985 * gdb.base/setshow.exp: Only test the run command if the target
4986 isn't using a stub and if it supports argument passing.
4987
4988Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
4989
4990 * config/udi.exp(gdb_start): Make sure UDICONF is set
4991 properly before starting gdb.
4992
4993Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
4994
4995 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
4996 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
4997 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
4998
4999Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5000
5001 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5002 specialized code to reboot the board, use remote_reboot instead.
5003
5004 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5005
5006 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5007
5008 * config/monitor.exp: Make sure we disconnect from the target.
5009 Also, try a reboot/reload cycle instead of failing if the
5010 load fails.
5011
5012Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5013
5014 * gdb.base/default.exp: Don't set match_max.
5015 * gdb.base/help.exp: Ditto.
5016 * gdb.base/list.exp: Ditto.
5017 * gdb.base/signals.exp: Ditto.
5018
5019 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5020 set, use remote_ld to download the testcase instead of
5021 the GDB loader.
5022
5023Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5024
5025 * config/vr5000.exp: New file.
5026
5027 * config/monitor.exp(gdb_target_monitor): Add pattern for
5028 "Ending remote" to detect errors in connecting.
5029
5030 * gdb.base/setshow.exp: Add .* within auto language test.
5031
5032 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5033 target feature.
5034
5035 * config/monitor.exp(gdb_load): Check for a failure when loading,
5036 and reboot the board if necessary.
5037
5038 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5039 a set of tests. Remove print.* from the patterns being checked.
5040
5041Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5042
5043 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5044 refer to gdb_spawn_id.
5045
5046 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5047 longer used.
5048 * config/sparclet.exp: Ditto.
5049 * config/sparclet-old.exp: Ditto.
5050 * config/slite.exp: Ditto.
5051 * config/sim.exp: Ditto.
5052 * gdb.base/funcargs.exp: Ditto.
5053
5054 * lib/gdb.exp:Remove references to gdb_spawn_id.
5055 (gdb_expect): Move to remote.exp.
5056
5057Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5058
5059 * config/monitor.exp: Detect the "Couldn't establish connection"
5060 message from GDB.
5061
5062Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5063
5064 * gdb.base/bitfields.exp: Use runto instead of explicit
5065 gdb_run_cmd/gdb_expect sequences.
5066
5067 * gdb.base/break.exp(text_next_with_recursion): Add match for
5068 gdb_expect call.
5069
5070 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5071 We also need to handle the "A program is being debugged already"
5072 prompt from gdb. Use gdb_test to set the baud rate.
5073
5074 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5075 to 20000. Really. I mean it.
5076
5077Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5078
5079 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5080 fails. If suppress_flag is set, skip perror message about not
5081 being able to send to GDB.
5082 (send_gdb): If suppress_flag is set, don't try to send commands to
5083 GDB.
5084 (gdb_expect): If suppress_flag is set, always fail immediately.
5085 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5086 (gdb_init): Call gdb_stop_suppressing_tests.
5087 (default_gdb_exit): Ditto.
5088 (default_gdb_start): Ditto.
5089
5090 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5091 gdb_stop_suppressing_tests as appropriate.
5092 * gdb.base/break.exp: Ditto.
5093 * gdb.base/callfuncs.exp: Ditto.
5094 * gdb.base/commands.exp: Ditto.
5095 * gdb.base/exprs.exp: Ditto.
5096 * gdb.base/funcargs.exp: Ditto.
5097 * gdb.base/list.exp: Ditto.
5098 * gdb.base/recurse.exp: Ditto.
5099 * gdb.base/scope.exp: Ditto.
5100 * gdb.base/structs.exp: Ditto.
5101 * gdb.c++/inherit.exp: Ditto.
5102
5103Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5104
5105 * config/vr4300.exp: New file.
5106
99707966
MC
5107 * gdb.*/*.exp: Call gdb_expect instead of expect.
5108
5109 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5110
5111Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5112
5113 * lib/gdb.exp(gdb_init): New function.
5114
5115 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5116 for each individual variable set.
5117
5118 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5119 name.
5120
5121 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5122
5123 * gdb.base/scope.exp: Use gdb_test.
5124
5125 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5126 aborting; the testsuite driver will do that for us (see
5127 gdb_finish). Also, use gdb_test in a few more places.
5128
5129Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5130
5131 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5132
5133Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5134
5135 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5136 and "add_tests" are not at the same address.
5137
5138Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5139
5140 * gdb.base/ptype.exp: Use gdb_test.
5141
5142Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5143
5144 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5145 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5146 left in. No longer expect them to fail.
5147
5148 * gdb.stabs/*.mt; Deleted, no longer used.
5149 * gdb.stabs/configure.in: Remove references to target makefile
5150 frags.
5151 * gdb.stabs/configure: Rebuilt.
5152
5153 * gdb.disasm/*.mt: Deleted, no longer used.
5154 * gdb.disasm/configure.in: Remove references to target makefile
5155 frags. Use "sh3.s" as the unique filename for this directory.
5156 * gdb.disasm/configure: Rebuilt.
5157
5158 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5159 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5160 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5161
5162Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5163
5164 * config/udi.exp: Use mondfe,name instead of remote_host.
5165
5166Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5167
5168 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5169 a function with a watchpoint enabled on the mn10200.
5170
5171 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5172 before trying to create it!
5173
5174Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5175
5176 * config/vx.exp: Use hostname instead of netport.
5177
5178 * config/vxworks.exp: New file.
5179
5180 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5181
5182 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5183 gdb before assuming everything worked. Send a ^C if a timeout
5184 occurs.
5185
5186 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5187 $gdb_spawn_id directly.
5188 (gdb_run_cmd): Try _start as well as start. Use the target feature
5189 gdb,start_symbol as the symbol to start from when jumping.
5190
5191Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5192
5193 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5194 redundant) test.
5195
5196 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5197 it doesn't lose for 16bit integer systems.
5198
5199Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5200
5201 * gdb.fortran/types.exp: If the target doesn't support "double"
5202 data types, then expect "real" types to only be 4 bytes.
5203
5204 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5205 call tests if the target doesn't support inferior function calls.
5206
5207 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5208 in printf tests.
5209
5210Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5211
5212 * gdb.base/help.exp: Disable "help set", "help show", and
5213 "help support". Simplify regexp for "help stack".
5214
5215 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5216 to 60 seconds. Temporarily set match_max to 15000 around the
5217 "info copying" test.
5218
5219 * gdb.base/nodebug.exp: Don't try to do an inferior function
5220 call if the target doesn't support them.
5221 * gdb.base/printcmds.exp: Likewise.
5222 * gdb.base/setvar.exp: Likewise.
5223 * gdb.base/structs.exp: Likewise.
5224 * gdb.c++/templates.exp: Likewise.
5225 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5226
5227 * gdb.base/recurse.exp: Enable for the mn10200.
5228
5229 * configure.in: Do configure gdb.stabs directory for *-*-elf
5230 targets.
5231 * configure: Rebuilt.
5232
5233 * gdb.base/break.exp: Check for gdb,noresults before testing
5234 exit status and/or results from the target.
5235 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5236 * lib/gdb.exp: Remove old (now bogus) initialization of
5237 noinferior, noargs, noresults and nosignals.
5238
5239Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5240
5241 * config/sh.exp: New file.
5242
5243 * config/slite.exp: Try to connect multiple times to the board
5244 before rebooting. Only send a "monitor run" if need_monitor_run
5245 is set.
5246
5247 * gdb.base/break.exp: Don't do the "stub continue" test if
5248 the target has gdb_stub set.
5249
5250 * gdb.base/callfuncs.exp: Increase the timeout.
5251
5252 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5253 if the target has gdb,noinferiorio set.
5254
5255 * gdb.base/list.exp: Increase match_max to 10000 characters.
5256
5257 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5258
5259 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5260 target.
5261
5262 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5263
5264Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5265
5266 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5267 trying to delete the copy of gdb. Catch the file delete so we
5268 don't die if the delete fails; also, the file should be copied to
5269 the host, not to the build.
5270
5271Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5272
5273 * lib/gdb.exp(gdb_test): Surround the result pattern with
5274 parenthesis in case it contains multiple regexps separated
5275 with |.
5276
5277 * gdb.base/watchpoint.exp: Use gdb_test.
5278 * gdb.base/default.exp: Ditto.
5279
5280Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5281
99707966 5282 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5283
c906108c
SS
5284 * gdb.base/scope.exp: Use gdb_test.
5285 * gdb.c++/classes.exp: Ditto.
5286 * gdb.c++/inherit.exp: Ditto.
5287
5288Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5289
5290 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5291 remote_exec instead.
5292 * gdb.base/corefile.exp: Don't be ridiculous.
5293 * gdb.base/*.c: Add missing stub invocations.
5294
5295Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5296
5297 * config/slite.exp: Miscellaneous fixes.
5298
5299 * lib/gdb.exp: Fix runto.
5300
5301 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5302 the target.
5303
5304 * gdb.base/watchpoint.exp: Fix regexp.
5305
5306 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5307 close and wait commands, as the descriptor may now be
5308 invalid. Always call "remote_close host".
5309
5310Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5311
5312 Major rewrite for testsuite revision.
beb998c6 5313
c906108c
SS
5314 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5315 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5316 instead of relying on spawn_id to always contain a valid
5317 spawn id.
5318 (get_compiler_info): New procedure to build the ${binfile}.ci
5319 file, instead of replicating this in N different places.
5320 (gdb_compile): New procedure.
beb998c6 5321
c906108c
SS
5322 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5323 appropriate arguments) instead of compile. Use gdb_test in a lot
5324 more places. Use send_gdb instead of send. Always run gdb_start
5325 at the start of a testcase, as this is no longer done magically.
5326
5327 config/*-gdb.exp: Rename without the -gdb suffix.
5328
5329 config/mips.exp: Use remote_close instead of exit_remote_shell.
5330 config/monitor.exp: Use target_info instead of looking at
5331 baud, timeout, etc.
5332 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5333
5334Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5335
5336 * gdb.c++/templates.exp (test_ptype_of_templates),
5337 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5338 Update expect patterns for destructors and assignment operators
5339 to match corresponding c-typeprint.c changes.
5340 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5341 to destructor breakpoint test, GDB should be able to set the
5342 destructor breakpoint without specifying arguments.
5343
5344Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5345
5346 * gdb.threads/pthreads.exp: Change result for failure to compile due
5347 to lack of pthreads runtime support from an error to simply an
5348 unsupported test, per dejagnu standards.
5349
5350Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5351
5352 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5353 where GDB exits to reduce pattern match time.
5354 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5355
5356 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5357
dc96c6c7 5358Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5359
5360 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5361 * gdb.base/default.exp: ditto.
5362 * gdb.base/nodebug.exp: ditto.
5363 * gdb.base/printcmds.exp: ditto.
5364 * gdb.base/ptype.exp: ditto.
5365 * gdb.base/setvar.exp: ditto.
5366 * gdb.base/structs.exp: ditto.
5367 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5368
5369Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5370
5371 * configure, */configure: Rebuild with autoconf 2.12.
5372
5373Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5374
5375 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5376 use new i*86-pc-linux*-gnu quads.
5377 * gdb.base/corefile.exp: Ditto.
5378 * gdb.base/signals.exp: Ditto.
5379 * gdb.base/sigall.exp: Ditto.
5380 * gdb.base/interrupt.exp: Ditto.
5381
5382 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5383 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5384 RedHat 4.0.
beb998c6 5385
c906108c
SS
5386 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5387 linux. This allows the test case to at least compile on latest
5388 linux, but still not run due to missing the threads runtime library.
5389
5390Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5391
5392 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5393 directory to search gdb directory. Accept and step over conditional
5394 stack alignment code. Consume $prompt in failure cases.
5395 Reset timeout to $oldtimeout instead of some arbitrary value.
5396 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5397 timeout problems with infinite stack backtraces.
5398 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5399 Accept function parameters for linkfunc member.
5400
5401Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5402
5403 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5404 (CXXFLAGS): Remove, unreferenced.
5405 (B_OPTIONS): Add for -B options and add code to initialize with
5406 previous -B options and also add -B option to pick up cross compiled
5407 runtime.
5408 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5409 doing cross compiles.
5410 (target_alias): Declare global.
5411 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5412 to verify that gcc exists in build tree, and if so set CC to that
5413 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5414
c906108c
SS
5415Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5416
5417 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5418 ptype test for anonymous union. Fixup testcase to match
5419 current gcc debug output.
5420
5421Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5422
5423 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5424 force argument to an unsigned long type.
5425
5426Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5427
5428 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5429 tests and anonymous union print/ptype tests.
5430 * gdb.base/list.exp (test_forward-search): Increase timeout by
5431 5 minutes for the "search extremely long line" case.
5432 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5433 completely optional and that the pass/fail messages use the command as
5434 the message if that third arg is a null string.
5435 (gdb_test_exact): Arrange that a null string pattern means match a
5436 null string output rather than any output, which might include random
5437 errors.
5438 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5439 backtrace test.
5440 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5441 always failing and failure is now exposed by gdb.exp changes.
5442
5443Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5444
5445 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5446 weren't being noted.
5447
5448Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5449
5450 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5451 * gdb.stabs/weird.exp: Remove v_comb xfails.
5452
dc96c6c7 5453Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5454
5455 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5456 list.exp scope.exp watchpoint.exp]
5457 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5458
dc96c6c7 5459Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5460
5461 * config/monitor.exp: Increase download timeout to 1000 seconds.
5462
dc96c6c7 5463Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5464
5465 * config/m32r.exp: Increase timeout to 120 seconds.
5466
5467Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5468
5469 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5470 and accept older ordering as obsolescent gcc or gdb.
5471 * gdb.c++/templates.exp: Ditto.
5472 * gdb.c++/virtfunc.exp: Ditto.
5473
5474Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5475
5476 * gdb.base/coremaker.c: Add code to mmap some data so we
5477 can check that it ends up in the core file.
5478 * gdb.base/corefile.exp: Add test to read mmapped data
5479 from core file.
5480
dc96c6c7 5481Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5482
5483 * config/m32r.exp: New file.
5484
5485Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5486
5487 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5488 that cflags can contains -gstabs, and work correctly for other tests.
5489
dc96c6c7 5490Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5491
5492 * gdb.base/setshow.exp: New file, tests show and set.
5493 * gdb.base/setshow.c: New file, tests show and set.
5494 * gdb.base/help.exp: Add test for help set|show annotate.
5495 * gdb.base/default.exp: Add test for set|show annotate.
5496
5497Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5498
5499 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5500 errors unique.
5501 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5502 explicitly.
5503
5504Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5505
5506 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5507 and width commands. This is done elsewhere.
5508 * (gdb_start): Don't call gdb_start_sim here. That's already
5509 done in gdb_load. This fixes lots of failures in default.exp.
5510
5511Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5512
5513 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5514 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5515 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5516 in the same we we treat other failures (since it may be an expected
5517 condition), rather than as an error.
5518 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5519 old test format.
5520
5521Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5522
5523 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5524 (distclean maintainer-clean realclean): No need to remove files
5525 twice. Nuke the duplicates.
5526 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5527 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5528 Remove config.h along with other config files.
5529
5530Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5531
5532 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5533 "p func1 ()" and note that rests of tests are skipped.
5534 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5535 setup_xfails for "print func2::coremaker_local".
5536 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5537 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5538 affected by the previous run test.
5539 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5540 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5541 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5542 "pass int powerset tuple" and "pass modeless int powerset tuple".
5543 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5544 "real write 4" and "real write 8".
5545 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5546 setup_xfails for "print vs1 after tuple assign 2",
5547 "print \$i after tuple assign 2", and
5548 "print vs2 after tuple assign 2".
5549 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
5550 meaningful error message and return -1 so the caller can
5551 suppress further tests and avoid a cascade of errors.
beb998c6 5552
c906108c
SS
5553Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
5554
5555 * gdb.base/a1-selftest.exp: Tweak tests to account for new
5556 format for printing version.
5557 * gdb.base/default.exp: Ditto.
5558 * gdb.base/interrupt.exp: Fix problem with cascade of
5559 errors if child process dies while calling a function.
beb998c6 5560
c906108c
SS
5561Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
5562
5563 * Makefile.in (VPATH): Add
5564 * Makefile.in (Makefile, config.status): Fix rules so things get
5565 remade when necessary.
5566
5567Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
5568
5569 * Makefile.in (just-check): Add path to sibling expect dir
5570 to environment variable specified by RPATH_ENVVAR.
5571
5572Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
5573
5574 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
5575 (just-check): Add shared library paths for libstdc++, tk,
5576 tcl, bfd, and opcodes to the environment variable specified
5577 in RPATH_ENVVAR.
5578 * configure.in: Add support to recognize --enable-shared flag
5579 and generate correct value for RPATH_ENVVAR.
5580 * configure: Regenerated with autoconf.
5581
5582Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
5583
5584 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
5585 include all osf versions.
5586 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
5587 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
5588 when target is linux. When failing to build pthreads test
5589 executable, give more meaningful message.
5590 * gdb.threads/pthreads.c: Hpux also uses old definition of second
5591 arg for pthread_create.
beb998c6 5592
c906108c
SS
5593Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
5594
5595 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
5596 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
5597 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
5598 and -lpthreads (everybody else).
5599 (test_startup): Fail gracefully if threads are not supported.
5600 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
5601 "p/c array_index("abcdef",2)" when not gcc compiled.
5602 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
5603 "print func2::coremaker_local" when not gcc compiled.
5604 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
5605 "ptype on opaque struct tagname (statically)",
5606 "ptype on opaque struct tagname (dynamically) 1", and
5607 "ptype on opaque struct tagname (dynamically) 2"
5608 for not compiled with gcc.
5609 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
5610 backtrace when compiled with gcc.
beb998c6 5611 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
5612 than always return success.
5613
5614Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
5615
5616 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
5617
5618Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
5619
5620 * gdb.base/structs.exp: Undo last change.
5621
5622Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
5623
5624 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
5625 encapsulate all the steps/nexts done during self test, starting
5626 at main, and makes them less sensitive to optimization issues.
5627 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
5628 signal handler" test.
5629 * gdb.threads/pthreads.exp: Only run this for native configs.
5630 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
5631 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
5632 tests.
5633 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
5634 for "runto test_calls(void)" test.
beb998c6 5635
c906108c
SS
5636Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
5637
5638 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
5639 and don't expect address info in breakpoint confirmations.
5640
5641Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
5642
5643 * gdb.base/list.exp (test_forward_search): Increase timeout
5644 temporarily by 60 seconds for searching extremely long line,
5645 and then reset to old value when done. Increase expect input
5646 buffer to 10000.
5647
5648Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
5649
5650 * gdb.base/list.exp (test_forward_search): Fix to handle very
5651 long source line without overflowing expect's input buffer.
5652
5653Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
5654
5655 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
5656 "buffer_full".
5657
5658 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
5659 "buffer_full".
5660
5661 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
5662 "buffer_full".
5663
5664 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
5665 "buffer_full".
5666
5667Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
5668
5669 * configure.in (configdirs): Add gdb.threads.
5670 * configure: Regenerated with autoconf.
5671 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
5672 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
5673 * gdb.threads/configure: New, generated with autoconf.
beb998c6 5674
c906108c
SS
5675Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
5676
5677 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
5678
5679Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
5680
5681 * gdb.base/signals.exp (test_handle_all_print): Test separately for
5682 each signal's status in the output of "handle all print".
5683 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
5684 the \r\n sequence that immediately precedes the gdb prompt.
5685 * gdb.base/a1-selftest.exp: Save original timeout and restore
5686 after test.
5687
5688Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
5689
5690 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
5691 symbol.
5692
5693Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5694
5695 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
5696
5697Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
5698
5699 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
5700 timeout by 60 seconds.
5701
5702Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
5703
5704 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
5705 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
5706 error return.
5707
5708Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
5709
5710 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
5711 gdb initialization, also report how long dejagnu waited. Restore
5712 old timeout before doing error return. Temporarily increase timeout
5713 by 3 minutes to allow for slow startups over heavy NFS use.
5714
5715Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
5716
5717 * lib/gdb.exp: Report timeout value for verbosity level 2.
5718 * config/gdbserver.exp: Ditto.
5719 * config/hppro.exp: Ditto.
5720 * config/mips-gdb.exp: Ditto.
5721 * config/monitor.exp: Ditto.
5722 * config/netware.exp: Ditto.
5723 * config/sim-gdb.exp: Ditto.
5724 * config/slite-gdb.exp: Ditto.
5725 * config/udi-gdb.exp: Ditto.
5726 * config/unix-gdb.exp: Ditto.
5727 * config/vx-gdb.exp: Ditto.
5728 * gdb.base/a1-selftest.exp: Ditto.
5729 * gdb.base/a2-run.exp: Ditto.
5730 * gdb.base/break.exp: Ditto.
5731 * gdb.base/corefile.exp: Ditto.
5732 * gdb.base/list.exp: Ditto.
5733 * gdb.base/recurse.exp: Ditto.
5734 * gdb.base/scope.exp: Ditto.
5735 * gdb.base/signals.exp: Ditto.
5736
5737Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5738
5739 * gdb.threads/Makefile.in (docdir): Removed.
5740
5741Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5742
5743 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 5744 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 5745 @srcdir@.
beb998c6 5746 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
5747 autoconf 2.5 or higher.
5748 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
5749
5750Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
5751
5752 * configure: Regenerated.
5753 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
5754 avoid name clashes with SunOS headers.
5755
5756Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
5757
5758 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
5759
5760Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
5761
5762 * gdb.base/callfuncs.exp: Finish last change -- make sure the
5763 prototype information ends up in the compiler info file.
5764
5765Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
5766
5767 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
5768 attempting to regenerate it. Eliminate use of a temporary file
5769 and just generate the info file directly. Source it immediately,
5770 for consistency of use.
5771 * gdb.base/corefile.exp: Ditto
5772 * gdb.base/exprs.exp: Ditto.
5773 * gdb.base/funcargs.exp: Ditto.
5774 * gdb.base/langs.exp: Ditto.
5775 * gdb.base/list.exp: Ditto.
5776 * gdb.base/mips_pro.exp: Ditto.
5777 * gdb.base/nodebug.exp: Ditto.
5778 * gdb.base/opaque.exp: Ditto.
5779 * gdb.base/ptype.exp: Ditto.
5780 * gdb.base/scope.exp: Ditto.
5781 * gdb.base/setvar.exp: Ditto.
5782 * gdb.base/signals.exp: Ditto.
5783 * gdb.base/whatis.exp: Ditto.
5784 * gdb.c++/templates.exp: Ditto.
5785 * gdb.c++/virtfunc.exp: Ditto.
5786 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
5787 whether or not to add -lstdc++ to the compile command line args.
5788
5789Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5790
5791 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
5792 it got fixed by the recent lookup_minimal_symbol_by_pc change.
5793 Increase timeout, a lot of single stepping might be needed if the
5794 target has no hardware watchpoints.
5795
5796Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
5797
5798 * gdb.base/break.exp: Ignore compiler warnings when compiling
5799 break.c.
5800 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
5801 * gdb.base/default.exp: Add h8300 xfails. Handle messages
5802 from remote-sim.
5803 * gdb.base/exprs.exp: Add h8300 xfails.
5804 * gdb.base/funcargs.exp: Likewise.
5805 * gdb.base/nodebug.exp: Likewise.
5806 * gdb.base/printcmds.exp: Likewise.
5807 * gdb.base/ptype.exp: Likewise.
5808 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
5809 h8300 xfails.
beb998c6 5810 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
5811 on the h8300.
5812 * gdb.base/funcargs.c: Explicitly make last constant argument to
5813 call_after_alloca_subr an unsigned long type.
5814 * gdb.base/return.c: Include stdio.h.
5815
5816Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
5817
5818 * config/abug.exp: New file for the older Motorola Bug monitor
5819 that runs on the mvme13x series VME boards.
5820 * config/monitor.exp: Use the new config array for target settings
5821 if they exist.
5822
5823Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
5824
5825 * sim-gdb.exp: Make the SH simulator allocate less space when
5826 it is targeted.
5827
5828Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
5829
5830 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
5831 test.
5832
5833Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
5834
5835 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
5836 "rs6000-*-*" for "list function in include file" when gcc compiled.
5837 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
5838 for "p ctable1[120]".
5839 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
5840 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
5841 Remove setup_xfail for "rs6000-*-*" for
5842 "print 'scope0.c'::filelocal before run".
5843 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
5844 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
5845 since some compilers don't allow both options to be given
5846 on the same command line. Create object file and move it.
beb998c6 5847
c906108c
SS
5848Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
5849
5850 * gdb.base/corefile.exp: Always regenerate the core file, since
5851 we always regenerate the coremaker program. Detect special case
5852 where registers cannot be read from core file.
beb998c6 5853
c906108c
SS
5854Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
5855
5856 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
5857 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
5858 * gdb.c++/templates.exp: Only match on basename of file since
5859 some formats like xcoff don't encode directory information.
5860 * gdb.stabs/weird.exp: Use the right sed script for powerpc
5861 and rs6000 AIX xcoff targets.
5862 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
5863 * configure: Regenerate.
5864 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
5865 here, rather than in distclean.
beb998c6 5866
c906108c
SS
5867Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
5868
5869 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
5870 defined, and use it to compile the test case with -O2. The
5871 native compilation still uses no optimization.
5872 * gdb.base/mips_pro.c: Remove inline assembly code since
5873 it is compiled PIC by default, which results in assembler
5874 warnings that make the testsuite think the compilation
5875 was unsuccessful.
5876
5877Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
5878
5879 * gdb.c++/misc.exp: Add note to message for
5880 "print s.a for foo struct" that this is a known gcc 2.7.2
5881 and earlier bug.
5882
5883Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
5884
5885 * gdb.base/break.exp: Fix pattern for matching "Delete all
5886 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
5887 setup_xfail for deleting all breakpoints test. Fix various
5888 timeout messages to include "(timeout)".
5889 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
5890 for "p t_float_values2(3.14159,float_val2)".
5891 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
5892 for "continue to call2g" when gcc compiled.
5893 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
5894 "up to foo in langs.exp", "show language at foo in langs.exp",
5895 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
5896 and "show language at fsub in langs.exp".
5897 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
5898 "list line 1 in include file", "list message for lines past EOF",
5899 "list function in include file", "list list0.h:foo", and
5900 "list filename:function; nonexistant function".
5901 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
5902 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
5903 and "ptype t_char_array" to be for native cc only.
beb998c6 5904
c906108c
SS
5905Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
5906
beb998c6 5907 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
5908 setup_xfail for "print coremaker_bss", "print coremaker_ro",
5909 "print func2::coremaker_local", and "backtrace in corefile.exp".
5910
5911Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
5912
5913 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
5914 "bt in signals.exp". This problem only appears when running
5915 the testsuite, and then only intermittently.
5916
5917Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
5918
5919 * gdb.base/return.exp (return_tests): Differentiate between
5920 two tests of continuing.
5921
5922Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
5923
5924 * */Makefile.in (maintainer-clean): Remove config.log.
5925 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
5926 * gdb.c++/Makefile.in (PROGS): Add inherit.
5927 (clean): Remove *.ci.
5928
5929Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
5930
5931 * gdb.c++/misc.cc: Add test code from Mike Stump.
5932 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
5933
5934Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
5935
5936 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
5937 to "alpha-*-osf2*" and add comment.
5938 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
5939 setup_xfail for "step over execarg initialization" and
5940 "step over corearg initialization".
5941 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
5942 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
5943 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
5944 gcc compiled for "print coremaker_bss", "print coremaker_ro",
5945 "print func2::coremaker_local", and "backtrace in corefile.exp".
5946 * gdb.base/signals.exp: Build and source signals.ci.
5947 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
5948 to be for gcc only.
5949 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 5950
c906108c
SS
5951Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5952
5953 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
5954 Feb 3 procfs.c change.
5955
5956Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
5957
5958 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
5959
5960Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
5961
5962 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
5963 from dejagnu's apparent default of 10 seconds, which gives random
5964 results when running the tests over NFS on moderately loaded systems.
5965 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
5966
5967Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
5968
5969 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
5970 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
5971 result reports.
5972
5973Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
5974
5975 * configure.in (CY_AC_PATH_TCLH): Remove.
5976 * configure: Regenerate.
5977
5978Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
5979
5980 * gdb.c++/Makefile.in (clean): Add missing '{'.
5981
5982Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
5983
5984 * lib/gdb.exp: Provide a default value for noinferior.
5985
5986 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
5987 Load libgloss.exp.
5988
5989Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
5990
5991 * gdb.disasm/hppa.exp: Compile directly into an executable, use
5992 the executable, not the .o to run the tests from.
5993
5994Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
5995
5996 * gdb.base/break.exp: Don't test for program exit or exit status
5997 if $noresults if nonzero.
5998 * gdb.base/langs.exp: Likewise.
5999 * gdb.base/watchpoint.exp: Likewise.
6000
6001 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6002 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6003 trying to compile the testcase.
6004
6005Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6006
6007 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6008 * gdb.base/signals.exp (continue to handler): Likewise.
6009
6010Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6011
6012 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6013
6014 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6015
6016Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6017
6018 * gdb.base/corefile.exp: Recognize "not found" as failure
6019 when trying to determine if a core file was generated.
6020 If no core file was generate the first time, try again without
6021 the ulimit -c to work around braindamaged shells.
6022
6023Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6024
6025 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6026 [] tests with "test" and enclose string in quotes.
6027 * gdb.stabs/configure: Rebuild
beb998c6 6028
c906108c
SS
6029Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6030
6031 Changes in sync with expect:
6032 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6033 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6034 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6035 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6036 argument to AC_REQUIRE.
6037 * configure: Regenerated.
6038
6039Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6040
6041 * gdb.base/corefile.exp: When generating a core, discard any
6042 error messages about ulimit not found and the "core dumped"
6043 message from the shell that runs the coredumper.
6044
6045Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6046
6047 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6048
6049 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6050 which sed script to run. Expect failure for v_comb test
6051 on PA targets too.
beb998c6 6052
c906108c
SS
6053Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6054
6055 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6056 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6057
6058Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6059
6060 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6061 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6062 "sparc-sun-solaris*" xfails for "p v_comb".
6063 * lib/gdb.exp (default_gdb_start): Fix typo.
6064 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6065 messages to not include the full program name that caused
6066 the core dump since some systems (such as solaris) apparently
6067 truncate this path to about 80 characters.
6068 When generating a core file first try increasing the core file
6069 size limit to unlimited since some systems may default it to
6070 zero, and it is harmless to try it. Move the test for failing
6071 to generate a core file to where it will actually get executed.
6072 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6073 new gdb result from g++ debug info improvements and make old
6074 pattern obsolescent. Also account for size_t differences
6075 (may be int or long).
6076 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6077 initialization before function call is placed in the delay slot
6078 and thus appears to be skipped over by commands such as "next".
6079
6080Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6081
6082 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6083
6084Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6085
6086 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6087 input source file; fix code to compile test to deal with this
6088 convention.
6089 * gdb.c++/*.exp: Likewise.
6090
6091Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6092
6093 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6094 "bt in signals.exp".
6095
6096Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6097
6098 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6099 "step over execarg initialization" and
6100 "step over corearg initialization".
6101
6102Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6103
6104 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6105 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6106
6107Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6108
6109 From Rob Savoye (rob@poseidon.cygnus.com)
6110 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6111 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6112 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6113 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6114 configure.in}: Major reworking for autoconfig.
6115 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6116 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6117 New files.
6118 * config/unix-gdb.exp: Make GDB global.
6119 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6120 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6121 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6122 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6123 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6124 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6125 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6126 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6127 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6128 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6129 pr-8136.exp, result.exp, string.exp, tuples.exp},
6130 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6131 to returns as necessary, arrange for test to compile own testcase
6132 executable.
6133 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6134
c906108c
SS
6135Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6136
6137 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6138 clear_xfail at end of test which might not call either pass or fail.
6139 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6140 "backtrace through signal handler".
6141
6142Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6143
6144 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6145 continuing from a job control stop signal.
6146 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6147
6148Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6149
6150 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6151 * gdb.base/corefile.exp: Likewise.
6152 * gdb.base/funcargs.exp: Likewise.
6153
6154Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6155
6156 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6157 * config/monitor.exp: Add support for setting baud rate.
6158
6159Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6160
6161 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6162 i*86-*-linux* xfails for "backtrace through signal handler".
6163 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6164 "print func2::coremaker_local".
6165 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6166 alpha-dec-osf2* xfail for
6167 "delete all breakpoints when none".
6168
6169Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6170
6171 * gdb.base/break.exp: Change test that deletes all breakpoints
6172 when no user breakpoints are installed. A post 4.15 change
6173 causes gdb to no longer prompt in this case.
6174
6175Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6176
6177 * gdb.base/return.exp (return_tests): Change xfail for test
6178 "correct value returned double test" to stop xfailing at
6179 Solaris 2.5. Apparently the bug has been fixed.
6180
6181Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6182
6183 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6184 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6185
6186Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6187
6188 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6189 * gdb.disasm/hppa.s: Corresponding changes.
6190
6191Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6192
6193 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6194 makefile fragment.
6195 * config/mt-hpux: Deleted.
6196
6197Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6198
beb998c6 6199 * Many files: When warning about suppressed tests due to a
c906108c
SS
6200 nonexistant test binary, avoid incrementing the warning count.
6201
6202Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6203
6204 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6205
c906108c
SS
6206Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6207
6208 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6209 "sparc-*-solaris2*".
6210
6211Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6212
6213 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6214 Add global and local variables and initialize them.
6215 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6216 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6217 extracts the file name and terminating signal from the core file.
6218 * TODO: Remove note about tests for correct mapping of corefile.
6219 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6220 from optimizing it away.
6221 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6222 handles common blocks.
6223
6224Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6225
6226 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6227 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6228
6229Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6230
6231 * Makefile.in (maintainer-clean): New target, synonym for
6232 realclean.
6233 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6234 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6235 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6236 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6237 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6238 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6239
6240Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6241
6242 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6243 xfails when not gcc compiled for "print foo::funclocal".
6244 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6245 "print foo::funclocal at foo",
6246 "print 'scope1.c'::foo::funclocal at foo",
6247 "print foo::funclocal_bss at foo",
6248 "print 'scope1.c'::foo::funclocal_bss at foo",
6249 "print foo::funclocal_ro at foo",
6250 "print 'scope1.c'::foo::funclocal_ro at foo",
6251 "print bar::funclocal at foo" and
6252 "print 'scope1.c'::bar::funclocal at foo".
6253 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6254 gcc compiled for "print foo::funclocal at bar".
6255 Expand all messages to ensure that they identify that
6256 the test is at bar().
6257 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6258 gcc compiled for:
6259 "ptype on opaque struct pointer (statically)",
6260 "ptype on opaque struct tagname (statically)",
6261 "ptype on opaque struct pointer (dynamically) 1",
6262 "ptype on opaque struct tagname (dynamically) 1",
6263 "ptype on opaque struct pointer (dynamically) 2" and
6264 "ptype on opaque struct tagname (dynamically) 2
6265 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6266 gcc compiled for:
6267 "p datalocal"
6268 "whatis datalocal",
6269 "ptype datalocal",
6270 "p bsslocal",
6271 "whatis bsslocal", and
6272 "ptype bsslocal".
6273 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6274 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6275 when not gcc compiled.
6276 * gdb.base/funcargs.exp (float_and_integral_args): Add
6277 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6278 compiled.
6279 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6280 "backtrace from call6a" when not gcc compiled.
6281 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6282 "backtrace from call7a" when not gcc compiled.
6283 * gdb.base/callfuncs.exp (do_function_calls):
6284 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6285 "p t_char_array_values(char_array_val2,char_array_val1)",
6286 "p t_char_array_values(char_array_val1,char_array_val2)",
6287 "p t_char_array_values("carray 1","carray 2")",
6288 "p t_char_array_values("carray 1",char_array_val2)",
6289 "p t_char_array_values(char_array_val1,"carray 2")",
6290 "p sum_args(1,{2})",
6291 "p sum_args(2,{2,3})",
6292 "p sum_args(3,{2,3,4})",
6293 "p sum_args(4,{2,3,4,5})"
6294 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6295 "backtrace in corefile.exp" when not gcc compiled.
6296
6297Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6298
6299 * gdb.base/signals.exp: Rewrite `handle all print' test as
6300 a procedure. Accept blanks or TABs as whitespace, increase
6301 timeout and expect input buffer size for the large output
6302 from the command. Remove "i*86-*-bsdi2.0" xfail.
6303
6304Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6305
6306 * gdb.base/setvar.exp: Add new testcases for truncation when
6307 assigning invalid values to bitfields.
6308
6309Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6310
beb998c6 6311 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6312 mips-sgi-irix* xfail for
6313 "call inferior func with struct - returns char *"
6314 and fix test so that an optional (unsigned char *) cast is
6315 accepted in the result.
6316
6317Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6318
6319 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6320 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6321 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6322 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6323 that accidentally got checked in.
6324
6325Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6326
beb998c6 6327 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6328 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6329 compiled test.
6330 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6331 Add mips-sgi-irix5* xfail for not gcc compiled.
6332 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6333 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6334 "p top", "whatis top", "p middle", and "whatis middle".
6335 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6336 "whatis signed char" for not gcc compiled.
6337 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6338 "set variable signed char=-1 (-1)" and
6339 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6340 * gdb.base/funcargs.exp (float_and_integral_args):
6341 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6342 Add mips-sgi-irix* xfail when not gcc compiled for
6343 "continue to call2b".
6344 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6345 "continue to call2g".
6346 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6347 "backtrace from call6a"
6348 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6349 "backtrace from call7k".
6350 Add mips-sgi-irix5* xfail when not gcc compiled for
6351 "backtrace from call7a".
6352 (localvars_after_alloca): Fix gdb_test cmds for
6353 "print * after runto ...".
6354 Remove rs6000-*-* xfails for
6355 "print i after runto localvars_after_alloca" and
6356 "print l after runto localvars_after_alloca"
6357 for all compilers.
6358 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6359 when not compiled with gcc, for:
6360 "print signed char == (minus)",
6361 "print signed char != (minus)",
6362 "print signed char < (minus)",
6363 "print signed char > (minus)".
6364 * gdb.base/callfuncs.exp (do_function_calls):
6365 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6366 "call inferior func with struct - returns char *".
beb998c6 6367 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6368 "correct value returned double test" to include Solaris 2.4.
6369 * gdb.base/funcargs.exp (float_and_integral_args):
6370 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6371
c906108c
SS
6372Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6373
6374 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6375 enumeration bitfields if compiling with GNU C.
6376 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6377 to empty' prompt.
6378
6379Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6380
6381 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6382 test for PRO targets.
6383
6384 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6385 breakpoints in the inferior at any given time by making
6386 two groups of breakpoints for call2*, call6* and call7*
6387 tests.
6388
6389Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6390
6391 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6392 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6393 from optimizing it away.
6394 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6395 "call inferior func with struct".
6396
6397Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6398
6399 * configure.in: Only configure gdb.chill for particular targets.
6400
6401Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6402
6403 * gdb.base/Makefile.in: Add action to .c.o transformation
6404 rule that generates a .ci file for each .o file and remove
6405 explicit .c.o rules except for callfuncs.o.
6406 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6407 generates a .ci file for each .o file and remove explicit
6408 .cc.o rules.
6409 (clean): Remove *.tmp *.ci files.
6410 (EXECUTABLES): Remove templ-info.exp.
6411 * gdb.base/compiler.c: New file.
6412 * gdb.c++/compiler.cc: New file
6413 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6414 Change rs6000-*-* xfail for
6415 "print 'scope0.c'::filelocal_ro" and
6416 "print 'scope1.c'::filelocal" and
6417 "print 'scope1.c'::filelocal_bss" and
6418 "print 'scope1.c'::filelocal_ro" and
6419 "print 'scope1.c'::foo::funclocal" and
6420 "print 'scope1.c'::foo::funclocal_ro" and
6421 "print 'scope1.c'::bar::funclocal" and
6422 "print 'scope0.c'::filelocal_ro" and
6423 "print 'scope1.c'::filelocal at foo" and
6424 "print 'scope1.c'::filelocal_bss at foo" and
6425 "print 'scope1.c'::filelocal_ro at foo" and
6426 "print 'scope1.c'::foo::funclocal at foo" and
6427 "print 'scope1.c'::foo::funclocal_bss at foo" and
6428 "print 'scope1.c'::foo::funclocal_ro at foo" and
6429 "print 'scope1.c'::bar::funclocal at foo" and
6430 "print 'scope0.c'::filelocal_ro" and
6431 "print 'scope1.c'::filelocal" and
6432 "print 'scope1.c'::filelocal_bss" and
6433 "print 'scope1.c'::filelocal_ro" and
6434 "print 'scope1.c'::foo::funclocal" and
6435 "print 'scope1.c'::foo::funclocal_bss" and
6436 "print 'scope1.c'::foo::funclocal_ro" and
6437 "print 'scope1.c'::bar::funclocal" and
6438 "print 'scope1.c'::bar::funclocal_bss"
6439 to only be xfail'd when not compiled with gcc.
beb998c6 6440 Add rs6000-*-* xfail for
c906108c
SS
6441 "print 'scope0.c'::filelocal_bss before run"
6442 when compiled with gcc.
6443 (test_at_main): Add rs6000-*-* xfail for
6444 "print filelocal_ro in test_at_main"
6445 when compiled with gcc.
6446 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6447 Add rs6000-*-aix* xfail for
c906108c
SS
6448 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6449 "ptype t_char_array", not compiled with gcc.
6450 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6451 xfail for "list foo (in include file)" when gcc compiled.
6452 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6453 (integral_args): Add rs6000-*-* xfail for
6454 "run to call0a" if not compiled with gcc.
6455 (unsigned_integral_args): Add rs6000-*-* xfail for
6456 "run to call1a" if not compiled with gcc.
6457 (float_and_integral_args): Add rs6000-*-* xfail for
6458 "run to call2a" if not compiled with gcc and for
6459 "continue to call2b" for any compiler.
6460 Add rs6000-*-* xfail to
6461 "print f1 after run to call2a" for gcc compiled.
6462 (discard_and_shuffle): Add rs6000-*-* xfail for
6463 "run to call6a".
6464 (shuffle_round_robin): Add rs6000-*-* xfail for
6465 "backtrace from call7a" if not compiled with gcc.
6466 Add rs6000-*-* xfail for
6467 "backtrace from call7b" if compiled with gcc.
6468 (call_after_alloca): Add rs6000-*-* xfail for
6469 "print c in call_after_alloca" and
6470 "print s in call_after_alloca" and
6471 "backtrace from call_after_alloca_subr"
6472 if not compiled with gcc.
6473 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6474 "print c in localvars_in_indirect_call" and
6475 "print c in localvars_in_indirect_call" and
6476 "backtrace in indirectly called function" and
6477 "stepping into indirectly called function"
6478 if not compiled with gcc.
6479 (localvars_after_alloca): Add rs6000-*-* xfail for
6480 "print c after runto localvars_after_alloca" and
6481 "print s after runto localvars_after_alloca" and
6482 "print i after runto localvars_after_alloca" and
6483 "print l after runto localvars_after_alloca"
6484 for all compilers.
6485 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6486 than whatis-info.exp.
6487 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6488 than opaque-info.exp.
6489 Setup rs6000-*-* xfail for
beb998c6 6490 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6491 "ptype on opaque struct pointer (dynamically)" when
6492 not compiled with gcc.
6493 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6494 rather than callf-info.exp.
6495 (do_function_calls): Add clear_xfail for rs6000-*-* for
6496 "p t_float_values2(3.14159,float_val2)". Seems to work
6497 fine there, both with xlc and gcc. Need to find out what
6498 it is doing right and fix other platforms.
6499 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6500 "call inferior func with struct - returns int",
6501 "call inferior func with struct - returns long",
6502 "call inferior func with struct - returns float",
6503 "call inferior func with struct - returns double",
6504 "call inferior func with struct - returns char *",
6505 but only if not gcc compiled (presumes xlc compiled).
6506 Change rs6000-*-* xfails for
6507 "call inferior func with struct - returns char" and
6508 " call inferior func with struct - returns short" to only
6509 xfail if not using gcc.
6510 (clean mostlyclean): Remove *.ci and *.tmp files.
6511 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6512 than templ-info.exp.
6513 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6514 Add rs6000-*-* xfail for "up to foo in langs.exp"
6515 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6516 when not gcc compiled.
beb998c6 6517
c906108c
SS
6518Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6519
6520 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6521 * gdb.base/corefile.exp: Likewise.
6522 * gdb.base/list.exp: Likewise.
6523 * gdb.base/scope.exp: Likewise.
6524 * gdb.base/siganls.exp: Likewise.
6525
6526 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6527 compiler output.
6528 * gdb.base/whatis.exp: Likewise.
6529
6530Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6531
6532 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6533 failure (opcode table has been fixed to match reality).
6534
6535Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6536
6537 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6538 "call inferior func with struct - returns char",
6539 "call inferior func with struct - returns short"
6540
6541 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6542 "print 'scope0.c'::filelocal at main",
6543 "print 'scope0.c'::filelocal_bss in test_at_main",
6544 "print 'scope0.c'::filelocal at foo",
6545 "print 'scope0.c'::filelocal_bss in test_at_foo",
6546 "print 'scope0.c'::filelocal at bar",
6547 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 6548
c906108c
SS
6549 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
6550 in source file 1". This bug seems to have been fixed with both
6551 gcc and native cc (was native assembler bug?).
6552
6553Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
6554
6555 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
6556 "backtrace through signal handler" to "i*86-*-sysv4*".
6557 * gdb.base/signals.exp: Add xfail for "'next' behaved as
6558 continue" case. Add "known SVR4 bug" to fail message.
6559 Add "i*86-*-bsdi2.0" xfail for "handle all print".
6560 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
6561 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
6562 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
6563 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
6564 "up to foo in langs.exp", "show language at foo in
6565 langs.exp", "up to cppsub_ in langs.exp", "show
6566 language at cppsub_ in langs.exp", "up to fsub in
6567 langs.exp", and "show language at fsub in langs.exp".
6568 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
6569 "bactrace in corefile.exp".
6570 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
6571 "call inferior function with struct - returns float" and
6572 "call inferior function with struct - returns double".
beb998c6 6573
c906108c
SS
6574Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
6575
6576 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
6577 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
6578 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
6579 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
6580
6581Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
6582
6583 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
6584 (or overriden) "CHILL" macro rather then bare "gcc".
6585 Also look for ../../gcc/xgcc since that is what we will
6586 actually need, not "Makefile". Remove following assignment
6587 of CHILL to CHILL_FOR_TARGET because that results in
6588 recursive definition.
6589
6590Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
6591
6592 * gdb.base/corefile.exp: Change xfail for backtrace in
6593 corefile.exp from linuxaout to all linux.
6594 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
6595 cases where we miss the breakpoint at the signal handler
6596 for some reason. Setup xfail for linuxoldld/linuxaout and
6597 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
6598 hitting SIGURG breakpoint.
6599 * gdb.base/signals.exp: Setup xfail for "next" acting like
6600 continue to add linuxoldld. Setup xfail for all linux for
6601 "next to handler in signals_tests_1", "backtrace in
6602 signals_tests_1", "continue to func1", "pass SIGUSR1",
6603 and continue to handler".
6604
6605Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
6606
6607 * Update all FSF addresses except those in COPYING* files.
6608
6609Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
6610
6611 * gdb.base/a2-run.exp: Change messages to be more explicit about
6612 the status of args, and quote binfile in results.
6613
6614Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
6615
6616 * gdb.base/callfuncs.exp: Add tests for passing structs to
6617 inferior functions and return various types.
6618 * gdb.base/callfuncs.c: Add functions to receive a struct
6619 and return a member of the struct, in various types.
6620
6621Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6622
6623 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
6624
6625Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6626
6627 * config/vxworks29k.exp: New file, sources vxworks.exp.
6628
6629Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6630
6631 * config/gdbremote.exp: New file. Testing framework using
6632 gdbserver.
6633
6634Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
6635
6636 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
6637 "call function when asleep" and "send end of file".
6638 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
6639 for "backtrace in corefile.exp".
6640 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
6641 for "backtrace through signal handler".
6642 * gdb.base/corefile.exp: Make sure we actually generate a core file
6643 before trying the core tests. Some systems allow the user to suppress
6644 generation of core files and default to that (linux for example).
6645 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
6646 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
6647
6648Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6649
6650 * gdb.threads: New directory with some crude multi-threaded
6651 gdb tests (step.exp and step2.exp).
6652 * config/mt-lynx (STEP_EXECUTABLE): Define.
6653 (THREADFLAGS): Define.
6654
6655Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
6656
6657 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
6658
6659 * gdb.base/signals.exp: Disable whole file for lynx until
6660 further notice.
6661
6662 * gdb.base/signals.exp: xfail test where "next" acts like
6663 "continue" for lynx.
6664
6665 * gdb.base/interrupt.exp: xfail test for calling function while
6666 inferior is asleep for lynx.
6667
6668 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
6669 than one cr-lf after each command.
6670
6671Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6672
6673 * configure.in: Reinstate setting of stabsdirs variable, fix
6674 typo in setting up configdirs for native builds.
6675
6676 * gdb.base/return.exp: Fix typo in return double test.
6677 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
6678 compiler from optimizing them away.
6679
6680Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
6681
6682 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
6683 sequences to be echo'd by gdb when using gdb_test.
6684 * gdb.chill/chexp.exp: Likewise.
6685 * gdb.fortran/exprs.exp: Likewise
6686
6687Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6688
6689 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
6690 after the inferior gdb has started.
6691
6692 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
6693 after each command.
6694 * gdb.base/funcargs.exp: Likewise.
6695 * gdb.base/gdbvars.exp: Likewise.
6696 * gdb.base/interrupt.exp: Likewise.
6697 * gdb.base/list.exp: Likewise.
6698 * gdb.base/watchpoint.exp: Likewise.
6699 * gdb.c++/demangle.exp: Likewise.
6700 * gdb.c++/inherit.exp: Likewise.
6701 * gdb.chill/chexp.exp: Likewise.
6702 * gdb.fortran/exprs.exp: Likewise.
6703
6704 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
6705 test if we can't handle IO to/from the inferior.
6706
6707 * gdb.c++/misc.exp: Always check for a program already being
6708 started after sending a "run" command to gdb.
6709
6710 * gdb.base/twice.exp: Start with a fresh gdb.
6711
6712 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
6713 only depend on gdb's expression code, not the chill runtime.
6714
6715 * gdb.base/return.c: Put return values into variables so we
6716 can have gdb print them rather than depending on the program
6717 to print them.
6718 * gdb.base/return.exp: Corresponding changes.
6719
6720 * lib/gdb.exp: Provide default value for noinferiorio.
6721 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
6722 the inferior.
6723
6724 * gdb.base/break.exp: Always check for a program already being
6725 started after sending a "run" command to gdb.
6726 (text_next_with_recursion): Don't check the output from the
6727 program's printf statement. Instead just make sure the program
6728 exited.
6729
6730 * gdb.base/commands.exp: Protect tests which need arguments with
6731 $noargs conditionals.
6732
6733Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6734
6735 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
6736 of structure member arrays to match gdb/valops.c:value_addr change.
6737
6738Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
6739
6740 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
6741 cases.
6742
6743Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
6744
6745 * configure.in (configdirs): Remove gdb.chill from default list
6746 of subdirs and then add it back in only if doing a native build.
6747 The current chill compiler does not yet work in any cross build.
6748 * Revert all signal changes from Jul 6.
6749 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
6750 for sh-hms targets, allowing these tests to link, with no other
6751 changes. Testing is suppressed by setting "nosignals" in site.exp.
6752
6753Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
6754
6755 * configure.in (signaldirs): Define and add to configdirs for all
6756 targets except some specific ones that are known to not support signals.
6757 Also clean up formatting.
6758 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
6759 (signals, sigall): Remove rules to build.
6760 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
6761 Moved to new gdb.signals directory.
6762 * gdb.signals: New test directory.
6763 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
6764 signals.c signals.exp}: New or moved files.
6765
6766Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
6767
6768 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
6769
6770Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
6771
6772 * gdb.base/return.exp: Xfail `return double' test failure
6773 on at least Solaris 2.3 and handle future/past versions on
6774 a case by case basis as appropriate. Also update message
6775 to include i*86 failures.
6776
6777Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6778
6779 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
6780
6781 * lib/gdb.exp: Fix comment which erroneously identified
6782 gdb_file_cmd as gdb_load (the 19 May change was in fact to
6783 gdb_file_cmd not gdb_load).
6784 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
6785
6786 * gdb.base/setvar.exp: Make test names consistent between pass and
6787 fail cases. Use gdb_test more.
6788
6789Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6790
6791 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
6792
6793Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6794
6795 * gdb.base/help.exp: Fix expected help string for `show commands'.
6796
6797Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
6798
6799 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
6800
6801 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
6802 of a text section.
6803
6804Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
6805
6806 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
6807 that loop eventually terminates. Fix Connection refused logic so
6808 that testsuite will expire nicely.
6809
6810Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
6811
6812 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
6813 config/rom68k.exp: New tcl glue for the appropriate monitors.
6814 These all just end up calling monitor.exp.
6815 * config/monitor.exp (gdb_target_monitor): Handle `Connection
6816 refused' by retrying. Cleanup some timeout issues.
6817 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
6818 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
6819 callers don't have to set/restore global timeout variable.
6820
6821 * The following set of changes centralizes management of the global
6822 timeout variable. This way, it can be set in one target dependent
6823 place instead of dozens of places scattered throughout the test suite.
6824 If you need to lengthen a timeout, then you should either set timeout
6825 in one of the config/{target}.exp files, or multiply it by a factor.
6826 Setting it to an absolute value is always going to lose for some
6827 targets.
6828 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
6829 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
6830 * gdb.base/funcargs.exp: Don't set timeout.
6831 * gdb.base/list.exp (test_forward_search): Only use local timeout.
6832 * gdb.base/printcmds.exp (test_print_string_constants
6833 test_print_array_constants): Don't set timeout.
6834 * gdb.base/ptype.exp: Don't set timeout.
6835 * gdb.base/recurse.exp: Don't set timeout.
6836 * gdb.base/return.exp: Don't set timeout.
6837 * gdb.base/watchpoint.exp: Don't set timeout.
6838 * gdb.c++/classes.exp (do_tests): Don't set timeout.
6839 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
6840
6841Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
6842
6843 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
6844
6845Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6846
6847 * lib/gdb.exp: Disable chill tests for irix5.
6848
6849Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6850
6851 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
6852 each test pass or fail.
6853
6854Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6855
6856 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
6857 xlc not gcc.
6858
6859Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
6860
6861 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
6862
6863Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
6864
6865 * config/est.exp: Fix copyright and comments. Remove dead code.
6866 Use targetname, serialport and baud variables instead of fixed
6867 constants.
6868 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
6869 * config/cpu32bug.exp: New file to support cpu32bug monitors.
6870
6871Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6872
6873 * gdb.base/watchpoint.exp: Don't run
6874 test_watchpoint_triggered_in_syscall for sunos.
6875
6876Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6877
6878 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
6879 they don't seem to exist. Do include stdio.h.
6880
6881Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6882
6883 * gdb.base/a1-selftest.exp: Add alpha xfail.
6884
6885Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6886
6887 * gdb.base/watchpoint.c (main): Prompt before calling read().
6888 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
6889 Revise accordingly. Remove cruft about sending "123" several
6890 times, until it gets noticed. Clean up the "print buf[0]" stuff
6891 so that it passes or fails, and waits for prompts in the usual way.
6892
6893Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6894
6895 * gdb.base/recurse.exp: Fix comment.
6896
6897 * TODO: Remove item about printing variables in nodebug.exp. Add
6898 item about enabling tests which are only run on some targets.
6899
6900 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
6901 fail, make test names unique, use new gdb_test convention
6902 regarding pattern, use gdb_test more, etc.).
6903
6904 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
6905 fail, make test names unique, etc.).
6906
6907Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6908
6909 * gdb.base/nodebug.c: Change return type of top and middle to
6910 short.
6911 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
6912 are fixed by the recent mdebugread.c changes. Allow `short ()'
6913 as type for top and middle.
6914
6915Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6916
6917 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
6918 nearly as I can tell, the whole thing was an accident in Stu's
6919 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
6920 to replace a send/expect pair with gdb_test, but ended up only
6921 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
6922 of 30 Mar 1995 took care of it, but left this vestigial comment
6923 which I am now nuking.
6924
6925Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6926
6927 * gdb.base/break.exp: Look for different line number for
6928 breakpoint at main depending on usestubs.
6929
6930Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6931
6932 * gdb.base/list.exp: Adjust some alternate expect patterns to
6933 match recent list0.c change. Add alternate expect pattern for
6934 output from `list default lines around main' for optimizing
6935 compilers.
6936
6937Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6938
6939 * lib/gdb.exp: If nosignals is not set, set it to 0.
6940
6941Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
6942
6943 * config/slite-gdb.exp: Responds to load symbol table prompt.
6944 * gdb.base/break.exp: Adjust line number, fix rerun.
6945 * gdb.base/langs0.c: Add #ifdef usestubs.
6946
6947Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
6948
6949 * gdb.base/list.exp: Adjust line contents after adding new lines in
6950 list0.c. Also fix a syntax error.
6951
6952 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
6953 * gdb.base/break.exp: ditto.
6954 * gdb.base/list.exp: ditto.
6955 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
6956 * gdb.base/run.c: ditto.
6957 * gdb.base/list0.c: ditto.
6958 * gdb.base/funcargs.c: ditto.
6959
6960Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
6961
6962 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
6963 $targetname, $serialport and $baud instead of hardwired variables.
6964 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
6965 target doesn't support signals.
6966
6967Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
6968
6969 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
6970
6971Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6972
6973 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
6974 Don't rely on the value of an auto variable before it has been
6975 initialized. Use gdb_test more.
6976
6977Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6978
6979 * lib/gdb.exp (default_gdb_version): A version number must start
6980 with a digit, but other than that contains all characters up to
6981 the first whitespace character.
6982
6983Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6984
6985 * gdb.base/commands.exp (breakpoint_command_test): New tests.
6986
6987Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6988
6989 * gdb.c++/*.exp: Warn if executable does not exist. The original
6990 reason for skipping the warning was that configure.in sometimes
6991 intentionally skipped building the executables but the tcl code
6992 had no way of knowing. That (a) was always bogus with respect to
6993 error handling, (b) is no longer true (right now there is no way
6994 to skip C++ tests).
6995
6996 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
6997
6998Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6999
7000 * gdb.base/list.exp: Add expect patterns for output from
7001 SunPRO compiled executables.
7002 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7003 types.
7004
7005Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7006
7007 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7008 number (we are already testing that the correct source line text
7009 gets printed).
7010
7011 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7012 that is what is intended, but something needed to be done to get
7013 sunos4 native working again.
7014
7015 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7016
7017 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7018 apparently went with a (very) old xfail.
7019
7020Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7021
7022 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7023 runto_main is a proc in gdb.exp that will do 'step' for target use
7024 stubs.
7025 * gdb.base/exprs.exp: ditto.
7026 * gdb.base/interrupt.exp: ditto.
7027 * gdb.base/opaque.exp: ditto.
7028 * gdb.base/printcmds.exp: ditto.
7029 * gdb.base/ptype.exp: ditto.
7030 * gdb.base/scope.exp: ditto.
7031 * gdb.base/setvar.exp: ditto.
7032 * gdb.base/signals.exp: ditto.
7033 * gdb.base/twice.exp: ditto.
7034 * gdb.c++/classes.exp: ditto.
7035 * gdb.c++/inherit.exp: ditto.
7036 * gdb.c++/templates.exp: ditto.
7037 * gdb.base/break.exp: no run and hit main for stubs. Change line
7038 numbers for breakpoints and info breakpoint.
7039 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7040 breakpoint().
7041 * gdb.base/callfuncs.c: ditto.
7042 * gdb.base/exprs: ditto.
7043 * gdb.base/interrupt.c: ditto.
7044 * gdb.base/opaque0.c: ditto.
7045 * gdb.base/printcmds.c: ditto.
7046 * gdb.base/ptype.c: ditto.
7047 * gdb.base/scope0.c: ditto.
7048 * gdb.base/setvar.c: ditto.
7049 * gdb.base/signals.c: ditto.
7050 * gdb.base/twice.c: ditto.
7051 * gdb.c++/misc.cc: ditto.
7052 * gdb.c++/templates.cc: ditto.
7053
7054Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7055
7056 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7057
7058 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7059 somewhere between `read' and `main.c'. I'm pretty sure the
7060 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7061 and it isn't particularly useful.
7062
7063 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7064
7065Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7066
7067 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7068
7069Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7070
7071 * config/mt-slite: add LIBS and -nostdlib.
7072 * config/slite-gdb.exp: add this new file to support sparclite target.
7073
7074Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7075
7076 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7077
7078 * gdb.base/a2-run.exp: Change argument to istarget from
7079 "*-*-vxworks" to "*-*-vxworks*".
7080 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7081
7082Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7083
7084 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7085 will not runto main but do a 'step' to step out of breakpoint().
7086 * config/mt-slite: add -Dusestubs.
7087
7088Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7089
7090 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7091 instead of just @.
7092
7093 * gdb.base/signals.exp: Add test for "handle all print".
7094 * TODO: Remove "handle all print". Also remove item about
7095 checking copyright date (I don't like the idea of a spurious FAIL
7096 based on when we run the tests).
7097
7098 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7099 for SunOS4 (reason for failure not investigated). Remove
7100 redundant test for $binfile.
7101
7102 * gdb.base/nodebug.c (array_index): Call malloc.
7103
7104 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7105
7106Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7107
7108 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7109 conventions and slightly simplify the matching regexp.
7110
7111Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7112
7113 * gdb.base/break.exp: Update gdb_test invocation to use new
7114 convention.
7115
7116 * lib/gdb.exp: If noargs is not set, set it to 0.
7117
7118 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7119 tests unique.
7120
7121 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7122
7123Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7124
7125 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7126 one argument of type "<non-float parameter>".
7127
7128Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7129
7130 * config/rom68k.exp: New file to support Motorola IDP board.
7131 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7132 * gdb.base/break.c: Change things around so that this program
7133 doesn't depend upon args. This is necessary to make remote
7134 targets work (in general, they can't take args).
7135 * gdb.base/break.exp: Don't try to send args to program. Don't
7136 expect output. Also, replace lots of code with gdb_test.
7137
7138Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7139
7140 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7141 printing of '\'' (which is what the comment says we are testing,
7142 even though we were not), not '''.
7143 (test_integer_literals_rejected): Test that printing ''' is an error.
7144
7145 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7146 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7147 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7148 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7149 Use gdb_test not test_print_accept.
7150 * lib/gdb.exp: Remove test_print_accept.
7151
7152 * gdb.base/signals.exp (signal_tests_1): Make pass message
7153 consistent with fail message.
7154
7155 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7156 unsigned char; the bug (PR 1821) is fixed.
7157
7158 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7159
7160 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7161 successful tests--makes xfailing them work right.
7162
7163Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7164
7165 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7166 only \r\n, not .*. The test can pass .* as the last thing in
7167 $pattern if that is what it wants. In addition to providing this
7168 flexibility, this change should speed up pattern matching in cases
7169 where the pattern already ended with .* (there were a number of
7170 them). This change also helps catch bad patterns--in the old
7171 scheme the typo "char \*" instead of "char \\*" would pass. Now
7172 it is caught.
7173 * Many .exp files: Update callers.
7174
7175 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7176 clearer and does not spuriously match multiple ('s. Likewise for
7177 ) and *.
7178
7179 * gdb.base/nodebug.exp: Test ability to call a function and pass
7180 it a string (even with no debugging info).
7181
7182 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7183 "p '\'", which is the same as "p ''" once tcl gets done with
7184 quoting, to "p '\\'", which I suspect is what is intended (one
7185 backslash gets sent to GDB).
7186
7187 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7188
7189Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7190
7191 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7192 1817) was fixed literally years ago.
7193
7194Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7195
7196 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7197 test, it causes stepping out of call_after_alloca_subr with
7198 optimizing compilers.
7199 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7200 fails.
7201
7202 * gdb.c++/templates.exp: Source templ-info.exp only if
7203 the templates executable exists.
7204
7205 * gdb.c++/misc.cc (class Contains_static_instance,
7206 class Contains_nested_static_instance),
7207 gdb.c++/classes.exp (test_static_members): Test printing of
7208 a class that contains a static instance of the class.
7209
7210Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7211
7212 * gdb.base/langs2.c (cppsub_): Don't prototype.
7213 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7214 only, I believe).
7215
7216Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7217
7218 * lib/gdb.exp (skip_chill_tests): New procedure.
7219
7220 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7221
7222Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7223
7224 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7225 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7226
7227Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7228
7229 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7230
7231 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7232 disassemble 8, not 16, instructions for part 4.
7233
7234 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7235 support the latter anymore.
7236
7237 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7238 -DNO_PROTOTYPES.
7239 * gdb.base/callfuncs.c: Control use of prototypes based on
7240 NO_PROTOTYPES, not __STDC__.
7241 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7242 t_float_values2 tests if prototypes in use.
7243
7244 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7245 t_double_values): When checking differences against DELTA, check
7246 that difference is within the range (-DELTA,DELTA), not just
7247 (-infinity,DELTA).
7248
7249Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7250
7251 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7252 'file' command firts, then 'target', then 'load', this is due to gdb
7253 target set up.
7254 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7255
7256Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7257
7258 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7259 FP load/store variants.
7260 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7261
7262Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7263
7264 * gdb.base/term.exp: Do not give a warning if not native, it is
7265 not an abnormal condition.
7266
7267Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7268
7269 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7270 t_char_array".
7271
7272Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7273
7274 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7275 are getting the version number.
7276
7277 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7278 if not native, it is not an abnormal condition.
7279
7280Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7281
7282 * lib/gdb.exp: Just use "file exists", rather than undocumented
7283 dejagnu procedure "findfile".
7284
7285Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7286
7287 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7288 (LDFLAGS): Set to -Xlinker -Ur.
7289
7290 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7291 Removed, these values are set by lib/gdb.exp.
7292
7293 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7294
7295Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7296
7297 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7298 of replicating gdb startup code.
7299
7300 * config/mt-vxworks (LDFLAGS): Set to -r.
7301 (CFLAGS_FOR_TARGET): Removed.
7302
7303 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7304 (gdb) and gdb for vxworks uses (vxgdb).
7305
7306 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7307 executable is not in the tree and host != target, use sed and
7308 program_transform_name to determine the gdb name used by the
7309 target.
7310
7311 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7312 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7313
7314Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7315
7316 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7317 floats, chars, and shorts where there are ANSI-style function
7318 definitions.
7319
7320 * gdb.base/langs.exp, gdb.base/langs*: New test.
7321 * gdb.base/Makefile.in: Build it.
7322 * TODO: Remove item about checking that C names don't get C++
7323 demangling applied; this test tests it.
7324
7325Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7326
7327 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7328 went with the const70 xfail. The xfail went away a year ago.
7329
7330 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7331
7332 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7333 for hp300.
7334
7335 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7336
7337 * gdb.base/a1-selftest.exp: Don't run on hp300.
7338
7339Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7340
7341 * Makefile.in (site.exp): Set host_alias and target_alias as well
7342 as host_triplet and target_triplet.
7343
7344Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7345
7346 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7347
7348 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7349 places as other ecoff systems).
7350
7351 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7352 ultrix.
7353
7354Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7355
7356 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7357 remove them.
7358 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7359 variable and "variable" in addition to "data variable".
7360 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7361
7362 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7363 2.
7364 * gdb.base/list1.c (long_line): Add additional statement at start
7365 of function.
7366 * gdb.base/list.exp (test_forward_search): Update line number to
7367 reflect new statement.
7368
7369Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7370
7371 * gdb.base/signals.exp: Reinitialize searched source directories
7372 after gdb_start call.
7373
7374Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7375
7376 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7377 * gdb.stabs/Makefile.in: Likewise.
7378
7379 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7380 change. Instead split the tests into smaller pieces.
7381 * gdb.disasm/hppa.s: Corresponding changes.
7382
7383Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7384
7385 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7386 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7387
7388 * gdb.base/funcargs.exp: Modify many tests so that every test
7389 either passes or fails. Make some test names unique.
7390
7391Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7392
7393 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7394 Call stty to set interrupt character.
7395
7396 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7397 for HP assembler versus GNU assembler based on actual behavior of
7398 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7399
7400 * TODO: Suggest a few more stepping tests.
7401
7402Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7403
7404 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7405 restart GDB for h8300 after a continue.
7406 (return): Add pattern to match a29k-udi behavior.
7407 * gdb.base/nodebug.exp: Remove obsolete comment.
7408 * gdb.base/regs.exp: New file, testing of register displays.
7409 * gdb.base/return.exp: Fix typo in reference to $objdir.
7410 * gdb.base/whatis.exp: Always start with a fresh GDB.
7411
7412Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7413
7414 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7415 higher, these tests generate a lot of output.
7416
7417Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7418
7419 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7420 code following the catch silently ignored some errors; without the
7421 catch they should be thrown like any other tcl error. Also, the
7422 catch used "" instead of {} which meant all the callers who wanted
7423 to include one of the characters "[]$ had to quote it an extra time.
7424 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7425 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7426 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7427 Remove extra quoting.
7428
7429Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7430
7431 * gdb.base/commands.exp: Make test names unique; every test either
7432 passes or fails. Update some comments.
7433
7434 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7435
7436Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7437
7438 The following fixes a FAIL caused by the fact that the alpha stabs
7439 configuration didn't use the ".if alpha" code in weird.def.
7440 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7441 bit pointer, so the 32 bit version works even on the alpha.
7442 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7443 Remove the stuff which allowed us to have separate versions for
7444 alpha and everything else.
7445
7446 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7447 regexp which "info func operator\[\](" is supposed to match. Fix
7448 string to send to GDB. Note that GDB still doesn't work right. Add a
7449 new test for "info func .perator\[\](" which GDB does handle correctly.
7450
7451 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7452
7453Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7454
7455 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7456 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7457 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7458 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7459 it makes the tests harder to understand and confuses test-o-matic.
7460 The preferred style is that each test provides a PASS or a FAIL,
7461 and has a unique message (e.g. "continue #54" not just "continue")
7462 which is the same for the pass and the fail.
7463 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7464 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7465 to lib/gdb.exp.
7466 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7467 prt_accept which was basically the same thing. Likewise for
7468 test_print_reject and prt_reject.
7469 * lib/gdb.exp (test_print_reject): Add some more error message
7470 patterns to match from the former printcmds.exp (prt_reject).
7471 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7472 One defect of the passcount stuff is that some of it failed to
7473 report XPASS where appropriate.
7474 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7475 stuff before and after arg in expected pattern.
7476 (test_paddr_operator_functions): Re-do test without print_addr_of;
7477 this is the only test which seems to want extra stuff there.
7478
7479Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7480
7481 * gdb.base/nodebug.exp: Update new tests to reflect improved
7482 wording of gdb output.
7483
7484 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7485 and "ptype" work on variables in files compiled without -g.
7486 Replaces commented out "maint print msymbol" tests.
7487
7488Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7489
7490 * gdb.base/setvar.c (dummy): Call malloc.
7491
7492 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7493 losing with the irix4 sed.
7494
7495 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7496 ALRM" on irix4.
7497
7498Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7499
7500 * TODO: Remove items about corefile.exp testing new exec-file and
7501 backtrace; both are now done. Add items about printing enums.
7502
7503Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7504
7505 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7506 "get signal $thissig" test fails.
7507
7508 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7509
7510Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7511
7512 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7513 compiler warning with dec alpha compiler.
7514
7515 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7516 extra \n from gdb_test call (this explains why the prompt test
7517 that I removed yesterday was there).
7518 (user_defined_command_test): Remove extra \n and prompt test.
7519
7520 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7521 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7522 doesn't exist.
7523 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7524 Also remove alpha workaround, which turns out to be because
7525 SIGABRT == SIGLOST.
7526
7527 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7528
7529 * gdb.base/help.exp: Don't test "help show".
7530
7531Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7532
7533 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7534 "set print address" is on.
7535 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7536 pass prompt to gdb_test; gdb_test already looks for the prompt.
7537
7538 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7539
7540 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7541 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7542 was to make sure that gdb can read a core file. But (a) the "read
7543 the corefile" part didn't make it to a1-selftest.exp, we just
7544 delete the corefile after creating it, and (b) we test reading
7545 corefiles in corefile.exp anyway. Also, this test left around a
7546 xgdb process on Solaris.
7547
7548 * gdb.base/corefile.exp: Also test backtrace.
7549
7550Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
7551
7552 * gdb.base/commands.exp: Test a simple user defined command with
7553 arguments and if/while statements; verify the full user command is
7554 printed by "show user".
7555
7556 * gdb.base/commands.exp: Test if/while commands as part of a
7557 breakpoint command list; verify they appear in breakpoint
7558 information.
7559
7560Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7561
7562 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
7563 than by dividing by zero.
7564
7565Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
7566
7567 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
7568 performing an inferior call with watchpoints enabled.
7569 * gdb.base/watchpoint.c (main): Delete second unnecessary read
7570 call.
7571
7572Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7573
7574 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
7575 of "file" command.
7576
7577 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
7578 Add additional pattern for when "int operator int(void);" appears
7579 in a different order.
7580
7581Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7582
7583 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
7584
7585 * gdb.base/help.exp: Replace most of docstrings for "info signals"
7586 and "signal" with ".*".
7587
7588Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7589
7590 * TODO: Add note about "handle all nostop".
7591
7592 * gdb.base/{sigall.c, sigall.exp}: New test.
7593 * gdb.base/Makefile.in: Add it.
7594
7595Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
7596
7597 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
7598 when invoking GDB, suppresses any windowing interface.
7599
7600Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
7601
7602 * config/sim-gdb: New file, simulator testing support.
7603
7604Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
7605
7606 * gdb.base/interrupt.exp: Test calling func1 twice.
7607
7608Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
7609
7610 * gdb.base/list.exp (test_forward_search): Set timeout higher
7611 when we'll be getting lots of output from gdb.
7612
7613 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
7614 "init_malloc" to after the expect statement. Run it if that
7615 regexp is taken, but also for two others which happen if source
7616 cannot be found.
7617
7618Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7619
7620 * gdb.base/printcmds.exp: New test, for printing register before
7621 program is running.
7622
7623Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7624
7625 * gdb.base/list.exp: Correct some alternate expect patterns
7626 to reflect changes in list1.c.
7627
7628Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7629
7630 * TODO: Add item regarding large frames.
7631
7632 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
7633
7634 * TODO: Remove item about enabling return.exp; it
7635 is enabled. Suggest a few more "return" tests.
7636
7637Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7638
7639 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
7640 anonymous unions.
7641
7642Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7643
7644 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
7645 and pr-5646.o, so "make" is the same as "make all", not "make
7646 pr-4975.o".
7647
7648Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
7649
7650 * gdb.base/list.exp: Adjust expectations to reflect changes in
7651 list1.c.
7652 (test_forward_search): New test proc.
7653 * gdb.base/list1.c (long_line): New function, has long source line.
7654
7655Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
7656
7657 * gdb.base/a1-selftest.exp: Change initial stepping to know about
7658 additional line of code that was added.
7659
7660Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
7661
7662 * gdb.disasm/hppa.s: Break the large branching tests into smaller
7663 tests so as not to overflow expect's input buffers.
7664 * gdb.disasm/hppa.exp: Corresponding changes.
7665
7666Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7667
7668 Beginnings of template debugging tests.
7669 * gdb.c++/templ-info.cc: New file to test for template
7670 debugging capability of the compiler.
7671 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
7672 templ-info.cc.
7673 * gdb.c++/templates.cc: Add explicit template instantiations
7674 to enable compiling with -fno-implicit-templates. Add destructor
7675 and 'value' method to T5 class for template tests.
7676 * gdb.c++/templates.exp: Add testcases for printing of template
7677 types, setting breakpoints on template methods and calling a
beb998c6 7678 template method.
c906108c
SS
7679
7680Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
7681
7682 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
7683 branch target since some assemblers (gas-2.5) may emit a
7684 relocation for the branch instead of resolving it in the
7685 assembler.
7686
7687Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7688
7689 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
7690 through signal handler.
7691
7692Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7693
7694 * configure.in (*-*-netware): Use config/mt-netware.
7695
7696 * config/mt-netware: New file.
7697 * config/mt-i386-netware: Removed, separate configs for different
7698 netware architectures are no longer needed now that we have
7699 --with-headers.
7700
7701Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7702
7703 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
7704 by the recent changes to use ANSI C arithmetic conversions.
7705
7706Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7707
7708 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
7709 bug involving using inferior_pid to figure out whether to select a
7710 frame.
7711
7712Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
7713
7714 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
7715 match the current disassembler output.
7716
7717Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
7718
7719 * gdb.fortran/exprs.exp: Expect VOID instead of void.
7720 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
7721 types, expect "int" as type of integer values (for now).
7722
7723Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
7724
7725 * gdb.base/commands.exp: New tests for if/while commands.
7726
7727Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
7728
7729 * lib/gdb.exp (runto): Replace sub-pattern for hex value
7730 by .*, since hex values have different syntax in Chill mode.
7731
7732Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7733
7734 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
7735 linefeed from expect pattern for repeated types with indices > 9.
7736
7737Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
7738
7739 First part of Fortran test suite.
7740 * gdb.fortran: New directory.
7741 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
7742
7743Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7744
7745 * gdb.base/default.exp: Update expect pattern for load command
7746 without arguments.
7747
7748Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7749
7750 * configure.in: Change i386 to i[345]86.
7751 * gdb.base/configure.in: Likewise.
7752 * gdb.c++/configure.in: Likewise.
7753 * gdb.chill/configure.in: Likewise.
7754
7755Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
7756
7757 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
7758 patterns, since that is not a valid context for comments.
7759
7760Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
7761
7762 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
7763 repeated types and repeated types with indices > 9.
7764
7765Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
7766
7767 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
7768 2417; old bug has been fixed.
7769
7770Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
7771
7772 * gdb.base/interrupt.exp: When trying to wake up the inferior,
7773 send the newline ourselves instead of assuming gdb_test will do
7774 so when passed an empty input string.
7775
7776 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
7777 stabs testcode.
7778
7779Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7780
7781 * lib/gdb.exp (gdb_test): Don't send anything if the first
7782 argument is an empty string. This makes cases where we want to
7783 match output that is already in expect's buffers (for example,
7784 matching a breakpoint after gdb_run_cmd has been called) work
7785 reliably.
7786
7787Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7788
7789 * config/netware.exp: New file.
7790
7791Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7792
7793 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
7794 the -B and -L prefixes so we can find the debugging stub.
7795
7796 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
7797 there and we are using the gcc from the tree.
7798
7799 * gdb.base/types.c: Removed.
7800
7801 * gdb.base/configure.in: Look for makefile fragments in ../config.
7802 Recognize i386-*-netware.
7803 * gdb.c++/configure.in: Likewise.
7804
7805Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7806
7807 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
7808 the correct TCL syntax.
7809
7810Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7811
7812 * gdb.base/opaque.exp: use runto instead of messing around with
7813 breakpoints. Simplify by using gdb_test.
7814
7815 * gdb.base/bitfields.exp: restart between tests on netware targets
7816 because breakpoints aren't relocated after target death. Run
7817 processes to completion.
7818
7819 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
7820
7821Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
7822
7823 * Makefile.in: Remove extra tabs that confuse some versions
7824 of "make". Use the newly built gdb to test with by default,
7825 rather than the first one in the tester's search path.
7826
7827Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
7828
7829 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
7830
7831 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
7832 condition help.
7833
7834Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7835
7836 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
7837
7838 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
7839 running.
7840 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
7841 * gdb.base/funcargs.exp: Likewise.
7842
7843 * gdb.base/bitfields.exp: Simplify by using gdb_test.
7844 * gdb.base/funcargs.exp: Likewise.
7845
7846 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
7847 message is "".
7848
7849Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7850
7851 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
7852 return,signals,twice}.exp: Handle non-existant binaries
7853 consistantly.
7854
7855 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
7856 * gdb.base/Makefile.in: Don't try to generate a core dump, we
7857 might testing a cross development system.
7858
7859Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7860
7861 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
7862 runtest script is relative to ${srcdir}, not ${rootdir}.
7863
7864Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
7865
7866 * gdb.base/signals.exp: Allow for optionality of breakpoint
7867 address.
7868
7869Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7870
7871 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
7872
7873Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7874
7875 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
7876 for size_t definition.
7877 * gdb.c++/templates.cc: Likewise
7878
7879 * config/mt-i386-netware: New file.
7880
7881 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
7882 defined.
7883
7884 * gdb.base/Makefile.in: Added support for systems that name core
7885 files by appending "core" to the program name.
7886 * gdb.base/a1-selftest.exp: Likewise.
7887
7888Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7889
7890 * gdb.base/return.exp: Add comment and message for `return double'
7891 test failure on Sparc Solaris.
7892
7893Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
7894
7895 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
7896
7897Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7898
7899 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
7900 from optimizing them away.
7901 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
7902 patterns to include default constructors and assignment operators,
7903 to match gcc versions beyond 2.5.8. Accept any cplus demangling
7904 character in the output of the virtual base pointer.
7905
7906Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7907
7908 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
7909 expression match in print_addr_of to avoid unintented matches.
7910 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
7911 versions up to 2.5.8.
7912
7913Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7914
7915 * gdb.base/list.exp: Tweak alternate pattern for listing of an
7916 included file to run under newer versions of expect.
7917 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
7918 consecutive >'s in templates to accomodate recent cplus-dem.c change.
7919 Remove xfail for the virtual table of BDDHookV.
7920
7921Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
7922
7923 * lib/gdb.exp (string_to_regexp): Set a default result.
7924 (default_gdb_start): Fix misleading message.
7925
7926Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
7927
7928 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
7929 Remove all CC, etc definitions.
7930 * config/mt-hpux: New file.
7931 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
7932 (CFLAGS, LDFLAGS): Define.
7933 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
7934
7935 * Makefile.in (site.exp): Don't insert host_os, etc.
7936 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
7937 (distclean): Check existence of subdir.
7938 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
7939 * gdb.base/Makefile.in: General cleanup and simplification.
7940 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7941 to build executables. Use default rule to build .o files.
7942 (EXPECT, RUNTEST, CC): Fix relative pathname.
7943 (site.exp): Don't insert host_os, etc.
7944 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
7945 and/or SIGUSR1 defined.
7946 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
7947 * gdb.c++/Makefile.in: General cleanup and simplification.
7948 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7949 (CFLAGS): Remove.
7950 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
7951
7952Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
7953
7954 * gdb.base/recurse.exp: Misc changes to get tests running again
7955 after Kung's changes to the watchpoint code.
7956 * gdb.base/watchpoint.exp: Likewise.
7957
7958Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
7959
7960 * lib/gdb.exp (string_to_regexp): Convert {\} also.
7961
7962Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
7963
7964 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
7965 * lib/gdb.exp (default_gdb_start): Define.
7966 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
7967 gdb.base/funcargs.exp, gdb.base/opaque.exp,
7968 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
7969 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
7970 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
7971 Don't call gdb_target_udi in between tests.
7972
7973Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7974
7975 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
7976 (which was basically just a local version of the same thing). In
7977 addition to avoiding duplication, gdb_test_exact is faster.
7978 * lib/gdb.exp (gdb_test_exact): Fix typo.
7979
7980 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
7981 don't give an error.
7982
7983 * gdb.base/term.exp: Call delete_breakpoints before starting.
7984
7985 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
7986 (t10): Add comment.
7987
7988Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
7989
7990 Reorganization of the GDB Test Suite.
7991
7992 * gdb.base: New directory, contains all the basic tests.
7993 * gdb.c++: New directory, tests specific to C++.
7994 * gdb.chill: New directory, tests specific to Chill.
7995 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
7996 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
7997 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
7998 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
7999 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8000 t30-31 to chill).
8001 * */gdbme.*: Rename to match appropriate expect scripts.
8002 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8003 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8004 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8005 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8006 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8007 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8008 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8009 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8010 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8011 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8012 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8013 gdb.c++/virtfunc.cc: New names of C++ files.
8014 * gdb.chill/chillvars.ch: New name of Chill file.
8015 * gdb.base/configure.in, gdb.c++/configure.in,
8016 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8017 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8018 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8019 * configure.in (configdirs): Update to reflect directory changes.
8020 (target_abbrev): No longer define for any configuration.
8021 * Makefile.in: Cosmetic improvements to header comments.
8022
8023Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8024
8025 Various changes to gdb.t31:
8026
8027 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8028 * gdbme.ch: Make all key-words and predefineds be upper-case.
8029 * chillvars.exp: Expect key-words and predefinds in upper-case.
8030
8031 * chillvars.exp: Use gdb_test_exact many places.
8032 Change expected output for arrays (which now includes index labels).
8033
8034 * pr-5020.exp, gdme.ch (module PR_5020):
8035 New test, for PR-5020.
8036
8037Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8038
8039 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8040 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8041
8042Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8043
8044 * Makefile.in: Fix bit-rot in definitions of CHILL,
8045 CHILL_FOR_TARGET and Chill_LIB.
8046 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8047 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8048 CHILL, and CHILL_LIB.
8049
8050Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8051
8052 * Revert the previous changes. Please see Rob's directory
8053 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8054
8055Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8056
8057 * Makefile.in, configure.in, config/mips-gdb.exp,
8058 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8059 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8060 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8061 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8062 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8063 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8064 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8065 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8066 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8067 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8068 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8069 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8070 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8071 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8072 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8073 changes from 94Q1.
8074
8075Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8076
8077 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8078 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8079 Rob's new testing fragments.
8080
8081Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8082
8083 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8084 lib/gdb.exp: Replace error proc calls with perror.
8085
8086Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8087
8088 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8089 version also, match on casted version strings, and match on
8090 gdb startup case where the line numbers might be messed up.
8091
8092Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8093
8094 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8095 (CFLAGS): Delete it from here.
8096
8097Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8098
8099 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8100
8101Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8102
8103 * Makefile.in (RUNTEST): Default to just "runtest".
8104
8105Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8106
8107 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8108 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8109 the code has been restructured.
8110
8111Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8112
8113 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8114 \n, not just one of each.
8115
8116 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8117 /bin/cc gives a warning if you do.
8118
8119Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8120
beb998c6 8121 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8122 __t10ListS_link1ZUiRCUiPT0
8123
8124Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8125
8126 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8127 on local variables in recursive functions.
8128
8129 * gdb.t07/Makefile.in: Build the new test.
8130
8131Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8132
8133 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8134 directly. Instead compare the return values from actual calls.
8135
8136Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8137
8138 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8139
8140Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8141
8142 * From Peter Schauer with minor modifications.
8143 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8144 stops in mid-line in the caller. Add xfail for returning a float
8145 value on X86 targets.
8146
8147Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8148
8149 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8150 to avoid expect lossage.
8151 (fmem_LRbug_tests): Likewise.
8152 * gdb.disasm/hppa.s: Corresponding changes.
8153
8154 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8155 conditions to work with latest dejagnu/expect.
8156
8157 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8158 expected to fail on the PA.
8159 (backtrace in call with trampolines): Explicitly require main
8160 to be frame #1 (no trampolines should show up in backtrace).
8161
8162 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8163 "continue -expect".
8164 * gdb.t06/break.exp: Likewise.
8165 * gdb.t07/watchpoint.exp: Likewise.
8166 * gdb.t13/bitfields.exp: Likewise.
8167 * gdb.t15/{funcargs,return}.exp: Likewise.
8168 * gdb.stabs/weird.exp: Likewise.
8169 * config/{mips,udi}-gdb.exp: Likewise.
8170
8171 * hppa.sed: Enclose comments within a sed command to avoid
8172 losing with the old OSF1 sed.
8173
8174Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8175
8176 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8177 sequent dynix.
8178 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8179 * gdb.t15/funcargs.exp: Conditionally step again to really
8180 finish from marker_call_with_trampolines. Handle the case where
8181 the first step from within call_with_trampolines already steps
8182 us back to main.
8183 * gdb.t15/gdbme.c: Add comment to closing brace of
8184 call_with_trampolines for funcargs.exp.
8185
8186Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8187
beb998c6 8188 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8189 Fix typo(s).
8190
8191Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8192
8193 * gdb.t07/gdbme.c: More code for watchpoint testing.
8194
8195 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8196 "Hardware watchpoint" throughout file.
8197 (test_watchpoint_triggered_in_syscall): New test.
8198 (test_complex_watchpoint): New test.
8199
8200Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8201
8202 * gdbme.c (call_with_trampolines): New function to try and step
8203 into. Tests trampoline problems on the PA.
8204
8205 * funcargs.exp (localvars_in_indirect_call): No longer expect
8206 stepping into indirect call to fail on PAs.
8207 (test_stepping_over_trampolines): New test.
8208
8209Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8210
8211 * TODO: Add suggestions for static member function tests, and
8212 completion tests.
8213
8214Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8215
8216 * TODO: Add suggestions for "p/a" tests.
8217
8218 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8219 (default_gdb_exit): Replace all the hair with sending "quit" to
8220 the process with a simple close.
8221
8222Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8223
8224 * TODO: Add suggestions for shared library tests.
8225
8226Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8227
8228 * TODO: Add suggestions for x/s tests.
8229
8230Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8231
8232 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8233 "enable once", and "enable breakpoints once" with ".*".
8234
8235Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8236
8237 * TODO: Add suggestions about structure passing tests.
8238
8239Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8240
8241 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8242 the primary1 test, use work around if __GNUC__ < 2.
8243 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8244 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8245 Test for bad output rather than waiting for timeout. Issue
8246 second continue only if first continue failed.
8247
8248Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8249
8250 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8251 operator[] test with gdb_test because the old code didn't seem to
8252 be getting the quoting right with the new dejagnu.
8253
8254Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8255
8256 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8257 one from the path.
8258 * Makefile.in: Use a fresh expect if there is one, use runtest
8259 from the src tree if there is one.
beb998c6 8260
c906108c
SS
8261Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8262
8263 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8264 next over recursive call. Revise the tests from that point on
8265 (which had been skipped) to match GDB's actual (correct) output.
8266
8267 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8268 with next over a breakpoint whose condition is false.
8269
8270 * gdb.t00/help.exp: Comment out "help set print" tests just like
8271 (and for same reason as) "help set" test.
8272
8273Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8274
8275 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8276 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8277
8278Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8279
8280 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8281 necessary gdb_target_udi.
8282
8283 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8284
8285 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8286 1838 and 2417; they are fixed.
8287
8288 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8289 gdb.t03/ptype.exp (ptype structure, ptype union):
8290 Remove xfails; the test is looser than when the xfails were added.
8291
8292 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8293 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8294
8295 * gdb.t01/run.exp: Only run shell test if isnative.
8296
8297 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8298 since "run" automatically loads if necessary. Call gdb_target_udi
8299 after the "file" since "file" kills any execution target.
8300
8301 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8302 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8303 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8304 argument for UDI.
8305
8306Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8307
8308 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8309
8310 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8311
8312Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8313
8314 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8315 properly quoting regexps. This makes the second argument to
8316 demangle a fixed string, which matches the callers, instead of a
8317 shell-style pattern which is what the previous implementation
8318 used. Update some of the callers.
8319
8320Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8321
8322 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8323 (comib_nullified_tests): Fix typo.
8324 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8325 strings. No longer expected to fail.
8326
8327 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8328 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8329 strings. No longer expected to fail.
8330
8331 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8332 string. No longer expected to fail.
8333
8334Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8335
8336 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8337 No longer expected to fail.
8338
8339 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8340 string. No longer expected to fail.
8341
8342Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8343
8344 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8345 only in the names (I probably got most of them). I was even
8346 generous with some which differed in underscores in names, and
8347 probably missed a few, and I *still* was able to remove almost a
8348 third of the file with almost no impact on testsuite coverage.
8349
8350Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8351
8352 * gdb.t00/default.exp: Match udi_attach error message as well as
8353 the one from child_attach.
8354
8355 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8356
8357 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8358
8359 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8360 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8361
8362 * Move test with enums and partial symbols back to
8363 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8364 Reverts the change of 26 May 93. Per today's change to
8365 stabs.texinfo, the behavior that weird.exp was expecting was
8366 unreasonable; what is important is that the compiler+gdb get
8367 things right, which happens with a recent gcc. Also fix the test
8368 to deal with native compilers which put out the stab gdb can't
8369 deal with.
8370
8371Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8372
8373 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8374 in the names. The main thing these accomplish is to slow things down.
8375 Many more such duplicates surely remain.
8376
8377 * gdb.t00/help.exp: Comment out "help support" test just like
8378 (and for same reason as) "help set" test.
8379
8380Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8381
8382 * gdb.t06/break.exp: Remove setup_xfails for
8383 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8384 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8385 about known bug in gcc to include up through 2.5.8.
8386 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8387 well as "_vb$".
8388 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8389 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8390 with latest gcc and gdb.
8391 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8392 well as "_vb$".
8393
8394Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8395
8396 * configure.in (hppa*-*-*): Also configure and build stabs-only
8397 tests.
8398
8399Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8400
8401 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8402 * gdb.t10/configure.in (hppa*-*-*): Use it.
8403
8404Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8405
8406 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8407
8408Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8409
8410 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8411 versions prior to 1.13.5.
8412
8413Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8414
8415 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8416 the prompt is at the start of a line.
8417
8418Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8419
8420 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8421 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8422 in the copr tests now.
8423 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8424 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8425 expected to fail.
8426
8427Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8428
8429 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8430 gdb.t31/chillvars.exp, lib/gdb.exp:
8431 Tweak to run under either version of expect.
8432 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8433 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8434 * gdb.t11/list.exp: Remove extraneous whitespace.
8435
8436Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8437
8438 * gdb.t16/printcmds.exp (test_print_strings): Accept
8439 "(unsigned char *) " before the string.
8440
8441 * TODO: Add notes about printing of fancy types and GDB expressions.
8442
8443Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8444
8445 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8446 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8447 if doing mips-idt-ecoff.
c906108c
SS
8448
8449Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8450
8451 * Most .exp files: Tweak to run under either version of expect.
8452
8453Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8454
8455 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8456 xfails; I'm not sure why they are failing, but not because of PR 1806.
8457
8458Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8459
8460 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8461 defined in lib/gdb.exp.
8462
8463Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8464
8465 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8466 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8467 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8468 have to be typeless.
8469
8470Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8471
8472 * TODO: Add suggestion for copyright year test.
8473
8474Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8475
8476 * configure.in (*-*-lynxos*): Add stabs tests.
8477
8478Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8479
8480 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8481 so insert a tab before any assembler directive in column zero.
8482
8483 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8484 stores.
8485 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8486 stores.
8487 (fpu_short_memory_tests): Likewise.
8488
8489Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8490
8491 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8492 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8493 .stabs directives in comments.
8494
8495Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8496
8497 * TODO: New file, describing tests we could write.
8498 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8499
8500Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8501
8502 * gdb.t06/signals.exp: Add kludge to force re-sync.
8503
8504 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8505 to xgdb instead of gdb, get out of gdb.
8506
8507Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8508
8509 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8510 for info.
8511
8512Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8513
8514 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8515 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8516 * gdb.stabs/hppa.sed: New sed script for the PA.
8517
8518Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8519
8520 * gdb.stabs: Re-write weird.def and configuration to use sed
8521 instead of cpp. sed is portable and POSIX; cpp is neither.
8522
8523Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8524
8525 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8526
8527Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8528
8529 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8530
8531Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8532
8533 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8534 "_vb$".
8535 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8536 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8537
8538Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8539
8540 * lib/gdb.exp: Comment out code which depends on non-existent
8541 `transform' procedure.
8542
8543Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8544
8545 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8546 * lib/gdb.exp: Transform tool name.
8547 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8548 1.1's new error handling system.
8549
8550Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8551
8552 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
8553
8554Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8555
8556 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
8557 They made pattern matching so slow that timeouts happened on
8558 heavily loaded systems. Now any output from "show print" which
8559 gets us back to the GDB prompt is a PASS.
8560
8561Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
8562
8563 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
8564
8565Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8566
8567 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
8568
8569 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
8570 It is not from PR 3220.
8571
8572Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8573
8574 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
8575 just started failing because they depended on the order the
8576 subcommands are presented, or exact docstring text. This kind of
8577 test is a pain and has minimal benefit.
8578
8579Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8580
8581 * gdb.t09/corefile.exp: At end of test, use "core" command with
8582 no arguments.
8583
8584Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
8585
8586 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
8587 17}/Makefile.in: Make it possible to run the testsuite with Sun
8588 make and CC = cross gcc by adding explicit build rules for .o
8589 files.
8590
8591Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8592
8593 * gdb.t15/funcargs.exp: Don't put comments on same line as
8594 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 8595
c906108c
SS
8596Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8597
8598 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
8599
8600Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
8601
8602 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
8603 * gdb.t20/inherit.exp: remove three dumplicate entries.
8604
8605Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8606
8607 * gdb.t06/break.exp: For "next over recursive call", fail on any
8608 incorrect output, not just on "factorial (value=2)".
8609
8610Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8611
8612 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
8613 working now. Add an xfail if accesing a bss variable causes
8614 a memory error if the target is not yet run.
8615
8616Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8617
8618 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
8619 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
8620 name of __st* demangling (2 strings). Did Kung really get the
8621 more than 95 others right without testing them?
8622
8623Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
8624
8625 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
8626
8627Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
8628
8629 * configure.in (configdirs): Add gdb.disasm
8630 * gdb.disasm: New directory for GDB disassembler tests.
8631 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
8632
8633Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8634
8635 * gdb.t00/help.exp: Don't test "help set".
8636
8637 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
8638 from within expect statements. None of these happen anymore and
8639 they cause regressions to be silently unnoticed.
8640
8641 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
8642 messages) about known failures with gcc cygnus-2.4.5-930417.
8643
8644 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
8645 comp-info.exp so it gets built if it doesn't exist.
8646
8647 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
8648 it is no longer used.
8649 * gdb.t13/comp-info.c: Removed.
8650
8651Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8652
8653 * gdb.t06/signals.exp: Add xfail for sun3.
8654
8655Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8656
8657 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
8658 relevant because ^C doesn't get sent but failure can be reproduced
8659 interactively).
8660
8661Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8662
8663 * gdb.stabs/alpha.mt: New configuration file for alpha.
8664 * gdb.stabs/configure.in: Use it.
8665 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
8666 sharing with alpha.mt, redefine long to word via preprocessor.
8667 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
8668 for alpha.
8669 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
8670 native cc.
8671 * gdb.t00/teststrategy.exp: Change expect string so that we
8672 consume the `(xgdb)' from the command echo and from the gdb prompt.
8673 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
8674 gdb currently compares all values as long, so this failure probably
8675 applies to any configuration where LONGEST is bigger than a target int.
8676 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
8677 with gcc.
8678 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
8679 to handle opaque pointers, gcc is.
8680 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
8681 as first argument. Include <sys/types.h> and change all operator
8682 new definitions to use size_t.
8683 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
8684 now that we use size_t.
8685
8686Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8687
8688 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
8689 a long or float array cast all array members to the same type.
8690 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
8691 with 64 bit longs.
8692 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
8693 on alpha.
8694 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
8695
8696Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8697
8698 * gdb.t24 (demangle.exp): Constructors of templates have names like
8699 vector<int>::vector(int) not vector<int>::vector<int>(int). See
8700 section 14.6 of the ARM.
8701
8702 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
8703 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
8704 accomplish little and slow down the testsuite.
8705
8706 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
8707 Accept spaces various places.
8708
8709Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8710
8711 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
8712 with watchpoint enabled.
8713
8714 * Makefile.in: Remove definition of CC and remove the second
8715 definition of CXX (the "CXX = gcc" one remains). These definitions
8716 were causing backquotes to be expanded within backquotes, which
8717 doesn't work.
8718
8719Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
8720
8721 * gdb.t17/callfuncs.exp: Add "return 0" to end.
8722
8723Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8724
8725 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
8726 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
8727 by mips cc and contains no stabs entries.
8728
8729Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
8730
8731 * config/vx-gdb.exp: Use fake device to load files rather than
8732 NFS.
8733 * lib/gdb.exp: New proc to do "file" command.
8734 * config/unix-gdb.exp: Use new "file" proc.
8735
8736Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8737
8738 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
8739 Rework board rebooting slightly.
8740 (gdb_exit): Don't exit from the remote shell; there isn't one.
8741 * gdb.stabs/weird.exp: If a program is being debugged already,
8742 kill it.
8743 * gdb.t04/setvar.exp: Stop and restart gdb.
8744 * gdb.t05/expr.exp: Likewise.
8745 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
8746 restart gdb and reload the program.
8747 * gdb.t08/opaque.exp: Likewise.
8748 * gdb.t12/scope.exp: Likewise.
8749 * gdb.t13/bitfields.exp: Likewise.
8750 * gdb.t15/funcargs.exp: Likewise.
8751 * gdb.t20/classes.exp: Likewise.
8752 * gdb.t03/ptype.exp: Increase timeout.
8753 * gdb.t16/printcmds.exp (test_print_string_constants,
8754 test_print_array_constants): Likewise.
8755 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
8756 * gdb.t20/classes.exp (do_tests): Likewise.
8757 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
8758
8759Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
8760
8761 * gdb.stabs: Renamed *wierd* to *weird*.
8762
8763Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8764
8765 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
8766 for timeout. Add "known gcc 2.4.5 bug" to failure message.
8767
8768Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8769
8770 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
8771 (do_tests): Remove xfail for whatis on one_var and two_var.
8772
8773Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
8774
8775 * Makefile.in: Made cross building work better by adding
8776 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
8777
8778Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8779
8780 * gdb.t15/{return.c,return.exp,Makefile.in}:
8781 New test, currently commented out.
8782
8783Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
8784
8785 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
8786 still running and removes the leftover named socket so GDb can do
8787 clean restarts.
8788
8789Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
8790
8791 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
8792 console, not GDB.
8793 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
8794 cross testing works better with "make check"
8795 * config/unix-gdb: Use default procedures for exit and version.
8796 * config/vx-gdb.exp: Cleaned up and massaged back to working order
8797 with the newest VxWorks.
8798
8799Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8800
8801 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
8802 old form.
8803
8804 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
8805 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
8806
8807 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
8808
8809 * config/unix-gdb.exp: Remove this version of gdb_exit
8810 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
8811 Rob says he'll look at it when he gets back to testing boards.
8812
8813Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
8814
8815 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
8816 an expected fail for certain ptype commands.
8817
8818 * gdb.t20/classes.exp: Update expected results of "ptype class
8819 Base1" to account for the constructor that now appears in the type.
8820
8821Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
8822
8823 * configure.in (configdirs): Restore gdb.t04, which mysteriously
8824 disappeared from list.
8825 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
8826 "alldone" proc with call to cleanup and exit.
8827 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
8828 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
8829 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
8830 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
8831 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
8832 "alldone" proc with simple returns that suppress remaining
8833 tests. The alldone proc went away many months ago.
8834
8835Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8836
8837 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
8838
8839 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
8840
8841Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8842
8843 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
8844 as vax gdb will display them.
8845
8846Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8847
8848 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
8849 optimizers.
8850
8851 * scope.exp: Change "bad value for localval" messages so each one
8852 is unique.
8853
8854 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
8855 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
8856
8857 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
8858
8859Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8860
8861 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
8862 doesn't exist (due to optimization).
8863
8864Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8865
8866 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
8867 contains \r because the filename is long.
8868
8869 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
8870 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
8871
8872Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8873
8874 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
8875 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
8876 Ultrix.
8877 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
8878 int tests.
8879 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
8880
8881Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
8882
8883 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
8884
8885 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 8886 to match does not match the passing case but still matches the
c906108c
SS
8887 failing case.
8888
8889Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8890
8891 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
8892
8893Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
8894
8895 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
8896 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
8897 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
8898 Remove various versions of gdb_exit.
8899 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
8900 gdb_exit.
8901 * config/unix-gdb.exp: gdb_exit remains here, and should override
8902 the generic version, since it's doing a lot of wierd stuff that
8903 the other versions aren't. FIXME, fold it in, or abandon this
8904 version.
8905
8906Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8907
8908 * gdb.t24/demangle.exp: Add tests for PR 3220.
8909
8910Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8911
8912 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
8913
8914Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
8915
8916 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
8917 "i386-*-*". Works for i486 as well.
8918
8919 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
8920 bug, and expand domain of xfail to all SVR4 systems, since the
8921 actual problem is likely to be in generic SVR4 /proc support.
8922
8923Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8924
8925 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
8926
8927Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
8928
8929 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
8930 xfails for other systems. Match a missing 'Continuing.' as an
8931 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
8932
8933 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
8934 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
8935 Only issue warning for missing executables if -all option is used.
8936
8937 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
8938 file if -all option is used. It's like an unpredictable XFAIL.
8939
8940Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8941
8942 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
8943 for dynamically linked binaries.
8944
8945 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
8946
8947Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8948
8949 * gdb.t20/inherit.exp: Change message for "print tagless struct"
8950 to state that this is a known bug in old versions of g++.
8951
8952Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8953
8954 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
8955 while waiting for `Continuing'.
8956
8957Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
8958
8959 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
8960 in text, data, and bss.
8961 * gdb.t10/nodebug.c: Add local and global test variables for
8962 initialized and uninitialized data.
8963
8964Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8965
8966 * config/unix-gdb.exp (gdb_exit): Add "wait".
8967
8968Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8969
8970 * gdb.t06/signals.exp: xfail the continue from the handler for all
8971 targets.
8972
8973 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
8974 function with watchpoints enabled, the i386 call dummy starts with
8975 a call.
8976
8977 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
8978 386 bsd names its corefiles.
8979
8980Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
8981
8982 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
8983 compilers don't grok it.
8984 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
8985 with small octal ints rather than character constants, which
8986 are signed and might not fit if first promoted to int.
8987
8988Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
8989
8990 * gdb.t09/Makefile.in (clean): Remove corefile.
8991
8992Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8993
8994 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
8995
8996Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8997 and Jim Kingdon (kingdon@cygnus.com)
8998
8999 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9000 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9001 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9002
9003Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9004
9005 * gdb.t17/interrupt.exp: Add xfail for hppa.
9006
9007Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9008
9009 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9010 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9011 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9012 to determine signed-ness of bitfields and use the result to setup
9013 the xfail.
9014 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9015 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9016 call line is reached if necessary.
9017
9018Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9019
9020 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9021
9022Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9023
9024 * gdb.t06/break.exp: Also test `clear' command.
9025
9026Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9027
9028 * gdb.t00/teststrategy.exp: Remove extra quote.
9029
9030 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9031 watchpoint enabled to be for all non-68k machines.
9032
9033 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9034
9035Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9036
9037 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9038 targets use aout.mt instead of ecoff.mt as gas understands
9039 standard aout format.
9040
9041Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9042
9043 * lib/gdb.exp (runto): Don't insist that function we are running to
9044 was compiled with -g.
9045
9046 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9047
9048 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9049 to get back into the read system call.
9050 Accept leading newline in case where we woke it up.
9051
9052Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9053
9054 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9055 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9056 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9057 enable ecoff configuration.
9058
9059Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9060
9061 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9062
9063Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9064
9065 * gdb.t16/printcmds.exp: Add another printf test.
9066
9067Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9068
9069 * configure.in: If configured -with-stabs on any target, add
9070 stabsdirs to configdirs.
9071
9072Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9073
9074 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9075 fun" so pattern does not match the command itself.
9076
9077Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9078
9079 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9080
9081Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9082
9083 * gdb.t17/interrupt.exp: Test for more things.
9084
9085Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9086
9087 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9088 compiler arranges the code and line numbers.
9089
9090 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9091
9092Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9093
9094 * gdb.t00/help.exp: Increase expect input buffer size.
9095
9096Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9097
9098 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9099
9100 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9101
9102 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9103
9104 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9105 [0-9]*, not just [0-9].
9106
9107Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9108
9109 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9110
9111 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9112
9113Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9114
9115 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9116
9117Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9118
9119 * gdb.t06/signals.c: Add xfails for sun3.
9120
9121 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9122
9123 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9124 test_stepping tests.
9125
9126Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9127
9128 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9129
9130 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9131
9132 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9133 rather than actually putting it through cpp twice.
9134
9135 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9136
9137Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9138
9139 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9140 no longer needed.
9141
9142Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9143
9144 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9145
9146 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9147 C++ features prints as "struct", make it a pass, not an xfail.
9148
9149Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9150
9151 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9152 Don't require VA to print as "class" rather than "struct".
9153
9154Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9155
9156 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9157
9158Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9159
9160 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9161
9162Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9163
9164 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9165 order.
9166
9167Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9168
9169 * gdb.t16/printcmds.exp: Add printf tests.
9170
9171 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9172
9173 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9174
9175Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9176
9177 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9178 pass counts, to counteract any existing or future setup_xfails.
9179
9180Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9181
9182 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9183 {BEGIN,END}_COMMON for common block instead of STAB.
9184 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9185
9186 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9187 intp_var should be N_GSYM not N_LSYM.
9188 wierd-aout.S: Use a label for the value of the N_SO.
9189 wierd.def: Remove all backslashes.
9190 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9191
9192Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9193
9194 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9195 get the expected next to inheritance3.
9196
9197Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9198
9199 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9200 now that gcc-2.4 gets it right.
9201
9202Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9203
9204 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9205
9206 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9207 generating comp-info.exp which works for cross-compilation.
9208
9209Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9210
9211 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9212 "*-*-sysv4.*".
9213
9214Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9215
9216 * gdb.t01/run.exp: Start with a fresh gdb.
9217 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9218 SVR4.x.
9219
9220Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9221
9222 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9223 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9224 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9225 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9226 things to remove.
9227
9228Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9229
9230 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9231 test cases from bug reports.
9232
9233Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9234
9235 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9236 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9237 avoid spurious xfails.
9238 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9239 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9240 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9241
9242Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9243
9244 * gdb.t00/teststrategy.exp: Rework to provide more useful
9245 description of each test, fix problem with systems that define
9246 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9247 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9248 results for "next over recursive call" so timeouts aren't taken
9249 by error.
9250
9251Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9252
9253 * gdb.t12/scope.exp: Test printing of variables before run.
9254
9255 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9256 printed in wrong order due to sorting.
9257
9258Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9259
9260 * gdb.t00/teststrategy.exp: Fix expected results for printing
9261 user entered string constant. Is array of char, prints with no
9262 address.
9263
9264 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9265 commands.
9266 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9267 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9268 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9269 of struct of char arrays.
9270 * gdb.t00/radix.exp: New tests for radix commands.
9271
9272Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9273
9274 * gdb.t16/printcmd.exp: Print a variable before running program
9275 (with xfail for AIX).
9276
9277Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9278
9279 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9280
9281 * gdb.t16/printcmd.exp: Don't print variables before running program.
9282
9283 * gdb.t06/break.exp: Don't require envp argument to main.
9284
9285 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9286
9287 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9288 Add xfails for rs6000.
9289
9290 * gdb.t02/whatis.exp: Change other tests not to re-test something
9291 we already tested.
9292
9293 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9294 each type used has a variable of that type.
9295
9296Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9297
9298 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9299
9300Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9301
9302 * configure.in: change srctrigger to be a file, not a directory
9303
9304Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9305
9306 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9307
9308 * gdb.t11/list.exp: Fixed a couple of typos.
9309
9310Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9311
9312 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9313 is fixed and PR is closed.
9314 * gdb.t16 (gdbme.c): Add simple test string variable.
9315 * gdb.t16 (printcmds.exp): Add tests with simple test string
9316 variable, primarily for boundaries on "set print elements".
9317
9318Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9319
9320 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9321 Make leading 0's optional and don't expect a tab in the middle
9322 of the number.
9323
9324 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9325
9326 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9327 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9328 don't end command passed to gdb_test with newline.
9329
9330 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9331 signed keyword away, don't expect signed bitfields to be signed.
9332
9333 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9334 printing with only as many 1's as are in the field as well as printing
9335 with 32 1's (see comment).
9336
9337Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9338
9339 * gdb.t00/default.exp: Start with a fresh gdb.
9340 * configure.in (configdirs): Remove gdb.t31 until the chill
9341 compiler works again. It no longer is able to find chillrt0
9342 since it isn't in libchill.a anymore.
9343 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9344 wierd.o, make more modular.
9345 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9346 spurious newlines that caused problems.
9347
9348Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9349
9350 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9351 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9352 gdb.stabs/wierd.{exp,def}: Many new tests.
9353
9354 * gdb.t00/default.exp: update info line for new message.
9355
9356 * gdb.t02/{whatis.exp,gdbme.c}:
9357 Test that "char *" doesn't print as "caddr_t".
9358
9359Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9360
9361 * gdb.t00/help.exp: Use .* in place of some help messages which
9362 just changed.
9363 gdb.t00/default.exp: Update "info frame" test for new message.
9364 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9365 Remove some xfails
9366
9367Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9368
9369 * gdb.t03/{gdbme.c,ptype.exp}:
9370 Add tests for typedef'd struct and union without tags.
9371 Also check "whatis" on a variable of a typedef'd enum without a tag.
9372
9373 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9374 PRMS 1823; the bug still exists but isn't reproduced by this test
9375 anymore), and remove rs6000 XFAIL (the bug is fixed).
9376
9377 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9378 duplicated from whatis.exp. For those that are left, accept
9379 "long", "long int", or "int" for long variables (whatis.exp already
9380 has an XFAIL for "int", so no need to fail it here).
9381
9382 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9383 Deal with GCC's names for types now that GDB uses the compiler's names.
9384
9385 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9386 setup_xfail's for sunos4. If we #defined the signed keyword away,
9387 don't expect GDB to know that char it is signed.
9388
9389 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9390
9391Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9392
9393 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9394 should work on any system, regardless of debugging format.
9395 * gdb.t21/demangle.exp: Move to gdb.t24.
9396 * gdb.t24/demangle.exp: Move from gdb.t21.
9397 * gdb.t24/{Makefile.in, configure.in}: New files.
9398
9399Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9400
9401 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9402 * gdb.stabs: New directory.
9403
9404Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9405
9406 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9407 not just "Quit anyway?".
9408
9409Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9410
9411 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9412 that all setup_xfails are immediately followed by clear_xfails.
9413
9414Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9415
9416 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9417 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9418 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9419 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9420 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9421 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9422 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9423 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9424 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9425 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9426 gdb.t31/chillvars.exp, lib/gdb.exp:
9427 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9428 bug-gdb@prep.ai.mit.edu.
9429
9430Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9431
9432 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9433 with 0.0, not integer 0.
9434
9435Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9436
9437 * gdb.t06/break.exp: Update for "Kill the program" message change.
9438
9439Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9440
9441 * Makefile.in (GDBFLAGS): Set to -nx.
9442 * Makefile.in (site.exp): Use GDBFLAGS.
9443
9444Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9445
9446 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9447 Makefiles.
9448 (check): depend on just-check.
9449 (just-check): added so that tests can be run without a noop
9450 build pass.
9451
9452Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9453
9454 Switch to using configure's configdirs.
9455 * Makefile.in (Makefile): add configure.in dependency.
9456 (SUBDIRS): removed redundant assignment.
9457 * configure.in: switch subdirs assignment to configdirs.
9458 * gdb.t*/configure.in: new files.
9459
9460Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9461
9462 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9463 works.
9464
9465Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9466
9467 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9468 in explicit rules. Apparently this is not supported by some makes.
9469
9470Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9471
9472 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9473
9474Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9475
9476 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9477 disappeared.
9478
9479Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9480
9481 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9482
9483Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9484
9485 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9486 watchpoint problem that is now fixed.
9487 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9488 uninitialized convenience variables.
9489 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9490 structures.
9491
9492Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9493
9494 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9495 which causes expect to get out of sync with gdb on long output
9496 from help set.
9497 * gdb.t09/corefile.exp: Make expected pattern for core file
9498 failing signal and frame output format less sun specific.
9499
9500Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9501
9502 * gdb.t31/chillvars.exp: Add and remove initial dummy
9503 breakpoint, so that symbol table is forced in.
9504 (Needed at least on Sunos4, though it seems not SVR4.)
9505 * gdb.t31/chillvars.exp: Update for changed output format.
9506
9507Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9508
9509 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9510
9511Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9512
9513 * Makefile.in: Added --srcdir when invoking runtest, removed the
9514 need for a local config file. (optional now)
9515
9516Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9517
9518 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9519 failure count used to force early termination. Add some more
9520 expected failures for gnu style demangling.
9521
9522Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9523
9524 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9525 pmi variable from gdb.t20/gdbme to get optimized away.
9526 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9527 Check for written corefile upon timeout _and_ eof.
9528
9529Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9530
9531 * config/unix-gdb.exp: Add missing return 0.
9532
9533Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9534
9535 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9536 test termination.
9537
9538Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9539
9540 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9541 disappeared.
9542
9543Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9544
9545 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9546 time as i860 support works.
9547
beb998c6 9548 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
9549 "backtrace 100\r" rather than just "backtrace\r", to match last
9550 change.
9551
9552Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
9553
9554 * config/udi-gdb.exp (gdb_exit): Remove close command.
9555 (gdb_target_udi): New procedure to set the UDI target.
9556 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
9557 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
9558 Added waits for prompts after several question responses. Added
9559 some more responses used by a29k-amd-udi-gdb.
9560 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
9561 pass different arguments, restart UDI connection after program
9562 completion.
9563 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
9564 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9565 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
9566 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
9567 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
9568 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
9569 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9570 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
9571 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
9572 after program completion.
9573 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
9574 compiled with a SELECT_VECS setting.
9575 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
9576 infinite recursion.
9577
9578 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
9579 Added checks for COFF results, and made them expected failures for
9580 all targets. It would be better to make them expected failures
9581 for COFF targets only.
9582
9583Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
9584
9585 * Makefile.in: add null dvi target, don't bother to recurse
9586 through test directories for info and install-info; rename
9587 $(datadir) to be dejagnu instead of deja-gnu
9588
9589Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
9590
9591 * gdb.t31/gdbme.ch: Re-enable code that previously caused
9592 compiler to coredump.
9593 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
9594 code.
9595
9596Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
9597
9598 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
9599 coredump.
9600 * gdb.t31/chillvars.exp: Comment out tests that depend on that
9601 code.
9602
9603Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
9604
9605 * gdb.t03/ptype.exp: tests for return code from gdb_test.
9606 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
9607 which in a shell. Deletes xgdb when done.
9608 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
9609 Tests the return from the "set height" or "set width" commands.
9610 Added a few return codes where needed.
9611
9612Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
9613
9614 * Makefile.in (SUBDIRS): Add gdb.t17.
9615 * configure.in (subdirs): Add gdb.t17.
9616 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
9617 files to test gdb's calling of functions in the inferior with
9618 the correct arguments and gdb's ability to retrieve any
9619 result returned.
9620
9621Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
9622
9623 * config/unix-gdb.exp (gdb_exit): Remove close commands that
9624 may be called after gdb goes away. Previous versions of expect
9625 needed these to avoid file descriptor leaks, but they cause
9626 errors with the current revision of expect.
9627 * gdb.t00/gdbvars.exp: Use -re on expected output after
9628 setting sevenbit-strings.
9629 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
9630 to set sevenbit-strings consistent across tests.
9631 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
9632 set sevenbit-strings consistent across tests.
9633
9634Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
9635
9636 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
9637 expected output to match current "expect" expectations.
9638
9639Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
9640
9641 * gdb.t00/default.exp: Change expected output for default "source"
9642 command, to match new gdb behavior which requires a filename to
9643 source.
9644
9645Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
9646
9647 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
9648 expected fail for i486-*-* that misses the marker2 function.
9649 * gdb.t10/crossload.exp (bfddefault): Allow successful
9650 recognition of a format to pass even if no symbols are found.
9651 Explicitly catch failures where the format is not recognized
9652 or is ambiguous, and add the reason to the fail message.
9653 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
9654 the cause is and invalid target and add reason to failure message.
9655 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
9656 elf32-i386, elf32-sparc, and elf32-i860.
9657 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
9658 Set up expected failure for 'filename'::variable scope resolution,
9659 which is now apparently broken on all targets.
9660 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
9661 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
9662 gdb.t23/templates.exp: Change failure for missing binfile into
9663 just a warning.
9664 gdb.t21/demangle.exp: Change all cfront references to 'arm'
9665 references.
9666
9667Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
9668
9669 * gdb.t00/default.exp: Add expected output for default "source"
9670 command, to match new gdb behavior.
9671 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
9672
9673Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
9674
9675 * config/*-gdb.exp: returns an error, rather than exiting on
9676 internal errors.
9677
9678Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
9679
9680 * gdb.t03/gdbme.c: Add pointer to struct variable.
9681 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
9682 referencing struct members.
9683
9684Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
9685
9686 * configure.in (mips-idt-ecoff): New target.
9687 * config/mips-gdb.exp: New file for remote board using MIPS remote
9688 debugging protocol.
9689
9690 * Redid configuration scheme. Removed gdb.t*/configure.in.
9691 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
9692 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
9693 distclean targets. Built executables via .o files. Adjusted
9694 tests to account for source files in $(srcdir) rather than
9695 $(objdir).
9696 * lib/gdb.exp (runto): Don't expect () after the function name,
9697 because it may have arguments.
9698
9699Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
9700
9701 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
9702 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
9703 expected failures for mips-idt-* and mips-sgi-*.
9704 * gdb.t00/default.exp (attach): Kill process if requested.
9705 * gdb.t00/help.exp (help target core, help target): Accept a gdb
9706 that does not read core files.
9707 * gdb.t01/run.exp: Removed checks for exit status code.
9708 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
9709 it is linked in.
9710 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
9711 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
9712 appropriate, rather than doing it by hand.
9713 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
9714 execution.
9715 * gdb.t10/crossload.exp: Kill existing program if needed.
9716 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
9717 appropriate, rather than doing it by hand. Always increase
9718 timeout for this test, not just for VxWorks.
9719
9720Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
9721
9722 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
9723 of Chill STRUCT types and STRUCT values.
9724 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
9725 than "char".
9726 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 9727 struct2): New struct definitions and initializations to test
c906108c
SS
9728 simple Chill STRUCT types.
9729
9730Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
9731
9732 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
9733 the null byte at the end of strings.
9734 * gdb.t00/default.exp: Make show version insensitive to copyright
9735 date.
9736 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
9737 to avoid dependencies on target char signedness.
9738 * gdb.t16/printcmds.exp: Update expected results for explicitly
9739 unsigned char.
9740 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
9741 now work.
9742 * gdb.t21/demangle.exp: Add many more patterns for template
9743 demangling, most of them being expected failures.
9744 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
9745 string we are matching for, to match on the whole string.
9746 * gdb.t21/demangle.exp: Add many new test strings to demangle,
9747 and fix a whole bunch that had incorrect expected output but were
9748 passing anyway because of the bug in "proc demangle".
9749 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
9750 type.
9751 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
9752
9753Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
9754
9755 * gdb/testsuite: made modifications to testcases, etc., to allow
9756 them to work properly given the reorganization of deja-gnu and the
9757 relocation of the testcases from deja-gnu to a "tool" subdirectory.
9758
9759Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
9760
9761 * gdb/testsuite: Initial creation of gdb/testsuite.
9762 Migrated dejagnu testcases and support files for testing nm to
9763 gdb/testsuite from deja-gnu. These files were moved "as is"
9764 with no modifications. This migration is part of a major overhaul
9765 of dejagnu. The modifications to these testcases, etc., which
9766 will allow them to work with the new version of dejagnu will be
9767 made in a future update.
9768\f
9769Local Variables:
9770mode: indented-text
9771left-margin: 8
9772fill-column: 74
9773version-control: never
9774End:
This page took 0.725358 seconds and 4 git commands to generate.