2003-02-01 Andrew Cagney <ac131313@redhat.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
075559bc
AC
12003-02-01 Andrew Cagney <ac131313@redhat.com>
2
3 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
4 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
5 stack backtraces.
6 * gdb.mi/mi-syn-frame.c: Part of same.
7
2bd4c7b1
MK
82003-02-01 Mark Kettenis <kettenis@gnu.org>
9
10 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
11 gdb.mi/mi1-pthreads.exp: Return instead of calling
12 gdb_suppress_entire_file.
13
eabd8992
MS
142003-02-01 Mark Salter <msalter@redhat.com>
15
16 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
17
71469e2f
MS
182003-01-31 Mark Salter <msalter@redhat.com>
19
20 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
21 Support empty arg.
22
38a94d44
MC
232003-01-30 Michael Chastain <mec@shout.net>
24
25 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
26 This was a workaround for a UTF-8 bug in readline 4.3. The bug
27 has been fixed in gdb/readline on 2003-01-09.
28
19ea9e73
MS
292003-01-29 Michael Snyder <msnyder@redhat.com>
30
31 * gdb.base/args.exp: Skip if target does not support args passing.
32
2307bd6a
DJ
332003-01-22 Daniel Jacobowitz <drow@mvista.com>
34
19ea9e73 35 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
36 gdb_test. Accept a list of expect arguments as the third
37 parameter.
38 (gdb_test): Use it.
39
f2dd3617
EZ
402003-01-20 Elena Zannoni <ezannoni@redhat.com>
41
42 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
43 allow for different test tree configurations. Update some
44 tescases accordingly.
45 * gdb.arch/altivec-regs.exp: Ditto.
46 * gdb.asm/asm-source.exp: Ditto.
47 * gdb.base/advance.exp: Ditto.
48 * gdb.base/display.exp: Ditto.
49 * gdb.base/long_long.exp: Ditto.
50 * gdb.base/mips_pro.exp: Ditto.
51 * gdb.base/overlays.exp: Ditto.
52 * gdb.base/relocate.exp: Ditto.
53 * gdb.base/setshow.exp: Ditto.
54 * gdb.base/step-line.exp: Ditto.
55 * gdb.base/step-test.exp: Ditto.
56 * gdb.base/until.exp: Ditto.
57 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
58
c71cdefd
DC
592003-01-17 David Carlton <carlton@math.stanford.edu>
60
61 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
62 corresponding to PR c++/945.
63 Update copyright.
64
fdba05d7
DC
652003-01-17 David Carlton <carlton@math.stanford.edu>
66
67 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
68 corresponding to PR c++/68.
69
702003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
71
72 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
73 (test_paddr_hairy_functions): Call print_addr_2_kfail for
74 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
75
c362c33a
EZ
762003-01-15 Elena Zannoni <ezannoni@redhat.com>
77
0fbc361c
EZ
78 * gdb.base/break.exp: Fix change of default location, because of
79 removal of until tests.
80 * gdb.base/help.exp: Update test for new 'until' help message.
81 Add test for help on 'advance'.
c362c33a
EZ
82 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
83
dabf8a35
MK
842003-01-15 Mark Kettenis <kettenis@gnu.org>
85
86 * gdb.base/default.exp: Adapt "info float" test for recent changes
87 to that command. Add test for "info vector".
88 * gdb.base/float.exp: New file. Add test for "info float" that
89 resembles the old test in gdb.base/default.exp.
90
a1769aca
DC
912003-01-15 David Carlton <carlton@math.stanford.edu>
92
93 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
94
82025e13
EZ
952003-01-15 Elena Zannoni <ezannoni@redhat.com>
96
97 * gdb.base/break.exp: Move the tests of until command from here...
98 * gdb.base/until.exp: ... to here. New file. Add other tests.
99 * gdb.base/advance.c: New file.
100 * gdb.base/advance.exp: New file.
101
8f9ab801
EZ
1022003-01-14 Elena Zannoni <ezannoni@redhat.com>
103
104 * gdb.base/args.c: New file.
105 * gdb.base/args.exp: New file.
106
9ae66589
DJ
1072003-01-14 Daniel Jacobowitz <drow@mvista.com>
108
109 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
110
8d77e5c3
DJ
1112003-01-14 Daniel Jacobowitz <drow@mvista.com>
112
113 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
114
12d2f0a1
DJ
1152003-01-14 Daniel Jacobowitz <drow@mvista.com>
116
117 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
118 dates.
119
6ca37014
DJ
1202003-01-13 Daniel Jacobowitz <drow@mvista.com>
121
122 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
123
b0023472
DJ
1242003-01-13 Daniel Jacobowitz <drow@mvista.com>
125
126 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
127 (ptype &*"foo").
128 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
129
d6abaea5
DJ
1302002-01-13 Daniel Jacobowitz <drow@mvista.com>
131
132 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
133 * gdb.mi/mi1-console.exp: Likewise.
134
dfd536a7
DJ
1352002-01-13 Daniel Jacobowitz <drow@mvista.com>
136
137 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
138 * gdb.mi/mi1-console.exp: Likewise.
139
a1fb14a2
DJ
1402003-01-13 Daniel Jacobowitz <drow@mvista.com>
141
142 * gdb.c++/overload.exp: Remove some fixed XFAILs.
143
c4cf40b7
DJ
1442003-01-09 Daniel Jacobowitz <drow@mvista.com>
145
146 * gdb.base/detach.exp: New test.
147
696d5a5b
DJ
1482003-01-09 Daniel Jacobowitz <drow@mvista.com>
149
150 * Makefile.in (ALL_SUBDIRS): New variable.
151 (subdirs, clean, distclean): Use it.
152 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
153 regenerating Makefile, since it is generated from the top level.
154 * gdb.asm/Makefile.in: Likewise.
155 * gdb.base/Makefile.in: Likewise.
156 * gdb.c++/Makefile.in: Likewise.
157 * gdb.disasm/Makefile.in: Likewise.
158 * gdb.java/Makefile.in: Likewise.
159 * gdb.mi/Makefile.in: Likewise.
160 * gdb.threads/Makefile.in: Likewise.
161 * gdb.trace/Makefile.in: Likewise.
162
754533e4
DC
1632003-01-09 David Carlton <carlton@math.stanford.edu>
164
165 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
166 Add copyright year 2003.
167
d8b3e9ee
MC
1682003-01-06 Michael Chastain <mec@shout.net>
169
170 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
171 When selecting a thread, 'line' and 'file' are optional.
172 * gdb.mi/mi1-pthreads.exp: Likewise.
173
8e9e0fe6
AS
1742003-01-06 Andreas Schwab <schwab@suse.de>
175
176 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
177 failures.
178
b5ab8ff3
DJ
1792003-01-04 Daniel Jacobowitz <drow@mvista.com>
180
181 Fix PR gdb/844
182 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
183 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
184
185 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
186 instead of calling gdb_suppress_entire_file.
187 * gdb.threads/print-threads.exp: Likewise.
188 * gdb.threads/schedlock.exp: Likewise.
189
190 * gdb.threads/killed.exp: Return instead of calling
191 gdb_suppress_entire_file.
192 * gdb.threads/linux-dp.exp: Likewise.
193 * gdb.threads/pthreads.exp: Likewise.
194
1e698235
DJ
1952003-01-04 Daniel Jacobowitz <drow@mvista.com>
196
197 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
198 stabs.
199 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
200 * gdb.base/whatis.exp: Always allow (void) after function names.
201
147ff08c
DJ
2022003-01-04 Daniel Jacobowitz <drow@mvista.com>
203
204 * gdb.c++/casts.exp: Correct regexp.
205
dc62bfc2
MK
2062003-01-04 Mark Kettenis <kettenis@gnu.org>
207
208 * configure.in: Call AC_CONFIG_HEADER. Don't call
209 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
210 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
211 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
212 aforementioned directories in the AC_OUPUT call.
213 * config.hin: New file.
214 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
215 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
216 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
217 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
218 pass -I$objdir instead of -I$objdir/$subdir in compilation.
219 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
220 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
221 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
222 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
223 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
224 gdb.threads/configure.in, gdb.threads/configure,
225 gdb.threads/config.in, gdb.trace/configure.in,
226 gdb.trace/configure: Removed.
227
77afa639
MC
2282003-01-03 Michael Chastain <mec@shout.net>
229
230 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
231 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
232
7634bb6e
DJ
2332003-01-03 Daniel Jacobowitz <drow@mvista.com>
234
235 * gdb.base/store.exp: Fix regular expressions.
236
b39c905e
MK
2372002-12-28 Mark Kettenis <kettenis@gnu.org>
238
239 * configure.in: Rewrite.
240 * configure: Regenerated.
241
0a8551dd
DC
2422003-01-03 David Carlton <carlton@math.stanford.edu>
243
244 * gdb.base/psymtab.exp: New file.
245 * gdb.base/psymtab1.c: Ditto.
246 * gdb.base/psymtab2.c: Ditto.
247
c60b7188
AF
2482002-12-23 Adam Fedor <fedor@gnu.org>
249
250 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
251
ee73db83
DC
2522002-12-23 David Carlton <carlton@math.stanford.edu>
253
254 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
255 and current_directory initialization.
256
d6c1774e
JB
2572002-12-22 Jim Blandy <jimb@redhat.com>
258
f0a847b8
JB
259 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
260 rather than as part of the output file name.
261
d6c1774e
JB
262 * gdb.base/attach.exp: There's no need to copy the test program to
263 /tmp; that was only ever necessary on HP/UX, and this test is
264 entirely disabled there anyway.
265
f0708dbb
JB
2662002-12-21 Jim Blandy <jimb@redhat.com>
267
4c2acfea
JB
268 * gdb.c++/psmang.exp: Doc fix.
269
f0708dbb
JB
270 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
271 test.
272
9579e000
DC
2732002-12-20 David Carlton <carlton@math.stanford.edu>
274
275 * gdb.c++/annota2.exp: KFAIL annotate-quit.
276
d1810171
MC
2772002-12-18 Michael Chastain <mec@shout.net>
278
279 * gdb.c++/annota2.exp: Add copyright year 2002.
280
76565097
DC
2812002-12-17 David Carlton <carlton@math.stanford.edu>
282
283 * gdb.c++/try_catch.cc: Add marker comments.
284 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
285 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
286 * gdb.c++/m-static.cc: Ditto.
287 * gdb.c++/m-static1.cc: Ditto.
288 * gdb.c++/try_catch.cc: Ditto.
289
da81390b
JJ
2902002-12-16 Jeff Johnston <jjohnstn@redhat.com>
291
292 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
293 to see whether we are using the new -environment-directory
294 command which resets via -r or the old version of the command
295 which may prompt the user. Part of fix for gdb/741.
296
b304d130
AC
2972002-12-13 Andrew Cagney <ac131313@redhat.com>
298
299 * gdb.fortran/types.exp: Update obsolete comment.
300 * gdb.fortran/exprs.exp: Ditto.
301 * lib/gdb.exp: Delete obsolete code.
302 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
303 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
304 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
305 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
306 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
307 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
308 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
309 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
310 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
311 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
312 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
313 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
314 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
315 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
316 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
317 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
318 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
319 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
320 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
321 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
322 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
323 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
324 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
325 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
326 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
327 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
328 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
329 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
330 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
331 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
332 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
333 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
334 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
335 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
336 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
337 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
338 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
339
a23b6e6a
DC
3402002-12-11 David Carlton <carlton@math.stanford.edu>
341
342 * gdb.c++/m-data.exp: Add test for members that shadow global
343 variables: see PR gdb/804.
344 * gdb.c++/m-data.cc: Ditto.
345
6604731b
DJ
3462002-12-10 Daniel Jacobowitz <drow@mvista.com>
347
348 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
349
de46ecd7
DC
3502002-12-06 David Carlton <carlton@math.stanford.edu>
351
352 * gdb.base/store.c: Don't declare functions static.
353
27e829d0
AC
3542002-12-04 Andrew Cagney <ac131313@redhat.com>
355
356 * gdb.base/store.exp, gdb.base/store.c: New files.
357
92806416
DJ
3582002-12-03 Daniel Jacobowitz <drow@mvista.com>
359
360 * gdb.base/selftest.exp: Update for current gdb.
361
3bcbaac5
DJ
3622002-12-03 Daniel Jacobowitz <drow@mvista.com>
363
364 * gdb.base/maint.exp: Only dump symbols from one source file
365 or objfile.
366
f4f00b1f
DJ
3672002-12-03 Daniel Jacobowitz <drow@mvista.com>
368
369 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
370 function call.
371
f1c8a949
JB
3722002-11-25 Jim Blandy <jimb@redhat.com>
373
374 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
375 function appearing in error message.
376
9e297a97
DJ
3772002-11-21 Daniel Jacobowitz <drow@mvista.com>
378
379 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
380
1f312e79
JJ
3812002-11-08 Jeff Johnston <jjohnstn@redhat.com>
382
383 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
384 for mi1 and current mi is in correct format. New mi startup message
385 should be in mi console format. This is part of fix for PR gdb/604.
386
83c31e7d
FN
3872002-09-18 Fernando Nasser <fnasser@redhat.com>
388
389 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
390 which explicitly prints the zero offset as "+0".
391
322b3f65
DJ
3922002-10-22 Daniel Jacobowitz <drow@mvista.com>
393
394 * gdb.threads/schedlock.c (args): Make unsigned.
395
3962002-10-21 Daniel Jacobowitz <drow@mvista.com>
397
398 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
399 numbers. Allow "foo2|selected stack frame".
400 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
401 * gdb.asm/asmsrc2.s: Likewise.
402 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
403 comments.
404 * gdb.asm/mips.inc: New file.
405
5e2fe5b8
AF
4062002-10-18 Adam Fedor <fedor@gnu.org>
407
408 * gdb.base/default.exp: Update expected output to include 'ObjC'.
409 * gdb.base/help.exp: Likewise.
410
abe1a5d0
KB
4112002-10-17 Kevin Buettner <kevinb@redhat.com>
412
413 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
414 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
415
10abb1d4
JB
4162002-10-02 Jim Blandy <jimb@redhat.com>
417
418 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
419
1f609b42
AC
4202002-10-01 Andrew Cagney <ac131313@redhat.com>
421
422 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
423 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
424 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
425 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
426 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
427 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
428 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
429
0aee02e4
AC
4302002-09-29 Andrew Cagney <ac131313@redhat.com>
431
432 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
433 * mi0-disassemble.exp, mi0-eval.exp: Delete.
434 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
435 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
436 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
437 * mi0-var-block.exp, mi0-var-child.exp: Delete.
438 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
439
6fde09ad
KB
4402002-09-27 Kevin Buettner <kevinb@redhat.com>
441
442 * gdb.base/annota1.exp (info break): Make directory components of
443 path optional since not all compilers emit this debug information.
444
445 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
446 step ends up stepping out of the function instead of stopping on
447 the epilogue.
448
9e8aab75
KS
4492002-09-26 Keith Seitz <keiths@redhat.com>
450
451 * lib/insight-support.exp (gdbtk_start): Figure out where
452 the insight executable is based on where gdb is. Use this
453 executable to start insight instead of gdb.
454
e36180d7
AC
4552002-09-25 Andrew Cagney <cagney@redhat.com>
456
457 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
458
9dd34b2b
AC
4592002-09-24 Andrew Cagney <ac131313@redhat.com>
460
461 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
462 test_isolated_complaints.
463 (test_empty_complaint): New function.
464 (test_empty_complaints): New function. Check no output when no
465 complaints.
466
dea97812
KB
4672002-09-19 Jim Blandy <jimb@redhat.com>
468
469 * gdb.base/charset.exp, gdb.base/charset.c: New files.
470
54951bd7
AC
4712002-09-19 Andrew Cagney <ac131313@redhat.com>
472
473 * gdb.gdb/complaints.exp: New file.
474
dec43320
AC
4752002-09-18 Andrew Cagney <ac131313@redhat.com>
476
477 * gdb.base/maint.exp: Check `help maint internal-warning'.
478
e70d6e3f
DC
4792002-09-18 David Carlton <carlton@math.stanford.edu>
480
481 * gdb.c++/m-static.exp: Remove breakpoints depending on line
482 numbers, and replace them by a single breakpoint after the
483 constructors are all finished.
484 Add test 4.
485 * gdb.c++/m-static.cc: Add test 4.
486 * gdb.c++/m-static.h: New file.
487 * gdb.c++/m-static1.cc: New file.
488
489 * gdb.c++/printmethod.exp: New file.
490 * gdb.c++/printmethod.cc: New file.
491
492 * gdb.c++/pr-574.exp: New file.
493 * gdb.c++/pr-574.cc: New file.
494
afb5c968
CV
4952002-09-18 Corinna Vinschen <vinschen@redhat.com>
496
497 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
498 embedded targets which never actually exit.
499
31e45dee
FN
5002002-09-18 Fernando Nasser <fnasser@redhat.com>
501
502 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
503 "don't step after run" as unresolved or unsupported, instead of xfail.
504
a283c5a1
CV
5052002-09-18 Corinna Vinschen <vinschen@redhat.com>
506
507 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
508 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
509 Add newline to expected string in "step out of main (status wrapper)"
510 case.
511
11350d2a
CV
5122002-09-18 Corinna Vinschen <vinschen@redhat.com>
513
514 * lib/gdb.exp (rerun_to_main): Allow restarting application.
515 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
516
0deec7d6
TT
5172002-09-17 Tom Tromey <tromey@redhat.com>
518
519 * gdb.base/printcmds.exp (test_print_string_constants): Expect
520 \000, not \0, in double-quoted string.
521
b2b4a1b5
CV
5222002-09-14 Corinna Vinschen <vinschen@redhat.com>
523
524 * gdb.base/command.exp: Don't expect a "Program exited normally"
525 string after running the commands execution on breakpoint tests.
526
1c56143a
CV
5272002-09-13 Corinna Vinschen <vinschen@redhat.com>
528
529 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
530
37f8da45
JB
5312002-09-12 Joel Brobecker <brobecker@gnat.com>
532
533 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
534
08b468e0
KS
5352002-09-10 Keith Seitz <keiths@redhat.com>
536
537 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
538 runto proc.
539 (mi_run_to_main): Use mi_runto.
540 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
541
dc360f58
KS
5422002-09-10 Keith Seitz <keiths@redhat.com>
543
544 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
545 regexp for stopping at main. Could have multiple event notifications.
546 Don't assume that main was declared with no parameters.
547 (mi_next): Use mi_step_to.
548 (mi_step): Use mi_next_to.
549
ce3abcfb
CV
5502002-09-09 Corinna Vinschen <vinschen@redhat.com>
551
552 * gdb.base/default.exp: Fix expected string in `info float' test.
553
d1f5b980
BE
5542002-09-09 Ben Elliston <bje@redhat.com>
555
556 * config/mips.exp: Update comments.
557 * config/mips-idt.exp: Likewise.
558 * config/nind.exp: Likewise.
559 * config/slite.exp: Likewise.
560 * config/sparclet.exp: Likewise.
561 * config/udi.exp: Likewise.
562 * config/vx.exp: Likewise.
563 * config/vxworks29k.exp: Likewise.
564
2f71430b
JB
5652002-09-05 Jim Blandy <jimb@redhat.com>
566
567 * gdb.threads/killed.exp: Fix test failure message.
568
7ddebc7e
KS
5692002-09-04 Keith Seitz <keiths@redhat.com>
570
571 * lib/mi-support.exp: Update copyright.
572 (mi_gdb_test): Increase the priority of the expected pattern
573 so that it matches gdb_test.
574
0ae67eb3
KS
5752002-09-03 Keith Seitz <keiths@redhat.com>
576
577 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
578 Use integer comparison instead of string comparison for testing
579 whether binary was built.
580
38fc42c8
JB
5812002-09-03 Jim Blandy <jimb@redhat.com>
582
583 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
584
b6ff0e81
JB
5852002-08-29 Jim Blandy <jimb@redhat.com>
586
587 * gdb.threads/pthreads.exp: Move the portable thread compilation
588 code into a function in lib/gdb.exp, and call that from here.
589 * lib/gdb.exp (gdb_compile_pthreads): New function.
590
07c98896
KS
5912002-08-29 Keith Seitz <keiths@redhat.com>
592
593 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
594 expect_out so that callers can get at it.
595
0312286c
DJ
5962002-08-23 Daniel Jacobowitz <drow@mvista.com>
597
598 * gdb.threads/print-threads.c: New file.
599 * gdb.threads/print-threads.exp: New file.
600 * gdb.threads/schedlock.c: New file.
601 * gdb.threads/schedlock.exp: New file.
602
dd039bc4
EZ
6032002-08-22 Elena Zannoni <ezannoni@redhat.com>
604
605 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
606 not altivec.c.
607
1f36144c
MK
6082002-08-17 Mark Kettenis <kettenis@gnu.org>
609
610 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
611 targets. The problem should be fixed now.
612
16057ec7 6132002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
614
615 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
616 2002-07-24 change that removes final dots from error messages.
617
3c1499ad
TT
6182002-08-13 Tom Tromey <tromey@redhat.com>
619
620 * gdb.base/readline.exp: New file.
621
a20ce2c3
AC
6222002-08-01 Andrew Cagney <ac131313@redhat.com>
623
624 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
625 supress message.
626
db034ac5
AC
6272002-08-01 Andrew Cagney <cagney@redhat.com>
628
629 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
630 CHILL_FOR_TARGET and CHILL_LIB.
631 * configure.in (configdirs): Remove gdb.chill.
632 * configure: Regenerate.
633 * lib/gdb.exp: Obsolete references to chill.
634 * gdb.fortran/types.exp: Ditto.
635 * gdb.fortran/exprs.exp: Ditto.
636
3e000b18
KB
6372002-07-30 Kevin Buettner <kevinb@redhat.com>
638
639 * gdb.base/shlib-call.exp (additional_flags): Conditionally
640 set Irix-specific compile and link flags.
641
28f4966b
KB
6422002-07-29 Kevin Buettner <kevinb@redhat.com>
643
644 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
645 source files. The ``-o'' option doesn't work with the ``-E'' option
646 when using the Irix compiler.
647
46c0d5a6
DJ
6482002-07-19 Daniel Jacobowitz <drow@mvista.com>
649
650 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
651 Improve support for reusing an exec file. Copy exec file
652 to target, and run gdbserver on the target instead of on the host.
653
eecf4bed
JB
6542002-07-18 Jim Blandy <jimb@redhat.com>
655
0f815cdf
JB
656 * gdb.base/ending-run.exp: Don't expect to see the program end in
657 some orderly fashion when we're running on a real stand-alone
658 board.
659
eecf4bed
JB
660 * gdb.base/interrupt.exp: Correct logic for skipping tests on
661 targets that don't support interrupts.
662
52d309e4
JB
6632002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
664
665 * gdb.base/attach.exp: Add patterns to match output from /proc-based
666 systems.
667 Move comments in expect statements to inside the actions, so that they
668 don't get matched against.
669
ff683d9e
MK
6702002-07-10 Mark Kettenis <kettenis@gnu.org>
671
672 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
673 function when asleep" test.
674
b5356753
AC
6752002-07-10 Andrew Cagney <ac131313@redhat.com>
676
677 * gdb.base/page.exp: Rewrite to handle problems with very long
678 `info set' output. Update copyright.
679
6aa4d13a
AC
6802002-06-26 Andrew Cagney <ac131313@redhat.com>
681
682 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
683 gdb.threads-hp.
684 * gdb.hp/configure: Regenerate.
685 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
686 * gdb.hp/gdb.threads-hp/configure: Delete file.
687 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
688
8cf8c2b8
AC
6892002-06-22 Andrew Cagney <ac131313@redhat.com>
690
691 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
692 setlocale, bindtextdomain and textdomain.
693
6827a8f8
JB
6942002-06-11 Jim Blandy <jimb@redhat.com>
695
919d772c
JB
696 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
697 preprocessor macro information is present.
698
6827a8f8
JB
699 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
700 tests.
701
c15b0d21
MS
7022002-06-06 Michael Snyder <msnyder@redhat.com>
703
c5984d70
MS
704 * gdb.base/overlays.exp: Record addresses of overlay
705 functions in TCL variables rather than in GDB variables,
706 to avoid having GDB convert them to pointers (with loss
707 of information).
708
99a8512b
MS
709 * gdb.base/d10v.ld: Merge in several years worth of
710 default linker script changes.
c15b0d21
MS
711 * gdb.base/long_long.exp: Add check for sizeof (long double).
712
be26fe0d
ML
7132002-06-06 Michal Ludvig <mludvig@suse.cz>
714
715 * gdb.asm/asm-source.exp: Add x86-64 target.
716 * gdb.asm/x86_64.inc: New.
717
258093ca 7182002-05-30 Michael Chastain <mec@shout.net>
258093ca 719
4b3153f1 720 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
721 * gdb.c++/m-static.cc: New file.
722 * gdb.c++/m-static.exp: New file.
723
241264c6
MS
7242002-05-28 Michael Snyder <msnyder@redhat.com>
725
726 * gdb.base/call-ar-st.exp: Allow for reduced floating point
727 precision.
728
9bba8c8f 7292002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 730
4b3153f1 731 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
732 * gdb.c++/m-data.cc: New file.
733 * gdb.c++/m-data.exp: New file.
734
7352002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 736
4b3153f1 737 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
738 * gdb.c++/try_catch.cc: New file.
739 * gdb.c++/try_catch.exp: New file.
740
def1b996
MC
7412002-05-27 Michael Chastain <mec@shout.net>
742
743 * gdb.c++/local.exp: Accept more nested types in output.
744
522ba268
MC
7452002-05-26 Michael Chastain <mec@shout.net>
746
747 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
748
277254ba
MS
7492002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
750
751 * lib/gdb.exp (gdb_wrapper_init): Just because
752 gdb_wrapper_file exists, this does not mean that the file
753 should not be rebuilt. That is what gdb_wrapper_initialized
754 is for.
755 (default_gdb_init): Reset gdb_wrapper_initialized.
756
b61a8733
MS
7572002-05-23 Michael Snyder <msnyder@redhat.com>
758
5bdb6d01
MS
759 * gdb.base/all-bin.exp: Revise previous patch by just reducing
760 the precision of the floating point test results.
761 * gdb.base/call-rt-st.exp: Ditto.
762
b61a8733
MS
763 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
764 * gdb.base/call-rt-st.exp: Ditto.
765
56f6e910
MC
7662002-05-19 Michael Chastain <mec@shout.net>
767
768 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
769
ad0b0016
EZ
7702002-05-19 Elena Zannoni <ezannoni@redhat.com>
771
772 * configure.in (configdirs): Add gdb.arch.
773 * configure: Regenerate.
774
f617d2b6
JB
7752002-05-17 Jim Blandy <jimb@redhat.com>
776
777 * gdb.base/completion.exp: Recognize the more detailed error
778 messages produced by the macro expander's lexical analyzer.
779
eac2a696
EZ
7802002-05-14 Elena Zannoni <ezannoni@redhat.com>
781
782 * gdb.arch/altivec-abi.c: New file.
783 * gdb.arch/altivec-abi.exp: New file.
784 * gdb.arch/altivec-regs.c: New file.
785 * gdb.arch/altivec-regs.exp: New file.
786
2fdde8f8
DJ
7872002-05-14 Daniel Jacobowitz <drow@mvista.com>
788
789 * gdb.base/maint.exp (maint print type): Update for new type
790 structure.
eac2a696 791
e31f1a7c
EZ
7922002-05-14 Elena Zannoni <ezannoni@redhat.com>
793
794 * gdb.arch: New directory.
795 * gdb.arch/configure.in: New file.
796 * gdb.arch/configure: New file.
797 * gdb.arch/Makefile.in: New file.
798
db589741
CV
7992002-05-13 Corinna Vinschen <vinschen@redhat.com>
800
801 * gdb.asm/asm-source.exp: Add v850 as supported target.
802 * gdb.asm/v850.inc: New file.
803
8ce2a7dc
DJ
8042002-05-13 Daniel Jacobowitz <drow@mvista.com>
805
806 * gdb.c++/annota2.exp (annotate-quit): Add comment.
807
df763c7f
DJ
8082002-05-12 Daniel Jacobowitz <drow@mvista.com>
809
810 * gdb.base/break.exp: Check 'break "marker2"'.
811
377daeed
MS
8122002-05-10 Michael Snyder <msnyder@redhat.com>
813
814 * gdb.base/long_long.exp: Fix typo.
815
c4b7bc2b
JB
8162002-05-10 Jim Blandy <jimb@redhat.com>
817
ecac9a4e
JB
818 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
819 a bug.
820
c4b7bc2b
JB
821 * gdb.base/printcmds.exp (test_integer_literals_rejected):
822 Recognize more detailed error message produced by the macro
823 expander's lexical analyzer.
824 * lib/gdb.exp (test_print_reject): Same.
825
e71019a1
MK
8262002-05-09 Mark Kettenis <kettenis@gnu.org>
827
828 * gdb.c++/method.exp: Fix typo.
829
fedfc8e6
MS
8302002-05-08 Michael Snyder <msnyder@redhat.com>
831
166a1957
MS
832 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
833 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 834 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
835 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
836 Add iftarget clause for strongarm.
837
f1c47eb2
MS
8382002-05-06 Michael Snyder <msnyder@redhat.com>
839
cb9a9d3e
MS
840 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
841 (gdb_continue_to_end): Accept output from status wrapper.
842 * gdb.base/ending-run.exp: Add case for output from status wrapper.
843 Clean up fail messages to match pass messages.
844
f1c47eb2
MS
845 Enable the "needs_status_wrapper" testsuite feature.
846 * lib/gdb.exp (gdb_wrapper_init): New procedure.
847 (gdb_compile): Conditionally call gdb_wrapper_init.
848 * gdb.base/a2-run.exp: Recognize output from status wrapper.
849 * gdb.c++/method.exp: Recognize output from status wrapper.
850
6079c749
BE
8512002-05-06 Ben Elliston <bje@redhat.com>
852From Graydon Hoare <graydon@redhat.com>
853
854 * config/sid.exp: Include support for "rawsid" protocol.
855
188baff3
JB
8562002-05-03 Jim Blandy <jimb@redhat.com>
857
858 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
859 * gdb.c++/hang3.C: New file.
860
b9c07f0f
AC
8612002-05-04 Andrew Cagney <ac131313@redhat.com>
862
863 * gdb.base/default.exp: Remove obsolete code.
864 * gdb.c++/misc.exp: Ditto. Update copyright.
865 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
866 * gdb.base/whatis.exp: Ditto. Update copyright.
867 * gdb.base/scope.exp: Ditto. Update copyright.
868 * gdb.base/ptype.exp: Ditto. Update copyright.
869 * gdb.base/printcmds.exp: Ditto. Update copyright.
870 * gdb.base/opaque.exp: Ditto. Update copyright.
871 * gdb.base/list.exp: Ditto.
872 * gdb.base/funcargs.exp: Ditto. Update copyright.
873 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
874 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
875 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
876 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
877 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
878 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
879
5c7a0397
MS
8802002-05-02 Michael Snyder <msnyder@redhat.com>
881
d6dcc264 882 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
883 * gdb.base/long_long.exp: Add xscale target.
884 * gdb.base/default.exp: Add xscale target.
885
eb7f1c48
JB
8862002-05-01 Jim Blandy <jimb@redhat.com>
887
888 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
889 gdb.c++/hang.exp: New test.
890
a6befae8
FF
8912002-05-01 Fred Fish <fnf@redhat.com>
892
893 * gdb.base/completion.exp: Handle completions of "./Make" for
894 more than one completion possibility, as is the case when we
895 build and test in the source tree.
896
0a310277
AG
8972002-04-29 Anthony Green <green@redhat.com>
898
899 * gdb.java/jmisc1.exp: New file.
900 * gdb.java/jmisc2.exp: New file.
901
6ff9af88
DJ
9022002-04-24 Daniel Jacobowitz <drow@mvista.com>
903
904 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
905
96b3d632
EZ
9062002-04-23 Elena Zannoni <ezannoni@redhat.com>
907
908 * gdb.base/help.exp: Change 'help status' to allow for target
909 dependent output differences.
910
5019bb54
MC
9112002-04-22 Michael Chastain <mec@shout.net>
912
913 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
914
a805a116
MC
9152002-04-22 Michael Chastain <mec@shout.net>
916
917 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
918
a1706bfd
DM
9192002-04-17 David S. Miller <davem@redhat.com>
920
921 * gdb.asm/sparc64.inc: New file.
922 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
923
a73a20a2
EZ
9242002-04-19 Elena Zannoni <ezannoni@redhat.com>
925
926 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
927 instruction file directly into the build tree. Clean up at end of
928 test.
929
ba678339
DM
9302002-04-18 David S. Miller <davem@redhat.com>
931
932 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
933 handle 64-bit platforms correctly.
934 * gdb.base/maint.exp: Likewise.
935
b03399da
KB
9362002-04-18 Kevin Buettner <kevinb@redhat.com>
937
938 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
939 ``-fpic'' when compiling files comprising a shared library, but
940 it does need additional linker flags in order to find shared
941 libraries at run time.
942
e2004992
KB
9432002-04-18 Kevin Buettner <kevinb@redhat.com>
944
945 * gdb.base/cvexpr.c (use): New function.
946 (main): Invoke use() on all global variables to prevent
947 some linkers from deleting these otherwise unused symbols.
948
d8937120
MC
9492002-04-17 Michael Chastain <mec@shout.net>
950From David S. Miller <davem@redhat.com>
951
952 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
953 handle 64-bit platforms correctly.
954
ffd61a58
MS
9552002-04-12 Michael Snyder <msnyder@redhat.com>
956From Jim Blandy <jimb@redhat.com>
957 * gdb.base/foo.c (foox): Remove section attribute; the linker
958 script can handle this instead.
959 * gdb.base/bar.c (barx): Same.
960 * gdb.base/baz.c (bazx): Same.
961 * gdb.base/grbx.c (grbxx): Same.
962
963 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
964 manager doesn't automatically unmap overlays unnecessarily.
965
6b8426a6
MH
9662002-04-10 Martin M. Hunt <hunt@redhat.com>
967
968 * gdb.base/ending-run.exp: Fix pattern for Mips targets
969 stepping out of main.
970
34af4875
MC
9712002-04-09 Michael Chastain <mec@shout.net>
972
973 * gdb.c++/local.cc (main): Move call to marker1() inside nested
974 scope so that the nested scope tests will make sense.
975 * gdb.c++/local.exp: Write patterns that actually work with gcc
976 (the HP patterns "were never known to work with gcc").
977 Keep the old aCC patterns too.
978
2d1676a0
DJ
9792002-04-09 Daniel Jacobowitz <drow@mvista.com>
980
981 * gdb.base/attach.exp: Correct target board test.
982
3a63e3f9
MC
9832002-04-08 Michael Chastain <mec@shout.net>
984
985 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
986 in a const method. Add some xfail and fail cases for configurations
987 that do not emit the "const ...".
988
f18dabd2
MC
9892002-04-07 Michael Chastain <mec@shout.net>
990
991 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
992 Accept "A * const" and "const A * const" as type of "this".
993 Fix spelling of getFunky throughout. Make messages uniform.
994
0fcddd82
EZ
9952002-04-07 Elena Zannoni <ezannoni@redhat.com>
996
997 Work around for PR gdb/285:
998 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
999
16a8534a
EZ
10002002-04-07 Elena Zannoni <ezannoni@redhat.com>
1001
1002 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1003 instructions file at run time instead of configure time.
1004 Sometimes we run the test in a directory that is not the one we
1005 configured in.
1006 * gdb.asm/configure.in: Delete creation of symlink.
1007 * gdb.asm/configure: Regenerate.
1008
24181d81
JB
10092002-04-05 J. Brobecker <brobecker@gnat.com>
1010
1011 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1012 xfullpath () function.
1013
7cdb7107
DJ
10142002-04-04 Daniel Jacobowitz <drow@mvista.com>
1015
1016 * gdb.asm/Makefile.in: Correct dependencies.
1017
1018 * gdb.asm/powerpc.inc: New file.
1019 * gdb.asm/asm-source.exp: Add PowerPC.
1020 * gdb.asm/configure.in: Likewise.
1021 * gdb.asm/configure: Regenerated.
1022
a7d17088
DJ
10232002-04-04 Daniel Jacobowitz <drow@mvista.com>
1024
1025 * gdb.base/relocate.exp: New file.
1026 * gdb.base/relocate.c: New file.
1027
cd721503
FF
10282002-04-04 Fred Fish <fnf@redhat.com>
1029
1030 * gdb.base/step-test.exp: Update comment regarding stopping in
1031 memcpy/bcopy calls inserted as part of the compiler runtime.
1032
b22ad7a7
MS
10332002-04-04 Michael Snyder <msnyder@redhat.com>
1034
1035 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1036
5f279fa6
DJ
10372002-04-03 Daniel Jacobowitz <drow@mvista.com>
1038
1039 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1040 (gdb_expect): Remove $notransfer hack.
1041
dd0fd3ce
DJ
10422002-04-02 Daniel Jacobowitz <drow@mvista.com>
1043
1044 * gdb.c++/classes.exp ("calling method for small class"): Match
1045 updated register output.
1046
1e50cda1
DJ
10472002-03-30 Daniel Jacobowitz <drow@mvista.com>
1048
1049 Fix PR gdb/452
1050 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1051 when finished. Make gdb_file_cmd send "exec-file" when
1052 appropriate.
1053
24015922
DJ
10542002-03-30 Daniel Jacobowitz <drow@mvista.com>
1055
1056 * gdb.base/attach.exp: Remove extra setup_xfail.
1057
dd7dfd64
MS
10582002-03-26 Michael Snyder <msnyder@redhat.com>
1059
1060 * gdb.base/default.exp: Add tests for dump, append, and restore.
1061 * gdb.base/help.exp: Add tests for dump, append, and restore.
1062 * gdb.base/dump.exp: New file, test dump, append and restore.
1063 * gdb.base/dump.c: New file.
1064
48b2f8d7
MS
10652002-03-27 Michael Snyder <msnyder@redhat.com>
1066
1067 * gdb.base/help.exp: Modify expect strings to reflect
1068 clean-ups in help messages.
1069
05b4d525
FF
10702002-03-26 Fred Fish <fnf@redhat.com>
1071
1072 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1073 have debugging info for those functions and the compiler uses them
1074 internally to copy structs around.
1075
d7679631
FF
10762002-03-26 Fred Fish <fnf@redhat.com>
1077
1078 * gdb.base/list.exp: Revert the change made yesterday and add note
1079 about why we don't list the default lines for remote targets.
1080
523ac3f9
MS
10812002-03-25 Michael Snyder <msnyder@redhat.com>
1082
1083 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1084
754b2b8d
FF
10852002-03-25 Fred Fish <fnf@redhat.com>
1086
1087 * gdb.base/list.exp: This test works on remote targets so remove
1088 the short circuit for remote targets. Update copyright.
1089
33c3e192
FF
10902002-03-25 Fred Fish <fnf@redhat.com>
1091
1092 * gdb.base/attach.exp: Fix logic error that was suppressing this
1093 test for all non hppa*-*-hpux* targets, instead of the hp target.
1094 Move comments closer to the suppression point. Also now need to
1095 check that we are running natively.
1096
d43e73ee
MS
10972002-03-22 Michael Snyder <msnyder@redhat.com>
1098
882c8f02
MS
1099 * gdb.base/default.exp: Add test for gcore. Update copyright.
1100 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1101
04c12f60
FF
11022002-03-06 Fred Fish <fnf@redhat.com>
1103
1104 * gdb.base/funcargs.c: Remove extraneous ';' character.
1105 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1106
b43df995
MC
11072002-03-04 Michael Chastain <mec@shout.net>
1108
1109 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1110 accommodate gcc v3 function signature.
1111 * gdb.mi/mi0-var-cmd-exp: Ditto.
1112
92362027
AC
11132002-02-24 Andrew Cagney <ac131313@redhat.com>
1114
1115 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1116 ``GNU/Linux'' or ``Linux kernel''
1117 * testsuite/gdb.threads/pthreads.c: Ditto.
1118
258ad32d
MC
11192002-02-24 Michael Chastain <mec@shout.net>
1120
1121 * gdb.threads/pthreads.c (thread1): Add a return statement.
1122 (thread2): Likewise.
1123 (foo): Likewise.
1124
04c3b3d4
MC
11252002-02-23 Michael Chastain <mec@shout.net>
1126
1127 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1128 to placate gcc.
1129
5a2a0a20
MC
11302002-02-23 Michael Chastain <mec@shout.net>
1131
1132 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1133 test "ptype bint". The test passes on all my stabs configurations.
1134
a640f7fc
JB
11352002-02-21 Jim Blandy <jimb@redhat.com>
1136
27924826
JB
1137 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1138 filename at a time, and watch for the ones we want to see.
1139
a640f7fc
JB
1140 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1141 types of pointers to prototyped functions.
1142
edcc8c75
AC
11432002-02-20 Andrew Cagney <ac131313@redhat.com>
1144
1145 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1146 signed, unsigned and straight char.
1147 (padding_char, padding_short, padding_int, padding_long,
1148 padding_long_long, padding_float, padding_double,
1149 padding_long_double): New global variables.
1150 (fill, fill_structs): New functions.
1151
1152 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1153 for correctly sized writes. Update copyright.
1154 (get_valueof): New procedure.
1155 (get_sizeof): Call get_valueof.
1156 (check_valueof): New procedure.
1157 (check_padding): New procedure.
1158
ac57ea44
MC
11592002-02-20 Michael Chastain <mec@shout.net>
1160
1161 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1162 to setup_xfail. Document some of the remaining calls.
1163
7a10c941
MC
11642002-02-18 Michael Chastain <mec@shout.net>
1165
1166 * gdb.c++/userdef.exp: Update copyright year.
1167
fb8acdcc
DJ
11682002-02-18 Daniel Jacobowitz <drow@mvista.com>
1169
1170 * gdb.c++/userdef.exp: Test overloaded operators properly.
1171 Remove xfails.
1172
fda6ae12
MS
11732002-02-14 Michael Snyder <msnyder@redhat.com>
1174
1175 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1176
676a0442
DJ
11772002-02-14 Daniel Jacobowitz <drow@mvista.com>
1178
1179 * gdb.base/a2-run.exp: Check for a remote target properly.
1180 * gdb.base/annota1.exp: Likewise.
1181 * gdb.base/list.exp: Likewise.
1182 * gdb.base/reread.exp: Likewise.
1183 * gdb.base/scope.exp: Likewise.
1184 * gdb.base/shlib-call.exp: Likewise.
1185 * gdb.base/term.exp: Likewise.
1186 * gdb.c++/annota2.exp: Likewise.
1187
78b4f468
RE
11882002-02-13 Richard Earnshaw <rearnsha@arm.com>
1189
1190 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1191
9a81ba51
MC
11922002-02-10 Michael Chastain <mec@shout.net>
1193
1194 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1195 (call_after_alloca): Ditto.
1196
004af6c7
DJ
11972002-02-10 Daniel Jacobowitz <drow@mvista.com>
1198
1199 * gdb.base/ending-run.exp: Guard "cont" test with
1200 gdb_skip_stdio_test.
1201
37225f62
JB
12022002-02-06 Jim Blandy <jimb@redhat.com>
1203
1204 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1205 from here...
1206 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1207 To here. Disable this test on non-HP platforms. Add big comment.
1208
fe6fdd96
MS
12092002-02-04 Michael Snyder <msnyder@redhat.com>
1210
1211 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1212 other than d10v and m32r.
1213
036fad3f
RE
12142002-02-02 Richard Earnshaw <rearnsha@arm.com>
1215
1216 * gdb.base/default.exp: Rewrite test patterns to reduce time
1217 taken to match them.
1218
7148ab62
DJ
12192002-01-30 Daniel Jacobowitz <drow@mvista.com>
1220
1221 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1222 Allow a start function above main.
1223 * gdb.threads/linux-dp.exp: Fix copyright date.
1224
396cc255
DJ
12252002-01-30 Daniel Jacobowitz <drow@mvista.com>
1226
1227 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1228 (check_philosopher_stack): Check for manager thread before checking
1229 for a just-starting thread.
1230
f038d31b
DJ
12312002-01-30 Daniel Jacobowitz <drow@mvista.com>
1232
1233 From Neil Booth <neil@daikokuya.demon.co.uk>:
1234 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1235 warnings.
1236
b3ff9d9a
FF
12372002-01-21 Fred Fish <fnf@redhat.com>
1238
1239 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1240 not caller.
1241
39ad761d
JB
12422002-01-21 Jim Blandy <jimb@redhat.com>
1243
1244 * gdb.base/reread.exp: Check that GDB properly re-reads the
1245 executable file when it changes while no inferior is running.
1246
aaf320fa
FF
12472002-01-21 Fred Fish <fnf@redhat.com>
1248
1249 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1250 optionally accept the "shlib events" variation.
1251
808a31f5
JB
12522002-01-21 Jim Blandy <jimb@redhat.com>
1253
1254 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1255 call `fflush' after every `printf', so that the output is produced
1256 at predictable points, regardless of whatever buffering does (or
1257 doesn't) take place.
1258 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1259 at different points.
1260
4420d5e2
DJ
12612002-01-20 Daniel Jacobowitz <drow@mvista.com>
1262
1263 * gdb.c++/inherit.exp: Update copyright years.
1264 * gdb.c++/method.exp: Likewise.
1265
3e36a0f4
DJ
12662002-01-20 Daniel Jacobowitz <drow@mvista.com>
1267
1268 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1269 artificial methods/arguments.
1270 * gdb.c++/derivation.exp: Likewise.
1271 * gdb.c++/inherit.exp: Likewise.
1272 * gdb.c++/method.exp: Likewise.
1273 * gdb.c++/virtfunc.exp: Likewise.
1274
b4ceaee6
AC
12752002-01-18 Andrew Cagney <ac131313@redhat.com>
1276
1277 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1278 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1279 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1280 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1281 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1282 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1283
ecace851
JB
12842002-01-17 Jim Blandy <jimb@redhat.com>
1285
1286 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1287 anchoring the pattern matching the entry point symbol's name.
1288
375fc983
AC
12892002-01-17 Andrew Cagney <ac131313@redhat.com>
1290
1291 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1292 continue/quit query. Update copyright.
1293
fe6fdd96
MS
12942002-01-14 Michael Snyder <msnyder@redhat.com>
1295
1296 * gdb.base/gcore.exp: Remove extra debugging output.
1297
e017c81f
DJ
12982002-01-13 Daniel Jacobowitz <drow@mvista.com>
1299
1300 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1301 for slightly dubious v2 mangled string.
1302
37ab3bf8
DJ
13032002-01-13 Daniel Jacobowitz <drow@mvista.com>
1304
1305 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1306
1bc05c3a 13072002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1308
1bc05c3a 1309 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1310
1bc05c3a
JM
1311 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1312 constructors.
1313 * gdb.c++/derivation.exp: Likewise.
1314 * gdb.c++/templates.exp: Likewise.
1315 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1316
1bc05c3a
JM
13172002-01-10 Michael Snyder <msnyder@redhat.com>
1318
1319 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1320
a911c360
MS
13212002-01-08 Michael Snyder <msnyder@redhat.com>
1322
1323 * gdb.base/gcore.exp: New test for generate-core-file command.
1324 * gdb.base/gcore.c: Testcase for above.
1325 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1326
ea2119ec
JM
13272002-01-08 Jason Merrill <jason@redhat.com>
1328
1329 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1330
68203136
FF
13312002-01-07 Fred Fish <fnf@redhat.com>
1332
1333 * gdb.c++/overload.exp: Remove unconditional xfails for:
1334 print foo_instance1.overloadargs(1)
1335 print foo_instance1.overloadargs(1, 2)
1336 print foo_instance1.overloadargs(1, 2, 3)
1337 print foo_instance1.overloadargs(1, 2, 3, 4)
1338 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1339 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1340 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1341 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1342 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1343 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1344 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1345 print foo_instance1.overload1arg()
1346 print foo_instance1.overload1arg((char)arg2)
1347 print foo_instance1.overload1arg((signed char)arg3)
1348 print foo_instance1.overload1arg((unsigned char)arg4)
1349 print foo_instance1.overload1arg((int)arg7)
1350 print foo_instance1.overload1arg((unsigned int)arg8)
1351 print foo_instance1.overload1arg((float)arg11)
1352 print foo_instance1.overload1arg((double)arg12)
1353
21b9b5b1
MS
13542002-01-07 Michael Snyder <msnyder@redhat.com>
1355
1356 * gdb.base/huge.exp: New test. Print a very large target data object.
1357 (skip_huge_test): New test variable. Define if you want to skip this
1358 test. The test reads an 8 megabyte data object from the target, so it
1359 might be very time consuming on remote targets with a slow connection.
1360 * gdb.base/huge.c: New file. Test case for above.
1361
725f922e
FF
13622002-01-07 Fred Fish <fnf@redhat.com>
1363
1364 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1365 g_instance.bfoo, and g_instance.cfoo.
1366
634d57ec
JL
1367Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1368
f286b2c3
JL
1369 * gdb.base/break.c (multi_line_if_conditional): New function.
1370 (multi_ilne_while_conditional): Likewise.
1371 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1372 IF or WHILE condition puts the breakpoint at the start of
1373 the condition.
1374
634d57ec
JL
1375 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1376 hppa*-*-hpux* expected failure.
1377 * gdb.base/structs.exp (do_function_calls): Similarly.
1378
1379 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1380 watchpoints.
1381
9fbfe2dc
AC
13822002-01-06 Andrew Cagney <ac131313@redhat.com>
1383
1384 Fix PR gdb/66.
1385 * gdb.base/structs.exp: Replace skip for a29k with skip for
1386 gdb,cannot_call_functions.
1387 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1388 * gdb.base/callfuncs.exp: Ditto.
1389 * gdb.base/call-rt-st.exp: Ditto.
1390 * gdb.base/call-strs.exp: Ditto.
1391 * gdb.base/callfwmall.exp: Ditto.
1392 * gdb.base/scope.exp: Obsolete xfail a29k.
1393 * gdb.c++/misc.exp: Ditto.
1394 * gdb.c++/cplusfuncs.exp: Ditto.
1395 * gdb.base/ptype.exp: Ditto.
1396 * gdb.base/printcmds.exp: Ditto.
1397 * gdb.base/opaque.exp: Ditto.
1398 * gdb.base/list.exp: Ditto.
1399 * gdb.base/funcargs.exp: Ditto.
1400 * gdb.base/default.exp: Ditto.
1401
8ddad156
MS
14022002-01-04 Michael Snyder <msnyder@redhat.com>
1403
ca4976a6 1404 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1405 * gdb.base/maint.exp: Add tests for maint info sections options.
1406
1b074332
JL
1407Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1408
1409 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1410
7d159115
CV
14112001-12-20 Corinna Vinschen <vinschen@redhat.com>
1412
1413 * gdb.asm/arm.inc: New file.
1414 * gdb.asm/asm-source.exp: Add arm targets.
1415 * gdb.asm/configure.in: Ditto.
1416 * gdb.asm/configure: Recreated from configure.in.
1417
8fb87725
JL
1418Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1419
afabe08c
JL
1420 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1421 with HP's compiler.
1422 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1423 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1424 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1425 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1426
1427 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1428 either HP's compilers or GCC.
1429
db521deb
JL
1430 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1431 a SIGBUS or SIGSEGV.
1432
1433 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1434
1435 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1436 can be compiled with either HP's compiler or GCC.
1437
cfa88ab7
JL
1438 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1439 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1440 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1441
ca344dff
JL
1442 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1443 to match current gdb output. Update due to using auto-solib-limit
1444 for limiting instead of overloading auto-solib-add.
1445 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1446 test program.
1447
3f3c6e55 1448 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1449 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1450 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1451 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1452 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1453 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1454 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1455 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1456 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1457 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1458 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1459 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1460 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1461
8fb87725
JL
1462 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1463 a SIGTRAP to the inferior.
1464
cf599fa7
CV
14652001-12-19 Corinna Vinschen <vinschen@redhat.com>
1466
1467 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1468 Substitute call to target_link by call to gdb_compile.
1469
2cd045cd
JL
1470Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1471
1472 * gdb.base/break.exp: Fix HP specific search string when testing
1473 backtracing in a called function.
1474
1475 * gdb.base/constvars.exp: Only set lang to C++ if we're
1476 compiling the test with HP's compilers.
1477 * gdb.base/volatile.exp: Similarly.
1478
99ebe9ac
JB
14792001-12-19 Jim Blandy <jimb@redhat.com>
1480
1481 * gdb.base/printcmds.exp: Expect the null character to be printed
1482 as '\0', and the '\013' to be printed as '\v'.
1483 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1484 * gdb.base/setvar.exp: Same.
1485
b9891b29
JB
14862001-12-17 Jim Blandy <jimb@redhat.com>
1487
0eba65ab
JB
1488 * gdb.base/completion.exp: Rather than completing very long
1489 filenames, which can make the readline library produce output we
1490 don't recognize, cd to the directory first, and then complete
1491 using nice, short relative paths.
1492
6970b5b1
JB
1493 * gdb.base/completion.exp: On some systems, there is, in fact, a
1494 variable named `b' in scope, since GDB treats all static
1495 variables as being in scope. So use `no_var_named_this'
1496 instead of `b'.
1497
b9891b29
JB
1498 * gdb.base/corefile.exp: Recognize the message saying that GDB
1499 can't find the core file's registers as a failure.
1500
e6ccd35f
JSC
15012001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1502
1503 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1504 test expect string more specific.
1505
105ba819
CV
15062001-12-13 Corinna Vinschen <vinschen@redhat.com>
1507
1508 * gdb.asm/asm-source.exp: Add support for xstormy16.
1509 * gdb.asm/configure.in: Ditto.
1510 * gdb.asm/configure: Rebuild.
1511 * gdb.asm/xstormy16.inc: New file.
1512
e9e79dd9
FF
15132001-12-10 Fred Fish <fnf@redhat.com>
1514
1515 * gdb.base/maint.exp: Update to match changes in type dumping code.
1516
347dc97d
JB
15172001-12-10 Jim Blandy <jimb@redhat.com>
1518
1519 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1520 matching the entry point symbol's name at the beginning of the
1521 line.
1522
5178b9d6
DJ
15232001-12-07 Daniel Jacobowitz <drow@mvista.com>
1524
1525 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1526 gdb.c++/inherit.exp, gdb.c++/method.exp,
1527 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1528 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1529 and class layout support.
1530
af890c52
DJ
15312001-12-07 Daniel Jacobowitz <drow@mvista.com>
1532
1533 * gdb.c++/classes.exp: Add test for static member function.
1534 * gdb.c++/misc.cc: Add class with static member function.
1535
7a345fb3
JB
15362001-12-07 Jim Blandy <jimb@redhat.com>
1537
f2e54a80 1538 If GDB says it can't find the struct the function returned, report
8032bf31
JB
1539 those tests as `unsupported'.
1540 * gdb.base/call-rt-st.exp (print_struct_call): New function.
1541 Rewrite subsequent tests to use it.
1542
1543 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
1544 those tests as `unsupported'.
1545 * gdb.base/structs.exp (call_struct_func): New function.
1546 (do_function_calls): Use call_struct_func to call the functions
1547 returning structs.
1548
0bc69509
JB
1549 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
1550 whether functions are prototyped or not, so we can't possibly pass
1551 arguments to t_float_values2 properly.
1552
7a345fb3
JB
1553 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
1554 value of `timeout' for targets other than the mips*tx39-*.
1555
edb6ede1
MS
15562001-12-06 Michael Snyder <msnyder@redhat.com>
1557
1558 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
1559 and detect whether the start symbol has a leading underscore.
1560
2d842f13
JB
15612001-12-04 Jim Blandy <jimb@redhat.com>
1562
1563 * gdb.base/completion.exp: Clarify indentation.
1564
68550daf
JB
15652001-12-03 Jim Blandy <jimb@redhat.com>
1566
1567 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
1568 variables on the S/390, not `.word'.
1569
cd5195a8
JB
15702001-11-30 Jim Blandy <jimb@redhat.com>
1571
1572 Add assembly-source tests for s390-ibm-linux.
1573 * gdb.asm/s390.inc: New file.
1574 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
1575 the S/390 architecture.
1576 * gdb.asm/configure: Regenerated.
1577
ca9efc90
MS
15782001-11-30 Michael Snyder <msnyder@redhat.com>
1579
1580 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
1581 next, info source, info sources, info line, global and static
1582 variables, and static functions.
1583 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
1584 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
1585 * gdb.asm/asmsrc1.s: Add a static function and some variables.
1586 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
1587 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
1588 (gdbasm_leave): Restore frame pointer.
1589 (gdbasm_startup): Copy stack set-up from crt0.S.
1590
d0e66976
FN
15912001-11-26 Fernando Nasser <fnasser@redhat.com>
1592
1593 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
1594 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
1595 to a local (non-static) variable. Copy tstruct.a to a static buffer
1596 and return a pointer to that buffer.
1597 * gdb.base/callfwmall.c (t_structs_a): Ditto.
1598
e2334072
MK
15992001-11-24 Mark Kettenis <kettenis@gnu.org>
1600
1601 * gdb.asm/configure.in: Fix recognition of ix86 target.
1602 * gdb.asm/configure: Regenerate.
1603
756caa3d
MS
16042001-11-21 Michael Snyder <msnyder@redhat.com>
1605
1606 * gdb.asm/sparc.inc: New file.
1607 * gdb.asm/asm-source.exp: Recognize sparc target.
1608 * gdb.asm/configure.in: Recognize sparc target.
1609 * gdb.asm/configure: Regenerate.
1610
9a4d72d5
MS
16112001-11-21 Michael Snyder <msnyder@redhat.com>
1612
1613 * gdb.asm/m32r.inc: New file.
1614 * gdb.asm/asm-source.exp: Recognize m32r target.
1615 * gdb.asm/configure.in: Recognize m32r target.
1616 * gdb.asm/configure: Regenerate.
1617
a773d1cd
MS
16182001-11-20 Michael Snyder <msnyder@redhat.com>
1619
017ac23d
MS
1620 * gdb.asm/i386.inc: New file.
1621 * gdb.asm/asm-source.exp: Recognize ix86 target.
1622 * gdb.asm/configure.in: Recognize ix86 target.
1623 * gdb.asm/configure: Regenerate.
1624
a773d1cd
MS
1625 * gdb.c++/namespace.exp: Fix quotes in output messages.
1626
bb632afb
MS
16272001-11-14 Michael Snyder <msnyder@redhat.com>
1628
25d559ca 1629 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
1630 qualifier in a type cast expression, to designate an address
1631 in the instruction space (Harvard architecture).
1632
4749e309
MS
16332001-11-13 Michael Snyder <msnyder@redhat.com>
1634
1635 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
1636 Tests for expressions using 'const' and 'volatile'.
1637
25050984
CV
16382001-11-13 Corinna Vinschen <vinschen@redhat.com>
1639
1640 * gdb.asm/asm-sources.exp: Allow defining linker flags.
1641
1902c51f
DJ
16422001-11-12 Daniel Jacobowitz <drow@mvista.com>
1643
1644 * lib/mi-support.exp (mi_run_to_helper): Move comments
1645 outside of gdb_expect.
1646
dcf95b47
DJ
16472001-11-11 Daniel Jacobowitz <drow@mvista.com>
1648
1649 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
1650 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
1651 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
1652 mi0_run_to): New functions.
1653 * gdb.mi/mi-simplerun.exp: Use them.
1654 * gdb.mi/mi0-simplerun.exp: Likewise.
1655 * gdb.mi/mi-var-cmd.exp: Likewise.
1656 * gdb.mi/mi0-var-cmd.exp: Likewise.
1657
45b074e1
AC
16582001-11-10 Andrew Cagney <ac131313@redhat.com>
1659
1660 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
1661 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
1662
bf50d346
AC
16632001-11-09 Andrew Cagney <ac131313@redhat.com>
1664
1665 * gdb.base/restore.exp: Include $expected value in restored test
1666 message.
1667
9383332c
AC
16682001-11-09 Andrew Cagney <ac131313@redhat.com>
1669
1670 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
1671 implemented.
1672
db62520a
MS
16732001-11-08 Michael Snyder <msnyder@redhat.com>
1674
1675 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
1676 Add pass/fail message for stop at breakpoint in call dummy function.
1677
b5703437
MS
16782001-11-07 Michael Snyder <msnyder@redhat.com>
1679
760f6330
MS
1680 * gdb.c++/templates.exp (test_template_breakpoints):
1681 If we get an overload menu, but it does not match what
1682 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
1683 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
1684 making the whitespace optional. Argument for "new" may be
1685 "unsigned" as well as "unsigned int/long".
eef747c0
MS
1686 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
1687 making the whitespace optional. Also replace "(void) with
1688 "((void|)), making the keyword "void" optional.
63f50499
MS
1689 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
1690 making the whitespace optional. Also replace "(void) with
1691 "((void|)), making the keyword "void" optional.
3bf40917
MS
1692 * gdb.base/callfuncs.c (t_float_values): This function must
1693 _not_ be prototyped, and the following function (t_float_values2)
1694 must be prototyped (if the compiler supports it), so that GDB
1695 can be tested against both cases. Usually one case involves
1696 promotion of float to double, while the other does not.
1697 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
1698 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
1699 includes a stack frame for "start".
1700
c8ab4e6d
JB
17012001-11-05 Jim Blandy <jimb@redhat.com>
1702
1703 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
1704 pointers are 32 bits long, and that offsets of relocs are always
1705 stored in the data (REL-style), and not in the reloc entry itself
1706 (RELA-style).
1707 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
1708 stabs.
1709
3f08ced9
MS
17102001-11-01 Michael Snyder <msnyder@redhat.com>
1711
1712 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
1713 and regular expression operators by using quoting.
1714
cbfa24cd
MS
17152001-10-31 Michael Snyder <msnyder@redhat.com>
1716
1717 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
1718 depending on what the symbol table contains.
1719 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
1720 the output of the ptype command. Similarly, accept both "const &"
1721 and "const&".
1722
aaa68313
CV
17232001-10-31 Corinna Vinschen <vinschen@redhat.com>
1724
1725 * gdb.base/miscexprs.c (main): Add usage of preprocessor
1726 symbol `STORAGE' to allow to choose the storage class of
1727 the local datastructures.
1728 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
1729 compiler directive.
1730
91740388
MS
17312001-10-30 Michael Snyder <msnyder@redhat.com>
1732
1733 * gdb.base/jump.exp: Allow it to run for all targets.
1734
1b7c05e7
CV
17352001-10-29 Corinna Vinschen <vinschen@redhat.com>
1736
1737 * gdb.base/call-ar-st.c (print_double_array): Match for loop
1738 with new double_array size.
1739 (main): Change storage class of all local variables to static.
1740 Reduce size of double_array to 9.
1741 * gdb.base/call-ar-st.exp: Increase timeout value.
1742 Change expected output for double array to match new size in
1743 call-ar-st.c.
1744
36a22261
CV
17452001-10-29 Corinna Vinschen <vinschen@redhat.com>
1746
1747 * gdb.base/ending-run.exp: Create identical output when passing
1748 `step to end of run' case. Add regular expression branch satisfying
1749 Stormy16 target.
1750
92b8ae91
MK
17512001-10-28 Mark Kettenis <kettenis@gnu.org>
1752
1753 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
1754 that we catch the expected failure under Linux/x86.
1755
cb135b83
OF
17562001-10-29 Orjan Friberg <orjanf@axis.com>
1757
1758 * gdb.base/setvar.exp: Escape curly braces.
1759 * gdb.stabs/weird.exp: Ditto.
1760
6884aa54
DJ
17612001-10-27 Daniel Jacobowitz <drow@mvista.com>
1762
1763 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
1764 * gdm.mi/mi0-hack-cli.exp: Likewise.
1765
0398c9aa
AC
17662001-10-25 Andrew Cagney <ac131313@redhat.com>
1767
1768 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
1769 messages.
1770
d20bf2e8
AC
17712001-10-21 Andrew Cagney <ac131313@redhat.com>
1772
1773 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
1774 checking MI enabled.
1775
03dd63aa
CV
17762001-10-09 Corinna Vinschen <vinschen@redhat.com>
1777
1778 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
1779
1d9d99f3
FCE
17802001-10-04 Frank Ch. Eigler <fche@redhat.com>
1781
1782 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
1783 if gdb child process crashes, just signal an error.
1784
838ae6c4
JB
17852001-10-02 Jim Blandy <jimb@redhat.com>
1786
1787 * lib/gdb.exp (test_xfail_format): Simplify.
1788
1789 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
1790 front of the variable name `format'. Simplify `if'.
1791
8f0cbc1c
DJ
17922001-10-01 Daniel Jacobowitz <drow@mvista.com>
1793
1794 * gdb.threads/pthreads.exp: Wait for output and delay
1795 before sending ^C.
1796
1f08dafd
DJ
17972001-10-01 Daniel Jacobowitz <drow@mvista.com>
1798
1799 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
1800 some incorrect output instead of timing out.
1801 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
1802
674f90ff
CV
18032001-09-28 Corinna Vinschen <vinschen@redhat.com>
1804
1805 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
1806 check to allow additional `int'.
1807
9b284272
DJ
18082001-09-27 Daniel Jacobowitz <drow@mvista.com>
1809
1810 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
1811 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
1812
b55a4771
MS
18132001-09-27 Michael Snyder <msnyder@redhat.com>
1814
1815 * lib/gdb.exp (test_debug_format): New proc.
1816 (setup_xfail_format): Use new proc test_debug_format.
1817 * gdb.base/constvars.exp (local_compiler_xfail_check): New
1818 proc; use new service proc test_debug_format.
1819 Replace all other "gcc_compiled" tests with this test.
1820 * gdb.base/volatile.exp (local_compiler_xfail_check): New
1821 proc; use new service proc test_debug_format.
1822 Replace all other "gcc_compiled" tests with this test.
1823
18242001-09-27 Michael Snyder <msnyder@redhat.com>
1825
1826 * gdb.base/cvexpr.exp: New file.
1827 * gdb.base/cvexpr.c: New file
1828 Test for expressions using const and volatile keywords.
1829
4e6667ac
CV
18302001-09-26 Corinna Vinschen <vinschen@redhat.com>
1831
1832 * gdb.base/constvars.exp: Check for different orders of keywords
1833 and additional "int" strings in output.
1834
4f337972
AC
18352001-09-22 Andrew Cagney <ac131313@redhat.com>
1836
1837 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
1838 responses from "help maint".
1839
2015650d
FCE
18402001-09-19 Frank Ch. Eigler <fche@redhat.com>
1841
1842 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
1843 to localhost:NNN instead of :NNN, in case Xvfb is listening
1844 only on TCP.
1845
f3bcedc1
CV
18462001-09-19 Corinna Vinschen <vinschen@redhat.com>
1847
1848 * gdb.base/recurse.exp: When checking leaving the watchpoint
1849 scope, recognize when gdb is in function's epilogue and pass.
1850
6b819c92
KS
18512001-09-18 Keith Seitz <keiths@redhat.com>
1852
1853 * lib/insight-support.exp (_gdbtk_export_target_info): Add
1854 support for running tests against sid targets.
1855 (gdbtk_done): Ditto.
1856
a10c9419
CV
18572001-09-18 Corinna Vinschen <vinschen@redhat.com>
1858
1859 * gdb.base/ending-run.c (main): Set stdout buffersize
1860 to the same reasonable value for any target.
1861 * gdb.base/ending-run.exp: Add a regular expression
1862 to make testsuite happy on Sanyo Stormy16 target.
1863
739d0d99
CV
18642001-09-17 Corinna Vinschen <vinschen@redhat.com>
1865
1866 * gdb.base/display.c (do_loops): Add float variable `f'.
1867 Increment f in loop.
1868 * gdb.base/display.exp: Increment timeout by 60 seconds.
1869 Change float display test to use variable `f'.
1870
1b8947f0
JB
18712001-09-17 Jim Blandy <jimb@redhat.com>
1872
1873 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
1874 overflowing the limited breakpoint tables on some ROM monitors
1875 (like the ROM68K).
1876
9890ac81
FCE
18772001-09-15 Frank Ch. Eigler <fche@redhat.com>
1878
1879 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
1880 the "-ac" (disable access control) flag.
1881
6db765ea
JH
18822001-08-30 Jeff Holcomb <jeffh@redhat.com>
1883
1884 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
1885 ints.
1886
4c32cc04
KS
18872001-08-30 Keith Seitz <keiths@redhat.com>
1888
1889 * lib/gdb.exp: Move all insight-related functionality into
1890 separate file.
1891 * lib/insight-support.exp: New file.
1892
8d6e6f81
FCE
18932001-08-29 Frank Ch. Eigler <fche@redhat.com>
1894
1895 * config/sid.exp (sid_start): Never set sid verbosity; disable
1896 expect_background {} that consumed its stdout; tolerate </dev/null.
1897 Attempt to set endianness override in "sid" protocol mode. Cleanup.
1898
6a90e1d0
AC
18992001-08-18 Andrew Cagney <ac131313@redhat.com>
1900
1901 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
1902 CLI jump command to start it.
1903 (mi_run_to_main): Fail immediatly when unexpected output.
1904
1759b3c3
AC
19052001-08-18 Andrew Cagney <ac131313@redhat.com>
1906
1907 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
1908 beginning of function. Fix PR gdb/191.
1909
61d11d80
FCE
19102001-08-16 Frank Ch. Eigler <fche@redhat.com>
1911
1912 * config/sid.exp (sid_start): Don't warn if we cannot figure out
1913 what to force sid endianness to.
1914
942a4df2
KS
19152001-08-15 Keith Seitz <keiths@redhat.com>
1916
1917 * lib/gdb.exp (gdbtk_start): Don't set environment
1918 variables for TCL_LIBRARY and friends. Insight will
1919 now figure these out for itself.
1920
0521c418
MS
19212001-08-02 Michael Snyder <msnyder@redhat.com>
1922
1923 * gdb.base/completion.exp: Remove the symbol "a64l" from
1924 the expect string; this is target-specific, and not related
1925 to what is being tested.
1926
74a9a58a
DB
19272001-08-02 Dave Brolley <brolley@redhat.com>
1928
1929 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
1930
c70819fa
MS
19312001-07-25 Michael Snyder <msnyder@redhat.com>
1932
c2b8fa57
MS
1933 * gdb.base/consecutive.exp: New file. Test stepping over
1934 breakpoints on consecutive instructions.
1935 * gdb.base/consecutive.c: New file.
1936
c70819fa
MS
1937 * gdb.base/call-rt-st.exp: Use double-backslash to quote
1938 curly braces in regular expressions.
1939
2b1a1355
MS
19402001-07-25 Michael Snyder <msnyder@redhat.com>
1941
1942 * gdb.base/ending-run.exp: Accept "Program exited normally" as
1943 legitimate output from stepping out of main.
1944
413eca6f
KS
19452001-07-22 Keith Seitz <keiths@redhat.com>
1946
1947 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
1948 the empty string, do not run the tests.
1949
7e5a9322
SC
19502001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1951
1952 * gdb.base/long_long.exp: Detect size of pointer. Take into
1953 account 2-byte pointers when testing for p/a results.
1954
de58f10f
SC
19552001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1956
1957 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
1958 and defined to 1K for m68hc11.
1959 (random_data): Reduce table to 1K for embedded platforms (68hc11).
1960 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
1961 (sizeof_random_data): New variable to tell the size of the data table;
1962 don't test past this size; always run to main.
1963
d6f5fea1
SC
19642001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1965
1966 * gdb.base/return2.exp: return of long long and double fails for
1967 68HC11; don't execute these tests on that platform.
1968 * gdb.base/return.exp: Return of a double fails for 68hc11.
1969
c477543d
SC
19702001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1971
1972 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
1973 tests that print a float.
1974 * call-rt-st.exp: Likewise.
1975
63cf1c79
MK
19762001-07-12 Mark Kettenis <kettenis@gnu.org>
1977
1978 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
1979 running this test on Linux.
1980
112f9ab5
MC
19812001-06-24 Michael Chastain <chastain@redhat.com>
1982
1983 * gdb.base/arithmet.exp: Remove some tests to make all test names
1984 unique.
1985
4970cb0f
MS
19862001-07-03 Michael Snyder <msnyder@redhat.com>
1987
1988 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
1989 the output of the ptype command.
1990
d85da69f
MS
19912001-07-02 Michael Snyder <msnyder@redhat.com>
1992
4c8a82de
MS
1993 * gdb.base/completion.exp: Don't assume that break.c is the only
1994 source file that may contain functions named "marker".
d85da69f
MS
1995 * gdb.base/corefile.exp: Quote the curly braces in regexp.
1996
8afc772b
AC
19972001-06-28 Andrew Cagney <ac131313@redhat.com>
1998
1999 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2000 of files to delete.
2001
2002 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2003 * gdb.disasm/h8300s.exp: New file.
2004 gdb.disasm/h8300s.s: Likewise.
2005
cff22675
AC
20062001-06-27 Andrew Cagney <ac131313@redhat.com>
2007
2008 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2009 empty breakpoint tables.
2010
68c81b54
AC
20112001-06-25 Andrew Cagney <ac131313@redhat.com>
2012
2013 * lib/mi-support.exp: Update args=... part of stop-reason
2014 patterns. Accept either a list or a tuple.
2015
2dd62704
AC
20162001-06-23 Andrew Cagney <ac131313@redhat.com>
2017
2018 * lib/mi-support.exp: Remove local emacs variable defining
2019 change-log-default-name.
2020
b4127474
MC
20212001-06-22 Michael Chastain <chastain@redhat.com>
2022
2023 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2024 This is operationally compatible with the previous version.
2025
8dbfb380
JB
20262001-06-13 Jim Blandy <jimb@redhat.com>
2027
2028 * lib/gdb.exp (gdb_test): Doc fix.
2029
f2d8c86d
MC
20302001-06-10 Michael Chastain <chastain@redhat.com>
2031
2032 * gdb.base/exprs.exp: Remove a duplicate test.
2033
81564d34
JB
20342001-06-06 Jim Blandy <jimb@redhat.com>
2035
2036 * gdb.base/return2.exp (main): Use values to test float and double
2037 returns that are not NaN's, to avoid being confused by IEEE
2038 comparison rules.
2039
da55addb
MS
20402001-06-04 Michael Snyder <msnyder@redhat.com>
2041
2042 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2043 non-zero if control_c fails. Terminate the test on failure,
2044 rather than wait for 12 more tests to time out.
2045
42c65987
JB
20462001-06-06 Jim Blandy <jimb@redhat.com>
2047
b18bced9
JB
2048 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2049 Don't forget to match the GDB prompt.
2050
42c65987
JB
2051 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2052
5b41e5f0
JB
20532001-06-04 Jim Blandy <jimb@redhat.com>
2054
2055 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2056 command.
2057
015e046f
KB
20582001-05-31 Kevin Buettner <kevinb@redhat.com>
2059
2060 * gdb.base/annota1.exp (info break): Match four or more spaces
2061 after "Address".
2062
fb1ffbbe
MC
20632001-05-31 Michael Chastain <chastain@redhat.com>
2064
2065 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2066 (dm_type_int_star): Likewise.
2067 (dm_type_long_star): Likewise.
2068 (dm_type_void_star): Likewise.
2069
5ea2a32c
KB
20702001-05-29 Kevin Buettner <kevinb@redhat.com>
2071
2072 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2073 to a known value in order to get consistent results regardless
2074 of the setting of INPUTRC or the presence or contents of .inputrc.
2075
ae23c492
MS
20762001-05-24 Michael Snyder <msnyder@redhat.com>
2077
ac55707e
MS
2078 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2079 Don't require that the main thread and the manager thread are the
2080 first in the list.
2081
ae23c492
MS
2082 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2083 debugging. If test fails, issue an "unsupported" not a "fail".
2084
400071f1
JB
20852001-05-24 Jim Blandy <jimb@redhat.com>
2086
2087 Don't assume that short is shorter than int.
2088 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2089 assume that shorts are smaller than ints. On a 16-bit machine,
2090 this isn't true.
2091 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2092 an int, is not equal to ~0 stored in an unsigned char. This tests
2093 the same thing that the previous test meant to, but works on
2094 16-bit machines, too.
2095 ("print unsigned char != (~0)"): Same test, complemented.
2096
0816a3e5
MS
20972001-05-24 Michael Snyder <msnyder@redhat.com>
2098
2099 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2100 test for (full_coverage == 0). This makes the test run faster,
2101 and prevents dejagnu getting out of step.
2102
f6dc23a9
KB
21032001-05-23 Kevin Buettner <kevinb@redhat.com>
2104
2105 * gdb.base/finish.exp (finish_void): Revise pattern for
2106 stopping on the call statement to not permit stopping at
2107 the start of the instructions comprising the call sequence.
2108
7dbd117d
MC
21092001-05-19 Michael Chastain <chastain@redhat.com>
2110
2111 * gdb.base/callfuncs.exp: Make all test names unique.
2112 * gdb.base/commands.exp: Make all test names unique.
2113 * gdb.base/condbreak.exp: Make all test names unique.
2114 * gdb.base/dbx.exp: Make all test names unique.
2115 * gdb.base/default.exp: Make all test names unique.
2116 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2117 and TIMEOUT messages to their corresponding PASS message.
2118 * gdb.base/ending-run.exp: Make all test names unique.
2119 * gdb.base/long_long.exp: Remove duplicate test.
2120
6b0b0a9e
KB
21212001-05-21 Kevin Buettner <kevinb@redhat.com>
2122
2123 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2124 stop on the call statement as well as the statement after the
2125 call.
2126
2caa35cb
MS
21272001-05-21 Michael Snyder <msnyder@redhat.com>
2128
2129 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2130
40713331
EZ
21312001-05-10 Elena Zannoni <ezannoni@redhat.com>
2132
2133 * gdb.base/completion.exp: Revamp test. Make it execute on all
2134 platforms.
2135
c2c1be8d
EZ
21362001-05-10 Elena Zannoni <ezannoni@redhat.com>
2137
2c9cd303
EZ
2138 * config/gdbserver.exp (gdb_load): Handle the case
2139 in which the arguments to gdbserver are given in the
2140 baseboard configuration file.
2141 Also handle the case in which the server needs to do a
2142 load.
2143
9671de48
KS
21442001-05-07 Keith Seitz <keiths@cygnus.com>
2145
2146 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2147 set up the display for testing.
2148 (gdbtk_start): Convert all paths to paths that tcl will like.
2149 Export target information to environment.
2150 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2151 necessary.
2152 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2153 (to_tcl_path): New proc to convert a given pathname into
2154 a path acceptible as an argument to a tcl command.
2155 (_gdbtk_export_target_info): New proc to export target info
2156 into the environment for gdbtk testing.
2157 (gdbtk_done): New proc to signal end-of-test.
2158
5a360f47
JB
21592001-05-06 Jim Blandy <jimb@redhat.com>
2160
2161 * restore.c: Make the code of caller0 correspond to its comment.
2162
66c756c6
MS
21632001-05-03 Michael Snyder <msnyder@redhat.com>
2164
2165 * config/sid.exp (gdb_target_sid): Check for error messages.
2166 On error or timeout, don't make expect exit (which will terminate
2167 all subsequent tests); instead just make gdb exit.
2168 (gdb_load): Check for error messages. On error or timeout,
2169 return a negative value.
2170
a966fde5
JB
21712001-04-24 Jim Blandy <jimb@redhat.com>
2172
851c18e0
JB
2173 * gdb.c++/templates.exp: If we see the prompt for the overload
2174 list, but we haven't recognized any of the longer patterns,
2175 arrange for this test to fail, not hang.
2176
a966fde5
JB
2177 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2178 variations.
2179
db144853
MC
21802001-04-22 Michael Chastain <chastain@redhat.com>
2181
2182 * gdb.c++/local.exp: Use the 'runto' library function.
2183 * gdb.c++/namespace.exp: Likewise.
2184 * gdb.c++/overload.exp: Likewise.
2185
3207ec21
KB
21862001-03-26 Kevin Buettner <kevinb@redhat.com>
2187
2188 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2189 * gdb.base/step-line.exp: New file. Test step/next in presence of
2190 #line directives.
2191 * gdb.base/step-line.c: New file. Test program for the above.
2192 * gdb.base/step-line.inp: New file. We pretend that this file has
2193 been transformed by some other tool into step-line.c.
2194
13b57657
JB
21952001-03-21 Jim Blandy <jimb@redhat.com>
2196
2197 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2198 unmangled operator names.
2199
754cbe1c
JB
22002001-03-20 Jim Blandy <jimb@redhat.com>
2201
2202 * gdb.threads/linux-dp.exp: Recognize an additional message
2203 generated by GDB when it doesn't understand how to debug threads
2204 on the target system.
2205
177495c9
AC
22062001-03-19 Andrew Cagney <ac131313@redhat.com>
2207
2208 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2209
f266096b
MC
22102001-03-12 Michael Chastain <chastain@redhat.com>
2211
2212 * gdb.c++/derivation.exp: Use the 'runto' library function.
2213
cac3c2ff
MC
22142001-03-12 Michael Chastain <chastain@redhat.com>
2215
2216 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2217
b6c11a24
MC
22182001-02-24 Michael Chastain <chastain@redhat.com>
2219
2220 * gdb.c++/ref-types.exp: Change handwritten code to library
2221 function 'runto'.
2222
6bae5bce
OF
22232001-03-16 Orjan Friberg <orjanf@axis.com>
2224
2225 * gdb.base/signals.exp: Set count to 0 explicitly.
2226
0015fd9a
MS
22272001-03-15 Mark Salter <msalter@redhat.com>
2228
2229 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2230 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2231 (gdb_load): Add support for additional target_info: gdb_download_size
2232 and gdb_load_timeout.
0015fd9a 2233
fc33412a
DT
2234Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2235
2236 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2237 file -- to prevent failing when the compile fails but we have no
2238 intention of running the tests anyway.
2239
2240 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2241 tests if set.
2242
2243 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2244 integers.
2245
2246 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2247 * gdb.c++/namespace.exp: Ditto.
2248
115f06de
OF
22492001-03-07 Orjan Friberg <orjanf@axis.com>
2250
2251 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2252 * gdb.base/pointers.exp: Relax pattern match of decimals.
2253
b6ba6518
KB
22542001-03-06 Kevin Buettner <kevinb@redhat.com>
2255
2256 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2257 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2258 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2259 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2260 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2261 config/sh.exp, config/sid.exp, config/slite.exp,
2262 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2263 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2264 config/vxworks.exp, config/vxworks29k.exp,
2265 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2266 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2267 gdb.base/arithmet.exp, gdb.base/assign.exp,
2268 gdb.base/async.exp, gdb.base/attach.exp,
2269 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2270 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2271 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2272 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2273 gdb.base/commands.exp, gdb.base/completion.exp,
2274 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2275 gdb.base/constvars.exp, gdb.base/corefile.exp,
2276 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2277 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2278 gdb.base/ending-run.exp, gdb.base/environ.exp,
2279 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2280 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2281 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2282 gdb.base/funcargs.exp, gdb.base/help.exp,
2283 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2284 gdb.base/logical.exp, gdb.base/long_long.exp,
2285 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2286 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2287 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2288 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2289 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2290 gdb.base/regs.exp, gdb.base/relational.exp,
2291 gdb.base/remote.exp, gdb.base/reread.exp,
2292 gdb.base/restore.exp, gdb.base/return2.exp,
2293 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2294 gdb.base/selftest.exp, gdb.base/setshow.exp,
2295 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2296 gdb.base/sigall.exp, gdb.base/signals.exp,
2297 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2298 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2299 gdb.base/step-test.exp, gdb.base/structs.c,
2300 gdb.base/structs.exp, gdb.base/structs2.exp,
2301 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2302 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2303 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2304 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2305 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2306 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2307 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2308 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2309 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2310 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2311 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2312 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2313 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2314 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2315 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2316 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2317 gdb.trace/circ.exp, gdb.trace/collection.exp,
2318 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2319 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2320 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2321 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2322 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2323 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2324 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2325 notices.
2326
dc96c6c7 23272001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2328
2329 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2330 first arg is int not float.
2331
dc96c6c7 23322001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2333
2334 * gdb.base/reread.exp: Unsupported for non-native targets;
2335 doesn't work for remote debugging.
2336
9b0c4aeb
FN
23372001-02-19 Fernando Nasser <fnasser@redhat.com>
2338
2339 From Drew Moseley <dmoseley@redhat.com>
2340 * gdb.base/ending-run.exp: Properly handle the BSP state when
2341 stepping past the end of main.
2342
02aa71d5
MC
23432001-02-19 John Moore <jmoore@redhat.com>
2344
2345 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2346 Converted HPUX fix for non-expected items following multiple
2347 step commands into general solution for all platforms.
2348
1fa449a4
MC
23492001-02-18 Michael Chastain <chastain@redhat.com>
2350
2351 * gdb.c++/classes.exp (do_tests): Change runto statements
2352 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2353 statements demangler agnostic.
2354 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2355 (gdb_virtfunc_restart): Likewise.
2356
b2f9ec70
MC
23572001-02-14 Michael Chastain <chastain@redhat.com>
2358
2359 * gdb.c++/inherit.exp (do_tests): Change runto statements
2360 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2361 statements demangler agnostic.
2362
cf74b8ca
AC
2363Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2364
2365 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2366 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2367 before calling common_routine 15 times'' tests.
2368
99f78f56
MC
23692001-02-11 Michael Chastain <chastain@redhat.com>
2370
2371 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2372 Helps the test script figure out which demangler is in use.
2373 (dm_type_foo_ref): Ditto.
2374 (dm_type_int_star): Ditto.
2375 (dm_type_long_star): Ditto.
2376 (dm_type_unsigned_int): Ditto.
2377 (dm_type_void): Ditto.
2378 (dm_type_void_star): Ditto.
99707966 2379 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2380 Probe the gdb demangler and set variables to accommodate
2381 formatting differences.
2382 (info_func_regexp): New function. Same as info_func, but
2383 matches against a regexp.
2384 (info_func): Match against a literal string.
2385 (print_addr_2): New function. Match against a literal string,
2386 which can be different from the input to gdb.
2387 (print_addr): Simply call print_addr_2 with the same argument twice.
2388 (test_lookup_operator_functions): Use demangler formatting variables.
2389 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2390 the tests in the same order as the C++ class declaration.
2391 (test_paddr_operator_functions): Ditto.
2392 (test_paddr_overloaded_functions): Ditto.
2393 (test_paddr_hairy_functions): Use demangler formatting variables.
2394 Add reference to gdb/19 for related tests.
2395 (do_tests): Call probe_demangler.
2396
1de8f023
KB
23972001-01-30 Kevin Buettner <kevinb@redhat.com>
2398
2399 * gdb.c++/templates.cc (printf): Remove unused function definition.
2400
ca3f91ed
MS
24012001-01-26 Felix Lee <flee@redhat.com>
2402
2403 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2404
24052001-01-25 matthew green <mrg@redhat.com>
2406
2407 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2408 up sid.
2409 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2410
24112001-01-25 matthew green <mrg@redhat.com>
2412
2413 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2414 Deprecate $sid_spawn_id.
2415 (sid_exit): Remove code necessary only for `spawn.'
2416
24172001-01-25 matthew green <mrg@redhat.com>
2418
2419 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2420
fb18ec4a
MC
24212001-01-28 Michael Chastain <chastain@redhat.com>
2422
2423 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2424 to call when tests fail. It takes gdb out of the overloaded
2425 function choice menu back to the main prompt, so that the test
2426 program stays synchronized.
2427 (set_bp_overloaded): New proc to collect all the common
2428 code for setting a breakpoint on an overloaded name. Calls
2429 take_gdb_out_of_choice_menu when needed.
2430 (menu_overload1arg): New variable to collect the repeated
2431 instances of the expected menu for an overloaded name. Change
2432 the regular expression to handle changes in g++ type encoding:
2433 "void" can be either "void" or "", and "unsigned int" can be
2434 either "unsigned int" or "unsigned".
2435 (continue_to_bp_overloaded): Change regular expressions to handle
2436 changes in g++ type encoding.
2437 (no proc): Call take_gdb_out_of_choice_menu when needed.
2438 Remove redundant calls to "info break". Accept either "canceled"
2439 or "cancelled". Change regular expressions in "info break"
2440 calls to handle changes in g++ type encoding. Give all tests
2441 unique strings.
2442
9c646a6e
BE
24432001-01-17 Ben Elliston <bje@redhat.com>
2444
2445 * config/sid.exp: New file.
2446
9549d9c1
AC
2447Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2448
2449 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2450
dc96c6c7 24512000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2452
2453 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2454 Add a RE to accept a non-ascii char if one is ever presented.
2455
b4df4f68
FN
24562000-12-20 Fernando Nasser <fnasser@redhat.com>
2457
297dd0fd 2458 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2459
dc96c6c7 24602000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2461
2462 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2463 in regexp. One '\' does not suffice on Linux.
2464
4a7bddb6
MC
24652000-12-09 Michael Chastain <chastain@redhat.com>
2466
2467 * gdb.base/break.exp (test_clear_command): Use a marker function
2468 rather than 'main' for the test function. Also move this
2469 test to an execution point where the marker function names are
2470 guaranteed to be bound to functions. (Executing tests after a
2471 'finish' from main runs into name conflicts with local names
2472 in __libc_start_main).
2473
dc96c6c7 24742000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2475
2476 * gdb.base/finish.exp: New test for gdb's "finish" command.
2477 * gdb.base/return2.exp: New test for gdb's "return" command.
2478 * gdb.base/return2.c: New source file for above.
2479
dc96c6c7 24802000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2481
2482 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2483 * gdb.base/miscexprs.exp: Ditto.
2484 * gdb.base/pointers.exp: Ditto.
2485 * gdb.c++/derivation.exp: Ditto.
2486 * gdb.c++/local.exp: Ditto.
2487 * gdb.c++/namespace.exp: Ditto.
2488 * gdb.c++/overload.exp: Ditto.
2489 * gdb.c++/ref-types.exp: Ditto.
2490
dc96c6c7 24912000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2492
2493 * gdb.base/constvars.exp: Test result of "up" command.
2494 * gdb.base/miscexprs.exp: Ditto.
2495 * gdb.base/pointers.exp: Ditto.
2496 * gdb.base/scope.exp: Ditto.
2497 * gdb.c++/derivation.exp: Ditto.
2498 * gdb.c++/local.exp: Ditto.
2499 * gdb.c++/namespace.exp: Ditto.
2500 * gdb.c++/overload.exp: Ditto.
2501 * gdb.c++/ref-types.exp: Ditto.
2502
44097287
FN
25032000-11-22 Michael Chastain <chastain@redhat.com>
2504
2505 * mips_pro.exp: Accept either "middle -> top -> main" or
2506 "middle -> main" in the backtrace, because gcc can optimize
2507 tail calls to jumps. Remove setup_xfail for the hppa case.
2508 Add a comment with the original warning messages from PR 3016,
2509 which was filed in 1993, to preserve them for posterity.
2510
9d2e1bab
ND
25112000-11-17 Nick Duffek <nsd@redhat.com>
2512
2513 * lib/gdb.exp (gdb_test): Override timeout with board info.
2514
1aca8eb7
ND
25152000-11-17 Nick Duffek <nsd@redhat.com>
2516
2517 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2518 the second kill and detach messages.
2519
93076499
ND
25202000-11-17 Nick Duffek <nsd@redhat.com>
2521
2522 * configure.in: Add AC_EXEEXT.
2523 * configure: Regenerate.
2524 * Makefile.in (just-check): Export EXEEXT.
2525 * lib/gdb.exp ($EXEEXT): Import from environment.
2526 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2527 expect "maint dump-me" on Cygwin.
2528 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2529 $EXEEXT.
2530
30e87cd3
ND
25312000-11-17 Nick Duffek <nsd@redhat.com>
2532
2533 * gdb.base/break.exp: Test backtrace and finish from called
2534 function on all platforms, not just HP-UX.
2535
dc96c6c7 25362000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
2537
2538 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
2539 code from gdb_target_monitor, so it can be used independantly
2540 for gdbserver. Also comment out an unnecessary PUTS.
2541
dc96c6c7 25422000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
2543
2544 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
2545 * gdb.base/corefile.exp: Expect the message "Program is being
2546 debugged already" when we send the "corefile" command, since
2547 the preceeding gdb_load may have connected gdb to a remote target.
2548 * gdb.base/display.exp: Disable hardware watchpoints if new
2549 board info variable "no_hardware_watchpoints" is true.
2550 Replace single-letter commands with more readable ones.
2551 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
2552 if new board info variable "no_hardware_watchpoints" is true.
2553 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
2554 to see if stdio (printf) testing is possible.
2555 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
2556 board info variable "no_hardware_watchpoints" is true. Use new
2557 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2558
39124dea
FN
25592000-11-13 Fernando Nasser <fnasser@redhat.com>
2560
2561 From Orjan Friberg <orjanf@axis.com>:
2562 * gdb.base/printcmds.exp: Escape curly braces followed by a number
2563 in array print pattern match.
2564
a9e2e984
FN
25652000-11-09 Fernando Nasser <fnasser@redhat.com>
2566
2567 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
2568 spelling "cancelled" to U.S. spelling "canceled" to match changes
2569 made to gdb.
2570 * gdb.c++/ovldbreak.exp: Ditto.
2571
c7db355b
PS
25722000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2573
2574 * gdb.base/callfuncs.c (main): Moved to end of file, call
2575 t_double_values to initialize the FPU before inferior calls are made.
2576 * gdb.base/callfuncs.exp: Test for register preservation after calling
2577 inferior functions. Add tests for continuining, finishing and
2578 returning from a stop in a call dummy.
2579
dc96c6c7 25802000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
2581
2582 * gdb.base/commands.exp: Break up long lines, and re-indent.
2583
dc96c6c7 25842000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
2585
2586 * config/gdbserver.exp: Rewritten from the ground up, to make it
2587 compatible with the current dejagnu tree, and to make it work with
2588 the new "gdbserver" in libremote.
2589
dc96c6c7 25902000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2591
2592 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
2593 * gdb.base/varargs.exp: Skip entire test if no printf support.
2594 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
2595 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2596
dc96c6c7 25972000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
2598
2599 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
2600 no floating point support.
2601 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
2602 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
2603 * gdb.base/call-rt-st.exp: Ditto.
2604 * gdb.base/call-strs.exp: Ditto.
2605
bac5fc66
JG
26062000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
2607
2608 * gdb.base/sizeof.c: include <stdio.h>.
2609
2610 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
2611 'finish', otherwise uncaptured gdb_prompt would potentially
2612 throw remaining test points out of sync.
2613
b22a6027
SB
26142000-07-26 Scott Bambrough <scottb@netwinder.org>
2615
2616 * gdb.base/recurse.exp: Run tests for all targets.
2617 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
2618 gnu-oldld case on ARM.
2619 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
2620 for ARM targets.
2621
d8231941
AG
2622Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
2623
2624 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
2625 * gdb.java/configure: Rebuild.
2626
8caabe69
AG
2627Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
2628
2629 * gdb.java/jv-exp.exp: New file.
2630
9d273ca3
AG
2631Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
2632
2633 * configure: Rebuilt.
2634 * configure.in (configdirs): Add gdb.java.
2635 * gdb.java/jmisc.java: New file.
2636 * gdb.java/jmisc.exp: New file.
2637 * gdb.java/Makefile.in: New file.
2638 * gdb.java/configure: Rebuilt.
2639 * gdb.java/configure.in: New file.
2640 * lib/java.exp: New file.
2641
4f823a66
AC
2642Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
2643
2644 * gdb.base/exprs.exp: Test casts to a pointer including over and
2645 underflow.
2646
2391e11d
AC
2647Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
2648
2649 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
2650 and the compilers sizes.
2651
54602222
ND
26522000-07-09 Nick Duffek <nsd@redhat.com>
2653
2654 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
2655 (use_methods): New function.
2656 (main): Call use_methods().
2657 * gdb.c++/classes.exp (test_method_param_class): New procedure.
2658 (do_tests): Call test_method_param_class.
2659
2bec0572
ND
26602000-07-09 Nick Duffek <nsd@redhat.com>
2661
2662 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
2663 spelling.
2664 (test_enums): New procedure. Move enum tests from end of script
2665 to here. Set breakpoint on function name instead of line number.
2666 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
2667 (enums2): New marker function.
2668 (enums1): New function.
2669 (main): Call enums1(). Move enum tests to enums1().
2670
78492fde
AC
2671Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
2672
2673 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
2674 compile/link program. Update line numbers.
2675 * gdb.asm/d10v.inc: Define ``startup''.
2676 * gdb.asm/asmsrc1.s: Add definition of _start.
2677
49a2cef8
AC
2678Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
2679
2680 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
2681
3e6c8688
EZ
26822000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2683
2684 * gdb.base/maint.exp: Add 'maint print architecture' item to output
2685 of 'help maint print' command.
2686
9ff5cbe9
AC
2687Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
2688
2689 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
2690 they use gdb_expect_list.
2691
17c579bd
AC
2692Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
2693
2694 * gdb.base/commands.exp: Use ``set remote
2695 memory-read-packet-size'' instead of ``set endian big'' to test
2696 long commands.
2697
e6d71bf3
DB
26982000-06-03 Daniel Berlin <dan@cgsoftware.com>
2699
2700 * gdb.c++/templates.exp (do_tests): Make all of these work under
2701 g++, and stop skipping them.
2702
2703 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
2704 work under g++.
2705
e5f9ba7b
MS
2706 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
2707 initialization.
2708
dc96c6c7 27092000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
2710
2711 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
2712 the regular expression: accept an (almost) arbitrary sequence of
2713 "frames-invalid" and "breakpoints-invalid" messages both before
2714 and after the "starting" message.
2715
dc96c6c7 27162000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
2717
2718 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 2719
dc96c6c7 27202000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
2721
2722 * gdb.base/annota1.exp (annotate-signal-handler-caller):
2723 Relax the regular expression a little, make it pass on Solaris 8.
2724
8216cda9
KB
27252000-05-12 Kevin Buettner <kevinb@redhat.com>
2726
2727 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
2728 a call, do not require that gdb stop on the line after the call.
2729 Instead, it is permissible for gdb to stop on the line of the
2730 call itself.
2731
1a570b2f
MS
27322000-05-12 Michael Snyder <msnyder@.cygnus.com>
2733
2734 * gdb.base/break.exp (bp on small function, optimized file):
2735 Add a second pass pattern. The behavior differs here between stabs
2736 and dwarf for one-line functions. Stabs preserves two line symbols
2737 (one before the prologue and one after) with the same line number,
2738 but dwarf regards these as duplicates and discards one of them.
2739 Therefore the address after the prologue (where the breakpoint is)
2740 has no exactly matching line symbol, and GDB reports the breakpoint
2741 as if it were in the middle of a line rather than at the beginning.
2742
dc96c6c7 27432000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
2744
2745 * gdb.base/interrupt.exp: Make "pass" message say "send"
2746 rather than "send_gdb" (for consistancy).
2747
7d418785
AC
2748Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
2749
2750 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
2751 * gdb.c++/templates.cc: Properly check for GCC version number.
2752 * lib/compiler.cc: Likewise
2753
dc96c6c7 27542000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
2755
2756 * gdb.base/break.exp: When compiled with -O2 optimization,
2757 gdb may not stop at the first line of main, due to code motion.
2758
dc96c6c7 27592000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
2760
2761 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
2762 This test depends on parsing the printf output from the target.
2763 Since the sparclet stub doesn't do stdio, this will never work.
2764 * gdb.base/call-rt-st.exp: ditto.
2765 * gdb.base/call-strs: ditto.
2766
dc96c6c7 27672000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
2768
2769 * gdb.base/miscexprs.exp: make sizeof long array test portable.
2770
2771 * gdb.base/ending-run.exp: After connecting to a remote target,
2772 but before running, the target will appear to be in a random
2773 location. Specify both a file and a line for breakpoints.
2774 Also, the function that calls main may be called 'init'
2775 rather than 'start'.
2776
a5a51225
EZ
27772000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2778
2779 * gdb.base/help.exp: Update output for add-symbol-file command.
2780
7930cc7c
FN
27812000-04-10 Fernando Nasser <fnasser@cygnus.com>
2782
2783 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2784 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2785
23e37ab1
C
27862000-04-07 J.T. Conklin <jtc@redback.com>
2787
e93c542c
C
2788 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
2789
23e37ab1
C
2790 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2791
591b8fa3
PDM
2792Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
2793
2794 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
2795 values that can be represented exactly.
2796 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
2797 above change, and to not check against the directory part of the source
2798 file name.
2799 (step into print_long_arg_list): Likewise.
2800 (print print_small_structs from print_long_arg_list): Likewise.
2801 (print print_long_arg_list): Likewise.
2802
7a495180
EZ
28032000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2804
30b53638 2805 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 2806
beb998c6
AC
2807Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
2808
2809 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
2810
1c689132
DB
28112000-03-25 Daniel Berlin <dan@cgsoftware.com>
2812
2813 * gdb.base/commands.exp (deprecated_command_test): Add test for
2814 deprecate with no arguments.
2815
c1790a9d
JL
28162000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
2817
2818 * gdb.base/break.exp: Add new test for setting breakpoints on
2819 optimized code so we can test breakpoints work even when function
2820 prologues may be optimized away
2821
003ba290
FN
28222000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
2823
2824 From David Whedon <dwhedon@gordian.com>
2825 * gdb.base/commands.exp : Added command deprecator tests.
2826
6837a0a2
DB
28272000-03-22 Daniel Berlin <dan@cgsoftware.com>
2828
2829 * gdb.base/help.exp: Added test for new apropos command.
2830
b9593231
KB
28312000-03-21 Kevin Buettner <kevinb@redhat.com>
2832
2833 * gdb.base/pointers.c (usevar): New function.
2834 (main): Make sure that global variables v_int_pointer2, rptr,
2835 and y are all referenced someplace in the program by calling
2836 usevar() on them. [Some linkers delete symbols which are
2837 never referenced. The space remains, but there's no way to
2838 get a (symbolic) handle on the variable from the debugger.]
2839
751a959b
EZ
28402000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2841
2842 * gdb.base/printcmds.c: Add typedeffed arrays.
2843
2844 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
2845 procedure to test arrays that are typedef'd.
2846
73a93a32
JI
28472000-03-13 James Ingham <jingham@leda.cygnus.com>
2848
2849 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 2850 the library directories.
73a93a32 2851
fb40c209
AC
2852Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
2853
2854 * configure.in (configdirs): Add sub directory gdb.mi.
2855 * configure: Re-generate.
2856
2857 * gdb.mi: New directory.
beb998c6 2858
ee4dd2c9
AC
28592000-02-25 Scott Bambrough <scottb@netwinder.org>
2860
2861 * gdb.base/long_long.exp: Correct test suite failure when printing
2862 a long long value as a double on ARM platforms.
2863
70f0cc22
JB
28642000-02-16 Jim Blandy <jimb@redhat.com>
2865
2866 * gdb.base/break.exp ("breakpoint line number"): Make sure the
2867 default source file is set properly before running this test.
2868
853819b8
EZ
28692000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2870
2871 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
2872 gdbtk/library directory, not in gdbtcl2.
2873
dfcd3bfb
JM
28742000-02-04 Jim Blandy <jimb@redhat.com>
2875
2876 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
2877 backslash from regexp pattern.
2878
2879 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
2880 procedure. Use it to run all the "continue to bp overloaded"
2881 tests. Note that this changes the names of the tests slightly.
2882 If the breakpoint hit message includes a hex PC value, because
2883 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
2884 from the real source code, still consider that a pass.
2885
2886 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
2887 XFAIL here if the breakpoint message contains a hex address. Note
2888 similar change on 1999-11-02.
2889
2890 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
2891
2892 * gdb.base/ptype.exp: Establish a default source file before
2893 calling get_debug_format.
2894
28952000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
2896
2897 * gdb.base/watchpoint.exp: Remove duplication of test messages.
2898
8b93c638
JM
28992000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2900
2901 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
2902 of successive stepi commands -- while in the prologue we should see
2903 the function entry bracket.
2904
29052000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
2906
2907 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
2908 reach __change_mode() when stepping through the end of main().
2909
c5394b80
JM
29102000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
2911
2912 * gdb.base/default.exp: Fix expected pattern.
2913 * gdb.base/help.exp: Same.
2914
0d06e24b
JM
29152000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2916
2917 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
2918 Don't use xfail's because that affects only the following test.
beb998c6 2919
0d06e24b
JM
2920 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
2921 solaris or linux.
2922
2923 * gdb.base/selftest.exp: Update to reflect changes to main.c.
2924
dc96c6c7 29252000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 2926
beb998c6 2927 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
2928 "A syntax error" rather than "A parse error". Accept both.
2929
29302000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
2931
2932 * gdb.base/default.exp: Remove OS dependent string from "target
2933 remote" test.
2934 * gdb.base/help.exp: Same for "help target remote" test.
2935
c3f6f71d
JM
29362000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2937
2938 From Jim Kingdon <kingdon@redhat.com>:
2939
2940 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
2941 prompt (cleanup rather than necessity, but still might keep output
2942 from spilling to next test).
2943
29442000-01-02 Fred Fish <fnf@cygnus.com>
2945
2946 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
2947 AIX, which defines them in <sys/types.h>.
2948
ed9a39eb 29491999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 2950
ed9a39eb
JM
2951 * gdb.base/default.exp: Match arm* etc instead of arm in "info
2952 float" test.
2953
29541999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 2955
ed9a39eb 2956 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
2957
2958 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
2959 outermost frame disallowed".
2960
29611999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
2962
2963 * gdb.base/setvar.exp: New tests for setting the value of a struct
2964 with a constant list.
2965
29661999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2967
2968 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
2969 require the user to type a cast before setting the value of a struct.
2970
de57eccd
JM
29711999-12-06 Jim Blandy <jimb@cygnus.com>
2972
2973 * gdb.base/default.exp: Expect the new 'info float' command on
2974 all i386 platforms.
2975
2976 * gdb.threads/linux-dp.exp: Expand our ability to recognize
2977 LinuxThreads libraries that don't support debugging.
2978
c2d11a7d
JM
2979Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2980
2981 * gdb.base/remote.c: Fill the buffer with truely random data.
2982 Change the buffer type to ``unsigned char'' to simplify size
2983 arithmetic.
2984
2985 * gdb.base/remote.exp: Reduce download numbers by one. Typical
2986 stub only handles 400-1 byte packets. Verify that the download
2987 worked.
2988
29891999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
2990
2991 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
2992 tests, using UNRESOLVED for the untested cases. Also, does not wait
2993 for a timeout if the prompt was received before a recognizable pattern.
2994
29951999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
2996
2997 * lib/gdb.exp (gdb_expect_list): Fix spelling.
2998
29991999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3000
3001 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3002 watchpoints.
3003
30041999-11-24 Jason Merrill <jason@casey.cygnus.com>
3005
3006 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3007
3008 * gdb.c++/local.exp: Be more flexible in recognizing local class
3009 name mangling. Don't allow horribly truncated method names.
3010 * gdb.c++/derivation.exp: Expect protected inheritance.
3011 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3012 * gdb.c++/virtfunc.exp: Likewise.
3013 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3014 when printing a nested enum.
3015
30161999-11-22 Jim Blandy <jimb@cygnus.com>
3017
3018 * gdb.base/step-test.exp: Properly await GDB's response to setting
3019 a breakpoint on the call to large_struct_by_value.
3020
3021 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3022 just because we have debug info for the `start' function.
3023
30241999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3025
3026 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3027 "Unknown signal" messages, which indicate (on LinuxThreads) that
3028 GDB doesn't know how to debug threads on this system. This is
3029 better than hanging while philosopher 0 dumps chatter into gdb.log.
3030
30311999-11-18 Tom Tromey <tromey@cygnus.com>
3032
3033 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3034
30351999-11-18 Fred Fish <fnf@cygnus.com>
3036
3037 * gdb.base/coremaker2.c: Add sample program for generating
3038 cores that is more self contained than coremaker.c. Eventually
3039 I'll add more code to this and tie it into the testsuite.
3040
4ce44c66
JM
30411999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3042
3043 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3044
30451999-11-10 Jimmy Guo <guo@cup.hp.com>
3046
3047 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3048 from $srcdir/lib/.
3049 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3050 and gdb.c++/.
3051
3052 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3053
beb998c6 3054 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3055 'continue with watch' test point.
3056
30571999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3058
3059 Merged from p2linux-990323-branch:
beb998c6 3060
4ce44c66
JM
3061 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3062
11cf8741
JM
3063Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3064
3065 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3066 {limit,fixed}''. Test ``set download-write-size''.
3067
3068Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3069
3070 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3071 gdb_expect_list.
3072
3073Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3074
3075 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3076
30771999-11-03 Mark Salter <msalter@cygnus.com>
3078
3079 * gdb.base/break.exp: Fix "stub continue" pattern.
3080
30811999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3082
3083 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3084
30851999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3086
3087 * gdb.base/display.exp ("finish"): Add timeout clause.
3088
3089 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3090 plain prompt clause, so this doesn't have to time out in order to
3091 fail.
3092
3093 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3094 breakpoint hit messages include an address.
3095
3096 * gdb.base/display.exp: Don't forget to escape parens in regular
3097 expressions. Unix regexp notatation sucks.
3098
30991999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3100
3101 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3102 order for 'signalled' message.
3103
5c44784c
JM
31041999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3105
3106 From Jimmy Guo <guo@cup.hp.com>:
3107 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3108 * gdb.base/annota1.c: Add code for tests to work with.
3109
31101999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3111
3112 * gdb.base/remote.exp: New test for remote downloading settings.
3113 * gdb.base/remote.c: New file with large .data.
3114
917317f4
JM
31151999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3116
3117 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3118 for LinuxThreads support, merged from the Code Fusion branch.
3119
3120Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3121
3122 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3123 containing exp_continue into a while within an expect. Don't
3124 attempt a start more than three times. Check return value from
3125 gdb_load.
beb998c6 3126
2df3850c
JM
3127Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3128
3129 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3130 a pass case.
3131
2acceee2
JM
31321999-10-01 Kevin Buettner <kevinb@cygnus.com>
3133
3134 * gdb.base/break.c (main): Added a statement that we can step
3135 off of.
3136 * gdb.base/break.exp: Added tests for setting a breakpoint
3137 at an offset and stepping onto a breakpoint.
3138
31391999-10-01 Fred Fish <fnf@cygnus.com>
3140
beb998c6 3141 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3142 gdb output.
3143
c2c6d25f
JM
31441999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3145
3146 * gdb.base/break.exp: Code locations are in hex, don't forget!
3147 (For HP-UX.)
3148
31491999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3150
3151 * condbreak.exp: Use break.c as test program.
3152 * condbreak.c: Remove, redundant with break.c.
3153
31541999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3155
3156 * config/monitor.exp (gdb_target_monitor): Disable X- and
3157 Z-packets if the target needs it.
3158
31591999-09-13 James Ingham <jingham@leda.cygnus.com>
3160
3161 * gdb.c++/overload.exp: Added tests for listing overloaded
3162 functions with function pointers in the arg, explicitly calling
3163 out the version you want.
3164
cff3e48b
JM
31651999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3166
3167 * long_long.exp: Add variations of test cases that work for
3168 targets with 16-bit ints and 32-bit doubles.
3169
d4f3574e
SS
31701999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3171
3172 * break.c (main): Compare a possibly-uninitialized argc with an
3173 unlikely value that fits in 16 bits.
3174
31751999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3176
3177 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3178 0xfeeb, don't want negative numbers if ints are 16 bits.
3179
3180 * lib/gdb.exp (skip_cplus_tests): New proc.
3181 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3182 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3183 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3184 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3185 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3186 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3187 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3188 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3189
3190 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3191
3192Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3193
3194 * gdb.base/corefile.exp (up): Allow a parameter to appear
3195 in the frame that we're going up to.
3196
3197 From Jim Blandy <jimb@cygnus.com>:
3198
3199 * gdb.base/default.exp (info float): Expect some output now.
3200
3201 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3202 returning floating-point values to fail on the x86.
3203 * gdb.base/callfwmall.exp (do_function_calls): Same.
3204
3205 * gdb.base/list.exp (test_listsize): Correct expectations for
3206 listing line 1 with listsize 2. Also, listing a single line
3207 works now, as does listing three lines. [Kevin's note: There
3208 were a number of other cases fixed too where the expectations
3209 differed...]
3210
32111999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3212
3213 * gdb.base/selftest.exp: Add case for when version prints as
3214 constant string instead of char pointer.
3215
104c1213
JM
32161999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3217
3218 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3219 stepping out of main.
3220
3221 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3222 G++ used.
3223
3224 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3225 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3226
3227 * gdb.c++/ovldbreak.exp: Update match string in test that
3228 includes a warning of multiple breakpoints.
3229
32301999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3231
3232 * gdb.base/display.exp: Improve precision of step-after-finish
3233 added yesterday.
3234
3235 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3236 test.
3237
3238 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3239 configs when using G++, not just hppa*.
3240
32411999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3242
3243 * gdb.base/async.c: New file.
3244 * gdb.base/async.exp: New file.
3245
3246Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3247
3248 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3249 PA64.
3250
53a5351d
JM
3251Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3252
104c1213
JM
3253 * gdb.base/display.exp: "finish" can leave us mid-line on many
3254 targets, deal with it. Add a small constant to main, instead of
3255 1000 since main+1000 may not be a valid address in the target.
3256
53a5351d
JM
3257 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3258 on hpux11.
3259
3260 * gdb.base/attach.exp: Handle another hpux11 error message variant
3261 when attaching to a process that does not exist.
3262
32631999-08-19 J.T. Conklin <jtc@redback.com>
3264
3265 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3266 characters in 'continue to 1241' test.
3267
32681999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3269
3270 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3271 stop in print_long_arg_list, define and use a whitespace
3272 variable in print_small_structs test, add an XFAIL for Solaris.
3273 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3274 interested enough to fix.
3275
7be570e7
JM
32761999-08-13 Keith Seitz <keiths@cygnus.com>
3277
3278 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3279 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3280 proc knows about targets other than the natives.
3281 (test_assign): Use "gdb_run_cmd" to "run" the target.
3282 Check that we've actually hit the breakpoint at main.
3283 When we attempt to assign a value to a local variable, check
3284 that the variable is in the current scope, i.e., don't use
3285 a test with an empty result.
3286
3287Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3288
3289 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3290 command.
3291
32921999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3293
3294 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3295 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3296 gdb.compat, gdb.threads-hp.
3297 gdb.hp/configure, gdb.hp/configure.in: New files.
3298 gdb.hp/Makefile.in: Recurse into new subdirs.
3299 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3300 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3301 in object files.
3302 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3303
96baa820
JM
33041999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3305
3306 * gdb.base/display.exp: Help expect by putting a newline in the
3307 funky printf, remove a bogus p/a test.
3308
33091999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3310
3311 * gdb.base/display.exp: Make sure that when we say 'run', we are
3312 connected to the target. This is necessary when running not
3313 natively.
3314
33151999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3316
3317 * gdb.base/step-test.exp: Removed some extraneous messages.
3318
3319 * gdb.base/long_long.exp: Don't run memory examination tests
3320 on little-endian targets (they will need a different set of
3321 results to match).
3322
33231999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3324
3325 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3326 until somebody decides to fix GDB.
3327
3328 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3329 constant as "ULL".
3330 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3331 matches for a couple x/2 commands.
3332
a0b3c4fd
JM
33331999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3334
3335 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3336 by merging in ref-types2 tests.
3337 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3338
3339 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3340 * gdb.c++/Makefile.in: Add standard actions.
3341 (EXECUTABLES): Rename from PROGS, update list.
3342 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3343 from gdb.hp.
3344 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3345 foo and bar locals.
3346 * gdb.c++/anon-union.exp: Fix tests to match.
3347 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3348 expect matches to handle output variations.
3349 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3350 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3351 output, add HP alternatives for new and delete prints.
3352 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3353 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3354 * gdb.c++/demangle.exp: Use $style when reporting failure.
3355 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3356 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3357 match alternatives.
3358 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3359 compilers.
3360 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3361 * gdb.c++/method.exp: Add match alternatives.
3362 * gdb.c++/misc.cc: Add bool types.
3363 * gdb.c++/misc.exp: Add tests for bool types.
3364 * gdb.c++/overload.exp: Add xfails.
3365 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3366 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3367 add some more template parameter tests (only for HP currently).
3368 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3369 * gdb.c++/virtfunc.cc: Add return type and value for main.
3370 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3371 match alternatives.
beb998c6 3372
a0b3c4fd
JM
33731999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3374
3375 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3376
33771999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3378
3379 * gdb.base/signals.exp: Don't expect getting a backtrace from
3380 within a signal handler to fail on Linux.
3381
33821999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3383
3384 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3385 * lib/gdb.exp: Remove some gratuitious semicolons.
3386 (delete_breakpoints): Increase timeout.
3387 (gdb_expect): Add -notransfer option.
3388 (gdb_test): Use -notransfer option.
3389 (get_compiler_info): Add f77 case.
3390 (get_compiler): New proc, split out from gdb_preprocess, add f77
3391 case.
3392 (gdb_preprocess): Call get_compiler.
3393
3394 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3395 * gdb.base/attach.exp, gdb.base/display.exp,
3396 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3397 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3398 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3399 third arg to gdb_test.
3400 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3401 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3402 HP-UX xfails, add others.
3403 * gdb.base/completion.exp: Reflect name change of self-test.
3404 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3405 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3406 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3407 HP failure number.
3408 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3409 useless HP-UX 10.30 references.
3410 * gdb.base/maint.exp: Loosen matches.
3411 * gdb.base/pointers.c (main): Declare more_code.
3412 * gdb.base/pointers.exp: Match on output of a `next'.
3413 * gdb.base/structs.c: Add prototypes.
3414 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3415 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3416
34171999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3418
3419 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3420 command.
3421
34221999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3423
3424 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3425 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3426
3427 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3428 debug info. Deal with lack of signal hanlder info in stack.
3429
3430 From Jim Kingdon <kingdon@redhat.com>:
3431 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3432
5a2468f5
JM
34331999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3434
3435 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3436 gdb.base/foll-vfork.exp: Don't run for crosses.
3437
adf40b2e
JM
3438Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3439
3440 * gdb.base/configure.in: Check for gdbvars.exp instead of
3441 a1-selftest.exp.
3442 * gdb.base/configure: Re-generate.
3443
34441999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3445
3446 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3447 in trying to run first and name is too long.
3448
3449 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3450 pointers2.c and pointers2.exp, respectively.
3451 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3452 doschk happier.
3453
43e526b9
JM
34541999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3455
3456 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3457 callfuncs2.c and callfuncs2.exp.
3458
3459 * gdb.base/list.exp: Remove mistaken xfails.
3460 * gdb.base/list0.h: Add optional prototypes.
3461
9846de1b
JM
3462Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3463
3464 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3465 calling malloc.
3466 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3467 * ptype.exp: Move test for get_debug_format to before its first
3468 use.
3469
34701999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3471
3472 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3473 * gdb.base/annota2.cc, annota2.exp: Move from here.
3474 * gdb.c++/annota2.cc, annota2.exp: To here.
3475 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3476
43ff13b4
JM
3477Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3478
3479 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3480 a consistent format.
3481
085dd6e6
JM
34821999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3483
3484 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3485 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3486 HP compilers, also set the globals $true and $false.
3487
3488 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3489 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3490 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3491 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3492 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3493 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3494 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3495 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3496 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3497 whatis.c} Add C++ compatible function definitions and return
3498 types, add includes for library functions.
3499 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3500 * gdb.base/step-test.c (myglob): Rename from glob.
3501 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3502 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3503 files, move here from gdb.hp.
3504 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3505 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3506 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3507 Adjust line numbers in regexps.
3508
3509 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3510 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3511 instead of 0/1.
3512
3513 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3514 foll-vfork.exp: New files, move here from gdb.hp.
3515 * gdb.base/page.exp: New file, test of pagination command.
3516
3517 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3518 recursion test.
3519 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3520
3521 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3522 gdb.base/solib.exp: Fix compiler invocation process.
3523
3524 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3525 HP-UX 11, turn off overload resolution explicitly.
3526 * gdb.base/commands.exp: Set argument list explicitly, add
3527 watchpoint test.
3528 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3529 them work.
3530 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
3531 expressions properly.
3532 * gdb.base/corefile.exp: Loosen the match slightly.
3533 * gdb.base/default.exp: Allow "Error accessing memory" message
3534 also.
3535 * gdb.base/display.exp: Skip over x/0 j if PA64.
3536 * gdb.base/funcargs.exp: Add xfails for HP-UX.
3537 * gdb.base/interrupt.exp: Ditto.
3538 * gdb.base/langs.exp: Add symbolic matches governed by compiler
3539 in use.
3540 * gdb.base/list.exp: Add xfails for HP-UX.
3541 * gdb.base/long_long.exp: Refine some of the numeric matches.
3542 * gdb.base/mips_pro.exp: Xfail on HP-UX.
3543 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
3544 * gdb.base/nodebug.exp: Succeed on more varieties of output.
3545 * gdb.base/opaque.exp: Remove some HP-UX xfails.
3546 * gdb.base/ptype.exp: Succeed on more varieties of output.
3547 * gdb.base/scope.exp: Add xfails for HP-UX.
3548 * gdb.base/sect-cmd.exp: Add more cases.
3549 * gdb.base/setvar.exp: Add xfails for HP-UX.
3550 * gdb.base/shlib-call.exp: Loosen some matches slightly.
3551 * gdb.base/signals.exp: Match on void symbolically.
3552 * gdb.base/step-test.exp: Add case for PA64.
3553 * gdb.base/term.exp: Add exit and restart.
3554 * gdb.base/twice.exp: Clean up after self.
3555 * gdb.base/varargs.exp: Disable overload resolution explicitly.
3556 * gdb.base/whatis.exp: Allow more ways to pass tests.
3557
3558 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
3559 no longer useful.
3560
3561Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
3562
3563 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
3564 list of patterns.
3565 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
3566 print_double_array(double_array)", "continuing to breakpoint
3567 1018", "print print_double_array(array_d)" and "continuing to
3568 1034" tests.
beb998c6 3569
085dd6e6
JM
35701999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
3571
3572 * Makefile.in: Add empty html and install-html targets.
3573
35741999-06-24 Stan Shebs <shebs@andros.cygnus.com>
3575
3576 * config/mt-*: Remove, these haven't been used since 1996.
3577
35781999-06-22 Stan Shebs <shebs@andros.cygnus.com>
3579
3580 * gdb.base/call-strs.c, gdb.base/ending-run.c,
3581 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
3582 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
3583
9e0b60a8
JM
35841999-06-18 Stan Shebs <shebs@andros.cygnus.com>
3585
3586 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
3587 simpler match case for the ptype of the big class.
3588
35891999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3590
3591 * gdb.exp: Fix test for gdb_prompt existence.
3592
35931999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3594
3595 * gdb.exp (gdb_test): Add fail after calls to perror.
3596
35971999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3598
3599 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
3600
36011999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3602
3603 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
3604
0f71a2f6
JM
3605Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
3606
3607 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
3608 malloc() is linked in.
3609
36101999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3611
3612 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
3613 step at end.
3614
3615 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
3616
36171999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
3618
3619 * gdb.java/jv-print.exp: New file. (Our first Java test!)
3620
cce74817
JM
3621Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
3622
3623 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
3624 * gdb.base/mips_pro.exp: Likewise.
3625
36261999-06-02 Keith Seitz <keiths@cygnus.com>
3627
3628 * gdb.c++/templates.cc: Change all "new" operators to throw
3629 an exception.
3630 * gdb.c++/cplusfuncs.cc: Likewise.
3631
3632 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
3633
3634Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
3635
3636 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
3637 * gdb.base/ending-run.exp: When stepping out of main, accept a
3638 step into an arbitrary assembler file.
3639
392a587b
JM
36401999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3641
beb998c6 3642 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 3643 "breakpoint-invalid" to be printed.
beb998c6 3644 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
3645 number of "frames-invalid" and "breakpoint-invalid" to be printed.
3646 * gdb.base/annota2.cc: Initialize a.x to 0.
3647
9e086581
JM
36481999-05-17 Keith Seitz <keiths@cygnus.com>
3649
3650 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
3651 when "skip_float_tests" set.
3652 Ditto for "print print_double_array(array_d)", "print print_small_structs",
3653 "print print_ten_doubles", and "step into print_long_arg_list".
3654 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
3655 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
3656 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
3657 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
3658 "skip_float_tests" is set.
3659 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
3660 when "skip_float_tests" set.
beb998c6 3661
cd0fc7c3
SS
36621999-05-06 Keith Seitz <keiths@cygnus.com>
3663
3664 * gdb.base/annota2.cc: Include stdio.h.
3665
3666Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
3667
3668 * gdb.base/crossload.exp: Remove, this has been disabled ever
3669 since BFD stopped including all targets, and cross-GDB gets
3670 plenty of testing anyway.
3671 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
3672 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
3673 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
3674 * gdb.base/README: Remove, was doc for this.
3675 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
3676 needed.
3677
b83266a0
SS
36781999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3679
3680 * gdb.base/call-ar-st.exp: Fix one regular expression in test
3681 output.
3682
3683 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
3684 * gdb.base/annota2.exp: New file. More annotation tests.
3685 * gdb.base/annota1.c: New file. Source file for annota1.exp.
3686 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
3687
36881999-04-23 Angela Marie Thomas <angela@cygnus.com>
3689
3690 * config/cfdbug.exp: New file.
3691
7a292a7a
SS
36921999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3693
3694 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
3695 Marcus Daniel's and Dale Hawkins's demangler crashes.
3696
3697 * gdb.c++/demangle.exp (test_gnu_style_demangling,
3698 test_lucid_style_demangling, test_arm_style_demangling,
3699 test_hp_style_demangling): Try Tom Tromey's core-dumping
3700 identifier under each demangling style.
3701
37021999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
3703
3704 * gdb.c++/demangle.exp: Include the current demangling style
3705 in all test names.
3706 (current_demangling_style): New global variable.
3707 (set_demangling_style, test_demangling_core, test_demangling,
3708 test_demangling_exact): New functions.
3709 (test_gnu_style_demangling, test_lucid_style_demangling,
3710 test_arm_style_demangling, test_hp_style_demangling): Use those,
3711 instead of calling gdb_test and gdb_test_exact directly.
3712 (catch_demangling_errors): New function, which reports errors
3713 signalled by the demangling test functions in an orderly way.
3714 (do_tests): Use catch_demangling_errors.
3715
37161999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
3717
3718 * gdb.base/signals.exp (test_handle_all_print): Use () for
3719 grouping in expressions, not {}.
3720
3721 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
3722 initialized yet.
3723
37241999-04-01 Stan Shebs <shebs@andros.cygnus.com>
3725
3726 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
3727 are listed.
3728
37291999-03-26 Stan Shebs <shebs@andros.cygnus.com>
3730
3731 * gdb.stabs/weird.exp: Test for CC being defined before
3732 looking at its value.
3733
37341999-03-25 Stan Shebs <shebs@andros.cygnus.com>
3735
3736 * gdb.base/call-ar-st.exp: Remove stray '#'.
3737 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
3738 "short int" and "long int".
3739 * gdb.c++/overload.cc: Cast the string added in the previous
3740 change, to mollify finicky HP compiler.
3741 * gdb.hp/reg-test.exp (testfile): Fix file name.
3742 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 3743
7a292a7a
SS
3744 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
3745 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
3746 alternate form of enum ptype.
3747
c906108c
SS
37481999-03-23 Stan Shebs <shebs@andros.cygnus.com>
3749
7a292a7a
SS
3750 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
3751 * gdb.hp/*.exp: Change all to run compiler probe only after
3752 passing skip_hp_tests, so as not to waste time on guaranteed
3753 failure.
3754
c906108c
SS
3755 * gdb.c++/overload.cc: Pass string instead of char addr, always
3756 init ccpfoo.
3757 * gdb.c++/templates.cc: Fix syntax error.
3758
7a292a7a
SS
3759Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3760
3761 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 3762 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
3763 command.
3764
37651999-03-18 James Ingham <jingham@cygnus.com>
3766
3767 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
3768
3769 * gdb.c++/method.exp: It was testing an uninitialized int on the
3770 stack and assuming it was positive.
3771
3772 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
3773
3774 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 3775 keep it from killing the rest of the tests.
7a292a7a
SS
3776 Use gdb_continue_to_end.
3777
3778 * gdb.base/sigall.exp: use gdb_continue_to_end.
3779
3780 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
3781
3782 * gdb.base/display.exp: use runto_main, not run.
3783
beb998c6
AC
3784 * gdb.base/default.exp: Check for the current error message in the
3785 r abbreviation test.
7a292a7a
SS
3786 Add strongarm to the targets that know info float.
3787
beb998c6 3788 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
3789 run which doesn't work with monitors.
3790
3791 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
3792
3793 * gdb.base/break.exp: use the gdb_continue_to_end proc.
3794
3795 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
3796 program. Traps the case (in Cygmon) when the program never really
3797 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
3798 more places, so I used my name. Sorry Mark...
3799
3800 * config/monitor.exp (gdb_target_monitor): added another
3801 target_info parameter: remotebinarydownload. This will set the
3802 remotebinarydownload flag if this is causing some boards trouble.
3803
38041999-03-18 Mark Salter <msalter@cygnus.com>
3805
3806 * lib/gdb.exp (continue_to_exit): New function.
3807
3808 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
3809 * gdb.base/ending-run.exp: Ditto.
3810 * gdb.base/step-test.exp: Ditto.
3811
38121999-03-16 Stan Shebs <shebs@andros.cygnus.com>
3813
3814 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
3815 (suggested by Art Haas <ahaas@neosoft.com>).
3816
38171999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
3818
3819 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
3820
3821Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
3822
3823 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
3824 descriptions of types (short unsigned int vs unsigned short, etc).
3825
38261999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
3827
3828 * gdb.base/call-strs.exp: Don't assume that `step' will step over
3829 a call to strlen; sometimes we do have sources.
3830
38311999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
3832
3833 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
3834 character, so GDB won't print garbage after its end.
beb998c6 3835
c906108c
SS
3836 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
3837 breakpoint there instead. Sometimes GCC emits memcpy to handle
3838 the large structures being passed by value, so we step into that
3839 instead of sum_array_print, which obscures what we're really testing.
3840 * gdb.base/step-test.exp: However, we do want a test that notices
3841 the bizarre steps into memcpy, so do that here. Add check for
3842 stepping into function calls that pass large structures by value.
3843 ("Is that a noun clause, or are you just happy to see me?")
3844 Remove all references to specific line numbers.
3845 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
3846 New type and function.
3847 (main): Call large_struct_by_value, passing it a large struct by value.
3848 * lib/gdb.exp (gdb_get_line_number): New function.
3849
3850 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
3851 more portable.
3852
7a292a7a
SS
38531999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
3854
c906108c
SS
3855 * lib/gdb.exp: Doc fixes.
3856
7a292a7a
SS
38571999-03-05 Nick Clifton <nickc@cygnus.com>
3858
beb998c6 3859 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
3860
38611999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
3862
c906108c
SS
3863 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
3864 commands. They're not germane to this test, and they don't work
3865 that way on remote targets.
3866
3fc11d3e
JM
38671999-03-01 James Ingham <jingham@cygnus.com>
3868
3869 * Changelog entries merged over from gdb development branch.
3870
3fc11d3e
JM
3871 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
3872
3873 * lib/gdb.exp (gdbtk_analyze_results): Generic function
3874 for outputting results of test run.
3875
2d4a1622 3876 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
3877
3878 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 3879
7a292a7a
SS
38801999-02-25 Felix Lee <flee@cygnus.com>
3881
3882 * lib/gdb.exp (debug_format): initialize
3883
c906108c
SS
38841999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
3885
3886 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
3887 * gdb.base/call-rt-st.c: Ditto.
3888
c906108c
SS
38891999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
3890
3891 * gdb.threads/pthreads.exp (horiz): New variable.
3892 (test_startup): Fix regexps that capture thread numbers.
3893
38941999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
3895
3896 * gdb.base/smoke.exp: Disambiguate two test case names (both
3897 called ``print'').
3898
3899Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3900
3901 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
3902 compilation.
3903
39041999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3905
3906 * gdb.base/miscexprs.exp: Change patterns to match GDB's
3907 actual output formatting.
3908 * gdb.base/smoke.exp: GDB removes leading 0's.
3909 * gdb.base/volatile.exp: Don't check type of remuneration;
3910 that variable is no longer defined in constvars.c.
3911 * gdb.base/step-test.c (main): Exit with explicit exit code.
3912 * gdb.base/step-test.exp: Remove two nexti checks--they are
3913 not portable.
3914
39151999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3916
3917 * gdb.base/help.exp ("help delete display"): Fix test to match
3918 gdb's output.
3919
3920 * gdb.base/long_long.c (known_types): Initialize values to zero.
3921 * gdb.base/long_long.exp: Step one more line
3922 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 3923 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
3924 unique test case names.
3925
3926Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3927
beb998c6 3928 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
3929
3930 * gdb.c++/method.exp: Add missing close brace.
3931
39321999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
3933
3934 * gdb.base/maint.exp: Use 'set height 0' to disable page
3935 prompting, not 'set height 400'.
3936
3937 Fix a bunch of timeouts.
3938 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
3939 four separate tests, so expect doesn't take forever to match a ton
3940 of text against a regexp with lots of .* forms.
3941 ("maint print psymbols", "maint print symbols"): Make some of
3942 these greps more selective, so that expect doesn't try to wade
3943 through huge piles of output and time out.
3944
3945 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
3946
3947 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
3948 tests: one which doesn't expect shlib events to be reported, and
3949 another which does, but is XFAIL for all platforms other than
3950 HP/UX.
3951
3952 * gdb.base/break.exp: Teach the test suite that the `catch
3953 fork', `catch vfork', and `catch exec' commands produce error
3954 messages on platforms that don't provide these features.
3955
3956Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
3957
3958 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
3959 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
3960 (shortening names from solib_threshold.exp etc), won't run on
3961 anything but HP-UX for the foreseeable future.
3962 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
3963 reflect move.
3964
3965Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
3966
3967 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3968 gdb.trace/Makefile.in (clean): Remove all test executables.
3969
3970Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
3971
3972 * gdb.base/shlib-call.exp: add test cases to verify that gdb
3973 successfully re-sets breakpoints in shared libraries.
3974 * gdb.base/shmain.c (main): return 0, don't fall off the end.
3975
3976Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3977
beb998c6
AC
3978 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
3979 and compiled w/o GCC.
c906108c
SS
3980
3981 * gdb.hp/watch-cmd.exp: ditto.
3982
3983 * gdb.hp/watch-hp.exp: ditto.
3984
3985 * gdb.hp/xdb1.exp: ditto.
3986
3987 * gdb.hp/xdb2.exp: ditto.
3988
3989 * gdb.hp/dbx.exp: ditto.
3990
3991Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
3992
3993 * constvars.c: Remove C++-isms.
3994 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
3995 with GCC.
3996
3997Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
3998
3999 The following changes are part of the HP merge.
4000
4001 * gdb.base/break.exp: new tests to verify that catchpoints for
4002 fork, vfork, and exec don't trigger inappropriately.
4003
4004 * gdb.base/opaque.exp: compile one file at a time, then link.
4005
4006 * gdb.base/signals.exp: be more restrictive about which hppa
4007 systems receive a setup_xfail. new tests.
4008
4009 * gdb.base/solib_threshold.build: new file.
4010 * gdb.base/solib_threshold.exp: new file.
4011 * gdb.base/solib_threshold.link_opts: new file.
4012 * gdb.base/solib_threshold.mk: new file.
4013 * gdb.base/gen_solib_threshold.c: new file.
4014
4015 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4016 tests. New tests for enums inside classes.
4017
4018 * gdb.c++/compiler.cc: indicate support of template debugging.
4019
4020 * gdb.c++/demangle.exp: run hp style demangling tests.
4021
4022 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4023 tests.
4024
4025 * gdb.c++/misc.cc: changes to support new tests.
4026
4027 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4028 to support new tests.
4029
4030 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4031 gcc, then skip these tests.
4032
4033Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4034
4035 The following files are part of the HP merge; some had longer
4036 names at HP, but have been renamed to be no more than 14
4037 characters in length.
4038
4039 * gdb.hp/ambiguous.cc: new file.
4040 * gdb.hp/ambiguous.exp: new file.
4041 * gdb.hp/attach.exp: new file.
4042 * gdb.hp/attach2.exp: new file.
4043 * gdb.hp/classes-hp.exp: new file.
4044 * gdb.hp/ctti.exp: new file.
4045 * gdb.hp/ctti-add.cc: new file.
4046 * gdb.hp/ctti-add1.cc: new file.
4047 * gdb.hp/ctti-add2.cc: new file.
4048 * gdb.hp/ctti-add3.cc: new file.
4049 * gdb.hp/dbx.exp: new file.
4050 * gdb.hp/exception.cc: new file.
4051 * gdb.hp/exception.exp: new file.
4052 * gdb.hp/foll-exec.c: new file.
4053 * gdb.hp/foll-exec.exp: new file.
4054 * gdb.hp/foll-fork.c: new file.
4055 * gdb.hp/foll-fork.exp: new file.
4056 * gdb.hp/foll-vfork.c: new file.
4057 * gdb.hp/foll-vfork.exp: new file.
4058 * gdb.hp/inherit-hp.exp: new file.
4059 * gdb.hp/more-steps.exp: new file.
4060 * gdb.hp/namespace.cc: new file.
4061 * gdb.hp/namespace.exp: new file.
4062 * gdb.hp/optimize.exp: new file.
4063 * gdb.hp/pxdb.c: new file.
4064 * gdb.hp/pxdb.exp: new file.
4065 * gdb.hp/quicksort.exp: new file.
4066 * gdb.hp/reg-test.exp: new file.
4067 * gdb.hp/reg-test.s: new file.
4068 * gdb.hp/sized-enum.c: new file.
4069 * gdb.hp/sized-enum.exp: new file.
4070 * gdb.hp/start-stop.exp: new file.
4071 * gdb.hp/templ-hp.cc: new file.
4072 * gdb.hp/templ-hp.exp: new file.
4073 * gdb.hp/thr-lib.c: new file.
4074 * gdb.hp/thr-lib.exp: new file.
4075 * gdb.hp/thr-lib.h: new file.
4076 * gdb.hp/thr-liblib.c: new file.
4077 * gdb.hp/virtfun-hp.c: new file.
4078 * gdb.hp/virtfun-hp.exp: new file.
4079 * gdb.hp/watch-cmd.exp: new file.
4080 * gdb.hp/watch-hp.exp: new file.
4081 * gdb.hp/xdb1.exp: new file.
4082 * gdb.hp/xdb2.exp: new file.
4083 * gdb.hp/xdb3.exp: new file.
4084
4085Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4086
4087 The following files are part of the HP merge; some had longer
4088 names at HP, but have been renamed to be no more than 14
4089 characters in length.
4090
4091 * gdb.base/ss.h: new file.
4092 * gdb.base/call-ar-st.c: new file.
4093 * gdb.base/call-ar-st.exp: new file.
4094 * gdb.base/call-rt-st.c: new file.
4095 * gdb.base/call-rt-st-exp: new file.
4096 * gdb.base/call-strs.exp: new file.
4097 * gdb.base/ena-dis-br.exp: new file.
4098 * gdb.base/environ.exp: new file.
4099 * gdb.base/long_long.exp: new file.
4100 * gdb.base/sect-cmd.exp: new file.
4101 * gdb.base/shlib-cl2.exp: new file.
4102 * gdb.base/smoke.exp: new file.
4103 * gdb.base/so-impl-ld.c: new file.
4104 * gdb.base/so-impl-ld.exp: new file.
4105 * gdb.base/so-indr-cl.c: new file.
4106 * gdb.base/so-indr-cl.exp: new file.
4107 * gdb.base/varargs.exp: new file.
4108 * gdb.base/volatile.exp: new file.
4109 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4110 * gdb.base/display.exp: new file.
c906108c
SS
4111 * gdb.c++/derivation.exp: new file.
4112 * gdb.c++/local.exp: new file.
4113 * gdb.c++/member-ptr.exp: new file.
4114 * gdb.c++/overload.exp: new file.
4115 * gdb.c++/ovldbreak.exp: new file.
4116 * gdb.c++/ref-types.exp: new file.
4117 * gdb.c++/ref-types2.exp: new file.
4118 * gdb.c++/userdef.exp: new file.
beb998c6 4119
c906108c
SS
4120Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4121
4122 * gdb.base/default.exp: Reflect wording change in remote.c.
4123
dc96c6c7 4124Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4125
4126 * gdb.base/help.exp: Update to reflect current text.
4127
4128Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4129
4130 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4131 they're stack variables and contain garbage.
4132 * gdb.c++/anon-union.exp: new file.
4133
4134 The following changes were made by David Taylor
4135 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4136 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4137 in changes by HP.
4138
4139 * gdb.base/bitops.exp: new file.
4140 * gdb.base/default.exp: change expected messages for catch and
4141 info catch tests to reflect HP merge changes.
4142 * gdb.base/enable-disable-break.exp
4143 * gdb.base/ending-run.c: new file.
4144 * gdb.base/long_long.c: new file.
4145 * gdb.base/maint.exp: new file.
4146 * gdb.base/pointers2.exp: new file.
4147 * gdb.base/shlib-call2.exp: new file.
4148 * gdb.base/solib.exp: new file.
4149 * gdb.base/step-test.c: new file.
4150 * gdb.c++/anon-union.cc: new file.
4151 * gdb.c++/local.cc: new file.
4152 * gdb.c++/member-pointer.cc: new file.
4153 * gdb.c++/method.cc: new file.
4154 * gdb.c++/ref-types.cc: new file.
4155 * gdb.c++/ref-types2.cc: new file.
4156 * gdb.c++/userdef.cc: new file.
beb998c6 4157
c906108c
SS
4158 * gdb.base/scope.exp: compile one file at a time, then link.
4159 * gdb.base/langs.exp: ditto.
4160 * gdb.base/list.exp: ditto.
beb998c6 4161
c906108c
SS
4162Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4163
4164 The following changes were made by David Taylor
4165 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4166 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4167 in changes by HP.
beb998c6 4168
c906108c
SS
4169 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4170 skip tests. When compiling pass c++ flag to gdb_compile.
4171 * gdb.c++/
beb998c6 4172
c906108c
SS
4173 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4174 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4175 (skip_hp_tests): new function.
4176 (gdb_preprocess): new function.
4177
4178 * configure.in (hpdir): decide whether to configure gdb.hp.
4179 * configure: regenerated.
4180
4181 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4182 to delete on clean.
4183 (EXECUTABLES): update to reflect new additions.
4184 * gdb.base/commands.exp: update message expected.
4185 * gdb.base/default.exp: add copyright notice.
4186 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4187 * gdb.base/help.exp: update messages to reflect current text.
4188 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4189 targets for recurse tests.
4190 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4191 skip this file.
4192
4193 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4194 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4195 compilation.
4196 * gdb.c++/misc.exp: ditto.
4197 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4198 run the tests. tell gdb_compile that it's a c++ compilation.
4199
4200 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4201
c906108c
SS
4202 * gdb.base/all-bin.exp: new file.
4203 * gdb.base/arithmet.exp: new file.
4204 * gdb.base/assign.exp: new file.
4205 * gdb.base/completion.exp: new file.
4206 * gdb.base/cond-expr.exp: new file.
4207 * gdb.base/condbreak.exp: new file.
4208 * gdb.base/define.exp: new file.
4209 * gdb.base/dollar.exp: new file.
4210 * gdb.base/environment.exp: new file.
4211 * gdb.base/eval-skip.exp: new file.
4212 * gdb.base/jump.exp: new file.
4213 * gdb.base/logical.exp: new file.
4214 * gdb.base/pointers.exp: new file.
4215 * gdb.base/relational.exp: new file.
4216 * gdb.base/section_command.exp: new file.
4217 * gdb.base/whatis-expr.exp: new file.
4218
4219 * gdb.base/all-types.c: new file.
4220 * gdb.base/call-array-struct.c: new file.
4221 * gdb.base/call-return-struct.c: new file.
4222 * gdb.base/call-strings.c: new file.
4223 * gdb.base/callfuncs2.c: new file.
4224 * gdb.base/condbreak.c: new file.
4225 * gdb.base/constvars.c: new file.
4226 * gdb.base/display.c: new file.
4227 * gdb.base/int-type.c: new file.
4228 * gdb.base/jump.c: new file.
4229 * gdb.base/miscexprs.c: new file.
4230 * gdb.base/pointers.c: new file.
4231 * gdb.base/pointers2.c: new file.
4232 * gdb.base/shmain.c: new file.
4233 * gdb.base/shr1.c: new file.
4234 * gdb.base/shr2.c: new file.
4235 * gdb.base/solib.c: new file.
4236 * gdb.base/solib1.c: new file.
4237 * gdb.base/solib2.c: new file.
4238 * gdb.base/varargs.c: new file.
4239 * gdb.c++/derivation.cc: new file.
4240 * gdb.c++/overload.cc: new file.
4241 * gdb.c++/ovldbreak.cc: new file.
4242 * gdb.hp/attach.c: new file.
4243 * gdb.hp/attach2.c: new file.
4244 * gdb.hp/average.c: new file.
4245 * gdb.hp/compiler.c: new file.
4246 * gdb.hp/compiler.cc: new file.
4247 * gdb.hp/execd-program.c: new file.
4248 * gdb.hp/follow-exec.c: new file.
4249 * gdb.hp/follow-fork.c: new file.
4250 * gdb.hp/follow-vfork-and-exec.c: new file.
4251 * gdb.hp/misc-hp.cc: new file.
4252 * gdb.hp/more-steps.c: new file.
4253 * gdb.hp/optimize.c: new file.
4254 * gdb.hp/quicksort.c: new file.
4255 * gdb.hp/run-hp.c: new file.
4256 * gdb.hp/start-stop.c: new file.
4257 * gdb.hp/sum.c: new file.
4258 * gdb.hp/templates-hp.cc: new file.
4259 * gdb.hp/thread-local-in-lib.c: new file.
4260 * gdb.hp/thread-local-in-lib.h: new file.
4261 * gdb.hp/thread-local-in-lib.lib.c: new file.
4262 * gdb.hp/vforked-program.c: new file.
4263 * gdb.hp/virtfunc-hp.cc: new file.
4264 * gdb.hp/watchpoint-hp.c: new file.
4265 * gdb.hp/xdb.c: new file.
4266 * gdb.hp/xdb0.c: new file.
4267 * gdb.hp/xdb0.h: new file.
4268 * gdb.hp/xdb1.c: new file.
4269
4270Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4271
4272 The following change was made by Edith Epstein
4273 <eepstein@cygnus.com> as part of a project to merge in changes
4274 originally made by HP; HP did not create ChangeLog entries.
4275
4276 * gdb.c++/demangle.exp: changed the expected output for some
4277 ARM-style mangling -- removed second reference to datatype.
4278 For example, maint demangle __dt__11T1__pt__2_cFv
4279 T1<char>::~T1<char>(void)
4280 becomes,
4281 maint demangle __dt__11T1__pt__2_cFv
4282 T1<char>::~T1(void)
4283
4284 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4285
c906108c
SS
4286Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4287
4288 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4289 * gdb.trace/backtrace.exp: Likewise.
4290 * gdb.trace/circ.exp: Likewise.
4291 * gdb.trace/collection.exp: Likewise.
4292 * gdb.trace/deltrace.exp: Likewise.
4293 * gdb.trace/infotrace.exp: Likewise.
4294 * gdb.trace/limits.exp: Likewise.
4295 * gdb.trace/packetlen.exp: Likewise.
4296 * gdb.trace/passc-dyn.exp: Likewise.
4297 * gdb.trace/passcount.exp: Likewise.
4298 * gdb.trace/report.exp: Likewise.
4299 * gdb.trace/save-trace.exp: Likewise.
4300 * gdb.trace/tfind.exp: Likewise.
4301 * gdb.trace/tracecmd.exp: Likewise.
4302 * gdb.trace/while-dyn.exp: Likewise.
4303 * gdb.trace/while-stepping.exp: Likewise.
4304
43051998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4306
4307 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4308
4309Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4310
4311 From Brendan Kehoe:
4312 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4313 int return types.
4314
4315Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4316
4317 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4318 remote dos host testing right.
4319
4320Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4321
4322 * gdb.base/corefile.exp: remove some xfails.
4323
4324Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4325
4326 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4327 have different timestamps.
4328
4329Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4330
4331 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4332 gdb.base/default.exp: Replace "exec" with "executable".
4333
4334Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4335
4336 * gdb.base/default.exp: Change else if to elseif from previous
4337 delta.
4338
4339Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4340
4341 * gdb.base/default.exp: Add brace missing from previous delta.
4342
4343Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4344
4345 * gdb.base/default.exp: Support test for info float for all
4346 varieties of arm toolchain.
4347
dc96c6c7 4348Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4349
4350 * gdb.trace/*.exp: remove "remote_download" command.
4351
dc96c6c7 4352Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4353
4354 * gdb.trace/*.exp: remove -gdwarf from compile.
4355
4356Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4357
4358 * gdb.trace/configure.in(AC_INIT): typo
4359 * gdb.trace/configure: regenerated
4360
dc96c6c7 4361Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4362
4363 * config/m68k-emc.exp: New file.
4364 * lib/<emc-support.exp trace-support.exp}: New files.
4365 * configure.in: add new test directory gdb.trace.
4366 * gdb.trace/{configure configure.in Makefile.in}: New files.
4367 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4368 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4369 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4370 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4371 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4372 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4373 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4374
dc96c6c7 4375Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4376
4377 * gdb.c++/classes.exp: Change all regular expressions to match
4378 arbitrary combinations of newline/carriage-return, so that they
4379 will work equally well on Unix and Windows.
4380 * gdb.c++/inherit.exp: ditto.
4381 * gdb.c++/virtfunc.exp: ditto.
4382
43831998-08-11 Dawn Perchik <dawn@cygnus.com>
4384
4385 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4386
c2d11a7d
JM
4387Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4388
4389 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4390 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4391 to use a0-a3/d0-d3 as needed.
4392
4393Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4394
4395 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4396 * gdb.disasm/am33.exp: Corresponding changes.
4397
c906108c
SS
43981998-07-11 Felix Lee <flee@cygnus.com>
4399
4400 * gdb.base/callfuncs.exp: add cmp10 test.
4401 * gdb.base/callfuncs.c (cmp10): new function.
4402
4403Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4404
beb998c6 4405 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4406 into two parts to get around a synchronization problem in expect.
4407
3fc11d3e
JM
4408Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4409
4410 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4411
4412 * configure.in: Add options for gdbtk testsuite.
4413
4414 * configure: Regenerate.
4415
4416 * gdb.gdbtk: New directory to hold gdbtk tests.
4417
c906108c
SS
4418Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4419
4420 * gdb.fortran/types.exp: Escape brackets in expect patterns
4421 for test_float_literal_types_accepted tests.
4422 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4423 before run test.
4424
c2d11a7d
JM
4425Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4426
4427 * am33.exp: Just compile, do not link the testcase.
4428 * am33.s: Add ".am33" pseudoop to force am33 mode.
4429
c906108c
SS
44301998-06-25 Felix Lee <flee@cygnus.com>
4431
4432 * gdb.base/setshow.exp: make sure $pc is sane.
4433
4434 * gdb.stabs/weird.exp: split expect patterns properly.
4435
c2d11a7d
JM
4436Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4437
4438 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4439 * gdb.disasm/am33.exp: Run it.
4440
dc96c6c7 4441Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4442
4443 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4444 match processing (and eliminate spurious timeouts when running).
4445
dc96c6c7 4446Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4447
4448 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4449 exception test, but conditionalize it on target [mach | gnu].
4450
dc96c6c7 4451Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4452
4453 * gdb.base/overlays.exp: fixup compile line for linker script.
4454
4455Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4456
4457 * gdb.fortran/types.exp: don't guess at float size.
4458
4459Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4460
4461 * gdb.base/exprs.exp: delete test that depends on int size.
4462
4463Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4464
4465 * config/sim.exp: Removed checks for target triplets.
4466 (gdb_target_sim): Use gdb,target_sim_options.
4467
4468Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4469
4470 * gdb.base/reread.exp: New file.
4471 * gdb.base/reread1.c: New file.
4472 * gdb.base/reread2.c: New file.
4473
4474Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4475
4476 * config/sim.exp: Use 'target sim -sparclite' when running
4477 SPARClite programs.
4478
4479Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4480
4481 * gdb.base/structs2.exp: New file.
4482 * gdb.base/structs2.c: New file.
4483
4484Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4485
4486 * gdb.asm/common.inc: New file.
4487 * gdb.asm/d10v.inc: New file.
4488 * asm-source.exp: Pass -I's to gas to find .inc files.
4489 Update line numbers in expected output.
4490 * asmsrc1.s: Rewrite.
4491 * asmsrc2.s: Rewrite.
4492 * configure.in: Create arch.inc symlink.
4493 * configure: Regenerate.
4494 * Makefile.in (distclean): Delete arch.inc.
4495
4496Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4497
4498 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4499 (t_enum_value2): ditto
4500 (t_enum_value3): ditto
4501 (main): ditto
4502Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4503
4504 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4505 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4506 change.
4507 Use gdb_test instead of send_gdb/gdb_expect sequences.
4508
4509Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4510
4511 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4512 not void.
4513
4514Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4515
4516 * gdb.base/branches.c: Code with lots of loops and
4517 subroutines. Used to test gdbs ability to single step through PC
4518 changes, especially to test mips-tdep.c:mips_next_pc
4519
4520Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4521
4522 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4523 more rigorous EGCS C++ error checking.
4524
4525Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4526
4527 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4528 tests.
c906108c 4529 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4530 function when asleep.
c906108c 4531 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
4532 for i*86 Linux and SVR4 signal handling problems.
4533 Remove linux xfail for `next to handler in signals_tests_1', fixed
4534 by recent infrun.c change.
c906108c 4535 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 4536 stack backtraces.
c906108c
SS
4537 Adjust expect pattern in `handle all print' test to match Apr 28 1997
4538 target.[ch] change.
4539
4540Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
4541
4542 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
4543 for a newline from gdb before continuing.
4544 (default_gdb_exit): Just look for y or n.
4545 (gdb_test): Detect abnormal exit from GDB running on DOS; if
4546 it does, fail the rests of the tests in the file.
4547
4548Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
4549
4550 * config/cygmon.exp: New file.
4551
4552Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
4553
4554 * gdb.base/list.exp: Fix problem with "list default lines around
4555 main" test on remote targets.
4556
4557 * gdb.base/scope.exp: Fix problem with filelocal_bss before
4558 run test on remote targets.
4559
4560Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
4561
4562 * gdb.asm: New directory.
4563 * configure.in: Configure it.
4564 * configure: Regenerate.
4565 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
4566 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
4567
4568Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
4569
4570 * config/mn10300-eval.exp: New file to support MN10300 eval board.
4571
dc96c6c7 4572Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4573
c906108c
SS
4574 * gdb.base/overlays (several files): Merge the two overlay
4575 managers into one. Change variables (foox, barx, bazx, grbxx)
4576 back into ints but force them to load in their proper sections.
4577
4578Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
4579
4580 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
4581 on-chip insn memory and IMAP1 to upper 128k.
4582 (D10VCopy): Handle memory regions crossing 16k boundaries.
4583 (D10VCopy): Transfer data in 32 bit chunks.
4584
4585Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
4586
4587 * gdb.base/overlays.c (main): Exit normally when result is
4588 correct.
4589
4590 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
4591 map. Include space for printf in .text segment.
4592
4593 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
4594 updated d10v memory VMA/LMA map.
4595 (D10VCopy): Call D10VTranslate.
beb998c6 4596
c906108c
SS
4597Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
4598
4599 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
4600
4601 * gdb.base/bar.c (barx, bar): Change variable to small array so
4602 that it won't be put into the .sdata - small data -
4603 section. Update reference.
4604 * gdb.base/baz.c (bazx, baz): Ditto.
4605 * gdb.base/foo.c (foox, foo): Ditto.
4606 * gdb.base/grbx.c (grbxx, grbx): Ditto.
4607
4608 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
4609 to be arrays.
beb998c6 4610
dc96c6c7 4611Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 4612
c906108c
SS
4613 * gdb.base/overlays.exp: fix up and get working again.
4614 Add tests for backtraces from an overlay function.
beb998c6 4615
c906108c
SS
4616Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
4617
4618 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
4619 "calling function with watchpoint enabled".
4620
4621Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
4622
4623 * gdb.base/break.exp (test_next_with_recursion): Remove
4624 gdb_suppress_tests for d10v-*-*.
4625 * lib/gdb.exp (gdb_suppress_tests): Disable this function
4626 pending review of whether it is useful or not.
4627
4628Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
4629
4630 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
4631
4632Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
4633
4634 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
4635 * config/dve.exp: New file to support Densan boards.
4636
4637Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
4638
4639 * gdb.base/interrupt.exp: Document problem of simulators, signals,
4640 reads and BSD.
4641
4642Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
4643
4644 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
4645 response.
4646
4647 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
4648
4649Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
4650
4651 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
4652 test.
4653
4654 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
4655 target_sizeof_long and target_bigendian_p.
4656 (structs_by_value, structs_by_reference): Check values according
4657 to targets word size and endianess.
beb998c6 4658
c906108c
SS
4659Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
4660
4661 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
4662 output.
4663
4664Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
4665
4666 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
4667 Update test of set args help to match source change.
4668
4669Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
4670
4671 * gdb.base/default.exp: Expect help system output to be in
4672 alphabetical order.
4673 * gdb.base/help.exp: Ditto.
4674
4675Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
4676
4677 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
4678 "i*86-pc-linux-gnu*".
4679 * gdb.base/interrupt.exp: Ditto.
4680 * gdb.base/corefile.exp: Ditto.
4681
4682 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
4683 define vxworks when building the testcase.
4684
4685 * gdb.base/ptype.exp: Fix testnames to be unique.
4686 * gdb.base/radix.exp: Ditto.
4687 * gdb.base/term.exp: Ditto.
4688 * gdb.base/whatis.exp: Ditto.
4689 * gdb.c++/classes.exp: Ditto.
4690
4691Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
4692
4693 * gdb.base/callfuncs.exp: Fix indentation.
4694
4695 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
4696 suppress_flag has been set.
4697 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
4698 target feature.
4699
4700Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
4701
4702 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
4703 the testcase.
4704
4705 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
4706 set_debug_traps() and breakpoint().
4707 * gdb.c++/misc.cc (main): Ditto.
4708 * gdb.c++/templates.cc (main): Ditto.
4709 * gdb.c++/virtfunc.cc (main): Ditto.
4710
4711Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
4712
4713 * lib/gdb.exp(gdb_step_for_stub): New function.
4714 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
4715 exists, reload the executable and do a "continue" instead of
4716 doing a jump.
4717 (runto_main): Use gdb_step_for_stub.
beb998c6 4718
c906108c
SS
4719 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
4720 tests to have unique names.
4721 * gdb.base/callfuncs.exp: Ditto.
4722 * gdb.base/commands.exp: Ditto.
4723 * gdb.base/default.exp: Ditto.
4724 * gdb.base/help.exp: Ditto.
4725 * gdb.base/list.exp: Ditto.
4726 * gdb.base/opaque.exp: Ditto.
4727 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
4728 similar tests.
beb998c6 4729
c906108c
SS
4730 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
4731 * gdb.c++/cplusfuncs.cc: Ditto.
4732 * gdb.c++/virtfunc.cc: Ditto.
4733
4734 * config/monitor.exp: Keep track of the last file we saw, rather
4735 than trying to get the info from gdb.
4736
4737 * gdb.fortran/types.exp: Move comment to previous line.
4738
4739Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
4740
4741 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
4742 target mode.
4743
4744Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
4745
4746 From Bob Manson:
4747 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
4748 string from GDB when it connects.
4749
4750 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
4751
4752Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
4753
4754 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
4755 if we can't get a debug format from GDB (we may be testing an
4756 older GDB). Use a 10 second timeout when checking for the format.
4757
4758 * gdb.stabs/weird.exp: Fix quoting.
4759
4760 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
4761
4762Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
4763
4764 * config/arm-ice.exp: New file.
4765
4766Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
4767
4768 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
4769 until it has been modified to work with the new testsuite.
4770
99707966 4771 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
4772 testcase won't compile, cause all of the testcases in the file to
4773 fail instead.
4774
4775 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
4776 (gdb_clear_suppressed): New procedure.
4777 (gdb_stop_suppressing_tests): Only clear suppress_flag if
4778 it contains a positive value.
4779
4780Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
4781
4782 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
4783
4784 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
4785
4786Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
4787
4788 * lib/gdb.exp (setup_xfail_format): New function.
4789 (get_debug_format): New function to get debug format.
4790 (debug_format): New global variable to hold last value set
4791 by get_debug_format.
4792 * gdb.base/list.exp: Call get_debug_format and expect some
4793 tests to fail for DWARF 1 and COFF formats.
4794 * gdb.c++/ptype.exp: Ditto.
4795 * gdb.c++/classes.exp: Ditto.
4796 * gdb.c++/cplusfuncs.exp: Ditto.
4797 * gdb.c++/inherit.exp: Ditto.
4798 * gdb.c++/templates.exp: Ditto.
4799 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 4800
c906108c
SS
4801Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
4802
4803 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
4804 host doesn't have a currently-open connection.
4805
4806 * config/sparclet.exp: Cleanups and fixes to make it generic for
4807 any gdb stub target. Handle cases where gdb doesn't respond when
4808 interrupted in a sane fashion.
4809
4810 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
4811 same thing in a totally different way.
4812
4813 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
4814 setting "timeout".
4815 (gdb_start): We set the global gdb_prompt variable in
4816 default_gdb_init now.
4817
4818Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
4819
4820 * gdb.base/printcmds.exp: Fix "check for floating addition"
4821 regexp to accept results within approx +/- .01 of exact value.
4822 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
4823
4824Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
4825
4826 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
4827 properly.
4828 (gdb_expect): Add optional timeout parameter, and add timeout
4829 value to various calls.
4830 (gdb_suppress_tests): Only give one warning message per group.
4831
4832Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
4833
4834 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
4835 global variables. Handle getting a value for $timeout more
4836 gracefully.
4837
4838Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
4839
4840 * lib/gdb.exp: Close connection to remote host if gdb doesn't
4841 initialize.
4842 (default_gdb_init): New procedure; allow gdb_init to be overridden
4843 by a target configuration file.
4844 (gdb_expect): Pass the timeout to remote_expect.
4845
4846 * config/monitor.exp(gdb_load): Fix typo in regexp.
4847
4848Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
4849
4850 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
4851
4852Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
4853
4854 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
4855 here. Call gdb_target_exec before rebooting the target, to make
4856 sure the connection to the target is closed.
4857 (gdb_load): Pass the name of the executable to gdb_target_monitor.
4858 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
4859 Also detect "Timeout reading from remote" error.
4860
4861 * config/gdbserver.exp: Pass the executable being loaded to
4862 gdb_target_monitor. Don't call gdb_file_cmd here; let
4863 gdb_target_monitor do it.
4864
4865 * gdb.disasm/hppa.exp: Don't use exec_output.
4866
4867Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
4868
4869 * gdb.base/list.exp: If we're debugging a non-native target,
4870 try to set the pc register to point to the start of the
4871 program before doing the first list command.
4872
4873 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
4874 test_calls after restarting.
4875
4876 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
4877 reloading.
4878
4879 * gdb.base/watchpoint.exp: Fix typo.
4880
4881 * gdb.base/setshow.exp: Check for use_gdb_stub.
4882
4883 * gdb.base/break.exp: Fix continue until exit test for the gdb
4884 stub case.
4885 * gdb.base/langs.exp: Ditto.
4886
4887 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
4888 gdb_load_offset. If we weren't given a file to load, figure out
4889 what the current file is and use it.
4890
4891 * config/i386-bozo.exp: New file.
4892
4893Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
4894
4895 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
4896 feature.
4897
4898 * config/proelf.exp: New entry.
4899
4900Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
4901
4902 * lib/gdb.exp: Remove spurious .* patterns at the beginning
4903 of regexps.
4904
4905 * gdb.base/watchpoint.exp: Don't run the test_stepping
4906 tests if gdb can't call functions on the target.
4907
4908 * gdb.base/setshow.exp: Don't run the set prompt tests if
4909 the board has gdb_prompt set.
4910
4911Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
4912
4913 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
4914 * gdb.base/commands.exp: Likewise.
4915 * gdb.base/setshow.exp: Likewise.
4916
4917Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
4918
4919 * config/monitor.exp(gdb_start): Look for gdb_prompt target
4920 feature.
4921
4922 * config/i960.exp: New file.
4923
4924Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
4925
4926 * gdb.base/funcargs.exp: Check for gdb,short_int target
4927 feature instead of looking for explicit target triplets.
4928
dc96c6c7 4929Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 4930
beb998c6 4931 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
4932 "p 123DEADBEEF", to check parse_number.
4933 * top.c: change "to enable to enable" to "to enable" in a couple
4934 of help strings.
4935
4936Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
4937
4938 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
4939 on the mn10300.
beb998c6 4940
c906108c
SS
4941Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
4942
4943 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
4944 where the test executable is run with explicit args.
4945 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
4946
4947Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
4948
4949 * gdb.base/run.c: Use FAKEARGV to build test executable that
4950 does not require a command line arg, since most simulators
4951 don't currently support passing such an arg into the simulated
4952 program.
4953 * gdb.base/commands.exp: Change tests to insert the proper
4954 value as the arg to the first recursive factorial call. Change
4955 compilation line to define FAKEARGV at compile time.
4956
4957Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
4958
4959 * gdb.base/recurse.exp: Enable these tests for the mn10300.
4960 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
4961 function with watchpoint enabled" test.
4962
4963Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
4964
4965 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
4966 Don't call gdb_test when the command doesn't return to a gdb prompt.
4967
4968 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
4969 "Tests restarted" messages.
4970
4971Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
4972
4973 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
4974
dc96c6c7 4975Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4976
4977 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
4978 for INFO SYMBOL; add help tests for OVERLAY commands.
4979 * gdb.base/default.exp: add tests for INFO SYMBOL command;
4980 add tests for OVERLAY commands
4981 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
4982 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
4983 * gdb.base/sigall.c: add usestubs code frag
4984 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 4985
c906108c
SS
4986Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
4987
4988 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
4989 failures.
4990 (gdb_stop_suppressing_tests): Note that tests have restarted.
4991
4992Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
4993
4994 * config/h8300.exp: New file.
4995
4996Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
4997
4998 * gdb.base/setshow.exp: Check for the existence of a
4999 feature, not its value.
5000
5001Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5002
5003 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5004
5005 * gdb.base/scope.exp: It's now init0(), not init().
5006
5007 * gdb.base/scope0.c: For now, change init() to be init0().
5008
5009 * config/monitor.exp: Use gdb_serial in preference to serial
5010 or netport.
5011
5012 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5013 and it's not already set.
5014
5015Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5016
5017 * gdb.base/setshow.exp: Only test the run command if the target
5018 isn't using a stub and if it supports argument passing.
5019
5020Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5021
5022 * config/udi.exp(gdb_start): Make sure UDICONF is set
5023 properly before starting gdb.
5024
5025Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5026
5027 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5028 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5029 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5030
5031Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5032
5033 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5034 specialized code to reboot the board, use remote_reboot instead.
5035
5036 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5037
5038 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5039
5040 * config/monitor.exp: Make sure we disconnect from the target.
5041 Also, try a reboot/reload cycle instead of failing if the
5042 load fails.
5043
5044Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5045
5046 * gdb.base/default.exp: Don't set match_max.
5047 * gdb.base/help.exp: Ditto.
5048 * gdb.base/list.exp: Ditto.
5049 * gdb.base/signals.exp: Ditto.
5050
5051 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5052 set, use remote_ld to download the testcase instead of
5053 the GDB loader.
5054
5055Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5056
5057 * config/vr5000.exp: New file.
5058
5059 * config/monitor.exp(gdb_target_monitor): Add pattern for
5060 "Ending remote" to detect errors in connecting.
5061
5062 * gdb.base/setshow.exp: Add .* within auto language test.
5063
5064 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5065 target feature.
5066
5067 * config/monitor.exp(gdb_load): Check for a failure when loading,
5068 and reboot the board if necessary.
5069
5070 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5071 a set of tests. Remove print.* from the patterns being checked.
5072
5073Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5074
5075 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5076 refer to gdb_spawn_id.
5077
5078 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5079 longer used.
5080 * config/sparclet.exp: Ditto.
5081 * config/sparclet-old.exp: Ditto.
5082 * config/slite.exp: Ditto.
5083 * config/sim.exp: Ditto.
5084 * gdb.base/funcargs.exp: Ditto.
5085
5086 * lib/gdb.exp:Remove references to gdb_spawn_id.
5087 (gdb_expect): Move to remote.exp.
5088
5089Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5090
5091 * config/monitor.exp: Detect the "Couldn't establish connection"
5092 message from GDB.
5093
5094Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5095
5096 * gdb.base/bitfields.exp: Use runto instead of explicit
5097 gdb_run_cmd/gdb_expect sequences.
5098
5099 * gdb.base/break.exp(text_next_with_recursion): Add match for
5100 gdb_expect call.
5101
5102 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5103 We also need to handle the "A program is being debugged already"
5104 prompt from gdb. Use gdb_test to set the baud rate.
5105
5106 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5107 to 20000. Really. I mean it.
5108
5109Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5110
5111 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5112 fails. If suppress_flag is set, skip perror message about not
5113 being able to send to GDB.
5114 (send_gdb): If suppress_flag is set, don't try to send commands to
5115 GDB.
5116 (gdb_expect): If suppress_flag is set, always fail immediately.
5117 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5118 (gdb_init): Call gdb_stop_suppressing_tests.
5119 (default_gdb_exit): Ditto.
5120 (default_gdb_start): Ditto.
5121
5122 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5123 gdb_stop_suppressing_tests as appropriate.
5124 * gdb.base/break.exp: Ditto.
5125 * gdb.base/callfuncs.exp: Ditto.
5126 * gdb.base/commands.exp: Ditto.
5127 * gdb.base/exprs.exp: Ditto.
5128 * gdb.base/funcargs.exp: Ditto.
5129 * gdb.base/list.exp: Ditto.
5130 * gdb.base/recurse.exp: Ditto.
5131 * gdb.base/scope.exp: Ditto.
5132 * gdb.base/structs.exp: Ditto.
5133 * gdb.c++/inherit.exp: Ditto.
5134
5135Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5136
5137 * config/vr4300.exp: New file.
5138
99707966
MC
5139 * gdb.*/*.exp: Call gdb_expect instead of expect.
5140
5141 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5142
5143Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5144
5145 * lib/gdb.exp(gdb_init): New function.
5146
5147 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5148 for each individual variable set.
5149
5150 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5151 name.
5152
5153 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5154
5155 * gdb.base/scope.exp: Use gdb_test.
5156
5157 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5158 aborting; the testsuite driver will do that for us (see
5159 gdb_finish). Also, use gdb_test in a few more places.
5160
5161Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5162
5163 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5164
5165Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5166
5167 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5168 and "add_tests" are not at the same address.
5169
5170Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5171
5172 * gdb.base/ptype.exp: Use gdb_test.
5173
5174Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5175
5176 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5177 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5178 left in. No longer expect them to fail.
5179
5180 * gdb.stabs/*.mt; Deleted, no longer used.
5181 * gdb.stabs/configure.in: Remove references to target makefile
5182 frags.
5183 * gdb.stabs/configure: Rebuilt.
5184
5185 * gdb.disasm/*.mt: Deleted, no longer used.
5186 * gdb.disasm/configure.in: Remove references to target makefile
5187 frags. Use "sh3.s" as the unique filename for this directory.
5188 * gdb.disasm/configure: Rebuilt.
5189
5190 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5191 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5192 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5193
5194Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5195
5196 * config/udi.exp: Use mondfe,name instead of remote_host.
5197
5198Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5199
5200 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5201 a function with a watchpoint enabled on the mn10200.
5202
5203 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5204 before trying to create it!
5205
5206Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5207
5208 * config/vx.exp: Use hostname instead of netport.
5209
5210 * config/vxworks.exp: New file.
5211
5212 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5213
5214 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5215 gdb before assuming everything worked. Send a ^C if a timeout
5216 occurs.
5217
5218 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5219 $gdb_spawn_id directly.
5220 (gdb_run_cmd): Try _start as well as start. Use the target feature
5221 gdb,start_symbol as the symbol to start from when jumping.
5222
5223Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5224
5225 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5226 redundant) test.
5227
5228 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5229 it doesn't lose for 16bit integer systems.
5230
5231Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5232
5233 * gdb.fortran/types.exp: If the target doesn't support "double"
5234 data types, then expect "real" types to only be 4 bytes.
5235
5236 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5237 call tests if the target doesn't support inferior function calls.
5238
5239 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5240 in printf tests.
5241
5242Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5243
5244 * gdb.base/help.exp: Disable "help set", "help show", and
5245 "help support". Simplify regexp for "help stack".
5246
5247 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5248 to 60 seconds. Temporarily set match_max to 15000 around the
5249 "info copying" test.
5250
5251 * gdb.base/nodebug.exp: Don't try to do an inferior function
5252 call if the target doesn't support them.
5253 * gdb.base/printcmds.exp: Likewise.
5254 * gdb.base/setvar.exp: Likewise.
5255 * gdb.base/structs.exp: Likewise.
5256 * gdb.c++/templates.exp: Likewise.
5257 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5258
5259 * gdb.base/recurse.exp: Enable for the mn10200.
5260
5261 * configure.in: Do configure gdb.stabs directory for *-*-elf
5262 targets.
5263 * configure: Rebuilt.
5264
5265 * gdb.base/break.exp: Check for gdb,noresults before testing
5266 exit status and/or results from the target.
5267 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5268 * lib/gdb.exp: Remove old (now bogus) initialization of
5269 noinferior, noargs, noresults and nosignals.
5270
5271Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5272
5273 * config/sh.exp: New file.
5274
5275 * config/slite.exp: Try to connect multiple times to the board
5276 before rebooting. Only send a "monitor run" if need_monitor_run
5277 is set.
5278
5279 * gdb.base/break.exp: Don't do the "stub continue" test if
5280 the target has gdb_stub set.
5281
5282 * gdb.base/callfuncs.exp: Increase the timeout.
5283
5284 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5285 if the target has gdb,noinferiorio set.
5286
5287 * gdb.base/list.exp: Increase match_max to 10000 characters.
5288
5289 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5290
5291 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5292 target.
5293
5294 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5295
5296Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5297
5298 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5299 trying to delete the copy of gdb. Catch the file delete so we
5300 don't die if the delete fails; also, the file should be copied to
5301 the host, not to the build.
5302
5303Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5304
5305 * lib/gdb.exp(gdb_test): Surround the result pattern with
5306 parenthesis in case it contains multiple regexps separated
5307 with |.
5308
5309 * gdb.base/watchpoint.exp: Use gdb_test.
5310 * gdb.base/default.exp: Ditto.
5311
5312Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5313
99707966 5314 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5315
c906108c
SS
5316 * gdb.base/scope.exp: Use gdb_test.
5317 * gdb.c++/classes.exp: Ditto.
5318 * gdb.c++/inherit.exp: Ditto.
5319
5320Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5321
5322 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5323 remote_exec instead.
5324 * gdb.base/corefile.exp: Don't be ridiculous.
5325 * gdb.base/*.c: Add missing stub invocations.
5326
5327Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5328
5329 * config/slite.exp: Miscellaneous fixes.
5330
5331 * lib/gdb.exp: Fix runto.
5332
5333 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5334 the target.
5335
5336 * gdb.base/watchpoint.exp: Fix regexp.
5337
5338 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5339 close and wait commands, as the descriptor may now be
5340 invalid. Always call "remote_close host".
5341
5342Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5343
5344 Major rewrite for testsuite revision.
beb998c6 5345
c906108c
SS
5346 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5347 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5348 instead of relying on spawn_id to always contain a valid
5349 spawn id.
5350 (get_compiler_info): New procedure to build the ${binfile}.ci
5351 file, instead of replicating this in N different places.
5352 (gdb_compile): New procedure.
beb998c6 5353
c906108c
SS
5354 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5355 appropriate arguments) instead of compile. Use gdb_test in a lot
5356 more places. Use send_gdb instead of send. Always run gdb_start
5357 at the start of a testcase, as this is no longer done magically.
5358
5359 config/*-gdb.exp: Rename without the -gdb suffix.
5360
5361 config/mips.exp: Use remote_close instead of exit_remote_shell.
5362 config/monitor.exp: Use target_info instead of looking at
5363 baud, timeout, etc.
5364 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5365
5366Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5367
5368 * gdb.c++/templates.exp (test_ptype_of_templates),
5369 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5370 Update expect patterns for destructors and assignment operators
5371 to match corresponding c-typeprint.c changes.
5372 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5373 to destructor breakpoint test, GDB should be able to set the
5374 destructor breakpoint without specifying arguments.
5375
5376Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5377
5378 * gdb.threads/pthreads.exp: Change result for failure to compile due
5379 to lack of pthreads runtime support from an error to simply an
5380 unsupported test, per dejagnu standards.
5381
5382Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5383
5384 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5385 where GDB exits to reduce pattern match time.
5386 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5387
5388 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5389
dc96c6c7 5390Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5391
5392 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5393 * gdb.base/default.exp: ditto.
5394 * gdb.base/nodebug.exp: ditto.
5395 * gdb.base/printcmds.exp: ditto.
5396 * gdb.base/ptype.exp: ditto.
5397 * gdb.base/setvar.exp: ditto.
5398 * gdb.base/structs.exp: ditto.
5399 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5400
5401Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5402
5403 * configure, */configure: Rebuild with autoconf 2.12.
5404
5405Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5406
5407 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5408 use new i*86-pc-linux*-gnu quads.
5409 * gdb.base/corefile.exp: Ditto.
5410 * gdb.base/signals.exp: Ditto.
5411 * gdb.base/sigall.exp: Ditto.
5412 * gdb.base/interrupt.exp: Ditto.
5413
5414 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5415 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5416 RedHat 4.0.
beb998c6 5417
c906108c
SS
5418 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5419 linux. This allows the test case to at least compile on latest
5420 linux, but still not run due to missing the threads runtime library.
5421
5422Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5423
5424 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5425 directory to search gdb directory. Accept and step over conditional
5426 stack alignment code. Consume $prompt in failure cases.
5427 Reset timeout to $oldtimeout instead of some arbitrary value.
5428 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5429 timeout problems with infinite stack backtraces.
5430 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5431 Accept function parameters for linkfunc member.
5432
5433Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5434
5435 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5436 (CXXFLAGS): Remove, unreferenced.
5437 (B_OPTIONS): Add for -B options and add code to initialize with
5438 previous -B options and also add -B option to pick up cross compiled
5439 runtime.
5440 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5441 doing cross compiles.
5442 (target_alias): Declare global.
5443 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5444 to verify that gcc exists in build tree, and if so set CC to that
5445 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5446
c906108c
SS
5447Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5448
5449 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5450 ptype test for anonymous union. Fixup testcase to match
5451 current gcc debug output.
5452
5453Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5454
5455 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5456 force argument to an unsigned long type.
5457
5458Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5459
5460 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5461 tests and anonymous union print/ptype tests.
5462 * gdb.base/list.exp (test_forward-search): Increase timeout by
5463 5 minutes for the "search extremely long line" case.
5464 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5465 completely optional and that the pass/fail messages use the command as
5466 the message if that third arg is a null string.
5467 (gdb_test_exact): Arrange that a null string pattern means match a
5468 null string output rather than any output, which might include random
5469 errors.
5470 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5471 backtrace test.
5472 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5473 always failing and failure is now exposed by gdb.exp changes.
5474
5475Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5476
5477 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5478 weren't being noted.
5479
5480Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5481
5482 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5483 * gdb.stabs/weird.exp: Remove v_comb xfails.
5484
dc96c6c7 5485Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5486
5487 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5488 list.exp scope.exp watchpoint.exp]
5489 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5490
dc96c6c7 5491Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5492
5493 * config/monitor.exp: Increase download timeout to 1000 seconds.
5494
dc96c6c7 5495Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5496
5497 * config/m32r.exp: Increase timeout to 120 seconds.
5498
5499Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5500
5501 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5502 and accept older ordering as obsolescent gcc or gdb.
5503 * gdb.c++/templates.exp: Ditto.
5504 * gdb.c++/virtfunc.exp: Ditto.
5505
5506Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5507
5508 * gdb.base/coremaker.c: Add code to mmap some data so we
5509 can check that it ends up in the core file.
5510 * gdb.base/corefile.exp: Add test to read mmapped data
5511 from core file.
5512
dc96c6c7 5513Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5514
5515 * config/m32r.exp: New file.
5516
5517Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5518
5519 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5520 that cflags can contains -gstabs, and work correctly for other tests.
5521
dc96c6c7 5522Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5523
5524 * gdb.base/setshow.exp: New file, tests show and set.
5525 * gdb.base/setshow.c: New file, tests show and set.
5526 * gdb.base/help.exp: Add test for help set|show annotate.
5527 * gdb.base/default.exp: Add test for set|show annotate.
5528
5529Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5530
5531 * testsuite/gdb.base/break.exp: Make backtrace from factorial
5532 errors unique.
5533 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
5534 explicitly.
5535
5536Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
5537
5538 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
5539 and width commands. This is done elsewhere.
5540 * (gdb_start): Don't call gdb_start_sim here. That's already
5541 done in gdb_load. This fixes lots of failures in default.exp.
5542
5543Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
5544
5545 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
5546 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
5547 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
5548 in the same we we treat other failures (since it may be an expected
5549 condition), rather than as an error.
5550 * gdb.base/signals.exp (test_handle_all_print): Revert back to
5551 old test format.
5552
5553Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
5554
5555 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
5556 (distclean maintainer-clean realclean): No need to remove files
5557 twice. Nuke the duplicates.
5558 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 5559 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
5560 Remove config.h along with other config files.
5561
5562Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
5563
5564 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
5565 "p func1 ()" and note that rests of tests are skipped.
5566 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
5567 setup_xfails for "print func2::coremaker_local".
5568 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
5569 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
5570 affected by the previous run test.
5571 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
5572 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
5573 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
5574 "pass int powerset tuple" and "pass modeless int powerset tuple".
5575 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
5576 "real write 4" and "real write 8".
5577 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
5578 setup_xfails for "print vs1 after tuple assign 2",
5579 "print \$i after tuple assign 2", and
5580 "print vs2 after tuple assign 2".
5581 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
5582 meaningful error message and return -1 so the caller can
5583 suppress further tests and avoid a cascade of errors.
beb998c6 5584
c906108c
SS
5585Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
5586
5587 * gdb.base/a1-selftest.exp: Tweak tests to account for new
5588 format for printing version.
5589 * gdb.base/default.exp: Ditto.
5590 * gdb.base/interrupt.exp: Fix problem with cascade of
5591 errors if child process dies while calling a function.
beb998c6 5592
c906108c
SS
5593Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
5594
5595 * Makefile.in (VPATH): Add
5596 * Makefile.in (Makefile, config.status): Fix rules so things get
5597 remade when necessary.
5598
5599Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
5600
5601 * Makefile.in (just-check): Add path to sibling expect dir
5602 to environment variable specified by RPATH_ENVVAR.
5603
5604Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
5605
5606 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
5607 (just-check): Add shared library paths for libstdc++, tk,
5608 tcl, bfd, and opcodes to the environment variable specified
5609 in RPATH_ENVVAR.
5610 * configure.in: Add support to recognize --enable-shared flag
5611 and generate correct value for RPATH_ENVVAR.
5612 * configure: Regenerated with autoconf.
5613
5614Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
5615
5616 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
5617 include all osf versions.
5618 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
5619 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
5620 when target is linux. When failing to build pthreads test
5621 executable, give more meaningful message.
5622 * gdb.threads/pthreads.c: Hpux also uses old definition of second
5623 arg for pthread_create.
beb998c6 5624
c906108c
SS
5625Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
5626
5627 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
5628 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
5629 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
5630 and -lpthreads (everybody else).
5631 (test_startup): Fail gracefully if threads are not supported.
5632 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
5633 "p/c array_index("abcdef",2)" when not gcc compiled.
5634 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
5635 "print func2::coremaker_local" when not gcc compiled.
5636 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
5637 "ptype on opaque struct tagname (statically)",
5638 "ptype on opaque struct tagname (dynamically) 1", and
5639 "ptype on opaque struct tagname (dynamically) 2"
5640 for not compiled with gcc.
5641 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
5642 backtrace when compiled with gcc.
beb998c6 5643 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
5644 than always return success.
5645
5646Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
5647
5648 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
5649
5650Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
5651
5652 * gdb.base/structs.exp: Undo last change.
5653
5654Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
5655
5656 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
5657 encapsulate all the steps/nexts done during self test, starting
5658 at main, and makes them less sensitive to optimization issues.
5659 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
5660 signal handler" test.
5661 * gdb.threads/pthreads.exp: Only run this for native configs.
5662 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
5663 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
5664 tests.
5665 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
5666 for "runto test_calls(void)" test.
beb998c6 5667
c906108c
SS
5668Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
5669
5670 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
5671 and don't expect address info in breakpoint confirmations.
5672
5673Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
5674
5675 * gdb.base/list.exp (test_forward_search): Increase timeout
5676 temporarily by 60 seconds for searching extremely long line,
5677 and then reset to old value when done. Increase expect input
5678 buffer to 10000.
5679
5680Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
5681
5682 * gdb.base/list.exp (test_forward_search): Fix to handle very
5683 long source line without overflowing expect's input buffer.
5684
5685Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
5686
5687 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
5688 "buffer_full".
5689
5690 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
5691 "buffer_full".
5692
5693 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
5694 "buffer_full".
5695
5696 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
5697 "buffer_full".
5698
5699Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
5700
5701 * configure.in (configdirs): Add gdb.threads.
5702 * configure: Regenerated with autoconf.
5703 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
5704 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
5705 * gdb.threads/configure: New, generated with autoconf.
beb998c6 5706
c906108c
SS
5707Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
5708
5709 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
5710
5711Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
5712
5713 * gdb.base/signals.exp (test_handle_all_print): Test separately for
5714 each signal's status in the output of "handle all print".
5715 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
5716 the \r\n sequence that immediately precedes the gdb prompt.
5717 * gdb.base/a1-selftest.exp: Save original timeout and restore
5718 after test.
5719
5720Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
5721
5722 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
5723 symbol.
5724
5725Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5726
5727 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
5728
5729Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
5730
5731 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
5732 timeout by 60 seconds.
5733
5734Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
5735
5736 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
5737 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
5738 error return.
5739
5740Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
5741
5742 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
5743 gdb initialization, also report how long dejagnu waited. Restore
5744 old timeout before doing error return. Temporarily increase timeout
5745 by 3 minutes to allow for slow startups over heavy NFS use.
5746
5747Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
5748
5749 * lib/gdb.exp: Report timeout value for verbosity level 2.
5750 * config/gdbserver.exp: Ditto.
5751 * config/hppro.exp: Ditto.
5752 * config/mips-gdb.exp: Ditto.
5753 * config/monitor.exp: Ditto.
5754 * config/netware.exp: Ditto.
5755 * config/sim-gdb.exp: Ditto.
5756 * config/slite-gdb.exp: Ditto.
5757 * config/udi-gdb.exp: Ditto.
5758 * config/unix-gdb.exp: Ditto.
5759 * config/vx-gdb.exp: Ditto.
5760 * gdb.base/a1-selftest.exp: Ditto.
5761 * gdb.base/a2-run.exp: Ditto.
5762 * gdb.base/break.exp: Ditto.
5763 * gdb.base/corefile.exp: Ditto.
5764 * gdb.base/list.exp: Ditto.
5765 * gdb.base/recurse.exp: Ditto.
5766 * gdb.base/scope.exp: Ditto.
5767 * gdb.base/signals.exp: Ditto.
5768
5769Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5770
5771 * gdb.threads/Makefile.in (docdir): Removed.
5772
5773Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5774
5775 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 5776 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 5777 @srcdir@.
beb998c6 5778 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
5779 autoconf 2.5 or higher.
5780 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
5781
5782Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
5783
5784 * configure: Regenerated.
5785 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
5786 avoid name clashes with SunOS headers.
5787
5788Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
5789
5790 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
5791
5792Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
5793
5794 * gdb.base/callfuncs.exp: Finish last change -- make sure the
5795 prototype information ends up in the compiler info file.
5796
5797Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
5798
5799 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
5800 attempting to regenerate it. Eliminate use of a temporary file
5801 and just generate the info file directly. Source it immediately,
5802 for consistency of use.
5803 * gdb.base/corefile.exp: Ditto
5804 * gdb.base/exprs.exp: Ditto.
5805 * gdb.base/funcargs.exp: Ditto.
5806 * gdb.base/langs.exp: Ditto.
5807 * gdb.base/list.exp: Ditto.
5808 * gdb.base/mips_pro.exp: Ditto.
5809 * gdb.base/nodebug.exp: Ditto.
5810 * gdb.base/opaque.exp: Ditto.
5811 * gdb.base/ptype.exp: Ditto.
5812 * gdb.base/scope.exp: Ditto.
5813 * gdb.base/setvar.exp: Ditto.
5814 * gdb.base/signals.exp: Ditto.
5815 * gdb.base/whatis.exp: Ditto.
5816 * gdb.c++/templates.exp: Ditto.
5817 * gdb.c++/virtfunc.exp: Ditto.
5818 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
5819 whether or not to add -lstdc++ to the compile command line args.
5820
5821Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5822
5823 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
5824 it got fixed by the recent lookup_minimal_symbol_by_pc change.
5825 Increase timeout, a lot of single stepping might be needed if the
5826 target has no hardware watchpoints.
5827
5828Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
5829
5830 * gdb.base/break.exp: Ignore compiler warnings when compiling
5831 break.c.
5832 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
5833 * gdb.base/default.exp: Add h8300 xfails. Handle messages
5834 from remote-sim.
5835 * gdb.base/exprs.exp: Add h8300 xfails.
5836 * gdb.base/funcargs.exp: Likewise.
5837 * gdb.base/nodebug.exp: Likewise.
5838 * gdb.base/printcmds.exp: Likewise.
5839 * gdb.base/ptype.exp: Likewise.
5840 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
5841 h8300 xfails.
beb998c6 5842 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
5843 on the h8300.
5844 * gdb.base/funcargs.c: Explicitly make last constant argument to
5845 call_after_alloca_subr an unsigned long type.
5846 * gdb.base/return.c: Include stdio.h.
5847
5848Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
5849
5850 * config/abug.exp: New file for the older Motorola Bug monitor
5851 that runs on the mvme13x series VME boards.
5852 * config/monitor.exp: Use the new config array for target settings
5853 if they exist.
5854
5855Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
5856
5857 * sim-gdb.exp: Make the SH simulator allocate less space when
5858 it is targeted.
5859
5860Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
5861
5862 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
5863 test.
5864
5865Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
5866
5867 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
5868 "rs6000-*-*" for "list function in include file" when gcc compiled.
5869 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
5870 for "p ctable1[120]".
5871 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
5872 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
5873 Remove setup_xfail for "rs6000-*-*" for
5874 "print 'scope0.c'::filelocal before run".
5875 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
5876 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
5877 since some compilers don't allow both options to be given
5878 on the same command line. Create object file and move it.
beb998c6 5879
c906108c
SS
5880Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
5881
5882 * gdb.base/corefile.exp: Always regenerate the core file, since
5883 we always regenerate the coremaker program. Detect special case
5884 where registers cannot be read from core file.
beb998c6 5885
c906108c
SS
5886Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
5887
5888 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
5889 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
5890 * gdb.c++/templates.exp: Only match on basename of file since
5891 some formats like xcoff don't encode directory information.
5892 * gdb.stabs/weird.exp: Use the right sed script for powerpc
5893 and rs6000 AIX xcoff targets.
5894 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
5895 * configure: Regenerate.
5896 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
5897 here, rather than in distclean.
beb998c6 5898
c906108c
SS
5899Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
5900
5901 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
5902 defined, and use it to compile the test case with -O2. The
5903 native compilation still uses no optimization.
5904 * gdb.base/mips_pro.c: Remove inline assembly code since
5905 it is compiled PIC by default, which results in assembler
5906 warnings that make the testsuite think the compilation
5907 was unsuccessful.
5908
5909Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
5910
5911 * gdb.c++/misc.exp: Add note to message for
5912 "print s.a for foo struct" that this is a known gcc 2.7.2
5913 and earlier bug.
5914
5915Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
5916
5917 * gdb.base/break.exp: Fix pattern for matching "Delete all
5918 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
5919 setup_xfail for deleting all breakpoints test. Fix various
5920 timeout messages to include "(timeout)".
5921 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
5922 for "p t_float_values2(3.14159,float_val2)".
5923 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
5924 for "continue to call2g" when gcc compiled.
5925 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
5926 "up to foo in langs.exp", "show language at foo in langs.exp",
5927 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
5928 and "show language at fsub in langs.exp".
5929 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
5930 "list line 1 in include file", "list message for lines past EOF",
5931 "list function in include file", "list list0.h:foo", and
5932 "list filename:function; nonexistant function".
5933 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
5934 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
5935 and "ptype t_char_array" to be for native cc only.
beb998c6 5936
c906108c
SS
5937Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
5938
beb998c6 5939 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
5940 setup_xfail for "print coremaker_bss", "print coremaker_ro",
5941 "print func2::coremaker_local", and "backtrace in corefile.exp".
5942
5943Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
5944
5945 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
5946 "bt in signals.exp". This problem only appears when running
5947 the testsuite, and then only intermittently.
5948
5949Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
5950
5951 * gdb.base/return.exp (return_tests): Differentiate between
5952 two tests of continuing.
5953
5954Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
5955
5956 * */Makefile.in (maintainer-clean): Remove config.log.
5957 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
5958 * gdb.c++/Makefile.in (PROGS): Add inherit.
5959 (clean): Remove *.ci.
5960
5961Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
5962
5963 * gdb.c++/misc.cc: Add test code from Mike Stump.
5964 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
5965
5966Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
5967
5968 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
5969 to "alpha-*-osf2*" and add comment.
5970 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
5971 setup_xfail for "step over execarg initialization" and
5972 "step over corearg initialization".
5973 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
5974 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
5975 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
5976 gcc compiled for "print coremaker_bss", "print coremaker_ro",
5977 "print func2::coremaker_local", and "backtrace in corefile.exp".
5978 * gdb.base/signals.exp: Build and source signals.ci.
5979 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
5980 to be for gcc only.
5981 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 5982
c906108c
SS
5983Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5984
5985 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
5986 Feb 3 procfs.c change.
5987
5988Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
5989
5990 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
5991
5992Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
5993
5994 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
5995 from dejagnu's apparent default of 10 seconds, which gives random
5996 results when running the tests over NFS on moderately loaded systems.
5997 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
5998
5999Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6000
6001 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6002 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6003 result reports.
6004
6005Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6006
6007 * configure.in (CY_AC_PATH_TCLH): Remove.
6008 * configure: Regenerate.
6009
6010Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6011
6012 * gdb.c++/Makefile.in (clean): Add missing '{'.
6013
6014Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6015
6016 * lib/gdb.exp: Provide a default value for noinferior.
6017
6018 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6019 Load libgloss.exp.
6020
6021Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6022
6023 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6024 the executable, not the .o to run the tests from.
6025
6026Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6027
6028 * gdb.base/break.exp: Don't test for program exit or exit status
6029 if $noresults if nonzero.
6030 * gdb.base/langs.exp: Likewise.
6031 * gdb.base/watchpoint.exp: Likewise.
6032
6033 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6034 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6035 trying to compile the testcase.
6036
6037Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6038
6039 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6040 * gdb.base/signals.exp (continue to handler): Likewise.
6041
6042Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6043
6044 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6045
6046 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6047
6048Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6049
6050 * gdb.base/corefile.exp: Recognize "not found" as failure
6051 when trying to determine if a core file was generated.
6052 If no core file was generate the first time, try again without
6053 the ulimit -c to work around braindamaged shells.
6054
6055Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6056
6057 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6058 [] tests with "test" and enclose string in quotes.
6059 * gdb.stabs/configure: Rebuild
beb998c6 6060
c906108c
SS
6061Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6062
6063 Changes in sync with expect:
6064 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6065 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6066 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6067 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6068 argument to AC_REQUIRE.
6069 * configure: Regenerated.
6070
6071Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6072
6073 * gdb.base/corefile.exp: When generating a core, discard any
6074 error messages about ulimit not found and the "core dumped"
6075 message from the shell that runs the coredumper.
6076
6077Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6078
6079 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6080
6081 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6082 which sed script to run. Expect failure for v_comb test
6083 on PA targets too.
beb998c6 6084
c906108c
SS
6085Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6086
6087 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6088 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6089
6090Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6091
6092 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6093 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6094 "sparc-sun-solaris*" xfails for "p v_comb".
6095 * lib/gdb.exp (default_gdb_start): Fix typo.
6096 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6097 messages to not include the full program name that caused
6098 the core dump since some systems (such as solaris) apparently
6099 truncate this path to about 80 characters.
6100 When generating a core file first try increasing the core file
6101 size limit to unlimited since some systems may default it to
6102 zero, and it is harmless to try it. Move the test for failing
6103 to generate a core file to where it will actually get executed.
6104 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6105 new gdb result from g++ debug info improvements and make old
6106 pattern obsolescent. Also account for size_t differences
6107 (may be int or long).
6108 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6109 initialization before function call is placed in the delay slot
6110 and thus appears to be skipped over by commands such as "next".
6111
6112Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6113
6114 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6115
6116Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6117
6118 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6119 input source file; fix code to compile test to deal with this
6120 convention.
6121 * gdb.c++/*.exp: Likewise.
6122
6123Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6124
6125 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6126 "bt in signals.exp".
6127
6128Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6129
6130 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6131 "step over execarg initialization" and
6132 "step over corearg initialization".
6133
6134Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6135
6136 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6137 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6138
6139Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6140
6141 From Rob Savoye (rob@poseidon.cygnus.com)
6142 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6143 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6144 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6145 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6146 configure.in}: Major reworking for autoconfig.
6147 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6148 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6149 New files.
6150 * config/unix-gdb.exp: Make GDB global.
6151 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6152 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6153 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6154 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6155 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6156 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6157 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6158 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6159 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6160 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6161 pr-8136.exp, result.exp, string.exp, tuples.exp},
6162 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6163 to returns as necessary, arrange for test to compile own testcase
6164 executable.
6165 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6166
c906108c
SS
6167Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6168
6169 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6170 clear_xfail at end of test which might not call either pass or fail.
6171 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6172 "backtrace through signal handler".
6173
6174Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6175
6176 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6177 continuing from a job control stop signal.
6178 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6179
6180Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6181
6182 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6183 * gdb.base/corefile.exp: Likewise.
6184 * gdb.base/funcargs.exp: Likewise.
6185
6186Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6187
6188 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6189 * config/monitor.exp: Add support for setting baud rate.
6190
6191Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6192
6193 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6194 i*86-*-linux* xfails for "backtrace through signal handler".
6195 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6196 "print func2::coremaker_local".
6197 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6198 alpha-dec-osf2* xfail for
6199 "delete all breakpoints when none".
6200
6201Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6202
6203 * gdb.base/break.exp: Change test that deletes all breakpoints
6204 when no user breakpoints are installed. A post 4.15 change
6205 causes gdb to no longer prompt in this case.
6206
6207Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6208
6209 * gdb.base/return.exp (return_tests): Change xfail for test
6210 "correct value returned double test" to stop xfailing at
6211 Solaris 2.5. Apparently the bug has been fixed.
6212
6213Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6214
6215 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6216 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6217
6218Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6219
6220 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6221 * gdb.disasm/hppa.s: Corresponding changes.
6222
6223Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6224
6225 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6226 makefile fragment.
6227 * config/mt-hpux: Deleted.
6228
6229Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6230
beb998c6 6231 * Many files: When warning about suppressed tests due to a
c906108c
SS
6232 nonexistant test binary, avoid incrementing the warning count.
6233
6234Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6235
6236 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6237
c906108c
SS
6238Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6239
6240 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6241 "sparc-*-solaris2*".
6242
6243Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6244
6245 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6246 Add global and local variables and initialize them.
6247 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6248 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6249 extracts the file name and terminating signal from the core file.
6250 * TODO: Remove note about tests for correct mapping of corefile.
6251 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6252 from optimizing it away.
6253 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6254 handles common blocks.
6255
6256Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6257
6258 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6259 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6260
6261Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6262
6263 * Makefile.in (maintainer-clean): New target, synonym for
6264 realclean.
6265 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6266 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6267 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6268 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6269 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6270 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6271
6272Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6273
6274 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6275 xfails when not gcc compiled for "print foo::funclocal".
6276 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6277 "print foo::funclocal at foo",
6278 "print 'scope1.c'::foo::funclocal at foo",
6279 "print foo::funclocal_bss at foo",
6280 "print 'scope1.c'::foo::funclocal_bss at foo",
6281 "print foo::funclocal_ro at foo",
6282 "print 'scope1.c'::foo::funclocal_ro at foo",
6283 "print bar::funclocal at foo" and
6284 "print 'scope1.c'::bar::funclocal at foo".
6285 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6286 gcc compiled for "print foo::funclocal at bar".
6287 Expand all messages to ensure that they identify that
6288 the test is at bar().
6289 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6290 gcc compiled for:
6291 "ptype on opaque struct pointer (statically)",
6292 "ptype on opaque struct tagname (statically)",
6293 "ptype on opaque struct pointer (dynamically) 1",
6294 "ptype on opaque struct tagname (dynamically) 1",
6295 "ptype on opaque struct pointer (dynamically) 2" and
6296 "ptype on opaque struct tagname (dynamically) 2
6297 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6298 gcc compiled for:
6299 "p datalocal"
6300 "whatis datalocal",
6301 "ptype datalocal",
6302 "p bsslocal",
6303 "whatis bsslocal", and
6304 "ptype bsslocal".
6305 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6306 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6307 when not gcc compiled.
6308 * gdb.base/funcargs.exp (float_and_integral_args): Add
6309 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6310 compiled.
6311 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6312 "backtrace from call6a" when not gcc compiled.
6313 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6314 "backtrace from call7a" when not gcc compiled.
6315 * gdb.base/callfuncs.exp (do_function_calls):
6316 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6317 "p t_char_array_values(char_array_val2,char_array_val1)",
6318 "p t_char_array_values(char_array_val1,char_array_val2)",
6319 "p t_char_array_values("carray 1","carray 2")",
6320 "p t_char_array_values("carray 1",char_array_val2)",
6321 "p t_char_array_values(char_array_val1,"carray 2")",
6322 "p sum_args(1,{2})",
6323 "p sum_args(2,{2,3})",
6324 "p sum_args(3,{2,3,4})",
6325 "p sum_args(4,{2,3,4,5})"
6326 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6327 "backtrace in corefile.exp" when not gcc compiled.
6328
6329Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6330
6331 * gdb.base/signals.exp: Rewrite `handle all print' test as
6332 a procedure. Accept blanks or TABs as whitespace, increase
6333 timeout and expect input buffer size for the large output
6334 from the command. Remove "i*86-*-bsdi2.0" xfail.
6335
6336Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6337
6338 * gdb.base/setvar.exp: Add new testcases for truncation when
6339 assigning invalid values to bitfields.
6340
6341Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6342
beb998c6 6343 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6344 mips-sgi-irix* xfail for
6345 "call inferior func with struct - returns char *"
6346 and fix test so that an optional (unsigned char *) cast is
6347 accepted in the result.
6348
6349Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6350
6351 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6352 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6353 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6354 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6355 that accidentally got checked in.
6356
6357Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6358
beb998c6 6359 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6360 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6361 compiled test.
6362 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6363 Add mips-sgi-irix5* xfail for not gcc compiled.
6364 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6365 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6366 "p top", "whatis top", "p middle", and "whatis middle".
6367 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6368 "whatis signed char" for not gcc compiled.
6369 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6370 "set variable signed char=-1 (-1)" and
6371 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6372 * gdb.base/funcargs.exp (float_and_integral_args):
6373 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6374 Add mips-sgi-irix* xfail when not gcc compiled for
6375 "continue to call2b".
6376 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6377 "continue to call2g".
6378 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6379 "backtrace from call6a"
6380 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6381 "backtrace from call7k".
6382 Add mips-sgi-irix5* xfail when not gcc compiled for
6383 "backtrace from call7a".
6384 (localvars_after_alloca): Fix gdb_test cmds for
6385 "print * after runto ...".
6386 Remove rs6000-*-* xfails for
6387 "print i after runto localvars_after_alloca" and
6388 "print l after runto localvars_after_alloca"
6389 for all compilers.
6390 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6391 when not compiled with gcc, for:
6392 "print signed char == (minus)",
6393 "print signed char != (minus)",
6394 "print signed char < (minus)",
6395 "print signed char > (minus)".
6396 * gdb.base/callfuncs.exp (do_function_calls):
6397 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6398 "call inferior func with struct - returns char *".
beb998c6 6399 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6400 "correct value returned double test" to include Solaris 2.4.
6401 * gdb.base/funcargs.exp (float_and_integral_args):
6402 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6403
c906108c
SS
6404Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6405
6406 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6407 enumeration bitfields if compiling with GNU C.
6408 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6409 to empty' prompt.
6410
6411Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6412
6413 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6414 test for PRO targets.
6415
6416 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6417 breakpoints in the inferior at any given time by making
6418 two groups of breakpoints for call2*, call6* and call7*
6419 tests.
6420
6421Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6422
6423 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6424 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6425 from optimizing it away.
6426 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6427 "call inferior func with struct".
6428
6429Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6430
6431 * configure.in: Only configure gdb.chill for particular targets.
6432
6433Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6434
6435 * gdb.base/Makefile.in: Add action to .c.o transformation
6436 rule that generates a .ci file for each .o file and remove
6437 explicit .c.o rules except for callfuncs.o.
6438 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6439 generates a .ci file for each .o file and remove explicit
6440 .cc.o rules.
6441 (clean): Remove *.tmp *.ci files.
6442 (EXECUTABLES): Remove templ-info.exp.
6443 * gdb.base/compiler.c: New file.
6444 * gdb.c++/compiler.cc: New file
6445 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6446 Change rs6000-*-* xfail for
6447 "print 'scope0.c'::filelocal_ro" and
6448 "print 'scope1.c'::filelocal" and
6449 "print 'scope1.c'::filelocal_bss" and
6450 "print 'scope1.c'::filelocal_ro" and
6451 "print 'scope1.c'::foo::funclocal" and
6452 "print 'scope1.c'::foo::funclocal_ro" and
6453 "print 'scope1.c'::bar::funclocal" and
6454 "print 'scope0.c'::filelocal_ro" and
6455 "print 'scope1.c'::filelocal at foo" and
6456 "print 'scope1.c'::filelocal_bss at foo" and
6457 "print 'scope1.c'::filelocal_ro at foo" and
6458 "print 'scope1.c'::foo::funclocal at foo" and
6459 "print 'scope1.c'::foo::funclocal_bss at foo" and
6460 "print 'scope1.c'::foo::funclocal_ro at foo" and
6461 "print 'scope1.c'::bar::funclocal at foo" and
6462 "print 'scope0.c'::filelocal_ro" and
6463 "print 'scope1.c'::filelocal" and
6464 "print 'scope1.c'::filelocal_bss" and
6465 "print 'scope1.c'::filelocal_ro" and
6466 "print 'scope1.c'::foo::funclocal" and
6467 "print 'scope1.c'::foo::funclocal_bss" and
6468 "print 'scope1.c'::foo::funclocal_ro" and
6469 "print 'scope1.c'::bar::funclocal" and
6470 "print 'scope1.c'::bar::funclocal_bss"
6471 to only be xfail'd when not compiled with gcc.
beb998c6 6472 Add rs6000-*-* xfail for
c906108c
SS
6473 "print 'scope0.c'::filelocal_bss before run"
6474 when compiled with gcc.
6475 (test_at_main): Add rs6000-*-* xfail for
6476 "print filelocal_ro in test_at_main"
6477 when compiled with gcc.
6478 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6479 Add rs6000-*-aix* xfail for
c906108c
SS
6480 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6481 "ptype t_char_array", not compiled with gcc.
6482 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6483 xfail for "list foo (in include file)" when gcc compiled.
6484 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6485 (integral_args): Add rs6000-*-* xfail for
6486 "run to call0a" if not compiled with gcc.
6487 (unsigned_integral_args): Add rs6000-*-* xfail for
6488 "run to call1a" if not compiled with gcc.
6489 (float_and_integral_args): Add rs6000-*-* xfail for
6490 "run to call2a" if not compiled with gcc and for
6491 "continue to call2b" for any compiler.
6492 Add rs6000-*-* xfail to
6493 "print f1 after run to call2a" for gcc compiled.
6494 (discard_and_shuffle): Add rs6000-*-* xfail for
6495 "run to call6a".
6496 (shuffle_round_robin): Add rs6000-*-* xfail for
6497 "backtrace from call7a" if not compiled with gcc.
6498 Add rs6000-*-* xfail for
6499 "backtrace from call7b" if compiled with gcc.
6500 (call_after_alloca): Add rs6000-*-* xfail for
6501 "print c in call_after_alloca" and
6502 "print s in call_after_alloca" and
6503 "backtrace from call_after_alloca_subr"
6504 if not compiled with gcc.
6505 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6506 "print c in localvars_in_indirect_call" and
6507 "print c in localvars_in_indirect_call" and
6508 "backtrace in indirectly called function" and
6509 "stepping into indirectly called function"
6510 if not compiled with gcc.
6511 (localvars_after_alloca): Add rs6000-*-* xfail for
6512 "print c after runto localvars_after_alloca" and
6513 "print s after runto localvars_after_alloca" and
6514 "print i after runto localvars_after_alloca" and
6515 "print l after runto localvars_after_alloca"
6516 for all compilers.
6517 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6518 than whatis-info.exp.
6519 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6520 than opaque-info.exp.
6521 Setup rs6000-*-* xfail for
beb998c6 6522 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6523 "ptype on opaque struct pointer (dynamically)" when
6524 not compiled with gcc.
6525 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6526 rather than callf-info.exp.
6527 (do_function_calls): Add clear_xfail for rs6000-*-* for
6528 "p t_float_values2(3.14159,float_val2)". Seems to work
6529 fine there, both with xlc and gcc. Need to find out what
6530 it is doing right and fix other platforms.
6531 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
6532 "call inferior func with struct - returns int",
6533 "call inferior func with struct - returns long",
6534 "call inferior func with struct - returns float",
6535 "call inferior func with struct - returns double",
6536 "call inferior func with struct - returns char *",
6537 but only if not gcc compiled (presumes xlc compiled).
6538 Change rs6000-*-* xfails for
6539 "call inferior func with struct - returns char" and
6540 " call inferior func with struct - returns short" to only
6541 xfail if not using gcc.
6542 (clean mostlyclean): Remove *.ci and *.tmp files.
6543 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
6544 than templ-info.exp.
6545 * gdb.base/langs.exp: Source gdb.base/langs.ci.
6546 Add rs6000-*-* xfail for "up to foo in langs.exp"
6547 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
6548 when not gcc compiled.
beb998c6 6549
c906108c
SS
6550Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6551
6552 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
6553 * gdb.base/corefile.exp: Likewise.
6554 * gdb.base/list.exp: Likewise.
6555 * gdb.base/scope.exp: Likewise.
6556 * gdb.base/siganls.exp: Likewise.
6557
6558 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
6559 compiler output.
6560 * gdb.base/whatis.exp: Likewise.
6561
6562Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
6563
6564 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
6565 failure (opcode table has been fixed to match reality).
6566
6567Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
6568
6569 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
6570 "call inferior func with struct - returns char",
6571 "call inferior func with struct - returns short"
6572
6573 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
6574 "print 'scope0.c'::filelocal at main",
6575 "print 'scope0.c'::filelocal_bss in test_at_main",
6576 "print 'scope0.c'::filelocal at foo",
6577 "print 'scope0.c'::filelocal_bss in test_at_foo",
6578 "print 'scope0.c'::filelocal at bar",
6579 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 6580
c906108c
SS
6581 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
6582 in source file 1". This bug seems to have been fixed with both
6583 gcc and native cc (was native assembler bug?).
6584
6585Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
6586
6587 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
6588 "backtrace through signal handler" to "i*86-*-sysv4*".
6589 * gdb.base/signals.exp: Add xfail for "'next' behaved as
6590 continue" case. Add "known SVR4 bug" to fail message.
6591 Add "i*86-*-bsdi2.0" xfail for "handle all print".
6592 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
6593 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
6594 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
6595 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
6596 "up to foo in langs.exp", "show language at foo in
6597 langs.exp", "up to cppsub_ in langs.exp", "show
6598 language at cppsub_ in langs.exp", "up to fsub in
6599 langs.exp", and "show language at fsub in langs.exp".
6600 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
6601 "bactrace in corefile.exp".
6602 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
6603 "call inferior function with struct - returns float" and
6604 "call inferior function with struct - returns double".
beb998c6 6605
c906108c
SS
6606Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
6607
6608 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
6609 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
6610 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
6611 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
6612
6613Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
6614
6615 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
6616 (or overriden) "CHILL" macro rather then bare "gcc".
6617 Also look for ../../gcc/xgcc since that is what we will
6618 actually need, not "Makefile". Remove following assignment
6619 of CHILL to CHILL_FOR_TARGET because that results in
6620 recursive definition.
6621
6622Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
6623
6624 * gdb.base/corefile.exp: Change xfail for backtrace in
6625 corefile.exp from linuxaout to all linux.
6626 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
6627 cases where we miss the breakpoint at the signal handler
6628 for some reason. Setup xfail for linuxoldld/linuxaout and
6629 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
6630 hitting SIGURG breakpoint.
6631 * gdb.base/signals.exp: Setup xfail for "next" acting like
6632 continue to add linuxoldld. Setup xfail for all linux for
6633 "next to handler in signals_tests_1", "backtrace in
6634 signals_tests_1", "continue to func1", "pass SIGUSR1",
6635 and continue to handler".
6636
6637Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
6638
6639 * Update all FSF addresses except those in COPYING* files.
6640
6641Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
6642
6643 * gdb.base/a2-run.exp: Change messages to be more explicit about
6644 the status of args, and quote binfile in results.
6645
6646Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
6647
6648 * gdb.base/callfuncs.exp: Add tests for passing structs to
6649 inferior functions and return various types.
6650 * gdb.base/callfuncs.c: Add functions to receive a struct
6651 and return a member of the struct, in various types.
6652
6653Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6654
6655 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
6656
6657Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6658
6659 * config/vxworks29k.exp: New file, sources vxworks.exp.
6660
6661Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6662
6663 * config/gdbremote.exp: New file. Testing framework using
6664 gdbserver.
6665
6666Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
6667
6668 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
6669 "call function when asleep" and "send end of file".
6670 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
6671 for "backtrace in corefile.exp".
6672 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
6673 for "backtrace through signal handler".
6674 * gdb.base/corefile.exp: Make sure we actually generate a core file
6675 before trying the core tests. Some systems allow the user to suppress
6676 generation of core files and default to that (linux for example).
6677 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
6678 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
6679
6680Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6681
6682 * gdb.threads: New directory with some crude multi-threaded
6683 gdb tests (step.exp and step2.exp).
6684 * config/mt-lynx (STEP_EXECUTABLE): Define.
6685 (THREADFLAGS): Define.
6686
6687Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
6688
6689 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
6690
6691 * gdb.base/signals.exp: Disable whole file for lynx until
6692 further notice.
6693
6694 * gdb.base/signals.exp: xfail test where "next" acts like
6695 "continue" for lynx.
6696
6697 * gdb.base/interrupt.exp: xfail test for calling function while
6698 inferior is asleep for lynx.
6699
6700 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
6701 than one cr-lf after each command.
6702
6703Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6704
6705 * configure.in: Reinstate setting of stabsdirs variable, fix
6706 typo in setting up configdirs for native builds.
6707
6708 * gdb.base/return.exp: Fix typo in return double test.
6709 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
6710 compiler from optimizing them away.
6711
6712Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
6713
6714 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
6715 sequences to be echo'd by gdb when using gdb_test.
6716 * gdb.chill/chexp.exp: Likewise.
6717 * gdb.fortran/exprs.exp: Likewise
6718
6719Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6720
6721 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
6722 after the inferior gdb has started.
6723
6724 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
6725 after each command.
6726 * gdb.base/funcargs.exp: Likewise.
6727 * gdb.base/gdbvars.exp: Likewise.
6728 * gdb.base/interrupt.exp: Likewise.
6729 * gdb.base/list.exp: Likewise.
6730 * gdb.base/watchpoint.exp: Likewise.
6731 * gdb.c++/demangle.exp: Likewise.
6732 * gdb.c++/inherit.exp: Likewise.
6733 * gdb.chill/chexp.exp: Likewise.
6734 * gdb.fortran/exprs.exp: Likewise.
6735
6736 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
6737 test if we can't handle IO to/from the inferior.
6738
6739 * gdb.c++/misc.exp: Always check for a program already being
6740 started after sending a "run" command to gdb.
6741
6742 * gdb.base/twice.exp: Start with a fresh gdb.
6743
6744 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
6745 only depend on gdb's expression code, not the chill runtime.
6746
6747 * gdb.base/return.c: Put return values into variables so we
6748 can have gdb print them rather than depending on the program
6749 to print them.
6750 * gdb.base/return.exp: Corresponding changes.
6751
6752 * lib/gdb.exp: Provide default value for noinferiorio.
6753 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
6754 the inferior.
6755
6756 * gdb.base/break.exp: Always check for a program already being
6757 started after sending a "run" command to gdb.
6758 (text_next_with_recursion): Don't check the output from the
6759 program's printf statement. Instead just make sure the program
6760 exited.
6761
6762 * gdb.base/commands.exp: Protect tests which need arguments with
6763 $noargs conditionals.
6764
6765Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6766
6767 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
6768 of structure member arrays to match gdb/valops.c:value_addr change.
6769
6770Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
6771
6772 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
6773 cases.
6774
6775Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
6776
6777 * configure.in (configdirs): Remove gdb.chill from default list
6778 of subdirs and then add it back in only if doing a native build.
6779 The current chill compiler does not yet work in any cross build.
6780 * Revert all signal changes from Jul 6.
6781 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
6782 for sh-hms targets, allowing these tests to link, with no other
6783 changes. Testing is suppressed by setting "nosignals" in site.exp.
6784
6785Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
6786
6787 * configure.in (signaldirs): Define and add to configdirs for all
6788 targets except some specific ones that are known to not support signals.
6789 Also clean up formatting.
6790 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
6791 (signals, sigall): Remove rules to build.
6792 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
6793 Moved to new gdb.signals directory.
6794 * gdb.signals: New test directory.
6795 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
6796 signals.c signals.exp}: New or moved files.
6797
6798Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
6799
6800 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
6801
6802Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
6803
6804 * gdb.base/return.exp: Xfail `return double' test failure
6805 on at least Solaris 2.3 and handle future/past versions on
6806 a case by case basis as appropriate. Also update message
6807 to include i*86 failures.
6808
6809Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6810
6811 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
6812
6813 * lib/gdb.exp: Fix comment which erroneously identified
6814 gdb_file_cmd as gdb_load (the 19 May change was in fact to
6815 gdb_file_cmd not gdb_load).
6816 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
6817
6818 * gdb.base/setvar.exp: Make test names consistent between pass and
6819 fail cases. Use gdb_test more.
6820
6821Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6822
6823 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
6824
6825Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6826
6827 * gdb.base/help.exp: Fix expected help string for `show commands'.
6828
6829Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
6830
6831 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
6832
6833 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
6834 of a text section.
6835
6836Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
6837
6838 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
6839 that loop eventually terminates. Fix Connection refused logic so
6840 that testsuite will expire nicely.
6841
6842Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
6843
6844 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
6845 config/rom68k.exp: New tcl glue for the appropriate monitors.
6846 These all just end up calling monitor.exp.
6847 * config/monitor.exp (gdb_target_monitor): Handle `Connection
6848 refused' by retrying. Cleanup some timeout issues.
6849 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
6850 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
6851 callers don't have to set/restore global timeout variable.
6852
6853 * The following set of changes centralizes management of the global
6854 timeout variable. This way, it can be set in one target dependent
6855 place instead of dozens of places scattered throughout the test suite.
6856 If you need to lengthen a timeout, then you should either set timeout
6857 in one of the config/{target}.exp files, or multiply it by a factor.
6858 Setting it to an absolute value is always going to lose for some
6859 targets.
6860 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
6861 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
6862 * gdb.base/funcargs.exp: Don't set timeout.
6863 * gdb.base/list.exp (test_forward_search): Only use local timeout.
6864 * gdb.base/printcmds.exp (test_print_string_constants
6865 test_print_array_constants): Don't set timeout.
6866 * gdb.base/ptype.exp: Don't set timeout.
6867 * gdb.base/recurse.exp: Don't set timeout.
6868 * gdb.base/return.exp: Don't set timeout.
6869 * gdb.base/watchpoint.exp: Don't set timeout.
6870 * gdb.c++/classes.exp (do_tests): Don't set timeout.
6871 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
6872
6873Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
6874
6875 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
6876
6877Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6878
6879 * lib/gdb.exp: Disable chill tests for irix5.
6880
6881Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6882
6883 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
6884 each test pass or fail.
6885
6886Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6887
6888 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
6889 xlc not gcc.
6890
6891Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
6892
6893 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
6894
6895Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
6896
6897 * config/est.exp: Fix copyright and comments. Remove dead code.
6898 Use targetname, serialport and baud variables instead of fixed
6899 constants.
6900 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
6901 * config/cpu32bug.exp: New file to support cpu32bug monitors.
6902
6903Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6904
6905 * gdb.base/watchpoint.exp: Don't run
6906 test_watchpoint_triggered_in_syscall for sunos.
6907
6908Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6909
6910 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
6911 they don't seem to exist. Do include stdio.h.
6912
6913Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6914
6915 * gdb.base/a1-selftest.exp: Add alpha xfail.
6916
6917Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6918
6919 * gdb.base/watchpoint.c (main): Prompt before calling read().
6920 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
6921 Revise accordingly. Remove cruft about sending "123" several
6922 times, until it gets noticed. Clean up the "print buf[0]" stuff
6923 so that it passes or fails, and waits for prompts in the usual way.
6924
6925Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6926
6927 * gdb.base/recurse.exp: Fix comment.
6928
6929 * TODO: Remove item about printing variables in nodebug.exp. Add
6930 item about enabling tests which are only run on some targets.
6931
6932 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
6933 fail, make test names unique, use new gdb_test convention
6934 regarding pattern, use gdb_test more, etc.).
6935
6936 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
6937 fail, make test names unique, etc.).
6938
6939Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6940
6941 * gdb.base/nodebug.c: Change return type of top and middle to
6942 short.
6943 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
6944 are fixed by the recent mdebugread.c changes. Allow `short ()'
6945 as type for top and middle.
6946
6947Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6948
6949 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
6950 nearly as I can tell, the whole thing was an accident in Stu's
6951 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
6952 to replace a send/expect pair with gdb_test, but ended up only
6953 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
6954 of 30 Mar 1995 took care of it, but left this vestigial comment
6955 which I am now nuking.
6956
6957Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6958
6959 * gdb.base/break.exp: Look for different line number for
6960 breakpoint at main depending on usestubs.
6961
6962Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6963
6964 * gdb.base/list.exp: Adjust some alternate expect patterns to
6965 match recent list0.c change. Add alternate expect pattern for
6966 output from `list default lines around main' for optimizing
6967 compilers.
6968
6969Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6970
6971 * lib/gdb.exp: If nosignals is not set, set it to 0.
6972
6973Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
6974
6975 * config/slite-gdb.exp: Responds to load symbol table prompt.
6976 * gdb.base/break.exp: Adjust line number, fix rerun.
6977 * gdb.base/langs0.c: Add #ifdef usestubs.
6978
6979Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
6980
6981 * gdb.base/list.exp: Adjust line contents after adding new lines in
6982 list0.c. Also fix a syntax error.
6983
6984 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
6985 * gdb.base/break.exp: ditto.
6986 * gdb.base/list.exp: ditto.
6987 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
6988 * gdb.base/run.c: ditto.
6989 * gdb.base/list0.c: ditto.
6990 * gdb.base/funcargs.c: ditto.
6991
6992Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
6993
6994 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
6995 $targetname, $serialport and $baud instead of hardwired variables.
6996 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
6997 target doesn't support signals.
6998
6999Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7000
7001 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7002
7003Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7004
7005 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7006 Don't rely on the value of an auto variable before it has been
7007 initialized. Use gdb_test more.
7008
7009Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7010
7011 * lib/gdb.exp (default_gdb_version): A version number must start
7012 with a digit, but other than that contains all characters up to
7013 the first whitespace character.
7014
7015Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7016
7017 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7018
7019Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7020
7021 * gdb.c++/*.exp: Warn if executable does not exist. The original
7022 reason for skipping the warning was that configure.in sometimes
7023 intentionally skipped building the executables but the tcl code
7024 had no way of knowing. That (a) was always bogus with respect to
7025 error handling, (b) is no longer true (right now there is no way
7026 to skip C++ tests).
7027
7028 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7029
7030Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7031
7032 * gdb.base/list.exp: Add expect patterns for output from
7033 SunPRO compiled executables.
7034 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7035 types.
7036
7037Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7038
7039 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7040 number (we are already testing that the correct source line text
7041 gets printed).
7042
7043 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7044 that is what is intended, but something needed to be done to get
7045 sunos4 native working again.
7046
7047 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7048
7049 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7050 apparently went with a (very) old xfail.
7051
7052Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7053
7054 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7055 runto_main is a proc in gdb.exp that will do 'step' for target use
7056 stubs.
7057 * gdb.base/exprs.exp: ditto.
7058 * gdb.base/interrupt.exp: ditto.
7059 * gdb.base/opaque.exp: ditto.
7060 * gdb.base/printcmds.exp: ditto.
7061 * gdb.base/ptype.exp: ditto.
7062 * gdb.base/scope.exp: ditto.
7063 * gdb.base/setvar.exp: ditto.
7064 * gdb.base/signals.exp: ditto.
7065 * gdb.base/twice.exp: ditto.
7066 * gdb.c++/classes.exp: ditto.
7067 * gdb.c++/inherit.exp: ditto.
7068 * gdb.c++/templates.exp: ditto.
7069 * gdb.base/break.exp: no run and hit main for stubs. Change line
7070 numbers for breakpoints and info breakpoint.
7071 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7072 breakpoint().
7073 * gdb.base/callfuncs.c: ditto.
7074 * gdb.base/exprs: ditto.
7075 * gdb.base/interrupt.c: ditto.
7076 * gdb.base/opaque0.c: ditto.
7077 * gdb.base/printcmds.c: ditto.
7078 * gdb.base/ptype.c: ditto.
7079 * gdb.base/scope0.c: ditto.
7080 * gdb.base/setvar.c: ditto.
7081 * gdb.base/signals.c: ditto.
7082 * gdb.base/twice.c: ditto.
7083 * gdb.c++/misc.cc: ditto.
7084 * gdb.c++/templates.cc: ditto.
7085
7086Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7087
7088 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7089
7090 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7091 somewhere between `read' and `main.c'. I'm pretty sure the
7092 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7093 and it isn't particularly useful.
7094
7095 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7096
7097Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7098
7099 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7100
7101Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7102
7103 * config/mt-slite: add LIBS and -nostdlib.
7104 * config/slite-gdb.exp: add this new file to support sparclite target.
7105
7106Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7107
7108 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7109
7110 * gdb.base/a2-run.exp: Change argument to istarget from
7111 "*-*-vxworks" to "*-*-vxworks*".
7112 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7113
7114Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7115
7116 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7117 will not runto main but do a 'step' to step out of breakpoint().
7118 * config/mt-slite: add -Dusestubs.
7119
7120Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7121
7122 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7123 instead of just @.
7124
7125 * gdb.base/signals.exp: Add test for "handle all print".
7126 * TODO: Remove "handle all print". Also remove item about
7127 checking copyright date (I don't like the idea of a spurious FAIL
7128 based on when we run the tests).
7129
7130 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7131 for SunOS4 (reason for failure not investigated). Remove
7132 redundant test for $binfile.
7133
7134 * gdb.base/nodebug.c (array_index): Call malloc.
7135
7136 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7137
7138Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7139
7140 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7141 conventions and slightly simplify the matching regexp.
7142
7143Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7144
7145 * gdb.base/break.exp: Update gdb_test invocation to use new
7146 convention.
7147
7148 * lib/gdb.exp: If noargs is not set, set it to 0.
7149
7150 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7151 tests unique.
7152
7153 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7154
7155Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7156
7157 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7158 one argument of type "<non-float parameter>".
7159
7160Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7161
7162 * config/rom68k.exp: New file to support Motorola IDP board.
7163 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7164 * gdb.base/break.c: Change things around so that this program
7165 doesn't depend upon args. This is necessary to make remote
7166 targets work (in general, they can't take args).
7167 * gdb.base/break.exp: Don't try to send args to program. Don't
7168 expect output. Also, replace lots of code with gdb_test.
7169
7170Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7171
7172 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7173 printing of '\'' (which is what the comment says we are testing,
7174 even though we were not), not '''.
7175 (test_integer_literals_rejected): Test that printing ''' is an error.
7176
7177 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7178 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7179 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7180 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7181 Use gdb_test not test_print_accept.
7182 * lib/gdb.exp: Remove test_print_accept.
7183
7184 * gdb.base/signals.exp (signal_tests_1): Make pass message
7185 consistent with fail message.
7186
7187 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7188 unsigned char; the bug (PR 1821) is fixed.
7189
7190 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7191
7192 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7193 successful tests--makes xfailing them work right.
7194
7195Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7196
7197 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7198 only \r\n, not .*. The test can pass .* as the last thing in
7199 $pattern if that is what it wants. In addition to providing this
7200 flexibility, this change should speed up pattern matching in cases
7201 where the pattern already ended with .* (there were a number of
7202 them). This change also helps catch bad patterns--in the old
7203 scheme the typo "char \*" instead of "char \\*" would pass. Now
7204 it is caught.
7205 * Many .exp files: Update callers.
7206
7207 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7208 clearer and does not spuriously match multiple ('s. Likewise for
7209 ) and *.
7210
7211 * gdb.base/nodebug.exp: Test ability to call a function and pass
7212 it a string (even with no debugging info).
7213
7214 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7215 "p '\'", which is the same as "p ''" once tcl gets done with
7216 quoting, to "p '\\'", which I suspect is what is intended (one
7217 backslash gets sent to GDB).
7218
7219 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7220
7221Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7222
7223 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7224 1817) was fixed literally years ago.
7225
7226Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7227
7228 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7229 test, it causes stepping out of call_after_alloca_subr with
7230 optimizing compilers.
7231 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7232 fails.
7233
7234 * gdb.c++/templates.exp: Source templ-info.exp only if
7235 the templates executable exists.
7236
7237 * gdb.c++/misc.cc (class Contains_static_instance,
7238 class Contains_nested_static_instance),
7239 gdb.c++/classes.exp (test_static_members): Test printing of
7240 a class that contains a static instance of the class.
7241
7242Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7243
7244 * gdb.base/langs2.c (cppsub_): Don't prototype.
7245 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7246 only, I believe).
7247
7248Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7249
7250 * lib/gdb.exp (skip_chill_tests): New procedure.
7251
7252 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7253
7254Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7255
7256 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7257 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7258
7259Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7260
7261 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7262
7263 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7264 disassemble 8, not 16, instructions for part 4.
7265
7266 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7267 support the latter anymore.
7268
7269 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7270 -DNO_PROTOTYPES.
7271 * gdb.base/callfuncs.c: Control use of prototypes based on
7272 NO_PROTOTYPES, not __STDC__.
7273 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7274 t_float_values2 tests if prototypes in use.
7275
7276 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7277 t_double_values): When checking differences against DELTA, check
7278 that difference is within the range (-DELTA,DELTA), not just
7279 (-infinity,DELTA).
7280
7281Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7282
7283 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7284 'file' command firts, then 'target', then 'load', this is due to gdb
7285 target set up.
7286 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7287
7288Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7289
7290 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7291 FP load/store variants.
7292 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7293
7294Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7295
7296 * gdb.base/term.exp: Do not give a warning if not native, it is
7297 not an abnormal condition.
7298
7299Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7300
7301 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7302 t_char_array".
7303
7304Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7305
7306 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7307 are getting the version number.
7308
7309 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7310 if not native, it is not an abnormal condition.
7311
7312Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7313
7314 * lib/gdb.exp: Just use "file exists", rather than undocumented
7315 dejagnu procedure "findfile".
7316
7317Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7318
7319 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7320 (LDFLAGS): Set to -Xlinker -Ur.
7321
7322 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7323 Removed, these values are set by lib/gdb.exp.
7324
7325 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7326
7327Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7328
7329 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7330 of replicating gdb startup code.
7331
7332 * config/mt-vxworks (LDFLAGS): Set to -r.
7333 (CFLAGS_FOR_TARGET): Removed.
7334
7335 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7336 (gdb) and gdb for vxworks uses (vxgdb).
7337
7338 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7339 executable is not in the tree and host != target, use sed and
7340 program_transform_name to determine the gdb name used by the
7341 target.
7342
7343 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7344 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7345
7346Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7347
7348 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7349 floats, chars, and shorts where there are ANSI-style function
7350 definitions.
7351
7352 * gdb.base/langs.exp, gdb.base/langs*: New test.
7353 * gdb.base/Makefile.in: Build it.
7354 * TODO: Remove item about checking that C names don't get C++
7355 demangling applied; this test tests it.
7356
7357Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7358
7359 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7360 went with the const70 xfail. The xfail went away a year ago.
7361
7362 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7363
7364 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7365 for hp300.
7366
7367 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7368
7369 * gdb.base/a1-selftest.exp: Don't run on hp300.
7370
7371Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7372
7373 * Makefile.in (site.exp): Set host_alias and target_alias as well
7374 as host_triplet and target_triplet.
7375
7376Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7377
7378 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7379
7380 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7381 places as other ecoff systems).
7382
7383 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7384 ultrix.
7385
7386Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7387
7388 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7389 remove them.
7390 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7391 variable and "variable" in addition to "data variable".
7392 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7393
7394 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7395 2.
7396 * gdb.base/list1.c (long_line): Add additional statement at start
7397 of function.
7398 * gdb.base/list.exp (test_forward_search): Update line number to
7399 reflect new statement.
7400
7401Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7402
7403 * gdb.base/signals.exp: Reinitialize searched source directories
7404 after gdb_start call.
7405
7406Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7407
7408 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7409 * gdb.stabs/Makefile.in: Likewise.
7410
7411 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7412 change. Instead split the tests into smaller pieces.
7413 * gdb.disasm/hppa.s: Corresponding changes.
7414
7415Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7416
7417 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7418 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7419
7420 * gdb.base/funcargs.exp: Modify many tests so that every test
7421 either passes or fails. Make some test names unique.
7422
7423Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7424
7425 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7426 Call stty to set interrupt character.
7427
7428 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7429 for HP assembler versus GNU assembler based on actual behavior of
7430 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7431
7432 * TODO: Suggest a few more stepping tests.
7433
7434Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7435
7436 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7437 restart GDB for h8300 after a continue.
7438 (return): Add pattern to match a29k-udi behavior.
7439 * gdb.base/nodebug.exp: Remove obsolete comment.
7440 * gdb.base/regs.exp: New file, testing of register displays.
7441 * gdb.base/return.exp: Fix typo in reference to $objdir.
7442 * gdb.base/whatis.exp: Always start with a fresh GDB.
7443
7444Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7445
7446 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7447 higher, these tests generate a lot of output.
7448
7449Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7450
7451 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7452 code following the catch silently ignored some errors; without the
7453 catch they should be thrown like any other tcl error. Also, the
7454 catch used "" instead of {} which meant all the callers who wanted
7455 to include one of the characters "[]$ had to quote it an extra time.
7456 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7457 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7458 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7459 Remove extra quoting.
7460
7461Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7462
7463 * gdb.base/commands.exp: Make test names unique; every test either
7464 passes or fails. Update some comments.
7465
7466 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7467
7468Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7469
7470 The following fixes a FAIL caused by the fact that the alpha stabs
7471 configuration didn't use the ".if alpha" code in weird.def.
7472 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7473 bit pointer, so the 32 bit version works even on the alpha.
7474 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7475 Remove the stuff which allowed us to have separate versions for
7476 alpha and everything else.
7477
7478 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7479 regexp which "info func operator\[\](" is supposed to match. Fix
7480 string to send to GDB. Note that GDB still doesn't work right. Add a
7481 new test for "info func .perator\[\](" which GDB does handle correctly.
7482
7483 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7484
7485Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7486
7487 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7488 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7489 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7490 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7491 it makes the tests harder to understand and confuses test-o-matic.
7492 The preferred style is that each test provides a PASS or a FAIL,
7493 and has a unique message (e.g. "continue #54" not just "continue")
7494 which is the same for the pass and the fail.
7495 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7496 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7497 to lib/gdb.exp.
7498 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7499 prt_accept which was basically the same thing. Likewise for
7500 test_print_reject and prt_reject.
7501 * lib/gdb.exp (test_print_reject): Add some more error message
7502 patterns to match from the former printcmds.exp (prt_reject).
7503 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7504 One defect of the passcount stuff is that some of it failed to
7505 report XPASS where appropriate.
7506 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7507 stuff before and after arg in expected pattern.
7508 (test_paddr_operator_functions): Re-do test without print_addr_of;
7509 this is the only test which seems to want extra stuff there.
7510
7511Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7512
7513 * gdb.base/nodebug.exp: Update new tests to reflect improved
7514 wording of gdb output.
7515
7516 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7517 and "ptype" work on variables in files compiled without -g.
7518 Replaces commented out "maint print msymbol" tests.
7519
7520Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7521
7522 * gdb.base/setvar.c (dummy): Call malloc.
7523
7524 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7525 losing with the irix4 sed.
7526
7527 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7528 ALRM" on irix4.
7529
7530Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7531
7532 * TODO: Remove items about corefile.exp testing new exec-file and
7533 backtrace; both are now done. Add items about printing enums.
7534
7535Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7536
7537 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
7538 "get signal $thissig" test fails.
7539
7540 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
7541
7542Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7543
7544 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
7545 compiler warning with dec alpha compiler.
7546
7547 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
7548 extra \n from gdb_test call (this explains why the prompt test
7549 that I removed yesterday was there).
7550 (user_defined_command_test): Remove extra \n and prompt test.
7551
7552 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
7553 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
7554 doesn't exist.
7555 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
7556 Also remove alpha workaround, which turns out to be because
7557 SIGABRT == SIGLOST.
7558
7559 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
7560
7561 * gdb.base/help.exp: Don't test "help show".
7562
7563Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7564
7565 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
7566 "set print address" is on.
7567 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
7568 pass prompt to gdb_test; gdb_test already looks for the prompt.
7569
7570 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
7571
7572 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
7573 was a vestige of the manual TESTSTRATEGY, and the purpose of it
7574 was to make sure that gdb can read a core file. But (a) the "read
7575 the corefile" part didn't make it to a1-selftest.exp, we just
7576 delete the corefile after creating it, and (b) we test reading
7577 corefiles in corefile.exp anyway. Also, this test left around a
7578 xgdb process on Solaris.
7579
7580 * gdb.base/corefile.exp: Also test backtrace.
7581
7582Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
7583
7584 * gdb.base/commands.exp: Test a simple user defined command with
7585 arguments and if/while statements; verify the full user command is
7586 printed by "show user".
7587
7588 * gdb.base/commands.exp: Test if/while commands as part of a
7589 breakpoint command list; verify they appear in breakpoint
7590 information.
7591
7592Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7593
7594 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
7595 than by dividing by zero.
7596
7597Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
7598
7599 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
7600 performing an inferior call with watchpoints enabled.
7601 * gdb.base/watchpoint.c (main): Delete second unnecessary read
7602 call.
7603
7604Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7605
7606 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
7607 of "file" command.
7608
7609 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
7610 Add additional pattern for when "int operator int(void);" appears
7611 in a different order.
7612
7613Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7614
7615 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
7616
7617 * gdb.base/help.exp: Replace most of docstrings for "info signals"
7618 and "signal" with ".*".
7619
7620Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7621
7622 * TODO: Add note about "handle all nostop".
7623
7624 * gdb.base/{sigall.c, sigall.exp}: New test.
7625 * gdb.base/Makefile.in: Add it.
7626
7627Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
7628
7629 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
7630 when invoking GDB, suppresses any windowing interface.
7631
7632Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
7633
7634 * config/sim-gdb: New file, simulator testing support.
7635
7636Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
7637
7638 * gdb.base/interrupt.exp: Test calling func1 twice.
7639
7640Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
7641
7642 * gdb.base/list.exp (test_forward_search): Set timeout higher
7643 when we'll be getting lots of output from gdb.
7644
7645 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
7646 "init_malloc" to after the expect statement. Run it if that
7647 regexp is taken, but also for two others which happen if source
7648 cannot be found.
7649
7650Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7651
7652 * gdb.base/printcmds.exp: New test, for printing register before
7653 program is running.
7654
7655Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7656
7657 * gdb.base/list.exp: Correct some alternate expect patterns
7658 to reflect changes in list1.c.
7659
7660Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7661
7662 * TODO: Add item regarding large frames.
7663
7664 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
7665
7666 * TODO: Remove item about enabling return.exp; it
7667 is enabled. Suggest a few more "return" tests.
7668
7669Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7670
7671 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
7672 anonymous unions.
7673
7674Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7675
7676 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
7677 and pr-5646.o, so "make" is the same as "make all", not "make
7678 pr-4975.o".
7679
7680Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
7681
7682 * gdb.base/list.exp: Adjust expectations to reflect changes in
7683 list1.c.
7684 (test_forward_search): New test proc.
7685 * gdb.base/list1.c (long_line): New function, has long source line.
7686
7687Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
7688
7689 * gdb.base/a1-selftest.exp: Change initial stepping to know about
7690 additional line of code that was added.
7691
7692Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
7693
7694 * gdb.disasm/hppa.s: Break the large branching tests into smaller
7695 tests so as not to overflow expect's input buffers.
7696 * gdb.disasm/hppa.exp: Corresponding changes.
7697
7698Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7699
7700 Beginnings of template debugging tests.
7701 * gdb.c++/templ-info.cc: New file to test for template
7702 debugging capability of the compiler.
7703 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
7704 templ-info.cc.
7705 * gdb.c++/templates.cc: Add explicit template instantiations
7706 to enable compiling with -fno-implicit-templates. Add destructor
7707 and 'value' method to T5 class for template tests.
7708 * gdb.c++/templates.exp: Add testcases for printing of template
7709 types, setting breakpoints on template methods and calling a
beb998c6 7710 template method.
c906108c
SS
7711
7712Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
7713
7714 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
7715 branch target since some assemblers (gas-2.5) may emit a
7716 relocation for the branch instead of resolving it in the
7717 assembler.
7718
7719Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7720
7721 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
7722 through signal handler.
7723
7724Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7725
7726 * configure.in (*-*-netware): Use config/mt-netware.
7727
7728 * config/mt-netware: New file.
7729 * config/mt-i386-netware: Removed, separate configs for different
7730 netware architectures are no longer needed now that we have
7731 --with-headers.
7732
7733Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7734
7735 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
7736 by the recent changes to use ANSI C arithmetic conversions.
7737
7738Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7739
7740 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
7741 bug involving using inferior_pid to figure out whether to select a
7742 frame.
7743
7744Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
7745
7746 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
7747 match the current disassembler output.
7748
7749Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
7750
7751 * gdb.fortran/exprs.exp: Expect VOID instead of void.
7752 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
7753 types, expect "int" as type of integer values (for now).
7754
7755Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
7756
7757 * gdb.base/commands.exp: New tests for if/while commands.
7758
7759Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
7760
7761 * lib/gdb.exp (runto): Replace sub-pattern for hex value
7762 by .*, since hex values have different syntax in Chill mode.
7763
7764Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7765
7766 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
7767 linefeed from expect pattern for repeated types with indices > 9.
7768
7769Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
7770
7771 First part of Fortran test suite.
7772 * gdb.fortran: New directory.
7773 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
7774
7775Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7776
7777 * gdb.base/default.exp: Update expect pattern for load command
7778 without arguments.
7779
7780Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7781
7782 * configure.in: Change i386 to i[345]86.
7783 * gdb.base/configure.in: Likewise.
7784 * gdb.c++/configure.in: Likewise.
7785 * gdb.chill/configure.in: Likewise.
7786
7787Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
7788
7789 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
7790 patterns, since that is not a valid context for comments.
7791
7792Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
7793
7794 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
7795 repeated types and repeated types with indices > 9.
7796
7797Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
7798
7799 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
7800 2417; old bug has been fixed.
7801
7802Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
7803
7804 * gdb.base/interrupt.exp: When trying to wake up the inferior,
7805 send the newline ourselves instead of assuming gdb_test will do
7806 so when passed an empty input string.
7807
7808 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
7809 stabs testcode.
7810
7811Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7812
7813 * lib/gdb.exp (gdb_test): Don't send anything if the first
7814 argument is an empty string. This makes cases where we want to
7815 match output that is already in expect's buffers (for example,
7816 matching a breakpoint after gdb_run_cmd has been called) work
7817 reliably.
7818
7819Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7820
7821 * config/netware.exp: New file.
7822
7823Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7824
7825 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
7826 the -B and -L prefixes so we can find the debugging stub.
7827
7828 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
7829 there and we are using the gcc from the tree.
7830
7831 * gdb.base/types.c: Removed.
7832
7833 * gdb.base/configure.in: Look for makefile fragments in ../config.
7834 Recognize i386-*-netware.
7835 * gdb.c++/configure.in: Likewise.
7836
7837Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7838
7839 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
7840 the correct TCL syntax.
7841
7842Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7843
7844 * gdb.base/opaque.exp: use runto instead of messing around with
7845 breakpoints. Simplify by using gdb_test.
7846
7847 * gdb.base/bitfields.exp: restart between tests on netware targets
7848 because breakpoints aren't relocated after target death. Run
7849 processes to completion.
7850
7851 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
7852
7853Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
7854
7855 * Makefile.in: Remove extra tabs that confuse some versions
7856 of "make". Use the newly built gdb to test with by default,
7857 rather than the first one in the tester's search path.
7858
7859Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
7860
7861 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
7862
7863 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
7864 condition help.
7865
7866Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7867
7868 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
7869
7870 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
7871 running.
7872 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
7873 * gdb.base/funcargs.exp: Likewise.
7874
7875 * gdb.base/bitfields.exp: Simplify by using gdb_test.
7876 * gdb.base/funcargs.exp: Likewise.
7877
7878 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
7879 message is "".
7880
7881Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7882
7883 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
7884 return,signals,twice}.exp: Handle non-existant binaries
7885 consistantly.
7886
7887 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
7888 * gdb.base/Makefile.in: Don't try to generate a core dump, we
7889 might testing a cross development system.
7890
7891Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7892
7893 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
7894 runtest script is relative to ${srcdir}, not ${rootdir}.
7895
7896Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
7897
7898 * gdb.base/signals.exp: Allow for optionality of breakpoint
7899 address.
7900
7901Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7902
7903 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
7904
7905Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7906
7907 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
7908 for size_t definition.
7909 * gdb.c++/templates.cc: Likewise
7910
7911 * config/mt-i386-netware: New file.
7912
7913 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
7914 defined.
7915
7916 * gdb.base/Makefile.in: Added support for systems that name core
7917 files by appending "core" to the program name.
7918 * gdb.base/a1-selftest.exp: Likewise.
7919
7920Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7921
7922 * gdb.base/return.exp: Add comment and message for `return double'
7923 test failure on Sparc Solaris.
7924
7925Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
7926
7927 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
7928
7929Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7930
7931 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
7932 from optimizing them away.
7933 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
7934 patterns to include default constructors and assignment operators,
7935 to match gcc versions beyond 2.5.8. Accept any cplus demangling
7936 character in the output of the virtual base pointer.
7937
7938Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7939
7940 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
7941 expression match in print_addr_of to avoid unintented matches.
7942 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
7943 versions up to 2.5.8.
7944
7945Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7946
7947 * gdb.base/list.exp: Tweak alternate pattern for listing of an
7948 included file to run under newer versions of expect.
7949 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
7950 consecutive >'s in templates to accomodate recent cplus-dem.c change.
7951 Remove xfail for the virtual table of BDDHookV.
7952
7953Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
7954
7955 * lib/gdb.exp (string_to_regexp): Set a default result.
7956 (default_gdb_start): Fix misleading message.
7957
7958Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
7959
7960 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
7961 Remove all CC, etc definitions.
7962 * config/mt-hpux: New file.
7963 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
7964 (CFLAGS, LDFLAGS): Define.
7965 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
7966
7967 * Makefile.in (site.exp): Don't insert host_os, etc.
7968 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
7969 (distclean): Check existence of subdir.
7970 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
7971 * gdb.base/Makefile.in: General cleanup and simplification.
7972 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7973 to build executables. Use default rule to build .o files.
7974 (EXPECT, RUNTEST, CC): Fix relative pathname.
7975 (site.exp): Don't insert host_os, etc.
7976 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
7977 and/or SIGUSR1 defined.
7978 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
7979 * gdb.c++/Makefile.in: General cleanup and simplification.
7980 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
7981 (CFLAGS): Remove.
7982 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
7983
7984Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
7985
7986 * gdb.base/recurse.exp: Misc changes to get tests running again
7987 after Kung's changes to the watchpoint code.
7988 * gdb.base/watchpoint.exp: Likewise.
7989
7990Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
7991
7992 * lib/gdb.exp (string_to_regexp): Convert {\} also.
7993
7994Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
7995
7996 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
7997 * lib/gdb.exp (default_gdb_start): Define.
7998 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
7999 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8000 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8001 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8002 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8003 Don't call gdb_target_udi in between tests.
8004
8005Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8006
8007 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8008 (which was basically just a local version of the same thing). In
8009 addition to avoiding duplication, gdb_test_exact is faster.
8010 * lib/gdb.exp (gdb_test_exact): Fix typo.
8011
8012 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8013 don't give an error.
8014
8015 * gdb.base/term.exp: Call delete_breakpoints before starting.
8016
8017 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8018 (t10): Add comment.
8019
8020Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8021
8022 Reorganization of the GDB Test Suite.
8023
8024 * gdb.base: New directory, contains all the basic tests.
8025 * gdb.c++: New directory, tests specific to C++.
8026 * gdb.chill: New directory, tests specific to Chill.
8027 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8028 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8029 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8030 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8031 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8032 t30-31 to chill).
8033 * */gdbme.*: Rename to match appropriate expect scripts.
8034 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8035 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8036 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8037 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8038 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8039 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8040 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8041 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8042 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8043 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8044 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8045 gdb.c++/virtfunc.cc: New names of C++ files.
8046 * gdb.chill/chillvars.ch: New name of Chill file.
8047 * gdb.base/configure.in, gdb.c++/configure.in,
8048 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8049 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8050 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8051 * configure.in (configdirs): Update to reflect directory changes.
8052 (target_abbrev): No longer define for any configuration.
8053 * Makefile.in: Cosmetic improvements to header comments.
8054
8055Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8056
8057 Various changes to gdb.t31:
8058
8059 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8060 * gdbme.ch: Make all key-words and predefineds be upper-case.
8061 * chillvars.exp: Expect key-words and predefinds in upper-case.
8062
8063 * chillvars.exp: Use gdb_test_exact many places.
8064 Change expected output for arrays (which now includes index labels).
8065
8066 * pr-5020.exp, gdme.ch (module PR_5020):
8067 New test, for PR-5020.
8068
8069Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8070
8071 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8072 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8073
8074Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8075
8076 * Makefile.in: Fix bit-rot in definitions of CHILL,
8077 CHILL_FOR_TARGET and Chill_LIB.
8078 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8079 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8080 CHILL, and CHILL_LIB.
8081
8082Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8083
8084 * Revert the previous changes. Please see Rob's directory
8085 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8086
8087Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8088
8089 * Makefile.in, configure.in, config/mips-gdb.exp,
8090 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8091 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8092 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8093 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8094 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8095 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8096 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8097 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8098 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8099 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8100 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8101 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8102 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8103 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8104 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8105 changes from 94Q1.
8106
8107Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8108
8109 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8110 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8111 Rob's new testing fragments.
8112
8113Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8114
8115 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8116 lib/gdb.exp: Replace error proc calls with perror.
8117
8118Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8119
8120 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8121 version also, match on casted version strings, and match on
8122 gdb startup case where the line numbers might be messed up.
8123
8124Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8125
8126 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8127 (CFLAGS): Delete it from here.
8128
8129Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8130
8131 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8132
8133Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8134
8135 * Makefile.in (RUNTEST): Default to just "runtest".
8136
8137Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8138
8139 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8140 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8141 the code has been restructured.
8142
8143Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8144
8145 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8146 \n, not just one of each.
8147
8148 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8149 /bin/cc gives a warning if you do.
8150
8151Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8152
beb998c6 8153 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8154 __t10ListS_link1ZUiRCUiPT0
8155
8156Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8157
8158 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8159 on local variables in recursive functions.
8160
8161 * gdb.t07/Makefile.in: Build the new test.
8162
8163Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8164
8165 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8166 directly. Instead compare the return values from actual calls.
8167
8168Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8169
8170 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8171
8172Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8173
8174 * From Peter Schauer with minor modifications.
8175 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8176 stops in mid-line in the caller. Add xfail for returning a float
8177 value on X86 targets.
8178
8179Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8180
8181 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8182 to avoid expect lossage.
8183 (fmem_LRbug_tests): Likewise.
8184 * gdb.disasm/hppa.s: Corresponding changes.
8185
8186 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8187 conditions to work with latest dejagnu/expect.
8188
8189 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8190 expected to fail on the PA.
8191 (backtrace in call with trampolines): Explicitly require main
8192 to be frame #1 (no trampolines should show up in backtrace).
8193
8194 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8195 "continue -expect".
8196 * gdb.t06/break.exp: Likewise.
8197 * gdb.t07/watchpoint.exp: Likewise.
8198 * gdb.t13/bitfields.exp: Likewise.
8199 * gdb.t15/{funcargs,return}.exp: Likewise.
8200 * gdb.stabs/weird.exp: Likewise.
8201 * config/{mips,udi}-gdb.exp: Likewise.
8202
8203 * hppa.sed: Enclose comments within a sed command to avoid
8204 losing with the old OSF1 sed.
8205
8206Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8207
8208 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8209 sequent dynix.
8210 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8211 * gdb.t15/funcargs.exp: Conditionally step again to really
8212 finish from marker_call_with_trampolines. Handle the case where
8213 the first step from within call_with_trampolines already steps
8214 us back to main.
8215 * gdb.t15/gdbme.c: Add comment to closing brace of
8216 call_with_trampolines for funcargs.exp.
8217
8218Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8219
beb998c6 8220 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8221 Fix typo(s).
8222
8223Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8224
8225 * gdb.t07/gdbme.c: More code for watchpoint testing.
8226
8227 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8228 "Hardware watchpoint" throughout file.
8229 (test_watchpoint_triggered_in_syscall): New test.
8230 (test_complex_watchpoint): New test.
8231
8232Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8233
8234 * gdbme.c (call_with_trampolines): New function to try and step
8235 into. Tests trampoline problems on the PA.
8236
8237 * funcargs.exp (localvars_in_indirect_call): No longer expect
8238 stepping into indirect call to fail on PAs.
8239 (test_stepping_over_trampolines): New test.
8240
8241Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8242
8243 * TODO: Add suggestions for static member function tests, and
8244 completion tests.
8245
8246Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8247
8248 * TODO: Add suggestions for "p/a" tests.
8249
8250 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8251 (default_gdb_exit): Replace all the hair with sending "quit" to
8252 the process with a simple close.
8253
8254Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8255
8256 * TODO: Add suggestions for shared library tests.
8257
8258Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8259
8260 * TODO: Add suggestions for x/s tests.
8261
8262Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8263
8264 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8265 "enable once", and "enable breakpoints once" with ".*".
8266
8267Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8268
8269 * TODO: Add suggestions about structure passing tests.
8270
8271Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8272
8273 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8274 the primary1 test, use work around if __GNUC__ < 2.
8275 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8276 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8277 Test for bad output rather than waiting for timeout. Issue
8278 second continue only if first continue failed.
8279
8280Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8281
8282 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8283 operator[] test with gdb_test because the old code didn't seem to
8284 be getting the quoting right with the new dejagnu.
8285
8286Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8287
8288 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8289 one from the path.
8290 * Makefile.in: Use a fresh expect if there is one, use runtest
8291 from the src tree if there is one.
beb998c6 8292
c906108c
SS
8293Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8294
8295 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8296 next over recursive call. Revise the tests from that point on
8297 (which had been skipped) to match GDB's actual (correct) output.
8298
8299 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8300 with next over a breakpoint whose condition is false.
8301
8302 * gdb.t00/help.exp: Comment out "help set print" tests just like
8303 (and for same reason as) "help set" test.
8304
8305Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8306
8307 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8308 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8309
8310Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8311
8312 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8313 necessary gdb_target_udi.
8314
8315 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8316
8317 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8318 1838 and 2417; they are fixed.
8319
8320 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8321 gdb.t03/ptype.exp (ptype structure, ptype union):
8322 Remove xfails; the test is looser than when the xfails were added.
8323
8324 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8325 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8326
8327 * gdb.t01/run.exp: Only run shell test if isnative.
8328
8329 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8330 since "run" automatically loads if necessary. Call gdb_target_udi
8331 after the "file" since "file" kills any execution target.
8332
8333 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8334 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8335 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8336 argument for UDI.
8337
8338Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8339
8340 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8341
8342 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8343
8344Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8345
8346 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8347 properly quoting regexps. This makes the second argument to
8348 demangle a fixed string, which matches the callers, instead of a
8349 shell-style pattern which is what the previous implementation
8350 used. Update some of the callers.
8351
8352Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8353
8354 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8355 (comib_nullified_tests): Fix typo.
8356 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8357 strings. No longer expected to fail.
8358
8359 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8360 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8361 strings. No longer expected to fail.
8362
8363 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8364 string. No longer expected to fail.
8365
8366Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8367
8368 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8369 No longer expected to fail.
8370
8371 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8372 string. No longer expected to fail.
8373
8374Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8375
8376 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8377 only in the names (I probably got most of them). I was even
8378 generous with some which differed in underscores in names, and
8379 probably missed a few, and I *still* was able to remove almost a
8380 third of the file with almost no impact on testsuite coverage.
8381
8382Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8383
8384 * gdb.t00/default.exp: Match udi_attach error message as well as
8385 the one from child_attach.
8386
8387 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8388
8389 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8390
8391 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8392 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8393
8394 * Move test with enums and partial symbols back to
8395 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8396 Reverts the change of 26 May 93. Per today's change to
8397 stabs.texinfo, the behavior that weird.exp was expecting was
8398 unreasonable; what is important is that the compiler+gdb get
8399 things right, which happens with a recent gcc. Also fix the test
8400 to deal with native compilers which put out the stab gdb can't
8401 deal with.
8402
8403Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8404
8405 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8406 in the names. The main thing these accomplish is to slow things down.
8407 Many more such duplicates surely remain.
8408
8409 * gdb.t00/help.exp: Comment out "help support" test just like
8410 (and for same reason as) "help set" test.
8411
8412Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8413
8414 * gdb.t06/break.exp: Remove setup_xfails for
8415 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8416 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8417 about known bug in gcc to include up through 2.5.8.
8418 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8419 well as "_vb$".
8420 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8421 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8422 with latest gcc and gdb.
8423 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8424 well as "_vb$".
8425
8426Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8427
8428 * configure.in (hppa*-*-*): Also configure and build stabs-only
8429 tests.
8430
8431Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8432
8433 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8434 * gdb.t10/configure.in (hppa*-*-*): Use it.
8435
8436Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8437
8438 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8439
8440Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8441
8442 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8443 versions prior to 1.13.5.
8444
8445Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8446
8447 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8448 the prompt is at the start of a line.
8449
8450Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8451
8452 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8453 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8454 in the copr tests now.
8455 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8456 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8457 expected to fail.
8458
8459Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8460
8461 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8462 gdb.t31/chillvars.exp, lib/gdb.exp:
8463 Tweak to run under either version of expect.
8464 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8465 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8466 * gdb.t11/list.exp: Remove extraneous whitespace.
8467
8468Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8469
8470 * gdb.t16/printcmds.exp (test_print_strings): Accept
8471 "(unsigned char *) " before the string.
8472
8473 * TODO: Add notes about printing of fancy types and GDB expressions.
8474
8475Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8476
8477 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8478 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8479 if doing mips-idt-ecoff.
c906108c
SS
8480
8481Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8482
8483 * Most .exp files: Tweak to run under either version of expect.
8484
8485Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8486
8487 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8488 xfails; I'm not sure why they are failing, but not because of PR 1806.
8489
8490Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8491
8492 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8493 defined in lib/gdb.exp.
8494
8495Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8496
8497 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8498 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8499 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8500 have to be typeless.
8501
8502Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8503
8504 * TODO: Add suggestion for copyright year test.
8505
8506Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8507
8508 * configure.in (*-*-lynxos*): Add stabs tests.
8509
8510Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8511
8512 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8513 so insert a tab before any assembler directive in column zero.
8514
8515 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8516 stores.
8517 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8518 stores.
8519 (fpu_short_memory_tests): Likewise.
8520
8521Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8522
8523 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8524 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8525 .stabs directives in comments.
8526
8527Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8528
8529 * TODO: New file, describing tests we could write.
8530 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
8531
8532Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8533
8534 * gdb.t06/signals.exp: Add kludge to force re-sync.
8535
8536 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
8537 to xgdb instead of gdb, get out of gdb.
8538
8539Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
8540
8541 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
8542 for info.
8543
8544Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8545
8546 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
8547 * gdb.stabs/configure.in (hppa*-*-*): Use it.
8548 * gdb.stabs/hppa.sed: New sed script for the PA.
8549
8550Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8551
8552 * gdb.stabs: Re-write weird.def and configuration to use sed
8553 instead of cpp. sed is portable and POSIX; cpp is neither.
8554
8555Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8556
8557 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
8558
8559Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8560
8561 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
8562
8563Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8564
8565 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
8566 "_vb$".
8567 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
8568 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
8569
8570Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8571
8572 * lib/gdb.exp: Comment out code which depends on non-existent
8573 `transform' procedure.
8574
8575Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
8576
8577 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
8578 * lib/gdb.exp: Transform tool name.
8579 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
8580 1.1's new error handling system.
8581
8582Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8583
8584 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
8585
8586Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8587
8588 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
8589 They made pattern matching so slow that timeouts happened on
8590 heavily loaded systems. Now any output from "show print" which
8591 gets us back to the GDB prompt is a PASS.
8592
8593Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
8594
8595 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
8596
8597Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8598
8599 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
8600
8601 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
8602 It is not from PR 3220.
8603
8604Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8605
8606 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
8607 just started failing because they depended on the order the
8608 subcommands are presented, or exact docstring text. This kind of
8609 test is a pain and has minimal benefit.
8610
8611Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8612
8613 * gdb.t09/corefile.exp: At end of test, use "core" command with
8614 no arguments.
8615
8616Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
8617
8618 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
8619 17}/Makefile.in: Make it possible to run the testsuite with Sun
8620 make and CC = cross gcc by adding explicit build rules for .o
8621 files.
8622
8623Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8624
8625 * gdb.t15/funcargs.exp: Don't put comments on same line as
8626 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 8627
c906108c
SS
8628Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8629
8630 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
8631
8632Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
8633
8634 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
8635 * gdb.t20/inherit.exp: remove three dumplicate entries.
8636
8637Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8638
8639 * gdb.t06/break.exp: For "next over recursive call", fail on any
8640 incorrect output, not just on "factorial (value=2)".
8641
8642Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8643
8644 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
8645 working now. Add an xfail if accesing a bss variable causes
8646 a memory error if the target is not yet run.
8647
8648Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8649
8650 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
8651 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
8652 name of __st* demangling (2 strings). Did Kung really get the
8653 more than 95 others right without testing them?
8654
8655Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
8656
8657 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
8658
8659Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
8660
8661 * configure.in (configdirs): Add gdb.disasm
8662 * gdb.disasm: New directory for GDB disassembler tests.
8663 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
8664
8665Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8666
8667 * gdb.t00/help.exp: Don't test "help set".
8668
8669 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
8670 from within expect statements. None of these happen anymore and
8671 they cause regressions to be silently unnoticed.
8672
8673 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
8674 messages) about known failures with gcc cygnus-2.4.5-930417.
8675
8676 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
8677 comp-info.exp so it gets built if it doesn't exist.
8678
8679 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
8680 it is no longer used.
8681 * gdb.t13/comp-info.c: Removed.
8682
8683Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
8684
8685 * gdb.t06/signals.exp: Add xfail for sun3.
8686
8687Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8688
8689 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
8690 relevant because ^C doesn't get sent but failure can be reproduced
8691 interactively).
8692
8693Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8694
8695 * gdb.stabs/alpha.mt: New configuration file for alpha.
8696 * gdb.stabs/configure.in: Use it.
8697 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
8698 sharing with alpha.mt, redefine long to word via preprocessor.
8699 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
8700 for alpha.
8701 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
8702 native cc.
8703 * gdb.t00/teststrategy.exp: Change expect string so that we
8704 consume the `(xgdb)' from the command echo and from the gdb prompt.
8705 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
8706 gdb currently compares all values as long, so this failure probably
8707 applies to any configuration where LONGEST is bigger than a target int.
8708 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
8709 with gcc.
8710 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
8711 to handle opaque pointers, gcc is.
8712 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
8713 as first argument. Include <sys/types.h> and change all operator
8714 new definitions to use size_t.
8715 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
8716 now that we use size_t.
8717
8718Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8719
8720 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
8721 a long or float array cast all array members to the same type.
8722 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
8723 with 64 bit longs.
8724 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
8725 on alpha.
8726 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
8727
8728Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8729
8730 * gdb.t24 (demangle.exp): Constructors of templates have names like
8731 vector<int>::vector(int) not vector<int>::vector<int>(int). See
8732 section 14.6 of the ARM.
8733
8734 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
8735 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
8736 accomplish little and slow down the testsuite.
8737
8738 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
8739 Accept spaces various places.
8740
8741Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8742
8743 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
8744 with watchpoint enabled.
8745
8746 * Makefile.in: Remove definition of CC and remove the second
8747 definition of CXX (the "CXX = gcc" one remains). These definitions
8748 were causing backquotes to be expanded within backquotes, which
8749 doesn't work.
8750
8751Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
8752
8753 * gdb.t17/callfuncs.exp: Add "return 0" to end.
8754
8755Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8756
8757 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
8758 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
8759 by mips cc and contains no stabs entries.
8760
8761Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
8762
8763 * config/vx-gdb.exp: Use fake device to load files rather than
8764 NFS.
8765 * lib/gdb.exp: New proc to do "file" command.
8766 * config/unix-gdb.exp: Use new "file" proc.
8767
8768Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8769
8770 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
8771 Rework board rebooting slightly.
8772 (gdb_exit): Don't exit from the remote shell; there isn't one.
8773 * gdb.stabs/weird.exp: If a program is being debugged already,
8774 kill it.
8775 * gdb.t04/setvar.exp: Stop and restart gdb.
8776 * gdb.t05/expr.exp: Likewise.
8777 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
8778 restart gdb and reload the program.
8779 * gdb.t08/opaque.exp: Likewise.
8780 * gdb.t12/scope.exp: Likewise.
8781 * gdb.t13/bitfields.exp: Likewise.
8782 * gdb.t15/funcargs.exp: Likewise.
8783 * gdb.t20/classes.exp: Likewise.
8784 * gdb.t03/ptype.exp: Increase timeout.
8785 * gdb.t16/printcmds.exp (test_print_string_constants,
8786 test_print_array_constants): Likewise.
8787 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
8788 * gdb.t20/classes.exp (do_tests): Likewise.
8789 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
8790
8791Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
8792
8793 * gdb.stabs: Renamed *wierd* to *weird*.
8794
8795Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8796
8797 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
8798 for timeout. Add "known gcc 2.4.5 bug" to failure message.
8799
8800Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
8801
8802 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
8803 (do_tests): Remove xfail for whatis on one_var and two_var.
8804
8805Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
8806
8807 * Makefile.in: Made cross building work better by adding
8808 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
8809
8810Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8811
8812 * gdb.t15/{return.c,return.exp,Makefile.in}:
8813 New test, currently commented out.
8814
8815Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
8816
8817 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
8818 still running and removes the leftover named socket so GDb can do
8819 clean restarts.
8820
8821Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
8822
8823 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
8824 console, not GDB.
8825 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
8826 cross testing works better with "make check"
8827 * config/unix-gdb: Use default procedures for exit and version.
8828 * config/vx-gdb.exp: Cleaned up and massaged back to working order
8829 with the newest VxWorks.
8830
8831Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8832
8833 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
8834 old form.
8835
8836 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
8837 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
8838
8839 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
8840
8841 * config/unix-gdb.exp: Remove this version of gdb_exit
8842 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
8843 Rob says he'll look at it when he gets back to testing boards.
8844
8845Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
8846
8847 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
8848 an expected fail for certain ptype commands.
8849
8850 * gdb.t20/classes.exp: Update expected results of "ptype class
8851 Base1" to account for the constructor that now appears in the type.
8852
8853Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
8854
8855 * configure.in (configdirs): Restore gdb.t04, which mysteriously
8856 disappeared from list.
8857 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
8858 "alldone" proc with call to cleanup and exit.
8859 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
8860 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
8861 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
8862 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
8863 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
8864 "alldone" proc with simple returns that suppress remaining
8865 tests. The alldone proc went away many months ago.
8866
8867Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8868
8869 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
8870
8871 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
8872
8873Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8874
8875 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
8876 as vax gdb will display them.
8877
8878Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8879
8880 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
8881 optimizers.
8882
8883 * scope.exp: Change "bad value for localval" messages so each one
8884 is unique.
8885
8886 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
8887 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
8888
8889 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
8890
8891Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8892
8893 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
8894 doesn't exist (due to optimization).
8895
8896Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8897
8898 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
8899 contains \r because the filename is long.
8900
8901 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
8902 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
8903
8904Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8905
8906 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
8907 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
8908 Ultrix.
8909 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
8910 int tests.
8911 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
8912
8913Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
8914
8915 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
8916
8917 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 8918 to match does not match the passing case but still matches the
c906108c
SS
8919 failing case.
8920
8921Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8922
8923 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
8924
8925Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
8926
8927 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
8928 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
8929 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
8930 Remove various versions of gdb_exit.
8931 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
8932 gdb_exit.
8933 * config/unix-gdb.exp: gdb_exit remains here, and should override
8934 the generic version, since it's doing a lot of wierd stuff that
8935 the other versions aren't. FIXME, fold it in, or abandon this
8936 version.
8937
8938Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8939
8940 * gdb.t24/demangle.exp: Add tests for PR 3220.
8941
8942Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8943
8944 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
8945
8946Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
8947
8948 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
8949 "i386-*-*". Works for i486 as well.
8950
8951 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
8952 bug, and expand domain of xfail to all SVR4 systems, since the
8953 actual problem is likely to be in generic SVR4 /proc support.
8954
8955Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8956
8957 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
8958
8959Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
8960
8961 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
8962 xfails for other systems. Match a missing 'Continuing.' as an
8963 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
8964
8965 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
8966 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
8967 Only issue warning for missing executables if -all option is used.
8968
8969 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
8970 file if -all option is used. It's like an unpredictable XFAIL.
8971
8972Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8973
8974 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
8975 for dynamically linked binaries.
8976
8977 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
8978
8979Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8980
8981 * gdb.t20/inherit.exp: Change message for "print tagless struct"
8982 to state that this is a known bug in old versions of g++.
8983
8984Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8985
8986 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
8987 while waiting for `Continuing'.
8988
8989Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
8990
8991 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
8992 in text, data, and bss.
8993 * gdb.t10/nodebug.c: Add local and global test variables for
8994 initialized and uninitialized data.
8995
8996Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8997
8998 * config/unix-gdb.exp (gdb_exit): Add "wait".
8999
9000Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9001
9002 * gdb.t06/signals.exp: xfail the continue from the handler for all
9003 targets.
9004
9005 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9006 function with watchpoints enabled, the i386 call dummy starts with
9007 a call.
9008
9009 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9010 386 bsd names its corefiles.
9011
9012Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9013
9014 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9015 compilers don't grok it.
9016 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9017 with small octal ints rather than character constants, which
9018 are signed and might not fit if first promoted to int.
9019
9020Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9021
9022 * gdb.t09/Makefile.in (clean): Remove corefile.
9023
9024Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9025
9026 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9027
9028Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9029 and Jim Kingdon (kingdon@cygnus.com)
9030
9031 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9032 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9033 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9034
9035Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9036
9037 * gdb.t17/interrupt.exp: Add xfail for hppa.
9038
9039Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9040
9041 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9042 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9043 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9044 to determine signed-ness of bitfields and use the result to setup
9045 the xfail.
9046 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9047 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9048 call line is reached if necessary.
9049
9050Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9051
9052 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9053
9054Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9055
9056 * gdb.t06/break.exp: Also test `clear' command.
9057
9058Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9059
9060 * gdb.t00/teststrategy.exp: Remove extra quote.
9061
9062 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9063 watchpoint enabled to be for all non-68k machines.
9064
9065 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9066
9067Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9068
9069 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9070 targets use aout.mt instead of ecoff.mt as gas understands
9071 standard aout format.
9072
9073Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9074
9075 * lib/gdb.exp (runto): Don't insist that function we are running to
9076 was compiled with -g.
9077
9078 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9079
9080 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9081 to get back into the read system call.
9082 Accept leading newline in case where we woke it up.
9083
9084Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9085
9086 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9087 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9088 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9089 enable ecoff configuration.
9090
9091Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9092
9093 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9094
9095Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9096
9097 * gdb.t16/printcmds.exp: Add another printf test.
9098
9099Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9100
9101 * configure.in: If configured -with-stabs on any target, add
9102 stabsdirs to configdirs.
9103
9104Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9105
9106 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9107 fun" so pattern does not match the command itself.
9108
9109Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9110
9111 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9112
9113Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9114
9115 * gdb.t17/interrupt.exp: Test for more things.
9116
9117Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9118
9119 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9120 compiler arranges the code and line numbers.
9121
9122 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9123
9124Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9125
9126 * gdb.t00/help.exp: Increase expect input buffer size.
9127
9128Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9129
9130 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9131
9132 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9133
9134 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9135
9136 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9137 [0-9]*, not just [0-9].
9138
9139Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9140
9141 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9142
9143 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9144
9145Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9146
9147 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9148
9149Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9150
9151 * gdb.t06/signals.c: Add xfails for sun3.
9152
9153 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9154
9155 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9156 test_stepping tests.
9157
9158Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9159
9160 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9161
9162 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9163
9164 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9165 rather than actually putting it through cpp twice.
9166
9167 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9168
9169Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9170
9171 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9172 no longer needed.
9173
9174Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9175
9176 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9177
9178 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9179 C++ features prints as "struct", make it a pass, not an xfail.
9180
9181Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9182
9183 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9184 Don't require VA to print as "class" rather than "struct".
9185
9186Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9187
9188 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9189
9190Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9191
9192 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9193
9194Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9195
9196 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9197 order.
9198
9199Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9200
9201 * gdb.t16/printcmds.exp: Add printf tests.
9202
9203 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9204
9205 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9206
9207Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9208
9209 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9210 pass counts, to counteract any existing or future setup_xfails.
9211
9212Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9213
9214 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9215 {BEGIN,END}_COMMON for common block instead of STAB.
9216 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9217
9218 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9219 intp_var should be N_GSYM not N_LSYM.
9220 wierd-aout.S: Use a label for the value of the N_SO.
9221 wierd.def: Remove all backslashes.
9222 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9223
9224Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9225
9226 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9227 get the expected next to inheritance3.
9228
9229Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9230
9231 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9232 now that gcc-2.4 gets it right.
9233
9234Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9235
9236 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9237
9238 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9239 generating comp-info.exp which works for cross-compilation.
9240
9241Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9242
9243 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9244 "*-*-sysv4.*".
9245
9246Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9247
9248 * gdb.t01/run.exp: Start with a fresh gdb.
9249 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9250 SVR4.x.
9251
9252Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9253
9254 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9255 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9256 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9257 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9258 things to remove.
9259
9260Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9261
9262 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9263 test cases from bug reports.
9264
9265Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9266
9267 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9268 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9269 avoid spurious xfails.
9270 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9271 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9272 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9273
9274Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9275
9276 * gdb.t00/teststrategy.exp: Rework to provide more useful
9277 description of each test, fix problem with systems that define
9278 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9279 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9280 results for "next over recursive call" so timeouts aren't taken
9281 by error.
9282
9283Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9284
9285 * gdb.t12/scope.exp: Test printing of variables before run.
9286
9287 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9288 printed in wrong order due to sorting.
9289
9290Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9291
9292 * gdb.t00/teststrategy.exp: Fix expected results for printing
9293 user entered string constant. Is array of char, prints with no
9294 address.
9295
9296 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9297 commands.
9298 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9299 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9300 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9301 of struct of char arrays.
9302 * gdb.t00/radix.exp: New tests for radix commands.
9303
9304Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9305
9306 * gdb.t16/printcmd.exp: Print a variable before running program
9307 (with xfail for AIX).
9308
9309Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9310
9311 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9312
9313 * gdb.t16/printcmd.exp: Don't print variables before running program.
9314
9315 * gdb.t06/break.exp: Don't require envp argument to main.
9316
9317 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9318
9319 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9320 Add xfails for rs6000.
9321
9322 * gdb.t02/whatis.exp: Change other tests not to re-test something
9323 we already tested.
9324
9325 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9326 each type used has a variable of that type.
9327
9328Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9329
9330 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9331
9332Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9333
9334 * configure.in: change srctrigger to be a file, not a directory
9335
9336Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9337
9338 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9339
9340 * gdb.t11/list.exp: Fixed a couple of typos.
9341
9342Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9343
9344 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9345 is fixed and PR is closed.
9346 * gdb.t16 (gdbme.c): Add simple test string variable.
9347 * gdb.t16 (printcmds.exp): Add tests with simple test string
9348 variable, primarily for boundaries on "set print elements".
9349
9350Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9351
9352 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9353 Make leading 0's optional and don't expect a tab in the middle
9354 of the number.
9355
9356 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9357
9358 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9359 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9360 don't end command passed to gdb_test with newline.
9361
9362 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9363 signed keyword away, don't expect signed bitfields to be signed.
9364
9365 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9366 printing with only as many 1's as are in the field as well as printing
9367 with 32 1's (see comment).
9368
9369Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9370
9371 * gdb.t00/default.exp: Start with a fresh gdb.
9372 * configure.in (configdirs): Remove gdb.t31 until the chill
9373 compiler works again. It no longer is able to find chillrt0
9374 since it isn't in libchill.a anymore.
9375 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9376 wierd.o, make more modular.
9377 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9378 spurious newlines that caused problems.
9379
9380Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9381
9382 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9383 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9384 gdb.stabs/wierd.{exp,def}: Many new tests.
9385
9386 * gdb.t00/default.exp: update info line for new message.
9387
9388 * gdb.t02/{whatis.exp,gdbme.c}:
9389 Test that "char *" doesn't print as "caddr_t".
9390
9391Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9392
9393 * gdb.t00/help.exp: Use .* in place of some help messages which
9394 just changed.
9395 gdb.t00/default.exp: Update "info frame" test for new message.
9396 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9397 Remove some xfails
9398
9399Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9400
9401 * gdb.t03/{gdbme.c,ptype.exp}:
9402 Add tests for typedef'd struct and union without tags.
9403 Also check "whatis" on a variable of a typedef'd enum without a tag.
9404
9405 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9406 PRMS 1823; the bug still exists but isn't reproduced by this test
9407 anymore), and remove rs6000 XFAIL (the bug is fixed).
9408
9409 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9410 duplicated from whatis.exp. For those that are left, accept
9411 "long", "long int", or "int" for long variables (whatis.exp already
9412 has an XFAIL for "int", so no need to fail it here).
9413
9414 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9415 Deal with GCC's names for types now that GDB uses the compiler's names.
9416
9417 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9418 setup_xfail's for sunos4. If we #defined the signed keyword away,
9419 don't expect GDB to know that char it is signed.
9420
9421 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9422
9423Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9424
9425 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9426 should work on any system, regardless of debugging format.
9427 * gdb.t21/demangle.exp: Move to gdb.t24.
9428 * gdb.t24/demangle.exp: Move from gdb.t21.
9429 * gdb.t24/{Makefile.in, configure.in}: New files.
9430
9431Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9432
9433 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9434 * gdb.stabs: New directory.
9435
9436Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9437
9438 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9439 not just "Quit anyway?".
9440
9441Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9442
9443 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9444 that all setup_xfails are immediately followed by clear_xfails.
9445
9446Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9447
9448 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9449 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9450 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9451 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9452 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9453 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9454 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9455 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9456 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9457 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9458 gdb.t31/chillvars.exp, lib/gdb.exp:
9459 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9460 bug-gdb@prep.ai.mit.edu.
9461
9462Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9463
9464 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9465 with 0.0, not integer 0.
9466
9467Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9468
9469 * gdb.t06/break.exp: Update for "Kill the program" message change.
9470
9471Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9472
9473 * Makefile.in (GDBFLAGS): Set to -nx.
9474 * Makefile.in (site.exp): Use GDBFLAGS.
9475
9476Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9477
9478 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9479 Makefiles.
9480 (check): depend on just-check.
9481 (just-check): added so that tests can be run without a noop
9482 build pass.
9483
9484Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9485
9486 Switch to using configure's configdirs.
9487 * Makefile.in (Makefile): add configure.in dependency.
9488 (SUBDIRS): removed redundant assignment.
9489 * configure.in: switch subdirs assignment to configdirs.
9490 * gdb.t*/configure.in: new files.
9491
9492Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9493
9494 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9495 works.
9496
9497Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9498
9499 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9500 in explicit rules. Apparently this is not supported by some makes.
9501
9502Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9503
9504 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9505
9506Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9507
9508 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9509 disappeared.
9510
9511Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9512
9513 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9514
9515Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9516
9517 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9518 watchpoint problem that is now fixed.
9519 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9520 uninitialized convenience variables.
9521 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9522 structures.
9523
9524Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9525
9526 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9527 which causes expect to get out of sync with gdb on long output
9528 from help set.
9529 * gdb.t09/corefile.exp: Make expected pattern for core file
9530 failing signal and frame output format less sun specific.
9531
9532Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
9533
9534 * gdb.t31/chillvars.exp: Add and remove initial dummy
9535 breakpoint, so that symbol table is forced in.
9536 (Needed at least on Sunos4, though it seems not SVR4.)
9537 * gdb.t31/chillvars.exp: Update for changed output format.
9538
9539Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
9540
9541 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
9542
9543Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
9544
9545 * Makefile.in: Added --srcdir when invoking runtest, removed the
9546 need for a local config file. (optional now)
9547
9548Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
9549
9550 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
9551 failure count used to force early termination. Add some more
9552 expected failures for gnu style demangling.
9553
9554Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9555
9556 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
9557 pmi variable from gdb.t20/gdbme to get optimized away.
9558 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
9559 Check for written corefile upon timeout _and_ eof.
9560
9561Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9562
9563 * config/unix-gdb.exp: Add missing return 0.
9564
9565Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9566
9567 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
9568 test termination.
9569
9570Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
9571
9572 * configure.in (subdirs): Put back gdb.t17 which mysteriously
9573 disappeared.
9574
9575Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
9576
9577 * gdb.t10/crossload.exp: Disable the i860-elf test until such
9578 time as i860 support works.
9579
beb998c6 9580 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
9581 "backtrace 100\r" rather than just "backtrace\r", to match last
9582 change.
9583
9584Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
9585
9586 * config/udi-gdb.exp (gdb_exit): Remove close command.
9587 (gdb_target_udi): New procedure to set the UDI target.
9588 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
9589 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
9590 Added waits for prompts after several question responses. Added
9591 some more responses used by a29k-amd-udi-gdb.
9592 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
9593 pass different arguments, restart UDI connection after program
9594 completion.
9595 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
9596 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9597 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
9598 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
9599 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
9600 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
9601 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9602 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
9603 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
9604 after program completion.
9605 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
9606 compiled with a SELECT_VECS setting.
9607 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
9608 infinite recursion.
9609
9610 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
9611 Added checks for COFF results, and made them expected failures for
9612 all targets. It would be better to make them expected failures
9613 for COFF targets only.
9614
9615Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
9616
9617 * Makefile.in: add null dvi target, don't bother to recurse
9618 through test directories for info and install-info; rename
9619 $(datadir) to be dejagnu instead of deja-gnu
9620
9621Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
9622
9623 * gdb.t31/gdbme.ch: Re-enable code that previously caused
9624 compiler to coredump.
9625 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
9626 code.
9627
9628Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
9629
9630 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
9631 coredump.
9632 * gdb.t31/chillvars.exp: Comment out tests that depend on that
9633 code.
9634
9635Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
9636
9637 * gdb.t03/ptype.exp: tests for return code from gdb_test.
9638 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
9639 which in a shell. Deletes xgdb when done.
9640 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
9641 Tests the return from the "set height" or "set width" commands.
9642 Added a few return codes where needed.
9643
9644Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
9645
9646 * Makefile.in (SUBDIRS): Add gdb.t17.
9647 * configure.in (subdirs): Add gdb.t17.
9648 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
9649 files to test gdb's calling of functions in the inferior with
9650 the correct arguments and gdb's ability to retrieve any
9651 result returned.
9652
9653Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
9654
9655 * config/unix-gdb.exp (gdb_exit): Remove close commands that
9656 may be called after gdb goes away. Previous versions of expect
9657 needed these to avoid file descriptor leaks, but they cause
9658 errors with the current revision of expect.
9659 * gdb.t00/gdbvars.exp: Use -re on expected output after
9660 setting sevenbit-strings.
9661 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
9662 to set sevenbit-strings consistent across tests.
9663 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
9664 set sevenbit-strings consistent across tests.
9665
9666Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
9667
9668 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
9669 expected output to match current "expect" expectations.
9670
9671Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
9672
9673 * gdb.t00/default.exp: Change expected output for default "source"
9674 command, to match new gdb behavior which requires a filename to
9675 source.
9676
9677Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
9678
9679 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
9680 expected fail for i486-*-* that misses the marker2 function.
9681 * gdb.t10/crossload.exp (bfddefault): Allow successful
9682 recognition of a format to pass even if no symbols are found.
9683 Explicitly catch failures where the format is not recognized
9684 or is ambiguous, and add the reason to the fail message.
9685 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
9686 the cause is and invalid target and add reason to failure message.
9687 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
9688 elf32-i386, elf32-sparc, and elf32-i860.
9689 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
9690 Set up expected failure for 'filename'::variable scope resolution,
9691 which is now apparently broken on all targets.
9692 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
9693 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
9694 gdb.t23/templates.exp: Change failure for missing binfile into
9695 just a warning.
9696 gdb.t21/demangle.exp: Change all cfront references to 'arm'
9697 references.
9698
9699Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
9700
9701 * gdb.t00/default.exp: Add expected output for default "source"
9702 command, to match new gdb behavior.
9703 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
9704
9705Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
9706
9707 * config/*-gdb.exp: returns an error, rather than exiting on
9708 internal errors.
9709
9710Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
9711
9712 * gdb.t03/gdbme.c: Add pointer to struct variable.
9713 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
9714 referencing struct members.
9715
9716Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
9717
9718 * configure.in (mips-idt-ecoff): New target.
9719 * config/mips-gdb.exp: New file for remote board using MIPS remote
9720 debugging protocol.
9721
9722 * Redid configuration scheme. Removed gdb.t*/configure.in.
9723 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
9724 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
9725 distclean targets. Built executables via .o files. Adjusted
9726 tests to account for source files in $(srcdir) rather than
9727 $(objdir).
9728 * lib/gdb.exp (runto): Don't expect () after the function name,
9729 because it may have arguments.
9730
9731Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
9732
9733 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
9734 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
9735 expected failures for mips-idt-* and mips-sgi-*.
9736 * gdb.t00/default.exp (attach): Kill process if requested.
9737 * gdb.t00/help.exp (help target core, help target): Accept a gdb
9738 that does not read core files.
9739 * gdb.t01/run.exp: Removed checks for exit status code.
9740 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
9741 it is linked in.
9742 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
9743 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
9744 appropriate, rather than doing it by hand.
9745 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
9746 execution.
9747 * gdb.t10/crossload.exp: Kill existing program if needed.
9748 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
9749 appropriate, rather than doing it by hand. Always increase
9750 timeout for this test, not just for VxWorks.
9751
9752Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
9753
9754 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
9755 of Chill STRUCT types and STRUCT values.
9756 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
9757 than "char".
9758 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 9759 struct2): New struct definitions and initializations to test
c906108c
SS
9760 simple Chill STRUCT types.
9761
9762Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
9763
9764 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
9765 the null byte at the end of strings.
9766 * gdb.t00/default.exp: Make show version insensitive to copyright
9767 date.
9768 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
9769 to avoid dependencies on target char signedness.
9770 * gdb.t16/printcmds.exp: Update expected results for explicitly
9771 unsigned char.
9772 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
9773 now work.
9774 * gdb.t21/demangle.exp: Add many more patterns for template
9775 demangling, most of them being expected failures.
9776 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
9777 string we are matching for, to match on the whole string.
9778 * gdb.t21/demangle.exp: Add many new test strings to demangle,
9779 and fix a whole bunch that had incorrect expected output but were
9780 passing anyway because of the bug in "proc demangle".
9781 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
9782 type.
9783 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
9784
9785Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
9786
9787 * gdb/testsuite: made modifications to testcases, etc., to allow
9788 them to work properly given the reorganization of deja-gnu and the
9789 relocation of the testcases from deja-gnu to a "tool" subdirectory.
9790
9791Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
9792
9793 * gdb/testsuite: Initial creation of gdb/testsuite.
9794 Migrated dejagnu testcases and support files for testing nm to
9795 gdb/testsuite from deja-gnu. These files were moved "as is"
9796 with no modifications. This migration is part of a major overhaul
9797 of dejagnu. The modifications to these testcases, etc., which
9798 will allow them to work with the new version of dejagnu will be
9799 made in a future update.
9800\f
9801Local Variables:
9802mode: indented-text
9803left-margin: 8
9804fill-column: 74
9805version-control: never
9806End:
This page took 0.900364 seconds and 4 git commands to generate.